1 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2 Kwok Cheung Yeung <kcy@codesourcery.com>
3 Julian Brown <julian@codesourcery.com>
4 Tom de Vries <tom@codesourcery.com>
6 * config.host: Recognize amdgcn*-*-amdhsa.
7 * config/gcn/crt0.c: New file.
8 * config/gcn/lib2-divmod-hi.c: New file.
9 * config/gcn/lib2-divmod.c: New file.
10 * config/gcn/lib2-gcn.h: New file.
11 * config/gcn/sfp-machine.h: New file.
12 * config/gcn/t-amdgcn: New file.
14 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
18 * config/c6x/libunwind.S: Mechanically replace "can not" with
20 * config/tilepro/atomic.h: Likewise.
21 * config/vxlib-tls.c: Likewise.
22 * generic-morestack-thread.c: Likewise.
23 * generic-morestack.c: Likewise.
24 * mkmap-symver.awk: Likewise.
26 2019-01-01 Jakub Jelinek <jakub@redhat.com>
28 Update copyright years.
30 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
32 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
33 to ignore -Waddress-of-packed-member.
35 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
37 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
38 parameter and corresponding code.
39 (ARM_FUNC_START): Likewise in both definitions.
40 Also update footer comment about condition that need to match with
41 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
42 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
43 defined. Weakly define it in this case.
44 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
45 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
46 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
47 comment to keep condition in sync with the one in
48 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
50 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
52 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
53 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
55 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
57 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
58 and .cfi_endproc directives for VxWorks targets.
60 2018-12-05 Paul Koning <ni1d@arrl.net>
62 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
64 2018-11-27 Alan Modra <amodra@gmail.com>
66 * config/rs6000/morestack.S (__stack_split_initialize),
67 (__morestack_get_guard, __morestack_set_guard),
68 (__morestack_make_guard): Provide CFI covering these functions.
69 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
71 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
73 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
74 (sc_pt_regs_lr): Update for kernel.
75 (sc_pt_regs_tls): Update for kernel.
77 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
79 * config/csky/linux-unwind.h: Fix coding style.
81 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
83 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
84 (csky_fallback_frame_state): Modify the check of the
85 instructions to adapt to changes in the kernel
87 2018-11-09 Stafford Horne <shorne@gmail.com>
88 Richard Henderson <rth@twiddle.net>
90 * config.host: Add OpenRISC support.
93 2018-11-08 Kito Cheng <kito@andestech.com>
95 * soft-fp/adddf3.c: Update from glibc.
96 * soft-fp/addsf3.c: Likewise.
97 * soft-fp/addtf3.c: Likewise.
98 * soft-fp/divdf3.c: Likewise.
99 * soft-fp/divsf3.c: Likewise.
100 * soft-fp/divtf3.c: Likewise.
101 * soft-fp/double.h: Likewise.
102 * soft-fp/eqdf2.c: Likewise.
103 * soft-fp/eqsf2.c: Likewise.
104 * soft-fp/eqtf2.c: Likewise.
105 * soft-fp/extenddftf2.c: Likewise.
106 * soft-fp/extended.h: Likewise.
107 * soft-fp/extendhftf2.c: Likewise.
108 * soft-fp/extendsfdf2.c: Likewise.
109 * soft-fp/extendsftf2.c: Likewise.
110 * soft-fp/extendxftf2.c: Likewise.
111 * soft-fp/fixdfdi.c: Likewise.
112 * soft-fp/fixdfsi.c: Likewise.
113 * soft-fp/fixdfti.c: Likewise.
114 * soft-fp/fixhfti.c: Likewise.
115 * soft-fp/fixsfdi.c: Likewise.
116 * soft-fp/fixsfsi.c: Likewise.
117 * soft-fp/fixsfti.c: Likewise.
118 * soft-fp/fixtfdi.c: Likewise.
119 * soft-fp/fixtfsi.c: Likewise.
120 * soft-fp/fixtfti.c: Likewise.
121 * soft-fp/fixunsdfdi.c: Likewise.
122 * soft-fp/fixunsdfsi.c: Likewise.
123 * soft-fp/fixunsdfti.c: Likewise.
124 * soft-fp/fixunshfti.c: Likewise.
125 * soft-fp/fixunssfdi.c: Likewise.
126 * soft-fp/fixunssfsi.c: Likewise.
127 * soft-fp/fixunssfti.c: Likewise.
128 * soft-fp/fixunstfdi.c: Likewise.
129 * soft-fp/fixunstfsi.c: Likewise.
130 * soft-fp/fixunstfti.c: Likewise.
131 * soft-fp/floatdidf.c: Likewise.
132 * soft-fp/floatdisf.c: Likewise.
133 * soft-fp/floatditf.c: Likewise.
134 * soft-fp/floatsidf.c: Likewise.
135 * soft-fp/floatsisf.c: Likewise.
136 * soft-fp/floatsitf.c: Likewise.
137 * soft-fp/floattidf.c: Likewise.
138 * soft-fp/floattihf.c: Likewise.
139 * soft-fp/floattisf.c: Likewise.
140 * soft-fp/floattitf.c: Likewise.
141 * soft-fp/floatundidf.c: Likewise.
142 * soft-fp/floatundisf.c: Likewise.
143 * soft-fp/floatunditf.c: Likewise.
144 * soft-fp/floatunsidf.c: Likewise.
145 * soft-fp/floatunsisf.c: Likewise.
146 * soft-fp/floatunsitf.c: Likewise.
147 * soft-fp/floatuntidf.c: Likewise.
148 * soft-fp/floatuntihf.c: Likewise.
149 * soft-fp/floatuntisf.c: Likewise.
150 * soft-fp/floatuntitf.c: Likewise.
151 * soft-fp/gedf2.c: Likewise.
152 * soft-fp/gesf2.c: Likewise.
153 * soft-fp/getf2.c: Likewise.
154 * soft-fp/half.h: Likewise.
155 * soft-fp/ledf2.c: Likewise.
156 * soft-fp/lesf2.c: Likewise.
157 * soft-fp/letf2.c: Likewise.
158 * soft-fp/muldf3.c: Likewise.
159 * soft-fp/mulsf3.c: Likewise.
160 * soft-fp/multf3.c: Likewise.
161 * soft-fp/negdf2.c: Likewise.
162 * soft-fp/negsf2.c: Likewise.
163 * soft-fp/negtf2.c: Likewise.
164 * soft-fp/op-1.h: Likewise.
165 * soft-fp/op-2.h: Likewise.
166 * soft-fp/op-4.h: Likewise.
167 * soft-fp/op-8.h: Likewise.
168 * soft-fp/op-common.h: Likewise.
169 * soft-fp/quad.h: Likewise.
170 * soft-fp/single.h: Likewise.
171 * soft-fp/soft-fp.h: Likewise.
172 * soft-fp/subdf3.c: Likewise.
173 * soft-fp/subsf3.c: Likewise.
174 * soft-fp/subtf3.c: Likewise.
175 * soft-fp/truncdfsf2.c: Likewise.
176 * soft-fp/trunctfdf2.c: Likewise.
177 * soft-fp/trunctfhf2.c: Likewise.
178 * soft-fp/trunctfsf2.c: Likewise.
179 * soft-fp/trunctfxf2.c: Likewise.
180 * soft-fp/unorddf2.c: Likewise.
181 * soft-fp/unordsf2.c: Likewise.
182 * soft-fp/unordtf2.c: Likewise.
184 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
186 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
187 * config/i386/cpuinfo.h (processor_types): Add znver2.
189 2018-11-01 Paul Koning <ni1d@arrl.net>
191 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
192 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
194 2018-10-31 Joseph Myers <joseph@codesourcery.com>
197 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
198 * configure: Regenerate.
200 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
202 * config/arc/lib1funcs.S (_muldi3): New function.
203 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
205 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
207 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
209 2018-10-25 Martin Liska <mliska@suse.cz>
212 * libgcov-profiler.c: Revert.
214 2018-10-24 Martin Liska <mliska@suse.cz>
216 * libgcov-profiler.c: Start from 1 in order to distinguish
217 functions which were seen and these that were not.
219 2018-10-18 Paul Koning <ni1d@arrl.net>
221 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
223 * divmod.c: Update references to __udivmodsi4.
225 * udivhi3.c: New file.
226 * udivmodhi4.c: New file.
227 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
229 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
231 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
233 2018-10-12 Olivier Hainque <hainque@adacore.com>
235 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
236 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
238 2018-10-08 Paul Koning <ni1d@arrl.net>
240 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
242 2018-10-04 Martin Liska <mliska@suse.cz>
244 PR gcov-profile/84107
245 * libgcov-profiler.c (__gcov_indirect_call):
246 Change type to indirect_call_tuple.
247 (struct indirect_call_tuple): New struct.
248 (__gcov_indirect_call_topn_profiler): Change type.
249 (__gcov_indirect_call_profiler_v2): Use the new
251 * libgcov.h (struct indirect_call_tuple): New struct
254 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
256 * libgcc2.c (isnan): Use __builtin_isnan.
257 (isfinite): Use __builtin_isfinite.
258 (isinf): Use __builtin_isinf.
260 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
262 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
264 2018-09-21 Alexandre Oliva <oliva@adacore.com>
266 * config/vxcache.c: New file. Provide __clear_cache, based on
267 the cacheTextUpdate VxWorks service.
268 * config/t-vxworks (LIB2ADD): Add vxcache.c.
269 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
270 * config/t-vxwoks7: Likewise.
272 2018-09-21 Martin Liska <mliska@suse.cz>
274 * libgcov-driver.c (crc32_unsigned): Remove.
275 (gcov_histogram_insert): Likewise.
276 (gcov_compute_histogram): Likewise.
277 (compute_summary): Simplify rapidly.
278 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
279 (merge_summary): Rapidly simplify.
280 (dump_one_gcov): Ignore gcov_summary.
281 (gcov_do_dump): Do not handle program summary, it's not
283 * libgcov-util.c (tag_summary): Remove.
284 (read_gcda_finalize): Fix coding style.
285 (read_gcda_file): Initialize curr_object_summary.
286 (compute_summary): Remove.
287 (calculate_overlap): Remove settings of run_max.
289 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
291 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
292 ucontext_t type instead.
293 (nds32_fallback_frame_state): Remove struct _sigframe statement.
295 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
297 * config/nds32/t-nds32-glibc: New file.
299 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
301 * configure.ac (solaris_ld_v2_maps): New test.
302 * configure: Regenerate.
303 * Makefile.in (solaris_ld_v2_maps): New variable.
304 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
307 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
310 * config/arm/lib1funcs.asm (speculation_barrier): New function.
311 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
314 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
316 * config/unwind-dw2-fde-darwin.c
317 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
318 * config/darwin10-unwind-find-enc-func.c: … to here.
319 * config/t-darwin: Build Darwin10 unwinder shim crt.
320 * libgcc/config.host: Add the Darwin10 unwinder shim.
322 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
324 * config.host: Add crtbegin.o and crtend.o for
325 powerpc-wrs-vxworks target.
327 2018-08-17 Jojo <jijie_rong@c-sky.com>
328 Huibin Wang <huibin_wang@c-sky.com>
329 Sandra Loosemore <sandra@codesourcery.com>
330 Chung-Lin Tang <cltang@codesourcery.com>
334 * config.host: Add C-SKY support.
335 * config/csky/*: New.
337 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
339 * config/nds32/t-nds32-isr: Rearrange object dependency.
340 * config/nds32/initfini.c: Add dwarf2 unwinding support.
341 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
343 * config/nds32/isr-library/excp_isr.S: Ditto.
344 * config/nds32/isr-library/intr_isr.S: Ditto.
345 * config/nds32/isr-library/reset.S: Ditto.
346 * config/nds32/isr-library/restore_all.inc: Ditto.
347 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
348 * config/nds32/isr-library/restore_partial.inc: Ditto.
349 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
350 * config/nds32/isr-library/save_all.inc: Ditto.
351 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
352 * config/nds32/isr-library/save_partial.inc: Ditto.
353 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
354 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
356 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
358 * config/pa/linux-atomic.c: Update comment.
359 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
360 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
361 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
362 __ATOMIC_RELAXED for atomic loads.
363 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
364 unordered store to release lock.
365 (__sync_lock_release_8): Likewise.
366 (SYNC_LOCK_RELEASE_2): Remove define.
368 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
371 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
372 exponent goes negative. Update my email address.
373 * config/arm/ieee754-sf.S: Likewise.
375 2018-08-01 Martin Liska <mliska@suse.cz>
377 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
378 check that __gcov_indirect_call_callee is non-null.
380 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
382 * config/arm/ieee754-df.S: Fix comment for code working on
384 * config/arm/ieee754-sf.S: Likewise.
386 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
389 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
392 2018-07-05 James Clarke <jrtc27@jrtc27.com>
394 * configure: Regenerated.
396 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
398 * Makefile.in (install_leaf): Use enable_gcov instead of
401 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
403 * configure.ac: Add --disable-gcov option.
404 * configure: Regenerate.
405 * Makefile.in: Honour @enable_gcov@.
407 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
409 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
410 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
411 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
412 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
414 * config/arm/ieee754-sf.S: Likewise.
415 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
417 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
419 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
421 * config/arm/ieee754-sf.S: Likewise.
423 2018-06-20 Than McIntosh <thanm@google.com>
426 * generic-morestack.c (allocate_segment): Move calls to getenv and
427 getpagesize to __morestack_load_mmap.
428 (__morestack_load_mmap) Initialize static_pagesize and
429 use_guard_page here so as to avoid clobbering SSE regs during a
432 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
434 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
435 support modules with -mno-gnu-attribute.
436 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
438 2018-06-07 Olivier Hainque <hainque@adacore.com>
440 * config/t-vxworks (LIBGCC_INCLUDES): Add
441 -I$(MULTIBUILDTOP)../../gcc/include.
442 * config/t-vxworks7: Likewise. Reformat a bit to match
443 the t-vxworks layout.
445 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
447 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
449 2018-06-07 Martin Liska <mliska@suse.cz>
451 * libgcov-driver.c: Rename cs_all to all and assign it from
454 2018-06-07 Martin Liska <mliska@suse.cz>
457 * libgcov-driver-system.c (replace_filename_variables): Use
458 memcpy instead of mempcpy.
459 (allocate_filename_struct): Do not allocate filename, allocate
461 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
462 here and properly copy content into it.
463 * libgcov-driver.c (struct gcov_filename): Remove max_length
464 field, change prefix from size_t into char *.
465 (compute_summary): Do not calculate longest filename.
466 (gcov_do_dump): Release memory of gf.filename after each file.
467 * libgcov-util.c (compute_summary): Use new signature of
469 (calculate_overlap): Likewise.
471 2018-06-05 Martin Liska <mliska@suse.cz>
473 PR gcov-profile/47618
474 * libgcov-driver-system.c (replace_filename_variables): New
476 (gcov_exit_open_gcda_file): Use it.
478 2018-06-05 Martin Liska <mliska@suse.cz>
480 * libgcov-driver.c (gcov_compute_histogram): Remove usage
482 (compute_summary): Do it just for a single summary.
483 (merge_one_data): Likewise.
484 (merge_summary): Simplify as we read just single summary.
485 (dump_one_gcov): Pass proper argument.
486 * libgcov-util.c (compute_one_gcov): Simplify as we have just
488 (gcov_info_count_all_cold): Likewise.
489 (calculate_overlap): Likewise.
491 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
492 Monk Chiang <sh.chiang04@gmail.com>
494 * config.host (nds32*-linux*): New.
495 * config/nds32/linux-atomic.c: New file.
496 * config/nds32/linux-unwind.h: New file.
498 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
501 * config/i386/cpuinfo.c (get_amd_cpu): Return
502 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
504 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
506 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
508 2018-05-29 Martin Liska <mliska@suse.cz>
510 PR gcov-profile/85759
511 * libgcov-driver-system.c (gcov_error): Introduce usage of
512 GCOV_EXIT_AT_ERROR env. variable.
513 * libgcov-driver.c (merge_one_data): Print error that we
514 overwrite a gcov file with a different timestamp.
516 2018-05-23 Kalamatee <kalamatee@gmail.com>
518 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
521 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
522 Monk Chiang <sh.chiang04@gmail.com>
523 Jim Wilson <jimw@sifive.com>
525 * config/riscv/save-restore.S: Add support for rv32e.
527 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
529 * config/arm/libunwind.S: Update comment relating to armv5.
531 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
533 * config/arm/cmse.c (cmse_check_address_range): Replace
534 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
536 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
538 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
539 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
541 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
543 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
544 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
546 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
548 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
550 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
551 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
554 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
555 op_and_fetch to return the right result.
557 2018-04-27 Alan Modra <amodra@gmail.com>
560 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
561 -fno-asynchronous-unwind-tables.
563 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
565 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
566 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
568 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
570 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
571 when including "config/i386/shadow-stack-unwind.h".
573 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
575 * configure: Regenerated.
577 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
580 * config/rs6000/_powikf2.c: New file. Add support for the
581 __builtin_powil function when long double is IEEE 128-bit floating
583 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
585 (__powikf2): Likewise.
586 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
587 (__powikf2_hw): Likewise.
588 (__powikf2): Likewise.
589 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
590 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
591 (_powikf2-hw.c): Likewise.
593 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
596 * unwind-generic.h (_Unwind_Frames_Increment): New.
597 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
599 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
600 count with _Unwind_Frames_Increment.
601 (_Unwind_ForcedUnwind_Phase2): Likewise.
603 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
606 * config/i386/morestack.S (__stack_split_initialize): Add
609 2018-04-19 Jakub Jelinek <jakub@redhat.com>
611 * configure: Regenerated.
613 2018-04-18 David Malcolm <dmalcolm@redhat.com>
616 * configure: Regenerate.
618 2018-04-16 Jakub Jelinek <jakub@redhat.com>
621 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
622 -Wdangling-else warnings. Mask shift counts to avoid
623 -Wshift-count-negative and -Wshift-count-overflow false positives.
625 2018-04-06 Ruslan Bukin <br@bsdpad.com>
627 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
629 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
632 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
633 (XSTATE_FP): Likewise.
634 (XSTATE_SSE): Likewise.
635 (XSTATE_YMM): Likewise.
636 (XSTATE_OPMASK): Likewise.
637 (XSTATE_ZMM): Likewise.
638 (XSTATE_HI_ZMM): Likewise.
639 (XCR_AVX_ENABLED_MASK): Likewise.
640 (XCR_AVX512F_ENABLED_MASK): Likewise.
641 (get_available_features): Enable AVX and AVX512 features only
642 if their states are supported by OSXSAVE.
644 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
647 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
648 Fix a typo, tmp => 255.
650 2018-03-20 Jakub Jelinek <jakub@redhat.com>
653 * config/i386/cpuinfo.h (__cpu_features2): Declare.
654 * config/i386/cpuinfo.c (__cpu_features2): New variable for
656 (set_feature): Define.
657 (get_available_features): Use set_feature macro. Set __cpu_features2
658 to the second word of features ifndef SHARED.
660 2018-03-15 Julia Koval <julia.koval@intel.com>
662 * config/i386/cpuinfo.c (get_available_features): Add
663 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
664 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
665 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
666 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
667 FEATURE_AVX512BITALG.
669 2018-03-14 Julia Koval <julia.koval@intel.com>
671 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
672 icelake client and icelake server.
674 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
676 * config/pa/fptr.c (_dl_read_access_allowed): New.
677 (__canonicalize_funcptr_for_compare): Use it.
679 2018-02-28 Jakub Jelinek <jakub@redhat.com>
682 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
683 $asm_hidden_op if visibility ("hidden") attribute works.
684 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
685 * config/i386/i386-asm.h: Don't include auto-host.h.
686 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
687 PACKAGE_URL): Don't undefine.
688 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
689 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
690 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
691 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
692 definition instead of hardcoded .hidden.
693 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
694 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
695 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
696 (USE_GAS_CFI_DIRECTIVES): Don't define.
697 * configure: Regenerated.
698 * config.in: Likewise.
700 2018-02-26 Jakub Jelinek <jakub@redhat.com>
703 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
704 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
705 inclusion of auto-target.h and auto-host.h.
706 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
707 __GCC_HAVE_DWARF2_CFI_ASM.
708 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
709 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
711 * config/i386/cygwin.S: Don't include auto-host.h here, just
712 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
713 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
714 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
715 * config/i386/resms64fx.h: Add cfi_* directives.
716 * config/i386/resms64x.h: Likewise.
718 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
720 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
721 .literal_position directive.
722 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
724 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
727 * configure: Regenerate.
729 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
732 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
733 Include cetintrin.h not x86intrin.h.
735 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
738 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
739 Use new _get_ssp and _inc_ssp intrinsics.
741 2018-02-02 Julia Koval <julia.koval@intel.com>
743 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
745 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
747 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
749 (__divsi3): Use RF16 safe registers.
750 (__modsi3): Likewise.
752 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
754 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
755 (__divsf3): Make NaN return value quiet.
756 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
757 (__divdf3): Make NaN return value quiet.
759 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
761 * config/rl78/anddi3.S: New assembly file.
762 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
764 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
766 * config/rl78/umindi3.S: New assembly file.
767 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
769 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
771 * config/rl78/smindi3.S: New assembly file.
772 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
774 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
776 * config/rl78/smaxdi3.S: New assembly file.
777 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
779 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
781 * config/rl78/umaxdi3.S: New assembly file.
782 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
784 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
787 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
788 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
790 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
792 * config/aarch64/value-unwind.h (aarch64_vg): New function.
793 (DWARF_LAZY_REGISTER_VALUE): Define.
794 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
795 to provide a fallback register value.
797 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
799 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
800 __ibm128, instead of trying to use long double.
801 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
802 accomidate -mabi=ieeelongdouble multilibs.
803 (CVT_IBM128_TO_FLOAT128): Likewise.
804 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
805 the appropriate IBM extended double type.
806 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
807 (__gcc_qsub): Likewise.
808 (__gcc_qmul): Likewise.
809 (__gcc_qdiv): Likewise.
810 (pack_ldouble): Likewise.
811 (__gcc_qneg): Likewise.
812 (__gcc_qeq): Likewise.
813 (__gcc_qne): Likewise.
814 (__gcc_qge): Likewise.
815 (__gcc_qle): Likewise.
816 (__gcc_stoq): Likewise.
817 (__gcc_dtoq): Likewise.
818 (__gcc_itoq): Likewise.
819 (__gcc_utoq): Likewise.
820 (__gcc_qunord): Likewise.
821 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
822 quad-float128.h for the definitions.
823 (COPYSIGN): Use the f128 version instead of the q version.
824 (INFINITY): Likewise.
825 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
826 * config/rs6000/_divkc3.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.
831 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
832 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
833 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
835 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
837 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
840 2018-01-03 Jakub Jelinek <jakub@redhat.com>
842 Update copyright years.
844 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
846 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
847 * config/riscv/multi3.c: New file.
848 * config/riscv/multi3.S: Remove.
850 2017-12-08 Jim Wilson <jimw@sifive.com>
852 * config/riscv/div.S: Use FUNC_* macros.
853 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
854 * config/riscv/save-restore.S: Likewise.
855 * config/riscv/riscv-asm.h: New.
857 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
859 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
860 * config/rs6000/_divkc3.c (__divkc3): Likewise.
863 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
864 correct type for all ifunc resolvers to silence -Wattribute-alias
865 warnings. Eliminate the forward declaration of the resolver
866 functions which is no longer needed.
867 (__subkf3_resolve): Likewise.
868 (__mulkf3_resolve): Likewise.
869 (__divkf3_resolve): Likewise.
870 (__negkf2_resolve): Likewise.
871 (__eqkf2_resolve): Likewise.
872 (__nekf2_resolve): Likewise.
873 (__gekf2_resolve): Likewise.
874 (__gtkf2_resolve): Likewise.
875 (__lekf2_resolve): Likewise.
876 (__ltkf2_resolve): Likewise.
877 (__unordkf2_resolve): Likewise.
878 (__extendsfkf2_resolve): Likewise.
879 (__extenddfkf2_resolve): Likewise.
880 (__trunckfsf2_resolve): Likewise.
881 (__trunckfdf2_resolve): Likewise.
882 (__fixkfsi_resolve): Likewise.
883 (__fixkfdi_resolve): Likewise.
884 (__fixunskfsi_resolve): Likewise.
885 (__fixunskfdi_resolve): Likewise.
886 (__floatsikf_resolve): Likewise.
887 (__floatdikf_resolve): Likewise.
888 (__floatunsikf_resolve): Likewise.
889 (__floatundikf_resolve): Likewise.
890 (__extendkftf2_resolve): Likewise.
891 (__trunctfkf2_resolve): Likewise.
894 * config/rs6000/quad-float128.h (TF): Don't define if long double
895 is IEEE 128-bit floating point.
896 (TCtype): Define as either TCmode or KCmode, depending on whether
897 long double is IEEE 128-bit floating point.
898 (__mulkc3_sw): Add declarations for software/hardware versions of
899 complex multiply/divide.
900 (__divkc3_sw): Likewise.
901 (__mulkc3_hw): Likewise.
902 (__divkc3_hw): Likewise.
903 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
904 handlers to switch between using software emulation and hardware
905 float128 instructions, build the complex multiply/divide functions
906 for both software and hardware support.
907 * config/rs6000/_divkc3.c (_divkc3): Likewise.
908 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
909 (__divkc3_resolve): Likewise.
910 (__mulkc3): Likewise.
911 (__divkc3): Likewise.
912 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
913 (fp128_hw_src): Likewise.
914 (fp128_hw_static_obj): Likewise.
915 (fp128_hw_shared_obj): Likewise.
916 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
917 _mulkc3.c and _divkc3.c, changing the function name.
918 (_divkc3-hw.c): Likewise.
919 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
922 2017-11-26 Julia Koval <julia.koval@intel.com>
924 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
925 * config/i386/cpuinfo.h (processor_subtypes): Add
926 INTEL_COREI7_CANNONLAKE.
928 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
931 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
933 * config/xtensa/unwind-dw2-xtensa.c: Likewise
934 * config/ia64/unwind-ia64.c: Add frames parameter.
935 * unwind-sjlj.c: Likewise.
937 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
939 * config/i386/linux-unwind.h: Include
940 config/i386/shadow-stack-unwind.h.
941 * config/i386/shadow-stack-unwind.h: New file.
942 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
943 pass it to _Unwind_Frames_Extra.
944 * unwind-generic.h (_Unwind_Frames_Extra): New.
945 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
946 parameter. Add local variable frames to count number of frames.
947 (_Unwind_ForcedUnwind_Phase2): Likewise.
948 (_Unwind_RaiseException): Add local variable frames to count
949 number of frames, pass it to _Unwind_RaiseException_Phase2 and
951 (_Unwind_ForcedUnwind): Likewise.
952 (_Unwind_Resume): Likewise.
953 (_Unwind_Resume_or_Rethrow): Likewise.
955 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
957 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
959 * config/i386/morestack.S: Include <cet.h>.
960 (__morestack_large_model): Add _CET_ENDBR at function entrance.
961 * config/i386/resms64.h: Include <cet.h>.
962 * config/i386/resms64f.h: Likewise.
963 * config/i386/resms64fx.h: Likewise.
964 * config/i386/resms64x.h: Likewise.
965 * config/i386/savms64.h: Likewise.
966 * config/i386/savms64f.h: Likewise.
967 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
968 (CRTSTUFF_T_CFLAGS): Likewise.
969 * configure.ac: Include ../config/cet.m4.
970 Set and substitute CET_FLAGS.
971 * configure: Regenerated.
973 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
975 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
977 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
978 * configure.ac (libgcc_cv_solaris_crts): Likewise.
979 * configure: Regenerate.
981 2017-11-07 Tom de Vries <tom@codesourcery.com>
983 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
984 after "do {} while (0)".
986 2017-11-07 Tom de Vries <tom@codesourcery.com>
989 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
990 semicolon after "do {} while (0)".
991 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
992 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
993 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
994 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
996 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
999 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1000 sysctl to determine whether we're in a trampoline.
1001 Keep the pattern matching method for systems without
1002 KERN_PROC_SIGTRAMP sysctl.
1004 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1005 Vineet Gupta <vgupta@synopsys.com>
1007 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1008 * config/arc/linux-unwind-reg.def: New file.
1009 * config/arc/linux-unwind-reg.h: Likewise.
1011 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1013 * config/rl78/subdi3.S: New assembly file.
1014 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1016 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1018 * config/rl78/adddi3.S: New assembly file.
1019 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1021 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1024 * libgcc2.c (__mulvDI3): If both operands have
1025 the same highpart of -1 and the topmost bit of lowpart is 0,
1026 multiplication overflows even if both lowparts are 0.
1028 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1030 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1032 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1034 * config/microblaze/crti.S, config/microblaze/crtn.S,
1035 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1036 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1037 config/microblaze/mulsi3.S,
1038 config/microblaze/stack_overflow_exit.S,
1039 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1040 config/pa/milli64.S: Add .note.GNU-stack section.
1042 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1044 * configure.ac: Add Check for HAVE_AS_AVX.
1045 * config.in: Regenerate.
1046 * configure: Likewise.
1047 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1048 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1049 Correct out-of-date comments.
1051 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1053 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1054 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1056 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1058 * config/i386/i386-asm.h (PASTE2): New macro.
1059 (ASMNAME): Modify to use PASTE2.
1060 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1061 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1062 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1063 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1064 * config/i386/resms64f.S: Likewise.
1065 * config/i386/resms64fx.S: Likewise.
1066 * config/i386/resms64x.S: Likewise.
1067 * config/i386/savms64.S: Likewise.
1068 * config/i386/savms64f.S: Likewise.
1069 * config/i386/avx_resms64.S: New file that only defines a macro and
1070 includes it's corresponding header file.
1071 * config/i386/avx_resms64f.S: Likewise.
1072 * config/i386/avx_resms64fx.S: Likewise.
1073 * config/i386/avx_resms64x.S: Likewise.
1074 * config/i386/avx_savms64.S: Likewise.
1075 * config/i386/avx_savms64f.S: Likewise.
1076 * config/i386/sse_resms64.S: Likewise.
1077 * config/i386/sse_resms64f.S: Likewise.
1078 * config/i386/sse_resms64fx.S: Likewise.
1079 * config/i386/sse_resms64x.S: Likewise.
1080 * config/i386/sse_savms64.S: Likewise.
1081 * config/i386/sse_savms64f.S: Likewise.
1082 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1084 2017-09-01 Olivier Hainque <hainque@adacore.com>
1085 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1087 2017-08-31 Olivier Hainque <hainque@adacore.com>
1089 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1090 match as powerpc-wrs-vxworks*.
1092 2017-08-07 Jonathan Yong <10walls@gmail.com>
1094 * config.host (*-cygwin): Include file from mingw
1095 config/i386/enable-execute-stack-mingw32.c
1097 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1098 Doug Rupp <rupp@adacore.com>
1099 Olivier Hainque <hainque@adacore.com>
1101 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1102 as well as arm-wrs-vxworks.
1103 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1105 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1106 __exidx_start and __exidx_end for downloadable modules.
1108 2017-08-01 Olivier Hainque <hainque@adacore.com>
1110 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1111 * config/t-vxworks7: Likewise.
1113 2017-08-01 Olivier Hainque <hainque@adacore.com>
1115 * config/t-vxworks: Instead of redefining LIB2ADD,
1116 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1118 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1120 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1122 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1125 * config.host: include i386/t-msabi for darwin and solaris.
1126 * config/i386/i386-asm.h
1127 (ELFFN): Rename to FN_TYPE.
1128 (FN_SIZE): New macro.
1129 (FN_HIDDEN): Likewise.
1130 (ASMNAME): Likewise.
1131 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1133 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1134 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1135 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1137 * config/i386/resms64f.S: Likewise.
1138 * config/i386/resms64fx.S: Likewise.
1139 * config/i386/resms64x.S: Likewise.
1140 * config/i386/savms64.S: Likewise.
1141 * config/i386/savms64f.S: Likewise.
1143 2017-07-19 John Marino <gnugcc@marino.st>
1145 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1147 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1150 * configure.ac (PowerPC float128 hardware support): Test whether
1151 we can use __builtin_cpu_supports before enabling the ifunc
1153 * configure: Regenerate.
1155 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1157 * config.host: Remove uclibc from arc target spec.
1159 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1161 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1163 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1165 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1166 (have_ieee_hw_p): Delete function.
1167 (SW_OR_HW) Use __builtin_cpu_supports().
1169 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1171 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1173 2017-07-03 Olivier Hainque <hainque@adacore.com>
1175 * config/t-vxworks7: New file, really.
1177 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1179 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1180 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1181 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1182 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1183 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1184 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1185 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1186 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1187 config/sh/linux-unwind.h (sh_fallback_frame_state),
1188 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1189 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1190 ucontext_t instead of struct ucontext.
1192 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1194 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1195 (x86_64-wrs-vxworks7): Likewise.
1197 2017-06-27 Olivier Hainque <hainque@adacore.com>
1199 * config/t-vxworks7: New file.
1200 * config.host (*-*-vxworks7): Use it.
1202 2017-06-22 Matt Turner <mattst88@gmail.com>
1204 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1207 2017-06-21 Richard Biener <rguenther@suse.de>
1209 PR gcov-profile/81080
1210 * configure.ac: Add AC_SYS_LARGEFILE.
1211 * libgcov.h: Include auto-target.h before tsystem.h to pick
1212 up _FILE_OFFSET_BITS which might differ for multilibs.
1213 * config.in: Regenerate.
1214 * configure: Likewise.
1216 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1218 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1220 2017-06-09 Martin Liska <mliska@suse.cz>
1222 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1223 Reset __gcov_indirect_call_callee to NULL.
1225 2017-06-08 Olivier Hainque <hainque@adacore.com>
1227 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1228 the set of -I options, support for direct inclusions of net/uio.h
1229 by VxWorks header files via ioLib.h.
1231 2017-06-07 Tony Reix <tony.reix@atos.net>
1232 Matthieu Sarter <matthieu.sarter.external@atos.net>
1233 David Edelsohn <dje.gcc@gmail.com>
1235 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1237 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1240 2017-06-02 Olivier Hainque <hainque@adacore.com>
1242 * config/vxlib.c (__gthread_once): Add missing value to
1245 2017-05-30 Olivier Hainque <hainque@adacore.com>
1247 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1248 dollar sign before $(MULTIDIR).
1250 2017-05-26 Richard Henderson <rth@redhat.com>
1253 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1255 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1257 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1258 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1259 * config/arm/unwind-arm.c: Implement the above.
1261 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1263 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1264 section for a non-executable stack.
1266 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1269 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1271 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1273 * config.host: Add i386/t-msabi to i386/t-linux file list.
1274 * config/i386/i386-asm.h: New file.
1275 * config/i386/resms64.S: New file.
1276 * config/i386/resms64f.S: New file.
1277 * config/i386/resms64fx.S: New file.
1278 * config/i386/resms64x.S: New file.
1279 * config/i386/savms64.S: New file.
1280 * config/i386/savms64f.S: New file.
1281 * config/i386/t-msabi: New file.
1283 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1285 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1286 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1288 2017-05-05 Joshua Conner <joshconner@google.com>
1290 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1291 pc-relative indirect handling for fuchsia.
1292 * config/t-slibgcc-fuchsia: New file.
1293 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1294 x86_64-*-fuchsia*): Add definitions.
1296 2017-04-19 Martin Liska <mliska@suse.cz>
1298 PR gcov-profile/80435
1299 * Makefile.in: Install gcov.h.
1301 * libgcov.h: Use the header and make __gcov_flush publicly
1304 2017-04-18 Martin Liska <mliska@suse.cz>
1306 PR gcov-profile/78783
1307 * libgcov-driver.c (gcov_get_filename): New function.
1309 2017-04-07 Jeff Law <law@redhat.com>
1311 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1312 target makefile fragment.
1313 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1315 2017-04-07 Alan Modra <amodra@gmail.com>
1318 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1320 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1322 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1324 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1326 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1328 2017-03-10 John Marino <gnugcc@marino.st>
1330 * config/aarch64/freebsd-unwind.h: New file.
1331 * config.host: Add aarch64-*-freebsd unwinder.
1333 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1335 * config/rs6000/crtrestvr.s: Use .machine altivec.
1336 * config/rs6000/crtsavevr.s: Ditto.
1338 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1340 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1341 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1342 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1343 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1344 * configure: Regenerate.
1345 * config.in: Regenerate.
1347 2017-03-02 Jonathan Yong <10walls@gmail.com>
1349 * config/i386/gthr-win32.h: Define NOGDI before
1350 windows.h include to prevent w32api CC_NONE macro
1351 clash with libgfortran.
1353 2017-03-02 Jonathan Yong <10walls@gmail.com>
1355 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1357 2017-02-16 Andrew Pinski <apinski@cavium.com>
1359 * config/aarch64/value-unwind.h: New file.
1360 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1363 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1365 * config.host: Add RISC-V tuples.
1366 * config/riscv/atomic.c: New file.
1367 * config/riscv/crti.S: Likewise.
1368 * config/riscv/crtn.S: Likewise.
1369 * config/riscv/div.S: Likewise.
1370 * config/riscv/linux-unwind.h: Likewise.
1371 * config/riscv/muldi3.S: Likewise.
1372 * config/riscv/multi3.S: Likewise.
1373 * config/riscv/save-restore.S: Likewise.
1374 * config/riscv/sfp-machine.h: Likewise.
1375 * config/riscv/t-elf: Likewise.
1376 * config/riscv/t-elf32: Likewise.
1377 * config/riscv/t-elf64: Likewise.
1378 * config/riscv/t-softfp32: Likewise.
1379 * config/riscv/t-softfp64: Likewise.
1381 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1383 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1384 /* FALLTHRU */ comments.
1386 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1388 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1390 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1392 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1393 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1394 DW_CFA_GNU_window_save for AArch64 and LP64.
1396 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1398 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1400 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1402 * config/aarch64/aarch64-unwind.h: New file.
1403 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1404 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1405 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1406 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1407 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1408 (aarch64_post_extract_frame_addr): New function.
1409 (aarch64_post_frob_eh_handler_addr): New function.
1410 (aarch64_frob_update_context): New function.
1411 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1412 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1413 aarch64*-*-freebsd*):
1414 Initialize md_unwind_header to include aarch64-unwind.h.
1415 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1416 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1418 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1419 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1420 (uw_frob_return_addr): New function.
1421 (uw_install_context): Use uw_frob_return_addr.
1423 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1426 * configure.ac: Add GCC_BASE_VER.
1427 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1428 version from BASE-VER file.
1429 * configure: Regenerated.
1431 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1433 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1434 libmul_f5.a): Filter archived prerequisites.
1436 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1438 * config/i386/cpuinfo.h (processor_features): Add
1439 FEATURE_AVX512VPOPCNTDQ.
1440 * config/i386/cpuinfo.c (get_available_features): Habdle new
1443 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1445 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1446 payload if [__mips_nan2008].
1448 2017-01-04 Alan Modra <amodra@gmail.com>
1450 * Makefile.in (configure_deps): Update.
1451 * configure: Regenerate.
1453 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1455 Update copyright years.
1457 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1459 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1460 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1461 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1463 2016-12-17 Matthias Klose <doko@ubuntu.com>
1465 * config/arc/gmon: Remove empty directory.
1467 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1469 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1471 (arc*-*-elf*): Likewise.
1472 * config/arc/t-arc: Remove old gmon lib targets.
1473 * config/arc/crtg.S: Remove.
1474 * config/arc/crtgend.S: Likewise.
1475 * config/arc/gmon/atomic.h: Likewise.
1476 * config/arc/gmon/auxreg.h: Likewise.
1477 * config/arc/gmon/dcache_linesz.S: Likewise.
1478 * config/arc/gmon/gmon.c: Likewise.
1479 * config/arc/gmon/machine-gmon.h: Likewise.
1480 * config/arc/gmon/mcount.c: Likewise.
1481 * config/arc/gmon/prof-freq-stub.S: Likewise.
1482 * config/arc/gmon/prof-freq.c: Likewise.
1483 * config/arc/gmon/profil.S: Likewise.
1484 * config/arc/gmon/sys/gmon.h: Likewise.
1485 * config/arc/gmon/sys/gmon_out.h: Likewise.
1486 * config/arc/t-arc-newlib: Likewise.
1487 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1489 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1491 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1493 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1495 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1496 R16 instead of push + pop.
1497 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1499 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1501 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1504 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1506 * config.host (arc*-*-linux-uclibc*): Use default extra
1507 objects. Include linux-android header.
1508 * config/arc/crti.S (_init): Declare symbol as function.
1511 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1514 * config/i386/cpuinfo.c: Move denums for processor vendors,
1515 processor type, processor subtypes and declaration of
1516 struct __processor_model into
1517 * config/i386/cpuinfo.h: New header file.
1519 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1520 Thomas Preud'homme <thomas.preudhomme@arm.com>
1522 * config/arm/cmse_nonsecure_call.S: New.
1523 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1525 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1526 Thomas Preud'homme <thomas.preudhomme@arm.com>
1528 * config/arm/t-arm (HAVE_CMSE): New.
1529 * config/arm/cmse.c: New.
1531 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1534 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1535 use generic linker version information on Blackfin.
1538 * libgcc/mkmap-symver.awk: add support for skip_underscore
1540 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1541 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1544 * config/t-darwin: Default builds to 10.5 codegen.
1546 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1548 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1549 (_FP_NANSIGN_H): Likewise.
1550 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1551 (softfp_truncations): Add tfhf.
1552 (softfp_extras): Add required conversion functions.
1554 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1555 Matthew Wahab <matthew.wahab@arm.com>
1557 * config/arm/fp16.c (binary64): New.
1558 (__gnu_d2h_internal): New.
1559 (__gnu_d2h_ieee): New.
1560 (__gnu_d2h_alternative): New.
1562 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1563 Matthew Wahab <matthew.wahab@arm.com>
1565 * config/arm/fp16.c (struct format): New.
1567 (__gnu_float2h_internal): New. Body moved from
1568 __gnu_f2h_internal and generalize.
1569 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1570 Call it with binary32.
1572 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1574 * soft-fp/extendhftf2.c: Update from glibc.
1575 * soft-fp/fixhfti.c: Likewise.
1576 * soft-fp/fixunshfti.c: Likewise.
1577 * soft-fp/floattihf.c: Likewise.
1578 * soft-fp/floatuntihf.c: Likewise.
1579 * soft-fp/half.h: Likewise.
1580 * soft-fp/trunctfhf2.c: Likewise.
1582 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1585 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1586 __TMC_END__ behind a passthrough asm.
1588 2016-11-18 Walter Lee <walt@tilera.com>
1590 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1592 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1594 * config/i386/cpuinfo.c (processor_features): Add
1595 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1597 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1599 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1600 (__ARC_NORM__): Use instead ARC_OPTFPE.
1601 * config/arc/fp-hack.h: Likewise.
1602 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1603 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1605 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1607 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1608 * config/nvptx/mgomp.c: New file.
1609 * config/nvptx/t-nvptx: Add mgomp.c
1611 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1614 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1616 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1618 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1619 of checking for cpus.
1620 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1621 (__modsi3, __clzsi2): Likewise.
1623 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1625 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1626 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1627 * config/i386/t-cpuinfo-static: New.
1629 2016-11-03 Martin Liska <mliska@suse.cz>
1631 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1632 (__gcov_time_profiler_atomic): Likewise.
1634 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1637 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1638 count_leading_zeros.
1640 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1642 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1643 * libgcc2.c (__divmoddi4): New function.
1644 * libgcc2.h (__divmoddi4): Declare.
1645 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1646 and __PFX_divmodti4.
1648 2016-10-24 Florian Weimer <fweimer@redhat.com>
1651 * unwind-c.c: Include auto-target.h.
1653 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1655 * config/pa/pa64-hpux-lib.h: New file.
1656 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1657 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1658 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1661 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1663 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1665 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1667 * config/xtensa/t-windowed (LIB2ADDEH): Use
1668 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1671 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1673 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1674 __ieee754_sqrt): New functions.
1675 (__divdf3): Add implementation with new FPU instructions under
1676 #if XCHAL_HAVE_DFP_DIV.
1677 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1678 __ieee754_sqrtf): New functions.
1679 (__divsf3): Add implementation with new FPU instructions under
1680 #if XCHAL_HAVE_FP_DIV.
1681 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1682 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1684 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1686 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1688 * config/tilepro/atomic.c: Likewise and stop casting model to
1691 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1694 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1697 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1699 * config.host: Add support for aarch64-*-freebsd*.
1701 2016-10-05 Andreas Schwab <schwab@suse.de>
1703 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1704 (.section .init_array): Don't call __do_jv_register_classes.
1705 (.section .init): Likewise.
1707 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1709 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1710 (__JCR_LIST__): Remove.
1711 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1712 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1713 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1714 * config/ia64/crtend.S (__JCR_END__): Remove.
1715 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1717 (__JCR_LIST__, __JCR_END__): Remove.
1718 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1719 (__do_global_ctors_1): Likewise.
1721 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1723 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1724 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1726 2016-09-27 Martin Liska <mliska@suse.cz>
1728 PR gcov-profile/7970
1729 PR gcov-profile/16855
1730 PR gcov-profile/44779
1731 * libgcov-driver.c (__gcov_init): Do not register a atexit
1733 (__gcov_exit): Rename from gcov_exit.
1734 * libgcov.h (__gcov_exit): Declare.
1736 2016-09-27 Martin Liska <mliska@suse.cz>
1739 * Makefile.in: Remove _gcov_merge_delta.
1740 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1741 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1742 * libgcov.h: Remove declaration of __gcov_merge_delta.
1744 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1746 * configure.ac: Do not create links, only substitute the filenames.
1747 * configure: Regenerate.
1748 * Makefile.in: Assign the substitution results to variables.
1749 (LIBGCC_LINKS): Define.
1750 (enable-execute-stack.c): New rule.
1751 (unwind.h): Likewise.
1752 (md-unwind-support.h): Likewise.
1753 (sfp-machine.h): Likewise.
1754 (gthr-default.h): Likewise.
1755 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1756 unwind.h as prerequisite of install-unwind_h-forbuild.
1758 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1761 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1762 is not the primary registry and atomics are available.
1763 (any_objects_registered): New variable.
1764 (__register_frame_info_bases, __register_frame_info_table_bases):
1765 Atomically store 1 to any_objects_registered after registering first
1767 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1769 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1772 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1773 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1776 (__divhc3): Likewise.
1777 (__mulhc3): Likewise.
1778 * libgcc2.c: Support _mulhc3 and _divhc3.
1780 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1783 * libgcc2.c (NOTRUNC): Invert settings.
1785 2016-09-06 Martin Liska <mliska@suse.cz>
1787 PR gcov-profile/77378
1788 PR gcov-profile/77466
1789 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1790 conditionaly enable/disable *_atomic functions.
1792 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1794 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1795 where not already enabled.
1797 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1799 * config/mips/linux-unwind.h: Use sys/syscall.h.
1801 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1804 * soft-fp/adddf3.c: Update from glibc.
1805 * soft-fp/addsf3.c: Likewise.
1806 * soft-fp/addtf3.c: Likewise.
1807 * soft-fp/divdf3.c: Likewise.
1808 * soft-fp/divsf3.c: Likewise.
1809 * soft-fp/divtf3.c: Likewise.
1810 * soft-fp/double.h: Likewise.
1811 * soft-fp/eqdf2.c: Likewise.
1812 * soft-fp/eqsf2.c: Likewise.
1813 * soft-fp/eqtf2.c: Likewise.
1814 * soft-fp/extenddftf2.c: Likewise.
1815 * soft-fp/extended.h: Likewise.
1816 * soft-fp/extendsfdf2.c: Likewise.
1817 * soft-fp/extendsftf2.c: Likewise.
1818 * soft-fp/extendxftf2.c: Likewise.
1819 * soft-fp/fixdfdi.c: Likewise.
1820 * soft-fp/fixdfsi.c: Likewise.
1821 * soft-fp/fixdfti.c: Likewise.
1822 * soft-fp/fixsfdi.c: Likewise.
1823 * soft-fp/fixsfsi.c: Likewise.
1824 * soft-fp/fixsfti.c: Likewise.
1825 * soft-fp/fixtfdi.c: Likewise.
1826 * soft-fp/fixtfsi.c: Likewise.
1827 * soft-fp/fixtfti.c: Likewise.
1828 * soft-fp/fixunsdfdi.c: Likewise.
1829 * soft-fp/fixunsdfsi.c: Likewise.
1830 * soft-fp/fixunsdfti.c: Likewise.
1831 * soft-fp/fixunssfdi.c: Likewise.
1832 * soft-fp/fixunssfsi.c: Likewise.
1833 * soft-fp/fixunssfti.c: Likewise.
1834 * soft-fp/fixunstfdi.c: Likewise.
1835 * soft-fp/fixunstfsi.c: Likewise.
1836 * soft-fp/fixunstfti.c: Likewise.
1837 * soft-fp/floatdidf.c: Likewise.
1838 * soft-fp/floatdisf.c: Likewise.
1839 * soft-fp/floatditf.c: Likewise.
1840 * soft-fp/floatsidf.c: Likewise.
1841 * soft-fp/floatsisf.c: Likewise.
1842 * soft-fp/floatsitf.c: Likewise.
1843 * soft-fp/floattidf.c: Likewise.
1844 * soft-fp/floattisf.c: Likewise.
1845 * soft-fp/floattitf.c: Likewise.
1846 * soft-fp/floatundidf.c: Likewise.
1847 * soft-fp/floatundisf.c: Likewise.
1848 * soft-fp/floatunditf.c: Likewise.
1849 * soft-fp/floatunsidf.c: Likewise.
1850 * soft-fp/floatunsisf.c: Likewise.
1851 * soft-fp/floatunsitf.c: Likewise.
1852 * soft-fp/floatuntidf.c: Likewise.
1853 * soft-fp/floatuntisf.c: Likewise.
1854 * soft-fp/floatuntitf.c: Likewise.
1855 * soft-fp/gedf2.c: Likewise.
1856 * soft-fp/gesf2.c: Likewise.
1857 * soft-fp/getf2.c: Likewise.
1858 * soft-fp/ledf2.c: Likewise.
1859 * soft-fp/lesf2.c: Likewise.
1860 * soft-fp/letf2.c: Likewise.
1861 * soft-fp/muldf3.c: Likewise.
1862 * soft-fp/mulsf3.c: Likewise.
1863 * soft-fp/multf3.c: Likewise.
1864 * soft-fp/negdf2.c: Likewise.
1865 * soft-fp/negsf2.c: Likewise.
1866 * soft-fp/negtf2.c: Likewise.
1867 * soft-fp/op-1.h: Likewise.
1868 * soft-fp/op-2.h: Likewise.
1869 * soft-fp/op-4.h: Likewise.
1870 * soft-fp/op-8.h: Likewise.
1871 * soft-fp/op-common.h: Likewise.
1872 * soft-fp/quad.h: Likewise.
1873 * soft-fp/single.h: Likewise.
1874 * soft-fp/soft-fp.h: Likewise.
1875 * soft-fp/subdf3.c: Likewise.
1876 * soft-fp/subsf3.c: Likewise.
1877 * soft-fp/subtf3.c: Likewise.
1878 * soft-fp/truncdfsf2.c: Likewise.
1879 * soft-fp/trunctfdf2.c: Likewise.
1880 * soft-fp/trunctfsf2.c: Likewise.
1881 * soft-fp/trunctfxf2.c: Likewise.
1882 * soft-fp/unorddf2.c: Likewise.
1883 * soft-fp/unordsf2.c: Likewise.
1884 * soft-fp/unordtf2.c: Likewise.
1886 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1888 PR gcov-profile/67097
1889 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1891 2016-08-10 Martin Liska <mliska@suse.cz>
1893 PR gcov-profile/58306
1894 * Makefile.in: New functions (modules) are added.
1895 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1897 (__gcov_pow2_profiler_atomic): New function.
1898 (__gcov_one_value_profiler_body): New argument is instroduced.
1899 (__gcov_one_value_profiler): Call with the new argument.
1900 (__gcov_one_value_profiler_atomic): Likewise.
1901 (__gcov_indirect_call_profiler_v2): Likewise.
1902 (__gcov_time_profiler_atomic): New function.
1903 (__gcov_average_profiler_atomic): Likewise.
1904 (__gcov_ior_profiler_atomic): Likewise.
1905 * libgcov.h: Declare the aforementioned functions.
1907 2016-08-09 Martin Liska <mliska@suse.cz>
1909 * libgcov-util.c: Fix typo and GNU coding style.
1911 2016-08-09 Martin Liska <mliska@suse.cz>
1913 * Makefile.in: Remove __gcov_indirect_call_profiler.
1914 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1916 * libgcov.h: And the declaration of the function.
1918 2016-08-09 Martin Liska <mliska@suse.cz>
1920 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1923 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1925 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1926 * config/rs6000/_mulkc3.c: Likewise.
1928 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1930 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1931 zero_reg as previous call to __umulhisi3 already cleared it.
1933 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1936 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1938 2016-07-19 Nick Clifton <nickc@redhat.com>
1940 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1941 Add crtinit.o and crtfini.o to extra_parts.
1943 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1945 * config/rs6000/_divkc3.c: New.
1946 * config/rs6000/_mulkc3.c: New.
1947 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1949 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1952 2016-07-11 Hale Wang <hale.wang@arm.com>
1953 Andre Vieira <andre.simoesdiasvieira@arm.com>
1955 * config/arm/lib1funcs.S: Add new wrapper.
1957 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1959 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1961 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1963 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1964 and ARMv5t* rather than for a fixed list of architectures.
1966 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1968 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1969 implementation suitable for.
1970 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1971 for all Thumb-1 only targets.
1972 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1973 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1976 (ARM_FUNC_ALIAS): Likewise.
1977 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1980 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1983 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1984 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1985 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1986 __ARM_ARCH_6M__ and add comment to indicate the connection between
1987 this condition and the one in gcc/config/arm/elf.h.
1988 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1989 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1990 * config/arm/t-softfp: Likewise.
1992 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1994 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1995 CTOR_LISTS_DEFINED_EXTERNALLY.
1997 2016-06-28 Walter Lee <walt@tilera.com>
1999 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2001 (SPR_CMPEXCH_VALUE): Define for tilegx.
2002 (__NR_FAST_cmpxchg): Define for tilepro.
2003 (__NR_FAST_atomic_update): Define for tilepro.
2004 (__NR_FAST_cmpxchg64): Define for tilepro.
2006 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2008 * config.host: Add suport for arm*-*-phoenix* targets.
2010 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2012 * config.host: Remove support for mep-*.
2013 * config/mep/lib1funcs.S: Remove.
2014 * config/mep/lib2funcs.c: Remove.
2015 * config/mep/t-mep: Remove.
2016 * config/mep/tramp.c: Remove.
2018 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2020 * config.host: Remove support for avr-rtems.
2021 * config/avr/t-rtems: Remove.
2023 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2025 * config.host: Remove m32r-rtems support.
2027 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2029 * config.host: Remove h8300-rtems support.
2031 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2033 * config.host: Remove support for knetbsd.
2035 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2037 * config.host: Remove support for openbsd 2 and 3.
2039 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2041 * config.host: Remove interix support.
2042 * config/i386/t-interix: Remove.
2044 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2046 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2047 least-significant bit in function pointer for fixup.
2049 2016-06-05 Aaron Conole <aconole@redhat.com>
2050 Nathan Sidwell <nathan@acm.org>
2053 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2054 (get_gcov_error_file): Check __gcov_error_file before trying to
2056 (gcov_error): Always use get_gcov_error_file.
2058 2016-06-02 Aaron Conole <aconole@redhat.com>
2060 * libgcov-driver-system.c (__gcov_error_file): New.
2061 (get_gcov_error_file): New.
2062 (gcov_error): Use and set __gcov_error_file.
2063 (gcov_error_exit): New.
2064 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2066 2016-05-26 Nathan Sidwell <nathan@acm.org>
2068 * config/nvptx/free.asm: Delete.
2069 * config/nvptx/malloc.asm: Delete.
2070 * config/nvptx/realloc.c: Delete.
2073 2016-05-25 Nathan Sidwell <nathan@acm.org>
2075 * config/nvptx/crt0.s: Delete.
2076 * config/nvptx/crt0.c: New.
2079 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2081 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2082 dw2/seh configuration.
2083 [x86_64-*-mingw*]: Likewise.
2085 2016-05-10 Joel Sherrill <joel@rtems.org>
2088 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2089 targets so the same extra_parts are built. Also have tmake_file add
2090 on to its value rather than override.
2092 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2094 * config.host: Remove SH5 support.
2095 * configure: Likewise.
2097 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2099 * config/sh/crt1.S: Remove SH5 support.
2100 * config/sh/crti.S: Likewise.
2101 * config/sh/crtn.S: Likewise.
2102 * config/sh/lib1funcs-4-300.S: Likewise.
2103 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2104 * config/sh/lib1funcs.S: Likewise.
2105 * config/sh/linux-unwind.h: Likewise.
2106 * config/sh/t-sh64: Delete.
2108 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2110 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2112 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2113 Joern Rennecke <joern.rennecke@embecosm.com>
2115 * config/arc/crttls.S: New file.
2116 * config/arc/t-arc: New rule.
2117 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2119 2016-04-25 Nick Clifton <nickc@redhat.com>
2121 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2122 (__mspabi_cmpd): Likewise.
2123 * config/msp430/floathidf.c (__floathidf): Likewise.
2124 * config/msp430/floathisf.c (__floathisf): Likewise
2125 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2126 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2127 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2129 (__ashrsi3): Likewise.
2131 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2133 * config/m68k/linux-atomic.c: Do not include unistd.h
2135 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2137 * config/arm/ieee754-df.S: Fix typos in comments.
2139 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2142 * configure.ac (powerpc*-*-linux*): Rework tests to build
2143 __float128 emulation routines to not depend on using #pragma GCC
2144 target to enable -mfloat128.
2145 * configure: Regnerate.
2147 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2150 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2151 __MINGW32__ is defined.
2153 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2155 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2157 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2160 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2161 built with an assembler that does not support ISA 3.0
2162 instructions, rename __extendkftf2_sw to __extendkftf2.
2164 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2167 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2168 call-clobbered registers.
2169 (internal_mcount): Remove __i386__ handling.
2171 2016-02-26 Joel Sherrill <joel@rtems.org>
2173 * config.host: Add x86_64-*-rtems*.
2175 2016-02-26 Joel Sherrill <joel@rtems.org>
2177 * libgcc/config.host: Add aarch64-*-rtems*.
2179 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2180 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2182 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2183 union of u64 and double.
2184 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2185 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2187 (FP_ROUNDMODE): Update the usage of _fpscr.
2189 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2192 * Makefile.in (crtoffloadtable$(objext)): New rule.
2193 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2194 enable_offload_targets is not empty.
2195 * configure: Regenerate.
2196 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2199 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2201 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2202 .literal_position before the function.
2203 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2206 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2208 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2209 * config/s390/morestack.S: New file.
2210 * config/s390/t-stack-s390: New file.
2211 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2213 2016-02-12 Walter Lee <walt@tilera.com>
2215 * config.host (tilegx*-*-linux*): remove ti from
2216 softfp_int_modes for 32-bit configs.
2218 2016-02-10 Ian Lance Taylor <iant@google.com>
2221 * config/i386/morestack.S (__stack_split_initialize): Align
2224 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2227 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2228 __FLOAT128__ to compile only for __float128 capable targets.
2230 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2233 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2234 instead of ___NO_FPRS__.
2236 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2237 Steven Munroe <munroesj@linux.vnet.ibm.com>
2238 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2240 * config/rs6000/float128-sed: New files to convert TF names to KF
2241 names for PowerPC IEEE 128-bit floating point support.
2242 * config/rs6000/float128-sed-hw: Likewise.
2244 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2245 floating point hardware support.
2247 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2248 128-bit floating point software emulation or use ISA 3.0 hardware
2249 support if it is available.
2251 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2254 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2255 floating point to IBM extended double.
2257 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2258 double to IEEE 128-bit floating point.
2260 * config/rs6000/t-float128: New Makefile fragments to enable
2261 building __float128 emulation support.
2262 * config/rs6000/t-float128-hw: Likewise.
2264 * config/rs6000/sfp-exceptions.c: New file to provide exception
2265 support for IEEE 128-bit floating point.
2267 * config/rs6000/floattikf.c: New files for converting between IEEE
2268 128-bit floating point and signed/unsigned 128-bit integers.
2269 * config/rs6000/fixunskfti.c: Likewise.
2270 * config/rs6000/fixkfti.c: Likewise.
2271 * config/rs6000/floatuntikf.c: Likewise.
2273 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2274 when building on 64-bit systems, or when VSX is enabled.
2275 (_FP_W_TYPE): Likewise.
2276 (_FP_WS_TYPE): Likewise.
2277 (_FP_I_TYPE): Likewise.
2278 (TItype): Define on 64-bit systems.
2279 (UTItype): Likewise.
2280 (TI_BITS): Likewise.
2281 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2282 (_FP_MUL_MEAT_Q): Likewise.
2283 (_FP_DIV_MEAT_D): Likewise.
2284 (_FP_DIV_MEAT_Q): Likewise.
2285 (_FP_NANFRAC_D): Likewise.
2286 (_FP_NANFRAC_Q): Likewise.
2287 (ISA_BIT): Add exception support if we are being compiled on a
2288 machine with hardware floating point support to build the IEEE
2289 128-bit emulation functions.
2290 (FP_EX_INVALID): Likewise.
2291 (FP_EX_OVERFLOW): Likewise.
2292 (FP_EX_UNDERFLOW): Likewise.
2293 (FP_EX_DIVZERO): Likewise.
2294 (FP_EX_INEXACT): Likewise.
2295 (FP_EX_ALL): Likewise.
2296 (__sfp_handle_exceptions): Likewise.
2297 (FP_HANDLE_EXCEPTIONS): Likewise.
2298 (FP_RND_NEAREST): Likewise.
2299 (FP_RND_ZERO): Likewise.
2300 (FP_RND_PINF): Likewise.
2301 (FP_RND_MINF): Likewise.
2302 (FP_RND_MASK): Likewise.
2303 (_FP_DECL_EX): Likewise.
2304 (FP_INIT_ROUNDMODE): Likewise.
2305 (FP_ROUNDMODE): Likewise.
2307 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2308 VSX code, enable IEEE 128-bit floating point. If the compiler can
2309 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2310 floating point hardware instructions and it supports declaring
2311 functions with the ifunc attribute, enable ifunc functions to
2312 switch between software and hardware support.
2313 * configure.ac (powerpc*-*-linux*): Likewise.
2314 * configure: Regenerate.
2316 2016-01-15 Nick Clifton <nickc@redhat.com>
2318 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2319 dependency as the source file to be compiled.
2320 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2321 (lib2hw_mul_f5.o): Likewise.
2323 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2325 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2326 * libgcc/config/rs6000/fixkfti.c: Likewise.
2327 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2328 * libgcc/config/rs6000/float128-hw.c: Likewise.
2329 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2330 * libgcc/config/rs6000/float128-sed: Likewise.
2331 * libgcc/config/rs6000/floattikf.c: Likewise.
2332 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2333 * libgcc/config/rs6000/quad-float128.h: Likewise.
2334 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2335 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2336 * libgcc/config/rs6000/t-float128: Likewise.
2337 * libgcc/config/rs6000/t-float128-hw: Likewise.
2338 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2339 * libgcc/config.host: Likewise.
2340 * libgcc/configure: Likewise.
2341 * libgcc/configure.ac: Likewise.
2343 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2344 Steven Munroe <munroesj@linux.vnet.ibm.com>
2345 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2347 * config/rs6000/sfp-exceptions.c: New file to provide exception
2348 support for IEEE 128-bit floating point.
2350 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2351 floating point hardware support.
2353 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2355 * config/rs6000/fixunskfti.c: Likewise.
2356 * config/rs6000/fixkfti.c: Likewise.
2357 * config/rs6000/floatuntikf.c: Likewise.
2358 * config/rs6000/extendkftf2-sw.c: Likewise.
2359 * config/rs6000/trunctfkf2-sw.c: Likewise.
2361 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2362 128-bit floating point software emulation or use ISA 3.0 hardware
2363 support if it is available.
2365 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2368 * config/rs6000/t-float128: New Makefile fragments to enable
2369 building __float128 emulation support.
2370 * config/rs6000/t-float128-hw: Likewise.
2372 * config/rs6000/float128-sed: New file to convert TF names to KF
2373 names for PowerPC IEEE 128-bit floating point support.
2375 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2376 when building on 64-bit systems, or when VSX is enabled.
2377 (_FP_W_TYPE): Likewise.
2378 (_FP_WS_TYPE): Likewise.
2379 (_FP_I_TYPE): Likewise.
2380 (TItype): Define on 64-bit systems.
2381 (UTItype): Likewise.
2382 (TI_BITS): Likewise.
2383 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2384 (_FP_MUL_MEAT_Q): Likewise.
2385 (_FP_DIV_MEAT_D): Likewise.
2386 (_FP_DIV_MEAT_Q): Likewise.
2387 (_FP_NANFRAC_D): Likewise.
2388 (_FP_NANFRAC_Q): Likewise.
2389 (ISA_BIT): Add exception support if we are being compiled on a
2390 machine with hardware floating point support to build the IEEE
2391 128-bit emulation functions.
2392 (FP_EX_INVALID): Likewise.
2393 (FP_EX_OVERFLOW): Likewise.
2394 (FP_EX_UNDERFLOW): Likewise.
2395 (FP_EX_DIVZERO): Likewise.
2396 (FP_EX_INEXACT): Likewise.
2397 (FP_EX_ALL): Likewise.
2398 (__sfp_handle_exceptions): Likewise.
2399 (FP_HANDLE_EXCEPTIONS): Likewise.
2400 (FP_RND_NEAREST): Likewise.
2401 (FP_RND_ZERO): Likewise.
2402 (FP_RND_PINF): Likewise.
2403 (FP_RND_MINF): Likewise.
2404 (FP_RND_MASK): Likewise.
2405 (_FP_DECL_EX): Likewise.
2406 (FP_INIT_ROUNDMODE): Likewise.
2407 (FP_ROUNDMODE): Likewise.
2409 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2410 compiler can do __float128.
2411 * configure: Regenerate.
2413 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2414 VSX code, enable IEEE 128-bit floating point.
2416 2016-01-05 Olivier Hainque <hainque@adacore.com>
2418 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2421 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2423 Update copyright years.
2425 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2427 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2430 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2432 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2433 instead of abort to avoid dependency on stdlib.h.
2435 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2437 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2438 to initialize call to __dl_fixup once.
2440 2015-12-04 Nick Clifton <nickc@redhat.com>
2442 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2443 Allow for the second argument being negative.
2444 * config.host (extra_parts): Define for MSP430. Create separate
2445 libraries for each of the hardware multiply formats.
2446 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2448 * config/msp430/lib2mul.c: Likewise.
2449 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2450 Add rules to build hardware multiply libraries.
2451 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2452 __mspabi_divul function.
2453 (__mspabi_divllu): New stub function.
2455 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2457 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2458 fixup values if saved GOT address doesn't match runtime address.
2459 (fixup_branch_offset): Reorder list.
2461 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2463 * Makefile.in (VTV_CFLAGS): New variable.
2464 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2465 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2466 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2467 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2468 to extra_parts if $enable_vtable_verify = yes.
2470 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2473 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2474 (write): ...this and fix the return type.
2476 2015-11-19 DJ Delorie <dj@redhat.com>
2478 * config/msp430/lib2hw_mul.S: Fix alignment.
2480 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2482 * config/nvptx/reduction.c: New.
2483 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2485 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2487 * config/rs6000/on_exit.c: New file.
2488 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2489 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2491 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2493 * config/arc/dp-hack.h: Add support for ARCHS.
2494 * config/arc/ieee-754/divdf3.S: Likewise.
2495 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2496 * config/arc/ieee-754/muldf3.S: Likewise.
2497 * config/arc/ieee-754/mulsf3.S: Likewise
2498 * config/arc/lib1funcs.S: Likewise
2499 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2501 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2503 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2504 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2507 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2509 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2511 * config/ia64/crtend.S: Likewise.
2513 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2515 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2516 __CHAR_BIT__ instead of BITS_PER_UNIT.
2517 * fixed-bit.h: Likewise.
2518 * fp-bit.h: Likewise.
2519 * libgcc2.c (__popcountSI2): Likewise.
2520 (__popcountDI2): Likewise.
2521 * libgcc2.h: Likewise.
2522 * libgcov.h: Likewise.
2524 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2526 * config/rs6000/atexit.c: New file.
2527 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2528 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2529 * config/rs6000/cxa_finalize.c
2530 (catomic_compare_and_exchange_bool_acq): Negate return value.
2532 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2534 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2535 (processor_subtypes): Add znver1.
2536 (get_amd_cpu): Detect znver1.
2538 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2540 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2541 Include crtfastmath.o.
2543 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2546 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2548 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2550 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2551 * config/rl78/divmodsi.S: Update return register to r8.
2552 * config/rl78/divmodhi.S: Update return register to r8,r9.
2553 Branch to main_loop_done_himode to pop registers before return.
2555 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2557 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2558 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2560 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2562 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2564 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2566 * config.host (xtensa*-*-uclinux*): New configuration.
2568 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2570 * config/i386/cpuinfo.c (processor_features): Add
2571 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2573 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2575 * soft-fp/adddf3.c: Update from glibc.
2576 * soft-fp/addsf3.c: Likewise.
2577 * soft-fp/addtf3.c: Likewise.
2578 * soft-fp/divdf3.c: Likewise.
2579 * soft-fp/divsf3.c: Likewise.
2580 * soft-fp/divtf3.c: Likewise.
2581 * soft-fp/double.h: Likewise.
2582 * soft-fp/eqdf2.c: Likewise.
2583 * soft-fp/eqsf2.c: Likewise.
2584 * soft-fp/eqtf2.c: Likewise.
2585 * soft-fp/extenddftf2.c: Likewise.
2586 * soft-fp/extended.h: Likewise.
2587 * soft-fp/extendsfdf2.c: Likewise.
2588 * soft-fp/extendsftf2.c: Likewise.
2589 * soft-fp/extendxftf2.c: Likewise.
2590 * soft-fp/fixdfdi.c: Likewise.
2591 * soft-fp/fixdfsi.c: Likewise.
2592 * soft-fp/fixdfti.c: Likewise.
2593 * soft-fp/fixsfdi.c: Likewise.
2594 * soft-fp/fixsfsi.c: Likewise.
2595 * soft-fp/fixsfti.c: Likewise.
2596 * soft-fp/fixtfdi.c: Likewise.
2597 * soft-fp/fixtfsi.c: Likewise.
2598 * soft-fp/fixtfti.c: Likewise.
2599 * soft-fp/fixunsdfdi.c: Likewise.
2600 * soft-fp/fixunsdfsi.c: Likewise.
2601 * soft-fp/fixunsdfti.c: Likewise.
2602 * soft-fp/fixunssfdi.c: Likewise.
2603 * soft-fp/fixunssfsi.c: Likewise.
2604 * soft-fp/fixunssfti.c: Likewise.
2605 * soft-fp/fixunstfdi.c: Likewise.
2606 * soft-fp/fixunstfsi.c: Likewise.
2607 * soft-fp/fixunstfti.c: Likewise.
2608 * soft-fp/floatdidf.c: Likewise.
2609 * soft-fp/floatdisf.c: Likewise.
2610 * soft-fp/floatditf.c: Likewise.
2611 * soft-fp/floatsidf.c: Likewise.
2612 * soft-fp/floatsisf.c: Likewise.
2613 * soft-fp/floatsitf.c: Likewise.
2614 * soft-fp/floattidf.c: Likewise.
2615 * soft-fp/floattisf.c: Likewise.
2616 * soft-fp/floattitf.c: Likewise.
2617 * soft-fp/floatundidf.c: Likewise.
2618 * soft-fp/floatundisf.c: Likewise.
2619 * soft-fp/floatunditf.c: Likewise.
2620 * soft-fp/floatunsidf.c: Likewise.
2621 * soft-fp/floatunsisf.c: Likewise.
2622 * soft-fp/floatunsitf.c: Likewise.
2623 * soft-fp/floatuntidf.c: Likewise.
2624 * soft-fp/floatuntisf.c: Likewise.
2625 * soft-fp/floatuntitf.c: Likewise.
2626 * soft-fp/gedf2.c: Likewise.
2627 * soft-fp/gesf2.c: Likewise.
2628 * soft-fp/getf2.c: Likewise.
2629 * soft-fp/ledf2.c: Likewise.
2630 * soft-fp/lesf2.c: Likewise.
2631 * soft-fp/letf2.c: Likewise.
2632 * soft-fp/muldf3.c: Likewise.
2633 * soft-fp/mulsf3.c: Likewise.
2634 * soft-fp/multf3.c: Likewise.
2635 * soft-fp/negdf2.c: Likewise.
2636 * soft-fp/negsf2.c: Likewise.
2637 * soft-fp/negtf2.c: Likewise.
2638 * soft-fp/op-1.h: Likewise.
2639 * soft-fp/op-2.h: Likewise.
2640 * soft-fp/op-4.h: Likewise.
2641 * soft-fp/op-8.h: Likewise.
2642 * soft-fp/op-common.h: Likewise.
2643 * soft-fp/quad.h: Likewise.
2644 * soft-fp/single.h: Likewise.
2645 * soft-fp/soft-fp.h: Likewise.
2646 * soft-fp/subdf3.c: Likewise.
2647 * soft-fp/subsf3.c: Likewise.
2648 * soft-fp/subtf3.c: Likewise.
2649 * soft-fp/truncdfsf2.c: Likewise.
2650 * soft-fp/trunctfdf2.c: Likewise.
2651 * soft-fp/trunctfsf2.c: Likewise.
2652 * soft-fp/trunctfxf2.c: Likewise.
2653 * soft-fp/unorddf2.c: Likewise.
2654 * soft-fp/unordsf2.c: Likewise.
2655 * soft-fp/unordtf2.c: Likewise.
2657 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2660 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2662 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2664 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2665 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2666 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2668 (internal_mcount): Likewise.
2669 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2670 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2672 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2674 * configure.ac (libgcc_cv_solaris_crts): New test.
2675 * configure: Regenerate.
2676 * config.in: Regenerate.
2677 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2678 * config/gmon-sol2.c: Rename to ...
2679 * config/sol2/gmon.c: ... this.
2680 Include auto-target.h.
2681 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2682 * config/t-sol2: Rename to ...
2683 * config/sol2/t-sol2: ... this.
2684 (gmon.o): Reflect renaming.
2685 (crtp.o, crtpg.o): New rules.
2686 * config.host (*-*-solaris2*): Reflect renaming.
2687 Use system CRTs if present.
2688 Remove default CRT case.
2690 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2692 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2693 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2695 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2696 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2697 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2698 (__sync_lock_test_and_set_##WIDTH): Likewise.
2699 (__sync_lock_release_##WIDTH): Likewise.
2700 (__sync_fetch_and_##OP##_4): Change result to match type of
2702 (__sync_##OP##_and_fetch_4): Likewise.
2703 (__sync_val_compare_and_swap_4): Likewise.
2704 (__sync_bool_compare_and_swap_4): likewise.
2705 (__sync_lock_test_and_set_4): Likewise.
2706 (__sync_lock_release_4): Likewise.
2707 (FETCH_AND_OP_2): Add long long variants.
2708 (OP_AND_FETCH_2): Likewise.
2709 (COMPARE_AND_SWAP_2 ): Likewise.
2710 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2711 (SYNC_LOCK_RELEASE_2): Likewise.
2712 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2714 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2716 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2717 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2718 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2719 (get_available_features): Habdle new features.
2721 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2723 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2724 memory layout. Deal correctly with BSS region larger than 32K.
2725 Handle a watchdog reset like a power-on reset. Clean up unused
2728 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2729 David Edelsohn <dje.gcc@gmail.com>
2731 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2732 * config/rs6000/crtdbase.S: New file.
2733 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2735 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2737 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2738 Add support for call0 ABI.
2740 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2742 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2744 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2746 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2747 (__GTHREAD_HAS_COND): Likewise.
2748 (__gthread_t): Likewise.
2749 (__gthread_cond_t): Likewise.
2750 (__gthread_time_t): Likewise.
2751 (__GTHREAD_MUTEX_INIT): Likewise.
2752 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2753 (__GTHREAD_COND_INIT): Likewise.
2754 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2755 (__GTHREAD_TIME_INIT): Likewise.
2756 (__gthread_create): Likewise.
2757 (__gthread_join): Likewise.
2758 (__gthread_detach): Likewise.
2759 (__gthread_equal): Likewise.
2760 (__gthread_self): Likewise.
2761 (__gthread_yield): Likewise.
2762 (__gthread_cond_broadcast): Likewise.
2763 (__gthread_cond_signal): Likewise.
2764 (__gthread_cond_wait): Likewise.
2765 (__gthread_cond_timedwait): Likewise.
2766 (__gthread_cond_wait_recursive): Likewise.
2767 (__gthread_cond_destroy): Likewise.
2768 (rtems_gxx_once): Delete.
2769 (rtems_gxx_key_create): Likewise.
2770 (rtems_gxx_key_delete): Likewise.
2771 (rtems_gxx_getspecific): Likewise.
2772 (rtems_gxx_setspecific): Likewise.
2773 (rtems_gxx_mutex_init): Likewise.
2774 (rtems_gxx_mutex_destroy): Likewise.
2775 (rtems_gxx_mutex_lock): Likewise.
2776 (rtems_gxx_mutex_trylock): Likewise.
2777 (rtems_gxx_mutex_unlock): Likewise.
2778 (rtems_gxx_recursive_mutex_init): Likewise.
2779 (rtems_gxx_recursive_mutex_lock): Likewise.
2780 (rtems_gxx_recursive_mutex_trylock): Likewise.
2781 (rtems_gxx_recursive_mutex_unlock): Likewise.
2782 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2783 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2784 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2785 (__gthread_once): Likewise.
2786 (__gthread_key_create): Likewise.
2787 (__gthread_key_delete): Likewise.
2788 (__gthread_getspecific): Likewise.
2789 (__gthread_setspecific): Likewise.
2790 (__gthread_key_t): Use <pthread.h> type.
2791 (__gthread_once_t): Likewise
2792 (__gthread_mutex_t): Use <sys/lock.h> type.
2793 (__gthread_recursive_mutex_t): Likewise
2794 (__gthread_mutex_lock): Use <sys/lock.h> function.
2795 (__gthread_mutex_trylock): Likewise.
2796 (__gthread_mutex_timedlock): Likewise.
2797 (__gthread_mutex_unlock): Likewise.
2798 (__gthread_mutex_destroy): Likewise.
2799 (__gthread_recursive_mutex_lock): Likewise.
2800 (__gthread_recursive_mutex_trylock): Likewise.
2801 (__gthread_recursive_mutex_timedlock): Likewise.
2802 (__gthread_recursive_mutex_unlock): Likewise.
2803 (__gthread_recursive_mutex_destroy): Likewise.
2805 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2807 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2808 context->sp instead of context->cfa.
2810 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2812 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2813 with unwind-dw2-fde-dip.
2815 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2817 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2818 CALL12 followed by series of ENTRY to spill windowed registers.
2819 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2820 instead of making linux spill syscall.
2822 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2824 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2825 (get_intel_cpu): Likewise.
2827 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2829 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2830 (get_intel_cpu): Add Knights Landing support.
2832 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2835 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2836 (get_available_features): Handle FEATURE_PCLMUL.
2838 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2840 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2843 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2846 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2847 (get_available_features): Handle FEATURE_AES.
2849 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2851 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2852 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2854 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2856 * offloadstuff.c: Constify host data.
2858 2015-07-17 Jan Beulich <jbeulich@suse.com>
2860 * config/t-softfp: Split up "else ifneq".
2862 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2863 Cesar Philippidis <cesar@codesourcery.com>
2864 Chung-Lin Tang <cltang@codesourcery.com>
2866 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2867 for __nios2_arch__ level.
2869 2015-07-13 John Marino <gnugcc@marino.st>
2871 * config/i386/t-dragonfly: New.
2873 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2875 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2876 better match light-weight syscall argument order.
2877 (__kernel_cmpxchg2): Likewise.
2880 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2882 * config.host: Support i[34567]86-*-elfiamcu target.
2883 * config/t-softfp-sfdftf: New file.
2884 * config/i386/32/t-iamcu: Likewise.
2885 * configure: Regenerated.
2887 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2890 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2892 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2894 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2896 2015-05-27 John Marino <gnugcc@marino.st>
2898 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2900 * config/i386/freebsd-unwind.h: New.
2902 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2904 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2905 i386/t-crtfm to tmake_file.
2906 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2907 (set_fast_math): Use set_fast_math_sse for SSE targets.
2908 * config/i386/t-crtfm: Remove.
2910 2015-05-21 Alan Modra <amodra@gmail.com>
2913 * config/rs6000/morestack.S: Remove ".abiversion 1".
2915 2015-05-20 Alan Modra <amodra@gmail.com>
2917 * config/rs6000/morestack.S: New.
2918 * config/rs6000/t-stack-rs6000: New.
2919 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2921 * generic-morestack.c: Don't build for powerpc 32-bit.
2923 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2925 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2926 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2928 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2930 * config.host: FT32 target added.
2931 * config/ft32/*: New files for FT32 target.
2933 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2935 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2937 * config/arm/ieee754-df.S: Add CFI directives.
2938 * config/arm/ieee754-sf.S: Add CFI directives.
2940 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2942 * configure.ac: Include config/sjlj.m4.
2943 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2944 * config.in: Regenerate.
2945 * configure: Likewise.
2946 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2948 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2950 * libgcov-util.c: Add space between string literal and macro name.
2952 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2953 Chris Jones <chrisj@nvidia.com>
2954 Joshua Conner <jconner@nvidia.com>
2956 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2957 (arm*-*-uclinux*): Likewise.
2958 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2959 * config/arm/crtfastmath.c: New file.
2961 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2963 * Makefile.in (real_host_noncanonical): New variable.
2964 (libsubdir): Use it.
2965 * configure.ac (real_host_noncanonical): Compute. Remove special
2966 case for intelmicemul.
2967 * configure: Regenerate.
2969 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2971 * config/frv/elf-lib.h: New file.
2972 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2973 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2976 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2978 * config/frv/frvbengin.c: Do not include defaults.h
2979 * config/frv/frvend.c: Ditto.
2981 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2983 * config.host: Add h8300-*-linux
2984 * config/h8300/t-linux: New file.
2985 * config/h8300/lib1funs.s: Change symbol prefix.
2986 * config/h8300/sfp-machine.h: 64bit double support.
2988 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2989 Szabolcs Nagy <szabolcs.nagy@arm.com>
2991 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2992 Linux if target provides dl_iterate_phdr.
2994 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2997 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2998 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2999 (__cpu_indicator_init@GCC_4.8.0): New.
3000 (__cpu_model@GCC_4.8.0): Likewise.
3001 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3004 2015-04-16 Nick Clifton <nickc@redhat.com>
3006 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3007 and __modhi3 functions.
3008 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3009 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3011 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3013 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3014 do-while loop as macro body to avoid warnings.
3016 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3017 Iain Sandoe <iain@codesourcery.com>
3020 * configure: Regenerate.
3022 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3023 Iain Sandoe <iain@codesourcery.com>
3026 * configure: Regenerate.
3028 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3030 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3032 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3034 Implement call0 ABI for xtensa
3035 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3036 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3037 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3038 use ret in call0 ABI.
3039 * config/xtensa/t-windowed: New file.
3040 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3041 * libgcc/configure: Regenerated.
3042 * libgcc/configure.ac: Check if xtensa target is configured for
3043 windowed ABI and thus needs to use custom unwind code.
3045 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3048 * gthr-single.h: Use __unused__ attribute instead of unused.
3049 * config/gthr-vxworks.h: Likewise.
3050 * config/i386/gthr-win32.h: Likewise.
3052 2015-02-27 Kai Tietz <ktietz@redhat.com>
3055 * config.in: Regenerated.
3056 * configure: Likewise.
3057 * configure.ac (AC_HEADER_STDC): Added explicit.
3058 (AC_CHECK_HEADERS): Check for default headers plus
3060 * libgcov-util.c (gcov_read_profile_dir): Disable use
3061 of ftw-function, if header is not found.
3062 (ftw_read_file): Likewise.
3064 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3067 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3070 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3072 * config/arm/bpabi.S (test_div_by_zero): Make label names
3073 consistent between thumb2 and arm mode cases. Separate the
3074 signed comparison on the high word of the numerator from the
3075 unsigned comparison on the low word.
3076 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3079 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3081 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3083 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3085 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3087 PR gcov-profile/61889
3088 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3090 2015-02-02 Nick Clifton <nickc@redhat.com>
3092 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3093 rounding up the fraction.
3095 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3097 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3098 oldval and newval to const void *. Fix typo.
3099 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3100 (FETCH_AND_OP_WORD): Likewise.
3101 (OP_AND_FETCH_WORD): Likewise.
3102 (COMPARE_AND_SWAP_2): Likewise.
3103 (__sync_val_compare_and_swap_4): Likewise.
3104 (__sync_lock_test_and_set_4): Likewise.
3105 (SYNC_LOCK_RELEASE_2): Likewise.
3106 Remove support for long long atomic operations.
3108 2015-01-27 Caroline Tice <cmtice@google.com>
3110 Committing VTV Cywin/Ming patch for Patrick Wollgast
3111 * Makefile.in: Move rules to build vtv_*.o out of the check
3112 for CUSTOM_CRTSTUFF.
3113 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3114 i[34567]86-*-mingw*)
3115 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3116 enable_vtable_verify.
3118 2015-01-27 Nick Clifton <nickc@redhat.com>
3120 * config/rl78/cmpsi2.S: Use function start and end macros.
3121 (__gcc_bcmp): New function.
3122 * config/rl78/lshrsi3.S: Use function start and end macros.
3123 * config/rl78/mulsi3.S: Add support for G10.
3124 (__mulqi3): New function for G10.
3125 * config/rl78/signbit.S: Use function start and end macros.
3126 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3128 (LIB2FUNCS_EXCLUDE): Define.
3129 (LIB2FUNCS_ST): Define.
3130 * config/rl78/trampoline.S: Use function start and end macros.
3131 * config/rl78/vregs.h (START_FUNC): New macro.
3132 (START_ANOTHER_FUNC): New macro.
3133 (END_FUNC): New macro.
3134 (END_ANOTHER_FUNC): New macro.
3135 * config/rl78/bit-count.S: New file. Contains assembler
3136 implementations of the bit counting functions: ___clzhi2,
3137 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3138 __paritysi2, __popcounthi2 and __popcountsi2.
3139 * config/rl78/fpbit-sf.S: New file. Contains assembler
3140 implementationas of the math functions: __negsf2, __cmpsf2,
3141 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3142 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3143 * config/rl78/fpmath-sf.S: New file. Contains assembler
3144 implementations of the math functions: __subsf3, __addsf3,
3145 __mulsf3 and __divsf3
3147 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3149 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3150 Add i386/elf-lib.h to tm_file.
3151 * config/i386/elf-lib.h: Fix comment.
3152 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3153 && __sun__ && __svr4__]: Remove workaround.
3155 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3157 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3159 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3161 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3163 * config/i386/cpuinfo.c (processor_subtypes): Add
3164 INTEL_COREI7_BROADWELL.
3165 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3168 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3170 * config/i386/elf-lib.h: New file.
3171 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3172 Wrap definition in #ifdef __i386__.
3173 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3174 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3175 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3176 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3179 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3181 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3182 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3184 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3186 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3187 Update rt_sigframe format and address for current Nios II
3190 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3192 * config.host (arm*-*-freebsd*): Add new configuration for
3194 * config/arm/freebsd-atomic.c: New file.
3195 * config/arm/t-freebsd: Likewise.
3196 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3197 'PC-relative indirect' OS's.
3199 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3201 * config.host: Add Visium support.
3202 * config/visium: New directory.
3204 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3206 Update copyright years.
3208 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3210 * config.host: Support mipsisa32r6 and mipsisa64r6.
3211 * config/mips/mips16.S: Do not build for R6.
3213 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3215 * config/sh/crt.h: New.
3216 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3218 * config/sh/crt1.S: Likewise.
3220 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3223 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3224 func_ptr *dtor_list temporary variable to avoid "array subscript
3225 is above array bounds" warnings.
3227 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3229 * Makefile.in (with_aix_soname): Define.
3230 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3231 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3232 * configure: Recreate.
3234 2014-12-05 Olivier Hainque <hainque@adacore.com>
3236 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3237 now provided by defaults.h.
3239 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3242 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3243 whether it's defined.
3245 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3247 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3248 * config/i386/cpuinfo.c (get_available_features): Detect it.
3250 2014-11-27 Tony Wang <tony.wang@arm.com>
3252 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3253 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3254 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3256 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3258 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3260 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3262 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3265 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3266 John David Anglin <danglin@gcc.gnu.org>
3268 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3269 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3270 (OP_AND_FETCH_2): Likewise.
3271 (COMPARE_AND_SWAP_2): Likewise.
3272 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3273 (SYNC_LOCK_RELEASE_2): Likewise.
3274 (SUBWORD_SYNC_OP): Remove.
3275 (SUBWORD_VAL_CAS): Likewise.
3276 (SUBWORD_BOOL_CAS): Likewise.
3277 (FETCH_AND_OP_WORD): Update.
3278 Consistently use signed types.
3280 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3281 Thomas Schwinge <thomas@codesourcery.com>
3282 Ilya Verbin <ilya.verbin@intel.com>
3283 Andrey Turetskiy <andrey.turetskiy@intel.com>
3285 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3286 (crtoffloadend$(objext)): Likewise.
3287 * configure: Regenerate.
3288 * configure.ac (accel_dir_suffix): Compute new variable.
3289 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3290 if enable_offload_targets is not empty.
3291 * offloadstuff.c: New file.
3293 2014-11-13 Nick Clifton <nickc@redhat.com>
3295 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3296 Use START_FUNC and END_FUNC macros to enable linker garbage
3298 * config/rl78/divmodqi.S: Likewise.
3299 * config/rl78/divmodsi.S: Likewise.
3300 * config/rl78/mulsi3.S: Likewise.
3301 * config/rl78/lib2div.c: Remove G10 functions.
3302 * config/rl78/lib2muls.c: Likewise.
3303 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3304 * config/rl78/vregs.h (START_FUNC): New macro.
3305 (END_FUNC): New macro.
3307 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3309 * config/mips/mips16.S: Set .module when supported. Update O32
3310 FP64 calling convention and use for FPXX when possible. Add FPXX
3311 calling convention fallback case.
3313 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3315 * config.host: Handle nvptx-*-*.
3316 * shared-object.mk (as-flags-$o): Define.
3317 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3318 -xassembler-with-cpp.
3319 * static-object.mk: Identical changes.
3320 * config/nvptx/t-nvptx: New file.
3321 * config/nvptx/crt0.s: New file.
3322 * config/nvptx/free.asm: New file.
3323 * config/nvptx/malloc.asm: New file.
3324 * config/nvptx/realloc.c: New file.
3326 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3328 * Makefile.in (libgcc.map.in): New target.
3329 (libgcc.map): Use libgcc.map.in.
3330 * config/t-softfp (softfp_compat): New variable to be set by
3332 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3334 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3336 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3337 that use compat symbols and disable all code unless [SHARED].
3338 * config/t-softfp-compat: New file.
3339 * find-symver.awk: New file.
3340 * configure.ac (--with-glibc-version): New configure option.
3341 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3342 * configure: Regenerate.
3343 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3344 soft-float and e500.
3346 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3348 * config/t-hardfp (hardfp_exclusions): Document new variable for
3350 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3351 * config/t-softfp (softfp_extras): Document new variable for user
3353 (softfp_func_list): Add functions from $(softfp_extras).
3354 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3355 * config.host (powerpc*-*-linux*): For e500v1, use
3356 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3357 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3358 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3360 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3362 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3363 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3364 memory read accesses are ok.
3366 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3368 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3369 * configure: Regenerate.
3370 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3371 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3372 of soft-fp for 32-bit classic hard float. Do not use
3373 t-softfp-excl for soft float.
3375 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3377 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3379 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3382 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3384 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3385 introduced with 2014-10-21 trunk r216525.
3387 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3388 Vidya Praveen <vidya.praveen@atmel.com>
3389 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3390 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3391 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3393 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3396 Updated library functions for AVRTINY arch.
3397 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3398 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3399 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3400 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3402 (__mulsi3_helper): Update stack, preserve callee saved regs and
3403 argument from stack. Restore callee save registers.
3404 (__mulpsi3): Likewise.
3405 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3406 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3407 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3409 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3410 (__do_copy_data): Added new definition for AVRTINY.
3411 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3412 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3413 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3414 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3415 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3417 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3420 Fix broken long multiplication on tiny arch.
3422 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3424 * soft-fp/double.h: Update from glibc.
3425 * soft-fp/eqdf2.c: Likewise.
3426 * soft-fp/eqsf2.c: Likewise.
3427 * soft-fp/eqtf2.c: Likewise.
3428 * soft-fp/extenddftf2.c: Likewise.
3429 * soft-fp/extended.h: Likewise.
3430 * soft-fp/extendsfdf2.c: Likewise.
3431 * soft-fp/extendsftf2.c: Likewise.
3432 * soft-fp/extendxftf2.c: Likewise.
3433 * soft-fp/gedf2.c: Likewise.
3434 * soft-fp/gesf2.c: Likewise.
3435 * soft-fp/getf2.c: Likewise.
3436 * soft-fp/ledf2.c: Likewise.
3437 * soft-fp/lesf2.c: Likewise.
3438 * soft-fp/letf2.c: Likewise.
3439 * soft-fp/op-1.h: Likewise.
3440 * soft-fp/op-2.h: Likewise.
3441 * soft-fp/op-4.h: Likewise.
3442 * soft-fp/op-8.h: Likewise.
3443 * soft-fp/op-common.h: Likewise.
3444 * soft-fp/quad.h: Likewise.
3445 * soft-fp/single.h: Likewise.
3446 * soft-fp/soft-fp.h: Likewise.
3447 * soft-fp/unorddf2.c: Likewise.
3448 * soft-fp/unordsf2.c: Likewise.
3449 * soft-fp/unordtf2.c: Likewise.
3450 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3451 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3452 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3453 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3454 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3455 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3456 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3457 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3458 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3459 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3461 2014-10-08 Rong Xu <xur@google.com>
3463 * libgcov-util.c (read_gcda_file): Fix format.
3464 (find_match_gcov_info): Ditto.
3465 (calculate_2_entries): New.
3466 (compute_one_gcov): Ditto.
3467 (gcov_info_count_all_cold): Ditto.
3468 (gcov_info_count_all_zero): Ditto.
3469 (extract_file_basename): Ditto.
3470 (get_file_basename): Ditto.
3472 (matched_gcov_info): Ditto.
3473 (calculate_overlap): Ditto.
3474 (gcov_profile_overlap): Ditto.
3475 * libgcov-driver.c (compute_summary): Make
3476 it avavilable for external calls.
3478 2014-10-06 Rong Xu <xur@google.com>
3480 * Makefile.in: Ditto.
3481 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3482 (gcov_sort_icall_topn_counter): Ditto.
3483 (gcov_sort_topn_counter_arrays): Ditto.
3484 (dump_one_gcov): Sort indirect_call topn counters.
3485 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3487 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3489 (__gcov_indirect_call_topn_profiler): New profiler function.
3490 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3491 * libgcov.h: New decls.
3493 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3495 * config.host: Remove support for score-*.
3497 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3499 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3500 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3501 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3502 __LIBGCC_XF_MANT_DIG__.
3503 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3504 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3505 __LIBGCC_TF_MANT_DIG__.
3506 * libgcc2.c (NOTRUNC): Define in terms of
3507 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3508 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3510 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3513 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3516 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3518 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3519 override USE_PT_GNU_EH_FRAME.
3520 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3521 check USE_EH_FRAME_REGISTRY_ALWAYS against
3522 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3523 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3524 variable for substituted force_explicit_eh_registry.
3525 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3526 * configure.ac (explicit-exception-frame-registration):
3528 * configure: Regenerate.
3530 2014-09-19 Olivier Hainque <hainque@adacore.com>
3532 * config.host (powerpc-wrs-vxworksmils): New configuration,
3535 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3537 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3539 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3541 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3542 bits not set bits as indicating trapping exceptions.
3544 2014-09-17 Nathan sidwell <nathan@acm.org>
3546 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3547 (LIBGCOV_DRIVER): ... here.
3548 * libgcov-driver.c (gcov_master): New.
3549 (gcov_exit): Remove from master chain.
3550 (__gcov_init): Add to master chain if version compatible. Don't
3552 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3553 (gcov_reset_int): Clear master chain, if compatible.
3554 (gcov_dump_int): New internal interface. Dump master chain, if
3556 (gcov_dump): Alias for gcov_dump_int.
3557 * libgcov.h (struct gcov_root): Add next and prev fields.
3558 (struct gcov_master): New struct.
3559 (__gcov_master): New.
3560 (gcov_dump_int): Declare.
3562 2014-09-17 Olivier Hainque <hainque@adacore.com>
3564 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3565 and crtbegin.o + crtend.o to extra_parts.
3567 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3569 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3570 __LIBGCC_HAS_SF_MODE__.
3571 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3572 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3573 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3574 * config/libbid/bid_gcc_intrinsics.h
3575 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3576 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3577 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3578 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3579 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3580 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3582 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3585 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3586 and R24 as needed. Make work for all devices and .text locations.
3587 (__do_global_ctors, __do_global_dtors): Use word addresses.
3588 (__tablejump__, __tablejump_elpm__): Remove functions.
3589 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3591 (XICALL, XIJMP): New macros.
3593 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3594 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3596 * config.host (aarch64*): Include crtfastmath.o and
3598 * config/aarch64/crtfastmath.c: New file.
3600 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3602 * config.host: Remove picochip support.
3603 * config/picochip/adddi3.S: Remove.
3604 * config/picochip/ashlsi3.S: Remove.
3605 * config/picochip/ashlsi3.c: Remove.
3606 * config/picochip/ashrsi3.S: Remove.
3607 * config/picochip/ashrsi3.c: Remove.
3608 * config/picochip/clzsi2.S: Remove.
3609 * config/picochip/cmpsi2.S: Remove.
3610 * config/picochip/divmod15.S: Remove.
3611 * config/picochip/divmodhi4.S: Remove.
3612 * config/picochip/divmodsi4.S: Remove.
3613 * config/picochip/lib1funcs.S: Remove.
3614 * config/picochip/longjmp.S: Remove.
3615 * config/picochip/lshrsi3.S: Remove.
3616 * config/picochip/lshrsi3.c: Remove.
3617 * config/picochip/parityhi2.S: Remove.
3618 * config/picochip/popcounthi2.S: Remove.
3619 * config/picochip/setjmp.S: Remove.
3620 * config/picochip/subdi3.S: Remove.
3621 * config/picochip/t-picochip: Remove.
3622 * config/picochip/ucmpsi2.S: Remove.
3623 * config/picochip/udivmodhi4.S: Remove.
3624 * config/picochip/udivmodsi4.S: Remove.
3626 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3628 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3629 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3630 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3631 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3632 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3633 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3634 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3635 defined and LIBGCC2_HAS_DF_MODE is defined.
3636 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3637 defined and LIBGCC2_HAS_XF_MODE is defined.
3638 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3639 defined and LIBGCC2_HAS_TF_MODE is defined.
3641 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3643 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3644 and ROUND_TOWARDS_ZERO conditionals.
3646 2014-09-07 Nathan sidwell <nathan@acm.org>
3648 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3649 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3651 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3653 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3654 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3655 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3656 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3657 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3658 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3659 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3660 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3661 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3662 (DWARF_FRAME_REGISTERS): Change all uses to
3663 __LIBGCC_DWARF_FRAME_REGISTERS__.
3664 (EH_RETURN_STACKADJ_RTX): Change all uses to
3665 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3666 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3667 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3668 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3669 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3670 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3671 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3672 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3673 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3674 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3675 __LIBGCC_STACK_POINTER_REGNUM__.
3676 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3677 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3678 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3679 to __LIBGCC_STACK_POINTER_REGNUM__.
3680 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3681 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3682 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3683 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3684 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3685 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3686 (STACK_POINTER_REGNUM): Change all uses to
3687 __LIBGCC_STACK_POINTER_REGNUM__.
3688 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3689 use to __LIBGCC_STACK_POINTER_REGNUM__.
3690 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3691 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3692 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3693 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3694 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3695 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3696 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3697 to __LIBGCC_STACK_POINTER_REGNUM__.
3698 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3699 Remove conditional definition.
3700 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3701 __LIBGCC_TEXT_SECTION_ASM_OP__.
3702 (EH_FRAME_SECTION_NAME): Change all uses to
3703 __LIBGCC_EH_FRAME_SECTION_NAME__.
3704 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3705 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3706 (CTORS_SECTION_ASM_OP): Change all uses to
3707 __LIBGCC_CTORS_SECTION_ASM_OP__.
3708 (DTORS_SECTION_ASM_OP): Change all uses to
3709 __LIBGCC_DTORS_SECTION_ASM_OP__.
3710 (JCR_SECTION_NAME): Change all uses to
3711 __LIBGCC_JCR_SECTION_NAME__.
3712 (INIT_SECTION_ASM_OP): Change all uses to
3713 __LIBGCC_INIT_SECTION_ASM_OP__.
3714 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3715 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3716 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3717 __LIBGCC_STACK_GROWS_DOWNWARD__.
3718 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3719 __LIBGCC_INIT_SECTION_ASM_OP__.
3720 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3721 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3722 (EH_FRAME_SECTION_NAME): Change all uses to
3723 __LIBGCC_EH_FRAME_SECTION_NAME__.
3724 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3725 definitions. Change all uses to
3726 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3727 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3728 __LIBGCC_STACK_GROWS_DOWNWARD__.
3729 (DWARF_FRAME_REGISTERS): Change all uses to
3730 __LIBGCC_DWARF_FRAME_REGISTERS__.
3731 (EH_RETURN_STACKADJ_RTX): Change all uses to
3732 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3733 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3734 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3735 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3736 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3737 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3739 2014-09-02 Nathan sidwell <nathan@acm.org>
3741 * libgcov-interface.c (STRONG_ALIAS): New.
3742 (__gcov_flush): Call __gcov_reset_int.
3743 (__gcov_reset): Strong alias for ...
3744 (__gcov_reset_ing): ... this renamed hidden version.
3745 * libgcov.h (__gcov_reset_int): New declaration.
3747 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3749 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3751 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3752 (__dso_handle): Define on Cygwin.
3753 * config/i386/t-cygming (crtbeginS.o): New rule.
3754 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3756 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3759 2014-08-13 Steve Ellcey <sellcey@mips.com>
3761 * crtstuff.c: Undef caddr_t.
3763 2014-08-12 Steve Ellcey <sellcey@mips.com>
3765 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3767 2014-08-07 Nathan Sidwell <nathan@acm.org>
3769 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3770 (LIBGCOV_DRIVER): ... to here.
3771 * libgcov.h (gcov_do_dump): New #define.
3772 (struct gcov_root): New.
3773 (__gcov_root): New declaration.
3774 (__gcov_dump_one): Declare.
3775 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3776 run_accounted): Delete.
3777 (gcov_compute_histogram): Add LIST argument, adjust.
3778 (compute_summary): Adjust gcov_compute_histogram call.
3779 (gcov_do_dump): Not hidden, static in libgcov.
3780 (gcov_clear): Move to interface.c.
3781 (__gcov_dump_one): New, broken out of ...
3782 (gcov_exit): ... here. Make static.
3784 (__gcov_init): Adjust.
3785 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3787 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3788 (gcov_clear): Moved from driver.c. Add LIST argument.
3789 (__gcov_reset): Adjust for changed interfaces.
3790 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3792 2014-08-04 Rohit <rohitarulraj@freescale.com>
3795 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3796 based on change in SPE high register numbers and 3 HTM registers.
3798 2014-08-01 Nathan Sidwell <nathan@acm.org>
3800 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3801 LIBGCOV_INTERFACE): Reformat.
3802 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3804 * libgcov-interface.c: Reformat some comments.
3805 (__gcov_flush_mx): Add declaration. Tidy up definition.
3807 2014-07-31 Alan Modra <amodra@gmail.com>
3808 Peter Bergner <bergner@vnet.ibm.com>
3810 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3811 (pack_ldouble): New function.
3812 (__gcc_qadd): Use it.
3813 (__gcc_qmul): Likewise.
3814 (__gcc_qdiv): Likewise.
3815 (__gcc_qneg): Likewise.
3816 (__gcc_stoq): Likewise.
3817 (__gcc_dtoq): Likewise.
3819 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3821 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3822 (__tpf_eh_return): Add original return address as second parameter.
3823 Handle cases where unwinder routines were called directly, instead
3824 of from within the C++ library.
3826 2014-07-29 Nathan Sidwell <nathan@acm.org>
3828 * libgcov.h: Move renaming of entry points to lib gcov specific
3830 (gcov_do_dump): New rename.
3831 (gcov_rewrite): Remove inline, make HIDDEN.
3832 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3833 (gcov_exit_compute_summary): Rename to ...
3834 (compute_summary): ... here. Add LIST argument.
3835 (gcov_exit_merge_gcda): Rename to ...
3836 (merge_one_data): ... here.
3837 (gcov_exit_write_gcda): Rename to ...
3838 (write_one_data): ... here.
3839 (gcov_exit_merge_summary): Rename to ...
3840 (merge_summary): Add RUN_COUNTED argument.
3841 (gcov_exit_dump_gcov): Rename to ...
3842 (dump_one_gcov): Add RUN_COUNTED argument.
3843 (gcov_do_dump): New function, broken out of ...
3844 (gcov_exit): ... here. Call it.
3846 2014-07-27 Anthony Green <green@moxielogic.com>
3848 * config.host: Add moxiebox configuration suppport.
3850 2014-07-27 Nathan Sidwell <nathan@acm.org>
3852 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3853 (struct gcov_filename): ... here. Include buffer and max length
3855 (gcov_max_filename): Remove.
3856 (gi_filename): Remove.
3857 (gcov_exit_compute_summary): Compute max filename here.
3858 (gcov_exit_merge_gcda): Add filename parm, adjust.
3859 (gcov_exit_merge_summary): Likewise.
3860 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3861 (gcov_exit): Likewise.
3862 (__gcov_init): Don't calculate max length here.
3863 * libgcov_util.c (max_filename_len): Remove.
3864 (read_gcda_file): Don't calculate max length here.
3865 (gcov_read_profile_dir): Don't propagate here.
3866 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3867 struct gcov_filename changes.
3868 (gcov_exit_open_gcda_file): Likewise.
3870 2014-07-25 Nathan Sidwell <nathan@acm.org>
3872 * libgcov-driver.c (set_gcov_dump_complete,
3873 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3874 functions polluting user's namespace.
3875 (gcov_exit): Set variable directly.
3876 (gcov_clear): Reset variable directly.
3877 * libgcov-interface.c (get_gcov_dymp_complete,
3878 reset_gov_dump_complete): Remove declarations.
3879 (__gcov_reset, __gcov_dump): Don't call them.
3881 2014-07-24 DJ Delorie <dj@redhat.com>
3883 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3884 (__gcc_deregister_frame): Move logic to detect deregister function
3886 (__gcc_register_frame): here, so it's consistent with the register
3889 2014-07-23 Nathan Sidwell <nathan@acm.org>
3891 * libgcov-driver.c (set_gcov_list): Remove.
3892 (gcov_list): Make non-static in GCOV_TOOL.
3893 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3895 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3897 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3898 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3899 Don't use SYNC_LOCK_RELEASE for int type.
3901 2014-07-14 Richard Biener <rguenther@suse.de>
3903 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3905 2014-07-11 Rong Xu <xur@google.com>
3907 * libgcov-util.c (gcov_max_filename): Fix declartion.
3909 2014-07-10 Rong Xu <xur@google.com>
3911 Add gcov-tool: an offline gcda profile processing tool
3913 * libgcov-driver.c (gcov_max_filename): Make available
3915 * libgcov-merge.c (__gcov_merge_add): Replace
3916 gcov_read_counter() with a Macro.
3917 (__gcov_merge_ior): Ditto.
3918 (__gcov_merge_time_profile): Ditto.
3919 (__gcov_merge_single): Ditto.
3920 (__gcov_merge_delta): Ditto.
3921 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3922 in the utility functions.
3923 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3924 gcov_list object link lists.
3925 (tag_function): Ditto.
3926 (tag_blocks): Ditto.
3929 (tag_counters): Ditto.
3930 (tag_summary): Ditto.
3931 (read_gcda_finalize): Ditto.
3932 (read_gcda_file): Ditto.
3933 (ftw_read_file): Ditto.
3934 (read_profile_dir_init): Ditto.
3935 (gcov_read_profile_dir): Ditto.
3936 (gcov_read_counter_mem): Ditto.
3937 (gcov_get_merge_weight): Ditto.
3938 (merge_wrapper): A wrapper function that calls merging handler.
3939 (gcov_merge): Merge two gcov_info objects with weights.
3940 (find_match_gcov_info): Find the matched gcov_info in the list.
3941 (gcov_profile_merge): Merge two gcov_info object lists.
3942 (__gcov_add_counter_op): Process edge profile counter values.
3943 (__gcov_ior_counter_op): Process IOR profile counter values.
3944 (__gcov_delta_counter_op): Process delta profile counter values.
3945 (__gcov_single_counter_op): Process single profile counter values.
3946 (fp_scale): Callback function for float-point scaling.
3947 (int_scale): Callback function for integer fraction scaling.
3948 (gcov_profile_scale): Scaling profile counters.
3949 (gcov_profile_normalize): Normalize profile counters.
3950 * libgcov.h: Add headers and functions for gcov-tool use.
3951 (gcov_get_counter): New.
3952 (gcov_get_counter_target): Ditto.
3953 (struct gcov_info): Make the functions field mutable in gcov-tool
3956 2014-06-23 Kai Tietz <ktietz@redhat.com>
3959 * unwind-seh.c (_Unwind_GetGR): Check for proper
3961 (_Unwind_SetGR): Likewise.
3963 2014-05-22 Nick Clifton <nickc@redhat.com>
3965 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3968 2014-05-22 Teresa Johnson <tejohnson@google.com>
3970 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3973 2014-05-20 John Marino <gnugcc@marino.st>
3975 * config.host (*-*-dragonfly*): New target.
3976 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3977 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3978 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3979 * config/i386/dragonfly-unwind.h: New.
3981 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3984 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3985 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3987 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3989 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3992 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3994 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3996 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3999 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4002 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4004 Work around for current cygwin32 build problems.
4005 * config/i386/cygming-crtbegin.c (__register_frame_info,
4006 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4007 functions only for 64-bit systems.
4009 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4011 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4012 (sigill_caught, sigill_hdlr): Remove.
4014 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4016 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4018 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4019 Solaris 9 single-threaded support.
4020 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4021 Solaris 9 single-threaded support. Add call_user_handler code
4023 (sparc_is_sighandler): Likewise.
4025 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4027 * config.host: Append t-floattodi to tmake_file depending on
4030 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4032 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4034 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4037 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4038 variable to avoid "array subscript is above array bounds" warnings.
4039 Use __builtin_expect when checking *jcr_list for NULL.
4041 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4044 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4045 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4046 vtv_*.o to extra_parts if enable_vtable_verify.
4048 2014-03-06 Nick Clifton <nickc@redhat.com>
4050 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4051 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4053 2014-02-28 Joey Ye <joey.ye@arm.com>
4056 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4057 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4060 2014-02-24 Walter Lee <walt@tilera.com>
4062 * config.host: Support "tilegx*" and "tilepro*" triplets.
4063 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4064 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4066 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4067 Chung-Lin Tang <cltang@codesourcery.com>
4069 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4070 * config/nios2/crti.S: Remove .file directive.
4071 * config/nios2/crtn.S: Likewise.
4073 2014-02-18 Kai Tietz <ktietz@redhat.com>
4074 Jonathan Schleifer <js@webkeks.org>
4077 * unwind-seh.c (_GCC_specific_handler): Pass proper
4078 value to unwind-handler.
4080 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4082 * soft-fp/adddf3.c: Update from glibc.
4083 * soft-fp/addsf3.c: Likewise.
4084 * soft-fp/addtf3.c: Likewise.
4085 * soft-fp/divdf3.c: Likewise.
4086 * soft-fp/divsf3.c: Likewise.
4087 * soft-fp/divtf3.c: Likewise.
4088 * soft-fp/double.h: Likewise.
4089 * soft-fp/eqdf2.c: Likewise.
4090 * soft-fp/eqsf2.c: Likewise.
4091 * soft-fp/eqtf2.c: Likewise.
4092 * soft-fp/extenddftf2.c: Likewise.
4093 * soft-fp/extended.h: Likewise.
4094 * soft-fp/extendsfdf2.c: Likewise.
4095 * soft-fp/extendsftf2.c: Likewise.
4096 * soft-fp/extendxftf2.c: Likewise.
4097 * soft-fp/fixdfdi.c: Likewise.
4098 * soft-fp/fixdfsi.c: Likewise.
4099 * soft-fp/fixdfti.c: Likewise.
4100 * soft-fp/fixsfdi.c: Likewise.
4101 * soft-fp/fixsfsi.c: Likewise.
4102 * soft-fp/fixsfti.c: Likewise.
4103 * soft-fp/fixtfdi.c: Likewise.
4104 * soft-fp/fixtfsi.c: Likewise.
4105 * soft-fp/fixtfti.c: Likewise.
4106 * soft-fp/fixunsdfdi.c: Likewise.
4107 * soft-fp/fixunsdfsi.c: Likewise.
4108 * soft-fp/fixunsdfti.c: Likewise.
4109 * soft-fp/fixunssfdi.c: Likewise.
4110 * soft-fp/fixunssfsi.c: Likewise.
4111 * soft-fp/fixunssfti.c: Likewise.
4112 * soft-fp/fixunstfdi.c: Likewise.
4113 * soft-fp/fixunstfsi.c: Likewise.
4114 * soft-fp/fixunstfti.c: Likewise.
4115 * soft-fp/floatdidf.c: Likewise.
4116 * soft-fp/floatdisf.c: Likewise.
4117 * soft-fp/floatditf.c: Likewise.
4118 * soft-fp/floatsidf.c: Likewise.
4119 * soft-fp/floatsisf.c: Likewise.
4120 * soft-fp/floatsitf.c: Likewise.
4121 * soft-fp/floattidf.c: Likewise.
4122 * soft-fp/floattisf.c: Likewise.
4123 * soft-fp/floattitf.c: Likewise.
4124 * soft-fp/floatundidf.c: Likewise.
4125 * soft-fp/floatundisf.c: Likewise.
4126 * soft-fp/floatunditf.c: Likewise.
4127 * soft-fp/floatunsidf.c: Likewise.
4128 * soft-fp/floatunsisf.c: Likewise.
4129 * soft-fp/floatunsitf.c: Likewise.
4130 * soft-fp/floatuntidf.c: Likewise.
4131 * soft-fp/floatuntisf.c: Likewise.
4132 * soft-fp/floatuntitf.c: Likewise.
4133 * soft-fp/gedf2.c: Likewise.
4134 * soft-fp/gesf2.c: Likewise.
4135 * soft-fp/getf2.c: Likewise.
4136 * soft-fp/ledf2.c: Likewise.
4137 * soft-fp/lesf2.c: Likewise.
4138 * soft-fp/letf2.c: Likewise.
4139 * soft-fp/muldf3.c: Likewise.
4140 * soft-fp/mulsf3.c: Likewise.
4141 * soft-fp/multf3.c: Likewise.
4142 * soft-fp/negdf2.c: Likewise.
4143 * soft-fp/negsf2.c: Likewise.
4144 * soft-fp/negtf2.c: Likewise.
4145 * soft-fp/op-1.h: Likewise.
4146 * soft-fp/op-2.h: Likewise.
4147 * soft-fp/op-4.h: Likewise.
4148 * soft-fp/op-8.h: Likewise.
4149 * soft-fp/op-common.h: Likewise.
4150 * soft-fp/quad.h: Likewise.
4151 * soft-fp/single.h: Likewise.
4152 * soft-fp/soft-fp.h: Likewise.
4153 * soft-fp/subdf3.c: Likewise.
4154 * soft-fp/subsf3.c: Likewise.
4155 * soft-fp/subtf3.c: Likewise.
4156 * soft-fp/truncdfsf2.c: Likewise.
4157 * soft-fp/trunctfdf2.c: Likewise.
4158 * soft-fp/trunctfsf2.c: Likewise.
4159 * soft-fp/trunctfxf2.c: Likewise.
4160 * soft-fp/unorddf2.c: Likewise.
4161 * soft-fp/unordsf2.c: Likewise.
4162 * soft-fp/unordtf2.c: Likewise.
4163 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4165 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4167 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4169 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4171 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4173 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4175 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4177 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4179 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4181 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4183 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4185 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4187 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4189 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4191 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4193 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4196 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4198 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4199 cannot be represented.
4200 * config/s390/32/_fixsfdi.c: Likewise.
4201 * config/s390/32/_fixtfdi.c: Likewise.
4202 * config/s390/32/_fixunsdfdi.c: Likewise.
4203 * config/s390/32/_fixunssfdi.c: Likewise.
4204 * config/s390/32/_fixunstfdi.c: Likewise.
4206 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4208 * configure.ac (libgcc_cv_mips_hard_float): New.
4209 * configure: Regenerate.
4210 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4211 t-softfp-sfdf for hard-float targets.
4212 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4213 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4214 (softfp_truncations, softfp_exclude_libgcc2): New.
4215 * config/t-hardfp: New file.
4216 * config/t-hardfp-sfdf: Likewise.
4217 * config/hardfp.c: Likewise.
4219 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4221 * config.host: Include t-floattodi also for s390x.
4222 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4223 * config/s390/32/_fixsfdi.c: Likewise.
4224 * config/s390/32/_fixtfdi.c: Likewise.
4225 * config/s390/32/_fixunsdfdi.c: Likewise.
4226 * config/s390/32/_fixunssfdi.c: Likewise.
4227 * config/s390/32/_fixunstfdi.c: Likewise.
4229 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4232 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4233 (install-libgcc-unwind-map-forbuild): New target.
4234 (all): Depend on install-libgcc-unwind-map-forbuild.
4235 (install-libgcc-unwind-map): New target.
4236 (install): Depend on install-libgcc-unwind-map.
4238 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4240 * config/nios2/crti.S (_init): Initialize GOT pointer from
4241 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4243 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4245 * configure.ac: Check __mips64 when setting host_address.
4246 * configure: Regenerate.
4247 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4248 mips/t-mips64 and t-softfp.
4249 (mips*-*-linux*): Don't add mips/t-tpbit.
4250 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4251 (DPBIT, DPBIT_CFLAGS): Delete.
4252 * config/mips/sfp-machine.h: New file.
4253 * config/mips/t-mips64: Likewise.
4254 * config/mips/t-softfp-tf: Likewise.
4255 * config/mips/t-tpbit: Delete.
4257 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4259 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4262 2014-01-25 Walter Lee <walt@tilera.com>
4264 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4265 config.h or system.h.
4268 2014-01-25 Walter Lee <walt@tilera.com>
4270 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4271 (post_atomic_barrier): Ditto.
4272 (__fetch_and_do): New macro.
4273 (__atomic_fetch_and_do): Use __fetch_and_do.
4274 (__sync_fetch_and_do): New macro.
4275 (__sync_fetch_and_add_4): New function.
4276 (__sync_fetch_and_sub_4): New function.
4277 (__sync_fetch_and_or_4): New function.
4278 (__sync_fetch_and_and_4): New function.
4279 (__sync_fetch_and_xor_4): New function.
4280 (__sync_fetch_and_nand_4): New function.
4281 (__sync_fetch_and_add_8): New function.
4282 (__sync_fetch_and_sub_8): New function.
4283 (__sync_fetch_and_or_8): New function.
4284 (__sync_fetch_and_and_8): New function.
4285 (__sync_fetch_and_xor_8): New function.
4286 (__sync_fetch_and_nand_8): New function.
4287 (__do_and_fetch): New macro.
4288 (__atomic_do_and_fetch): Use __do_and_fetch.
4289 (__sync_do_and_fetch): New macro.
4290 (__sync_add_and_fetch_4): New function.
4291 (__sync_sub_and_fetch_4): New function.
4292 (__sync_or_and_fetch_4): New function.
4293 (__sync_and_and_fetch_4): New function.
4294 (__sync_xor_and_fetch_4): New function.
4295 (__sync_nand_and_fetch_4): New function.
4296 (__sync_add_and_fetch_8): New function.
4297 (__sync_sub_and_fetch_8): New function.
4298 (__sync_or_and_fetch_8): New function.
4299 (__sync_and_and_fetch_8): New function.
4300 (__sync_xor_and_fetch_8): New function.
4301 (__sync_nand_and_fetch_8): New function.
4302 (__sync_exchange_methods): New macro.
4303 (__sync_val_compare_and_swap_4): New function.
4304 (__sync_bool_compare_and_swap_4): New function.
4305 (__sync_lock_test_and_test_4): New function.
4306 (__sync_val_compare_and_swap_8): New function.
4307 (__sync_bool_compare_and_swap_8): New function.
4308 (__sync_lock_test_and_test_8): New function.
4309 (__subword_cmpxchg_body): New macro.
4310 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4311 (__atomic_compare_exchange_2): Ditto.
4312 (__sync_subword_cmpxchg): New macro.
4313 (__sync_val_compare_and_swap_1): New function.
4314 (__sync_bool_compare_and_swap_1): New function.
4315 (__sync_val_compare_and_swap_2): New function.
4316 (__sync_bool_compare_and_swap_2): New function.
4317 (__atomic_subword): Rename to ...
4318 (__subword): ... New name.
4319 (__atomic_subword_fetch): Use __subword.
4320 (__sync_subword_fetch): New macro.
4321 (__sync_fetch_and_add_1): New function.
4322 (__sync_fetch_and_sub_1): New function.
4323 (__sync_fetch_and_or_1): New function.
4324 (__sync_fetch_and_and_1): New function.
4325 (__sync_fetch_and_xor_1): New function.
4326 (__sync_fetch_and_nand_1): New function.
4327 (__sync_fetch_and_add_2): New function.
4328 (__sync_fetch_and_sub_2): New function.
4329 (__sync_fetch_and_or_2): New function.
4330 (__sync_fetch_and_and_2): New function.
4331 (__sync_fetch_and_xor_2): New function.
4332 (__sync_fetch_and_nand_2): New function.
4333 (__sync_add_and_fetch_1): New function.
4334 (__sync_sub_and_fetch_1): New function.
4335 (__sync_or_and_fetch_1): New function.
4336 (__sync_and_and_fetch_1): New function.
4337 (__sync_xor_and_fetch_1): New function.
4338 (__sync_nand_and_fetch_1): New function.
4339 (__sync_add_and_fetch_2): New function.
4340 (__sync_sub_and_fetch_2): New function.
4341 (__sync_or_and_fetch_2): New function.
4342 (__sync_and_and_fetch_2): New function.
4343 (__sync_xor_and_fetch_2): New function.
4344 (__sync_nand_and_fetch_2): New function.
4345 (__atomic_subword_lock): Use __subword.
4346 (__sync_subword_lock): New macro.
4347 (__sync_lock_test_and_set_1): New function.
4348 (__sync_lock_test_and_set_2): New function.
4350 2014-01-25 Walter Lee <walt@tilera.com>
4352 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4353 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4354 (__atomic_subword): Ditto.
4356 2014-01-25 Walter Lee <walt@tilera.com>
4358 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4359 a prefix op argument.
4360 (__atomic_nand_fetch_4): Add prefix op.
4361 (__atomic_nand_fetch_8): Ditto.
4363 2014-01-21 Baruch Siach <barch@tkos.co.il>
4365 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4367 2014-01-09 Rong Xu <xur@google.com>
4369 * libgcov-driver.c (this_prg): make it local to save
4371 (gcov_exit_compute_summary): Ditto.
4372 (gcov_exit_merge_gcda): Ditto.
4373 (gcov_exit_merge_summary): Ditto.
4374 (gcov_exit_dump_gcov): Ditto.
4376 2014-01-08 Rong Xu <xur@google.com>
4378 * libgcov-driver.c: Use libgcov.h.
4379 (buffer_fn_data): Use xmalloc instead of malloc.
4380 (gcov_exit_merge_gcda): Ditto.
4381 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4382 * libgcov.h: New common header files for libgcov-*.h.
4383 * libgcov-interface.c: Use libgcov.h
4384 * libgcov-merge.c: Ditto.
4385 * libgcov-profiler.c: Ditto.
4386 * Makefile.in: Add dependence to libgcov.h
4388 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4390 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4391 case of small numerator and finite nonzero result.
4393 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4395 Update copyright years
4397 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4399 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4400 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4401 config/arc/dp-hack.h, config/arc/fp-hack.h,
4402 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4403 config/arc/ieee-754/arc600-dsp/divdf3.S,
4404 config/arc/ieee-754/arc600-dsp/divsf3.S,
4405 config/arc/ieee-754/arc600-dsp/muldf3.S,
4406 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4407 config/arc/ieee-754/arc600-mul64/divdf3.S,
4408 config/arc/ieee-754/arc600-mul64/divsf3.S,
4409 config/arc/ieee-754/arc600-mul64/muldf3.S,
4410 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4411 config/arc/ieee-754/arc600/divsf3.S,
4412 config/arc/ieee-754/arc600/mulsf3.S,
4413 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4414 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4415 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4416 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4417 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4418 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4419 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4420 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4421 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4422 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4423 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4424 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4425 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4426 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4427 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4428 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4429 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4430 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4431 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4432 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4433 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4434 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4435 vtv_start_preinit.c: Use the standard form for the copyright notice.
4437 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4438 Chung-Lin Tang <cltang@codesourcery.com>
4439 Based on patches from Altera Corporation
4441 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4442 * config/nios2/lib2-nios2.h: New file.
4443 * config/nios2/lib2-divmod-hi.c: New file.
4444 * config/nios2/linux-unwind.h: New file.
4445 * config/nios2/lib2-divmod.c: New file.
4446 * config/nios2/linux-atomic.c: New file.
4447 * config/nios2/t-nios2: New file.
4448 * config/nios2/crti.asm: New file.
4449 * config/nios2/t-linux: New file.
4450 * config/nios2/lib2-divtable.c: New file.
4451 * config/nios2/lib2-mul.c: New file.
4452 * config/nios2/tramp.c: New file.
4453 * config/nios2/crtn.asm: New file.
4455 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4457 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4458 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4459 from cpuid.h to check vendor signatures.
4461 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4463 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4464 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4465 (get_amd_cpu): Likewise.
4467 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4469 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4472 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4473 H.J. Lu <hongjiu.lu@intel.com>
4476 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4478 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4479 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4480 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4481 FEATURE_XOP and FEATURE_FMA.
4482 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4484 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4485 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4486 FEATURE_FMA4 and FEATURE_XOP.
4488 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4490 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4491 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4492 (get_intel_cpu): Updated.
4494 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4496 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4498 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4500 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4501 instructions when __SSE_MATH__ is defined.
4503 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4505 * config.host (microblaze-*-rtems*): New.
4507 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4509 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4510 architectures that do not have hardware divide instruction.
4511 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4513 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4515 * longlong.h: Delete (moved to include/).
4517 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4519 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4520 of normal number and qNaN to not raise an inexact exception.
4522 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4524 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4526 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4528 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4529 for correct opcodes on BE.
4531 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4533 * soft-fp/op-4.h: Update from glibc.
4535 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4537 * libgcc2.c (__udivmoddi4): Define new implementation when
4538 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4539 divide instructions.
4541 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4543 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4545 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4547 * config/t-softfp (soft-fp-objects-base): New variable.
4548 (soft-fp-objects): Use it.
4550 2013-11-23 David Edelson <dje.gcc@gmail.com>
4551 Andrew Dixie <andrewd@gentrack.com>
4554 * config/rs6000/aixinitfini.c: New file.
4555 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4556 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4559 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4561 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4563 2013-11-18 Jan Hubicka <jh@suse.cz>
4565 * libgcov-driver.c (run_accounted): Make global level static.
4566 (gcov_exit_merge_summary): Silence warning; do not clear
4568 (gcov_exit): Clear it here.
4570 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4573 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4574 (all_prg, crc32): Remove static vars.
4575 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4577 (gcov_exit_merge_gcda): Add crc32 parameter.
4578 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4579 do not account run if it was already accounted.
4580 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4581 (gcov_exit): Initialize all_prg; update.
4583 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4585 * configure: Regenerate.
4587 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4588 Alan Modra <amodra@gmail.com>
4590 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4591 (frob_update_context): Use it.
4593 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4594 Alan Modra <amodra@gmail.com>
4596 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4597 (trampoline_initial): Provide ELFv2 variant.
4598 (__trampoline_setup): Likewise.
4600 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4601 check for AIX indirect function call sequence if _CALL_ELF == 2.
4603 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4604 Alan Modra <amodra@gmail.com>
4606 * config/rs6000/linux-unwind.h (get_regs): Do not support
4607 old kernel versions if _CALL_ELF == 2.
4608 (frob_update_context): Do not support PLT stub variants only
4609 generated by old linkers if _CALL_ELF == 2.
4611 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4612 Alan Modra <amodra@gmail.com>
4614 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4615 location of CR save area for 64-bit little-endian systems.
4617 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4619 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4621 * config/arm/t-vxworks: Delete.
4623 2013-11-10 Kai Tietz <ktietz@redhat.com>
4625 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4626 Increment load-count on use of LIBGCC_SONAME DLL.
4627 (hmod_libgcc): New static variable to hold handle of
4629 (__gcc_deregister_frame): Decrement load-count of
4632 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4634 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4636 * configure: Regenerate
4638 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4640 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4641 FP_EX_DENORM. Store result to volatile location after SSE division
4642 to close interrupt window. Remove unneeded fwait after x87
4643 division since interrupt window will be closed by emitted fstp.
4644 Rewrite FP_EX_INEXACT handling.
4646 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4648 * soft-fp/README: Update.
4649 * soft-fp/adddf3.c: Update from glibc.
4650 * soft-fp/addsf3.c: Likewise.
4651 * soft-fp/addtf3.c: Likewise.
4652 * soft-fp/divdf3.c: Likewise.
4653 * soft-fp/divsf3.c: Likewise.
4654 * soft-fp/divtf3.c: Likewise.
4655 * soft-fp/double.h: Likewise.
4656 * soft-fp/eqdf2.c: Likewise.
4657 * soft-fp/eqsf2.c: Likewise.
4658 * soft-fp/eqtf2.c: Likewise.
4659 * soft-fp/extenddftf2.c: Likewise.
4660 * soft-fp/extended.h: Likewise.
4661 * soft-fp/extendsfdf2.c: Likewise.
4662 * soft-fp/extendsftf2.c: Likewise.
4663 * soft-fp/extendxftf2.c: Likewise.
4664 * soft-fp/fixdfdi.c: Likewise.
4665 * soft-fp/fixdfsi.c: Likewise.
4666 * soft-fp/fixdfti.c: Likewise.
4667 * soft-fp/fixsfdi.c: Likewise.
4668 * soft-fp/fixsfsi.c: Likewise.
4669 * soft-fp/fixsfti.c: Likewise.
4670 * soft-fp/fixtfdi.c: Likewise.
4671 * soft-fp/fixtfsi.c: Likewise.
4672 * soft-fp/fixtfti.c: Likewise.
4673 * soft-fp/fixunsdfdi.c: Likewise.
4674 * soft-fp/fixunsdfsi.c: Likewise.
4675 * soft-fp/fixunsdfti.c: Likewise.
4676 * soft-fp/fixunssfdi.c: Likewise.
4677 * soft-fp/fixunssfsi.c: Likewise.
4678 * soft-fp/fixunssfti.c: Likewise.
4679 * soft-fp/fixunstfdi.c: Likewise.
4680 * soft-fp/fixunstfsi.c: Likewise.
4681 * soft-fp/fixunstfti.c: Likewise.
4682 * soft-fp/floatdidf.c: Likewise.
4683 * soft-fp/floatdisf.c: Likewise.
4684 * soft-fp/floatditf.c: Likewise.
4685 * soft-fp/floatsidf.c: Likewise.
4686 * soft-fp/floatsisf.c: Likewise.
4687 * soft-fp/floatsitf.c: Likewise.
4688 * soft-fp/floattidf.c: Likewise.
4689 * soft-fp/floattisf.c: Likewise.
4690 * soft-fp/floattitf.c: Likewise.
4691 * soft-fp/floatundidf.c: Likewise.
4692 * soft-fp/floatundisf.c: Likewise.
4693 * soft-fp/floatunditf.c: Likewise.
4694 * soft-fp/floatunsidf.c: Likewise.
4695 * soft-fp/floatunsisf.c: Likewise.
4696 * soft-fp/floatunsitf.c: Likewise.
4697 * soft-fp/floatuntidf.c: Likewise.
4698 * soft-fp/floatuntisf.c: Likewise.
4699 * soft-fp/floatuntitf.c: Likewise.
4700 * soft-fp/gedf2.c: Likewise.
4701 * soft-fp/gesf2.c: Likewise.
4702 * soft-fp/getf2.c: Likewise.
4703 * soft-fp/ledf2.c: Likewise.
4704 * soft-fp/lesf2.c: Likewise.
4705 * soft-fp/letf2.c: Likewise.
4706 * soft-fp/muldf3.c: Likewise.
4707 * soft-fp/mulsf3.c: Likewise.
4708 * soft-fp/multf3.c: Likewise.
4709 * soft-fp/negdf2.c: Likewise.
4710 * soft-fp/negsf2.c: Likewise.
4711 * soft-fp/negtf2.c: Likewise.
4712 * soft-fp/op-1.h: Likewise.
4713 * soft-fp/op-2.h: Likewise.
4714 * soft-fp/op-4.h: Likewise.
4715 * soft-fp/op-8.h: Likewise.
4716 * soft-fp/op-common.h: Likewise.
4717 * soft-fp/quad.h: Likewise.
4718 * soft-fp/single.h: Likewise.
4719 * soft-fp/soft-fp.h: Likewise.
4720 * soft-fp/subdf3.c: Likewise.
4721 * soft-fp/subsf3.c: Likewise.
4722 * soft-fp/subtf3.c: Likewise.
4723 * soft-fp/truncdfsf2.c: Likewise.
4724 * soft-fp/trunctfdf2.c: Likewise.
4725 * soft-fp/trunctfsf2.c: Likewise.
4726 * soft-fp/trunctfxf2.c: Likewise.
4727 * soft-fp/unorddf2.c: Likewise.
4728 * soft-fp/unordsf2.c: Likewise.
4729 * soft-fp/unordtf2.c: Likewise.
4731 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4733 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4734 (_FP_MUL_MEAT_D): Ditto.
4735 (_FP_DIV_MEAT_S): Ditto.
4736 (_FP_DIV_MEAT_D): Ditto.
4737 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4738 t-softfp-sfdf and t-softfp to tmake_file.
4740 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4742 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4743 * config/i386/crtprec.c: Ditto.
4745 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4746 Shiva Chen <shiva0217@gmail.com>
4748 * config.host (nds32*-elf*): Add nds32 target.
4749 * config/nds32 : New directory and files.
4751 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4753 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4754 * config.host (cpu_type) <Setting default>: Add entry for
4756 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4757 <crisv32-*-linux*>: Adjust.
4758 * longlong.h: Wrap the whole CRIS section in a single
4759 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4761 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4763 [__CRIS__] (__umulsidi3): Define.
4764 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4765 * config/cris/sfp-machine.h: New file.
4766 * config/cris/umulsidi3.S: New file.
4767 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4768 * config/cris/arit.c (SIGNMULT): New macro.
4769 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4770 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4771 saving 3 out of originally 33 cycles from the fastest
4772 path, 3 out of 54 from the medium path and one from the longest
4773 path. Improve comments.
4775 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4777 * sync.c: Remove static aliases and define each function directly
4778 under its real name.
4780 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4782 * config.host (hppa*64*-*-linux*): Define extra_parts.
4783 (hppa*-*-linux*): Likewise.
4785 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4787 * config/arc/crtgend.S: Add 2013 to Copyright years.
4788 * config/arc/gmon/atomic.h: Likewise.
4789 * config/arc/gmon/auxreg.h: Likewise.
4790 * config/arc/gmon/sys/gmon_out.h: Likewise.
4791 * config/arc/gmon/sys/gmon.h: Likewise.
4792 * config/arc/gmon/prof-freq.c: Likewise.
4793 * config/arc/gmon/mcount.c: Likewise.
4794 * config/arc/gmon/prof-freq-stub.S: Likewise.
4795 * config/arc/gmon/gmon.c: Likewise.
4796 * config/arc/gmon/machine-gmon.h: Likewise.
4797 * config/arc/gmon/profil.S: Likewise.
4798 * config/arc/gmon/dcache_linesz.S: Likewise.
4799 * config/arc/crtg.S: Likewise.
4800 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4801 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4802 * config/arc/ieee-754/adddf3.S: Likewise.
4803 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4804 * config/arc/ieee-754/fixsfsi.S: Likewise.
4805 * config/arc/ieee-754/gtsf2.S: Likewise.
4806 * config/arc/ieee-754/floatsisf.S: Likewise.
4807 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4808 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4809 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4810 * config/arc/ieee-754/fixdfsi.S: Likewise.
4811 * config/arc/ieee-754/addsf3.S: Likewise.
4812 * config/arc/ieee-754/gesf2.S: Likewise.
4813 * config/arc/ieee-754/floatsidf.S: Likewise.
4814 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4815 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4816 * config/arc/ieee-754/gtdf2.S: Likewise.
4817 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4818 * config/arc/ieee-754/uneqdf2.S: Likewise.
4819 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4820 * config/arc/ieee-754/uneqsf2.S: Likewise.
4821 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4822 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4823 * config/arc/ieee-754/eqdf2.S: Likewise.
4824 * config/arc/ieee-754/ordsf2.S: Likewise.
4825 * config/arc/ieee-754/divsf3.S: Likewise.
4826 * config/arc/ieee-754/divdf3.S: Likewise.
4827 * config/arc/ieee-754/floatunsidf.S: Likewise.
4828 * config/arc/ieee-754/orddf2.S: Likewise.
4829 * config/arc/ieee-754/eqsf2.S: Likewise.
4830 * config/arc/ieee-754/gedf2.S: Likewise.
4831 * config/arc/crtn.S: Likewise.
4832 * config/arc/crti.S: Likewise.
4833 * config/arc/t-arc700-uClibc: Likewise.
4834 * config/arc/asm.h: Likewise.
4835 * config/arc/libgcc-excl.ver: Likewise.
4836 * config/arc/t-arc-newlib: Likewise.
4837 * config/arc/divtab-arc700.c: Likewise.
4838 * config/arc/initfini.c: Likewise.
4839 * config/arc/fp-hack.h: Likewise.
4841 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4842 Diego Novillo <dnovillo@google.com>
4844 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4845 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4846 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4847 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4849 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4850 Brendan Kehoe <brendan@zen.org>
4851 Simon Cook <simon.cook@embecosm.com>
4853 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4854 * config/arc: New directory.
4855 * longlong.h [__arc__] (umul_ppmm): Remove.
4856 [__arc__] (__umulsidi3): Define.
4857 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4858 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4860 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4862 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4864 * config/i386/gthr-win32.h: Likewise.
4866 2013-09-16 DJ Delorie <dj@redhat.com>
4868 * config/rl78/vregs.h: Add G10 register definitions.
4869 * config/rl78/lib2mul.c: Enable for RL78/G10.
4870 * config/rl78/lib2div.c: Likewise.
4871 * config/rl78/lshrsi3.S: Use vregs.h.
4872 * config/rl78/cmpsi2.S: Likewise.
4873 * config/rl78/trampoline.S: Likewise.
4874 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4876 2013-09-14 DJ Delorie <dj@redhat.com>
4877 Nick Clifton <nickc@redhat.com>
4879 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4880 * config/rl78/vregs.h: New.
4881 * config/rl78/signbit.S: New file. Implements signbit function.
4882 * config/rl78/divmodsi.S: New.
4883 * config/rl78/divmodhi.S: New.
4884 * config/rl78/divmodqi.S: New.
4885 * config/rl78/t-rl78: Build them here...
4886 * config/rl78/lib2div.c: ...but not here.
4888 2013-09-12 DJ Delorie <dj@redhat.com>
4890 * config.host (msp*-*-elf): New.
4891 * config/msp430/: New port.
4893 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4895 PR gcov-profile/58127
4896 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4897 __thread var for emulated TLS.
4898 (__gcov_indirect_call_counters): Likewise.
4900 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4901 Catherine Moore <clm@codesourcery.com>
4902 Richard Sandiford <rdsandiford@googlemail.com>
4904 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4905 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4906 (CALL_STUB_NO_RET): Likewise.
4907 (CALL_STUB_RET): Likewise.
4908 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4909 __mips16_ret call/return stub symbols.
4910 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4913 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4915 * config.host <mips*-*-linux*>: Remove a stray comment.
4917 2013-08-10 Jan Hubicka <jh@suse.cz>
4919 Work around binutils PR14342
4920 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4921 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4922 (L_gcov_indirect_call_profiler_v2): New.
4924 2013-08-06 Jan Hubicka <jh@suse.cz>
4926 * libgcov.c (__gcov_indirect_call_callee,
4927 __gcov_indirect_call_counters): New global vars.
4928 (__gcov_indirect_call_profiler): replace by ...
4929 (__gcov_indirect_call_profiler_v2) ... this one.
4931 2013-08-06 Caroline Tice <cmtice@google.com>
4933 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4934 vtv_start_preinit.o and vtv_end_preinit.o.
4935 * configure.ac: Add code to check/set enable_vtable_verify.
4936 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4938 * vtv_start_preinit.c: New file.
4939 * vtv_end_preinit.c: New file.
4940 * vtv_start.c: New file.
4941 * vtv_end.c: New file.
4942 * configure: Regenerated.
4944 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4946 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4947 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4948 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4949 GPL-3.0-with-GCC-exception.
4951 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4953 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4956 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4958 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4959 mapping for FPRs when creating the fallback framestate.
4961 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4964 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4965 (__round_s2_const, __round_u2_const)
4966 (__round_s4_const, __round_u4_const, __round_x8):
4967 Saturate result if addition result cannot be represented.
4969 2013-07-15 Matthias Klose <doko@ubuntu.com>
4971 * libgcc2.c: Don't include <limits.h>.
4973 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4975 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4977 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4980 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4982 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4985 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4987 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4988 instead of table lookups.
4989 (__popcountDI2): Likewise.
4991 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4993 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4996 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4999 * soft-fp/adddf3.c: Update from glibc.
5000 * soft-fp/addsf3.c: Likewise.
5001 * soft-fp/addtf3.c: Likewise.
5002 * soft-fp/divdf3.c: Likewise.
5003 * soft-fp/divsf3.c: Likewise.
5004 * soft-fp/divtf3.c: Likewise.
5005 * soft-fp/double.h: Likewise.
5006 * soft-fp/eqdf2.c: Likewise.
5007 * soft-fp/eqsf2.c: Likewise.
5008 * soft-fp/eqtf2.c: Likewise.
5009 * soft-fp/extenddftf2.c: Likewise.
5010 * soft-fp/extended.h: Likewise.
5011 * soft-fp/extendsfdf2.c: Likewise.
5012 * soft-fp/extendsftf2.c: Likewise.
5013 * soft-fp/fixdfdi.c: Likewise.
5014 * soft-fp/fixdfsi.c: Likewise.
5015 * soft-fp/fixsfdi.c: Likewise.
5016 * soft-fp/fixsfsi.c: Likewise.
5017 * soft-fp/fixtfdi.c: Likewise.
5018 * soft-fp/fixtfsi.c: Likewise.
5019 * soft-fp/fixunsdfdi.c: Likewise.
5020 * soft-fp/fixunsdfsi.c: Likewise.
5021 * soft-fp/fixunssfdi.c: Likewise.
5022 * soft-fp/fixunssfsi.c: Likewise.
5023 * soft-fp/fixunstfdi.c: Likewise.
5024 * soft-fp/fixunstfsi.c: Likewise.
5025 * soft-fp/floatdidf.c: Likewise.
5026 * soft-fp/floatdisf.c: Likewise.
5027 * soft-fp/floatditf.c: Likewise.
5028 * soft-fp/floatsidf.c: Likewise.
5029 * soft-fp/floatsisf.c: Likewise.
5030 * soft-fp/floatsitf.c: Likewise.
5031 * soft-fp/floatundidf.c: Likewise.
5032 * soft-fp/floatundisf.c: Likewise.
5033 * soft-fp/floatunditf.c: Likewise.
5034 * soft-fp/floatunsidf.c: Likewise.
5035 * soft-fp/floatunsisf.c: Likewise.
5036 * soft-fp/floatunsitf.c: Likewise.
5037 * soft-fp/gedf2.c: Likewise.
5038 * soft-fp/gesf2.c: Likewise.
5039 * soft-fp/getf2.c: Likewise.
5040 * soft-fp/ledf2.c: Likewise.
5041 * soft-fp/lesf2.c: Likewise.
5042 * soft-fp/letf2.c: Likewise.
5043 * soft-fp/muldf3.c: Likewise.
5044 * soft-fp/mulsf3.c: Likewise.
5045 * soft-fp/multf3.c: Likewise.
5046 * soft-fp/negdf2.c: Likewise.
5047 * soft-fp/negsf2.c: Likewise.
5048 * soft-fp/negtf2.c: Likewise.
5049 * soft-fp/op-1.h: Likewise.
5050 * soft-fp/op-2.h: Likewise.
5051 * soft-fp/op-4.h: Likewise.
5052 * soft-fp/op-8.h: Likewise.
5053 * soft-fp/op-common.h: Likewise.
5054 * soft-fp/quad.h: Likewise.
5055 * soft-fp/single.h: Likewise.
5056 * soft-fp/soft-fp.h: Likewise.
5057 * soft-fp/subdf3.c: Likewise.
5058 * soft-fp/subsf3.c: Likewise.
5059 * soft-fp/subtf3.c: Likewise.
5060 * soft-fp/truncdfsf2.c: Likewise.
5061 * soft-fp/trunctfdf2.c: Likewise.
5062 * soft-fp/trunctfsf2.c: Likewise.
5063 * soft-fp/unorddf2.c: Likewise.
5064 * soft-fp/unordsf2.c: Likewise.
5065 * soft-fp/unordtf2.c: Likewise.
5066 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5067 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5068 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5069 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5070 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5071 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5072 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5073 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5074 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5075 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5076 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5077 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5079 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5081 * config/mips/lib2funcs.c: New file.
5082 * config/mips/t-mips (LIB2ADD_ST): Add it.
5084 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5087 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5088 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5090 2013-06-08 Walter Lee <walt@tilera.com>
5092 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5093 Replace int64_t with long long. Add __extension__ where
5095 * config/tilepro/atomic.c: Include config.h.
5097 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5099 * config.host (arm-wrs-vxworks): Configure with other soft float.
5101 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5103 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5104 (mips64r5900el-*-elf*): New configurations.
5106 2013-06-04 Alan Modra <amodra@gmail.com>
5108 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5110 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5112 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5114 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5116 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5117 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5118 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5120 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5122 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5123 (powerpc-wrs-vxworks): Likewise.
5125 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5127 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5128 signal frames as well.
5129 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5130 STACK_BIAS to the CFA offset.
5132 2013-05-17 Richard Henderson <rth@redhat.com>
5135 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5136 (execute_cfa_program): Use it when storing to fs->regs.
5138 2013-05-08 Kai Tietz <ktietz@redhat.com>
5140 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5141 (__deregister_frame_info): Likewise.
5143 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5145 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5148 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5150 2013-04-25 Alan Modra <amodra@gmail.com>
5152 * config.host: Match little-endian powerpc-linux.
5154 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5156 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5157 as 'unsigned long long' instead of 'unsigned long'.
5158 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5161 2013-04-10 Julian Brown <julian@codesourcery.com>
5163 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5164 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5165 unsigned char/unsigned short.
5166 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5168 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5171 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5173 2013-04-04 Meador Inge <meadori@codesourcery.com>
5175 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5176 computing the location of the link register.
5177 (aeabi_uldivmod): Ditto.
5179 2013-03-27 Kai Tietz <ktietz@redhat.com>
5181 * config.host: Add support for cygwin x64 target.
5182 * configure: Regenerated.
5184 2013-03-26 Walter Lee <walt@tilera.com>
5186 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5187 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5189 2013-03-25 Kai Tietz <ktietz@redhat.com>
5191 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5193 2013-03-20 Robert Mason <rbmj@verizon.net>
5195 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5196 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5197 (__gthread_leave_tsd_dtor_context): Add prototypes.
5198 (tls_delete_hook): Update.
5200 2013-03-20 Catherine Moore <clm@codesourcery.com>
5201 Joseph Myers <joseph@codesourcery.com>
5202 Chao-ying Fu <fu@mips.com>
5204 * config/mips/mips16.S: Don't build for microMIPS.
5205 * config/mips/linux-unwind.h: Handle microMIPS frame.
5206 * config/mips/crtn.S (fini, init): New labels.
5208 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5210 PR tree-optimization/53265
5211 * unwind-dw2.c (execute_cfa_program): Avoid
5212 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5213 on targets with DWARF_FRAME_REGISTERS < 32.
5215 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5218 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5219 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5221 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5223 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5224 sandybridge processors.
5226 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5229 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5232 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5234 * config/microblaze/crti.S: Setup stack protection at entry
5236 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5238 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5239 (__rotldi3): Shift bytewise if applicable.
5241 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5243 * config/aarch64/sync-cache.c
5244 (__aarch64_sync_cache_range): Silence warnings.
5246 2013-02-25 Catherine Moore <clm@codesourcery.com>
5249 2013-02-24 Catherine Moore <clm@codesourcery.com>
5250 Joseph Myers <joseph@codesourcery.com>
5251 Chao-ying Fu <fu@mips.com>
5253 * config/mips/mips16.S: Don't build for microMIPS.
5254 * config/mips/linux-unwind.h: Handle microMIPS frame.
5255 * config/mips/crtn.S (fini, init): New labels.
5257 2013-02-24 Catherine Moore <clm@codesourcery.com>
5258 Joseph Myers <joseph@codesourcery.com>
5259 Chao-ying Fu <fu@mips.com>
5261 * config/mips/mips16.S: Don't build for microMIPS.
5262 * config/mips/linux-unwind.h: Handle microMIPS frame.
5263 * config/mips/crtn.S (fini, init): New labels.
5265 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5266 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5269 2013-02-16 Alan Modra <amodra@gmail.com>
5272 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5273 (ppc_fallback_frame_state): Always set up save locations for fp
5274 and altivec. Don't bother with non-callee-saved regs, r0-r13
5275 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5277 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5280 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5282 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5283 _ssmulha3, _usmulusa3, _ssmulsa3.
5284 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5285 (__muldi3): XCALL __muldi3_6 instead of rcall.
5286 (__umulsidi3, __mulsidi3): New functions.
5287 (do_prologue_saves, do_epilogue_restores): New .macros.
5288 (__divdi3_moddi3): Use them.
5289 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5290 (__usmulusa3, __ssmulsa3): New functions.
5292 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5293 Jack Howarth <howarth@bromo.med.uc.edu>
5294 Patrick Marlier <patrick.marlier@gmail.com>
5297 * config/darwin-crt-tm.c: Remove dummy functions hack.
5299 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5302 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5303 * config/avr/lib2-object.mk: New iterator to build objects from it.
5304 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5306 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5307 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5308 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5309 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5310 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5311 * config/avr/lib1funcs-fixed.S: Implement them.
5313 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5315 Update copyright years.
5317 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5320 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5321 Add crtcxa to extra_parts.
5322 * config/rs6000/exit.h: New file.
5323 * config/rs6000/cxa_atexit.c: New file.
5324 * config/rs6000/cxa_finalize.c: New file.
5325 * config/rs6000/crtcxa.c: New file.
5326 * config/rs6000/t-aix-cxa: New file.
5327 * config/rs6000/libgcc-aix-cxa.ver: New file.
5329 2013-01-31 Nick Clifton <nickc@redhat.com>
5331 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5334 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5337 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5338 _mulQQ, _mulHQ, _mulHA, _mulSA,
5339 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5340 _divQQ, _divHQ, _divHA, _divSA,
5341 _divUQQ, _divUHQ, _divUHA, _divUSA.
5343 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5345 * config.host(microblaze*-linux*): tmake_file: Remove
5346 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5347 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5348 to exclude functions from being built with libgcc.c and use
5349 the microblaze assembly.
5351 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5353 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5356 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5358 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5359 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5360 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5361 alignment operation.
5363 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5365 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5366 loop start address for cache clearing.
5368 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5370 * config/avr/lib1funcs.S: Remove trailing blanks.
5371 * config/avr/lib1funcs-fixed.S: Ditto.
5373 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5375 * config/avr/avr-lib.h: Add GPL copyright notice.
5377 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5379 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5380 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5381 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5382 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5384 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5386 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5387 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5389 2013-01-04 Nick Clifton <nickc@redhat.com>
5391 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5392 the CALLT instruction is supported.
5394 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5396 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5397 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5399 2012-12-13 John Tytgat <John@bass-software.com>
5401 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5404 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5407 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5408 undefined signed overflows.
5410 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5413 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5415 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5417 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5418 (FP_TRAPPING_EXCEPTIONS): Define.
5419 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5420 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5422 2012-12-04 Richard Henderson <rth@redhat.com>
5425 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5427 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5429 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5430 (FP_EX_SHIFT): Define.
5431 (FP_TRAPPING_EXCEPTIONS): Define.
5433 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5435 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5436 (FP_ROUNDMODE): Use FP_RND_MASK.
5437 * config/aarch64/sfp-exceptions.c: New.
5438 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5439 Use __sfp_handle_exceptions.
5441 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5443 * config.host: (arm*-*-freebsd*): Remove.
5444 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5445 (arm*-*-elf*): Remove.
5446 (arm*-*-wince-pe*): Remove.
5447 * arm/unwind-arm.c (struct fpa_reg): Delete.
5448 (struct fpa_regs): Delete.
5449 (phase1_vrs): Remove fpa element.
5450 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5451 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5452 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5453 * ieee754-sf.S (floatundisf): Remove FPA support.
5454 (floatdisf): Likewise.
5455 * ieee75f-df.S (floatundidf): Likewise.
5456 (floatdidf): Likewise.
5458 2012-11-29 Kai Tietz <ktietz@redhat.com>
5461 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5462 * unwind-generic.h: Likewise.
5463 * unwind-seh.c: Likewise.
5465 2012-11-28 Richard Henderson <rth@redhat.com>
5468 * emutls.c (__emutls_get_address): Avoid race condition between
5469 obj->loc.offset read and emutls_key initialization.
5471 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5473 Adjust decimal point of signed accum mode to GCC default.
5476 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5478 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5479 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5480 (__mulha3, __mulsa3)
5481 (__divqq3, __divha3, __divsa3): Adjust to new position of
5482 decimal point of signed accum types.
5484 (__mulusa3_round): New function.
5485 (__mulusa3): Use it.
5486 (__divqq_helper): New function.
5487 (__udivuqq3): Use it.
5489 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5492 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5494 2012-11-18 Teresa Johnson <tejohnson@google.com>
5497 * libgcov.c (gcov_exit): Remove merged program summary
5498 comparison unless !GCOV_LOCKED.
5500 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5502 * soft-fp: Updated from glibc upstream.
5504 2012-11-06 Ian Lance Taylor <iant@google.com>
5506 * generic-morestack.c (__generic_morestack): Align the returned
5507 stack pointer to a 32 byte boundary.
5508 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5509 increment the return address until we have decided that we don't
5510 have a varargs function.
5511 (__morestack) [32-bit]: Align stack correctly when calling C
5513 (__morestack) [64-bit]: Likewise.
5515 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5517 * configure: Regenerate.
5519 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5522 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5523 * config/i386/sfp-machine.h: Guard exception handling
5524 code with _SOFT_FLOAT.
5525 * config/i386/32/sfp-machine.h: Guard rounding handling
5526 code with _SOFT_FLOAT.
5527 * config/i386/64/sfp-machine.h: Ditto.
5529 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5531 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5534 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5536 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5537 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5538 when appropriate. Correct structure element types.
5539 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5540 -minline-all-stringops from compile flags.
5542 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5544 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5546 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5548 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5550 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5552 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5555 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5556 Jim MacArthur <jim.macarthur@arm.com>
5557 Marcus Shawcroft <marcus.shawcroft@arm.com>
5558 Nigel Stephens <nigel.stephens@arm.com>
5559 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5560 Richard Earnshaw <rearnsha@arm.com>
5561 Sofiane Naci <sofiane.naci@arm.com>
5562 Stephen Thomas <stephen.thomas@arm.com>
5563 Tejas Belagod <tejas.belagod@arm.com>
5564 Yufeng Zhang <yufeng.zhang@arm.com>
5566 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5567 * config/aarch64/crti.S: New file.
5568 * config/aarch64/crtn.S: New file.
5569 * config/aarch64/linux-unwind.h: New file.
5570 * config/aarch64/sfp-machine.h: New file.
5571 * config/aarch64/sync-cache.c: New file.
5572 * config/aarch64/t-aarch64: New file.
5573 * config/aarch64/t-softfp: New file.
5575 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5577 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5578 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5579 no-longer-needed LDBU insns.
5581 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5584 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5585 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5587 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5589 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5591 2012-10-15 Matthias Klose <doko@ubuntu.com>
5593 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5595 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5597 * configure: Regenerate.
5598 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5600 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5602 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5603 instructions for 64bit targets only.
5605 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5607 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5608 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5609 * config/i386/32/sfp-machine.h: ... here.
5610 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5611 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5614 2012-10-07 Matthias Klose <doko@ubuntu.com>
5616 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5618 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5620 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5622 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5623 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5624 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5627 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5630 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5631 Fix parameter names.
5633 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5636 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5637 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5638 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5640 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5643 * config/sh/linux-atomic.S: Delete.
5644 * config/sh/linux-atomic.c: New.
5645 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5646 linux-atomic.c. Add cflags to disable warnings.
5648 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5651 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5653 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5654 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5655 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5656 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5657 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5659 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5661 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5663 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5664 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5666 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5668 * config.host (hppa-*-openbsd*): New target.
5669 * config/pa/t-openbsd: New file.
5671 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5674 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5675 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5676 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5677 (__divsa3): Use __negsi2 to negate r_quoL.
5678 * config/avr/lib1funcs.S (FALIAS): New macro.
5679 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5680 (__negsi2): ...this new function.
5681 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5682 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5683 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5684 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5685 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5686 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5688 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5691 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5692 (lshrsi3): Reimplement as lshrsi3_r0.
5694 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5697 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5700 2012-09-07 Teresa Johnson <tejohnson@google.com>
5702 PR gcov-profile/54487
5703 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5706 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5709 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5710 not configured --with-avrlibc=no.
5711 * config/avr/t-avrlibc: New file.
5712 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5713 (DPBIT_FUNCS): Ditto.
5714 (TPBIT_FUNCS): Ditto.
5716 2012-09-04 Teresa Johnson <tejohnson@google.com>
5718 * libgcov.c (struct gcov_summary_buffer): New structure.
5719 (gcov_histogram_insert): New function.
5720 (gcov_compute_histogram): Ditto.
5721 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5722 histograms during summary merging.
5724 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5726 * config.host (x86_64-*-openbsd*): New target.
5728 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5730 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5733 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5736 * config/avr/t-avr (conv_X): Rename to func_X.
5738 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5741 * config/avr/lib1funcs-fixed.S: New file.
5742 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5743 after they are used.
5744 (neg2, neg4): New macros.
5745 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5746 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5747 (__umulhisi3): Speed up MUL variant if there is enough flash.
5748 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5750 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5751 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5752 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5753 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5754 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5755 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5756 (LIB2FUNCS_EXCLUDE): Add supported functions.
5758 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5760 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5761 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5763 * fixed-obj.mk: Only expand dependency if $o is not in
5766 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5768 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5770 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5772 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5773 depend on --enable-shared.
5774 ($(lib1asmfuncs-o)): Use %.vis files independent of
5776 * static-object.mk ($(base)$(objext), $(base).vis)
5777 ($(base)_s$(objext)): Use same rules for visibility handling as in
5780 2012-08-21 Ian Lance Taylor <iant@google.com>
5782 * config/i386/morestack.S (__morestack_non_split): Increase amount
5783 of space allocated for non-split code stack.
5785 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5787 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5788 even if inhibit_libc.
5790 2012-08-17 Julian Brown <julian@codesourcery.com>
5792 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5793 -fexceptions -fnon-call-exceptions if not defined.
5794 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5795 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5797 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5799 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5802 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5804 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5805 rs6000/t-slibgcc-aix.
5807 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5809 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5811 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5813 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5815 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5818 * Makefile.in (version): Replace top_srcdir with srcdir.
5820 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5822 * Makefile.in (version): set to BASE-VER file from gcc directory.
5824 2012-08-01 Nick Clifton <nickc@redhat.com>
5826 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5827 Implements __clrsb for an HImode argument.
5829 2012-07-31 Nick Clifton <nickc@redhat.com>
5831 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5832 Implements __clrsb for an HImode argument.
5833 * config/stormy16/clrsbhi2.c: New file:
5834 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5836 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5838 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5840 2012-07-19 Tristan Gingold <gingold@adacore.com>
5841 Richard Henderson <rth@redhat.com>
5843 * unwind-seh.c: New file.
5844 * unwind-generic.h: Include windows.h for SEH.
5845 (_Unwind_Exception): Use 6 private fields for SEH.
5846 (_GCC_specific_handler): Declare.
5847 * unwind-c.c (__gcc_personality_seh0): New function.
5849 * config/i386/libgcc-cygming.ver: New file.
5850 * config/i386/t-seh-eh: New file.
5851 * config.host (x86_64-*-mingw*): Default to seh.
5853 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5855 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5857 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5859 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5860 __builtin_expect when checking for exceptions.
5861 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5863 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5865 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5866 function declaration.
5867 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5869 * config/ia64/sfp-exceptions.c: New.
5870 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5872 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5874 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5875 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5876 * config/i386/64/sfp-machine: ... (delete here) ...
5877 * config/i386/sfp-machine.h: ... to here.
5878 (FP_EX_MASK): Remove.
5880 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5882 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5884 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5885 * config/i386/libgcc-sol2.ver: Ditto.
5886 * config/i386/libgcc-glibc.ver: Ditto.
5888 2012-06-11 Roland McGrath <mcgrathr@google.com>
5890 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5891 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5894 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5896 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5897 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5898 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5899 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5900 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5901 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5902 * config/i386/64/sfp-machine: ... (delete here) ...
5903 * config/i386/sfp-machine.h: ... to here.
5905 (__sfp_handle_exceptions): New function declaration.
5906 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5907 * config/i386/sfp-exceptions.c: New.
5908 * config/i386/t-softfp: New.
5909 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5910 i386/t-softfp to tmake_file.
5912 2012-06-03 David S. Miller <davem@davemloft.net>
5914 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5917 2012-05-31 David S. Miller <davem@davemloft.net>
5919 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5920 multiply and divide instructions on 32-bit when V9.
5921 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5923 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5925 * config/arm/ieee754-df.S: Fix typos.
5926 * config/arm/ieee754-sf.S: Fix typos.
5927 * config/c6x/libunwind.S: Fix typos.
5928 * config/epiphany/udivsi3-float.c: Fix typos.
5929 * config/microblaze/muldi3_hard.S: Fix typos.
5930 * config/picochip/adddi3.S: Fix typos.
5931 * config/picochip/ashlsi3.S: Fix typos.
5932 * config/picochip/ashrsi3.S: Fix typos.
5933 * config/picochip/clzsi2.S: Fix typos.
5934 * config/picochip/cmpsi2.S: Fix typos.
5935 * config/picochip/divmod15.S: Fix typos.
5936 * config/picochip/divmodhi4.S: Fix typos.
5937 * config/picochip/divmodsi4.S: Fix typos.
5938 * config/picochip/longjmp.S: Fix typos.
5939 * config/picochip/lshrsi3.S: Fix typos.
5940 * config/picochip/parityhi2.S: Fix typos.
5941 * config/picochip/popcounthi2.S: Fix typos.
5942 * config/picochip/setjmp.S: Fix typos.
5943 * config/picochip/subdi3.S: Fix typos.
5944 * config/picochip/ucmpsi2.S: Fix typos.
5945 * config/picochip/udivmodhi4.S: Fix typos.
5946 * config/picochip/udivmodsi4.S: Fix typos.
5947 * config/spu/divv2df3.c: Fix typos.
5948 * config/spu/mfc_multi_tag_release.c: Fix typos.
5949 * config/spu/mfc_tag_release.c: Fix typos.
5950 * configure.ac: Fix typos.
5951 * configure: Regenerate.
5953 2012-05-25 Ian Lance Taylor <iant@google.com>
5955 * config/i386/morestack.S (__morestack_non_split): Check whether
5956 caller is varargs and needs %bp to hold the stack frame on return.
5958 2012-05-25 Olivier Hainque <hainque@adacore.com>
5960 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5961 sequence in the non pic case on VxWorks.
5963 2012-05-24 Olivier Hainque <hainque@adacore.com>
5965 * Makefile.in: Move dependency on install-unwind_h from
5966 "install-leaf" to "install".
5968 2012-05-24 Olivier Hainque <hainque@adacore.com>
5970 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5971 Use a separate command for stamp removals.
5973 2012-05-21 Andrew Pinski <apinski@cavium.com>
5976 * configure.ac: Define the default includes to being none.
5977 * configure: Regenerate.
5979 2012-05-16 Olivier Hainque <hainque@adacore.com>
5981 * Makefile.in (install-unwind_h): Rename into ...
5982 (install-unwind_h-forbuild): New target.
5983 (all): Use it instead of the former install-unwind_h.
5984 (install-unwind_h): Reinstate, copy to user install destination
5985 for include files, not to the internal gcc object directory one.
5986 (install-leaf): Depend on it.
5988 2012-05-15 Olivier Hainque <hainque@adacore.com>
5990 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5991 register numbers. LR_REGNO replaces R_LR.
5992 (ucontext_for): New, helper for ...
5993 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5995 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5997 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5999 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6000 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6001 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6003 (i[34567]86-*-*, x86_64-*-*): ... here.
6005 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6006 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6008 * config/i386/i386-cpuinfo.c: Rename to ...
6009 * config/i386/cpuinfo.c: ... this.
6010 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6012 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6013 (libgcc_cv_init_priority): New test.
6014 * configure: Regenerate.
6015 * config.in: New file.
6016 * Makefile.in (clean): Rename config.h to auto-target.h.
6017 (config.h): Likewise.
6018 (stamp-h): Likewise.
6020 * config/i386/cpuinfo.c (auto-target.h): Include.
6021 (CONSTRUCTOR_PRIORITY): Define.
6022 (__cpu_indicator_init): Use it.
6024 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6026 * longlong.h: Use a URL instead of an FSF postal address.
6027 Replace spaces with tab.
6029 2012-05-08 Teresa Johnson <tejohnson@google.com>
6031 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6032 (__gcov_dump): Ditto.
6033 (gcov_dump_complete): New global variable.
6034 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6035 (__gcov_flush): Outline functionality now in gcov_clear.
6036 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6038 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6040 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6041 (mips*-*-linux*): Include mips/t-tpbit when long double is
6044 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6046 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6047 (get_available_features): New argument. Check for AVX2.
6048 (__cpu_indicator_init): Modify call to get_available_features.
6050 2012-04-25 Alan Modra <amodra@gmail.com>
6052 * config/rs6000/crtsavevr.S: New file.
6053 * config/rs6000/crtrestvr.S: New file.
6054 * config/rs6000/t-savresfgpr: Build the above.
6055 * config/rs6000/t-netbsd: Likewise.
6057 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6059 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6061 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6063 * libgcc/config/i386/i386-cpuinfo.c: New file.
6064 * libgcc/config/i386/t-cpuinfo: New file.
6065 * libgcc/config.host: Include t-cpuinfo.
6066 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6068 2012-04-24 Chao-ying Fu <fu@mips.com>
6070 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6072 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6074 struct siginfo vs. siginfo_t
6076 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6077 siginfo_t instead of struct siginfo.
6078 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6079 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6080 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6081 (ia64_handle_unwabi): Likewise.
6082 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6083 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6084 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6085 (sh_fallback_frame_state): Likewise.
6086 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6087 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6089 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6091 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6094 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6096 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6097 if it hasn't been previously saved.
6099 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6101 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6104 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6107 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6108 instead of __AVR_HAVE_8BIT_SP__.
6110 2012-03-26 Tristan Gingold <gingold@adacore.com>
6112 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6113 (unw_table_entry): Use unw_word instead of unsigned long.
6114 (_Unwind_FindTableEntry): Likewise.
6115 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6116 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6117 (_Unwind_FindTableEntry): Likewise.
6118 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6119 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6120 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6121 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6122 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6123 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6124 (uw_init_context_1, uw_install_context): Likewise.
6125 (unw_word): Move to unwind-ia64.h
6127 2012-03-26 Tristan Gingold <gingold@adacore.com>
6129 * config/vms/vms-ucrt0.c: Update copyright years.
6131 (___gcc_main_flags): Declare.
6132 (__main): Check flags to remap argv and exit code.
6133 * config.host (*-*-*vms*): Adjust extra_parts.
6134 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6137 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6139 * arm/lib1funcs.asm (ctzsi2): New function.
6140 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6141 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6142 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6143 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6144 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6145 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6147 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6149 * config.host: Add bits to support powerpc64-*-freebsd*.
6150 * config/rs6000/freebsd-unwind.h: New file.
6151 * config/rs6000/t-freebsd64: New file.
6153 2012-03-20 Richard Guenther <rguenther@suse.de>
6155 PR gcov-profile/52627
6156 * libgcov.c (init_mx): Fix mutex name.
6158 2012-03-16 Tristan Gingold <gingold@adacore.com>
6160 * config/ia64/vms-unwind.h: Remove ulong (and replace
6161 it by unw_reg where used). Define unw_reg with __int64.
6163 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6165 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6167 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6169 (sparc_is_sighandler): Likewise.
6171 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6173 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6176 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6178 * config/arm/crtn.S: Fix typo.
6180 2012-03-13 Richard Guenther <rguenther@suse.de>
6182 * libgcov.c: Remove stdio.h include and NULL un-define.
6184 2012-03-13 Richard Guenther <rguenther@suse.de>
6187 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6189 2012-03-13 Richard Guenther <rguenther@suse.de>
6191 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6193 2012-03-13 Richard Guenther <rguenther@suse.de>
6195 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6196 and __gthread_mutex_init_function definitions.
6198 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6200 * config.host (mips*-*-openbsd*): Remove.
6202 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6204 * config.host: Remove alpha*-dec-osf5.1* handling.
6205 * config/alpha/gthr-posix.c: Remove.
6206 * config/alpha/libgcc-osf5.ver: Remove.
6207 * config/alpha/osf5-unwind.h: Remove.
6208 * config/alpha/t-osf-pthread: Remove.
6209 * config/alpha/t-slibgcc-osf: Remove.
6210 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6211 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6212 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6213 * mkmap-flat.awk: Remove osf_export handling.
6215 2012-03-12 Richard Guenther <rguenther@suse.de>
6217 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6218 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6219 (__gthread_mutex_init_function): New function.
6220 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6223 * libgcov.c: Include gthr.h.
6224 (__gcov_flush_mx): New global variable.
6225 (init_mx, init_mx_once): New functions.
6226 (__gcov_flush): Protect self with a mutex.
6227 (__gcov_fork): Re-initialize mutex after forking.
6228 * unwind-dw2-fde.c: Change condition under which to use
6229 __GTHREAD_MUTEX_INIT_FUNCTION.
6231 2012-03-12 Tristan Gingold <gingold@adacore.com>
6233 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6234 * config/ia64/t-vms: Likewise.
6236 2012-03-11 Michael Hope <michael.hope@linaro.org>
6238 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6241 2012-03-07 Walter Lee <walt@tilera.com>
6243 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6245 (atomic_xor): Rename and move definition to
6246 config/tilepro/atomic.h.
6247 (atomic_nand): Ditto.
6248 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6250 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6251 (arch_atomic_nand): Ditto.
6253 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6256 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6258 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6261 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6264 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6268 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6269 if RAMPZ affects reading from RAM.
6270 (__tablejump_elpm__): Ditto.
6272 (__movmemx_hi): Ditto.
6273 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6274 (__do_global_dtors): Ditto.
6275 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6276 (__movmemx_hi): Ditto.
6278 2012-03-05 Richard Henderson <rth@redhat.com>
6280 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6281 [ARM] (count_trailing_zeros): Use the builtin.
6283 2012-03-01 Kai Tietz <ktietz@redhat.com>
6285 * soft-fp: Imported from glibc upstream.
6287 2012-02-28 Kai Tietz <ktietz@redhat.com>
6289 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6290 for mingw-targets as attribute gcc_struct.
6292 2012-02-28 Ian Lance Taylor <iant@google.com>
6294 * generic-morestack.c (__splitstack_releasecontext): Correct call
6295 to __morestack_release_segments.
6297 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6300 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6301 for __linux__ when removing signals from __morestack_fullmask.
6303 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6306 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6308 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6310 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6311 instead of HAVE_INITFINI_ARRAY.
6312 * config/ia64/crtend.S: Likewise.
6314 2012-02-20 Kai Tietz <ktietz@redhat.com>
6317 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6319 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6320 to w32-unwind.h header.
6322 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6324 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6325 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6326 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6327 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6329 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6331 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6333 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6336 * config/darwin-crt-tm.c: Correct typo.
6338 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6339 Patrick Marlier <patrick.marlier@gmail.com>
6342 * config/darwin-crt-tm.c: Generate dummy functions.
6344 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6345 Patrick Marlier <patrick.marlier@gmail.com>
6348 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6349 (__doTMRegistrations): Call it.
6350 (__doTMdeRegistrations): Likewise.
6352 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6353 Anatoly Sokolov <aesok@post.ru>
6354 Eric Weddington <eric.weddington@atmel.com>
6357 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6358 (__epilogue_restores__): Ditto.
6360 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6364 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6365 Solaris 11 and slightly reformat.
6366 (sparc_is_sighandler): Likewise.
6368 2012-02-14 Walter Lee <walt@tilera.com>
6370 * config.host: Handle tilegx and tilepro.
6371 * config/tilegx/sfp-machine.h: New file.
6372 * config/tilegx/sfp-machine32.h: New file.
6373 * config/tilegx/sfp-machine64.h: New file.
6374 * config/tilegx/t-crtstuff: New file.
6375 * config/tilegx/t-softfp: New file.
6376 * config/tilegx/t-tilegx: New file.
6377 * config/tilepro/atomic.c: New file.
6378 * config/tilepro/atomic.h: New file.
6379 * config/tilepro/linux-unwind.h: New file.
6380 * config/tilepro/sfp-machine.h: New file.
6381 * config/tilepro/softdivide.c: New file.
6382 * config/tilepro/softmpy.S: New file.
6383 * config/tilepro/t-crtstuff: New file.
6384 * config/tilepro/t-tilepro: New file.
6386 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6390 * gthr-posix.h: Allow static initializer macros to be disabled.
6391 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6393 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6395 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6396 Add t-slibgcc-libgcc to tmake_file.
6397 * config/mips/libgcc-mips16.ver: Revert previous patch.
6398 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6400 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6401 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6403 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6404 * config/cr16/crti.S: New file.
6405 * config/cr16/crtlibid.S: New file.
6406 * config/cr16/crtn.S: New file.
6407 * config/cr16/lib1funcs.S: New file.
6408 * config/cr16/t-cr16: New file.
6409 * config/cr16/t-crtlibid: New file.
6410 * config/cr16/unwind-dw2.h: New file.
6411 * config/cr16/unwind-cr16.c: New file.
6412 * config/cr16/divmodhi3.c: New file.
6414 2012-01-25 Alan Modra <amodra@gmail.com>
6416 * config/rs6000/t-linux64: Delete. Move..
6417 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6418 * config/rs6000/t-linux: ..and libgcc flags to here.
6420 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6422 * config.host (i[34567]86-*-interix3*):
6423 Change triplet to i[34567]86-*-interix[3-9]*.
6424 * configure: Regenerate.
6426 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6427 Richard Sandiford <rdsandiford@googlemail.com>
6429 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6430 * config/mips/mips16.S (__mips16_rdhwr): New function.
6431 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6433 2012-01-11 Nathan Sidwell <nathan@acm.org>
6435 * libgcov.c (__gcov_init): Ignore objects with no functions.
6437 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6440 Extend __pgmx semantics to linearize memory.
6441 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6442 * config/avr/lib1funcs.S (__xload_1): New function.
6443 (__movmemx_qi, __movmemx_hi): New functions.
6444 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6447 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6449 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6450 purported sigacthandler address isn't null before dereferencing it.
6451 (sparc_is_sighandler): Likewise.
6453 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6456 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6457 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6458 (sparc_is_sighandler): Likewise.
6459 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6461 2012-01-06 Tristan Gingold <gingold@adacore.com>
6463 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6464 compatibility thunks...
6465 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6466 (crtbeginS.o, crtendS.o): ... and these to ...
6467 * config/ia64/t-ia64-elf: ... this new file.
6468 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6469 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6471 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6473 * configure: Regenerate.
6474 * config/s390/t-crtstuff: Remove -fPIC.
6476 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6479 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6482 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6485 * config/avr/lib1funcs.S: Remove FIXME comments.
6486 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6488 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6490 Implement light-weight DImode support.
6491 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6492 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6493 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6494 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6496 2011-12-30 Nathan Sidwell <nathan@acm.org>
6498 * libgcov.c (gcov_crc32): Remove global var.
6499 (free_fn_data): New function.
6500 (buffer_fn_data): Pass in filename, more robust error recovery.
6501 (crc32_unsigned): New function.
6502 (gcov_exit): More robust detection of new program. More robust
6504 (__gcov_init): Do not update program's crc here.
6506 2011-12-21 Tristan Gingold <gingold@adacore.com>
6508 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6510 2011-12-21 Ian Lance Taylor <iant@google.com>
6512 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6514 2011-12-20 Ian Lance Taylor <iant@google.com>
6516 * config/i386/morestack.S (__morestack_non_split): If there is
6517 enough stack space already, don't split. Ask for more stack space
6520 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6522 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6524 (_Unwind_DebugHook): New function.
6525 (uw_restore_core_regs): New define.
6526 (unwind_phase2): Use uw_restore_core_regs instead of
6528 (unwind_phase2_forced): Likewise.
6529 (__gnu_Unwind_Resume): Likewise.
6531 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6533 * config/alpha/linux-unwind.h: Update copyright years.
6534 (MD_FROB_UPDATE_CONTEXT): New define.
6535 (alpha_frob_update_context): New function.
6537 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6539 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6540 tmake_file rather replacing it.
6542 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6544 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6545 function is not used for PPC64.
6546 (save_world): Amend comments. Update the VRsave mask to reflect the
6548 (rest_world): Update comments, do not clobber r10, do not use r8.
6549 (eh_rest_world_r10): Amend comments, do not use r8.
6550 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6551 no longer used, move restore of CR and target address to the end of
6554 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6556 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6557 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6559 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6562 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6563 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6565 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6567 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6569 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6572 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6573 * config/avr/lib1funcs.S (__muldi3): New function.
6575 2011-12-06 Andrew Pinski <apinski@cavium.com>
6577 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6579 (__frame_dummy_init_array_entry): Likewise.
6581 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6583 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6587 * config/avr/lib1funcs.S (__prologue_saves__,
6588 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6589 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6591 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6593 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6595 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6598 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6599 (_ITM_deregisterTMCloneTable): Likewise.
6600 (__register_frame_info): Fix unused warning.
6601 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6602 pthread_default_stacksize_np): Likewise.
6603 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6605 2011-11-29 DJ Delorie <dj@redhat.com>
6607 * config.host (rl78-*-elf): New case.
6608 * config/rl78: New directory for the Renesas RL78.
6610 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6612 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6615 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6618 * config/rs6000/t-savresfgpr: New file.
6619 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6620 $(srcdir)/config/rs6000/eabi.S.
6621 * config/rs6000/t-ppccomm-ldbl: Remove.
6622 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6624 (powerpc-*-eabispe*): Likewise.
6625 (powerpc-*-eabi*): Likewise.
6626 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6627 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6628 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6629 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6631 (powerpc-*-eabisim*): Likewise.
6632 (powerpc-*-elf*): Likewise.
6633 (powerpc-*-eabialtivec*): Likewise.
6634 (powerpc-xilinx-eabi*): Likewise.
6635 (powerpc-*-rtems*): Likewise.
6636 (powerpcle-*-elf*): Likewise.
6637 (powerpcle-*-eabisim*): Likewise.
6638 (powerpcle-*-eabi*): Likewise.
6640 2011-11-27 Ian Lance Taylor <iant@google.com>
6642 * generic-morestack.c (__splitstack_find): Check for NULL old
6644 (__splitstack_resetcontext): New function.
6645 (__splitstack_releasecontext): New function.
6646 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6648 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6650 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6652 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6654 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6656 2011-11-26 Richard Henderson <rth@redhat.com>
6658 * config/m68k/linux-atomic.c: New file.
6659 * config/m68k/t-linux: New file.
6660 * config.host (m68k-uclinux, m68k-linux): Use it.
6662 2011-11-26 Richard Henderson <rth@redhat.com>
6664 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6665 (__TMC_END__): Only declare if hidden is available; in the definition,
6666 if hidden is unavailable add a null record.
6667 (deregister_tm_clones, register_tm_clones): New.
6668 (__do_global_dtors_aux, frame_dummy): Use them.
6669 (__do_global_dtors, __do_global_ctors_1): Likewise.
6671 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6673 * config/darwin-crt-tm.c: New file.
6674 * config.host (darwin): Build crttms.o crttme.o to provide
6675 startup and shutdown for tm clones.
6676 * config/t-darwin (crttms.o): New build rule.
6677 (crttme.o): Likewise.
6679 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6681 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6684 2011-11-21 Richard Henderson <rth@redhat.com>
6686 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6687 (__TMC_LIST__, __TMC_END__): New.
6688 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6689 (__do_global_dtors): Likewise.
6690 (frame_dummy): Call _ITM_registerTMCloneTable.
6691 (__do_global_ctors_1): Likewise.
6693 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6695 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6696 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6697 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6698 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6699 * config/i386/t-darwin64: Remove.
6700 * config/sh/t-netbsd (LIB2ADD): Remove.
6702 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6705 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6706 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6707 * config/avr/lib1funcs.S (wmov): New assembler macro.
6708 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6709 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6710 (__udivmod64): New function.
6711 (__negdi2): New function.
6713 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6715 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6716 *-*-freebsd*aout*): Remove.
6718 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6720 * static-object.mk (c_flags-$o): Save c_flags.
6721 ($(base)$(objext)): Use it.
6723 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6725 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6727 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6730 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6731 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6734 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6736 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6738 (aeabi_uidivmod): Likewise.
6739 (umodsi3): Likewise.
6741 (aeabi_idivmod): Likewise.
6744 2011-11-16 Tristan Gingold <gingold@adacore.com>
6746 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6748 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6751 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6752 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6754 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6756 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6758 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6759 * config/pa/t-stublib64: Delete.
6761 2011-11-12 Richard Henderson <rth@redhat.com>
6763 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6764 cast the pointer argument to _Unwind_SetGRPtr.
6766 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6768 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6770 2011-11-09 Ian Lance Taylor <iant@google.com>
6772 * generic-morestack.c: Include <string.h>.
6773 (uintptr_type): Define.
6774 (struct initial_sp): Add dont_block_signals field. Reduce size of
6776 (allocate_segment): Set prev field to NULL. Don't set
6777 __morestack_current_segment or __morestack_segments.
6778 (__generic_morestack): Update current->prev and *pp after calling
6780 (__morestack_block_signals): Don't do anything if
6781 dont_block_signals is set.
6782 (__morestack_unblock_signals): Likewise.
6783 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6785 (__splitstack_block_signals): New function.
6786 (enum __splitstack_content_offsets): Define.
6787 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6788 (__splitstack_makecontext): New function.
6789 (__splitstack_block_signals_context): New function.
6790 (__splitstack_find_context): New function.
6791 * config/i386/morestack.S (__morestack_get_guard): New function.
6792 (__morestack_set_guard, __morestack_make_guard): New functions.
6793 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6795 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6797 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6798 (i[34567]86-*-mingw*): ... here.
6799 (x86_64-*-mingw*): ... here.
6801 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6803 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6805 2011-11-07 Nathan Sidwell <nathan@acm.org>
6807 * libgcov.c (struct gcov_fn_buffer): New struct.
6808 (buffer_fn_data): New helper.
6809 (gcov_exit): Rework for new gcov data structures.
6811 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6814 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6816 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6818 * config.host (tmake_file): Correct comment.
6819 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6821 (bfin*-uclinux*): Likewise.
6822 (bfin*-linux-uclibc*): Likewise.
6823 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6825 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6827 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6828 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6829 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6830 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6831 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6832 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6833 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6834 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6835 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6836 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6837 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6838 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6839 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6841 * config/bfin/t-elf: Remove.
6842 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6844 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6846 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6847 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6848 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6849 (lm32-*-elf*): ... this.
6850 (lm32-*-rtems*): ... and this.
6852 (m32r-*-rtems*): Add to tmake_file.
6853 (moxie-*-rtems*): Likewise.
6854 (sparc-*-rtems*): Likewise.
6855 Remove t-rtems from tmake_file.
6856 (sparc64-*-rtems*): Likewise.
6857 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6860 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6863 * config/gthr-posix.h: Move ...
6864 * gthr-posix.h: ... here.
6865 * config/gthr-lynx.h: Reflect this.
6866 * config/gthr-vxworks.h: Likewise.
6867 * config/rs6000/gthr-aix.h: Likewise.
6868 * configure.ac (target_thread_file): Likewise.
6869 * configure: Regenerate.
6871 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6873 * config.host (arm*-*-rtemseabi*): New target.
6875 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6878 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6881 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6883 * config.host (epiphany-*-elf*): New configuration.
6884 * config/epiphany: New Directory.
6886 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6888 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6889 * config/avr/t-rtems: New.
6890 Filter out _exit from LIB1ASMFUNCS.
6892 2011-11-04 David S. Miller <davem@davemloft.net>
6894 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6895 * configure: Rebuild.
6897 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6899 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6902 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6905 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6906 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6908 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6911 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6913 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6915 * config/c6x/t-elf (LIB2ADDEH): Set.
6916 * config/c6x/t-c6x-elf: Remove.
6918 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6920 * config/i386/sol2-ci.S: Rename to ...
6921 * config/i386/crti.S: ... this.
6922 * config/i386/sol2-cn.S: Rename to ...
6923 * config/i386/crtn.S: ... this.
6924 * config/sparc/sol2-ci.S: Rename to ...
6925 * config/sparc/crti.S: ... this.
6926 * config/sparc/sol2-cn.S: Rename to ...
6927 * config/sparc/crtn.S: ... this.
6928 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6929 (crti.o, crtn.o): Remove.
6931 2011-11-04 Tristan Gingold <gingold@adacore.com>
6933 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6935 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6937 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6939 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6941 * config.host (crisv32-*-none, cris-*-none): Remove.
6942 (crisv32-*-elf): Append to tmake_file, don't just set it.
6943 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6945 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6947 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6948 (ecrtn$(objext)): Likewise.
6949 (ncrti$(objext)): Likewise.
6950 (ncrtn$(objext)): Likewise.
6952 2011-11-03 Andreas Schwab <schwab@redhat.com>
6954 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6956 2011-11-02 David S. Miller <davem@davemloft.net>
6958 * configure.ac: Set host_address on sparc too.
6959 * configure: Regenerate.
6960 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6961 based upon host_address.
6962 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6964 2011-11-02 Jason Merrill <jason@redhat.com>
6966 * config/rs6000/t-ppccomm: Add missing \.
6968 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6970 * gthr-single.h, gthr.h: New files.
6971 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6972 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6973 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6974 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6975 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6976 * configure.ac (thread_header): New variable.
6977 Set it depending on target_thread_file.
6978 (gthr-default.h): Link from $thread_header.
6979 * configure: Regenerate.
6980 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6982 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6984 * configure.ac (tm_file_): New variable.
6985 Determine from tm_file.
6986 (tm_file, tm_defines): Substitute.
6987 * configure: Regenerate.
6988 * mkheader.sh: New file.
6989 * Makefile.in (clean): Remove libgcc_tm.h.
6990 ($(objects)): Depend on libgcc_tm.h.
6991 (libgcc_tm_defines, libgcc_tm_file): New variables.
6992 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6993 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6994 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6995 ($(extra-parts)): Depend on libgcc_tm.h.
6996 * config.host (tm_defines, tm_file): New variable.
6997 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6998 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6999 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7000 (avr-*-rtems*): Likewise.
7001 (avr-*-*): Likewise.
7002 (frv-*-elf): Likewise.
7003 (frv-*-*linux*): Likewise.
7004 (h8300-*-rtems*): Likewise.
7005 (h8300-*-elf*): Likewise.
7006 (i[34567]86-*-darwin*): Likewise.
7007 (x86_64-*-darwin*): Likewise.
7008 (rx-*-elf): Likewise.
7009 (tic6x-*-uclinux): Likewise.
7010 (tic6x-*-elf): Likewise.
7011 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7012 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7013 * config/i386/cygming-crtbegin.c: Likewise.
7014 * config/i386/cygming-crtend.c: Likewise.
7015 * config/ia64/fde-vms.c: Likewise.
7016 * config/ia64/unwind-ia64.c: Likewise.
7017 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7018 * config/rs6000/darwin-fallback.c: Likewise.
7019 * config/stormy16/lib2funcs.c: Likewise.
7020 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7021 * crtstuff.c: Likewise.
7022 * dfp-bit.h: Likewise.
7023 * emutls.c: Likewise.
7024 * fixed-bit.c: Likewise.
7025 * fp-bit.c: Likewise.
7026 * generic-morestack-thread.c: Likewise.
7027 * generic-morestack.c: Likewise.
7028 * libgcc2.c: Likewise.
7029 * libgcov.c: Likewise.
7030 * unwind-dw2-fde-dip.c: Likewise.
7031 * unwind-dw2-fde.c: Likewise.
7032 * unwind-dw2.c: Likewise.
7033 * unwind-sjlj.c: Likewise.
7035 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7037 * configure.ac: Include ../config/picflag.m4.
7038 (GCC_PICFLAG): Call it.
7040 * configure: Regenerate.
7041 * Makefile.in (gcc_srcdir): Remove.
7042 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7043 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7044 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7045 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7046 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7049 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7050 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7051 to refer to libgcc2.c.
7053 * config/darwin-64.c: New file.
7054 * config/darwin-crt3.c: Remove comment.
7055 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7056 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7057 config/udivmodsi4.c: New files.
7058 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7059 config/memset.c: New files.
7060 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7061 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7062 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7063 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7064 * config/t-openbsd-thread: New file.
7065 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7066 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7067 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7068 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7071 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7072 to refer to gthr-posix.c.
7073 * config/alpha/t-vms (LIB2ADD): Set.
7074 * config/alpha/vms-gcc_shell_handler.c: New file.
7075 * config/arm/bpabi.c, config/arm/fp16.c,
7076 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7077 config/arm/unaligned-funcs.c: New files.
7078 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7079 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7080 * config/arm/t-linux: Likewise.
7081 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7082 * config/arm/t-netbsd: New file.
7083 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7084 * config/arm/t-symbian (LIB2ADD_ST): Set.
7085 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7086 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7087 * config/bfin/t-elf: New file.
7088 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7089 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7090 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7091 config/c6x/ltf.c: New files.
7092 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7093 (HOST_LIBGCC2_CFLAGS): Set.
7094 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7095 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7096 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7098 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7099 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7100 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7101 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7102 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7104 * config/frv/t-frv (LIB2ADD): Set.
7105 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7106 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7107 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7108 config/h8300/popcounthi2.c: New files.
7109 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7110 * config/i386/gthr-win32.c: New file.
7111 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7112 * config/i386/t-cygwin: Likewise.
7113 * config/i386/t-darwin, config/i386/t-darwin64,
7114 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7115 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7116 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7117 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7118 * config/ia64/quadlib.c: New file.
7119 * config/ia64/t-hpux (LIB2ADD): Set.
7120 * config/ia64/t-ia64: Add comment.
7121 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7122 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7123 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7124 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7125 * config/m32c/t-m32c (LIB2ADD): Set.
7126 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7127 * config/m32r/t-m32r: Likewise.
7128 * config/m68k/fpgnulib.c: New file.
7129 * config/m68k/t-floatlib (LIB2ADD): Set.
7130 (xfgnulib.c): New target.
7131 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7132 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7133 * config/mep/t-mep (LIB2ADD): Set.
7134 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7135 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7136 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7137 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7138 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7139 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7140 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7141 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7142 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7143 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7145 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7146 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7147 * config/pa/fptr.c, config/pa/lib2funcs.S,
7148 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7149 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7150 (LIB2ADD, LIB2ADD_ST): Set.
7151 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7152 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7154 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7155 * config/pdp11/t-pdp11: New file.
7156 * config/picochip/libgccExtras/adddi3.S,
7157 config/picochip/libgccExtras/ashlsi3.S,
7158 config/picochip/libgccExtras/ashrsi3.S,
7159 config/picochip/libgccExtras/clzsi2.S,
7160 config/picochip/libgccExtras/cmpsi2.S,
7161 config/picochip/libgccExtras/divmod15.S,
7162 config/picochip/libgccExtras/divmodhi4.S,
7163 config/picochip/libgccExtras/divmodsi4.S,
7164 config/picochip/libgccExtras/lshrsi3.S,
7165 config/picochip/libgccExtras/parityhi2.S,
7166 config/picochip/libgccExtras/popcounthi2.S,
7167 config/picochip/libgccExtras/subdi3.S,
7168 config/picochip/libgccExtras/ucmpsi2.S,
7169 config/picochip/libgccExtras/udivmodhi4.S,
7170 config/picochip/libgccExtras/udivmodsi4.S: New files.
7171 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7172 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7173 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7174 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7175 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7176 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7177 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7178 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7180 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7181 (HOST_LIBGCC2_CFLAGS): Set.
7182 * config/rs6000/t-darwin64: New file.
7183 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7184 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7185 * config/rs6000/t-ppccomm (LIB2ADD): Add
7186 $(srcdir)/config/rs6000/tramp.S.
7187 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7188 Add $(srcdir)/config/rs6000/eabi.S.
7189 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7190 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7191 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7192 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7193 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7194 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7195 * config/rs6000/tramp.S: New file.
7196 * config/s390/t-tpf: Remove.
7197 * config/sh/linux-atomic.S: New file.
7198 * config/sh/t-linux (LIB2ADD): Set.
7199 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7200 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7201 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7203 (HOST_LIBGCC2_CFLAGS): Set.
7204 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7205 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7206 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7207 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7208 config/spu/mfc_multi_tag_release.c,
7209 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7210 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7211 config/spu/multi3.c: New files.
7212 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7213 (HOST_LIBGCC2_CFLAGS): Set.
7214 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7215 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7216 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7217 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7218 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7219 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7220 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7221 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7222 config/stormy16/umodsi3.c: New files.
7223 * config/xtensa/lib2funcs.S: New file.
7224 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7225 * config/xtensa/t-xtensa (LIB2ADD): Set.
7226 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7227 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7228 Add t-freebsd-thread to tmake_file for posix threads.
7229 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7230 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7231 (*-*-lynxos*): Likewise.
7232 (*-*-netbsd*): Likewise.
7233 (*-*-openbsd*): Likewise.
7234 Add t-openbsd-thread to tmake_file for posix threads.
7235 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7236 (*-*-vxworks*): Set tmake_file.
7237 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7238 (alpha*-*-freebsd*): Likewise.
7239 (alpha*-*-netbsd*): Likewise.
7240 (alpha*-*-openbsd*): Likewise.
7241 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7242 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7243 (alpha*-dec-*vms*): Likewise.
7244 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7245 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7246 (bfin*-uclinux*): Likewise.
7247 (bfin*-linux-uclibc*): Likewise.
7248 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7249 (crisv32-*-none): Likewise.
7250 (cris-*-elf): Likewise.
7251 (cris-*-none): Likewise.
7252 (cris-*-linux*, crisv32-*-linux*): Likewise.
7253 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7255 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7257 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7258 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7259 (x86_64-*-elf*): Likewise.
7260 (i[34567]86-*-nto-qnx*): Likewise.
7261 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7263 (x86_64-*-mingw*): Likewise.
7264 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7265 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7266 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7267 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7268 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7270 (mipsisa64sr71k-*-elf*): Likewise.
7271 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7272 (mips-*-elf*, mipsel-*-elf*): Likewise.
7273 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7274 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7275 (mips*-*-rtems*): Likewise.
7276 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7278 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7279 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7280 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7281 (spu-*-elf*): Likewise.
7282 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7284 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7286 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7287 $(srcdir) to refer to $(LIB1ASMSRC).
7289 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7290 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7291 config/arm/lib1funcs.S: New files.
7292 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7293 * config/arm/t-arm: New file.
7294 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7295 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7296 config/arm/t-strongarm-elf: New files.
7297 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7298 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7299 * config/avr/lib1funcs.S: New file.
7300 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7301 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7302 * config/c6x/lib1funcs.S: New file.
7303 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7304 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7305 * config/frv/lib1funcs.S: New file.
7306 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7307 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7308 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7309 * config/ia64/__divxf3.asm: Rename to ...
7310 * config/ia64/__divxf3.S: ... this.
7311 Adapt lib1funcs.asm filename.
7312 * config/ia64/_fixtfdi.asm: Rename to ...
7313 * config/ia64/_fixtfdi.S: ... this.
7314 Adapt lib1funcs.asm filename.
7315 * config/ia64/_fixunstfdi.asm: Rename to ...
7316 * config/ia64/_fixunstfdi.S: ... this.
7317 Adapt lib1funcs.asm filename.
7318 * config/ia64/_floatditf.asm: Rename to ...
7319 * config/ia64/_floatditf.S: ... this.
7320 Adapt lib1funcs.asm filename.
7321 * config/ia64/lib1funcs.S: New file.
7322 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7323 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7324 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7325 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7326 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7327 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7328 * config/mep/lib1funcs.S: New file.
7329 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7330 * config/mips/mips16.S: New file.
7331 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7332 * config/pa/milli64.S: New file.
7333 * config/pa/t-linux, config/pa/t-linux64: New files.
7334 * config/picochip/lib1funcs.S: New file.
7335 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7336 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7337 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7338 * config/sh/t-netbsd: New file.
7339 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7340 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7341 * config/sh/t-sh64: New file.
7342 * config/sparc/lb1spc.S: New file.
7343 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7345 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7346 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7347 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7348 config/xtensa/lib1funcs.S: New files.
7349 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7350 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7352 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7353 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7354 (arm*-*-linux*): Likewise.
7355 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7356 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7357 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7358 (arm*-*-ecos-elf): Likewise.
7359 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7360 (arm*-*-rtems*): Likewise.
7361 (arm*-*-elf): Likewise.
7362 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7363 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7364 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7365 (bfin*-uclinux*): Likewise.
7366 (bfin*-linux-uclibc*): Likewise.
7367 (bfin*-rtems*): Likewise.
7368 (bfin*-*): Likewise.
7369 (fido-*-elf): Merge into m68k-*-elf*.
7370 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7371 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7372 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7373 (h8300-*-elf*): Likewise.
7374 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7375 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7376 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7377 (i[34567]86-*-mingw*): Likewise.
7378 (x86_64-*-mingw*): Likewise.
7379 (i[34567]86-*-interix3*): Likewise.
7380 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7381 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7382 (m68k-*-elf*): Also handle fido-*-elf.
7383 Add m68k/t-floatlib to tmake_file.
7384 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7385 (m68k-*-linux*): Likewise.
7386 (m68k-*-rtems*): Likewise.
7387 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7388 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7390 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7391 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7392 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7393 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7394 sh/t-netbsd to tmake_file.
7395 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7396 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7397 (sh-wrs-vxworks): Likewise.
7398 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7400 (v850*-*-*): Add v850/t-v850 to tmake_file.
7401 (vax-*-linux*): Add vax/t-linux to tmake_file.
7402 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7404 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7406 * crtstuff.c: New file.
7407 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7408 (CRTSTUFF_T_CFLAGS): Define.
7409 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7410 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7411 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7414 (crtbeginT.o): Use $(objext).
7415 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7416 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7417 (gcc-extra-parts): Remove.
7418 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7420 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7421 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7422 Add t-crtstuff-pic to tmake_file.
7423 (*-*-lynxos*): New case.
7424 Set tmake_file, extra_parts.
7425 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7426 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7427 *-*-netbsdelf[2-9]*.
7428 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7429 (*-*-rtems*): Set extra_parts.
7430 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7431 (*-*-uclinux*): New case.
7433 (*-*-vms*): New case.
7434 Set tmake_file, extra_parts.
7435 (*-*-elf): Set extra_parts.
7436 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7437 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7440 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7442 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7443 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7444 (arm-wrs-vxworks): Append to tmake_file.
7446 (arm*-*-uclinux*): Set extra_parts.
7447 (arm*-*-ecos-elf): Likewise.
7448 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7450 (arm*-*-rtems*): Set extra_parts.
7451 (arm*-*-elf): Likewise.
7452 (avr-*-rtems*): Clear extra_parts.
7453 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7455 (bfin*-uclinux*): Likewise.
7456 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7457 (bfin*-rtems*): Append to tmake_file.
7459 (bfin*-*): Likewise.
7460 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7461 (crisv32-*-elf): ... this.
7462 (crisv32-*-none): ... this.
7463 (cris-*-elf, cris-*-none): New cases.
7464 Add cris/t-elfmulti to tmake_file.
7465 (fr30-*-elf): Append to tmake_file.
7467 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7469 (h8300-*-rtems*): Append to tmake_file.
7471 (h8300-*-elf*): Likewise.
7472 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7474 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7476 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7477 (x86_64-*-elf*): Likewise.
7478 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7479 (x86_64-*-freebsd*): Likewise.
7480 (x86_64-*-netbsd*): Likewise.
7481 (i[34567]86-*-linux*): Likewise.
7482 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7483 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7484 (x86_64-*-linux*): Likewise.
7485 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7486 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7489 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7490 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7491 Append to extra_parts, remove crtbegin.o, crtend.o.
7492 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7493 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7494 crtend.o, crtbeginS.o, crtendS.o.
7495 (ia64*-*-linux*): Comment extra_parts.
7496 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7498 (iq2000*-*-elf*): Clear extra_parts.
7499 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7500 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7501 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7502 (m32r-*-rtems*): ... this.
7503 Add m32r/t-m32r to tmake_file.
7504 (m68k-*-elf*): Add t-crtin to tmake_file.
7505 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7506 (mcore-*-elf): Likewise.
7507 (microblaze*-*-*): Set extra_parts.
7508 (mips*-sde-elf*): New case.
7509 Set tmake_file, extra_parts.
7510 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7511 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7512 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7515 (mipsisa64sr71k-*-elf*): Likewise.
7516 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7517 (mips-*-elf*, mipsel-*-elf*): Likewise.
7518 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7519 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7520 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7521 (mips*-*-rtems*): Likewise.
7522 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7523 (moxie-*-*): Split into ...
7524 (moxie-*-elf, moxie-*-uclinux*): ... this.
7525 Add to extra_parts, remove crtbegin.o, crtend.o.
7526 (moxie-*-rtems*): New case.
7529 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7531 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7532 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7535 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7536 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7538 (powerpc-*-eabisim*): Likewise.
7539 (powerpc-*-elf*): Likewise.
7540 (powerpc-*-eabialtivec*): Likewise.
7541 (powerpc-xilinx-eabi*): Likewise.
7542 (powerpc-*-eabi*): Likewise.
7543 (powerpc-*-rtems*): Likewise.
7544 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7547 (powerpc-*-lynxos*): Add to tmake_file.
7548 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7549 rs6000/t-crtstuff, t-crtstuff-pic.
7551 (powerpcle-*-eabisim*): Likewise.
7552 (powerpcle-*-eabi*): Likewise.
7553 (rx-*-elf): Remove extra_parts.
7554 (s390x-ibm-tpf*): Set extra_parts.
7555 (score-*-elf): Set extra_parts.
7556 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7557 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7558 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7559 (sh64l*-*-netbsd*): Split into ...
7560 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7561 Add t-crtstuff-pic to tmake_file.
7563 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7565 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7566 (sparc-*-elf*): Remove t-crtin from tmake_file.
7567 Add to extra_parts, remove crtbegin.o, crtend.o.
7568 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7569 (sparc64-*-linux*): Likewise.
7570 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7571 Add to extra_parts, remove crtbegin.o, crtend.o.
7572 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7573 Add to extra_parts, remove crtbegin.o, crtend.o.
7574 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7575 Add to extra_parts, remove crtbegin.o, crtend.o.
7576 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7577 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7578 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7580 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7582 (tic6x-*-*): Change to ...
7583 (tic6x-*-elf): ... this.
7585 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7587 (am33_2.0-*-linux*): Add comment.
7588 (mep*-*-*): Add mep/t-mep to tmake_file.
7590 * config/alpha/t-vms: New file.
7591 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7592 * config/arm/crti.S, config/arm/crtn.S: New files.
7593 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7594 * config/bfin/crtlibid.S: New file.
7595 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7596 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7597 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7598 (crti.o, crtin.o): New rules.
7599 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7600 * config/c6x/t-uclinux: New file.
7601 * config/cris/t-elfmulti: New file.
7602 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7603 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7604 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7605 * config/frv/t-frv: New file.
7606 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7607 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7608 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7610 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7611 refer to cygming-crtbegin.c, cygming-crtend.c.
7613 * config/i386/t-nto: New file.
7614 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7615 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7616 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7617 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7620 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7621 (crtinitS.o): New rule.
7622 * config/ia64/vms-crtinit.S: New file.
7623 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7624 * config/m32r/initfini.c: New file.
7625 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7626 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7627 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7628 * config/mep/t-mep: New file.
7629 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7630 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7631 * config/mips/crti.S, config/mips/crtn.S: New files.
7632 * config/mips/t-crtstuff: New file.
7633 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7634 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7635 (CUSTOM_CRTIN): Set.
7636 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7638 Use $(srcdir) to refer to crti.S, crtn.S.
7639 Use .S extension, $<.
7640 * config/moxie/crti.asm: Rename to ...
7641 * config/moxie/crti.S: ... this.
7642 * config/moxie/crtn.asm: Rename to ...
7643 * config/moxie/crtn.S: ... this.
7644 * config/moxie/t-moxie: Remove.
7645 * config/pa/stublib.c: New file.
7646 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7647 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7648 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7649 * config/rs6000/t-crtstuff: New file.
7650 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7651 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7652 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7653 Make output file explicit.
7654 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7655 Make output file explicit.
7656 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7657 Make output file explicit.
7658 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7659 Make output file explicit.
7660 * config/score/crti.S, config/score/crtn.S: New files.
7661 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7662 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7664 * config/sh/t-sh, config/sh/t-superh: New files.
7665 * config/sparc/t-linux64: New file.
7666 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7667 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7668 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7669 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7670 * config/t-crtin: Remove.
7671 * config/t-crtstuff-pic: New file.
7672 * config/t-sol2 (CUSTOM_CRTIN): Set.
7673 (crti.o, crtn.o): New rules.
7674 * config/vms/t-vms: New file.
7675 * config/vms/vms-ucrt0.c: New file.
7676 * config/xtensa/t-elf: New file.
7678 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7680 * Makefile.in (SHLIB_NM_FLAGS): Set.
7681 * mkmap-flat.awk, mkmap-symver.awk: New files.
7682 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7684 * configure: Regenerate.
7685 * config/libgcc-glibc.ver: New file.
7686 * config/libgcc-libsystem.ver: New file.
7687 * config/t-libunwind (SHLIB_LC): Set.
7688 * config/t-linux: New file.
7689 * config/t-slibgcc (INSTALL_SHLIB): New.
7690 (SHLIB_INSTALL): Use it.
7691 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7692 to mkmap-symver.awk.
7693 (SHLIB_MAPFILES): Don't append, adapt pathname.
7694 (SHLIB_VERPFX): Set.
7695 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7696 to mkmap-symver.awk.
7697 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7698 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7699 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7700 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7702 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7703 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7704 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7705 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7706 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7707 * config/i386/libgcc-darwin.10.4.ver,
7708 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7710 * config/i386/t-darwin: Remove.
7711 * config/i386/t-darwin64: Likewise.
7712 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7713 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7714 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7715 * config/i386/t-linux: New file.
7716 * config/i386/t-mingw32: New file.
7717 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7718 * config/ia64/t-glibc: Rename to ...
7719 * config/ia64/t-linux: ... this.
7720 (SHLIB_MAPFILES): Set.
7721 * config/ia64/t-glibc-libunwind: Rename to ...
7722 * config/ia64/t-linux-libunwind: ... this.
7723 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7724 * config/ia64/t-slibgcc-hpux: New file.
7725 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7726 * config/m68k/t-slibgcc-elf-ver: New file.
7727 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7728 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7730 * config/pa/t-slibgcc-hpux: New file.
7731 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7733 * config/rs6000/libgcc-darwin.10.4.ver,
7734 config/rs6000/libgcc-darwin.10.5.ver: New files.
7735 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7736 config/rs6000/libgcc-glibc.ver.
7737 * config/rs6000/libgcc-ppc64.ver: Rename to
7738 config/rs6000/libgcc-ibm-ldouble.ver.
7739 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7740 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7741 * config/rs6000/t-ldbl128: Rename to ...
7742 * config/rs6000/t-linux: ... this.
7743 (SHLIB_MAPFILES): Adapt filename.
7744 * config/rs6000/t-slibgcc-aix: New file.
7745 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7746 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7747 libgcc-excl.ver, libgcc-glibc.ver.
7748 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7749 * config/sparc/libgcc-glibc.ver: New file.
7750 * config/sparc/t-linux: New file.
7751 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7752 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7753 t-slibgcc-elf-ver to tmake_file.
7754 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7756 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7757 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7758 t-slibgcc-elf-ver, t-linux to tmake_file.
7759 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7761 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7762 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7763 (alpha*-dec-*vms*): Likewise.
7764 (arm*-*-freebsd*): Append to tmake_file.
7765 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7766 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7768 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7769 tmake_file for arm*-*-symbianelf*.
7770 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7771 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7773 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7774 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7775 pa/t-slibgcc-dwarf-ver to tmake_file.
7776 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7777 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7778 (hppa*64*-*-hpux11*): Likewise.
7779 (hppa[12]*-*-hpux11*): Likewise.
7780 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7781 i386/t-crtpc, i386/t-crtfm.
7782 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7783 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7785 Add i386/t-cygwin to tmake_file.
7786 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7787 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7788 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7790 Add i386/t-mingw32 to tmake_file.
7791 (x86_64-*-mingw*): Likewise.
7792 (ia64*-*-freebsd*): Append to tmake_file.
7793 (ia64*-*-linux*): Append to tmake_file.
7794 Replace ia64/t-glibc by ia64/t-linux.
7795 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7797 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7798 t-slibgcc-hpux to tmake_file.
7799 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7800 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7801 (m32rle-*-linux*): Likewise.
7802 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7804 (microblaze*-linux*): New case.
7805 Append to tmake_file, add t-slibgcc-nolc-override.
7806 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7807 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7808 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7809 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7810 rs6000/t-slibgcc-aix to tmake_file.
7811 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7812 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7813 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7814 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7815 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7816 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7818 (sparc-*-linux*): Append to tmake_file for *-leon*.
7819 Add sparc/t-linux to tmake_file for non-Leon targets.
7820 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7821 (tic6x-*-uclinux): New case.
7822 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7823 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7824 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7825 (am33_2.0-*-linux*): Append to tmake_file.
7826 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7827 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7828 x86_64-*-kfreebsd*-gnu.
7829 Add i386/t-linux to tmake_file.
7831 2011-10-28 Ian Lance Taylor <iant@google.com>
7833 * config/i386/morestack.S: Correct CFI information to do proper
7834 returns throughout function. In 32-bit mode, save %ebx so that it
7835 is restored on unwind.
7837 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7839 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7840 case where B3 isn't the return register.
7842 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7843 logic for doubleword pops.
7845 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7847 * config/rs6000/t-freebsd: Add wildcard.
7849 2011-10-21 Paul Brook <paul@codesourcery.com>
7851 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7853 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7854 Eric Botcazou <ebotcazou@adacore.com>
7857 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7858 fs->signal_frame to 1.
7860 2011-10-07 Ian Lance Taylor <iant@google.com>
7862 * generic-morestack-thread.c: #include <errno.h>.
7864 2011-10-07 Ian Lance Taylor <iant@google.com>
7867 * generic-morestack.c (__generic_morestack): Make sure the segment
7868 is large enough for both the stack frame and the copied
7871 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7874 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7877 2011-09-28 Nick Clifton <nickc@redhat.com>
7879 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7880 64-bit doubles are not enabled.
7881 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7882 and floatunsisf functions.
7884 2011-09-13 Paul Brook <paul@codesourcery.com>
7886 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7887 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7888 * unwind-arm-common.inc: New file.
7889 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7890 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7891 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7892 * config/c6x/libunwind.S: New file.
7893 * config/c6x/pr-support.c: New file.
7894 * config/c6x/unwind-c6x.c: New file.
7895 * config/c6x/unwind-c6x.h: New file.
7896 * config/c6x/t-c6x-elf: New file.
7898 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7900 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7901 (ASM_DIVZERO): Ditto.
7902 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7904 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7906 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7908 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7911 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7912 instead of an assembly one.
7914 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7917 * Makefile.in (install-unwind_h): Create
7918 $(gcc_objdir)/include/unwind.h atomically.
7920 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7922 * Makefile.in (install-unwind_h): Remove destination file first.
7924 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7927 * config/mips/t-mips16: New file.
7928 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7929 (mips*-*-linux*): Likewise.
7930 (mips*-sde-elf*): Likewise.
7931 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7932 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7933 Add mips/t-mips16 to tmake_file.
7934 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7935 (mips-*-elf*): Likewise.
7936 (mips64-*-elf*): Likewise.
7937 (mips64orion-*-elf*): Likewise.
7938 (mips*-*-rtems*): Likewise.
7939 (mipstx39-*-elf*): Likewise.
7940 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7941 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7943 Use $(srcdir) to refer to sync.c.
7945 ($(libgcc-sync-funcs-o)): Likewise.
7946 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7947 ($(libgcc-sync-funcs-s-o)): Likewise.
7949 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7951 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7954 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7957 * config/i386/value-unwind.h: New.
7959 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7961 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7962 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7963 Add to tmake_file rather than overriding it.
7965 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7967 * config/t-softfp: Remove.
7968 * soft-fp: Moved from ../gcc/config.
7969 * soft-fp/README: Remove t-softfp reference.
7970 * soft-fp/t-softfp: Move to config/t-softfp.
7971 (softfp_machine_header): Remove.
7972 (softfp_file_list): Remove config subdir.
7973 (soft-fp-objects): New variable.
7974 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7975 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7976 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7977 * config/t-softfp-excl: New file.
7978 * config/t-softfp-sfdf: New file.
7979 * config/t-softfp-tf: New file.
7980 * config/no-sfp-machine.h: New file.
7981 * config/arm/sfp-machine.h: New file.
7982 * config/arm/t-softfp: New file.
7983 * config/c6x/sfp-machine.h: New file.
7984 * config/i386/32/t-fprules-softfp: Rename to ...
7985 * config/i386/32/t-softfp: ... this.
7986 (tifunctions, LIB2ADD): Remove.
7987 (softfp_int_modes): Override.
7988 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7990 * config/i386/64/eqtf2.c: Likewise.
7991 * config/i386/64/getf2.c: Likewise.
7992 * config/i386/64/letf2.c: Likewise.
7993 * config/ia64/sft-machine.h: New file.
7994 * config/ia64/t-fprules-softfp: Rename to ...
7995 * config/ia64/t-softfp: ... this.
7996 * config/lm32/sfp-machine.h: New file.
7997 * config/moxie/t-moxie-softfp: Remove.
7998 * config/rs6000/ibm-ldouble-format: New file.
7999 * config/rs6000/ibm-ldouble.c: New file.
8000 * config/rs6000/libgcc-ppc-glibc.ver: New file
8001 * config/rs6000/libgcc-ppc64.ver: New file
8002 * config/rs6000/sfp-machine.h: New file.
8003 * config/rs6000/t-freebsd: New file.
8004 * config/rs6000/t-ibm-ldouble: New file.
8005 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8006 libgcc-ppc-glibc.ver.
8007 * config/rs6000/t-linux64: New file.
8008 * config/rs6000/t-ppccomm (LIB2ADD): Add
8009 $(srcdir)/config/rs6000/ibm-ldouble.c.
8010 * config/rs6000/t-ppccomm-ldbl: New file.
8011 * config/score/sfp-machine.h: New file.
8012 * config.host (sfp_machine_header): Explain.
8013 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8014 t-softfp to tmake_file.
8015 (arm*-*-uclinux*): Likewise.
8016 (arm*-*-ecos-elf): Likewise.
8017 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8018 (arm*-*-rtems*): Likewise.
8019 (arm*-*-elf): Likewise.
8020 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8022 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8023 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8024 (lm32-*-uclinux*): Likewise.
8025 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8026 t-softfp-excl, t-softfp.
8027 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8028 (powerpc64-*-darwin*): Likewise.
8029 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8031 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8033 (powerpc-*-eabisim*): Likewise.
8034 (powerpc-*-elf*): Likewise.
8035 (powerpc-*-eabialtivec*): Likewise.
8036 (powerpc-xilinx-eabi*): Likewise.
8037 (powerpc-*-rtems*): Likewise.
8038 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8039 t-softfp-excl, t-softfp to tmake_file.
8040 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8041 rs6000/t-ppccomm-ldbl to tmake_file.
8042 (powerpcle-*-elf*): Likewise.
8043 (powerpcle-*-eabisim*): Likewise.
8044 (powerpcle-*-eabi*): Likewise.
8045 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8046 rs6000/t-ibm-ldouble to tmake_file.
8047 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8048 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8049 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8050 (tic6x-*-*): Likewise.
8051 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8052 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8053 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8054 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8055 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8056 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8057 t-softfp to tmake_file.
8058 * configure.ac (sfp_machine_header): Provide default if unset.
8060 Link sfp-machine.h to config/$sfp_machine_header.
8061 * configure: Regenerate.
8063 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8065 * Makefile.in (double_type_size, long_double_type_size): Set.
8066 Remove $(fpbit-in-libgcc) support.
8067 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8068 (fpbit-src): New variable.
8069 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8070 Compile with -DFLOAT $(FPBIT_CFLAGS).
8072 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8073 Compile with $(FPBIT_CFLAGS).
8075 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8076 Compile with -DFLOAT $(TPBIT_CFLAGS).
8078 * configure.ac (double_type_size, long_double_type_size):
8079 Determine and substitute.
8080 * configure: Regenerate.
8081 * fp-bit.c, fp-bit.h: New files.
8082 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8083 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8084 * config/mips/t-mips: New file.
8085 * config/mips/t-sdemtk: New file.
8086 * config/rs6000/ppc64-fp.c: New file.
8087 * config/rs6000/t-darwin (LIB2ADD): Add
8088 $(srcdir)/config/rs6000/ppc64-fp.c.
8089 * config/rs6000/t-ppc64-fp: New file.
8090 * config/rx/rx-lib.h: New file.
8091 * config/rx/t-rx (FPBIT): Set to true.
8092 ($(gcc_objdir)/fp-bit.c): Remove.
8093 (DPBIT): Set to true only with -m64bit-doubles.
8094 ($(gcc_objdir)/dp-bit.c): Remove.
8095 * config/sparc/t-softfp: Remove.
8096 * config/spu/t-elf: New file.
8097 * config/t-fdpbit, config/t-fpbit: New files.
8098 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8099 (mips*-*-*): Likewise.
8100 (arm-wrs-vxworks): Likewise.
8101 (arm*-*-freebsd*): Likewise.
8102 (avr-*-rtems*): Add t-fpbit to tmake_file.
8103 (avr-*-*): Likewise.
8104 (bfin*-elf*): Add t-fdpbit to tmake_file.
8105 (bfin*-uclinux*): Likewise.
8106 (bfin*-linux-uclibc*): Likewise.
8107 (bfin*-rtems*): New case.
8108 Add t-fdpbit to tmake_file.
8109 (bfin*-*): Add t-fdpbit to tmake_file.
8110 (crisv32-*-elf): Likewise.
8111 (cris-*-linux*): Likewise.
8112 (fr30-*-elf): Likewise.
8113 (frv-*-elf, frv-*-*linux*): Likewise.
8114 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8115 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8116 (m32r-*-elf*): Likewise.
8117 (m32rle-*-elf*): Likewise.
8118 (m32r-*-linux*): Likewise.
8119 (m32rle-*-linux*): Likewise.
8120 (mcore-*-elf): Add t-fdpbit to tmake_file.
8121 (microblaze*-*-*): Likewise.
8122 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8123 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8124 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8126 Add mips/t-tpbit to tmake-file.
8127 (mips*-*-linux*): Fix typo.
8128 (mips*-sde-elf*): New case
8129 Add mips/t-sdemtk unless using newlib.
8130 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8131 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8132 (mn10300-*-*): Likewise.
8133 (pdp11-*-*): Likewise.
8134 (picochip-*-*): Add t-fpbit to tmake_file.
8135 (powerpc-*-eabisimaltivec*): Likewise.
8136 (powerpc-*-eabisim*): Likewise.
8137 (powerpc-*-elf*): Likewise.
8138 (powerpc-*-eabialtivec*): Likewise.
8139 (powerpc-xilinx-eabi*): New case.
8140 Add t-fdpbit to tmake_file.
8141 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8142 (powerpc-*-rtems*): Likewise.
8143 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8145 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8147 (powerpc-*-lynxos*): Likewise.
8148 (powerpcle-*-elf*): Likewise.
8149 (powerpcle-*-eabisim*): Likewise.
8150 (powerpcle-*-eabi*): Likewise.
8151 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8152 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8153 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8154 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8155 (rx-*-elf): Add t-fdpbit to tmake_file.
8156 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8157 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8158 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8159 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8161 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8162 (sh-wrs-vxworks): Likewise.
8163 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8164 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8165 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8166 (sparc64-*-rtems*): ... new case.
8167 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8168 (spu-*-elf*): Likewise.
8169 Add spu/t-elf to tmake_file.
8170 (v850*-*-*): Add t-fdpbit to tmake_file.
8171 (xstormy16-*-elf): Likewise.
8172 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8173 (mep*-*-*): Likewise.
8175 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8177 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8179 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8180 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8181 (install-unwind_h): New target.
8182 (all): Depend on it.
8183 * config.host (unwind_header): New variable.
8184 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8185 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8186 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8187 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8188 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8190 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8192 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8194 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8196 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8197 (ia64*-*-freebsd*): Likewise.
8198 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8200 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8201 $with_system_libunwind.
8202 (ia64*-*-hpux*): Set tmake_file.
8203 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8204 (picochip-*-*): Set tmake_file.
8205 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8207 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8208 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8209 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8210 (xtensa*-*-elf*): Set tmake_file.
8211 (xtensa*-*-linux*): Likewise.
8212 * configure.ac: Include ../config/unwind_ipinfo.m4.
8213 Call GCC_CHECK_UNWIND_GETIPINFO.
8214 Link unwind.h to $unwind_header.
8215 * configure: Regenerate.
8216 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8217 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8218 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8219 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8220 * config/unwind-dw2-fde-darwin.c: New file.
8221 * config/arm/libunwind.S, config/arm/pr-support.c,
8222 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8223 config/arm/unwind-arm.h,: New files.
8224 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8225 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8226 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8227 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8228 config/ia64/unwind-ia64.h: New files.
8229 * config/picochip/t-picochip: New file.
8230 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8232 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8233 * config/s390/t-tpf (LIB2ADDEH): Remove.
8234 * config/t-darwin (LIB2ADDEH): Set.
8235 * config/t-eh-dw2-dip: New file.
8236 * config/t-libunwind, config/t-libunwind-elf: New files.
8237 * config/t-sol2 (LIB2ADDEH): Remove.
8238 * config/xtensa/t-xtensa: New file.
8240 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8242 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8243 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8244 long long to check rt_sigreturn syscall.
8246 2011-08-02 Alan Modra <amodra@gmail.com>
8248 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8249 Restore for indirect call bcrtl from correct stack slot, and only
8250 if cfa+40 isn't valid.
8252 2011-08-01 Julian Brown <julian@codesourcery.com>
8254 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8255 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8256 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8258 2011-08-01 Julian Brown <julian@codesourcery.com>
8260 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8261 (libgcc-std.ver.in): Use above.
8262 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8263 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8265 * config/t-fixedpoint-gnu-prefix: New file.
8266 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8267 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8270 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8272 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8273 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8274 for x86-64. Properly check __x86_64__ and __LP64__.
8276 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8278 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8280 (_FP_WS_TYPE): Likewise.
8281 (_FP_I_TYPE): Likewise.
8283 2011-07-28 Alan Modra <amodra@gmail.com>
8285 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8286 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8287 in a plt call stub. Do restore r2 if stopped on bctrl.
8289 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8291 * config.host (i[3456x]86-*-netware*): Remove.
8292 * config/i386/netware-crt0.c, config/i386/t-nwld,
8293 config/i386/t-slibgcc-nwld: Remove.
8295 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8297 * config.host: Handle tic6x-*-*.
8298 * config/c6x/c6x-abi.h: New file.
8300 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8302 * config/i386/crtprec.c: New file.
8303 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8304 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8305 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8306 (x86_64-*-darwin*): Likewise.
8307 (i[34567]86-*-solaris2*: Likewise.
8309 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8311 * config/alpha/crtfastmath.c: New file.
8312 * config/i386/crtfastmath.c: New file.
8313 * config/ia64/crtfastmath.c: New file.
8314 * config/mips/crtfastmath.c: New file.
8315 * config/sparc/crtfastmath.c: New file.
8317 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8319 Add -frandom-seed=gcc-crtfastmath.
8320 * config/alpha/t-crtfm: Remove.
8321 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8322 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8324 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8325 (alpha*-dec-osf5.1*): Likewise.
8326 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8327 Add crtfastmath.o to extra_parts.
8328 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8329 Add crtfastmath.o to extra_parts.
8330 (x86_64-*-darwin*): Likewise.
8331 (x86_64-*-mingw*): Likewise.
8332 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8333 (ia64*-*-freebsd*): Likewise.
8334 (ia64*-*-linux*): Likewise.
8335 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8336 Add crtfastmath.o to extra_parts.
8338 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8340 * config/darwin-crt3.o: New file.
8341 * config/rs6000/darwin-crt2.c: New file.
8342 * config/t-darwin: New file.
8343 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8345 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8346 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8347 (powerpc64-*-darwin*): Likewise.
8349 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8351 * config/i386/netware-crt0.c: New file.
8352 * config/i386/t-nwld: Rename to ...
8353 * config/i386/t-slibgcc-nwld: ... this.
8354 * config/i386/t-nwld: New file.
8355 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8357 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8360 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8362 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8364 * configure: Regenerate.
8366 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8368 * dfp-bit.c, dfp-bit.h: New files.
8369 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8371 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8372 ($(d64pbit-o)): Likewise.
8373 ($(d128pbit-o)): Likewise.
8374 * config/t-dfprules: New file.
8375 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8376 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8377 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8378 (x86_64-*-linux*): Likewise.
8379 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8380 (i[34567]86-*-cygwin*): Likewise.
8381 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8382 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8384 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8386 * Makfile.in (LIBGCOV): New variable.
8387 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8388 * libgcov.c: New file.
8390 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8392 * fixed-bit.c, fixed-bit.h: New files.
8393 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8394 refer to fixed-bit.c.
8396 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8398 * config.host (*local*): Remove.
8400 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8403 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8404 like i?86-*-solaris2.1[0-9]*.
8405 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8406 * configure.ac (i?86-*-solaris2*): Likewise.
8407 * configure: Regenerate.
8409 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8411 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8412 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8413 md_unwind_header by splitting out of...
8414 (i[34567]86-*-linux*): ... this.
8415 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8416 Remove md_unwind_header by splitting out of...
8417 (x86_64-*-linux*): ... this.
8419 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8421 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8423 2011-06-28 Nick Clifton <nickc@redhat.com>
8425 * config.host: Recognize all V850 variants.
8427 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8429 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8431 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8433 * shared-object.mk (c_flags-$o): Save c_flags.
8434 ($(base)$(objext)): Use it.
8435 ($(base)_s$(objext)): Likewise.
8437 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8439 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8440 * libgcc-std.ver.in (GCC_4.7.0): New section.
8442 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8446 * config/avr/t-avr: Fix line endings.
8447 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8450 2011-06-14 Olivier Hainque <hainque@adacore.com>
8451 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8453 * config/mips/irix6-unwind.h: New file.
8454 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8456 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8458 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8459 (sparc64_fallback_frame_state): Use it.
8460 (sparc64_frob_update_context): Further adjust context.
8461 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8462 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8463 * config/sparc/sol2-cn.S: Likewise.
8465 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8467 * enable-execute-stack-empty.c: New file.
8468 * enable-execute-stack-mprotect.c: New file.
8469 * config/i386/enable-execute-stack-mingw32.c: New file.
8470 * config.host (enable_execute_stack): New variable.
8471 Select appropriate variants.
8472 * configure.ac: Link enable-execute-stack.c to
8473 $enable_execute_stack.
8474 * configure: Regenerate.
8475 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8476 (lib2funcs): Remove _enable_execute_stack.
8478 2011-06-09 David S. Miller <davem@davemloft.net>
8479 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8481 * config.host (sparc-*-linux*): Correct md_unwind_header
8483 (s390x-ibm-tpf*): Fix typo.
8485 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8487 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8488 Add crtfastmath.o to extra_parts.
8489 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8491 * config/mips/t-crtfm: Remove.
8493 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8495 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8497 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8499 * config.host (sh*-*-linux*): Fix typo.
8501 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8503 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8504 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8505 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8506 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8507 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8508 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8509 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8510 Wrap in !__MINGW64__.
8511 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8512 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8513 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8514 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8515 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8516 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8517 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8519 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8520 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8521 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8522 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8523 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8524 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8525 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8526 * config/no-unwind.h: New file.
8527 * config.host (md_unwind_header): Document.
8529 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8530 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8531 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8532 hppa[12]*-*-hpux11*): Set md_unwind_header.
8533 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8534 Set md_unwind_header.
8535 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8536 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8537 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8538 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8539 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8540 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8541 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8543 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8544 * configure: Regenerate.
8546 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8548 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8549 Set tmake_file, extra_parts.
8550 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8552 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8554 * config/mips/t-irix6: New file.
8555 * config/mips/t-slibgcc-irix: New file.
8557 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8559 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8560 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8562 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8564 * configure.ac (target_thread_file): Determine thread model.
8565 * configure: Regenerate.
8566 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8567 * config/alpha/t-alpha: New file.
8568 * config/alpha/t-crtfm: Use $<.
8569 * config/alpha/t-ieee: New file.
8570 * config/alpha/t-osf-pthread: New file.
8571 * config/alpha/t-slibgcc-osf: New file.
8572 * config/alpha/libgcc-osf5.ver: New file.
8574 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8576 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8578 Add crtfastmath.o to extra_parts.
8580 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8582 * config/gmon-sol2.c: Reindent.
8584 Remove, correct casts.
8585 Use STDERR_FILENO, NULL.
8586 (BASEADDRESS): Remove.
8588 (errno, sbrk): Remove declarations.
8589 (monstartup) [hp300]: Remove.
8592 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8594 * Makefile.in (cpu_type): Define.
8595 * config.host (i[34567]86-*-rtems*): Handle it.
8596 (i[34567]86-*-solaris2*): Move body ...
8597 (*-*-solaris2*): ... here.
8598 New case, generalize.
8599 (sparc-*-elf*): Handle it.
8600 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8601 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8602 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8604 (sparc*-*-solaris2*): ... this.
8606 (sparc64-*-elf*): Handle it.
8607 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8608 Merge ../gcc/config/i386/gmon-sol2.c.
8609 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8611 Merge ../gcc/config/i386/sol2-gc1.asm.
8612 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8614 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8616 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8617 * config/i386/t-crtstuff: New file.
8618 * config/i386/t-softfp: New file.
8619 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8620 $(T)crti.o, $(T)crtn.o): Remove.
8621 (gcrt1.o): New rule.
8622 (TARGET_LIBGCC2_CFLAGS): Remove.
8623 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8624 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8625 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8626 * config/sparc/t-sol2: New file.
8627 * config/sparc/t-crtfm: Move to ...
8628 * config/t-crtfm: ... this.
8629 Use $(cpu_type), $<.
8630 * config/t-crtin: New file.
8631 * config/sparc/t-softfp: New file.
8632 * config/sparc/t-softmul: New file.
8633 * config/t-rtems: New file.
8634 * config/t-slibgcc: New file.
8635 * config/t-slibgcc-elf-ver: New file.
8636 * config/t-slibgcc-gld: New file.
8637 * config/t-slibgcc-sld: New file.
8638 * config/t-sol2: New file.
8639 * configure.ac: Include ../config/lib-ld.m4.
8640 Call AC_LIB_PROG_LD_GNU.
8641 Substitute cpu_type.
8642 * configure: Regenerate.
8644 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8647 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8648 libgcc-std.ver in the build directory.
8649 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8650 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8652 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8654 * libgcc-std.ver.in: New file.
8655 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8657 (libgcc-std.ver): New rule.
8658 * config/t-gnu-prefix: New file.
8660 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8662 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8664 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8666 * config/i386/darwin-lib.h: New file.
8668 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8670 * config/arm/symbian-lib.h: New.
8672 2011-05-04 Chris Demetriou <cgd@google.com>
8674 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8675 (__x86.get_pc_thunk.bx): ...this.
8676 (__morestack): Adjust for rename, remove undef of __i686.
8678 2011-05-03 Chris Demetriou <cgd@google.com>
8680 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8682 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8684 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8685 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8686 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8687 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8688 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8691 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8693 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8694 Adjust copyright year.
8696 2011-03-07 Ian Lance Taylor <iant@google.com>
8698 * generic-morestack.c (__splitstack_find): Adjust returned stack
8699 pointer to include all registers pushed by __morestack.
8701 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8704 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8705 (toolexecdir): Calculate and AC_SUBST.
8706 (toolexeclibdir): Likewise.
8707 * Makefile.in (target_noncanonical): Import.
8708 (toolexecdir): Likewise.
8709 (toolexeclibdir): Likewise.
8710 * configure: Regenerate.
8712 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8715 * config/arm/bpabi.h: Rename to...
8716 * config/arm/bpabi-lib.h: ...this.
8718 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8720 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8722 * configure: Regenerate.
8724 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8726 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8727 __FLOAT_WORD_ORDER__.
8728 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8731 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8734 * Makefile.in (install-strip): New phony target.
8736 2010-11-07 Ian Lance Taylor <iant@google.com>
8739 * config/i386/morestack.S (__morestack_large_model): New
8742 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8744 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8746 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8748 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8750 * config/arm/bpabi.h: New file.
8751 * config/frv/frv-abi.h: New file.
8753 2010-10-01 Ian Lance Taylor <iant@google.com>
8755 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8756 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8758 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8761 * config.host: Add the missing `$'.
8763 2010-09-30 Michael Eager <eager@eagercon.com>
8765 * config.host: Add microblaze*-*-*.
8766 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8767 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8768 udivsi3.asm,umodsi3.asm}: New.
8770 2010-09-28 Ian Lance Taylor <iant@google.com>
8772 * configure.ac: Adjust CFI test to test assembler directly rather
8773 than checking gcc preprocessor macro.
8774 * configure: Rebuild.
8776 2010-09-27 Ian Lance Taylor <iant@google.com>
8778 * configure.ac: Test whether assembler supports CFI directives.
8779 * config.host: Only add t-stack and i386/t-stack-i386 to
8780 tmake_file if libgcc_cv_cfi is "yes".
8781 * configure: Rebuild.
8783 2010-09-27 Ian Lance Taylor <iant@google.com>
8785 * generic-morestack.h: New file.
8786 * generic-morestack.c: New file.
8787 * generic-morestack-thread.c: New file.
8788 * config/i386/morestack.S: New file.
8789 * config/t-stack: New file.
8790 * config/i386/t-stack-i386: New file.
8791 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8792 i386/t-stack-i386 to tmake_file.
8794 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8796 * Makefile.in (libgcc-extra-parts): Check for static archives and
8797 invoke ranlib after installing them.
8798 (gcc-extra-parts): Likewise.
8799 (install-leaf): Likewise.
8801 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8803 * configure: Regenerated.
8805 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8807 * configure: Regenerated.
8809 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8810 Andrew Pinski <pinskia@gmail.com>
8813 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8815 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8818 * configure: Regenerated.
8820 2010-09-06 Andreas Schwab <schwab@redhat.com>
8822 * configure: Regenerate.
8824 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8826 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8828 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8831 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8832 Iain Sandoe <iains@gcc.gnu.org>
8835 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8836 LIB2FUNCS_EXCLUDE functions.
8838 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8840 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8842 * configure: Regenerate.
8844 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8846 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8847 i386/t-freebsd to tmake_file.
8848 * config/i386/t-freebsd: New file.
8849 * config/i386/libgcc-bsd.ver: New file.
8851 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8853 * config.host (powerpc*-eabispe*): Set tmake_file.
8854 (powerpc*-eabi*): Likewise.
8855 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8856 crtbeginS, crtendS, crtbeginT.
8858 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8860 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8861 to tmake_file. Add crtfastmath.o to extra_parts.
8862 * config/mips/t-crtfm: New.
8864 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8866 * config.host (sparc64-*-rtems*): New target.
8868 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8870 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8873 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8875 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8877 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8879 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8880 alpha-dec-osf5.0* support.
8882 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8884 * config.host: Add lm32-*-rtems*.
8886 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8887 Uros Bizjak <ubizjak@gmail.com>
8890 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8891 like other remaining 32-bit x86 OSes.
8892 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8894 * config/i386/libgcc-sol2.ver: New file.
8895 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8897 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8900 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8901 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8902 is used and substitute set_use_emutls.
8903 * configure: Regenerated.
8905 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8907 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8909 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8912 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8914 ($(T)gcrt1.o): Likewise.
8915 ($(T)crt1.o): Likewise.
8916 ($(T)crti.o): Likewise.
8917 ($(T)crtn.o): Likewise.
8919 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8922 * Makefile.in (install): Use $(MAKE) string in rule, for
8925 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8927 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8928 * config/mmix/t-mmix: New file.
8929 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8931 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8934 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8937 2010-01-04 Anthony Green <green@moxielogic.com>
8939 * config/moxie/crti.asm, config/moxie/crtn.asm,
8940 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8941 config/moxie/t-moxie: New files.
8942 * config.host: Add t-moxie-softfp reference.
8944 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8947 * config/t-slibgcc-darwin: Fix embedded rpaths for
8948 --enable-version-specific-runtime-libs, build extension stub
8949 libs exposing features available from current libgcc_s.
8951 2009-11-11 Jon Beniston <jon@beniston.com>
8953 * config.host: Add lm32 targets.
8954 * config/lm32: New directory.
8955 * config/lm32/libgcc_lm32.h: New file.
8956 * config/lm32/_mulsi3.c: New file.
8957 * config/lm32/_udivmodsi4.c: New file.
8958 * config/lm32/_divsi3.c: New file.
8959 * config/lm32/_modsi3.c: New file.
8960 * config/lm32/_udivsi3.c: New file.
8961 * config/lm32/_umodsi3.c: New file.
8962 * config/lm32/_lshrsi3.S: New file.
8963 * config/lm32/_ashrsi3.S: New file.
8964 * config/lm32/_ashlsi3.S: New file.
8965 * config/lm32/crti.S: New file.
8966 * config/lm32/crtn.S: New file.
8967 * config/lm32/t-lm32: New file.
8968 * config/lm32/t-elf: New file.
8969 * config/lm32/t-uclinux: New file.
8971 2009-10-26 Nick Clifton <nickc@redhat.com>
8973 * config.host: Add support for RX target.
8974 * config/rx: New directory.
8975 * config/rx/rx-abi-functions.c: New file. Supplementary
8976 functions for libgcc to support the RX ABI.
8977 * config/rx/rx-abi.h: New file. Supplementary header file for
8978 libgcc RX ABI functions.
8979 * config/rx/t-rx: New file: Makefile fragment for building
8982 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8984 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8985 constraint of y0 to "g".
8987 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8989 * config.host: Include the s390 makefile fragments.
8990 * config/s390/32/_fixdfdi.c: New file.
8991 * config/s390/32/_fixsfdi.c: New file.
8992 * config/s390/32/_fixtfdi.c: New file.
8993 * config/s390/32/_fixunsdfdi.c: New file.
8994 * config/s390/32/_fixunssfdi.c: New file.
8995 * config/s390/32/_fixunstfdi.c: New file.
8996 * config/s390/32/t-floattodi: New file.
8997 * config/s390/libgcc-glibc.ver: New file.
8998 * config/s390/t-crtstuff: New file.
8999 * config/s390/t-linux: New file.
9000 * config/s390/t-tpf: New file.
9002 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9004 * configure.ac (AC_PREREQ): Bump to 2.64.
9006 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9008 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9010 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9012 * configure: Regenerate.
9014 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9016 * config.host (ia64-hp-*vms*): New target.
9017 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9020 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9022 * configure.ac: Add snippet for maintainer-mode.
9023 * configure: Regenerate.
9024 * Makefile.in (AUTOCONF, configure_deps): New variables.
9025 ($(srcdir)/configure)): New rule, active only with maintainer
9028 2009-06-23 DJ Delorie <dj@redhat.com>
9031 * config.host: Add mep support.
9033 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9035 * config.host: Add i386/${host_address}/t-fprules-softfp and
9036 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9038 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9040 * config/i386/64/_multc3.c: Likewise.
9041 * config/i386/64/_powitf2.c: Likewise.
9042 * config/i386/64/eqtf2.c: Likewise.
9043 * config/i386/64/getf2.c: Likewise.
9044 * config/i386/64/letf2.c: Likewise.
9045 * config/i386/64/letf2.c: Likewise.
9046 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9047 unsigned long long for x64 mingw targets.
9048 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9049 (_FP_I_TYPE): Define as long long for x64 mingw target.
9051 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9053 * config.host (vax-*-linux*): New.
9055 2009-05-31 Anthony Green <green@moxielogic.com>
9057 * config.host: Add moxie support.
9058 * config/moxie/t-moxie: New file.
9060 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9062 * config.host: Add i386/${host_address}/t-fprules-softfp and
9063 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9065 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9067 * config.host: Add i386/${host_address}/t-fprules-softfp to
9068 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9070 2009-04-09 Nick Clifton <nickc@redhat.com>
9072 * config/ia64/tf-signs.c: Change copyright header to refer to
9073 version 3 of the GNU General Public License with version 3.1
9074 of the GCC Runtime Library Exception and to point readers at
9075 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9077 * config/i386/32/tf-signs.c: Likewise.
9078 * config/libbid/_addsub_dd.c: Likewise.
9079 * config/libbid/_addsub_sd.c: Likewise.
9080 * config/libbid/_addsub_td.c: Likewise.
9081 * config/libbid/_dd_to_df.c: Likewise.
9082 * config/libbid/_dd_to_di.c: Likewise.
9083 * config/libbid/_dd_to_sd.c: Likewise.
9084 * config/libbid/_dd_to_sf.c: Likewise.
9085 * config/libbid/_dd_to_si.c: Likewise.
9086 * config/libbid/_dd_to_td.c: Likewise.
9087 * config/libbid/_dd_to_tf.c: Likewise.
9088 * config/libbid/_dd_to_udi.c: Likewise.
9089 * config/libbid/_dd_to_usi.c: Likewise.
9090 * config/libbid/_dd_to_xf.c: Likewise.
9091 * config/libbid/_df_to_dd.c: Likewise.
9092 * config/libbid/_df_to_sd.c: Likewise.
9093 * config/libbid/_df_to_td.c: Likewise.
9094 * config/libbid/_di_to_dd.c: Likewise.
9095 * config/libbid/_di_to_sd.c: Likewise.
9096 * config/libbid/_di_to_td.c: Likewise.
9097 * config/libbid/_div_dd.c: Likewise.
9098 * config/libbid/_div_sd.c: Likewise.
9099 * config/libbid/_div_td.c: Likewise.
9100 * config/libbid/_eq_dd.c: Likewise.
9101 * config/libbid/_eq_sd.c: Likewise.
9102 * config/libbid/_eq_td.c: Likewise.
9103 * config/libbid/_ge_dd.c: Likewise.
9104 * config/libbid/_ge_sd.c: Likewise.
9105 * config/libbid/_ge_td.c: Likewise.
9106 * config/libbid/_gt_dd.c: Likewise.
9107 * config/libbid/_gt_sd.c: Likewise.
9108 * config/libbid/_gt_td.c: Likewise.
9109 * config/libbid/_isinfd128.c: Likewise.
9110 * config/libbid/_isinfd32.c: Likewise.
9111 * config/libbid/_isinfd64.c: Likewise.
9112 * config/libbid/_le_dd.c: Likewise.
9113 * config/libbid/_le_sd.c: Likewise.
9114 * config/libbid/_le_td.c: Likewise.
9115 * config/libbid/_lt_dd.c: Likewise.
9116 * config/libbid/_lt_sd.c: Likewise.
9117 * config/libbid/_lt_td.c: Likewise.
9118 * config/libbid/_mul_dd.c: Likewise.
9119 * config/libbid/_mul_sd.c: Likewise.
9120 * config/libbid/_mul_td.c: Likewise.
9121 * config/libbid/_ne_dd.c: Likewise.
9122 * config/libbid/_ne_sd.c: Likewise.
9123 * config/libbid/_ne_td.c: Likewise.
9124 * config/libbid/_sd_to_dd.c: Likewise.
9125 * config/libbid/_sd_to_df.c: Likewise.
9126 * config/libbid/_sd_to_di.c: Likewise.
9127 * config/libbid/_sd_to_sf.c: Likewise.
9128 * config/libbid/_sd_to_si.c: Likewise.
9129 * config/libbid/_sd_to_td.c: Likewise.
9130 * config/libbid/_sd_to_tf.c: Likewise.
9131 * config/libbid/_sd_to_udi.c: Likewise.
9132 * config/libbid/_sd_to_usi.c: Likewise.
9133 * config/libbid/_sd_to_xf.c: Likewise.
9134 * config/libbid/_sf_to_dd.c: Likewise.
9135 * config/libbid/_sf_to_sd.c: Likewise.
9136 * config/libbid/_sf_to_td.c: Likewise.
9137 * config/libbid/_si_to_dd.c: Likewise.
9138 * config/libbid/_si_to_sd.c: Likewise.
9139 * config/libbid/_si_to_td.c: Likewise.
9140 * config/libbid/_td_to_dd.c: Likewise.
9141 * config/libbid/_td_to_df.c: Likewise.
9142 * config/libbid/_td_to_di.c: Likewise.
9143 * config/libbid/_td_to_sd.c: Likewise.
9144 * config/libbid/_td_to_sf.c: Likewise.
9145 * config/libbid/_td_to_si.c: Likewise.
9146 * config/libbid/_td_to_tf.c: Likewise.
9147 * config/libbid/_td_to_udi.c: Likewise.
9148 * config/libbid/_td_to_usi.c: Likewise.
9149 * config/libbid/_td_to_xf.c: Likewise.
9150 * config/libbid/_tf_to_dd.c: Likewise.
9151 * config/libbid/_tf_to_sd.c: Likewise.
9152 * config/libbid/_tf_to_td.c: Likewise.
9153 * config/libbid/_udi_to_dd.c: Likewise.
9154 * config/libbid/_udi_to_sd.c: Likewise.
9155 * config/libbid/_udi_to_td.c: Likewise.
9156 * config/libbid/_unord_dd.c: Likewise.
9157 * config/libbid/_unord_sd.c: Likewise.
9158 * config/libbid/_unord_td.c: Likewise.
9159 * config/libbid/_usi_to_dd.c: Likewise.
9160 * config/libbid/_usi_to_sd.c: Likewise.
9161 * config/libbid/_usi_to_td.c: Likewise.
9162 * config/libbid/_xf_to_dd.c: Likewise.
9163 * config/libbid/_xf_to_sd.c: Likewise.
9164 * config/libbid/_xf_to_td.c: Likewise.
9165 * config/libbid/bid128.c: Likewise.
9166 * config/libbid/bid128_2_str.h: Likewise.
9167 * config/libbid/bid128_2_str_macros.h: Likewise.
9168 * config/libbid/bid128_2_str_tables.c: Likewise.
9169 * config/libbid/bid128_add.c: Likewise.
9170 * config/libbid/bid128_compare.c: Likewise.
9171 * config/libbid/bid128_div.c: Likewise.
9172 * config/libbid/bid128_fma.c: Likewise.
9173 * config/libbid/bid128_logb.c: Likewise.
9174 * config/libbid/bid128_minmax.c: Likewise.
9175 * config/libbid/bid128_mul.c: Likewise.
9176 * config/libbid/bid128_next.c: Likewise.
9177 * config/libbid/bid128_noncomp.c: Likewise.
9178 * config/libbid/bid128_quantize.c: Likewise.
9179 * config/libbid/bid128_rem.c: Likewise.
9180 * config/libbid/bid128_round_integral.c: Likewise.
9181 * config/libbid/bid128_scalb.c: Likewise.
9182 * config/libbid/bid128_sqrt.c: Likewise.
9183 * config/libbid/bid128_string.c: Likewise.
9184 * config/libbid/bid128_to_int16.c: Likewise.
9185 * config/libbid/bid128_to_int32.c: Likewise.
9186 * config/libbid/bid128_to_int64.c: Likewise.
9187 * config/libbid/bid128_to_int8.c: Likewise.
9188 * config/libbid/bid128_to_uint16.c: Likewise.
9189 * config/libbid/bid128_to_uint32.c: Likewise.
9190 * config/libbid/bid128_to_uint64.c: Likewise.
9191 * config/libbid/bid128_to_uint8.c: Likewise.
9192 * config/libbid/bid32_to_bid128.c: Likewise.
9193 * config/libbid/bid32_to_bid64.c: Likewise.
9194 * config/libbid/bid64_add.c: Likewise.
9195 * config/libbid/bid64_compare.c: Likewise.
9196 * config/libbid/bid64_div.c: Likewise.
9197 * config/libbid/bid64_fma.c: Likewise.
9198 * config/libbid/bid64_logb.c: Likewise.
9199 * config/libbid/bid64_minmax.c: Likewise.
9200 * config/libbid/bid64_mul.c: Likewise.
9201 * config/libbid/bid64_next.c: Likewise.
9202 * config/libbid/bid64_noncomp.c: Likewise.
9203 * config/libbid/bid64_quantize.c: Likewise.
9204 * config/libbid/bid64_rem.c: Likewise.
9205 * config/libbid/bid64_round_integral.c: Likewise.
9206 * config/libbid/bid64_scalb.c: Likewise.
9207 * config/libbid/bid64_sqrt.c: Likewise.
9208 * config/libbid/bid64_string.c: Likewise.
9209 * config/libbid/bid64_to_bid128.c: Likewise.
9210 * config/libbid/bid64_to_int16.c: Likewise.
9211 * config/libbid/bid64_to_int32.c: Likewise.
9212 * config/libbid/bid64_to_int64.c: Likewise.
9213 * config/libbid/bid64_to_int8.c: Likewise.
9214 * config/libbid/bid64_to_uint16.c: Likewise.
9215 * config/libbid/bid64_to_uint32.c: Likewise.
9216 * config/libbid/bid64_to_uint64.c: Likewise.
9217 * config/libbid/bid64_to_uint8.c: Likewise.
9218 * config/libbid/bid_b2d.h: Likewise.
9219 * config/libbid/bid_binarydecimal.c: Likewise.
9220 * config/libbid/bid_conf.h: Likewise.
9221 * config/libbid/bid_convert_data.c: Likewise.
9222 * config/libbid/bid_decimal_data.c: Likewise.
9223 * config/libbid/bid_decimal_globals.c: Likewise.
9224 * config/libbid/bid_div_macros.h: Likewise.
9225 * config/libbid/bid_dpd.c: Likewise.
9226 * config/libbid/bid_flag_operations.c: Likewise.
9227 * config/libbid/bid_from_int.c: Likewise.
9228 * config/libbid/bid_functions.h: Likewise.
9229 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9230 * config/libbid/bid_inline_add.h: Likewise.
9231 * config/libbid/bid_internal.h: Likewise.
9232 * config/libbid/bid_round.c: Likewise.
9233 * config/libbid/bid_sqrt_macros.h: Likewise.
9235 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9237 * Makefile.in: Change copyright header to refer to version
9238 3 of the GNU General Public License and to point readers at the
9239 COPYING3 file and the FSF's license web page.
9240 * config.host: Likewise.
9242 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9244 * config.host: Reorder and merge to match config.gcc change.
9246 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9248 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9250 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9252 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9253 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9254 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9255 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9257 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9259 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9260 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9262 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9264 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9265 ia64/t-softfp-compat to tmake_file.
9267 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9269 * config/ia64/__divxf3.asm: New.
9270 * config/ia64/_fixtfdi.asm: Likewise.
9271 * config/ia64/_fixunstfdi.asm: Likewise.
9272 * config/ia64/_floatditf.asm: Likewise.
9273 * config/ia64/t-fprules-softfp: Likewise.
9274 * config/ia64/t-softfp-compat: Likewise.
9275 * config/ia64/tf-signs.c: Likewise.
9277 2009-01-18 Ben Elliston <bje@au.ibm.com>
9279 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9281 2009-01-16 Ben Elliston <bje@au.ibm.com>
9283 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9286 2009-01-13 Ben Elliston <bje@au.ibm.com>
9288 * config/t-softfp: New file.
9289 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9290 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9292 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9294 * config.host: Add m32r*-*-rtems*.
9296 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9298 * config.host: Add m32c*-*-rtems*.
9300 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9303 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9304 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9305 * configure: Regenerate.
9306 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9307 tmake_file here from gcc/config.gcc.
9308 Move extra_parts here from gcc/config.gcc.
9309 * config/i386/t-sol2: Move here from gcc/config/i386.
9310 Use gcc_srcdir instead of srcdir.
9312 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9314 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9317 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9319 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9321 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9323 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9325 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9328 * config.host: Add picochip-*-*.
9330 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9332 * config.host: Match more processor names for Xtensa.
9334 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9336 * config/i386/64/t-softfp-compat: Update comments.
9338 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9340 * config/i386/64/_divtc3-compat.c: Moved to ...
9341 * config/i386/64/_divtc3.c: Here.
9343 * config/i386/64/_multc3-compat.c: Moved to ...
9344 * config/i386/64/_multc3.c: Here.
9346 * config/i386/64/_powitf2-compat.c: Moved to ...
9347 * config/i386/64/_powitf2.c: Here.
9349 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9350 .c suffix instead of -compat.c.
9352 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9354 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9355 (_FP_MUL_MEAT_D): Ditto.
9356 (_FP_DIV_MEAT_S): Ditto.
9357 (_FP_DIV_MEAT_D): Ditto.
9359 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9361 * Makefile.in: Add support for __sync_* libgcc functions.
9363 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9365 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9367 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9370 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9371 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9373 * config/i386/64/t-fprules-softfp: Moved to ...
9374 * config/i386/64/t-softfp-compat: This. New.
9376 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9378 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9379 Initialize f with 0.0.
9381 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9384 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9386 * config/i386/64/_divtc3-compat.c: New.
9387 * config/i386/64/_multc3-compat.c: Likewise.
9388 * config/i386/64/_powitf2-compat.c: Likewise.
9389 * config/i386/64/eqtf2.c: Likewise.
9390 * config/i386/64/getf2.c: Likewise.
9391 * config/i386/64/letf2.c: Likewise.
9392 * config/i386/64/t-fprules-softfp: Likewise.
9394 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9396 * config.host: Add i386/${host_address}/t-fprules-softfp to
9397 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9398 i[34567]86-*-linux*, x86_64-*-linux*.
9400 * configure.ac: Set host_address to 64 or 32 for x86.
9401 * configure: Regenerated.
9403 * Makefile.in (config.status): Also depend on
9404 $(srcdir)/config.host.
9406 * config/i386/32/t-fprules-softfp: New.
9407 * config/i386/32/tf-signs.c: Likewise.
9409 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9411 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9412 Uros Bizjak <ubizjak@gmail.com>
9414 * config/i386/32/sfp-machine.h: New.
9416 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9418 * config/rs6000/t-ppccomm: Remove rules that conflict with
9419 auto-generated rules.
9421 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9423 * configure.ac: sinclude override.m4.
9424 * configure: Regenerate.
9426 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9428 * configure: Regenerate.
9430 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9432 * Makefile.in (DECNUMINC): Remove
9433 -I$(MULTIBUILDTOP)../../libdecnumber.
9436 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9438 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9439 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9440 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9441 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9442 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9443 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9444 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9445 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9446 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9447 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9448 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9449 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9450 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9451 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9453 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9455 * config.host (sh2[lbe]*-*-linux*): Allow target.
9457 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9459 * config/rs6000/t-ppccomm: Add build rules for new files.
9460 (LIB2ADD_ST): New variable.
9462 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9466 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9467 * config/t-avr: New file. Build 16bit libgcc functions.
9469 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9472 * config/t-slibgcc-darwin: Make install-leaf dependent on
9473 install-darwin-libgcc-stubs instead of install.
9475 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9477 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9478 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9479 sh-*-rtemscoff*): Remove cases.
9481 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9483 * Makefile.in (all): Use install-leaf rather than install.
9484 (install): Split most of the rule into...
9485 (install-leaf): ...this new one.
9487 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9488 Paolo Bonzini <bonzini@gnu.org>
9491 * Makefile.in: Use @shlib_slibdir@ substitution to get
9492 correct install name on darwin.
9493 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9495 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9497 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9498 cris-*-elf and cris-*-none.
9499 (crisv32-*-linux*): Similar, as cris-*-linux*.
9501 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9503 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9505 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9508 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9509 * configure: Regenerated.
9511 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9513 * Makefile.in (dfp-filenames): Replace decimal_globals,
9514 decimal_data, binarydecimal and convert_data with
9515 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9516 and bid_convert_data, respectively.
9518 2007-09-17 Chao-ying Fu <fu@mips.com>
9519 Nigel Stephens <nigel@mips.com>
9521 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9522 * Makefile.in (fixed_point): Define.
9523 Check if fixed_point is yes to build support functions.
9524 * configure.ac: Check for fixed_point support.
9525 * configure: Regenerated.
9526 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9527 funcs, modes, from, to.
9529 2007-09-11 Janis Johnson <janis187@us.ibm.com
9531 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9533 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9535 * Makefile.in (dfp-filenames): Remove decUtility, add
9536 decDouble, decPacked, decQuad, decSingle.
9538 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9540 * config.host : Add x86_64-elf target.
9542 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9544 * configure.ac (set_have_cc_tls): Add a missing =.
9545 * configure: Regenerated.
9547 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9549 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9550 and x86_64-*-linux*.
9552 * config/t-tls: New file.
9554 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9556 * configure.ac: Include ../config/enable.m4 and
9557 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9558 supports TLS and substitute set_have_cc_tls.
9559 * configure: Regenerated.
9561 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9563 * Makefile.in: Use libbid for DFP when BID is enabled.
9565 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9567 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9568 extra_parts. Add config/i386/t-cygming to tmake_file.
9569 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9571 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9572 Danny Smith <dannysmith@users.sourceforge.net>
9575 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9576 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9577 * config/i386/t-crtfm: Compile crtfastmath.o with
9578 -minline-all-stringops.
9580 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9582 * config.host (sparc-wrs-vxworks): New target.
9584 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9586 * config.host: Recognize fido.
9588 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9590 * configure: Check host, not target, for decimal float support.
9592 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9594 * config/i386/t-crtpc: New file.
9595 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9596 (x86_64-*-linux*): Ditto.
9598 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9600 * config.host (x86_64-*-mingw*): New target.
9602 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9603 H.J. Lu <hongjiu.lu@intel.com>
9605 * Makefile.in (enable_decimal_float): New.
9607 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9608 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9609 (decbits-filenames): This.
9610 (decbits-objects): New.
9611 (libgcc-objects): Add $(decbits-objects).
9613 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9614 Substitute enable_decimal_float.
9615 * configure: Regenerated.
9617 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9619 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9621 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9623 * Makefile.in (install-info): New dummy target.
9625 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9627 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9629 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9631 * Makefile.in: Add install-html and install-pdf dummy
9634 2007-02-05 Roger Sayle <roger@eyesopen.com>
9635 Daniel Jacobowitz <dan@codesourcery.com>
9637 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9638 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9639 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9641 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9643 * Makefile.in (dec-filenames): Add decExcept.
9645 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9648 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9651 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9653 * configure.ac: Add --enable-version-specific-runtime-libs.
9654 Correct $slibdir default.
9655 * configure: Regenerated.
9657 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9659 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9661 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9664 * config.host (alpha*-*-linux*): Set extra_parts.
9666 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9668 * config/sh/t-linux: New.
9669 * config.host (sh*-*-linux*): Set tmake_file.
9671 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9673 * Makefile.in (install): Handle multilibs.
9675 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9677 * Makefile.in: Added .PHONY entry for documentation targets.
9679 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9681 * Makefile.in: Add empty info, html, dvi, pdf targets.
9683 2007-01-04 Mike Stump <mrs@apple.com>
9685 * Makefile.in (MAKEINFO): Remove.
9688 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9690 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9691 * configure: Regenerate.
9692 * Makefile.in (host_subdir): Substitute it.
9693 (gcc_objdir): Use it.
9695 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9697 * config.host (ia64*-*-linux*): Set tmake_file.
9699 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9701 * Makefile.in (version): Define.
9703 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9704 Paolo Bonzini <bonzini@gnu.org>
9706 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9707 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9708 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9709 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9710 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9711 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9712 * configure: Generated.
9714 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9716 Copying and distribution of this file, with or without modification,
9717 are permitted in any medium without royalty provided the copyright
9718 notice and this notice are preserved.