1 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
4 (RT_SIGRETURN): Update.
5 (nds32_fallback_frame_state): Update.
7 2019-02-21 Martin Sebor <msebor@redhat.com>
9 * libgcc2.h (__clear_cache): Correct signature.
10 * libgcc2.c (__clear_cache): Same.
12 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
14 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
15 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
17 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
19 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
20 regno instead of index to DWARF_ZERO_REG.
22 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
24 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
25 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
27 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
29 * config/alpha/t-linux: Add -mfp-rounding-mode=d
30 to HOST_LIBGCC2_CFLAGS.
32 2019-01-23 Joseph Myers <joseph@codesourcery.com>
35 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
37 2019-01-18 Martin Liska <mliska@suse.cz>
39 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
41 (__gcov_indirect_call_profiler_v3): ... this.
42 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
43 (__gcov_indirect_call_profiler_v3): Likewise.
44 * Makefile.in: Bump function name.
46 2019-01-18 Martin Liska <mliska@suse.cz>
48 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
49 (gcov_version): Use in gcov_error.
50 (merge_one_data): Likewise.
51 (dump_one_gcov): Likewise.
53 2019-01-18 Martin Liska <mliska@suse.cz>
55 * libgcov-driver.c (gcov_version_string): New function.
56 (gcov_version): Convert version integer into string.
58 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
59 Kwok Cheung Yeung <kcy@codesourcery.com>
60 Julian Brown <julian@codesourcery.com>
61 Tom de Vries <tom@codesourcery.com>
63 * config.host: Recognize amdgcn*-*-amdhsa.
64 * config/gcn/crt0.c: New file.
65 * config/gcn/lib2-divmod-hi.c: New file.
66 * config/gcn/lib2-divmod.c: New file.
67 * config/gcn/lib2-gcn.h: New file.
68 * config/gcn/sfp-machine.h: New file.
69 * config/gcn/t-amdgcn: New file.
71 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
75 * config/c6x/libunwind.S: Mechanically replace "can not" with
77 * config/tilepro/atomic.h: Likewise.
78 * config/vxlib-tls.c: Likewise.
79 * generic-morestack-thread.c: Likewise.
80 * generic-morestack.c: Likewise.
81 * mkmap-symver.awk: Likewise.
83 2019-01-01 Jakub Jelinek <jakub@redhat.com>
85 Update copyright years.
87 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
89 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
90 to ignore -Waddress-of-packed-member.
92 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
94 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
95 parameter and corresponding code.
96 (ARM_FUNC_START): Likewise in both definitions.
97 Also update footer comment about condition that need to match with
98 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
99 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
100 defined. Weakly define it in this case.
101 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
102 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
103 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
104 comment to keep condition in sync with the one in
105 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
107 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
109 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
110 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
112 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
114 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
115 and .cfi_endproc directives for VxWorks targets.
117 2018-12-05 Paul Koning <ni1d@arrl.net>
119 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
121 2018-11-27 Alan Modra <amodra@gmail.com>
123 * config/rs6000/morestack.S (__stack_split_initialize),
124 (__morestack_get_guard, __morestack_set_guard),
125 (__morestack_make_guard): Provide CFI covering these functions.
126 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
128 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
130 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
131 (sc_pt_regs_lr): Update for kernel.
132 (sc_pt_regs_tls): Update for kernel.
134 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
136 * config/csky/linux-unwind.h: Fix coding style.
138 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
140 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
141 (csky_fallback_frame_state): Modify the check of the
142 instructions to adapt to changes in the kernel
144 2018-11-09 Stafford Horne <shorne@gmail.com>
145 Richard Henderson <rth@twiddle.net>
147 * config.host: Add OpenRISC support.
148 * config/or1k/*: New.
150 2018-11-08 Kito Cheng <kito@andestech.com>
152 * soft-fp/adddf3.c: Update from glibc.
153 * soft-fp/addsf3.c: Likewise.
154 * soft-fp/addtf3.c: Likewise.
155 * soft-fp/divdf3.c: Likewise.
156 * soft-fp/divsf3.c: Likewise.
157 * soft-fp/divtf3.c: Likewise.
158 * soft-fp/double.h: Likewise.
159 * soft-fp/eqdf2.c: Likewise.
160 * soft-fp/eqsf2.c: Likewise.
161 * soft-fp/eqtf2.c: Likewise.
162 * soft-fp/extenddftf2.c: Likewise.
163 * soft-fp/extended.h: Likewise.
164 * soft-fp/extendhftf2.c: Likewise.
165 * soft-fp/extendsfdf2.c: Likewise.
166 * soft-fp/extendsftf2.c: Likewise.
167 * soft-fp/extendxftf2.c: Likewise.
168 * soft-fp/fixdfdi.c: Likewise.
169 * soft-fp/fixdfsi.c: Likewise.
170 * soft-fp/fixdfti.c: Likewise.
171 * soft-fp/fixhfti.c: Likewise.
172 * soft-fp/fixsfdi.c: Likewise.
173 * soft-fp/fixsfsi.c: Likewise.
174 * soft-fp/fixsfti.c: Likewise.
175 * soft-fp/fixtfdi.c: Likewise.
176 * soft-fp/fixtfsi.c: Likewise.
177 * soft-fp/fixtfti.c: Likewise.
178 * soft-fp/fixunsdfdi.c: Likewise.
179 * soft-fp/fixunsdfsi.c: Likewise.
180 * soft-fp/fixunsdfti.c: Likewise.
181 * soft-fp/fixunshfti.c: Likewise.
182 * soft-fp/fixunssfdi.c: Likewise.
183 * soft-fp/fixunssfsi.c: Likewise.
184 * soft-fp/fixunssfti.c: Likewise.
185 * soft-fp/fixunstfdi.c: Likewise.
186 * soft-fp/fixunstfsi.c: Likewise.
187 * soft-fp/fixunstfti.c: Likewise.
188 * soft-fp/floatdidf.c: Likewise.
189 * soft-fp/floatdisf.c: Likewise.
190 * soft-fp/floatditf.c: Likewise.
191 * soft-fp/floatsidf.c: Likewise.
192 * soft-fp/floatsisf.c: Likewise.
193 * soft-fp/floatsitf.c: Likewise.
194 * soft-fp/floattidf.c: Likewise.
195 * soft-fp/floattihf.c: Likewise.
196 * soft-fp/floattisf.c: Likewise.
197 * soft-fp/floattitf.c: Likewise.
198 * soft-fp/floatundidf.c: Likewise.
199 * soft-fp/floatundisf.c: Likewise.
200 * soft-fp/floatunditf.c: Likewise.
201 * soft-fp/floatunsidf.c: Likewise.
202 * soft-fp/floatunsisf.c: Likewise.
203 * soft-fp/floatunsitf.c: Likewise.
204 * soft-fp/floatuntidf.c: Likewise.
205 * soft-fp/floatuntihf.c: Likewise.
206 * soft-fp/floatuntisf.c: Likewise.
207 * soft-fp/floatuntitf.c: Likewise.
208 * soft-fp/gedf2.c: Likewise.
209 * soft-fp/gesf2.c: Likewise.
210 * soft-fp/getf2.c: Likewise.
211 * soft-fp/half.h: Likewise.
212 * soft-fp/ledf2.c: Likewise.
213 * soft-fp/lesf2.c: Likewise.
214 * soft-fp/letf2.c: Likewise.
215 * soft-fp/muldf3.c: Likewise.
216 * soft-fp/mulsf3.c: Likewise.
217 * soft-fp/multf3.c: Likewise.
218 * soft-fp/negdf2.c: Likewise.
219 * soft-fp/negsf2.c: Likewise.
220 * soft-fp/negtf2.c: Likewise.
221 * soft-fp/op-1.h: Likewise.
222 * soft-fp/op-2.h: Likewise.
223 * soft-fp/op-4.h: Likewise.
224 * soft-fp/op-8.h: Likewise.
225 * soft-fp/op-common.h: Likewise.
226 * soft-fp/quad.h: Likewise.
227 * soft-fp/single.h: Likewise.
228 * soft-fp/soft-fp.h: Likewise.
229 * soft-fp/subdf3.c: Likewise.
230 * soft-fp/subsf3.c: Likewise.
231 * soft-fp/subtf3.c: Likewise.
232 * soft-fp/truncdfsf2.c: Likewise.
233 * soft-fp/trunctfdf2.c: Likewise.
234 * soft-fp/trunctfhf2.c: Likewise.
235 * soft-fp/trunctfsf2.c: Likewise.
236 * soft-fp/trunctfxf2.c: Likewise.
237 * soft-fp/unorddf2.c: Likewise.
238 * soft-fp/unordsf2.c: Likewise.
239 * soft-fp/unordtf2.c: Likewise.
241 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
243 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
244 * config/i386/cpuinfo.h (processor_types): Add znver2.
246 2018-11-01 Paul Koning <ni1d@arrl.net>
248 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
249 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
251 2018-10-31 Joseph Myers <joseph@codesourcery.com>
254 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
255 * configure: Regenerate.
257 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
259 * config/arc/lib1funcs.S (_muldi3): New function.
260 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
262 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
264 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
266 2018-10-25 Martin Liska <mliska@suse.cz>
269 * libgcov-profiler.c: Revert.
271 2018-10-24 Martin Liska <mliska@suse.cz>
273 * libgcov-profiler.c: Start from 1 in order to distinguish
274 functions which were seen and these that were not.
276 2018-10-18 Paul Koning <ni1d@arrl.net>
278 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
280 * divmod.c: Update references to __udivmodsi4.
282 * udivhi3.c: New file.
283 * udivmodhi4.c: New file.
284 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
286 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
288 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
290 2018-10-12 Olivier Hainque <hainque@adacore.com>
292 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
293 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
295 2018-10-08 Paul Koning <ni1d@arrl.net>
297 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
299 2018-10-04 Martin Liska <mliska@suse.cz>
301 PR gcov-profile/84107
302 * libgcov-profiler.c (__gcov_indirect_call):
303 Change type to indirect_call_tuple.
304 (struct indirect_call_tuple): New struct.
305 (__gcov_indirect_call_topn_profiler): Change type.
306 (__gcov_indirect_call_profiler_v2): Use the new
308 * libgcov.h (struct indirect_call_tuple): New struct
311 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
313 * libgcc2.c (isnan): Use __builtin_isnan.
314 (isfinite): Use __builtin_isfinite.
315 (isinf): Use __builtin_isinf.
317 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
319 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
321 2018-09-21 Alexandre Oliva <oliva@adacore.com>
323 * config/vxcache.c: New file. Provide __clear_cache, based on
324 the cacheTextUpdate VxWorks service.
325 * config/t-vxworks (LIB2ADD): Add vxcache.c.
326 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
327 * config/t-vxwoks7: Likewise.
329 2018-09-21 Martin Liska <mliska@suse.cz>
331 * libgcov-driver.c (crc32_unsigned): Remove.
332 (gcov_histogram_insert): Likewise.
333 (gcov_compute_histogram): Likewise.
334 (compute_summary): Simplify rapidly.
335 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
336 (merge_summary): Rapidly simplify.
337 (dump_one_gcov): Ignore gcov_summary.
338 (gcov_do_dump): Do not handle program summary, it's not
340 * libgcov-util.c (tag_summary): Remove.
341 (read_gcda_finalize): Fix coding style.
342 (read_gcda_file): Initialize curr_object_summary.
343 (compute_summary): Remove.
344 (calculate_overlap): Remove settings of run_max.
346 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
348 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
349 ucontext_t type instead.
350 (nds32_fallback_frame_state): Remove struct _sigframe statement.
352 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
354 * config/nds32/t-nds32-glibc: New file.
356 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
358 * configure.ac (solaris_ld_v2_maps): New test.
359 * configure: Regenerate.
360 * Makefile.in (solaris_ld_v2_maps): New variable.
361 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
364 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
367 * config/arm/lib1funcs.asm (speculation_barrier): New function.
368 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
371 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
373 * config/unwind-dw2-fde-darwin.c
374 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
375 * config/darwin10-unwind-find-enc-func.c: … to here.
376 * config/t-darwin: Build Darwin10 unwinder shim crt.
377 * libgcc/config.host: Add the Darwin10 unwinder shim.
379 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
381 * config.host: Add crtbegin.o and crtend.o for
382 powerpc-wrs-vxworks target.
384 2018-08-17 Jojo <jijie_rong@c-sky.com>
385 Huibin Wang <huibin_wang@c-sky.com>
386 Sandra Loosemore <sandra@codesourcery.com>
387 Chung-Lin Tang <cltang@codesourcery.com>
391 * config.host: Add C-SKY support.
392 * config/csky/*: New.
394 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
396 * config/nds32/t-nds32-isr: Rearrange object dependency.
397 * config/nds32/initfini.c: Add dwarf2 unwinding support.
398 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
400 * config/nds32/isr-library/excp_isr.S: Ditto.
401 * config/nds32/isr-library/intr_isr.S: Ditto.
402 * config/nds32/isr-library/reset.S: Ditto.
403 * config/nds32/isr-library/restore_all.inc: Ditto.
404 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
405 * config/nds32/isr-library/restore_partial.inc: Ditto.
406 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
407 * config/nds32/isr-library/save_all.inc: Ditto.
408 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
409 * config/nds32/isr-library/save_partial.inc: Ditto.
410 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
411 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
413 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
415 * config/pa/linux-atomic.c: Update comment.
416 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
417 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
418 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
419 __ATOMIC_RELAXED for atomic loads.
420 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
421 unordered store to release lock.
422 (__sync_lock_release_8): Likewise.
423 (SYNC_LOCK_RELEASE_2): Remove define.
425 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
428 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
429 exponent goes negative. Update my email address.
430 * config/arm/ieee754-sf.S: Likewise.
432 2018-08-01 Martin Liska <mliska@suse.cz>
434 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
435 check that __gcov_indirect_call_callee is non-null.
437 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
439 * config/arm/ieee754-df.S: Fix comment for code working on
441 * config/arm/ieee754-sf.S: Likewise.
443 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
446 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
449 2018-07-05 James Clarke <jrtc27@jrtc27.com>
451 * configure: Regenerated.
453 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
455 * Makefile.in (install_leaf): Use enable_gcov instead of
458 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
460 * configure.ac: Add --disable-gcov option.
461 * configure: Regenerate.
462 * Makefile.in: Honour @enable_gcov@.
464 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
466 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
467 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
468 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
469 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
471 * config/arm/ieee754-sf.S: Likewise.
472 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
474 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
476 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
478 * config/arm/ieee754-sf.S: Likewise.
480 2018-06-20 Than McIntosh <thanm@google.com>
483 * generic-morestack.c (allocate_segment): Move calls to getenv and
484 getpagesize to __morestack_load_mmap.
485 (__morestack_load_mmap) Initialize static_pagesize and
486 use_guard_page here so as to avoid clobbering SSE regs during a
489 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
491 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
492 support modules with -mno-gnu-attribute.
493 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
495 2018-06-07 Olivier Hainque <hainque@adacore.com>
497 * config/t-vxworks (LIBGCC_INCLUDES): Add
498 -I$(MULTIBUILDTOP)../../gcc/include.
499 * config/t-vxworks7: Likewise. Reformat a bit to match
500 the t-vxworks layout.
502 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
504 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
506 2018-06-07 Martin Liska <mliska@suse.cz>
508 * libgcov-driver.c: Rename cs_all to all and assign it from
511 2018-06-07 Martin Liska <mliska@suse.cz>
514 * libgcov-driver-system.c (replace_filename_variables): Use
515 memcpy instead of mempcpy.
516 (allocate_filename_struct): Do not allocate filename, allocate
518 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
519 here and properly copy content into it.
520 * libgcov-driver.c (struct gcov_filename): Remove max_length
521 field, change prefix from size_t into char *.
522 (compute_summary): Do not calculate longest filename.
523 (gcov_do_dump): Release memory of gf.filename after each file.
524 * libgcov-util.c (compute_summary): Use new signature of
526 (calculate_overlap): Likewise.
528 2018-06-05 Martin Liska <mliska@suse.cz>
530 PR gcov-profile/47618
531 * libgcov-driver-system.c (replace_filename_variables): New
533 (gcov_exit_open_gcda_file): Use it.
535 2018-06-05 Martin Liska <mliska@suse.cz>
537 * libgcov-driver.c (gcov_compute_histogram): Remove usage
539 (compute_summary): Do it just for a single summary.
540 (merge_one_data): Likewise.
541 (merge_summary): Simplify as we read just single summary.
542 (dump_one_gcov): Pass proper argument.
543 * libgcov-util.c (compute_one_gcov): Simplify as we have just
545 (gcov_info_count_all_cold): Likewise.
546 (calculate_overlap): Likewise.
548 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
549 Monk Chiang <sh.chiang04@gmail.com>
551 * config.host (nds32*-linux*): New.
552 * config/nds32/linux-atomic.c: New file.
553 * config/nds32/linux-unwind.h: New file.
555 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
558 * config/i386/cpuinfo.c (get_amd_cpu): Return
559 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
561 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
563 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
565 2018-05-29 Martin Liska <mliska@suse.cz>
567 PR gcov-profile/85759
568 * libgcov-driver-system.c (gcov_error): Introduce usage of
569 GCOV_EXIT_AT_ERROR env. variable.
570 * libgcov-driver.c (merge_one_data): Print error that we
571 overwrite a gcov file with a different timestamp.
573 2018-05-23 Kalamatee <kalamatee@gmail.com>
575 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
578 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
579 Monk Chiang <sh.chiang04@gmail.com>
580 Jim Wilson <jimw@sifive.com>
582 * config/riscv/save-restore.S: Add support for rv32e.
584 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
586 * config/arm/libunwind.S: Update comment relating to armv5.
588 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
590 * config/arm/cmse.c (cmse_check_address_range): Replace
591 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
593 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
595 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
596 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
598 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
600 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
601 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
603 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
605 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
607 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
608 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
611 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
612 op_and_fetch to return the right result.
614 2018-04-27 Alan Modra <amodra@gmail.com>
617 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
618 -fno-asynchronous-unwind-tables.
620 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
622 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
623 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
625 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
627 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
628 when including "config/i386/shadow-stack-unwind.h".
630 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
632 * configure: Regenerated.
634 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
637 * config/rs6000/_powikf2.c: New file. Add support for the
638 __builtin_powil function when long double is IEEE 128-bit floating
640 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
642 (__powikf2): Likewise.
643 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
644 (__powikf2_hw): Likewise.
645 (__powikf2): Likewise.
646 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
647 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
648 (_powikf2-hw.c): Likewise.
650 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
653 * unwind-generic.h (_Unwind_Frames_Increment): New.
654 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
656 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
657 count with _Unwind_Frames_Increment.
658 (_Unwind_ForcedUnwind_Phase2): Likewise.
660 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
663 * config/i386/morestack.S (__stack_split_initialize): Add
666 2018-04-19 Jakub Jelinek <jakub@redhat.com>
668 * configure: Regenerated.
670 2018-04-18 David Malcolm <dmalcolm@redhat.com>
673 * configure: Regenerate.
675 2018-04-16 Jakub Jelinek <jakub@redhat.com>
678 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
679 -Wdangling-else warnings. Mask shift counts to avoid
680 -Wshift-count-negative and -Wshift-count-overflow false positives.
682 2018-04-06 Ruslan Bukin <br@bsdpad.com>
684 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
686 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
689 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
690 (XSTATE_FP): Likewise.
691 (XSTATE_SSE): Likewise.
692 (XSTATE_YMM): Likewise.
693 (XSTATE_OPMASK): Likewise.
694 (XSTATE_ZMM): Likewise.
695 (XSTATE_HI_ZMM): Likewise.
696 (XCR_AVX_ENABLED_MASK): Likewise.
697 (XCR_AVX512F_ENABLED_MASK): Likewise.
698 (get_available_features): Enable AVX and AVX512 features only
699 if their states are supported by OSXSAVE.
701 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
704 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
705 Fix a typo, tmp => 255.
707 2018-03-20 Jakub Jelinek <jakub@redhat.com>
710 * config/i386/cpuinfo.h (__cpu_features2): Declare.
711 * config/i386/cpuinfo.c (__cpu_features2): New variable for
713 (set_feature): Define.
714 (get_available_features): Use set_feature macro. Set __cpu_features2
715 to the second word of features ifndef SHARED.
717 2018-03-15 Julia Koval <julia.koval@intel.com>
719 * config/i386/cpuinfo.c (get_available_features): Add
720 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
721 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
722 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
723 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
724 FEATURE_AVX512BITALG.
726 2018-03-14 Julia Koval <julia.koval@intel.com>
728 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
729 icelake client and icelake server.
731 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
733 * config/pa/fptr.c (_dl_read_access_allowed): New.
734 (__canonicalize_funcptr_for_compare): Use it.
736 2018-02-28 Jakub Jelinek <jakub@redhat.com>
739 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
740 $asm_hidden_op if visibility ("hidden") attribute works.
741 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
742 * config/i386/i386-asm.h: Don't include auto-host.h.
743 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
744 PACKAGE_URL): Don't undefine.
745 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
746 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
747 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
748 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
749 definition instead of hardcoded .hidden.
750 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
751 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
752 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
753 (USE_GAS_CFI_DIRECTIVES): Don't define.
754 * configure: Regenerated.
755 * config.in: Likewise.
757 2018-02-26 Jakub Jelinek <jakub@redhat.com>
760 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
761 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
762 inclusion of auto-target.h and auto-host.h.
763 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
764 __GCC_HAVE_DWARF2_CFI_ASM.
765 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
766 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
768 * config/i386/cygwin.S: Don't include auto-host.h here, just
769 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
770 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
771 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
772 * config/i386/resms64fx.h: Add cfi_* directives.
773 * config/i386/resms64x.h: Likewise.
775 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
777 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
778 .literal_position directive.
779 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
781 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
784 * configure: Regenerate.
786 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
789 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
790 Include cetintrin.h not x86intrin.h.
792 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
795 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
796 Use new _get_ssp and _inc_ssp intrinsics.
798 2018-02-02 Julia Koval <julia.koval@intel.com>
800 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
802 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
804 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
806 (__divsi3): Use RF16 safe registers.
807 (__modsi3): Likewise.
809 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
811 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
812 (__divsf3): Make NaN return value quiet.
813 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
814 (__divdf3): Make NaN return value quiet.
816 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
818 * config/rl78/anddi3.S: New assembly file.
819 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
821 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
823 * config/rl78/umindi3.S: New assembly file.
824 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
826 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
828 * config/rl78/smindi3.S: New assembly file.
829 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
831 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
833 * config/rl78/smaxdi3.S: New assembly file.
834 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
836 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
838 * config/rl78/umaxdi3.S: New assembly file.
839 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
841 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
844 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
845 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
847 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
849 * config/aarch64/value-unwind.h (aarch64_vg): New function.
850 (DWARF_LAZY_REGISTER_VALUE): Define.
851 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
852 to provide a fallback register value.
854 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
856 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
857 __ibm128, instead of trying to use long double.
858 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
859 accomidate -mabi=ieeelongdouble multilibs.
860 (CVT_IBM128_TO_FLOAT128): Likewise.
861 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
862 the appropriate IBM extended double type.
863 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
864 (__gcc_qsub): Likewise.
865 (__gcc_qmul): Likewise.
866 (__gcc_qdiv): Likewise.
867 (pack_ldouble): Likewise.
868 (__gcc_qneg): Likewise.
869 (__gcc_qeq): Likewise.
870 (__gcc_qne): Likewise.
871 (__gcc_qge): Likewise.
872 (__gcc_qle): Likewise.
873 (__gcc_stoq): Likewise.
874 (__gcc_dtoq): Likewise.
875 (__gcc_itoq): Likewise.
876 (__gcc_utoq): Likewise.
877 (__gcc_qunord): Likewise.
878 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
879 quad-float128.h for the definitions.
880 (COPYSIGN): Use the f128 version instead of the q version.
881 (INFINITY): Likewise.
882 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
883 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
884 quad-float128.h for the definitions.
885 (COPYSIGN): Use the f128 version instead of the q version.
886 (INFINITY): Likewise.
888 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
889 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
890 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
892 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
894 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
897 2018-01-03 Jakub Jelinek <jakub@redhat.com>
899 Update copyright years.
901 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
903 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
904 * config/riscv/multi3.c: New file.
905 * config/riscv/multi3.S: Remove.
907 2017-12-08 Jim Wilson <jimw@sifive.com>
909 * config/riscv/div.S: Use FUNC_* macros.
910 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
911 * config/riscv/save-restore.S: Likewise.
912 * config/riscv/riscv-asm.h: New.
914 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
916 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
917 * config/rs6000/_divkc3.c (__divkc3): Likewise.
920 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
921 correct type for all ifunc resolvers to silence -Wattribute-alias
922 warnings. Eliminate the forward declaration of the resolver
923 functions which is no longer needed.
924 (__subkf3_resolve): Likewise.
925 (__mulkf3_resolve): Likewise.
926 (__divkf3_resolve): Likewise.
927 (__negkf2_resolve): Likewise.
928 (__eqkf2_resolve): Likewise.
929 (__nekf2_resolve): Likewise.
930 (__gekf2_resolve): Likewise.
931 (__gtkf2_resolve): Likewise.
932 (__lekf2_resolve): Likewise.
933 (__ltkf2_resolve): Likewise.
934 (__unordkf2_resolve): Likewise.
935 (__extendsfkf2_resolve): Likewise.
936 (__extenddfkf2_resolve): Likewise.
937 (__trunckfsf2_resolve): Likewise.
938 (__trunckfdf2_resolve): Likewise.
939 (__fixkfsi_resolve): Likewise.
940 (__fixkfdi_resolve): Likewise.
941 (__fixunskfsi_resolve): Likewise.
942 (__fixunskfdi_resolve): Likewise.
943 (__floatsikf_resolve): Likewise.
944 (__floatdikf_resolve): Likewise.
945 (__floatunsikf_resolve): Likewise.
946 (__floatundikf_resolve): Likewise.
947 (__extendkftf2_resolve): Likewise.
948 (__trunctfkf2_resolve): Likewise.
951 * config/rs6000/quad-float128.h (TF): Don't define if long double
952 is IEEE 128-bit floating point.
953 (TCtype): Define as either TCmode or KCmode, depending on whether
954 long double is IEEE 128-bit floating point.
955 (__mulkc3_sw): Add declarations for software/hardware versions of
956 complex multiply/divide.
957 (__divkc3_sw): Likewise.
958 (__mulkc3_hw): Likewise.
959 (__divkc3_hw): Likewise.
960 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
961 handlers to switch between using software emulation and hardware
962 float128 instructions, build the complex multiply/divide functions
963 for both software and hardware support.
964 * config/rs6000/_divkc3.c (_divkc3): Likewise.
965 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
966 (__divkc3_resolve): Likewise.
967 (__mulkc3): Likewise.
968 (__divkc3): Likewise.
969 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
970 (fp128_hw_src): Likewise.
971 (fp128_hw_static_obj): Likewise.
972 (fp128_hw_shared_obj): Likewise.
973 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
974 _mulkc3.c and _divkc3.c, changing the function name.
975 (_divkc3-hw.c): Likewise.
976 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
979 2017-11-26 Julia Koval <julia.koval@intel.com>
981 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
982 * config/i386/cpuinfo.h (processor_subtypes): Add
983 INTEL_COREI7_CANNONLAKE.
985 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
988 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
990 * config/xtensa/unwind-dw2-xtensa.c: Likewise
991 * config/ia64/unwind-ia64.c: Add frames parameter.
992 * unwind-sjlj.c: Likewise.
994 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
996 * config/i386/linux-unwind.h: Include
997 config/i386/shadow-stack-unwind.h.
998 * config/i386/shadow-stack-unwind.h: New file.
999 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1000 pass it to _Unwind_Frames_Extra.
1001 * unwind-generic.h (_Unwind_Frames_Extra): New.
1002 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1003 parameter. Add local variable frames to count number of frames.
1004 (_Unwind_ForcedUnwind_Phase2): Likewise.
1005 (_Unwind_RaiseException): Add local variable frames to count
1006 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1008 (_Unwind_ForcedUnwind): Likewise.
1009 (_Unwind_Resume): Likewise.
1010 (_Unwind_Resume_or_Rethrow): Likewise.
1012 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1014 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1016 * config/i386/morestack.S: Include <cet.h>.
1017 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1018 * config/i386/resms64.h: Include <cet.h>.
1019 * config/i386/resms64f.h: Likewise.
1020 * config/i386/resms64fx.h: Likewise.
1021 * config/i386/resms64x.h: Likewise.
1022 * config/i386/savms64.h: Likewise.
1023 * config/i386/savms64f.h: Likewise.
1024 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1025 (CRTSTUFF_T_CFLAGS): Likewise.
1026 * configure.ac: Include ../config/cet.m4.
1027 Set and substitute CET_FLAGS.
1028 * configure: Regenerated.
1030 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1032 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1034 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1035 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1036 * configure: Regenerate.
1038 2017-11-07 Tom de Vries <tom@codesourcery.com>
1040 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1041 after "do {} while (0)".
1043 2017-11-07 Tom de Vries <tom@codesourcery.com>
1046 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1047 semicolon after "do {} while (0)".
1048 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1049 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1050 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1051 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1053 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1056 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1057 sysctl to determine whether we're in a trampoline.
1058 Keep the pattern matching method for systems without
1059 KERN_PROC_SIGTRAMP sysctl.
1061 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1062 Vineet Gupta <vgupta@synopsys.com>
1064 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1065 * config/arc/linux-unwind-reg.def: New file.
1066 * config/arc/linux-unwind-reg.h: Likewise.
1068 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1070 * config/rl78/subdi3.S: New assembly file.
1071 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1073 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1075 * config/rl78/adddi3.S: New assembly file.
1076 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1078 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1081 * libgcc2.c (__mulvDI3): If both operands have
1082 the same highpart of -1 and the topmost bit of lowpart is 0,
1083 multiplication overflows even if both lowparts are 0.
1085 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1087 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1089 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1091 * config/microblaze/crti.S, config/microblaze/crtn.S,
1092 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1093 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1094 config/microblaze/mulsi3.S,
1095 config/microblaze/stack_overflow_exit.S,
1096 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1097 config/pa/milli64.S: Add .note.GNU-stack section.
1099 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1101 * configure.ac: Add Check for HAVE_AS_AVX.
1102 * config.in: Regenerate.
1103 * configure: Likewise.
1104 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1105 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1106 Correct out-of-date comments.
1108 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1110 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1111 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1113 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1115 * config/i386/i386-asm.h (PASTE2): New macro.
1116 (ASMNAME): Modify to use PASTE2.
1117 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1118 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1119 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1120 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1121 * config/i386/resms64f.S: Likewise.
1122 * config/i386/resms64fx.S: Likewise.
1123 * config/i386/resms64x.S: Likewise.
1124 * config/i386/savms64.S: Likewise.
1125 * config/i386/savms64f.S: Likewise.
1126 * config/i386/avx_resms64.S: New file that only defines a macro and
1127 includes it's corresponding header file.
1128 * config/i386/avx_resms64f.S: Likewise.
1129 * config/i386/avx_resms64fx.S: Likewise.
1130 * config/i386/avx_resms64x.S: Likewise.
1131 * config/i386/avx_savms64.S: Likewise.
1132 * config/i386/avx_savms64f.S: Likewise.
1133 * config/i386/sse_resms64.S: Likewise.
1134 * config/i386/sse_resms64f.S: Likewise.
1135 * config/i386/sse_resms64fx.S: Likewise.
1136 * config/i386/sse_resms64x.S: Likewise.
1137 * config/i386/sse_savms64.S: Likewise.
1138 * config/i386/sse_savms64f.S: Likewise.
1139 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1141 2017-09-01 Olivier Hainque <hainque@adacore.com>
1142 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1144 2017-08-31 Olivier Hainque <hainque@adacore.com>
1146 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1147 match as powerpc-wrs-vxworks*.
1149 2017-08-07 Jonathan Yong <10walls@gmail.com>
1151 * config.host (*-cygwin): Include file from mingw
1152 config/i386/enable-execute-stack-mingw32.c
1154 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1155 Doug Rupp <rupp@adacore.com>
1156 Olivier Hainque <hainque@adacore.com>
1158 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1159 as well as arm-wrs-vxworks.
1160 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1162 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1163 __exidx_start and __exidx_end for downloadable modules.
1165 2017-08-01 Olivier Hainque <hainque@adacore.com>
1167 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1168 * config/t-vxworks7: Likewise.
1170 2017-08-01 Olivier Hainque <hainque@adacore.com>
1172 * config/t-vxworks: Instead of redefining LIB2ADD,
1173 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1175 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1177 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1179 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1182 * config.host: include i386/t-msabi for darwin and solaris.
1183 * config/i386/i386-asm.h
1184 (ELFFN): Rename to FN_TYPE.
1185 (FN_SIZE): New macro.
1186 (FN_HIDDEN): Likewise.
1187 (ASMNAME): Likewise.
1188 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1190 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1191 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1192 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1194 * config/i386/resms64f.S: Likewise.
1195 * config/i386/resms64fx.S: Likewise.
1196 * config/i386/resms64x.S: Likewise.
1197 * config/i386/savms64.S: Likewise.
1198 * config/i386/savms64f.S: Likewise.
1200 2017-07-19 John Marino <gnugcc@marino.st>
1202 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1204 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1207 * configure.ac (PowerPC float128 hardware support): Test whether
1208 we can use __builtin_cpu_supports before enabling the ifunc
1210 * configure: Regenerate.
1212 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1214 * config.host: Remove uclibc from arc target spec.
1216 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1218 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1220 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1222 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1223 (have_ieee_hw_p): Delete function.
1224 (SW_OR_HW) Use __builtin_cpu_supports().
1226 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1228 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1230 2017-07-03 Olivier Hainque <hainque@adacore.com>
1232 * config/t-vxworks7: New file, really.
1234 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1236 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1237 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1238 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1239 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1240 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1241 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1242 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1243 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1244 config/sh/linux-unwind.h (sh_fallback_frame_state),
1245 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1246 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1247 ucontext_t instead of struct ucontext.
1249 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1251 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1252 (x86_64-wrs-vxworks7): Likewise.
1254 2017-06-27 Olivier Hainque <hainque@adacore.com>
1256 * config/t-vxworks7: New file.
1257 * config.host (*-*-vxworks7): Use it.
1259 2017-06-22 Matt Turner <mattst88@gmail.com>
1261 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1264 2017-06-21 Richard Biener <rguenther@suse.de>
1266 PR gcov-profile/81080
1267 * configure.ac: Add AC_SYS_LARGEFILE.
1268 * libgcov.h: Include auto-target.h before tsystem.h to pick
1269 up _FILE_OFFSET_BITS which might differ for multilibs.
1270 * config.in: Regenerate.
1271 * configure: Likewise.
1273 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1275 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1277 2017-06-09 Martin Liska <mliska@suse.cz>
1279 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1280 Reset __gcov_indirect_call_callee to NULL.
1282 2017-06-08 Olivier Hainque <hainque@adacore.com>
1284 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1285 the set of -I options, support for direct inclusions of net/uio.h
1286 by VxWorks header files via ioLib.h.
1288 2017-06-07 Tony Reix <tony.reix@atos.net>
1289 Matthieu Sarter <matthieu.sarter.external@atos.net>
1290 David Edelsohn <dje.gcc@gmail.com>
1292 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1294 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1297 2017-06-02 Olivier Hainque <hainque@adacore.com>
1299 * config/vxlib.c (__gthread_once): Add missing value to
1302 2017-05-30 Olivier Hainque <hainque@adacore.com>
1304 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1305 dollar sign before $(MULTIDIR).
1307 2017-05-26 Richard Henderson <rth@redhat.com>
1310 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1312 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1314 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1315 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1316 * config/arm/unwind-arm.c: Implement the above.
1318 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1320 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1321 section for a non-executable stack.
1323 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1326 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1328 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1330 * config.host: Add i386/t-msabi to i386/t-linux file list.
1331 * config/i386/i386-asm.h: New file.
1332 * config/i386/resms64.S: New file.
1333 * config/i386/resms64f.S: New file.
1334 * config/i386/resms64fx.S: New file.
1335 * config/i386/resms64x.S: New file.
1336 * config/i386/savms64.S: New file.
1337 * config/i386/savms64f.S: New file.
1338 * config/i386/t-msabi: New file.
1340 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1342 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1343 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1345 2017-05-05 Joshua Conner <joshconner@google.com>
1347 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1348 pc-relative indirect handling for fuchsia.
1349 * config/t-slibgcc-fuchsia: New file.
1350 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1351 x86_64-*-fuchsia*): Add definitions.
1353 2017-04-19 Martin Liska <mliska@suse.cz>
1355 PR gcov-profile/80435
1356 * Makefile.in: Install gcov.h.
1358 * libgcov.h: Use the header and make __gcov_flush publicly
1361 2017-04-18 Martin Liska <mliska@suse.cz>
1363 PR gcov-profile/78783
1364 * libgcov-driver.c (gcov_get_filename): New function.
1366 2017-04-07 Jeff Law <law@redhat.com>
1368 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1369 target makefile fragment.
1370 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1372 2017-04-07 Alan Modra <amodra@gmail.com>
1375 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1377 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1379 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1381 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1383 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1385 2017-03-10 John Marino <gnugcc@marino.st>
1387 * config/aarch64/freebsd-unwind.h: New file.
1388 * config.host: Add aarch64-*-freebsd unwinder.
1390 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1392 * config/rs6000/crtrestvr.s: Use .machine altivec.
1393 * config/rs6000/crtsavevr.s: Ditto.
1395 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1397 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1398 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1399 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1400 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1401 * configure: Regenerate.
1402 * config.in: Regenerate.
1404 2017-03-02 Jonathan Yong <10walls@gmail.com>
1406 * config/i386/gthr-win32.h: Define NOGDI before
1407 windows.h include to prevent w32api CC_NONE macro
1408 clash with libgfortran.
1410 2017-03-02 Jonathan Yong <10walls@gmail.com>
1412 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1414 2017-02-16 Andrew Pinski <apinski@cavium.com>
1416 * config/aarch64/value-unwind.h: New file.
1417 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1420 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1422 * config.host: Add RISC-V tuples.
1423 * config/riscv/atomic.c: New file.
1424 * config/riscv/crti.S: Likewise.
1425 * config/riscv/crtn.S: Likewise.
1426 * config/riscv/div.S: Likewise.
1427 * config/riscv/linux-unwind.h: Likewise.
1428 * config/riscv/muldi3.S: Likewise.
1429 * config/riscv/multi3.S: Likewise.
1430 * config/riscv/save-restore.S: Likewise.
1431 * config/riscv/sfp-machine.h: Likewise.
1432 * config/riscv/t-elf: Likewise.
1433 * config/riscv/t-elf32: Likewise.
1434 * config/riscv/t-elf64: Likewise.
1435 * config/riscv/t-softfp32: Likewise.
1436 * config/riscv/t-softfp64: Likewise.
1438 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1440 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1441 /* FALLTHRU */ comments.
1443 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1445 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1447 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1449 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1450 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1451 DW_CFA_GNU_window_save for AArch64 and LP64.
1453 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1455 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1457 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1459 * config/aarch64/aarch64-unwind.h: New file.
1460 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1461 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1462 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1463 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1464 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1465 (aarch64_post_extract_frame_addr): New function.
1466 (aarch64_post_frob_eh_handler_addr): New function.
1467 (aarch64_frob_update_context): New function.
1468 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1469 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1470 aarch64*-*-freebsd*):
1471 Initialize md_unwind_header to include aarch64-unwind.h.
1472 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1473 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1475 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1476 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1477 (uw_frob_return_addr): New function.
1478 (uw_install_context): Use uw_frob_return_addr.
1480 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1483 * configure.ac: Add GCC_BASE_VER.
1484 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1485 version from BASE-VER file.
1486 * configure: Regenerated.
1488 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1490 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1491 libmul_f5.a): Filter archived prerequisites.
1493 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1495 * config/i386/cpuinfo.h (processor_features): Add
1496 FEATURE_AVX512VPOPCNTDQ.
1497 * config/i386/cpuinfo.c (get_available_features): Habdle new
1500 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1502 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1503 payload if [__mips_nan2008].
1505 2017-01-04 Alan Modra <amodra@gmail.com>
1507 * Makefile.in (configure_deps): Update.
1508 * configure: Regenerate.
1510 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1512 Update copyright years.
1514 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1516 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1517 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1518 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1520 2016-12-17 Matthias Klose <doko@ubuntu.com>
1522 * config/arc/gmon: Remove empty directory.
1524 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1526 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1528 (arc*-*-elf*): Likewise.
1529 * config/arc/t-arc: Remove old gmon lib targets.
1530 * config/arc/crtg.S: Remove.
1531 * config/arc/crtgend.S: Likewise.
1532 * config/arc/gmon/atomic.h: Likewise.
1533 * config/arc/gmon/auxreg.h: Likewise.
1534 * config/arc/gmon/dcache_linesz.S: Likewise.
1535 * config/arc/gmon/gmon.c: Likewise.
1536 * config/arc/gmon/machine-gmon.h: Likewise.
1537 * config/arc/gmon/mcount.c: Likewise.
1538 * config/arc/gmon/prof-freq-stub.S: Likewise.
1539 * config/arc/gmon/prof-freq.c: Likewise.
1540 * config/arc/gmon/profil.S: Likewise.
1541 * config/arc/gmon/sys/gmon.h: Likewise.
1542 * config/arc/gmon/sys/gmon_out.h: Likewise.
1543 * config/arc/t-arc-newlib: Likewise.
1544 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1546 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1548 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1550 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1552 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1553 R16 instead of push + pop.
1554 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1556 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1558 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1561 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1563 * config.host (arc*-*-linux-uclibc*): Use default extra
1564 objects. Include linux-android header.
1565 * config/arc/crti.S (_init): Declare symbol as function.
1568 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1571 * config/i386/cpuinfo.c: Move denums for processor vendors,
1572 processor type, processor subtypes and declaration of
1573 struct __processor_model into
1574 * config/i386/cpuinfo.h: New header file.
1576 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1577 Thomas Preud'homme <thomas.preudhomme@arm.com>
1579 * config/arm/cmse_nonsecure_call.S: New.
1580 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1582 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1583 Thomas Preud'homme <thomas.preudhomme@arm.com>
1585 * config/arm/t-arm (HAVE_CMSE): New.
1586 * config/arm/cmse.c: New.
1588 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1591 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1592 use generic linker version information on Blackfin.
1595 * libgcc/mkmap-symver.awk: add support for skip_underscore
1597 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1598 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1601 * config/t-darwin: Default builds to 10.5 codegen.
1603 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1605 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1606 (_FP_NANSIGN_H): Likewise.
1607 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1608 (softfp_truncations): Add tfhf.
1609 (softfp_extras): Add required conversion functions.
1611 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1612 Matthew Wahab <matthew.wahab@arm.com>
1614 * config/arm/fp16.c (binary64): New.
1615 (__gnu_d2h_internal): New.
1616 (__gnu_d2h_ieee): New.
1617 (__gnu_d2h_alternative): New.
1619 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1620 Matthew Wahab <matthew.wahab@arm.com>
1622 * config/arm/fp16.c (struct format): New.
1624 (__gnu_float2h_internal): New. Body moved from
1625 __gnu_f2h_internal and generalize.
1626 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1627 Call it with binary32.
1629 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1631 * soft-fp/extendhftf2.c: Update from glibc.
1632 * soft-fp/fixhfti.c: Likewise.
1633 * soft-fp/fixunshfti.c: Likewise.
1634 * soft-fp/floattihf.c: Likewise.
1635 * soft-fp/floatuntihf.c: Likewise.
1636 * soft-fp/half.h: Likewise.
1637 * soft-fp/trunctfhf2.c: Likewise.
1639 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1642 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1643 __TMC_END__ behind a passthrough asm.
1645 2016-11-18 Walter Lee <walt@tilera.com>
1647 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1649 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1651 * config/i386/cpuinfo.c (processor_features): Add
1652 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1654 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1656 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1657 (__ARC_NORM__): Use instead ARC_OPTFPE.
1658 * config/arc/fp-hack.h: Likewise.
1659 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1660 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1662 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1664 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1665 * config/nvptx/mgomp.c: New file.
1666 * config/nvptx/t-nvptx: Add mgomp.c
1668 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1671 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1673 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1675 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1676 of checking for cpus.
1677 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1678 (__modsi3, __clzsi2): Likewise.
1680 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1682 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1683 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1684 * config/i386/t-cpuinfo-static: New.
1686 2016-11-03 Martin Liska <mliska@suse.cz>
1688 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1689 (__gcov_time_profiler_atomic): Likewise.
1691 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1694 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1695 count_leading_zeros.
1697 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1699 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1700 * libgcc2.c (__divmoddi4): New function.
1701 * libgcc2.h (__divmoddi4): Declare.
1702 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1703 and __PFX_divmodti4.
1705 2016-10-24 Florian Weimer <fweimer@redhat.com>
1708 * unwind-c.c: Include auto-target.h.
1710 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1712 * config/pa/pa64-hpux-lib.h: New file.
1713 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1714 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1715 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1718 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1720 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1722 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1724 * config/xtensa/t-windowed (LIB2ADDEH): Use
1725 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1728 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1730 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1731 __ieee754_sqrt): New functions.
1732 (__divdf3): Add implementation with new FPU instructions under
1733 #if XCHAL_HAVE_DFP_DIV.
1734 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1735 __ieee754_sqrtf): New functions.
1736 (__divsf3): Add implementation with new FPU instructions under
1737 #if XCHAL_HAVE_FP_DIV.
1738 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1739 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1741 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1743 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1745 * config/tilepro/atomic.c: Likewise and stop casting model to
1748 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1751 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1754 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1756 * config.host: Add support for aarch64-*-freebsd*.
1758 2016-10-05 Andreas Schwab <schwab@suse.de>
1760 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1761 (.section .init_array): Don't call __do_jv_register_classes.
1762 (.section .init): Likewise.
1764 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1766 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1767 (__JCR_LIST__): Remove.
1768 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1769 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1770 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1771 * config/ia64/crtend.S (__JCR_END__): Remove.
1772 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1774 (__JCR_LIST__, __JCR_END__): Remove.
1775 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1776 (__do_global_ctors_1): Likewise.
1778 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1780 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1781 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1783 2016-09-27 Martin Liska <mliska@suse.cz>
1785 PR gcov-profile/7970
1786 PR gcov-profile/16855
1787 PR gcov-profile/44779
1788 * libgcov-driver.c (__gcov_init): Do not register a atexit
1790 (__gcov_exit): Rename from gcov_exit.
1791 * libgcov.h (__gcov_exit): Declare.
1793 2016-09-27 Martin Liska <mliska@suse.cz>
1796 * Makefile.in: Remove _gcov_merge_delta.
1797 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1798 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1799 * libgcov.h: Remove declaration of __gcov_merge_delta.
1801 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1803 * configure.ac: Do not create links, only substitute the filenames.
1804 * configure: Regenerate.
1805 * Makefile.in: Assign the substitution results to variables.
1806 (LIBGCC_LINKS): Define.
1807 (enable-execute-stack.c): New rule.
1808 (unwind.h): Likewise.
1809 (md-unwind-support.h): Likewise.
1810 (sfp-machine.h): Likewise.
1811 (gthr-default.h): Likewise.
1812 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1813 unwind.h as prerequisite of install-unwind_h-forbuild.
1815 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1818 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1819 is not the primary registry and atomics are available.
1820 (any_objects_registered): New variable.
1821 (__register_frame_info_bases, __register_frame_info_table_bases):
1822 Atomically store 1 to any_objects_registered after registering first
1824 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1826 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1829 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1830 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1833 (__divhc3): Likewise.
1834 (__mulhc3): Likewise.
1835 * libgcc2.c: Support _mulhc3 and _divhc3.
1837 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1840 * libgcc2.c (NOTRUNC): Invert settings.
1842 2016-09-06 Martin Liska <mliska@suse.cz>
1844 PR gcov-profile/77378
1845 PR gcov-profile/77466
1846 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1847 conditionaly enable/disable *_atomic functions.
1849 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1851 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1852 where not already enabled.
1854 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1856 * config/mips/linux-unwind.h: Use sys/syscall.h.
1858 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1861 * soft-fp/adddf3.c: Update from glibc.
1862 * soft-fp/addsf3.c: Likewise.
1863 * soft-fp/addtf3.c: Likewise.
1864 * soft-fp/divdf3.c: Likewise.
1865 * soft-fp/divsf3.c: Likewise.
1866 * soft-fp/divtf3.c: Likewise.
1867 * soft-fp/double.h: Likewise.
1868 * soft-fp/eqdf2.c: Likewise.
1869 * soft-fp/eqsf2.c: Likewise.
1870 * soft-fp/eqtf2.c: Likewise.
1871 * soft-fp/extenddftf2.c: Likewise.
1872 * soft-fp/extended.h: Likewise.
1873 * soft-fp/extendsfdf2.c: Likewise.
1874 * soft-fp/extendsftf2.c: Likewise.
1875 * soft-fp/extendxftf2.c: Likewise.
1876 * soft-fp/fixdfdi.c: Likewise.
1877 * soft-fp/fixdfsi.c: Likewise.
1878 * soft-fp/fixdfti.c: Likewise.
1879 * soft-fp/fixsfdi.c: Likewise.
1880 * soft-fp/fixsfsi.c: Likewise.
1881 * soft-fp/fixsfti.c: Likewise.
1882 * soft-fp/fixtfdi.c: Likewise.
1883 * soft-fp/fixtfsi.c: Likewise.
1884 * soft-fp/fixtfti.c: Likewise.
1885 * soft-fp/fixunsdfdi.c: Likewise.
1886 * soft-fp/fixunsdfsi.c: Likewise.
1887 * soft-fp/fixunsdfti.c: Likewise.
1888 * soft-fp/fixunssfdi.c: Likewise.
1889 * soft-fp/fixunssfsi.c: Likewise.
1890 * soft-fp/fixunssfti.c: Likewise.
1891 * soft-fp/fixunstfdi.c: Likewise.
1892 * soft-fp/fixunstfsi.c: Likewise.
1893 * soft-fp/fixunstfti.c: Likewise.
1894 * soft-fp/floatdidf.c: Likewise.
1895 * soft-fp/floatdisf.c: Likewise.
1896 * soft-fp/floatditf.c: Likewise.
1897 * soft-fp/floatsidf.c: Likewise.
1898 * soft-fp/floatsisf.c: Likewise.
1899 * soft-fp/floatsitf.c: Likewise.
1900 * soft-fp/floattidf.c: Likewise.
1901 * soft-fp/floattisf.c: Likewise.
1902 * soft-fp/floattitf.c: Likewise.
1903 * soft-fp/floatundidf.c: Likewise.
1904 * soft-fp/floatundisf.c: Likewise.
1905 * soft-fp/floatunditf.c: Likewise.
1906 * soft-fp/floatunsidf.c: Likewise.
1907 * soft-fp/floatunsisf.c: Likewise.
1908 * soft-fp/floatunsitf.c: Likewise.
1909 * soft-fp/floatuntidf.c: Likewise.
1910 * soft-fp/floatuntisf.c: Likewise.
1911 * soft-fp/floatuntitf.c: Likewise.
1912 * soft-fp/gedf2.c: Likewise.
1913 * soft-fp/gesf2.c: Likewise.
1914 * soft-fp/getf2.c: Likewise.
1915 * soft-fp/ledf2.c: Likewise.
1916 * soft-fp/lesf2.c: Likewise.
1917 * soft-fp/letf2.c: Likewise.
1918 * soft-fp/muldf3.c: Likewise.
1919 * soft-fp/mulsf3.c: Likewise.
1920 * soft-fp/multf3.c: Likewise.
1921 * soft-fp/negdf2.c: Likewise.
1922 * soft-fp/negsf2.c: Likewise.
1923 * soft-fp/negtf2.c: Likewise.
1924 * soft-fp/op-1.h: Likewise.
1925 * soft-fp/op-2.h: Likewise.
1926 * soft-fp/op-4.h: Likewise.
1927 * soft-fp/op-8.h: Likewise.
1928 * soft-fp/op-common.h: Likewise.
1929 * soft-fp/quad.h: Likewise.
1930 * soft-fp/single.h: Likewise.
1931 * soft-fp/soft-fp.h: Likewise.
1932 * soft-fp/subdf3.c: Likewise.
1933 * soft-fp/subsf3.c: Likewise.
1934 * soft-fp/subtf3.c: Likewise.
1935 * soft-fp/truncdfsf2.c: Likewise.
1936 * soft-fp/trunctfdf2.c: Likewise.
1937 * soft-fp/trunctfsf2.c: Likewise.
1938 * soft-fp/trunctfxf2.c: Likewise.
1939 * soft-fp/unorddf2.c: Likewise.
1940 * soft-fp/unordsf2.c: Likewise.
1941 * soft-fp/unordtf2.c: Likewise.
1943 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1945 PR gcov-profile/67097
1946 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1948 2016-08-10 Martin Liska <mliska@suse.cz>
1950 PR gcov-profile/58306
1951 * Makefile.in: New functions (modules) are added.
1952 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1954 (__gcov_pow2_profiler_atomic): New function.
1955 (__gcov_one_value_profiler_body): New argument is instroduced.
1956 (__gcov_one_value_profiler): Call with the new argument.
1957 (__gcov_one_value_profiler_atomic): Likewise.
1958 (__gcov_indirect_call_profiler_v2): Likewise.
1959 (__gcov_time_profiler_atomic): New function.
1960 (__gcov_average_profiler_atomic): Likewise.
1961 (__gcov_ior_profiler_atomic): Likewise.
1962 * libgcov.h: Declare the aforementioned functions.
1964 2016-08-09 Martin Liska <mliska@suse.cz>
1966 * libgcov-util.c: Fix typo and GNU coding style.
1968 2016-08-09 Martin Liska <mliska@suse.cz>
1970 * Makefile.in: Remove __gcov_indirect_call_profiler.
1971 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1973 * libgcov.h: And the declaration of the function.
1975 2016-08-09 Martin Liska <mliska@suse.cz>
1977 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1980 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1982 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1983 * config/rs6000/_mulkc3.c: Likewise.
1985 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1987 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1988 zero_reg as previous call to __umulhisi3 already cleared it.
1990 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1993 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1995 2016-07-19 Nick Clifton <nickc@redhat.com>
1997 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1998 Add crtinit.o and crtfini.o to extra_parts.
2000 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2002 * config/rs6000/_divkc3.c: New.
2003 * config/rs6000/_mulkc3.c: New.
2004 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2006 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2009 2016-07-11 Hale Wang <hale.wang@arm.com>
2010 Andre Vieira <andre.simoesdiasvieira@arm.com>
2012 * config/arm/lib1funcs.S: Add new wrapper.
2014 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2016 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2018 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2020 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2021 and ARMv5t* rather than for a fixed list of architectures.
2023 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2025 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2026 implementation suitable for.
2027 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2028 for all Thumb-1 only targets.
2029 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2030 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2033 (ARM_FUNC_ALIAS): Likewise.
2034 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2037 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2040 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2041 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2042 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2043 __ARM_ARCH_6M__ and add comment to indicate the connection between
2044 this condition and the one in gcc/config/arm/elf.h.
2045 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2046 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2047 * config/arm/t-softfp: Likewise.
2049 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2051 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2052 CTOR_LISTS_DEFINED_EXTERNALLY.
2054 2016-06-28 Walter Lee <walt@tilera.com>
2056 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2058 (SPR_CMPEXCH_VALUE): Define for tilegx.
2059 (__NR_FAST_cmpxchg): Define for tilepro.
2060 (__NR_FAST_atomic_update): Define for tilepro.
2061 (__NR_FAST_cmpxchg64): Define for tilepro.
2063 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2065 * config.host: Add suport for arm*-*-phoenix* targets.
2067 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2069 * config.host: Remove support for mep-*.
2070 * config/mep/lib1funcs.S: Remove.
2071 * config/mep/lib2funcs.c: Remove.
2072 * config/mep/t-mep: Remove.
2073 * config/mep/tramp.c: Remove.
2075 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2077 * config.host: Remove support for avr-rtems.
2078 * config/avr/t-rtems: Remove.
2080 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2082 * config.host: Remove m32r-rtems support.
2084 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2086 * config.host: Remove h8300-rtems support.
2088 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2090 * config.host: Remove support for knetbsd.
2092 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2094 * config.host: Remove support for openbsd 2 and 3.
2096 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2098 * config.host: Remove interix support.
2099 * config/i386/t-interix: Remove.
2101 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2103 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2104 least-significant bit in function pointer for fixup.
2106 2016-06-05 Aaron Conole <aconole@redhat.com>
2107 Nathan Sidwell <nathan@acm.org>
2110 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2111 (get_gcov_error_file): Check __gcov_error_file before trying to
2113 (gcov_error): Always use get_gcov_error_file.
2115 2016-06-02 Aaron Conole <aconole@redhat.com>
2117 * libgcov-driver-system.c (__gcov_error_file): New.
2118 (get_gcov_error_file): New.
2119 (gcov_error): Use and set __gcov_error_file.
2120 (gcov_error_exit): New.
2121 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2123 2016-05-26 Nathan Sidwell <nathan@acm.org>
2125 * config/nvptx/free.asm: Delete.
2126 * config/nvptx/malloc.asm: Delete.
2127 * config/nvptx/realloc.c: Delete.
2130 2016-05-25 Nathan Sidwell <nathan@acm.org>
2132 * config/nvptx/crt0.s: Delete.
2133 * config/nvptx/crt0.c: New.
2136 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2138 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2139 dw2/seh configuration.
2140 [x86_64-*-mingw*]: Likewise.
2142 2016-05-10 Joel Sherrill <joel@rtems.org>
2145 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2146 targets so the same extra_parts are built. Also have tmake_file add
2147 on to its value rather than override.
2149 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2151 * config.host: Remove SH5 support.
2152 * configure: Likewise.
2154 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2156 * config/sh/crt1.S: Remove SH5 support.
2157 * config/sh/crti.S: Likewise.
2158 * config/sh/crtn.S: Likewise.
2159 * config/sh/lib1funcs-4-300.S: Likewise.
2160 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2161 * config/sh/lib1funcs.S: Likewise.
2162 * config/sh/linux-unwind.h: Likewise.
2163 * config/sh/t-sh64: Delete.
2165 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2167 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2169 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2170 Joern Rennecke <joern.rennecke@embecosm.com>
2172 * config/arc/crttls.S: New file.
2173 * config/arc/t-arc: New rule.
2174 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2176 2016-04-25 Nick Clifton <nickc@redhat.com>
2178 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2179 (__mspabi_cmpd): Likewise.
2180 * config/msp430/floathidf.c (__floathidf): Likewise.
2181 * config/msp430/floathisf.c (__floathisf): Likewise
2182 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2183 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2184 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2186 (__ashrsi3): Likewise.
2188 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2190 * config/m68k/linux-atomic.c: Do not include unistd.h
2192 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2194 * config/arm/ieee754-df.S: Fix typos in comments.
2196 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2199 * configure.ac (powerpc*-*-linux*): Rework tests to build
2200 __float128 emulation routines to not depend on using #pragma GCC
2201 target to enable -mfloat128.
2202 * configure: Regnerate.
2204 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2207 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2208 __MINGW32__ is defined.
2210 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2212 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2214 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2217 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2218 built with an assembler that does not support ISA 3.0
2219 instructions, rename __extendkftf2_sw to __extendkftf2.
2221 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2224 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2225 call-clobbered registers.
2226 (internal_mcount): Remove __i386__ handling.
2228 2016-02-26 Joel Sherrill <joel@rtems.org>
2230 * config.host: Add x86_64-*-rtems*.
2232 2016-02-26 Joel Sherrill <joel@rtems.org>
2234 * libgcc/config.host: Add aarch64-*-rtems*.
2236 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2237 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2239 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2240 union of u64 and double.
2241 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2242 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2244 (FP_ROUNDMODE): Update the usage of _fpscr.
2246 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2249 * Makefile.in (crtoffloadtable$(objext)): New rule.
2250 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2251 enable_offload_targets is not empty.
2252 * configure: Regenerate.
2253 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2256 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2258 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2259 .literal_position before the function.
2260 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2263 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2265 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2266 * config/s390/morestack.S: New file.
2267 * config/s390/t-stack-s390: New file.
2268 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2270 2016-02-12 Walter Lee <walt@tilera.com>
2272 * config.host (tilegx*-*-linux*): remove ti from
2273 softfp_int_modes for 32-bit configs.
2275 2016-02-10 Ian Lance Taylor <iant@google.com>
2278 * config/i386/morestack.S (__stack_split_initialize): Align
2281 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2284 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2285 __FLOAT128__ to compile only for __float128 capable targets.
2287 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2290 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2291 instead of ___NO_FPRS__.
2293 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2294 Steven Munroe <munroesj@linux.vnet.ibm.com>
2295 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2297 * config/rs6000/float128-sed: New files to convert TF names to KF
2298 names for PowerPC IEEE 128-bit floating point support.
2299 * config/rs6000/float128-sed-hw: Likewise.
2301 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2302 floating point hardware support.
2304 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2305 128-bit floating point software emulation or use ISA 3.0 hardware
2306 support if it is available.
2308 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2311 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2312 floating point to IBM extended double.
2314 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2315 double to IEEE 128-bit floating point.
2317 * config/rs6000/t-float128: New Makefile fragments to enable
2318 building __float128 emulation support.
2319 * config/rs6000/t-float128-hw: Likewise.
2321 * config/rs6000/sfp-exceptions.c: New file to provide exception
2322 support for IEEE 128-bit floating point.
2324 * config/rs6000/floattikf.c: New files for converting between IEEE
2325 128-bit floating point and signed/unsigned 128-bit integers.
2326 * config/rs6000/fixunskfti.c: Likewise.
2327 * config/rs6000/fixkfti.c: Likewise.
2328 * config/rs6000/floatuntikf.c: Likewise.
2330 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2331 when building on 64-bit systems, or when VSX is enabled.
2332 (_FP_W_TYPE): Likewise.
2333 (_FP_WS_TYPE): Likewise.
2334 (_FP_I_TYPE): Likewise.
2335 (TItype): Define on 64-bit systems.
2336 (UTItype): Likewise.
2337 (TI_BITS): Likewise.
2338 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2339 (_FP_MUL_MEAT_Q): Likewise.
2340 (_FP_DIV_MEAT_D): Likewise.
2341 (_FP_DIV_MEAT_Q): Likewise.
2342 (_FP_NANFRAC_D): Likewise.
2343 (_FP_NANFRAC_Q): Likewise.
2344 (ISA_BIT): Add exception support if we are being compiled on a
2345 machine with hardware floating point support to build the IEEE
2346 128-bit emulation functions.
2347 (FP_EX_INVALID): Likewise.
2348 (FP_EX_OVERFLOW): Likewise.
2349 (FP_EX_UNDERFLOW): Likewise.
2350 (FP_EX_DIVZERO): Likewise.
2351 (FP_EX_INEXACT): Likewise.
2352 (FP_EX_ALL): Likewise.
2353 (__sfp_handle_exceptions): Likewise.
2354 (FP_HANDLE_EXCEPTIONS): Likewise.
2355 (FP_RND_NEAREST): Likewise.
2356 (FP_RND_ZERO): Likewise.
2357 (FP_RND_PINF): Likewise.
2358 (FP_RND_MINF): Likewise.
2359 (FP_RND_MASK): Likewise.
2360 (_FP_DECL_EX): Likewise.
2361 (FP_INIT_ROUNDMODE): Likewise.
2362 (FP_ROUNDMODE): Likewise.
2364 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2365 VSX code, enable IEEE 128-bit floating point. If the compiler can
2366 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2367 floating point hardware instructions and it supports declaring
2368 functions with the ifunc attribute, enable ifunc functions to
2369 switch between software and hardware support.
2370 * configure.ac (powerpc*-*-linux*): Likewise.
2371 * configure: Regenerate.
2373 2016-01-15 Nick Clifton <nickc@redhat.com>
2375 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2376 dependency as the source file to be compiled.
2377 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2378 (lib2hw_mul_f5.o): Likewise.
2380 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2382 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2383 * libgcc/config/rs6000/fixkfti.c: Likewise.
2384 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2385 * libgcc/config/rs6000/float128-hw.c: Likewise.
2386 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2387 * libgcc/config/rs6000/float128-sed: Likewise.
2388 * libgcc/config/rs6000/floattikf.c: Likewise.
2389 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2390 * libgcc/config/rs6000/quad-float128.h: Likewise.
2391 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2392 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2393 * libgcc/config/rs6000/t-float128: Likewise.
2394 * libgcc/config/rs6000/t-float128-hw: Likewise.
2395 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2396 * libgcc/config.host: Likewise.
2397 * libgcc/configure: Likewise.
2398 * libgcc/configure.ac: Likewise.
2400 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2401 Steven Munroe <munroesj@linux.vnet.ibm.com>
2402 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2404 * config/rs6000/sfp-exceptions.c: New file to provide exception
2405 support for IEEE 128-bit floating point.
2407 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2408 floating point hardware support.
2410 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2412 * config/rs6000/fixunskfti.c: Likewise.
2413 * config/rs6000/fixkfti.c: Likewise.
2414 * config/rs6000/floatuntikf.c: Likewise.
2415 * config/rs6000/extendkftf2-sw.c: Likewise.
2416 * config/rs6000/trunctfkf2-sw.c: Likewise.
2418 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2419 128-bit floating point software emulation or use ISA 3.0 hardware
2420 support if it is available.
2422 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2425 * config/rs6000/t-float128: New Makefile fragments to enable
2426 building __float128 emulation support.
2427 * config/rs6000/t-float128-hw: Likewise.
2429 * config/rs6000/float128-sed: New file to convert TF names to KF
2430 names for PowerPC IEEE 128-bit floating point support.
2432 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2433 when building on 64-bit systems, or when VSX is enabled.
2434 (_FP_W_TYPE): Likewise.
2435 (_FP_WS_TYPE): Likewise.
2436 (_FP_I_TYPE): Likewise.
2437 (TItype): Define on 64-bit systems.
2438 (UTItype): Likewise.
2439 (TI_BITS): Likewise.
2440 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2441 (_FP_MUL_MEAT_Q): Likewise.
2442 (_FP_DIV_MEAT_D): Likewise.
2443 (_FP_DIV_MEAT_Q): Likewise.
2444 (_FP_NANFRAC_D): Likewise.
2445 (_FP_NANFRAC_Q): Likewise.
2446 (ISA_BIT): Add exception support if we are being compiled on a
2447 machine with hardware floating point support to build the IEEE
2448 128-bit emulation functions.
2449 (FP_EX_INVALID): Likewise.
2450 (FP_EX_OVERFLOW): Likewise.
2451 (FP_EX_UNDERFLOW): Likewise.
2452 (FP_EX_DIVZERO): Likewise.
2453 (FP_EX_INEXACT): Likewise.
2454 (FP_EX_ALL): Likewise.
2455 (__sfp_handle_exceptions): Likewise.
2456 (FP_HANDLE_EXCEPTIONS): Likewise.
2457 (FP_RND_NEAREST): Likewise.
2458 (FP_RND_ZERO): Likewise.
2459 (FP_RND_PINF): Likewise.
2460 (FP_RND_MINF): Likewise.
2461 (FP_RND_MASK): Likewise.
2462 (_FP_DECL_EX): Likewise.
2463 (FP_INIT_ROUNDMODE): Likewise.
2464 (FP_ROUNDMODE): Likewise.
2466 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2467 compiler can do __float128.
2468 * configure: Regenerate.
2470 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2471 VSX code, enable IEEE 128-bit floating point.
2473 2016-01-05 Olivier Hainque <hainque@adacore.com>
2475 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2478 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2480 Update copyright years.
2482 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2484 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2487 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2489 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2490 instead of abort to avoid dependency on stdlib.h.
2492 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2494 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2495 to initialize call to __dl_fixup once.
2497 2015-12-04 Nick Clifton <nickc@redhat.com>
2499 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2500 Allow for the second argument being negative.
2501 * config.host (extra_parts): Define for MSP430. Create separate
2502 libraries for each of the hardware multiply formats.
2503 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2505 * config/msp430/lib2mul.c: Likewise.
2506 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2507 Add rules to build hardware multiply libraries.
2508 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2509 __mspabi_divul function.
2510 (__mspabi_divllu): New stub function.
2512 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2514 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2515 fixup values if saved GOT address doesn't match runtime address.
2516 (fixup_branch_offset): Reorder list.
2518 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2520 * Makefile.in (VTV_CFLAGS): New variable.
2521 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2522 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2523 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2524 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2525 to extra_parts if $enable_vtable_verify = yes.
2527 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2530 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2531 (write): ...this and fix the return type.
2533 2015-11-19 DJ Delorie <dj@redhat.com>
2535 * config/msp430/lib2hw_mul.S: Fix alignment.
2537 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2539 * config/nvptx/reduction.c: New.
2540 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2542 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2544 * config/rs6000/on_exit.c: New file.
2545 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2546 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2548 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2550 * config/arc/dp-hack.h: Add support for ARCHS.
2551 * config/arc/ieee-754/divdf3.S: Likewise.
2552 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2553 * config/arc/ieee-754/muldf3.S: Likewise.
2554 * config/arc/ieee-754/mulsf3.S: Likewise
2555 * config/arc/lib1funcs.S: Likewise
2556 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2558 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2560 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2561 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2564 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2566 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2568 * config/ia64/crtend.S: Likewise.
2570 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2572 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2573 __CHAR_BIT__ instead of BITS_PER_UNIT.
2574 * fixed-bit.h: Likewise.
2575 * fp-bit.h: Likewise.
2576 * libgcc2.c (__popcountSI2): Likewise.
2577 (__popcountDI2): Likewise.
2578 * libgcc2.h: Likewise.
2579 * libgcov.h: Likewise.
2581 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2583 * config/rs6000/atexit.c: New file.
2584 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2585 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2586 * config/rs6000/cxa_finalize.c
2587 (catomic_compare_and_exchange_bool_acq): Negate return value.
2589 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2591 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2592 (processor_subtypes): Add znver1.
2593 (get_amd_cpu): Detect znver1.
2595 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2597 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2598 Include crtfastmath.o.
2600 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2603 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2605 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2607 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2608 * config/rl78/divmodsi.S: Update return register to r8.
2609 * config/rl78/divmodhi.S: Update return register to r8,r9.
2610 Branch to main_loop_done_himode to pop registers before return.
2612 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2614 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2615 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2617 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2619 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2621 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2623 * config.host (xtensa*-*-uclinux*): New configuration.
2625 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2627 * config/i386/cpuinfo.c (processor_features): Add
2628 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2630 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2632 * soft-fp/adddf3.c: Update from glibc.
2633 * soft-fp/addsf3.c: Likewise.
2634 * soft-fp/addtf3.c: Likewise.
2635 * soft-fp/divdf3.c: Likewise.
2636 * soft-fp/divsf3.c: Likewise.
2637 * soft-fp/divtf3.c: Likewise.
2638 * soft-fp/double.h: Likewise.
2639 * soft-fp/eqdf2.c: Likewise.
2640 * soft-fp/eqsf2.c: Likewise.
2641 * soft-fp/eqtf2.c: Likewise.
2642 * soft-fp/extenddftf2.c: Likewise.
2643 * soft-fp/extended.h: Likewise.
2644 * soft-fp/extendsfdf2.c: Likewise.
2645 * soft-fp/extendsftf2.c: Likewise.
2646 * soft-fp/extendxftf2.c: Likewise.
2647 * soft-fp/fixdfdi.c: Likewise.
2648 * soft-fp/fixdfsi.c: Likewise.
2649 * soft-fp/fixdfti.c: Likewise.
2650 * soft-fp/fixsfdi.c: Likewise.
2651 * soft-fp/fixsfsi.c: Likewise.
2652 * soft-fp/fixsfti.c: Likewise.
2653 * soft-fp/fixtfdi.c: Likewise.
2654 * soft-fp/fixtfsi.c: Likewise.
2655 * soft-fp/fixtfti.c: Likewise.
2656 * soft-fp/fixunsdfdi.c: Likewise.
2657 * soft-fp/fixunsdfsi.c: Likewise.
2658 * soft-fp/fixunsdfti.c: Likewise.
2659 * soft-fp/fixunssfdi.c: Likewise.
2660 * soft-fp/fixunssfsi.c: Likewise.
2661 * soft-fp/fixunssfti.c: Likewise.
2662 * soft-fp/fixunstfdi.c: Likewise.
2663 * soft-fp/fixunstfsi.c: Likewise.
2664 * soft-fp/fixunstfti.c: Likewise.
2665 * soft-fp/floatdidf.c: Likewise.
2666 * soft-fp/floatdisf.c: Likewise.
2667 * soft-fp/floatditf.c: Likewise.
2668 * soft-fp/floatsidf.c: Likewise.
2669 * soft-fp/floatsisf.c: Likewise.
2670 * soft-fp/floatsitf.c: Likewise.
2671 * soft-fp/floattidf.c: Likewise.
2672 * soft-fp/floattisf.c: Likewise.
2673 * soft-fp/floattitf.c: Likewise.
2674 * soft-fp/floatundidf.c: Likewise.
2675 * soft-fp/floatundisf.c: Likewise.
2676 * soft-fp/floatunditf.c: Likewise.
2677 * soft-fp/floatunsidf.c: Likewise.
2678 * soft-fp/floatunsisf.c: Likewise.
2679 * soft-fp/floatunsitf.c: Likewise.
2680 * soft-fp/floatuntidf.c: Likewise.
2681 * soft-fp/floatuntisf.c: Likewise.
2682 * soft-fp/floatuntitf.c: Likewise.
2683 * soft-fp/gedf2.c: Likewise.
2684 * soft-fp/gesf2.c: Likewise.
2685 * soft-fp/getf2.c: Likewise.
2686 * soft-fp/ledf2.c: Likewise.
2687 * soft-fp/lesf2.c: Likewise.
2688 * soft-fp/letf2.c: Likewise.
2689 * soft-fp/muldf3.c: Likewise.
2690 * soft-fp/mulsf3.c: Likewise.
2691 * soft-fp/multf3.c: Likewise.
2692 * soft-fp/negdf2.c: Likewise.
2693 * soft-fp/negsf2.c: Likewise.
2694 * soft-fp/negtf2.c: Likewise.
2695 * soft-fp/op-1.h: Likewise.
2696 * soft-fp/op-2.h: Likewise.
2697 * soft-fp/op-4.h: Likewise.
2698 * soft-fp/op-8.h: Likewise.
2699 * soft-fp/op-common.h: Likewise.
2700 * soft-fp/quad.h: Likewise.
2701 * soft-fp/single.h: Likewise.
2702 * soft-fp/soft-fp.h: Likewise.
2703 * soft-fp/subdf3.c: Likewise.
2704 * soft-fp/subsf3.c: Likewise.
2705 * soft-fp/subtf3.c: Likewise.
2706 * soft-fp/truncdfsf2.c: Likewise.
2707 * soft-fp/trunctfdf2.c: Likewise.
2708 * soft-fp/trunctfsf2.c: Likewise.
2709 * soft-fp/trunctfxf2.c: Likewise.
2710 * soft-fp/unorddf2.c: Likewise.
2711 * soft-fp/unordsf2.c: Likewise.
2712 * soft-fp/unordtf2.c: Likewise.
2714 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2717 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2719 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2721 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2722 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2723 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2725 (internal_mcount): Likewise.
2726 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2727 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2729 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2731 * configure.ac (libgcc_cv_solaris_crts): New test.
2732 * configure: Regenerate.
2733 * config.in: Regenerate.
2734 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2735 * config/gmon-sol2.c: Rename to ...
2736 * config/sol2/gmon.c: ... this.
2737 Include auto-target.h.
2738 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2739 * config/t-sol2: Rename to ...
2740 * config/sol2/t-sol2: ... this.
2741 (gmon.o): Reflect renaming.
2742 (crtp.o, crtpg.o): New rules.
2743 * config.host (*-*-solaris2*): Reflect renaming.
2744 Use system CRTs if present.
2745 Remove default CRT case.
2747 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2749 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2750 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2752 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2753 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2754 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2755 (__sync_lock_test_and_set_##WIDTH): Likewise.
2756 (__sync_lock_release_##WIDTH): Likewise.
2757 (__sync_fetch_and_##OP##_4): Change result to match type of
2759 (__sync_##OP##_and_fetch_4): Likewise.
2760 (__sync_val_compare_and_swap_4): Likewise.
2761 (__sync_bool_compare_and_swap_4): likewise.
2762 (__sync_lock_test_and_set_4): Likewise.
2763 (__sync_lock_release_4): Likewise.
2764 (FETCH_AND_OP_2): Add long long variants.
2765 (OP_AND_FETCH_2): Likewise.
2766 (COMPARE_AND_SWAP_2 ): Likewise.
2767 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2768 (SYNC_LOCK_RELEASE_2): Likewise.
2769 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2771 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2773 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2774 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2775 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2776 (get_available_features): Habdle new features.
2778 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2780 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2781 memory layout. Deal correctly with BSS region larger than 32K.
2782 Handle a watchdog reset like a power-on reset. Clean up unused
2785 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2786 David Edelsohn <dje.gcc@gmail.com>
2788 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2789 * config/rs6000/crtdbase.S: New file.
2790 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2792 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2794 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2795 Add support for call0 ABI.
2797 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2799 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2801 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2803 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2804 (__GTHREAD_HAS_COND): Likewise.
2805 (__gthread_t): Likewise.
2806 (__gthread_cond_t): Likewise.
2807 (__gthread_time_t): Likewise.
2808 (__GTHREAD_MUTEX_INIT): Likewise.
2809 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2810 (__GTHREAD_COND_INIT): Likewise.
2811 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2812 (__GTHREAD_TIME_INIT): Likewise.
2813 (__gthread_create): Likewise.
2814 (__gthread_join): Likewise.
2815 (__gthread_detach): Likewise.
2816 (__gthread_equal): Likewise.
2817 (__gthread_self): Likewise.
2818 (__gthread_yield): Likewise.
2819 (__gthread_cond_broadcast): Likewise.
2820 (__gthread_cond_signal): Likewise.
2821 (__gthread_cond_wait): Likewise.
2822 (__gthread_cond_timedwait): Likewise.
2823 (__gthread_cond_wait_recursive): Likewise.
2824 (__gthread_cond_destroy): Likewise.
2825 (rtems_gxx_once): Delete.
2826 (rtems_gxx_key_create): Likewise.
2827 (rtems_gxx_key_delete): Likewise.
2828 (rtems_gxx_getspecific): Likewise.
2829 (rtems_gxx_setspecific): Likewise.
2830 (rtems_gxx_mutex_init): Likewise.
2831 (rtems_gxx_mutex_destroy): Likewise.
2832 (rtems_gxx_mutex_lock): Likewise.
2833 (rtems_gxx_mutex_trylock): Likewise.
2834 (rtems_gxx_mutex_unlock): Likewise.
2835 (rtems_gxx_recursive_mutex_init): Likewise.
2836 (rtems_gxx_recursive_mutex_lock): Likewise.
2837 (rtems_gxx_recursive_mutex_trylock): Likewise.
2838 (rtems_gxx_recursive_mutex_unlock): Likewise.
2839 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2840 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2841 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2842 (__gthread_once): Likewise.
2843 (__gthread_key_create): Likewise.
2844 (__gthread_key_delete): Likewise.
2845 (__gthread_getspecific): Likewise.
2846 (__gthread_setspecific): Likewise.
2847 (__gthread_key_t): Use <pthread.h> type.
2848 (__gthread_once_t): Likewise
2849 (__gthread_mutex_t): Use <sys/lock.h> type.
2850 (__gthread_recursive_mutex_t): Likewise
2851 (__gthread_mutex_lock): Use <sys/lock.h> function.
2852 (__gthread_mutex_trylock): Likewise.
2853 (__gthread_mutex_timedlock): Likewise.
2854 (__gthread_mutex_unlock): Likewise.
2855 (__gthread_mutex_destroy): Likewise.
2856 (__gthread_recursive_mutex_lock): Likewise.
2857 (__gthread_recursive_mutex_trylock): Likewise.
2858 (__gthread_recursive_mutex_timedlock): Likewise.
2859 (__gthread_recursive_mutex_unlock): Likewise.
2860 (__gthread_recursive_mutex_destroy): Likewise.
2862 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2864 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2865 context->sp instead of context->cfa.
2867 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2869 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2870 with unwind-dw2-fde-dip.
2872 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2874 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2875 CALL12 followed by series of ENTRY to spill windowed registers.
2876 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2877 instead of making linux spill syscall.
2879 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2881 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2882 (get_intel_cpu): Likewise.
2884 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2886 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2887 (get_intel_cpu): Add Knights Landing support.
2889 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2892 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2893 (get_available_features): Handle FEATURE_PCLMUL.
2895 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2897 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2900 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2903 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2904 (get_available_features): Handle FEATURE_AES.
2906 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2908 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2909 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2911 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2913 * offloadstuff.c: Constify host data.
2915 2015-07-17 Jan Beulich <jbeulich@suse.com>
2917 * config/t-softfp: Split up "else ifneq".
2919 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2920 Cesar Philippidis <cesar@codesourcery.com>
2921 Chung-Lin Tang <cltang@codesourcery.com>
2923 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2924 for __nios2_arch__ level.
2926 2015-07-13 John Marino <gnugcc@marino.st>
2928 * config/i386/t-dragonfly: New.
2930 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2932 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2933 better match light-weight syscall argument order.
2934 (__kernel_cmpxchg2): Likewise.
2937 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2939 * config.host: Support i[34567]86-*-elfiamcu target.
2940 * config/t-softfp-sfdftf: New file.
2941 * config/i386/32/t-iamcu: Likewise.
2942 * configure: Regenerated.
2944 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2947 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2949 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2951 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2953 2015-05-27 John Marino <gnugcc@marino.st>
2955 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2957 * config/i386/freebsd-unwind.h: New.
2959 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2961 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2962 i386/t-crtfm to tmake_file.
2963 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2964 (set_fast_math): Use set_fast_math_sse for SSE targets.
2965 * config/i386/t-crtfm: Remove.
2967 2015-05-21 Alan Modra <amodra@gmail.com>
2970 * config/rs6000/morestack.S: Remove ".abiversion 1".
2972 2015-05-20 Alan Modra <amodra@gmail.com>
2974 * config/rs6000/morestack.S: New.
2975 * config/rs6000/t-stack-rs6000: New.
2976 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2978 * generic-morestack.c: Don't build for powerpc 32-bit.
2980 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2982 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2983 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2985 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2987 * config.host: FT32 target added.
2988 * config/ft32/*: New files for FT32 target.
2990 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2992 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2994 * config/arm/ieee754-df.S: Add CFI directives.
2995 * config/arm/ieee754-sf.S: Add CFI directives.
2997 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2999 * configure.ac: Include config/sjlj.m4.
3000 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3001 * config.in: Regenerate.
3002 * configure: Likewise.
3003 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3005 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3007 * libgcov-util.c: Add space between string literal and macro name.
3009 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3010 Chris Jones <chrisj@nvidia.com>
3011 Joshua Conner <jconner@nvidia.com>
3013 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3014 (arm*-*-uclinux*): Likewise.
3015 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3016 * config/arm/crtfastmath.c: New file.
3018 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3020 * Makefile.in (real_host_noncanonical): New variable.
3021 (libsubdir): Use it.
3022 * configure.ac (real_host_noncanonical): Compute. Remove special
3023 case for intelmicemul.
3024 * configure: Regenerate.
3026 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3028 * config/frv/elf-lib.h: New file.
3029 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3030 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3033 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3035 * config/frv/frvbengin.c: Do not include defaults.h
3036 * config/frv/frvend.c: Ditto.
3038 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3040 * config.host: Add h8300-*-linux
3041 * config/h8300/t-linux: New file.
3042 * config/h8300/lib1funs.s: Change symbol prefix.
3043 * config/h8300/sfp-machine.h: 64bit double support.
3045 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3046 Szabolcs Nagy <szabolcs.nagy@arm.com>
3048 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3049 Linux if target provides dl_iterate_phdr.
3051 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3054 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3055 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3056 (__cpu_indicator_init@GCC_4.8.0): New.
3057 (__cpu_model@GCC_4.8.0): Likewise.
3058 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3061 2015-04-16 Nick Clifton <nickc@redhat.com>
3063 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3064 and __modhi3 functions.
3065 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3066 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3068 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3070 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3071 do-while loop as macro body to avoid warnings.
3073 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3074 Iain Sandoe <iain@codesourcery.com>
3077 * configure: Regenerate.
3079 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3080 Iain Sandoe <iain@codesourcery.com>
3083 * configure: Regenerate.
3085 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3087 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3089 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3091 Implement call0 ABI for xtensa
3092 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3093 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3094 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3095 use ret in call0 ABI.
3096 * config/xtensa/t-windowed: New file.
3097 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3098 * libgcc/configure: Regenerated.
3099 * libgcc/configure.ac: Check if xtensa target is configured for
3100 windowed ABI and thus needs to use custom unwind code.
3102 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3105 * gthr-single.h: Use __unused__ attribute instead of unused.
3106 * config/gthr-vxworks.h: Likewise.
3107 * config/i386/gthr-win32.h: Likewise.
3109 2015-02-27 Kai Tietz <ktietz@redhat.com>
3112 * config.in: Regenerated.
3113 * configure: Likewise.
3114 * configure.ac (AC_HEADER_STDC): Added explicit.
3115 (AC_CHECK_HEADERS): Check for default headers plus
3117 * libgcov-util.c (gcov_read_profile_dir): Disable use
3118 of ftw-function, if header is not found.
3119 (ftw_read_file): Likewise.
3121 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3124 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3127 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3129 * config/arm/bpabi.S (test_div_by_zero): Make label names
3130 consistent between thumb2 and arm mode cases. Separate the
3131 signed comparison on the high word of the numerator from the
3132 unsigned comparison on the low word.
3133 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3136 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3138 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3140 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3142 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3144 PR gcov-profile/61889
3145 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3147 2015-02-02 Nick Clifton <nickc@redhat.com>
3149 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3150 rounding up the fraction.
3152 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3154 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3155 oldval and newval to const void *. Fix typo.
3156 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3157 (FETCH_AND_OP_WORD): Likewise.
3158 (OP_AND_FETCH_WORD): Likewise.
3159 (COMPARE_AND_SWAP_2): Likewise.
3160 (__sync_val_compare_and_swap_4): Likewise.
3161 (__sync_lock_test_and_set_4): Likewise.
3162 (SYNC_LOCK_RELEASE_2): Likewise.
3163 Remove support for long long atomic operations.
3165 2015-01-27 Caroline Tice <cmtice@google.com>
3167 Committing VTV Cywin/Ming patch for Patrick Wollgast
3168 * Makefile.in: Move rules to build vtv_*.o out of the check
3169 for CUSTOM_CRTSTUFF.
3170 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3171 i[34567]86-*-mingw*)
3172 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3173 enable_vtable_verify.
3175 2015-01-27 Nick Clifton <nickc@redhat.com>
3177 * config/rl78/cmpsi2.S: Use function start and end macros.
3178 (__gcc_bcmp): New function.
3179 * config/rl78/lshrsi3.S: Use function start and end macros.
3180 * config/rl78/mulsi3.S: Add support for G10.
3181 (__mulqi3): New function for G10.
3182 * config/rl78/signbit.S: Use function start and end macros.
3183 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3185 (LIB2FUNCS_EXCLUDE): Define.
3186 (LIB2FUNCS_ST): Define.
3187 * config/rl78/trampoline.S: Use function start and end macros.
3188 * config/rl78/vregs.h (START_FUNC): New macro.
3189 (START_ANOTHER_FUNC): New macro.
3190 (END_FUNC): New macro.
3191 (END_ANOTHER_FUNC): New macro.
3192 * config/rl78/bit-count.S: New file. Contains assembler
3193 implementations of the bit counting functions: ___clzhi2,
3194 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3195 __paritysi2, __popcounthi2 and __popcountsi2.
3196 * config/rl78/fpbit-sf.S: New file. Contains assembler
3197 implementationas of the math functions: __negsf2, __cmpsf2,
3198 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3199 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3200 * config/rl78/fpmath-sf.S: New file. Contains assembler
3201 implementations of the math functions: __subsf3, __addsf3,
3202 __mulsf3 and __divsf3
3204 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3206 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3207 Add i386/elf-lib.h to tm_file.
3208 * config/i386/elf-lib.h: Fix comment.
3209 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3210 && __sun__ && __svr4__]: Remove workaround.
3212 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3214 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3216 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3218 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3220 * config/i386/cpuinfo.c (processor_subtypes): Add
3221 INTEL_COREI7_BROADWELL.
3222 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3225 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3227 * config/i386/elf-lib.h: New file.
3228 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3229 Wrap definition in #ifdef __i386__.
3230 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3231 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3232 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3233 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3236 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3238 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3239 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3241 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3243 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3244 Update rt_sigframe format and address for current Nios II
3247 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3249 * config.host (arm*-*-freebsd*): Add new configuration for
3251 * config/arm/freebsd-atomic.c: New file.
3252 * config/arm/t-freebsd: Likewise.
3253 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3254 'PC-relative indirect' OS's.
3256 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3258 * config.host: Add Visium support.
3259 * config/visium: New directory.
3261 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3263 Update copyright years.
3265 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3267 * config.host: Support mipsisa32r6 and mipsisa64r6.
3268 * config/mips/mips16.S: Do not build for R6.
3270 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3272 * config/sh/crt.h: New.
3273 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3275 * config/sh/crt1.S: Likewise.
3277 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3280 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3281 func_ptr *dtor_list temporary variable to avoid "array subscript
3282 is above array bounds" warnings.
3284 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3286 * Makefile.in (with_aix_soname): Define.
3287 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3288 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3289 * configure: Recreate.
3291 2014-12-05 Olivier Hainque <hainque@adacore.com>
3293 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3294 now provided by defaults.h.
3296 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3299 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3300 whether it's defined.
3302 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3304 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3305 * config/i386/cpuinfo.c (get_available_features): Detect it.
3307 2014-11-27 Tony Wang <tony.wang@arm.com>
3309 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3310 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3311 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3313 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3315 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3317 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3319 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3322 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3323 John David Anglin <danglin@gcc.gnu.org>
3325 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3326 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3327 (OP_AND_FETCH_2): Likewise.
3328 (COMPARE_AND_SWAP_2): Likewise.
3329 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3330 (SYNC_LOCK_RELEASE_2): Likewise.
3331 (SUBWORD_SYNC_OP): Remove.
3332 (SUBWORD_VAL_CAS): Likewise.
3333 (SUBWORD_BOOL_CAS): Likewise.
3334 (FETCH_AND_OP_WORD): Update.
3335 Consistently use signed types.
3337 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3338 Thomas Schwinge <thomas@codesourcery.com>
3339 Ilya Verbin <ilya.verbin@intel.com>
3340 Andrey Turetskiy <andrey.turetskiy@intel.com>
3342 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3343 (crtoffloadend$(objext)): Likewise.
3344 * configure: Regenerate.
3345 * configure.ac (accel_dir_suffix): Compute new variable.
3346 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3347 if enable_offload_targets is not empty.
3348 * offloadstuff.c: New file.
3350 2014-11-13 Nick Clifton <nickc@redhat.com>
3352 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3353 Use START_FUNC and END_FUNC macros to enable linker garbage
3355 * config/rl78/divmodqi.S: Likewise.
3356 * config/rl78/divmodsi.S: Likewise.
3357 * config/rl78/mulsi3.S: Likewise.
3358 * config/rl78/lib2div.c: Remove G10 functions.
3359 * config/rl78/lib2muls.c: Likewise.
3360 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3361 * config/rl78/vregs.h (START_FUNC): New macro.
3362 (END_FUNC): New macro.
3364 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3366 * config/mips/mips16.S: Set .module when supported. Update O32
3367 FP64 calling convention and use for FPXX when possible. Add FPXX
3368 calling convention fallback case.
3370 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3372 * config.host: Handle nvptx-*-*.
3373 * shared-object.mk (as-flags-$o): Define.
3374 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3375 -xassembler-with-cpp.
3376 * static-object.mk: Identical changes.
3377 * config/nvptx/t-nvptx: New file.
3378 * config/nvptx/crt0.s: New file.
3379 * config/nvptx/free.asm: New file.
3380 * config/nvptx/malloc.asm: New file.
3381 * config/nvptx/realloc.c: New file.
3383 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3385 * Makefile.in (libgcc.map.in): New target.
3386 (libgcc.map): Use libgcc.map.in.
3387 * config/t-softfp (softfp_compat): New variable to be set by
3389 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3391 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3393 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3394 that use compat symbols and disable all code unless [SHARED].
3395 * config/t-softfp-compat: New file.
3396 * find-symver.awk: New file.
3397 * configure.ac (--with-glibc-version): New configure option.
3398 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3399 * configure: Regenerate.
3400 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3401 soft-float and e500.
3403 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3405 * config/t-hardfp (hardfp_exclusions): Document new variable for
3407 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3408 * config/t-softfp (softfp_extras): Document new variable for user
3410 (softfp_func_list): Add functions from $(softfp_extras).
3411 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3412 * config.host (powerpc*-*-linux*): For e500v1, use
3413 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3414 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3415 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3417 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3419 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3420 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3421 memory read accesses are ok.
3423 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3425 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3426 * configure: Regenerate.
3427 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3428 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3429 of soft-fp for 32-bit classic hard float. Do not use
3430 t-softfp-excl for soft float.
3432 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3434 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3436 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3439 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3441 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3442 introduced with 2014-10-21 trunk r216525.
3444 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3445 Vidya Praveen <vidya.praveen@atmel.com>
3446 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3447 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3448 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3450 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3453 Updated library functions for AVRTINY arch.
3454 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3455 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3456 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3457 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3459 (__mulsi3_helper): Update stack, preserve callee saved regs and
3460 argument from stack. Restore callee save registers.
3461 (__mulpsi3): Likewise.
3462 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3463 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3464 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3466 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3467 (__do_copy_data): Added new definition for AVRTINY.
3468 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3469 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3470 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3471 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3472 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3474 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3477 Fix broken long multiplication on tiny arch.
3479 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3481 * soft-fp/double.h: Update from glibc.
3482 * soft-fp/eqdf2.c: Likewise.
3483 * soft-fp/eqsf2.c: Likewise.
3484 * soft-fp/eqtf2.c: Likewise.
3485 * soft-fp/extenddftf2.c: Likewise.
3486 * soft-fp/extended.h: Likewise.
3487 * soft-fp/extendsfdf2.c: Likewise.
3488 * soft-fp/extendsftf2.c: Likewise.
3489 * soft-fp/extendxftf2.c: Likewise.
3490 * soft-fp/gedf2.c: Likewise.
3491 * soft-fp/gesf2.c: Likewise.
3492 * soft-fp/getf2.c: Likewise.
3493 * soft-fp/ledf2.c: Likewise.
3494 * soft-fp/lesf2.c: Likewise.
3495 * soft-fp/letf2.c: Likewise.
3496 * soft-fp/op-1.h: Likewise.
3497 * soft-fp/op-2.h: Likewise.
3498 * soft-fp/op-4.h: Likewise.
3499 * soft-fp/op-8.h: Likewise.
3500 * soft-fp/op-common.h: Likewise.
3501 * soft-fp/quad.h: Likewise.
3502 * soft-fp/single.h: Likewise.
3503 * soft-fp/soft-fp.h: Likewise.
3504 * soft-fp/unorddf2.c: Likewise.
3505 * soft-fp/unordsf2.c: Likewise.
3506 * soft-fp/unordtf2.c: Likewise.
3507 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3508 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3509 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3510 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3511 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3512 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3513 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3514 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3515 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3516 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3518 2014-10-08 Rong Xu <xur@google.com>
3520 * libgcov-util.c (read_gcda_file): Fix format.
3521 (find_match_gcov_info): Ditto.
3522 (calculate_2_entries): New.
3523 (compute_one_gcov): Ditto.
3524 (gcov_info_count_all_cold): Ditto.
3525 (gcov_info_count_all_zero): Ditto.
3526 (extract_file_basename): Ditto.
3527 (get_file_basename): Ditto.
3529 (matched_gcov_info): Ditto.
3530 (calculate_overlap): Ditto.
3531 (gcov_profile_overlap): Ditto.
3532 * libgcov-driver.c (compute_summary): Make
3533 it avavilable for external calls.
3535 2014-10-06 Rong Xu <xur@google.com>
3537 * Makefile.in: Ditto.
3538 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3539 (gcov_sort_icall_topn_counter): Ditto.
3540 (gcov_sort_topn_counter_arrays): Ditto.
3541 (dump_one_gcov): Sort indirect_call topn counters.
3542 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3544 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3546 (__gcov_indirect_call_topn_profiler): New profiler function.
3547 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3548 * libgcov.h: New decls.
3550 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3552 * config.host: Remove support for score-*.
3554 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3556 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3557 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3558 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3559 __LIBGCC_XF_MANT_DIG__.
3560 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3561 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3562 __LIBGCC_TF_MANT_DIG__.
3563 * libgcc2.c (NOTRUNC): Define in terms of
3564 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3565 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3567 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3570 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3573 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3575 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3576 override USE_PT_GNU_EH_FRAME.
3577 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3578 check USE_EH_FRAME_REGISTRY_ALWAYS against
3579 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3580 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3581 variable for substituted force_explicit_eh_registry.
3582 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3583 * configure.ac (explicit-exception-frame-registration):
3585 * configure: Regenerate.
3587 2014-09-19 Olivier Hainque <hainque@adacore.com>
3589 * config.host (powerpc-wrs-vxworksmils): New configuration,
3592 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3594 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3596 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3598 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3599 bits not set bits as indicating trapping exceptions.
3601 2014-09-17 Nathan sidwell <nathan@acm.org>
3603 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3604 (LIBGCOV_DRIVER): ... here.
3605 * libgcov-driver.c (gcov_master): New.
3606 (gcov_exit): Remove from master chain.
3607 (__gcov_init): Add to master chain if version compatible. Don't
3609 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3610 (gcov_reset_int): Clear master chain, if compatible.
3611 (gcov_dump_int): New internal interface. Dump master chain, if
3613 (gcov_dump): Alias for gcov_dump_int.
3614 * libgcov.h (struct gcov_root): Add next and prev fields.
3615 (struct gcov_master): New struct.
3616 (__gcov_master): New.
3617 (gcov_dump_int): Declare.
3619 2014-09-17 Olivier Hainque <hainque@adacore.com>
3621 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3622 and crtbegin.o + crtend.o to extra_parts.
3624 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3626 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3627 __LIBGCC_HAS_SF_MODE__.
3628 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3629 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3630 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3631 * config/libbid/bid_gcc_intrinsics.h
3632 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3633 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3634 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3635 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3636 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3637 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3639 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3642 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3643 and R24 as needed. Make work for all devices and .text locations.
3644 (__do_global_ctors, __do_global_dtors): Use word addresses.
3645 (__tablejump__, __tablejump_elpm__): Remove functions.
3646 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3648 (XICALL, XIJMP): New macros.
3650 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3651 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3653 * config.host (aarch64*): Include crtfastmath.o and
3655 * config/aarch64/crtfastmath.c: New file.
3657 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3659 * config.host: Remove picochip support.
3660 * config/picochip/adddi3.S: Remove.
3661 * config/picochip/ashlsi3.S: Remove.
3662 * config/picochip/ashlsi3.c: Remove.
3663 * config/picochip/ashrsi3.S: Remove.
3664 * config/picochip/ashrsi3.c: Remove.
3665 * config/picochip/clzsi2.S: Remove.
3666 * config/picochip/cmpsi2.S: Remove.
3667 * config/picochip/divmod15.S: Remove.
3668 * config/picochip/divmodhi4.S: Remove.
3669 * config/picochip/divmodsi4.S: Remove.
3670 * config/picochip/lib1funcs.S: Remove.
3671 * config/picochip/longjmp.S: Remove.
3672 * config/picochip/lshrsi3.S: Remove.
3673 * config/picochip/lshrsi3.c: Remove.
3674 * config/picochip/parityhi2.S: Remove.
3675 * config/picochip/popcounthi2.S: Remove.
3676 * config/picochip/setjmp.S: Remove.
3677 * config/picochip/subdi3.S: Remove.
3678 * config/picochip/t-picochip: Remove.
3679 * config/picochip/ucmpsi2.S: Remove.
3680 * config/picochip/udivmodhi4.S: Remove.
3681 * config/picochip/udivmodsi4.S: Remove.
3683 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3685 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3686 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3687 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3688 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3689 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3690 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3691 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3692 defined and LIBGCC2_HAS_DF_MODE is defined.
3693 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3694 defined and LIBGCC2_HAS_XF_MODE is defined.
3695 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3696 defined and LIBGCC2_HAS_TF_MODE is defined.
3698 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3700 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3701 and ROUND_TOWARDS_ZERO conditionals.
3703 2014-09-07 Nathan sidwell <nathan@acm.org>
3705 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3706 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3708 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3710 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3711 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3712 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3713 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3714 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3715 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3716 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3717 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3718 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3719 (DWARF_FRAME_REGISTERS): Change all uses to
3720 __LIBGCC_DWARF_FRAME_REGISTERS__.
3721 (EH_RETURN_STACKADJ_RTX): Change all uses to
3722 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3723 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3724 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3725 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3726 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3727 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3728 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3729 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3730 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3731 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3732 __LIBGCC_STACK_POINTER_REGNUM__.
3733 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3734 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3735 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3736 to __LIBGCC_STACK_POINTER_REGNUM__.
3737 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3738 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3739 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3740 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3741 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3742 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3743 (STACK_POINTER_REGNUM): Change all uses to
3744 __LIBGCC_STACK_POINTER_REGNUM__.
3745 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3746 use to __LIBGCC_STACK_POINTER_REGNUM__.
3747 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3748 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3749 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3750 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3751 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3752 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3753 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3754 to __LIBGCC_STACK_POINTER_REGNUM__.
3755 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3756 Remove conditional definition.
3757 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3758 __LIBGCC_TEXT_SECTION_ASM_OP__.
3759 (EH_FRAME_SECTION_NAME): Change all uses to
3760 __LIBGCC_EH_FRAME_SECTION_NAME__.
3761 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3762 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3763 (CTORS_SECTION_ASM_OP): Change all uses to
3764 __LIBGCC_CTORS_SECTION_ASM_OP__.
3765 (DTORS_SECTION_ASM_OP): Change all uses to
3766 __LIBGCC_DTORS_SECTION_ASM_OP__.
3767 (JCR_SECTION_NAME): Change all uses to
3768 __LIBGCC_JCR_SECTION_NAME__.
3769 (INIT_SECTION_ASM_OP): Change all uses to
3770 __LIBGCC_INIT_SECTION_ASM_OP__.
3771 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3772 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3773 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3774 __LIBGCC_STACK_GROWS_DOWNWARD__.
3775 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3776 __LIBGCC_INIT_SECTION_ASM_OP__.
3777 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3778 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3779 (EH_FRAME_SECTION_NAME): Change all uses to
3780 __LIBGCC_EH_FRAME_SECTION_NAME__.
3781 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3782 definitions. Change all uses to
3783 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3784 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3785 __LIBGCC_STACK_GROWS_DOWNWARD__.
3786 (DWARF_FRAME_REGISTERS): Change all uses to
3787 __LIBGCC_DWARF_FRAME_REGISTERS__.
3788 (EH_RETURN_STACKADJ_RTX): Change all uses to
3789 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3790 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3791 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3792 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3793 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3794 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3796 2014-09-02 Nathan sidwell <nathan@acm.org>
3798 * libgcov-interface.c (STRONG_ALIAS): New.
3799 (__gcov_flush): Call __gcov_reset_int.
3800 (__gcov_reset): Strong alias for ...
3801 (__gcov_reset_ing): ... this renamed hidden version.
3802 * libgcov.h (__gcov_reset_int): New declaration.
3804 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3806 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3808 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3809 (__dso_handle): Define on Cygwin.
3810 * config/i386/t-cygming (crtbeginS.o): New rule.
3811 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3813 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3816 2014-08-13 Steve Ellcey <sellcey@mips.com>
3818 * crtstuff.c: Undef caddr_t.
3820 2014-08-12 Steve Ellcey <sellcey@mips.com>
3822 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3824 2014-08-07 Nathan Sidwell <nathan@acm.org>
3826 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3827 (LIBGCOV_DRIVER): ... to here.
3828 * libgcov.h (gcov_do_dump): New #define.
3829 (struct gcov_root): New.
3830 (__gcov_root): New declaration.
3831 (__gcov_dump_one): Declare.
3832 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3833 run_accounted): Delete.
3834 (gcov_compute_histogram): Add LIST argument, adjust.
3835 (compute_summary): Adjust gcov_compute_histogram call.
3836 (gcov_do_dump): Not hidden, static in libgcov.
3837 (gcov_clear): Move to interface.c.
3838 (__gcov_dump_one): New, broken out of ...
3839 (gcov_exit): ... here. Make static.
3841 (__gcov_init): Adjust.
3842 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3844 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3845 (gcov_clear): Moved from driver.c. Add LIST argument.
3846 (__gcov_reset): Adjust for changed interfaces.
3847 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3849 2014-08-04 Rohit <rohitarulraj@freescale.com>
3852 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3853 based on change in SPE high register numbers and 3 HTM registers.
3855 2014-08-01 Nathan Sidwell <nathan@acm.org>
3857 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3858 LIBGCOV_INTERFACE): Reformat.
3859 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3861 * libgcov-interface.c: Reformat some comments.
3862 (__gcov_flush_mx): Add declaration. Tidy up definition.
3864 2014-07-31 Alan Modra <amodra@gmail.com>
3865 Peter Bergner <bergner@vnet.ibm.com>
3867 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3868 (pack_ldouble): New function.
3869 (__gcc_qadd): Use it.
3870 (__gcc_qmul): Likewise.
3871 (__gcc_qdiv): Likewise.
3872 (__gcc_qneg): Likewise.
3873 (__gcc_stoq): Likewise.
3874 (__gcc_dtoq): Likewise.
3876 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3878 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3879 (__tpf_eh_return): Add original return address as second parameter.
3880 Handle cases where unwinder routines were called directly, instead
3881 of from within the C++ library.
3883 2014-07-29 Nathan Sidwell <nathan@acm.org>
3885 * libgcov.h: Move renaming of entry points to lib gcov specific
3887 (gcov_do_dump): New rename.
3888 (gcov_rewrite): Remove inline, make HIDDEN.
3889 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3890 (gcov_exit_compute_summary): Rename to ...
3891 (compute_summary): ... here. Add LIST argument.
3892 (gcov_exit_merge_gcda): Rename to ...
3893 (merge_one_data): ... here.
3894 (gcov_exit_write_gcda): Rename to ...
3895 (write_one_data): ... here.
3896 (gcov_exit_merge_summary): Rename to ...
3897 (merge_summary): Add RUN_COUNTED argument.
3898 (gcov_exit_dump_gcov): Rename to ...
3899 (dump_one_gcov): Add RUN_COUNTED argument.
3900 (gcov_do_dump): New function, broken out of ...
3901 (gcov_exit): ... here. Call it.
3903 2014-07-27 Anthony Green <green@moxielogic.com>
3905 * config.host: Add moxiebox configuration suppport.
3907 2014-07-27 Nathan Sidwell <nathan@acm.org>
3909 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3910 (struct gcov_filename): ... here. Include buffer and max length
3912 (gcov_max_filename): Remove.
3913 (gi_filename): Remove.
3914 (gcov_exit_compute_summary): Compute max filename here.
3915 (gcov_exit_merge_gcda): Add filename parm, adjust.
3916 (gcov_exit_merge_summary): Likewise.
3917 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3918 (gcov_exit): Likewise.
3919 (__gcov_init): Don't calculate max length here.
3920 * libgcov_util.c (max_filename_len): Remove.
3921 (read_gcda_file): Don't calculate max length here.
3922 (gcov_read_profile_dir): Don't propagate here.
3923 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3924 struct gcov_filename changes.
3925 (gcov_exit_open_gcda_file): Likewise.
3927 2014-07-25 Nathan Sidwell <nathan@acm.org>
3929 * libgcov-driver.c (set_gcov_dump_complete,
3930 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3931 functions polluting user's namespace.
3932 (gcov_exit): Set variable directly.
3933 (gcov_clear): Reset variable directly.
3934 * libgcov-interface.c (get_gcov_dymp_complete,
3935 reset_gov_dump_complete): Remove declarations.
3936 (__gcov_reset, __gcov_dump): Don't call them.
3938 2014-07-24 DJ Delorie <dj@redhat.com>
3940 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3941 (__gcc_deregister_frame): Move logic to detect deregister function
3943 (__gcc_register_frame): here, so it's consistent with the register
3946 2014-07-23 Nathan Sidwell <nathan@acm.org>
3948 * libgcov-driver.c (set_gcov_list): Remove.
3949 (gcov_list): Make non-static in GCOV_TOOL.
3950 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3952 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3954 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3955 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3956 Don't use SYNC_LOCK_RELEASE for int type.
3958 2014-07-14 Richard Biener <rguenther@suse.de>
3960 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3962 2014-07-11 Rong Xu <xur@google.com>
3964 * libgcov-util.c (gcov_max_filename): Fix declartion.
3966 2014-07-10 Rong Xu <xur@google.com>
3968 Add gcov-tool: an offline gcda profile processing tool
3970 * libgcov-driver.c (gcov_max_filename): Make available
3972 * libgcov-merge.c (__gcov_merge_add): Replace
3973 gcov_read_counter() with a Macro.
3974 (__gcov_merge_ior): Ditto.
3975 (__gcov_merge_time_profile): Ditto.
3976 (__gcov_merge_single): Ditto.
3977 (__gcov_merge_delta): Ditto.
3978 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3979 in the utility functions.
3980 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3981 gcov_list object link lists.
3982 (tag_function): Ditto.
3983 (tag_blocks): Ditto.
3986 (tag_counters): Ditto.
3987 (tag_summary): Ditto.
3988 (read_gcda_finalize): Ditto.
3989 (read_gcda_file): Ditto.
3990 (ftw_read_file): Ditto.
3991 (read_profile_dir_init): Ditto.
3992 (gcov_read_profile_dir): Ditto.
3993 (gcov_read_counter_mem): Ditto.
3994 (gcov_get_merge_weight): Ditto.
3995 (merge_wrapper): A wrapper function that calls merging handler.
3996 (gcov_merge): Merge two gcov_info objects with weights.
3997 (find_match_gcov_info): Find the matched gcov_info in the list.
3998 (gcov_profile_merge): Merge two gcov_info object lists.
3999 (__gcov_add_counter_op): Process edge profile counter values.
4000 (__gcov_ior_counter_op): Process IOR profile counter values.
4001 (__gcov_delta_counter_op): Process delta profile counter values.
4002 (__gcov_single_counter_op): Process single profile counter values.
4003 (fp_scale): Callback function for float-point scaling.
4004 (int_scale): Callback function for integer fraction scaling.
4005 (gcov_profile_scale): Scaling profile counters.
4006 (gcov_profile_normalize): Normalize profile counters.
4007 * libgcov.h: Add headers and functions for gcov-tool use.
4008 (gcov_get_counter): New.
4009 (gcov_get_counter_target): Ditto.
4010 (struct gcov_info): Make the functions field mutable in gcov-tool
4013 2014-06-23 Kai Tietz <ktietz@redhat.com>
4016 * unwind-seh.c (_Unwind_GetGR): Check for proper
4018 (_Unwind_SetGR): Likewise.
4020 2014-05-22 Nick Clifton <nickc@redhat.com>
4022 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4025 2014-05-22 Teresa Johnson <tejohnson@google.com>
4027 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4030 2014-05-20 John Marino <gnugcc@marino.st>
4032 * config.host (*-*-dragonfly*): New target.
4033 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4034 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4035 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4036 * config/i386/dragonfly-unwind.h: New.
4038 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4041 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4042 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4044 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4046 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4049 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4051 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4053 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4056 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4059 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4061 Work around for current cygwin32 build problems.
4062 * config/i386/cygming-crtbegin.c (__register_frame_info,
4063 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4064 functions only for 64-bit systems.
4066 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4068 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4069 (sigill_caught, sigill_hdlr): Remove.
4071 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4073 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4075 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4076 Solaris 9 single-threaded support.
4077 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4078 Solaris 9 single-threaded support. Add call_user_handler code
4080 (sparc_is_sighandler): Likewise.
4082 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4084 * config.host: Append t-floattodi to tmake_file depending on
4087 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4089 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4091 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4094 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4095 variable to avoid "array subscript is above array bounds" warnings.
4096 Use __builtin_expect when checking *jcr_list for NULL.
4098 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4101 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4102 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4103 vtv_*.o to extra_parts if enable_vtable_verify.
4105 2014-03-06 Nick Clifton <nickc@redhat.com>
4107 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4108 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4110 2014-02-28 Joey Ye <joey.ye@arm.com>
4113 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4114 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4117 2014-02-24 Walter Lee <walt@tilera.com>
4119 * config.host: Support "tilegx*" and "tilepro*" triplets.
4120 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4121 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4123 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4124 Chung-Lin Tang <cltang@codesourcery.com>
4126 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4127 * config/nios2/crti.S: Remove .file directive.
4128 * config/nios2/crtn.S: Likewise.
4130 2014-02-18 Kai Tietz <ktietz@redhat.com>
4131 Jonathan Schleifer <js@webkeks.org>
4134 * unwind-seh.c (_GCC_specific_handler): Pass proper
4135 value to unwind-handler.
4137 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4139 * soft-fp/adddf3.c: Update from glibc.
4140 * soft-fp/addsf3.c: Likewise.
4141 * soft-fp/addtf3.c: Likewise.
4142 * soft-fp/divdf3.c: Likewise.
4143 * soft-fp/divsf3.c: Likewise.
4144 * soft-fp/divtf3.c: Likewise.
4145 * soft-fp/double.h: Likewise.
4146 * soft-fp/eqdf2.c: Likewise.
4147 * soft-fp/eqsf2.c: Likewise.
4148 * soft-fp/eqtf2.c: Likewise.
4149 * soft-fp/extenddftf2.c: Likewise.
4150 * soft-fp/extended.h: Likewise.
4151 * soft-fp/extendsfdf2.c: Likewise.
4152 * soft-fp/extendsftf2.c: Likewise.
4153 * soft-fp/extendxftf2.c: Likewise.
4154 * soft-fp/fixdfdi.c: Likewise.
4155 * soft-fp/fixdfsi.c: Likewise.
4156 * soft-fp/fixdfti.c: Likewise.
4157 * soft-fp/fixsfdi.c: Likewise.
4158 * soft-fp/fixsfsi.c: Likewise.
4159 * soft-fp/fixsfti.c: Likewise.
4160 * soft-fp/fixtfdi.c: Likewise.
4161 * soft-fp/fixtfsi.c: Likewise.
4162 * soft-fp/fixtfti.c: Likewise.
4163 * soft-fp/fixunsdfdi.c: Likewise.
4164 * soft-fp/fixunsdfsi.c: Likewise.
4165 * soft-fp/fixunsdfti.c: Likewise.
4166 * soft-fp/fixunssfdi.c: Likewise.
4167 * soft-fp/fixunssfsi.c: Likewise.
4168 * soft-fp/fixunssfti.c: Likewise.
4169 * soft-fp/fixunstfdi.c: Likewise.
4170 * soft-fp/fixunstfsi.c: Likewise.
4171 * soft-fp/fixunstfti.c: Likewise.
4172 * soft-fp/floatdidf.c: Likewise.
4173 * soft-fp/floatdisf.c: Likewise.
4174 * soft-fp/floatditf.c: Likewise.
4175 * soft-fp/floatsidf.c: Likewise.
4176 * soft-fp/floatsisf.c: Likewise.
4177 * soft-fp/floatsitf.c: Likewise.
4178 * soft-fp/floattidf.c: Likewise.
4179 * soft-fp/floattisf.c: Likewise.
4180 * soft-fp/floattitf.c: Likewise.
4181 * soft-fp/floatundidf.c: Likewise.
4182 * soft-fp/floatundisf.c: Likewise.
4183 * soft-fp/floatunditf.c: Likewise.
4184 * soft-fp/floatunsidf.c: Likewise.
4185 * soft-fp/floatunsisf.c: Likewise.
4186 * soft-fp/floatunsitf.c: Likewise.
4187 * soft-fp/floatuntidf.c: Likewise.
4188 * soft-fp/floatuntisf.c: Likewise.
4189 * soft-fp/floatuntitf.c: Likewise.
4190 * soft-fp/gedf2.c: Likewise.
4191 * soft-fp/gesf2.c: Likewise.
4192 * soft-fp/getf2.c: Likewise.
4193 * soft-fp/ledf2.c: Likewise.
4194 * soft-fp/lesf2.c: Likewise.
4195 * soft-fp/letf2.c: Likewise.
4196 * soft-fp/muldf3.c: Likewise.
4197 * soft-fp/mulsf3.c: Likewise.
4198 * soft-fp/multf3.c: Likewise.
4199 * soft-fp/negdf2.c: Likewise.
4200 * soft-fp/negsf2.c: Likewise.
4201 * soft-fp/negtf2.c: Likewise.
4202 * soft-fp/op-1.h: Likewise.
4203 * soft-fp/op-2.h: Likewise.
4204 * soft-fp/op-4.h: Likewise.
4205 * soft-fp/op-8.h: Likewise.
4206 * soft-fp/op-common.h: Likewise.
4207 * soft-fp/quad.h: Likewise.
4208 * soft-fp/single.h: Likewise.
4209 * soft-fp/soft-fp.h: Likewise.
4210 * soft-fp/subdf3.c: Likewise.
4211 * soft-fp/subsf3.c: Likewise.
4212 * soft-fp/subtf3.c: Likewise.
4213 * soft-fp/truncdfsf2.c: Likewise.
4214 * soft-fp/trunctfdf2.c: Likewise.
4215 * soft-fp/trunctfsf2.c: Likewise.
4216 * soft-fp/trunctfxf2.c: Likewise.
4217 * soft-fp/unorddf2.c: Likewise.
4218 * soft-fp/unordsf2.c: Likewise.
4219 * soft-fp/unordtf2.c: Likewise.
4220 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4222 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4224 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4226 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4228 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4230 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4232 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4234 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4236 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4238 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4240 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4242 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4244 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4246 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4248 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4250 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4253 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4255 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4256 cannot be represented.
4257 * config/s390/32/_fixsfdi.c: Likewise.
4258 * config/s390/32/_fixtfdi.c: Likewise.
4259 * config/s390/32/_fixunsdfdi.c: Likewise.
4260 * config/s390/32/_fixunssfdi.c: Likewise.
4261 * config/s390/32/_fixunstfdi.c: Likewise.
4263 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4265 * configure.ac (libgcc_cv_mips_hard_float): New.
4266 * configure: Regenerate.
4267 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4268 t-softfp-sfdf for hard-float targets.
4269 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4270 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4271 (softfp_truncations, softfp_exclude_libgcc2): New.
4272 * config/t-hardfp: New file.
4273 * config/t-hardfp-sfdf: Likewise.
4274 * config/hardfp.c: Likewise.
4276 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4278 * config.host: Include t-floattodi also for s390x.
4279 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4280 * config/s390/32/_fixsfdi.c: Likewise.
4281 * config/s390/32/_fixtfdi.c: Likewise.
4282 * config/s390/32/_fixunsdfdi.c: Likewise.
4283 * config/s390/32/_fixunssfdi.c: Likewise.
4284 * config/s390/32/_fixunstfdi.c: Likewise.
4286 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4289 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4290 (install-libgcc-unwind-map-forbuild): New target.
4291 (all): Depend on install-libgcc-unwind-map-forbuild.
4292 (install-libgcc-unwind-map): New target.
4293 (install): Depend on install-libgcc-unwind-map.
4295 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4297 * config/nios2/crti.S (_init): Initialize GOT pointer from
4298 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4300 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4302 * configure.ac: Check __mips64 when setting host_address.
4303 * configure: Regenerate.
4304 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4305 mips/t-mips64 and t-softfp.
4306 (mips*-*-linux*): Don't add mips/t-tpbit.
4307 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4308 (DPBIT, DPBIT_CFLAGS): Delete.
4309 * config/mips/sfp-machine.h: New file.
4310 * config/mips/t-mips64: Likewise.
4311 * config/mips/t-softfp-tf: Likewise.
4312 * config/mips/t-tpbit: Delete.
4314 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4316 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4319 2014-01-25 Walter Lee <walt@tilera.com>
4321 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4322 config.h or system.h.
4325 2014-01-25 Walter Lee <walt@tilera.com>
4327 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4328 (post_atomic_barrier): Ditto.
4329 (__fetch_and_do): New macro.
4330 (__atomic_fetch_and_do): Use __fetch_and_do.
4331 (__sync_fetch_and_do): New macro.
4332 (__sync_fetch_and_add_4): New function.
4333 (__sync_fetch_and_sub_4): New function.
4334 (__sync_fetch_and_or_4): New function.
4335 (__sync_fetch_and_and_4): New function.
4336 (__sync_fetch_and_xor_4): New function.
4337 (__sync_fetch_and_nand_4): New function.
4338 (__sync_fetch_and_add_8): New function.
4339 (__sync_fetch_and_sub_8): New function.
4340 (__sync_fetch_and_or_8): New function.
4341 (__sync_fetch_and_and_8): New function.
4342 (__sync_fetch_and_xor_8): New function.
4343 (__sync_fetch_and_nand_8): New function.
4344 (__do_and_fetch): New macro.
4345 (__atomic_do_and_fetch): Use __do_and_fetch.
4346 (__sync_do_and_fetch): New macro.
4347 (__sync_add_and_fetch_4): New function.
4348 (__sync_sub_and_fetch_4): New function.
4349 (__sync_or_and_fetch_4): New function.
4350 (__sync_and_and_fetch_4): New function.
4351 (__sync_xor_and_fetch_4): New function.
4352 (__sync_nand_and_fetch_4): New function.
4353 (__sync_add_and_fetch_8): New function.
4354 (__sync_sub_and_fetch_8): New function.
4355 (__sync_or_and_fetch_8): New function.
4356 (__sync_and_and_fetch_8): New function.
4357 (__sync_xor_and_fetch_8): New function.
4358 (__sync_nand_and_fetch_8): New function.
4359 (__sync_exchange_methods): New macro.
4360 (__sync_val_compare_and_swap_4): New function.
4361 (__sync_bool_compare_and_swap_4): New function.
4362 (__sync_lock_test_and_test_4): New function.
4363 (__sync_val_compare_and_swap_8): New function.
4364 (__sync_bool_compare_and_swap_8): New function.
4365 (__sync_lock_test_and_test_8): New function.
4366 (__subword_cmpxchg_body): New macro.
4367 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4368 (__atomic_compare_exchange_2): Ditto.
4369 (__sync_subword_cmpxchg): New macro.
4370 (__sync_val_compare_and_swap_1): New function.
4371 (__sync_bool_compare_and_swap_1): New function.
4372 (__sync_val_compare_and_swap_2): New function.
4373 (__sync_bool_compare_and_swap_2): New function.
4374 (__atomic_subword): Rename to ...
4375 (__subword): ... New name.
4376 (__atomic_subword_fetch): Use __subword.
4377 (__sync_subword_fetch): New macro.
4378 (__sync_fetch_and_add_1): New function.
4379 (__sync_fetch_and_sub_1): New function.
4380 (__sync_fetch_and_or_1): New function.
4381 (__sync_fetch_and_and_1): New function.
4382 (__sync_fetch_and_xor_1): New function.
4383 (__sync_fetch_and_nand_1): New function.
4384 (__sync_fetch_and_add_2): New function.
4385 (__sync_fetch_and_sub_2): New function.
4386 (__sync_fetch_and_or_2): New function.
4387 (__sync_fetch_and_and_2): New function.
4388 (__sync_fetch_and_xor_2): New function.
4389 (__sync_fetch_and_nand_2): New function.
4390 (__sync_add_and_fetch_1): New function.
4391 (__sync_sub_and_fetch_1): New function.
4392 (__sync_or_and_fetch_1): New function.
4393 (__sync_and_and_fetch_1): New function.
4394 (__sync_xor_and_fetch_1): New function.
4395 (__sync_nand_and_fetch_1): New function.
4396 (__sync_add_and_fetch_2): New function.
4397 (__sync_sub_and_fetch_2): New function.
4398 (__sync_or_and_fetch_2): New function.
4399 (__sync_and_and_fetch_2): New function.
4400 (__sync_xor_and_fetch_2): New function.
4401 (__sync_nand_and_fetch_2): New function.
4402 (__atomic_subword_lock): Use __subword.
4403 (__sync_subword_lock): New macro.
4404 (__sync_lock_test_and_set_1): New function.
4405 (__sync_lock_test_and_set_2): New function.
4407 2014-01-25 Walter Lee <walt@tilera.com>
4409 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4410 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4411 (__atomic_subword): Ditto.
4413 2014-01-25 Walter Lee <walt@tilera.com>
4415 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4416 a prefix op argument.
4417 (__atomic_nand_fetch_4): Add prefix op.
4418 (__atomic_nand_fetch_8): Ditto.
4420 2014-01-21 Baruch Siach <barch@tkos.co.il>
4422 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4424 2014-01-09 Rong Xu <xur@google.com>
4426 * libgcov-driver.c (this_prg): make it local to save
4428 (gcov_exit_compute_summary): Ditto.
4429 (gcov_exit_merge_gcda): Ditto.
4430 (gcov_exit_merge_summary): Ditto.
4431 (gcov_exit_dump_gcov): Ditto.
4433 2014-01-08 Rong Xu <xur@google.com>
4435 * libgcov-driver.c: Use libgcov.h.
4436 (buffer_fn_data): Use xmalloc instead of malloc.
4437 (gcov_exit_merge_gcda): Ditto.
4438 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4439 * libgcov.h: New common header files for libgcov-*.h.
4440 * libgcov-interface.c: Use libgcov.h
4441 * libgcov-merge.c: Ditto.
4442 * libgcov-profiler.c: Ditto.
4443 * Makefile.in: Add dependence to libgcov.h
4445 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4447 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4448 case of small numerator and finite nonzero result.
4450 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4452 Update copyright years
4454 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4456 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4457 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4458 config/arc/dp-hack.h, config/arc/fp-hack.h,
4459 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4460 config/arc/ieee-754/arc600-dsp/divdf3.S,
4461 config/arc/ieee-754/arc600-dsp/divsf3.S,
4462 config/arc/ieee-754/arc600-dsp/muldf3.S,
4463 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4464 config/arc/ieee-754/arc600-mul64/divdf3.S,
4465 config/arc/ieee-754/arc600-mul64/divsf3.S,
4466 config/arc/ieee-754/arc600-mul64/muldf3.S,
4467 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4468 config/arc/ieee-754/arc600/divsf3.S,
4469 config/arc/ieee-754/arc600/mulsf3.S,
4470 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4471 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4472 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4473 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4474 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4475 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4476 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4477 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4478 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4479 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4480 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4481 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4482 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4483 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4484 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4485 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4486 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4487 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4488 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4489 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4490 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4491 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4492 vtv_start_preinit.c: Use the standard form for the copyright notice.
4494 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4495 Chung-Lin Tang <cltang@codesourcery.com>
4496 Based on patches from Altera Corporation
4498 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4499 * config/nios2/lib2-nios2.h: New file.
4500 * config/nios2/lib2-divmod-hi.c: New file.
4501 * config/nios2/linux-unwind.h: New file.
4502 * config/nios2/lib2-divmod.c: New file.
4503 * config/nios2/linux-atomic.c: New file.
4504 * config/nios2/t-nios2: New file.
4505 * config/nios2/crti.asm: New file.
4506 * config/nios2/t-linux: New file.
4507 * config/nios2/lib2-divtable.c: New file.
4508 * config/nios2/lib2-mul.c: New file.
4509 * config/nios2/tramp.c: New file.
4510 * config/nios2/crtn.asm: New file.
4512 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4514 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4515 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4516 from cpuid.h to check vendor signatures.
4518 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4520 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4521 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4522 (get_amd_cpu): Likewise.
4524 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4526 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4529 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4530 H.J. Lu <hongjiu.lu@intel.com>
4533 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4535 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4536 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4537 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4538 FEATURE_XOP and FEATURE_FMA.
4539 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4541 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4542 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4543 FEATURE_FMA4 and FEATURE_XOP.
4545 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4547 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4548 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4549 (get_intel_cpu): Updated.
4551 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4553 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4555 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4557 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4558 instructions when __SSE_MATH__ is defined.
4560 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4562 * config.host (microblaze-*-rtems*): New.
4564 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4566 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4567 architectures that do not have hardware divide instruction.
4568 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4570 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4572 * longlong.h: Delete (moved to include/).
4574 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4576 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4577 of normal number and qNaN to not raise an inexact exception.
4579 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4581 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4583 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4585 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4586 for correct opcodes on BE.
4588 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4590 * soft-fp/op-4.h: Update from glibc.
4592 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4594 * libgcc2.c (__udivmoddi4): Define new implementation when
4595 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4596 divide instructions.
4598 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4600 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4602 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4604 * config/t-softfp (soft-fp-objects-base): New variable.
4605 (soft-fp-objects): Use it.
4607 2013-11-23 David Edelson <dje.gcc@gmail.com>
4608 Andrew Dixie <andrewd@gentrack.com>
4611 * config/rs6000/aixinitfini.c: New file.
4612 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4613 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4616 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4618 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4620 2013-11-18 Jan Hubicka <jh@suse.cz>
4622 * libgcov-driver.c (run_accounted): Make global level static.
4623 (gcov_exit_merge_summary): Silence warning; do not clear
4625 (gcov_exit): Clear it here.
4627 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4630 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4631 (all_prg, crc32): Remove static vars.
4632 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4634 (gcov_exit_merge_gcda): Add crc32 parameter.
4635 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4636 do not account run if it was already accounted.
4637 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4638 (gcov_exit): Initialize all_prg; update.
4640 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4642 * configure: Regenerate.
4644 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4645 Alan Modra <amodra@gmail.com>
4647 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4648 (frob_update_context): Use it.
4650 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4651 Alan Modra <amodra@gmail.com>
4653 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4654 (trampoline_initial): Provide ELFv2 variant.
4655 (__trampoline_setup): Likewise.
4657 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4658 check for AIX indirect function call sequence if _CALL_ELF == 2.
4660 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4661 Alan Modra <amodra@gmail.com>
4663 * config/rs6000/linux-unwind.h (get_regs): Do not support
4664 old kernel versions if _CALL_ELF == 2.
4665 (frob_update_context): Do not support PLT stub variants only
4666 generated by old linkers if _CALL_ELF == 2.
4668 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4669 Alan Modra <amodra@gmail.com>
4671 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4672 location of CR save area for 64-bit little-endian systems.
4674 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4676 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4678 * config/arm/t-vxworks: Delete.
4680 2013-11-10 Kai Tietz <ktietz@redhat.com>
4682 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4683 Increment load-count on use of LIBGCC_SONAME DLL.
4684 (hmod_libgcc): New static variable to hold handle of
4686 (__gcc_deregister_frame): Decrement load-count of
4689 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4691 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4693 * configure: Regenerate
4695 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4697 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4698 FP_EX_DENORM. Store result to volatile location after SSE division
4699 to close interrupt window. Remove unneeded fwait after x87
4700 division since interrupt window will be closed by emitted fstp.
4701 Rewrite FP_EX_INEXACT handling.
4703 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4705 * soft-fp/README: Update.
4706 * soft-fp/adddf3.c: Update from glibc.
4707 * soft-fp/addsf3.c: Likewise.
4708 * soft-fp/addtf3.c: Likewise.
4709 * soft-fp/divdf3.c: Likewise.
4710 * soft-fp/divsf3.c: Likewise.
4711 * soft-fp/divtf3.c: Likewise.
4712 * soft-fp/double.h: Likewise.
4713 * soft-fp/eqdf2.c: Likewise.
4714 * soft-fp/eqsf2.c: Likewise.
4715 * soft-fp/eqtf2.c: Likewise.
4716 * soft-fp/extenddftf2.c: Likewise.
4717 * soft-fp/extended.h: Likewise.
4718 * soft-fp/extendsfdf2.c: Likewise.
4719 * soft-fp/extendsftf2.c: Likewise.
4720 * soft-fp/extendxftf2.c: Likewise.
4721 * soft-fp/fixdfdi.c: Likewise.
4722 * soft-fp/fixdfsi.c: Likewise.
4723 * soft-fp/fixdfti.c: Likewise.
4724 * soft-fp/fixsfdi.c: Likewise.
4725 * soft-fp/fixsfsi.c: Likewise.
4726 * soft-fp/fixsfti.c: Likewise.
4727 * soft-fp/fixtfdi.c: Likewise.
4728 * soft-fp/fixtfsi.c: Likewise.
4729 * soft-fp/fixtfti.c: Likewise.
4730 * soft-fp/fixunsdfdi.c: Likewise.
4731 * soft-fp/fixunsdfsi.c: Likewise.
4732 * soft-fp/fixunsdfti.c: Likewise.
4733 * soft-fp/fixunssfdi.c: Likewise.
4734 * soft-fp/fixunssfsi.c: Likewise.
4735 * soft-fp/fixunssfti.c: Likewise.
4736 * soft-fp/fixunstfdi.c: Likewise.
4737 * soft-fp/fixunstfsi.c: Likewise.
4738 * soft-fp/fixunstfti.c: Likewise.
4739 * soft-fp/floatdidf.c: Likewise.
4740 * soft-fp/floatdisf.c: Likewise.
4741 * soft-fp/floatditf.c: Likewise.
4742 * soft-fp/floatsidf.c: Likewise.
4743 * soft-fp/floatsisf.c: Likewise.
4744 * soft-fp/floatsitf.c: Likewise.
4745 * soft-fp/floattidf.c: Likewise.
4746 * soft-fp/floattisf.c: Likewise.
4747 * soft-fp/floattitf.c: Likewise.
4748 * soft-fp/floatundidf.c: Likewise.
4749 * soft-fp/floatundisf.c: Likewise.
4750 * soft-fp/floatunditf.c: Likewise.
4751 * soft-fp/floatunsidf.c: Likewise.
4752 * soft-fp/floatunsisf.c: Likewise.
4753 * soft-fp/floatunsitf.c: Likewise.
4754 * soft-fp/floatuntidf.c: Likewise.
4755 * soft-fp/floatuntisf.c: Likewise.
4756 * soft-fp/floatuntitf.c: Likewise.
4757 * soft-fp/gedf2.c: Likewise.
4758 * soft-fp/gesf2.c: Likewise.
4759 * soft-fp/getf2.c: Likewise.
4760 * soft-fp/ledf2.c: Likewise.
4761 * soft-fp/lesf2.c: Likewise.
4762 * soft-fp/letf2.c: Likewise.
4763 * soft-fp/muldf3.c: Likewise.
4764 * soft-fp/mulsf3.c: Likewise.
4765 * soft-fp/multf3.c: Likewise.
4766 * soft-fp/negdf2.c: Likewise.
4767 * soft-fp/negsf2.c: Likewise.
4768 * soft-fp/negtf2.c: Likewise.
4769 * soft-fp/op-1.h: Likewise.
4770 * soft-fp/op-2.h: Likewise.
4771 * soft-fp/op-4.h: Likewise.
4772 * soft-fp/op-8.h: Likewise.
4773 * soft-fp/op-common.h: Likewise.
4774 * soft-fp/quad.h: Likewise.
4775 * soft-fp/single.h: Likewise.
4776 * soft-fp/soft-fp.h: Likewise.
4777 * soft-fp/subdf3.c: Likewise.
4778 * soft-fp/subsf3.c: Likewise.
4779 * soft-fp/subtf3.c: Likewise.
4780 * soft-fp/truncdfsf2.c: Likewise.
4781 * soft-fp/trunctfdf2.c: Likewise.
4782 * soft-fp/trunctfsf2.c: Likewise.
4783 * soft-fp/trunctfxf2.c: Likewise.
4784 * soft-fp/unorddf2.c: Likewise.
4785 * soft-fp/unordsf2.c: Likewise.
4786 * soft-fp/unordtf2.c: Likewise.
4788 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4790 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4791 (_FP_MUL_MEAT_D): Ditto.
4792 (_FP_DIV_MEAT_S): Ditto.
4793 (_FP_DIV_MEAT_D): Ditto.
4794 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4795 t-softfp-sfdf and t-softfp to tmake_file.
4797 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4799 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4800 * config/i386/crtprec.c: Ditto.
4802 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4803 Shiva Chen <shiva0217@gmail.com>
4805 * config.host (nds32*-elf*): Add nds32 target.
4806 * config/nds32 : New directory and files.
4808 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4810 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4811 * config.host (cpu_type) <Setting default>: Add entry for
4813 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4814 <crisv32-*-linux*>: Adjust.
4815 * longlong.h: Wrap the whole CRIS section in a single
4816 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4818 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4820 [__CRIS__] (__umulsidi3): Define.
4821 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4822 * config/cris/sfp-machine.h: New file.
4823 * config/cris/umulsidi3.S: New file.
4824 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4825 * config/cris/arit.c (SIGNMULT): New macro.
4826 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4827 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4828 saving 3 out of originally 33 cycles from the fastest
4829 path, 3 out of 54 from the medium path and one from the longest
4830 path. Improve comments.
4832 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4834 * sync.c: Remove static aliases and define each function directly
4835 under its real name.
4837 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4839 * config.host (hppa*64*-*-linux*): Define extra_parts.
4840 (hppa*-*-linux*): Likewise.
4842 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4844 * config/arc/crtgend.S: Add 2013 to Copyright years.
4845 * config/arc/gmon/atomic.h: Likewise.
4846 * config/arc/gmon/auxreg.h: Likewise.
4847 * config/arc/gmon/sys/gmon_out.h: Likewise.
4848 * config/arc/gmon/sys/gmon.h: Likewise.
4849 * config/arc/gmon/prof-freq.c: Likewise.
4850 * config/arc/gmon/mcount.c: Likewise.
4851 * config/arc/gmon/prof-freq-stub.S: Likewise.
4852 * config/arc/gmon/gmon.c: Likewise.
4853 * config/arc/gmon/machine-gmon.h: Likewise.
4854 * config/arc/gmon/profil.S: Likewise.
4855 * config/arc/gmon/dcache_linesz.S: Likewise.
4856 * config/arc/crtg.S: Likewise.
4857 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4858 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4859 * config/arc/ieee-754/adddf3.S: Likewise.
4860 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4861 * config/arc/ieee-754/fixsfsi.S: Likewise.
4862 * config/arc/ieee-754/gtsf2.S: Likewise.
4863 * config/arc/ieee-754/floatsisf.S: Likewise.
4864 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4865 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4866 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4867 * config/arc/ieee-754/fixdfsi.S: Likewise.
4868 * config/arc/ieee-754/addsf3.S: Likewise.
4869 * config/arc/ieee-754/gesf2.S: Likewise.
4870 * config/arc/ieee-754/floatsidf.S: Likewise.
4871 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4872 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4873 * config/arc/ieee-754/gtdf2.S: Likewise.
4874 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4875 * config/arc/ieee-754/uneqdf2.S: Likewise.
4876 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4877 * config/arc/ieee-754/uneqsf2.S: Likewise.
4878 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4879 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4880 * config/arc/ieee-754/eqdf2.S: Likewise.
4881 * config/arc/ieee-754/ordsf2.S: Likewise.
4882 * config/arc/ieee-754/divsf3.S: Likewise.
4883 * config/arc/ieee-754/divdf3.S: Likewise.
4884 * config/arc/ieee-754/floatunsidf.S: Likewise.
4885 * config/arc/ieee-754/orddf2.S: Likewise.
4886 * config/arc/ieee-754/eqsf2.S: Likewise.
4887 * config/arc/ieee-754/gedf2.S: Likewise.
4888 * config/arc/crtn.S: Likewise.
4889 * config/arc/crti.S: Likewise.
4890 * config/arc/t-arc700-uClibc: Likewise.
4891 * config/arc/asm.h: Likewise.
4892 * config/arc/libgcc-excl.ver: Likewise.
4893 * config/arc/t-arc-newlib: Likewise.
4894 * config/arc/divtab-arc700.c: Likewise.
4895 * config/arc/initfini.c: Likewise.
4896 * config/arc/fp-hack.h: Likewise.
4898 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4899 Diego Novillo <dnovillo@google.com>
4901 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4902 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4903 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4904 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4906 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4907 Brendan Kehoe <brendan@zen.org>
4908 Simon Cook <simon.cook@embecosm.com>
4910 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4911 * config/arc: New directory.
4912 * longlong.h [__arc__] (umul_ppmm): Remove.
4913 [__arc__] (__umulsidi3): Define.
4914 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4915 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4917 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4919 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4921 * config/i386/gthr-win32.h: Likewise.
4923 2013-09-16 DJ Delorie <dj@redhat.com>
4925 * config/rl78/vregs.h: Add G10 register definitions.
4926 * config/rl78/lib2mul.c: Enable for RL78/G10.
4927 * config/rl78/lib2div.c: Likewise.
4928 * config/rl78/lshrsi3.S: Use vregs.h.
4929 * config/rl78/cmpsi2.S: Likewise.
4930 * config/rl78/trampoline.S: Likewise.
4931 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4933 2013-09-14 DJ Delorie <dj@redhat.com>
4934 Nick Clifton <nickc@redhat.com>
4936 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4937 * config/rl78/vregs.h: New.
4938 * config/rl78/signbit.S: New file. Implements signbit function.
4939 * config/rl78/divmodsi.S: New.
4940 * config/rl78/divmodhi.S: New.
4941 * config/rl78/divmodqi.S: New.
4942 * config/rl78/t-rl78: Build them here...
4943 * config/rl78/lib2div.c: ...but not here.
4945 2013-09-12 DJ Delorie <dj@redhat.com>
4947 * config.host (msp*-*-elf): New.
4948 * config/msp430/: New port.
4950 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4952 PR gcov-profile/58127
4953 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4954 __thread var for emulated TLS.
4955 (__gcov_indirect_call_counters): Likewise.
4957 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4958 Catherine Moore <clm@codesourcery.com>
4959 Richard Sandiford <rdsandiford@googlemail.com>
4961 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4962 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4963 (CALL_STUB_NO_RET): Likewise.
4964 (CALL_STUB_RET): Likewise.
4965 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4966 __mips16_ret call/return stub symbols.
4967 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4970 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4972 * config.host <mips*-*-linux*>: Remove a stray comment.
4974 2013-08-10 Jan Hubicka <jh@suse.cz>
4976 Work around binutils PR14342
4977 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4978 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4979 (L_gcov_indirect_call_profiler_v2): New.
4981 2013-08-06 Jan Hubicka <jh@suse.cz>
4983 * libgcov.c (__gcov_indirect_call_callee,
4984 __gcov_indirect_call_counters): New global vars.
4985 (__gcov_indirect_call_profiler): replace by ...
4986 (__gcov_indirect_call_profiler_v2) ... this one.
4988 2013-08-06 Caroline Tice <cmtice@google.com>
4990 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4991 vtv_start_preinit.o and vtv_end_preinit.o.
4992 * configure.ac: Add code to check/set enable_vtable_verify.
4993 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4995 * vtv_start_preinit.c: New file.
4996 * vtv_end_preinit.c: New file.
4997 * vtv_start.c: New file.
4998 * vtv_end.c: New file.
4999 * configure: Regenerated.
5001 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5003 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5004 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5005 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5006 GPL-3.0-with-GCC-exception.
5008 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5010 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5013 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5015 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5016 mapping for FPRs when creating the fallback framestate.
5018 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5021 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5022 (__round_s2_const, __round_u2_const)
5023 (__round_s4_const, __round_u4_const, __round_x8):
5024 Saturate result if addition result cannot be represented.
5026 2013-07-15 Matthias Klose <doko@ubuntu.com>
5028 * libgcc2.c: Don't include <limits.h>.
5030 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5032 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5034 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5037 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5039 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5042 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5044 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5045 instead of table lookups.
5046 (__popcountDI2): Likewise.
5048 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5050 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5053 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5056 * soft-fp/adddf3.c: Update from glibc.
5057 * soft-fp/addsf3.c: Likewise.
5058 * soft-fp/addtf3.c: Likewise.
5059 * soft-fp/divdf3.c: Likewise.
5060 * soft-fp/divsf3.c: Likewise.
5061 * soft-fp/divtf3.c: Likewise.
5062 * soft-fp/double.h: Likewise.
5063 * soft-fp/eqdf2.c: Likewise.
5064 * soft-fp/eqsf2.c: Likewise.
5065 * soft-fp/eqtf2.c: Likewise.
5066 * soft-fp/extenddftf2.c: Likewise.
5067 * soft-fp/extended.h: Likewise.
5068 * soft-fp/extendsfdf2.c: Likewise.
5069 * soft-fp/extendsftf2.c: Likewise.
5070 * soft-fp/fixdfdi.c: Likewise.
5071 * soft-fp/fixdfsi.c: Likewise.
5072 * soft-fp/fixsfdi.c: Likewise.
5073 * soft-fp/fixsfsi.c: Likewise.
5074 * soft-fp/fixtfdi.c: Likewise.
5075 * soft-fp/fixtfsi.c: Likewise.
5076 * soft-fp/fixunsdfdi.c: Likewise.
5077 * soft-fp/fixunsdfsi.c: Likewise.
5078 * soft-fp/fixunssfdi.c: Likewise.
5079 * soft-fp/fixunssfsi.c: Likewise.
5080 * soft-fp/fixunstfdi.c: Likewise.
5081 * soft-fp/fixunstfsi.c: Likewise.
5082 * soft-fp/floatdidf.c: Likewise.
5083 * soft-fp/floatdisf.c: Likewise.
5084 * soft-fp/floatditf.c: Likewise.
5085 * soft-fp/floatsidf.c: Likewise.
5086 * soft-fp/floatsisf.c: Likewise.
5087 * soft-fp/floatsitf.c: Likewise.
5088 * soft-fp/floatundidf.c: Likewise.
5089 * soft-fp/floatundisf.c: Likewise.
5090 * soft-fp/floatunditf.c: Likewise.
5091 * soft-fp/floatunsidf.c: Likewise.
5092 * soft-fp/floatunsisf.c: Likewise.
5093 * soft-fp/floatunsitf.c: Likewise.
5094 * soft-fp/gedf2.c: Likewise.
5095 * soft-fp/gesf2.c: Likewise.
5096 * soft-fp/getf2.c: Likewise.
5097 * soft-fp/ledf2.c: Likewise.
5098 * soft-fp/lesf2.c: Likewise.
5099 * soft-fp/letf2.c: Likewise.
5100 * soft-fp/muldf3.c: Likewise.
5101 * soft-fp/mulsf3.c: Likewise.
5102 * soft-fp/multf3.c: Likewise.
5103 * soft-fp/negdf2.c: Likewise.
5104 * soft-fp/negsf2.c: Likewise.
5105 * soft-fp/negtf2.c: Likewise.
5106 * soft-fp/op-1.h: Likewise.
5107 * soft-fp/op-2.h: Likewise.
5108 * soft-fp/op-4.h: Likewise.
5109 * soft-fp/op-8.h: Likewise.
5110 * soft-fp/op-common.h: Likewise.
5111 * soft-fp/quad.h: Likewise.
5112 * soft-fp/single.h: Likewise.
5113 * soft-fp/soft-fp.h: Likewise.
5114 * soft-fp/subdf3.c: Likewise.
5115 * soft-fp/subsf3.c: Likewise.
5116 * soft-fp/subtf3.c: Likewise.
5117 * soft-fp/truncdfsf2.c: Likewise.
5118 * soft-fp/trunctfdf2.c: Likewise.
5119 * soft-fp/trunctfsf2.c: Likewise.
5120 * soft-fp/unorddf2.c: Likewise.
5121 * soft-fp/unordsf2.c: Likewise.
5122 * soft-fp/unordtf2.c: Likewise.
5123 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5124 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5125 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5126 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5127 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5128 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5129 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5130 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5131 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5132 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5133 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5134 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5136 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5138 * config/mips/lib2funcs.c: New file.
5139 * config/mips/t-mips (LIB2ADD_ST): Add it.
5141 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5144 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5145 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5147 2013-06-08 Walter Lee <walt@tilera.com>
5149 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5150 Replace int64_t with long long. Add __extension__ where
5152 * config/tilepro/atomic.c: Include config.h.
5154 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5156 * config.host (arm-wrs-vxworks): Configure with other soft float.
5158 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5160 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5161 (mips64r5900el-*-elf*): New configurations.
5163 2013-06-04 Alan Modra <amodra@gmail.com>
5165 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5167 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5169 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5171 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5173 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5174 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5175 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5177 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5179 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5180 (powerpc-wrs-vxworks): Likewise.
5182 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5184 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5185 signal frames as well.
5186 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5187 STACK_BIAS to the CFA offset.
5189 2013-05-17 Richard Henderson <rth@redhat.com>
5192 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5193 (execute_cfa_program): Use it when storing to fs->regs.
5195 2013-05-08 Kai Tietz <ktietz@redhat.com>
5197 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5198 (__deregister_frame_info): Likewise.
5200 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5202 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5205 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5207 2013-04-25 Alan Modra <amodra@gmail.com>
5209 * config.host: Match little-endian powerpc-linux.
5211 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5213 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5214 as 'unsigned long long' instead of 'unsigned long'.
5215 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5218 2013-04-10 Julian Brown <julian@codesourcery.com>
5220 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5221 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5222 unsigned char/unsigned short.
5223 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5225 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5228 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5230 2013-04-04 Meador Inge <meadori@codesourcery.com>
5232 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5233 computing the location of the link register.
5234 (aeabi_uldivmod): Ditto.
5236 2013-03-27 Kai Tietz <ktietz@redhat.com>
5238 * config.host: Add support for cygwin x64 target.
5239 * configure: Regenerated.
5241 2013-03-26 Walter Lee <walt@tilera.com>
5243 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5244 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5246 2013-03-25 Kai Tietz <ktietz@redhat.com>
5248 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5250 2013-03-20 Robert Mason <rbmj@verizon.net>
5252 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5253 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5254 (__gthread_leave_tsd_dtor_context): Add prototypes.
5255 (tls_delete_hook): Update.
5257 2013-03-20 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 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5267 PR tree-optimization/53265
5268 * unwind-dw2.c (execute_cfa_program): Avoid
5269 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5270 on targets with DWARF_FRAME_REGISTERS < 32.
5272 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5275 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5276 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5278 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5280 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5281 sandybridge processors.
5283 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5286 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5289 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5291 * config/microblaze/crti.S: Setup stack protection at entry
5293 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5295 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5296 (__rotldi3): Shift bytewise if applicable.
5298 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5300 * config/aarch64/sync-cache.c
5301 (__aarch64_sync_cache_range): Silence warnings.
5303 2013-02-25 Catherine Moore <clm@codesourcery.com>
5306 2013-02-24 Catherine Moore <clm@codesourcery.com>
5307 Joseph Myers <joseph@codesourcery.com>
5308 Chao-ying Fu <fu@mips.com>
5310 * config/mips/mips16.S: Don't build for microMIPS.
5311 * config/mips/linux-unwind.h: Handle microMIPS frame.
5312 * config/mips/crtn.S (fini, init): New labels.
5314 2013-02-24 Catherine Moore <clm@codesourcery.com>
5315 Joseph Myers <joseph@codesourcery.com>
5316 Chao-ying Fu <fu@mips.com>
5318 * config/mips/mips16.S: Don't build for microMIPS.
5319 * config/mips/linux-unwind.h: Handle microMIPS frame.
5320 * config/mips/crtn.S (fini, init): New labels.
5322 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5323 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5326 2013-02-16 Alan Modra <amodra@gmail.com>
5329 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5330 (ppc_fallback_frame_state): Always set up save locations for fp
5331 and altivec. Don't bother with non-callee-saved regs, r0-r13
5332 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5334 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5337 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5339 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5340 _ssmulha3, _usmulusa3, _ssmulsa3.
5341 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5342 (__muldi3): XCALL __muldi3_6 instead of rcall.
5343 (__umulsidi3, __mulsidi3): New functions.
5344 (do_prologue_saves, do_epilogue_restores): New .macros.
5345 (__divdi3_moddi3): Use them.
5346 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5347 (__usmulusa3, __ssmulsa3): New functions.
5349 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5350 Jack Howarth <howarth@bromo.med.uc.edu>
5351 Patrick Marlier <patrick.marlier@gmail.com>
5354 * config/darwin-crt-tm.c: Remove dummy functions hack.
5356 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5359 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5360 * config/avr/lib2-object.mk: New iterator to build objects from it.
5361 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5363 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5364 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5365 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5366 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5367 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5368 * config/avr/lib1funcs-fixed.S: Implement them.
5370 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5372 Update copyright years.
5374 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5377 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5378 Add crtcxa to extra_parts.
5379 * config/rs6000/exit.h: New file.
5380 * config/rs6000/cxa_atexit.c: New file.
5381 * config/rs6000/cxa_finalize.c: New file.
5382 * config/rs6000/crtcxa.c: New file.
5383 * config/rs6000/t-aix-cxa: New file.
5384 * config/rs6000/libgcc-aix-cxa.ver: New file.
5386 2013-01-31 Nick Clifton <nickc@redhat.com>
5388 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5391 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5394 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5395 _mulQQ, _mulHQ, _mulHA, _mulSA,
5396 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5397 _divQQ, _divHQ, _divHA, _divSA,
5398 _divUQQ, _divUHQ, _divUHA, _divUSA.
5400 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5402 * config.host(microblaze*-linux*): tmake_file: Remove
5403 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5404 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5405 to exclude functions from being built with libgcc.c and use
5406 the microblaze assembly.
5408 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5410 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5413 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5415 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5416 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5417 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5418 alignment operation.
5420 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5422 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5423 loop start address for cache clearing.
5425 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5427 * config/avr/lib1funcs.S: Remove trailing blanks.
5428 * config/avr/lib1funcs-fixed.S: Ditto.
5430 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5432 * config/avr/avr-lib.h: Add GPL copyright notice.
5434 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5436 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5437 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5438 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5439 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5441 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5443 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5444 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5446 2013-01-04 Nick Clifton <nickc@redhat.com>
5448 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5449 the CALLT instruction is supported.
5451 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5453 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5454 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5456 2012-12-13 John Tytgat <John@bass-software.com>
5458 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5461 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5464 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5465 undefined signed overflows.
5467 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5470 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5472 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5474 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5475 (FP_TRAPPING_EXCEPTIONS): Define.
5476 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5477 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5479 2012-12-04 Richard Henderson <rth@redhat.com>
5482 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5484 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5486 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5487 (FP_EX_SHIFT): Define.
5488 (FP_TRAPPING_EXCEPTIONS): Define.
5490 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5492 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5493 (FP_ROUNDMODE): Use FP_RND_MASK.
5494 * config/aarch64/sfp-exceptions.c: New.
5495 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5496 Use __sfp_handle_exceptions.
5498 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5500 * config.host: (arm*-*-freebsd*): Remove.
5501 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5502 (arm*-*-elf*): Remove.
5503 (arm*-*-wince-pe*): Remove.
5504 * arm/unwind-arm.c (struct fpa_reg): Delete.
5505 (struct fpa_regs): Delete.
5506 (phase1_vrs): Remove fpa element.
5507 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5508 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5509 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5510 * ieee754-sf.S (floatundisf): Remove FPA support.
5511 (floatdisf): Likewise.
5512 * ieee75f-df.S (floatundidf): Likewise.
5513 (floatdidf): Likewise.
5515 2012-11-29 Kai Tietz <ktietz@redhat.com>
5518 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5519 * unwind-generic.h: Likewise.
5520 * unwind-seh.c: Likewise.
5522 2012-11-28 Richard Henderson <rth@redhat.com>
5525 * emutls.c (__emutls_get_address): Avoid race condition between
5526 obj->loc.offset read and emutls_key initialization.
5528 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5530 Adjust decimal point of signed accum mode to GCC default.
5533 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5535 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5536 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5537 (__mulha3, __mulsa3)
5538 (__divqq3, __divha3, __divsa3): Adjust to new position of
5539 decimal point of signed accum types.
5541 (__mulusa3_round): New function.
5542 (__mulusa3): Use it.
5543 (__divqq_helper): New function.
5544 (__udivuqq3): Use it.
5546 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5549 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5551 2012-11-18 Teresa Johnson <tejohnson@google.com>
5554 * libgcov.c (gcov_exit): Remove merged program summary
5555 comparison unless !GCOV_LOCKED.
5557 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5559 * soft-fp: Updated from glibc upstream.
5561 2012-11-06 Ian Lance Taylor <iant@google.com>
5563 * generic-morestack.c (__generic_morestack): Align the returned
5564 stack pointer to a 32 byte boundary.
5565 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5566 increment the return address until we have decided that we don't
5567 have a varargs function.
5568 (__morestack) [32-bit]: Align stack correctly when calling C
5570 (__morestack) [64-bit]: Likewise.
5572 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5574 * configure: Regenerate.
5576 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5579 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5580 * config/i386/sfp-machine.h: Guard exception handling
5581 code with _SOFT_FLOAT.
5582 * config/i386/32/sfp-machine.h: Guard rounding handling
5583 code with _SOFT_FLOAT.
5584 * config/i386/64/sfp-machine.h: Ditto.
5586 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5588 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5591 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5593 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5594 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5595 when appropriate. Correct structure element types.
5596 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5597 -minline-all-stringops from compile flags.
5599 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5601 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5603 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5605 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5607 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5609 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5612 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5613 Jim MacArthur <jim.macarthur@arm.com>
5614 Marcus Shawcroft <marcus.shawcroft@arm.com>
5615 Nigel Stephens <nigel.stephens@arm.com>
5616 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5617 Richard Earnshaw <rearnsha@arm.com>
5618 Sofiane Naci <sofiane.naci@arm.com>
5619 Stephen Thomas <stephen.thomas@arm.com>
5620 Tejas Belagod <tejas.belagod@arm.com>
5621 Yufeng Zhang <yufeng.zhang@arm.com>
5623 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5624 * config/aarch64/crti.S: New file.
5625 * config/aarch64/crtn.S: New file.
5626 * config/aarch64/linux-unwind.h: New file.
5627 * config/aarch64/sfp-machine.h: New file.
5628 * config/aarch64/sync-cache.c: New file.
5629 * config/aarch64/t-aarch64: New file.
5630 * config/aarch64/t-softfp: New file.
5632 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5634 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5635 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5636 no-longer-needed LDBU insns.
5638 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5641 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5642 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5644 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5646 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5648 2012-10-15 Matthias Klose <doko@ubuntu.com>
5650 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5652 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5654 * configure: Regenerate.
5655 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5657 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5659 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5660 instructions for 64bit targets only.
5662 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5664 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5665 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5666 * config/i386/32/sfp-machine.h: ... here.
5667 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5668 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5671 2012-10-07 Matthias Klose <doko@ubuntu.com>
5673 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5675 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5677 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5679 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5680 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5681 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5684 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5687 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5688 Fix parameter names.
5690 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5693 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5694 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5695 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5697 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5700 * config/sh/linux-atomic.S: Delete.
5701 * config/sh/linux-atomic.c: New.
5702 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5703 linux-atomic.c. Add cflags to disable warnings.
5705 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5708 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5710 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5711 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5712 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5713 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5714 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5716 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5718 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5720 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5721 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5723 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5725 * config.host (hppa-*-openbsd*): New target.
5726 * config/pa/t-openbsd: New file.
5728 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5731 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5732 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5733 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5734 (__divsa3): Use __negsi2 to negate r_quoL.
5735 * config/avr/lib1funcs.S (FALIAS): New macro.
5736 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5737 (__negsi2): ...this new function.
5738 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5739 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5740 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5741 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5742 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5743 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5745 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5748 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5749 (lshrsi3): Reimplement as lshrsi3_r0.
5751 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5754 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5757 2012-09-07 Teresa Johnson <tejohnson@google.com>
5759 PR gcov-profile/54487
5760 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5763 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5766 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5767 not configured --with-avrlibc=no.
5768 * config/avr/t-avrlibc: New file.
5769 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5770 (DPBIT_FUNCS): Ditto.
5771 (TPBIT_FUNCS): Ditto.
5773 2012-09-04 Teresa Johnson <tejohnson@google.com>
5775 * libgcov.c (struct gcov_summary_buffer): New structure.
5776 (gcov_histogram_insert): New function.
5777 (gcov_compute_histogram): Ditto.
5778 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5779 histograms during summary merging.
5781 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5783 * config.host (x86_64-*-openbsd*): New target.
5785 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5787 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5790 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5793 * config/avr/t-avr (conv_X): Rename to func_X.
5795 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5798 * config/avr/lib1funcs-fixed.S: New file.
5799 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5800 after they are used.
5801 (neg2, neg4): New macros.
5802 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5803 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5804 (__umulhisi3): Speed up MUL variant if there is enough flash.
5805 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5807 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5808 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5809 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5810 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5811 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5812 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5813 (LIB2FUNCS_EXCLUDE): Add supported functions.
5815 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5817 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5818 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5820 * fixed-obj.mk: Only expand dependency if $o is not in
5823 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5825 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5827 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5829 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5830 depend on --enable-shared.
5831 ($(lib1asmfuncs-o)): Use %.vis files independent of
5833 * static-object.mk ($(base)$(objext), $(base).vis)
5834 ($(base)_s$(objext)): Use same rules for visibility handling as in
5837 2012-08-21 Ian Lance Taylor <iant@google.com>
5839 * config/i386/morestack.S (__morestack_non_split): Increase amount
5840 of space allocated for non-split code stack.
5842 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5844 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5845 even if inhibit_libc.
5847 2012-08-17 Julian Brown <julian@codesourcery.com>
5849 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5850 -fexceptions -fnon-call-exceptions if not defined.
5851 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5852 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5854 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5856 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5859 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5861 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5862 rs6000/t-slibgcc-aix.
5864 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5866 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5868 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5870 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5872 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5875 * Makefile.in (version): Replace top_srcdir with srcdir.
5877 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5879 * Makefile.in (version): set to BASE-VER file from gcc directory.
5881 2012-08-01 Nick Clifton <nickc@redhat.com>
5883 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5884 Implements __clrsb for an HImode argument.
5886 2012-07-31 Nick Clifton <nickc@redhat.com>
5888 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5889 Implements __clrsb for an HImode argument.
5890 * config/stormy16/clrsbhi2.c: New file:
5891 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5893 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5895 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5897 2012-07-19 Tristan Gingold <gingold@adacore.com>
5898 Richard Henderson <rth@redhat.com>
5900 * unwind-seh.c: New file.
5901 * unwind-generic.h: Include windows.h for SEH.
5902 (_Unwind_Exception): Use 6 private fields for SEH.
5903 (_GCC_specific_handler): Declare.
5904 * unwind-c.c (__gcc_personality_seh0): New function.
5906 * config/i386/libgcc-cygming.ver: New file.
5907 * config/i386/t-seh-eh: New file.
5908 * config.host (x86_64-*-mingw*): Default to seh.
5910 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5912 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5914 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5916 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5917 __builtin_expect when checking for exceptions.
5918 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5920 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5922 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5923 function declaration.
5924 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5926 * config/ia64/sfp-exceptions.c: New.
5927 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5929 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5931 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5932 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5933 * config/i386/64/sfp-machine: ... (delete here) ...
5934 * config/i386/sfp-machine.h: ... to here.
5935 (FP_EX_MASK): Remove.
5937 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5939 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5941 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5942 * config/i386/libgcc-sol2.ver: Ditto.
5943 * config/i386/libgcc-glibc.ver: Ditto.
5945 2012-06-11 Roland McGrath <mcgrathr@google.com>
5947 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5948 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5951 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5953 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5954 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5955 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5956 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5957 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5958 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5959 * config/i386/64/sfp-machine: ... (delete here) ...
5960 * config/i386/sfp-machine.h: ... to here.
5962 (__sfp_handle_exceptions): New function declaration.
5963 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5964 * config/i386/sfp-exceptions.c: New.
5965 * config/i386/t-softfp: New.
5966 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5967 i386/t-softfp to tmake_file.
5969 2012-06-03 David S. Miller <davem@davemloft.net>
5971 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5974 2012-05-31 David S. Miller <davem@davemloft.net>
5976 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5977 multiply and divide instructions on 32-bit when V9.
5978 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5980 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5982 * config/arm/ieee754-df.S: Fix typos.
5983 * config/arm/ieee754-sf.S: Fix typos.
5984 * config/c6x/libunwind.S: Fix typos.
5985 * config/epiphany/udivsi3-float.c: Fix typos.
5986 * config/microblaze/muldi3_hard.S: Fix typos.
5987 * config/picochip/adddi3.S: Fix typos.
5988 * config/picochip/ashlsi3.S: Fix typos.
5989 * config/picochip/ashrsi3.S: Fix typos.
5990 * config/picochip/clzsi2.S: Fix typos.
5991 * config/picochip/cmpsi2.S: Fix typos.
5992 * config/picochip/divmod15.S: Fix typos.
5993 * config/picochip/divmodhi4.S: Fix typos.
5994 * config/picochip/divmodsi4.S: Fix typos.
5995 * config/picochip/longjmp.S: Fix typos.
5996 * config/picochip/lshrsi3.S: Fix typos.
5997 * config/picochip/parityhi2.S: Fix typos.
5998 * config/picochip/popcounthi2.S: Fix typos.
5999 * config/picochip/setjmp.S: Fix typos.
6000 * config/picochip/subdi3.S: Fix typos.
6001 * config/picochip/ucmpsi2.S: Fix typos.
6002 * config/picochip/udivmodhi4.S: Fix typos.
6003 * config/picochip/udivmodsi4.S: Fix typos.
6004 * config/spu/divv2df3.c: Fix typos.
6005 * config/spu/mfc_multi_tag_release.c: Fix typos.
6006 * config/spu/mfc_tag_release.c: Fix typos.
6007 * configure.ac: Fix typos.
6008 * configure: Regenerate.
6010 2012-05-25 Ian Lance Taylor <iant@google.com>
6012 * config/i386/morestack.S (__morestack_non_split): Check whether
6013 caller is varargs and needs %bp to hold the stack frame on return.
6015 2012-05-25 Olivier Hainque <hainque@adacore.com>
6017 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6018 sequence in the non pic case on VxWorks.
6020 2012-05-24 Olivier Hainque <hainque@adacore.com>
6022 * Makefile.in: Move dependency on install-unwind_h from
6023 "install-leaf" to "install".
6025 2012-05-24 Olivier Hainque <hainque@adacore.com>
6027 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6028 Use a separate command for stamp removals.
6030 2012-05-21 Andrew Pinski <apinski@cavium.com>
6033 * configure.ac: Define the default includes to being none.
6034 * configure: Regenerate.
6036 2012-05-16 Olivier Hainque <hainque@adacore.com>
6038 * Makefile.in (install-unwind_h): Rename into ...
6039 (install-unwind_h-forbuild): New target.
6040 (all): Use it instead of the former install-unwind_h.
6041 (install-unwind_h): Reinstate, copy to user install destination
6042 for include files, not to the internal gcc object directory one.
6043 (install-leaf): Depend on it.
6045 2012-05-15 Olivier Hainque <hainque@adacore.com>
6047 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6048 register numbers. LR_REGNO replaces R_LR.
6049 (ucontext_for): New, helper for ...
6050 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6052 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6054 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6056 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6057 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6058 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6060 (i[34567]86-*-*, x86_64-*-*): ... here.
6062 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6063 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6065 * config/i386/i386-cpuinfo.c: Rename to ...
6066 * config/i386/cpuinfo.c: ... this.
6067 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6069 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6070 (libgcc_cv_init_priority): New test.
6071 * configure: Regenerate.
6072 * config.in: New file.
6073 * Makefile.in (clean): Rename config.h to auto-target.h.
6074 (config.h): Likewise.
6075 (stamp-h): Likewise.
6077 * config/i386/cpuinfo.c (auto-target.h): Include.
6078 (CONSTRUCTOR_PRIORITY): Define.
6079 (__cpu_indicator_init): Use it.
6081 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6083 * longlong.h: Use a URL instead of an FSF postal address.
6084 Replace spaces with tab.
6086 2012-05-08 Teresa Johnson <tejohnson@google.com>
6088 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6089 (__gcov_dump): Ditto.
6090 (gcov_dump_complete): New global variable.
6091 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6092 (__gcov_flush): Outline functionality now in gcov_clear.
6093 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6095 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6097 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6098 (mips*-*-linux*): Include mips/t-tpbit when long double is
6101 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6103 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6104 (get_available_features): New argument. Check for AVX2.
6105 (__cpu_indicator_init): Modify call to get_available_features.
6107 2012-04-25 Alan Modra <amodra@gmail.com>
6109 * config/rs6000/crtsavevr.S: New file.
6110 * config/rs6000/crtrestvr.S: New file.
6111 * config/rs6000/t-savresfgpr: Build the above.
6112 * config/rs6000/t-netbsd: Likewise.
6114 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6116 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6118 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6120 * libgcc/config/i386/i386-cpuinfo.c: New file.
6121 * libgcc/config/i386/t-cpuinfo: New file.
6122 * libgcc/config.host: Include t-cpuinfo.
6123 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6125 2012-04-24 Chao-ying Fu <fu@mips.com>
6127 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6129 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6131 struct siginfo vs. siginfo_t
6133 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6134 siginfo_t instead of struct siginfo.
6135 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6136 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6137 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6138 (ia64_handle_unwabi): Likewise.
6139 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6140 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6141 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6142 (sh_fallback_frame_state): Likewise.
6143 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6144 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6146 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6148 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6151 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6153 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6154 if it hasn't been previously saved.
6156 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6158 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6161 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6164 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6165 instead of __AVR_HAVE_8BIT_SP__.
6167 2012-03-26 Tristan Gingold <gingold@adacore.com>
6169 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6170 (unw_table_entry): Use unw_word instead of unsigned long.
6171 (_Unwind_FindTableEntry): Likewise.
6172 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6173 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6174 (_Unwind_FindTableEntry): Likewise.
6175 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6176 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6177 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6178 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6179 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6180 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6181 (uw_init_context_1, uw_install_context): Likewise.
6182 (unw_word): Move to unwind-ia64.h
6184 2012-03-26 Tristan Gingold <gingold@adacore.com>
6186 * config/vms/vms-ucrt0.c: Update copyright years.
6188 (___gcc_main_flags): Declare.
6189 (__main): Check flags to remap argv and exit code.
6190 * config.host (*-*-*vms*): Adjust extra_parts.
6191 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6194 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6196 * arm/lib1funcs.asm (ctzsi2): New function.
6197 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6198 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6199 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6200 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6201 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6202 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6204 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6206 * config.host: Add bits to support powerpc64-*-freebsd*.
6207 * config/rs6000/freebsd-unwind.h: New file.
6208 * config/rs6000/t-freebsd64: New file.
6210 2012-03-20 Richard Guenther <rguenther@suse.de>
6212 PR gcov-profile/52627
6213 * libgcov.c (init_mx): Fix mutex name.
6215 2012-03-16 Tristan Gingold <gingold@adacore.com>
6217 * config/ia64/vms-unwind.h: Remove ulong (and replace
6218 it by unw_reg where used). Define unw_reg with __int64.
6220 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6222 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6224 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6226 (sparc_is_sighandler): Likewise.
6228 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6230 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6233 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6235 * config/arm/crtn.S: Fix typo.
6237 2012-03-13 Richard Guenther <rguenther@suse.de>
6239 * libgcov.c: Remove stdio.h include and NULL un-define.
6241 2012-03-13 Richard Guenther <rguenther@suse.de>
6244 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6246 2012-03-13 Richard Guenther <rguenther@suse.de>
6248 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6250 2012-03-13 Richard Guenther <rguenther@suse.de>
6252 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6253 and __gthread_mutex_init_function definitions.
6255 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6257 * config.host (mips*-*-openbsd*): Remove.
6259 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6261 * config.host: Remove alpha*-dec-osf5.1* handling.
6262 * config/alpha/gthr-posix.c: Remove.
6263 * config/alpha/libgcc-osf5.ver: Remove.
6264 * config/alpha/osf5-unwind.h: Remove.
6265 * config/alpha/t-osf-pthread: Remove.
6266 * config/alpha/t-slibgcc-osf: Remove.
6267 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6268 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6269 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6270 * mkmap-flat.awk: Remove osf_export handling.
6272 2012-03-12 Richard Guenther <rguenther@suse.de>
6274 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6275 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6276 (__gthread_mutex_init_function): New function.
6277 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6280 * libgcov.c: Include gthr.h.
6281 (__gcov_flush_mx): New global variable.
6282 (init_mx, init_mx_once): New functions.
6283 (__gcov_flush): Protect self with a mutex.
6284 (__gcov_fork): Re-initialize mutex after forking.
6285 * unwind-dw2-fde.c: Change condition under which to use
6286 __GTHREAD_MUTEX_INIT_FUNCTION.
6288 2012-03-12 Tristan Gingold <gingold@adacore.com>
6290 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6291 * config/ia64/t-vms: Likewise.
6293 2012-03-11 Michael Hope <michael.hope@linaro.org>
6295 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6298 2012-03-07 Walter Lee <walt@tilera.com>
6300 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6302 (atomic_xor): Rename and move definition to
6303 config/tilepro/atomic.h.
6304 (atomic_nand): Ditto.
6305 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6307 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6308 (arch_atomic_nand): Ditto.
6310 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6313 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6315 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6318 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6321 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6325 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6326 if RAMPZ affects reading from RAM.
6327 (__tablejump_elpm__): Ditto.
6329 (__movmemx_hi): Ditto.
6330 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6331 (__do_global_dtors): Ditto.
6332 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6333 (__movmemx_hi): Ditto.
6335 2012-03-05 Richard Henderson <rth@redhat.com>
6337 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6338 [ARM] (count_trailing_zeros): Use the builtin.
6340 2012-03-01 Kai Tietz <ktietz@redhat.com>
6342 * soft-fp: Imported from glibc upstream.
6344 2012-02-28 Kai Tietz <ktietz@redhat.com>
6346 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6347 for mingw-targets as attribute gcc_struct.
6349 2012-02-28 Ian Lance Taylor <iant@google.com>
6351 * generic-morestack.c (__splitstack_releasecontext): Correct call
6352 to __morestack_release_segments.
6354 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6357 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6358 for __linux__ when removing signals from __morestack_fullmask.
6360 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6363 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6365 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6367 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6368 instead of HAVE_INITFINI_ARRAY.
6369 * config/ia64/crtend.S: Likewise.
6371 2012-02-20 Kai Tietz <ktietz@redhat.com>
6374 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6376 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6377 to w32-unwind.h header.
6379 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6381 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6382 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6383 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6384 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6386 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6388 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6390 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6393 * config/darwin-crt-tm.c: Correct typo.
6395 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6396 Patrick Marlier <patrick.marlier@gmail.com>
6399 * config/darwin-crt-tm.c: Generate dummy functions.
6401 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6402 Patrick Marlier <patrick.marlier@gmail.com>
6405 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6406 (__doTMRegistrations): Call it.
6407 (__doTMdeRegistrations): Likewise.
6409 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6410 Anatoly Sokolov <aesok@post.ru>
6411 Eric Weddington <eric.weddington@atmel.com>
6414 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6415 (__epilogue_restores__): Ditto.
6417 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6421 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6422 Solaris 11 and slightly reformat.
6423 (sparc_is_sighandler): Likewise.
6425 2012-02-14 Walter Lee <walt@tilera.com>
6427 * config.host: Handle tilegx and tilepro.
6428 * config/tilegx/sfp-machine.h: New file.
6429 * config/tilegx/sfp-machine32.h: New file.
6430 * config/tilegx/sfp-machine64.h: New file.
6431 * config/tilegx/t-crtstuff: New file.
6432 * config/tilegx/t-softfp: New file.
6433 * config/tilegx/t-tilegx: New file.
6434 * config/tilepro/atomic.c: New file.
6435 * config/tilepro/atomic.h: New file.
6436 * config/tilepro/linux-unwind.h: New file.
6437 * config/tilepro/sfp-machine.h: New file.
6438 * config/tilepro/softdivide.c: New file.
6439 * config/tilepro/softmpy.S: New file.
6440 * config/tilepro/t-crtstuff: New file.
6441 * config/tilepro/t-tilepro: New file.
6443 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6447 * gthr-posix.h: Allow static initializer macros to be disabled.
6448 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6450 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6452 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6453 Add t-slibgcc-libgcc to tmake_file.
6454 * config/mips/libgcc-mips16.ver: Revert previous patch.
6455 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6457 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6458 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6460 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6461 * config/cr16/crti.S: New file.
6462 * config/cr16/crtlibid.S: New file.
6463 * config/cr16/crtn.S: New file.
6464 * config/cr16/lib1funcs.S: New file.
6465 * config/cr16/t-cr16: New file.
6466 * config/cr16/t-crtlibid: New file.
6467 * config/cr16/unwind-dw2.h: New file.
6468 * config/cr16/unwind-cr16.c: New file.
6469 * config/cr16/divmodhi3.c: New file.
6471 2012-01-25 Alan Modra <amodra@gmail.com>
6473 * config/rs6000/t-linux64: Delete. Move..
6474 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6475 * config/rs6000/t-linux: ..and libgcc flags to here.
6477 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6479 * config.host (i[34567]86-*-interix3*):
6480 Change triplet to i[34567]86-*-interix[3-9]*.
6481 * configure: Regenerate.
6483 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6484 Richard Sandiford <rdsandiford@googlemail.com>
6486 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6487 * config/mips/mips16.S (__mips16_rdhwr): New function.
6488 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6490 2012-01-11 Nathan Sidwell <nathan@acm.org>
6492 * libgcov.c (__gcov_init): Ignore objects with no functions.
6494 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6497 Extend __pgmx semantics to linearize memory.
6498 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6499 * config/avr/lib1funcs.S (__xload_1): New function.
6500 (__movmemx_qi, __movmemx_hi): New functions.
6501 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6504 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6506 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6507 purported sigacthandler address isn't null before dereferencing it.
6508 (sparc_is_sighandler): Likewise.
6510 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6513 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6514 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6515 (sparc_is_sighandler): Likewise.
6516 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6518 2012-01-06 Tristan Gingold <gingold@adacore.com>
6520 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6521 compatibility thunks...
6522 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6523 (crtbeginS.o, crtendS.o): ... and these to ...
6524 * config/ia64/t-ia64-elf: ... this new file.
6525 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6526 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6528 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6530 * configure: Regenerate.
6531 * config/s390/t-crtstuff: Remove -fPIC.
6533 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6536 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6539 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6542 * config/avr/lib1funcs.S: Remove FIXME comments.
6543 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6545 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6547 Implement light-weight DImode support.
6548 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6549 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6550 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6551 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6553 2011-12-30 Nathan Sidwell <nathan@acm.org>
6555 * libgcov.c (gcov_crc32): Remove global var.
6556 (free_fn_data): New function.
6557 (buffer_fn_data): Pass in filename, more robust error recovery.
6558 (crc32_unsigned): New function.
6559 (gcov_exit): More robust detection of new program. More robust
6561 (__gcov_init): Do not update program's crc here.
6563 2011-12-21 Tristan Gingold <gingold@adacore.com>
6565 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6567 2011-12-21 Ian Lance Taylor <iant@google.com>
6569 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6571 2011-12-20 Ian Lance Taylor <iant@google.com>
6573 * config/i386/morestack.S (__morestack_non_split): If there is
6574 enough stack space already, don't split. Ask for more stack space
6577 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6579 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6581 (_Unwind_DebugHook): New function.
6582 (uw_restore_core_regs): New define.
6583 (unwind_phase2): Use uw_restore_core_regs instead of
6585 (unwind_phase2_forced): Likewise.
6586 (__gnu_Unwind_Resume): Likewise.
6588 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6590 * config/alpha/linux-unwind.h: Update copyright years.
6591 (MD_FROB_UPDATE_CONTEXT): New define.
6592 (alpha_frob_update_context): New function.
6594 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6596 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6597 tmake_file rather replacing it.
6599 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6601 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6602 function is not used for PPC64.
6603 (save_world): Amend comments. Update the VRsave mask to reflect the
6605 (rest_world): Update comments, do not clobber r10, do not use r8.
6606 (eh_rest_world_r10): Amend comments, do not use r8.
6607 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6608 no longer used, move restore of CR and target address to the end of
6611 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6613 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6614 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6616 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6619 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6620 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6622 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6624 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6626 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6629 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6630 * config/avr/lib1funcs.S (__muldi3): New function.
6632 2011-12-06 Andrew Pinski <apinski@cavium.com>
6634 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6636 (__frame_dummy_init_array_entry): Likewise.
6638 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6640 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6644 * config/avr/lib1funcs.S (__prologue_saves__,
6645 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6646 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6648 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6650 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6652 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6655 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6656 (_ITM_deregisterTMCloneTable): Likewise.
6657 (__register_frame_info): Fix unused warning.
6658 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6659 pthread_default_stacksize_np): Likewise.
6660 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6662 2011-11-29 DJ Delorie <dj@redhat.com>
6664 * config.host (rl78-*-elf): New case.
6665 * config/rl78: New directory for the Renesas RL78.
6667 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6669 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6672 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6675 * config/rs6000/t-savresfgpr: New file.
6676 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6677 $(srcdir)/config/rs6000/eabi.S.
6678 * config/rs6000/t-ppccomm-ldbl: Remove.
6679 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6681 (powerpc-*-eabispe*): Likewise.
6682 (powerpc-*-eabi*): Likewise.
6683 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6684 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6685 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6686 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6688 (powerpc-*-eabisim*): Likewise.
6689 (powerpc-*-elf*): Likewise.
6690 (powerpc-*-eabialtivec*): Likewise.
6691 (powerpc-xilinx-eabi*): Likewise.
6692 (powerpc-*-rtems*): Likewise.
6693 (powerpcle-*-elf*): Likewise.
6694 (powerpcle-*-eabisim*): Likewise.
6695 (powerpcle-*-eabi*): Likewise.
6697 2011-11-27 Ian Lance Taylor <iant@google.com>
6699 * generic-morestack.c (__splitstack_find): Check for NULL old
6701 (__splitstack_resetcontext): New function.
6702 (__splitstack_releasecontext): New function.
6703 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6705 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6707 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6709 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6711 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6713 2011-11-26 Richard Henderson <rth@redhat.com>
6715 * config/m68k/linux-atomic.c: New file.
6716 * config/m68k/t-linux: New file.
6717 * config.host (m68k-uclinux, m68k-linux): Use it.
6719 2011-11-26 Richard Henderson <rth@redhat.com>
6721 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6722 (__TMC_END__): Only declare if hidden is available; in the definition,
6723 if hidden is unavailable add a null record.
6724 (deregister_tm_clones, register_tm_clones): New.
6725 (__do_global_dtors_aux, frame_dummy): Use them.
6726 (__do_global_dtors, __do_global_ctors_1): Likewise.
6728 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6730 * config/darwin-crt-tm.c: New file.
6731 * config.host (darwin): Build crttms.o crttme.o to provide
6732 startup and shutdown for tm clones.
6733 * config/t-darwin (crttms.o): New build rule.
6734 (crttme.o): Likewise.
6736 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6738 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6741 2011-11-21 Richard Henderson <rth@redhat.com>
6743 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6744 (__TMC_LIST__, __TMC_END__): New.
6745 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6746 (__do_global_dtors): Likewise.
6747 (frame_dummy): Call _ITM_registerTMCloneTable.
6748 (__do_global_ctors_1): Likewise.
6750 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6752 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6753 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6754 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6755 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6756 * config/i386/t-darwin64: Remove.
6757 * config/sh/t-netbsd (LIB2ADD): Remove.
6759 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6762 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6763 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6764 * config/avr/lib1funcs.S (wmov): New assembler macro.
6765 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6766 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6767 (__udivmod64): New function.
6768 (__negdi2): New function.
6770 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6772 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6773 *-*-freebsd*aout*): Remove.
6775 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6777 * static-object.mk (c_flags-$o): Save c_flags.
6778 ($(base)$(objext)): Use it.
6780 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6782 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6784 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6787 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6788 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6791 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6793 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6795 (aeabi_uidivmod): Likewise.
6796 (umodsi3): Likewise.
6798 (aeabi_idivmod): Likewise.
6801 2011-11-16 Tristan Gingold <gingold@adacore.com>
6803 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6805 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6808 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6809 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6811 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6813 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6815 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6816 * config/pa/t-stublib64: Delete.
6818 2011-11-12 Richard Henderson <rth@redhat.com>
6820 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6821 cast the pointer argument to _Unwind_SetGRPtr.
6823 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6825 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6827 2011-11-09 Ian Lance Taylor <iant@google.com>
6829 * generic-morestack.c: Include <string.h>.
6830 (uintptr_type): Define.
6831 (struct initial_sp): Add dont_block_signals field. Reduce size of
6833 (allocate_segment): Set prev field to NULL. Don't set
6834 __morestack_current_segment or __morestack_segments.
6835 (__generic_morestack): Update current->prev and *pp after calling
6837 (__morestack_block_signals): Don't do anything if
6838 dont_block_signals is set.
6839 (__morestack_unblock_signals): Likewise.
6840 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6842 (__splitstack_block_signals): New function.
6843 (enum __splitstack_content_offsets): Define.
6844 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6845 (__splitstack_makecontext): New function.
6846 (__splitstack_block_signals_context): New function.
6847 (__splitstack_find_context): New function.
6848 * config/i386/morestack.S (__morestack_get_guard): New function.
6849 (__morestack_set_guard, __morestack_make_guard): New functions.
6850 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6852 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6854 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6855 (i[34567]86-*-mingw*): ... here.
6856 (x86_64-*-mingw*): ... here.
6858 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6860 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6862 2011-11-07 Nathan Sidwell <nathan@acm.org>
6864 * libgcov.c (struct gcov_fn_buffer): New struct.
6865 (buffer_fn_data): New helper.
6866 (gcov_exit): Rework for new gcov data structures.
6868 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6871 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6873 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6875 * config.host (tmake_file): Correct comment.
6876 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6878 (bfin*-uclinux*): Likewise.
6879 (bfin*-linux-uclibc*): Likewise.
6880 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6882 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6884 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6885 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6886 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6887 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6888 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6889 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6890 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6891 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6892 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6893 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6894 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6895 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6896 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6898 * config/bfin/t-elf: Remove.
6899 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6901 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6903 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6904 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6905 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6906 (lm32-*-elf*): ... this.
6907 (lm32-*-rtems*): ... and this.
6909 (m32r-*-rtems*): Add to tmake_file.
6910 (moxie-*-rtems*): Likewise.
6911 (sparc-*-rtems*): Likewise.
6912 Remove t-rtems from tmake_file.
6913 (sparc64-*-rtems*): Likewise.
6914 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6917 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6920 * config/gthr-posix.h: Move ...
6921 * gthr-posix.h: ... here.
6922 * config/gthr-lynx.h: Reflect this.
6923 * config/gthr-vxworks.h: Likewise.
6924 * config/rs6000/gthr-aix.h: Likewise.
6925 * configure.ac (target_thread_file): Likewise.
6926 * configure: Regenerate.
6928 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6930 * config.host (arm*-*-rtemseabi*): New target.
6932 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6935 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6938 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6940 * config.host (epiphany-*-elf*): New configuration.
6941 * config/epiphany: New Directory.
6943 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6945 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6946 * config/avr/t-rtems: New.
6947 Filter out _exit from LIB1ASMFUNCS.
6949 2011-11-04 David S. Miller <davem@davemloft.net>
6951 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6952 * configure: Rebuild.
6954 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6956 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6959 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6962 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6963 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6965 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6968 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6970 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6972 * config/c6x/t-elf (LIB2ADDEH): Set.
6973 * config/c6x/t-c6x-elf: Remove.
6975 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6977 * config/i386/sol2-ci.S: Rename to ...
6978 * config/i386/crti.S: ... this.
6979 * config/i386/sol2-cn.S: Rename to ...
6980 * config/i386/crtn.S: ... this.
6981 * config/sparc/sol2-ci.S: Rename to ...
6982 * config/sparc/crti.S: ... this.
6983 * config/sparc/sol2-cn.S: Rename to ...
6984 * config/sparc/crtn.S: ... this.
6985 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6986 (crti.o, crtn.o): Remove.
6988 2011-11-04 Tristan Gingold <gingold@adacore.com>
6990 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6992 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6994 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6996 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6998 * config.host (crisv32-*-none, cris-*-none): Remove.
6999 (crisv32-*-elf): Append to tmake_file, don't just set it.
7000 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7002 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7004 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7005 (ecrtn$(objext)): Likewise.
7006 (ncrti$(objext)): Likewise.
7007 (ncrtn$(objext)): Likewise.
7009 2011-11-03 Andreas Schwab <schwab@redhat.com>
7011 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7013 2011-11-02 David S. Miller <davem@davemloft.net>
7015 * configure.ac: Set host_address on sparc too.
7016 * configure: Regenerate.
7017 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7018 based upon host_address.
7019 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7021 2011-11-02 Jason Merrill <jason@redhat.com>
7023 * config/rs6000/t-ppccomm: Add missing \.
7025 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7027 * gthr-single.h, gthr.h: New files.
7028 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7029 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7030 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7031 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7032 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7033 * configure.ac (thread_header): New variable.
7034 Set it depending on target_thread_file.
7035 (gthr-default.h): Link from $thread_header.
7036 * configure: Regenerate.
7037 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7039 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7041 * configure.ac (tm_file_): New variable.
7042 Determine from tm_file.
7043 (tm_file, tm_defines): Substitute.
7044 * configure: Regenerate.
7045 * mkheader.sh: New file.
7046 * Makefile.in (clean): Remove libgcc_tm.h.
7047 ($(objects)): Depend on libgcc_tm.h.
7048 (libgcc_tm_defines, libgcc_tm_file): New variables.
7049 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7050 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7051 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7052 ($(extra-parts)): Depend on libgcc_tm.h.
7053 * config.host (tm_defines, tm_file): New variable.
7054 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7055 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7056 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7057 (avr-*-rtems*): Likewise.
7058 (avr-*-*): Likewise.
7059 (frv-*-elf): Likewise.
7060 (frv-*-*linux*): Likewise.
7061 (h8300-*-rtems*): Likewise.
7062 (h8300-*-elf*): Likewise.
7063 (i[34567]86-*-darwin*): Likewise.
7064 (x86_64-*-darwin*): Likewise.
7065 (rx-*-elf): Likewise.
7066 (tic6x-*-uclinux): Likewise.
7067 (tic6x-*-elf): Likewise.
7068 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7069 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7070 * config/i386/cygming-crtbegin.c: Likewise.
7071 * config/i386/cygming-crtend.c: Likewise.
7072 * config/ia64/fde-vms.c: Likewise.
7073 * config/ia64/unwind-ia64.c: Likewise.
7074 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7075 * config/rs6000/darwin-fallback.c: Likewise.
7076 * config/stormy16/lib2funcs.c: Likewise.
7077 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7078 * crtstuff.c: Likewise.
7079 * dfp-bit.h: Likewise.
7080 * emutls.c: Likewise.
7081 * fixed-bit.c: Likewise.
7082 * fp-bit.c: Likewise.
7083 * generic-morestack-thread.c: Likewise.
7084 * generic-morestack.c: Likewise.
7085 * libgcc2.c: Likewise.
7086 * libgcov.c: Likewise.
7087 * unwind-dw2-fde-dip.c: Likewise.
7088 * unwind-dw2-fde.c: Likewise.
7089 * unwind-dw2.c: Likewise.
7090 * unwind-sjlj.c: Likewise.
7092 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7094 * configure.ac: Include ../config/picflag.m4.
7095 (GCC_PICFLAG): Call it.
7097 * configure: Regenerate.
7098 * Makefile.in (gcc_srcdir): Remove.
7099 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7100 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7101 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7102 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7103 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7106 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7107 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7108 to refer to libgcc2.c.
7110 * config/darwin-64.c: New file.
7111 * config/darwin-crt3.c: Remove comment.
7112 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7113 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7114 config/udivmodsi4.c: New files.
7115 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7116 config/memset.c: New files.
7117 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7118 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7119 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7120 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7121 * config/t-openbsd-thread: New file.
7122 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7123 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7124 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7125 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7128 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7129 to refer to gthr-posix.c.
7130 * config/alpha/t-vms (LIB2ADD): Set.
7131 * config/alpha/vms-gcc_shell_handler.c: New file.
7132 * config/arm/bpabi.c, config/arm/fp16.c,
7133 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7134 config/arm/unaligned-funcs.c: New files.
7135 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7136 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7137 * config/arm/t-linux: Likewise.
7138 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7139 * config/arm/t-netbsd: New file.
7140 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7141 * config/arm/t-symbian (LIB2ADD_ST): Set.
7142 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7143 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7144 * config/bfin/t-elf: New file.
7145 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7146 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7147 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7148 config/c6x/ltf.c: New files.
7149 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7150 (HOST_LIBGCC2_CFLAGS): Set.
7151 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7152 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7153 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7155 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7156 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7157 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7158 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7159 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7161 * config/frv/t-frv (LIB2ADD): Set.
7162 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7163 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7164 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7165 config/h8300/popcounthi2.c: New files.
7166 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7167 * config/i386/gthr-win32.c: New file.
7168 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7169 * config/i386/t-cygwin: Likewise.
7170 * config/i386/t-darwin, config/i386/t-darwin64,
7171 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7172 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7173 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7174 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7175 * config/ia64/quadlib.c: New file.
7176 * config/ia64/t-hpux (LIB2ADD): Set.
7177 * config/ia64/t-ia64: Add comment.
7178 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7179 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7180 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7181 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7182 * config/m32c/t-m32c (LIB2ADD): Set.
7183 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7184 * config/m32r/t-m32r: Likewise.
7185 * config/m68k/fpgnulib.c: New file.
7186 * config/m68k/t-floatlib (LIB2ADD): Set.
7187 (xfgnulib.c): New target.
7188 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7189 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7190 * config/mep/t-mep (LIB2ADD): Set.
7191 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7192 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7193 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7194 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7195 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7196 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7197 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7198 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7199 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7200 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7202 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7203 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7204 * config/pa/fptr.c, config/pa/lib2funcs.S,
7205 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7206 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7207 (LIB2ADD, LIB2ADD_ST): Set.
7208 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7209 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7211 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7212 * config/pdp11/t-pdp11: New file.
7213 * config/picochip/libgccExtras/adddi3.S,
7214 config/picochip/libgccExtras/ashlsi3.S,
7215 config/picochip/libgccExtras/ashrsi3.S,
7216 config/picochip/libgccExtras/clzsi2.S,
7217 config/picochip/libgccExtras/cmpsi2.S,
7218 config/picochip/libgccExtras/divmod15.S,
7219 config/picochip/libgccExtras/divmodhi4.S,
7220 config/picochip/libgccExtras/divmodsi4.S,
7221 config/picochip/libgccExtras/lshrsi3.S,
7222 config/picochip/libgccExtras/parityhi2.S,
7223 config/picochip/libgccExtras/popcounthi2.S,
7224 config/picochip/libgccExtras/subdi3.S,
7225 config/picochip/libgccExtras/ucmpsi2.S,
7226 config/picochip/libgccExtras/udivmodhi4.S,
7227 config/picochip/libgccExtras/udivmodsi4.S: New files.
7228 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7229 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7230 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7231 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7232 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7233 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7234 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7235 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7237 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7238 (HOST_LIBGCC2_CFLAGS): Set.
7239 * config/rs6000/t-darwin64: New file.
7240 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7241 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7242 * config/rs6000/t-ppccomm (LIB2ADD): Add
7243 $(srcdir)/config/rs6000/tramp.S.
7244 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7245 Add $(srcdir)/config/rs6000/eabi.S.
7246 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7247 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7248 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7249 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7250 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7251 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7252 * config/rs6000/tramp.S: New file.
7253 * config/s390/t-tpf: Remove.
7254 * config/sh/linux-atomic.S: New file.
7255 * config/sh/t-linux (LIB2ADD): Set.
7256 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7257 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7258 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7260 (HOST_LIBGCC2_CFLAGS): Set.
7261 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7262 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7263 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7264 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7265 config/spu/mfc_multi_tag_release.c,
7266 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7267 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7268 config/spu/multi3.c: New files.
7269 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7270 (HOST_LIBGCC2_CFLAGS): Set.
7271 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7272 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7273 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7274 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7275 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7276 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7277 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7278 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7279 config/stormy16/umodsi3.c: New files.
7280 * config/xtensa/lib2funcs.S: New file.
7281 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7282 * config/xtensa/t-xtensa (LIB2ADD): Set.
7283 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7284 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7285 Add t-freebsd-thread to tmake_file for posix threads.
7286 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7287 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7288 (*-*-lynxos*): Likewise.
7289 (*-*-netbsd*): Likewise.
7290 (*-*-openbsd*): Likewise.
7291 Add t-openbsd-thread to tmake_file for posix threads.
7292 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7293 (*-*-vxworks*): Set tmake_file.
7294 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7295 (alpha*-*-freebsd*): Likewise.
7296 (alpha*-*-netbsd*): Likewise.
7297 (alpha*-*-openbsd*): Likewise.
7298 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7299 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7300 (alpha*-dec-*vms*): Likewise.
7301 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7302 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7303 (bfin*-uclinux*): Likewise.
7304 (bfin*-linux-uclibc*): Likewise.
7305 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7306 (crisv32-*-none): Likewise.
7307 (cris-*-elf): Likewise.
7308 (cris-*-none): Likewise.
7309 (cris-*-linux*, crisv32-*-linux*): Likewise.
7310 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7312 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7314 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7315 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7316 (x86_64-*-elf*): Likewise.
7317 (i[34567]86-*-nto-qnx*): Likewise.
7318 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7320 (x86_64-*-mingw*): Likewise.
7321 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7322 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7323 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7324 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7325 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7327 (mipsisa64sr71k-*-elf*): Likewise.
7328 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7329 (mips-*-elf*, mipsel-*-elf*): Likewise.
7330 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7331 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7332 (mips*-*-rtems*): Likewise.
7333 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7335 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7336 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7337 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7338 (spu-*-elf*): Likewise.
7339 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7341 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7343 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7344 $(srcdir) to refer to $(LIB1ASMSRC).
7346 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7347 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7348 config/arm/lib1funcs.S: New files.
7349 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7350 * config/arm/t-arm: New file.
7351 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7352 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7353 config/arm/t-strongarm-elf: New files.
7354 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7355 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7356 * config/avr/lib1funcs.S: New file.
7357 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7358 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7359 * config/c6x/lib1funcs.S: New file.
7360 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7361 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7362 * config/frv/lib1funcs.S: New file.
7363 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7364 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7365 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7366 * config/ia64/__divxf3.asm: Rename to ...
7367 * config/ia64/__divxf3.S: ... this.
7368 Adapt lib1funcs.asm filename.
7369 * config/ia64/_fixtfdi.asm: Rename to ...
7370 * config/ia64/_fixtfdi.S: ... this.
7371 Adapt lib1funcs.asm filename.
7372 * config/ia64/_fixunstfdi.asm: Rename to ...
7373 * config/ia64/_fixunstfdi.S: ... this.
7374 Adapt lib1funcs.asm filename.
7375 * config/ia64/_floatditf.asm: Rename to ...
7376 * config/ia64/_floatditf.S: ... this.
7377 Adapt lib1funcs.asm filename.
7378 * config/ia64/lib1funcs.S: New file.
7379 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7380 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7381 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7382 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7383 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7384 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7385 * config/mep/lib1funcs.S: New file.
7386 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7387 * config/mips/mips16.S: New file.
7388 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7389 * config/pa/milli64.S: New file.
7390 * config/pa/t-linux, config/pa/t-linux64: New files.
7391 * config/picochip/lib1funcs.S: New file.
7392 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7393 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7394 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7395 * config/sh/t-netbsd: New file.
7396 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7397 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7398 * config/sh/t-sh64: New file.
7399 * config/sparc/lb1spc.S: New file.
7400 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7402 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7403 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7404 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7405 config/xtensa/lib1funcs.S: New files.
7406 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7407 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7409 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7410 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7411 (arm*-*-linux*): Likewise.
7412 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7413 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7414 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7415 (arm*-*-ecos-elf): Likewise.
7416 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7417 (arm*-*-rtems*): Likewise.
7418 (arm*-*-elf): Likewise.
7419 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7420 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7421 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7422 (bfin*-uclinux*): Likewise.
7423 (bfin*-linux-uclibc*): Likewise.
7424 (bfin*-rtems*): Likewise.
7425 (bfin*-*): Likewise.
7426 (fido-*-elf): Merge into m68k-*-elf*.
7427 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7428 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7429 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7430 (h8300-*-elf*): Likewise.
7431 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7432 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7433 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7434 (i[34567]86-*-mingw*): Likewise.
7435 (x86_64-*-mingw*): Likewise.
7436 (i[34567]86-*-interix3*): Likewise.
7437 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7438 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7439 (m68k-*-elf*): Also handle fido-*-elf.
7440 Add m68k/t-floatlib to tmake_file.
7441 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7442 (m68k-*-linux*): Likewise.
7443 (m68k-*-rtems*): Likewise.
7444 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7445 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7447 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7448 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7449 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7450 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7451 sh/t-netbsd to tmake_file.
7452 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7453 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7454 (sh-wrs-vxworks): Likewise.
7455 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7457 (v850*-*-*): Add v850/t-v850 to tmake_file.
7458 (vax-*-linux*): Add vax/t-linux to tmake_file.
7459 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7461 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7463 * crtstuff.c: New file.
7464 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7465 (CRTSTUFF_T_CFLAGS): Define.
7466 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7467 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7468 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7471 (crtbeginT.o): Use $(objext).
7472 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7473 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7474 (gcc-extra-parts): Remove.
7475 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7477 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7478 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7479 Add t-crtstuff-pic to tmake_file.
7480 (*-*-lynxos*): New case.
7481 Set tmake_file, extra_parts.
7482 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7483 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7484 *-*-netbsdelf[2-9]*.
7485 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7486 (*-*-rtems*): Set extra_parts.
7487 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7488 (*-*-uclinux*): New case.
7490 (*-*-vms*): New case.
7491 Set tmake_file, extra_parts.
7492 (*-*-elf): Set extra_parts.
7493 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7494 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7497 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7499 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7500 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7501 (arm-wrs-vxworks): Append to tmake_file.
7503 (arm*-*-uclinux*): Set extra_parts.
7504 (arm*-*-ecos-elf): Likewise.
7505 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7507 (arm*-*-rtems*): Set extra_parts.
7508 (arm*-*-elf): Likewise.
7509 (avr-*-rtems*): Clear extra_parts.
7510 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7512 (bfin*-uclinux*): Likewise.
7513 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7514 (bfin*-rtems*): Append to tmake_file.
7516 (bfin*-*): Likewise.
7517 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7518 (crisv32-*-elf): ... this.
7519 (crisv32-*-none): ... this.
7520 (cris-*-elf, cris-*-none): New cases.
7521 Add cris/t-elfmulti to tmake_file.
7522 (fr30-*-elf): Append to tmake_file.
7524 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7526 (h8300-*-rtems*): Append to tmake_file.
7528 (h8300-*-elf*): Likewise.
7529 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7531 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7533 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7534 (x86_64-*-elf*): Likewise.
7535 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7536 (x86_64-*-freebsd*): Likewise.
7537 (x86_64-*-netbsd*): Likewise.
7538 (i[34567]86-*-linux*): Likewise.
7539 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7540 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7541 (x86_64-*-linux*): Likewise.
7542 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7543 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7546 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7547 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7548 Append to extra_parts, remove crtbegin.o, crtend.o.
7549 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7550 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7551 crtend.o, crtbeginS.o, crtendS.o.
7552 (ia64*-*-linux*): Comment extra_parts.
7553 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7555 (iq2000*-*-elf*): Clear extra_parts.
7556 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7557 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7558 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7559 (m32r-*-rtems*): ... this.
7560 Add m32r/t-m32r to tmake_file.
7561 (m68k-*-elf*): Add t-crtin to tmake_file.
7562 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7563 (mcore-*-elf): Likewise.
7564 (microblaze*-*-*): Set extra_parts.
7565 (mips*-sde-elf*): New case.
7566 Set tmake_file, extra_parts.
7567 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7568 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7569 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7572 (mipsisa64sr71k-*-elf*): Likewise.
7573 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7574 (mips-*-elf*, mipsel-*-elf*): Likewise.
7575 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7576 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7577 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7578 (mips*-*-rtems*): Likewise.
7579 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7580 (moxie-*-*): Split into ...
7581 (moxie-*-elf, moxie-*-uclinux*): ... this.
7582 Add to extra_parts, remove crtbegin.o, crtend.o.
7583 (moxie-*-rtems*): New case.
7586 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7588 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7589 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7592 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7593 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7595 (powerpc-*-eabisim*): Likewise.
7596 (powerpc-*-elf*): Likewise.
7597 (powerpc-*-eabialtivec*): Likewise.
7598 (powerpc-xilinx-eabi*): Likewise.
7599 (powerpc-*-eabi*): Likewise.
7600 (powerpc-*-rtems*): Likewise.
7601 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7604 (powerpc-*-lynxos*): Add to tmake_file.
7605 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7606 rs6000/t-crtstuff, t-crtstuff-pic.
7608 (powerpcle-*-eabisim*): Likewise.
7609 (powerpcle-*-eabi*): Likewise.
7610 (rx-*-elf): Remove extra_parts.
7611 (s390x-ibm-tpf*): Set extra_parts.
7612 (score-*-elf): Set extra_parts.
7613 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7614 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7615 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7616 (sh64l*-*-netbsd*): Split into ...
7617 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7618 Add t-crtstuff-pic to tmake_file.
7620 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7622 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7623 (sparc-*-elf*): Remove t-crtin from tmake_file.
7624 Add to extra_parts, remove crtbegin.o, crtend.o.
7625 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7626 (sparc64-*-linux*): Likewise.
7627 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7628 Add to extra_parts, remove crtbegin.o, crtend.o.
7629 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7630 Add to extra_parts, remove crtbegin.o, crtend.o.
7631 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7632 Add to extra_parts, remove crtbegin.o, crtend.o.
7633 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7634 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7635 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7637 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7639 (tic6x-*-*): Change to ...
7640 (tic6x-*-elf): ... this.
7642 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7644 (am33_2.0-*-linux*): Add comment.
7645 (mep*-*-*): Add mep/t-mep to tmake_file.
7647 * config/alpha/t-vms: New file.
7648 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7649 * config/arm/crti.S, config/arm/crtn.S: New files.
7650 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7651 * config/bfin/crtlibid.S: New file.
7652 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7653 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7654 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7655 (crti.o, crtin.o): New rules.
7656 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7657 * config/c6x/t-uclinux: New file.
7658 * config/cris/t-elfmulti: New file.
7659 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7660 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7661 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7662 * config/frv/t-frv: New file.
7663 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7664 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7665 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7667 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7668 refer to cygming-crtbegin.c, cygming-crtend.c.
7670 * config/i386/t-nto: New file.
7671 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7672 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7673 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7674 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7677 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7678 (crtinitS.o): New rule.
7679 * config/ia64/vms-crtinit.S: New file.
7680 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7681 * config/m32r/initfini.c: New file.
7682 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7683 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7684 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7685 * config/mep/t-mep: New file.
7686 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7687 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7688 * config/mips/crti.S, config/mips/crtn.S: New files.
7689 * config/mips/t-crtstuff: New file.
7690 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7691 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7692 (CUSTOM_CRTIN): Set.
7693 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7695 Use $(srcdir) to refer to crti.S, crtn.S.
7696 Use .S extension, $<.
7697 * config/moxie/crti.asm: Rename to ...
7698 * config/moxie/crti.S: ... this.
7699 * config/moxie/crtn.asm: Rename to ...
7700 * config/moxie/crtn.S: ... this.
7701 * config/moxie/t-moxie: Remove.
7702 * config/pa/stublib.c: New file.
7703 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7704 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7705 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7706 * config/rs6000/t-crtstuff: New file.
7707 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7708 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7709 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7710 Make output file explicit.
7711 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7712 Make output file explicit.
7713 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7714 Make output file explicit.
7715 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7716 Make output file explicit.
7717 * config/score/crti.S, config/score/crtn.S: New files.
7718 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7719 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7721 * config/sh/t-sh, config/sh/t-superh: New files.
7722 * config/sparc/t-linux64: New file.
7723 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7724 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7725 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7726 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7727 * config/t-crtin: Remove.
7728 * config/t-crtstuff-pic: New file.
7729 * config/t-sol2 (CUSTOM_CRTIN): Set.
7730 (crti.o, crtn.o): New rules.
7731 * config/vms/t-vms: New file.
7732 * config/vms/vms-ucrt0.c: New file.
7733 * config/xtensa/t-elf: New file.
7735 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7737 * Makefile.in (SHLIB_NM_FLAGS): Set.
7738 * mkmap-flat.awk, mkmap-symver.awk: New files.
7739 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7741 * configure: Regenerate.
7742 * config/libgcc-glibc.ver: New file.
7743 * config/libgcc-libsystem.ver: New file.
7744 * config/t-libunwind (SHLIB_LC): Set.
7745 * config/t-linux: New file.
7746 * config/t-slibgcc (INSTALL_SHLIB): New.
7747 (SHLIB_INSTALL): Use it.
7748 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7749 to mkmap-symver.awk.
7750 (SHLIB_MAPFILES): Don't append, adapt pathname.
7751 (SHLIB_VERPFX): Set.
7752 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7753 to mkmap-symver.awk.
7754 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7755 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7756 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7757 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7759 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7760 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7761 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7762 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7763 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7764 * config/i386/libgcc-darwin.10.4.ver,
7765 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7767 * config/i386/t-darwin: Remove.
7768 * config/i386/t-darwin64: Likewise.
7769 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7770 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7771 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7772 * config/i386/t-linux: New file.
7773 * config/i386/t-mingw32: New file.
7774 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7775 * config/ia64/t-glibc: Rename to ...
7776 * config/ia64/t-linux: ... this.
7777 (SHLIB_MAPFILES): Set.
7778 * config/ia64/t-glibc-libunwind: Rename to ...
7779 * config/ia64/t-linux-libunwind: ... this.
7780 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7781 * config/ia64/t-slibgcc-hpux: New file.
7782 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7783 * config/m68k/t-slibgcc-elf-ver: New file.
7784 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7785 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7787 * config/pa/t-slibgcc-hpux: New file.
7788 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7790 * config/rs6000/libgcc-darwin.10.4.ver,
7791 config/rs6000/libgcc-darwin.10.5.ver: New files.
7792 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7793 config/rs6000/libgcc-glibc.ver.
7794 * config/rs6000/libgcc-ppc64.ver: Rename to
7795 config/rs6000/libgcc-ibm-ldouble.ver.
7796 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7797 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7798 * config/rs6000/t-ldbl128: Rename to ...
7799 * config/rs6000/t-linux: ... this.
7800 (SHLIB_MAPFILES): Adapt filename.
7801 * config/rs6000/t-slibgcc-aix: New file.
7802 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7803 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7804 libgcc-excl.ver, libgcc-glibc.ver.
7805 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7806 * config/sparc/libgcc-glibc.ver: New file.
7807 * config/sparc/t-linux: New file.
7808 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7809 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7810 t-slibgcc-elf-ver to tmake_file.
7811 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7813 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7814 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7815 t-slibgcc-elf-ver, t-linux to tmake_file.
7816 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7818 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7819 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7820 (alpha*-dec-*vms*): Likewise.
7821 (arm*-*-freebsd*): Append to tmake_file.
7822 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7823 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7825 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7826 tmake_file for arm*-*-symbianelf*.
7827 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7828 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7830 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7831 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7832 pa/t-slibgcc-dwarf-ver to tmake_file.
7833 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7834 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7835 (hppa*64*-*-hpux11*): Likewise.
7836 (hppa[12]*-*-hpux11*): Likewise.
7837 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7838 i386/t-crtpc, i386/t-crtfm.
7839 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7840 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7842 Add i386/t-cygwin to tmake_file.
7843 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7844 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7845 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7847 Add i386/t-mingw32 to tmake_file.
7848 (x86_64-*-mingw*): Likewise.
7849 (ia64*-*-freebsd*): Append to tmake_file.
7850 (ia64*-*-linux*): Append to tmake_file.
7851 Replace ia64/t-glibc by ia64/t-linux.
7852 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7854 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7855 t-slibgcc-hpux to tmake_file.
7856 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7857 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7858 (m32rle-*-linux*): Likewise.
7859 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7861 (microblaze*-linux*): New case.
7862 Append to tmake_file, add t-slibgcc-nolc-override.
7863 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7864 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7865 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7866 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7867 rs6000/t-slibgcc-aix to tmake_file.
7868 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7869 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7870 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7871 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7872 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7873 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7875 (sparc-*-linux*): Append to tmake_file for *-leon*.
7876 Add sparc/t-linux to tmake_file for non-Leon targets.
7877 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7878 (tic6x-*-uclinux): New case.
7879 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7880 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7881 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7882 (am33_2.0-*-linux*): Append to tmake_file.
7883 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7884 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7885 x86_64-*-kfreebsd*-gnu.
7886 Add i386/t-linux to tmake_file.
7888 2011-10-28 Ian Lance Taylor <iant@google.com>
7890 * config/i386/morestack.S: Correct CFI information to do proper
7891 returns throughout function. In 32-bit mode, save %ebx so that it
7892 is restored on unwind.
7894 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7896 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7897 case where B3 isn't the return register.
7899 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7900 logic for doubleword pops.
7902 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7904 * config/rs6000/t-freebsd: Add wildcard.
7906 2011-10-21 Paul Brook <paul@codesourcery.com>
7908 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7910 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7911 Eric Botcazou <ebotcazou@adacore.com>
7914 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7915 fs->signal_frame to 1.
7917 2011-10-07 Ian Lance Taylor <iant@google.com>
7919 * generic-morestack-thread.c: #include <errno.h>.
7921 2011-10-07 Ian Lance Taylor <iant@google.com>
7924 * generic-morestack.c (__generic_morestack): Make sure the segment
7925 is large enough for both the stack frame and the copied
7928 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7931 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7934 2011-09-28 Nick Clifton <nickc@redhat.com>
7936 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7937 64-bit doubles are not enabled.
7938 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7939 and floatunsisf functions.
7941 2011-09-13 Paul Brook <paul@codesourcery.com>
7943 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7944 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7945 * unwind-arm-common.inc: New file.
7946 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7947 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7948 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7949 * config/c6x/libunwind.S: New file.
7950 * config/c6x/pr-support.c: New file.
7951 * config/c6x/unwind-c6x.c: New file.
7952 * config/c6x/unwind-c6x.h: New file.
7953 * config/c6x/t-c6x-elf: New file.
7955 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7957 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7958 (ASM_DIVZERO): Ditto.
7959 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7961 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7963 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7965 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7968 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7969 instead of an assembly one.
7971 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7974 * Makefile.in (install-unwind_h): Create
7975 $(gcc_objdir)/include/unwind.h atomically.
7977 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7979 * Makefile.in (install-unwind_h): Remove destination file first.
7981 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7984 * config/mips/t-mips16: New file.
7985 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7986 (mips*-*-linux*): Likewise.
7987 (mips*-sde-elf*): Likewise.
7988 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7989 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7990 Add mips/t-mips16 to tmake_file.
7991 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7992 (mips-*-elf*): Likewise.
7993 (mips64-*-elf*): Likewise.
7994 (mips64orion-*-elf*): Likewise.
7995 (mips*-*-rtems*): Likewise.
7996 (mipstx39-*-elf*): Likewise.
7997 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7998 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8000 Use $(srcdir) to refer to sync.c.
8002 ($(libgcc-sync-funcs-o)): Likewise.
8003 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8004 ($(libgcc-sync-funcs-s-o)): Likewise.
8006 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8008 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8011 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8014 * config/i386/value-unwind.h: New.
8016 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8018 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8019 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8020 Add to tmake_file rather than overriding it.
8022 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8024 * config/t-softfp: Remove.
8025 * soft-fp: Moved from ../gcc/config.
8026 * soft-fp/README: Remove t-softfp reference.
8027 * soft-fp/t-softfp: Move to config/t-softfp.
8028 (softfp_machine_header): Remove.
8029 (softfp_file_list): Remove config subdir.
8030 (soft-fp-objects): New variable.
8031 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8032 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8033 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8034 * config/t-softfp-excl: New file.
8035 * config/t-softfp-sfdf: New file.
8036 * config/t-softfp-tf: New file.
8037 * config/no-sfp-machine.h: New file.
8038 * config/arm/sfp-machine.h: New file.
8039 * config/arm/t-softfp: New file.
8040 * config/c6x/sfp-machine.h: New file.
8041 * config/i386/32/t-fprules-softfp: Rename to ...
8042 * config/i386/32/t-softfp: ... this.
8043 (tifunctions, LIB2ADD): Remove.
8044 (softfp_int_modes): Override.
8045 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8047 * config/i386/64/eqtf2.c: Likewise.
8048 * config/i386/64/getf2.c: Likewise.
8049 * config/i386/64/letf2.c: Likewise.
8050 * config/ia64/sft-machine.h: New file.
8051 * config/ia64/t-fprules-softfp: Rename to ...
8052 * config/ia64/t-softfp: ... this.
8053 * config/lm32/sfp-machine.h: New file.
8054 * config/moxie/t-moxie-softfp: Remove.
8055 * config/rs6000/ibm-ldouble-format: New file.
8056 * config/rs6000/ibm-ldouble.c: New file.
8057 * config/rs6000/libgcc-ppc-glibc.ver: New file
8058 * config/rs6000/libgcc-ppc64.ver: New file
8059 * config/rs6000/sfp-machine.h: New file.
8060 * config/rs6000/t-freebsd: New file.
8061 * config/rs6000/t-ibm-ldouble: New file.
8062 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8063 libgcc-ppc-glibc.ver.
8064 * config/rs6000/t-linux64: New file.
8065 * config/rs6000/t-ppccomm (LIB2ADD): Add
8066 $(srcdir)/config/rs6000/ibm-ldouble.c.
8067 * config/rs6000/t-ppccomm-ldbl: New file.
8068 * config/score/sfp-machine.h: New file.
8069 * config.host (sfp_machine_header): Explain.
8070 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8071 t-softfp to tmake_file.
8072 (arm*-*-uclinux*): Likewise.
8073 (arm*-*-ecos-elf): Likewise.
8074 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8075 (arm*-*-rtems*): Likewise.
8076 (arm*-*-elf): Likewise.
8077 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8079 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8080 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8081 (lm32-*-uclinux*): Likewise.
8082 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8083 t-softfp-excl, t-softfp.
8084 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8085 (powerpc64-*-darwin*): Likewise.
8086 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8088 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8090 (powerpc-*-eabisim*): Likewise.
8091 (powerpc-*-elf*): Likewise.
8092 (powerpc-*-eabialtivec*): Likewise.
8093 (powerpc-xilinx-eabi*): Likewise.
8094 (powerpc-*-rtems*): Likewise.
8095 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8096 t-softfp-excl, t-softfp to tmake_file.
8097 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8098 rs6000/t-ppccomm-ldbl to tmake_file.
8099 (powerpcle-*-elf*): Likewise.
8100 (powerpcle-*-eabisim*): Likewise.
8101 (powerpcle-*-eabi*): Likewise.
8102 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8103 rs6000/t-ibm-ldouble to tmake_file.
8104 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8105 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8106 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8107 (tic6x-*-*): Likewise.
8108 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8109 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8110 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8111 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8112 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8113 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8114 t-softfp to tmake_file.
8115 * configure.ac (sfp_machine_header): Provide default if unset.
8117 Link sfp-machine.h to config/$sfp_machine_header.
8118 * configure: Regenerate.
8120 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8122 * Makefile.in (double_type_size, long_double_type_size): Set.
8123 Remove $(fpbit-in-libgcc) support.
8124 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8125 (fpbit-src): New variable.
8126 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8127 Compile with -DFLOAT $(FPBIT_CFLAGS).
8129 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8130 Compile with $(FPBIT_CFLAGS).
8132 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8133 Compile with -DFLOAT $(TPBIT_CFLAGS).
8135 * configure.ac (double_type_size, long_double_type_size):
8136 Determine and substitute.
8137 * configure: Regenerate.
8138 * fp-bit.c, fp-bit.h: New files.
8139 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8140 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8141 * config/mips/t-mips: New file.
8142 * config/mips/t-sdemtk: New file.
8143 * config/rs6000/ppc64-fp.c: New file.
8144 * config/rs6000/t-darwin (LIB2ADD): Add
8145 $(srcdir)/config/rs6000/ppc64-fp.c.
8146 * config/rs6000/t-ppc64-fp: New file.
8147 * config/rx/rx-lib.h: New file.
8148 * config/rx/t-rx (FPBIT): Set to true.
8149 ($(gcc_objdir)/fp-bit.c): Remove.
8150 (DPBIT): Set to true only with -m64bit-doubles.
8151 ($(gcc_objdir)/dp-bit.c): Remove.
8152 * config/sparc/t-softfp: Remove.
8153 * config/spu/t-elf: New file.
8154 * config/t-fdpbit, config/t-fpbit: New files.
8155 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8156 (mips*-*-*): Likewise.
8157 (arm-wrs-vxworks): Likewise.
8158 (arm*-*-freebsd*): Likewise.
8159 (avr-*-rtems*): Add t-fpbit to tmake_file.
8160 (avr-*-*): Likewise.
8161 (bfin*-elf*): Add t-fdpbit to tmake_file.
8162 (bfin*-uclinux*): Likewise.
8163 (bfin*-linux-uclibc*): Likewise.
8164 (bfin*-rtems*): New case.
8165 Add t-fdpbit to tmake_file.
8166 (bfin*-*): Add t-fdpbit to tmake_file.
8167 (crisv32-*-elf): Likewise.
8168 (cris-*-linux*): Likewise.
8169 (fr30-*-elf): Likewise.
8170 (frv-*-elf, frv-*-*linux*): Likewise.
8171 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8172 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8173 (m32r-*-elf*): Likewise.
8174 (m32rle-*-elf*): Likewise.
8175 (m32r-*-linux*): Likewise.
8176 (m32rle-*-linux*): Likewise.
8177 (mcore-*-elf): Add t-fdpbit to tmake_file.
8178 (microblaze*-*-*): Likewise.
8179 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8180 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8181 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8183 Add mips/t-tpbit to tmake-file.
8184 (mips*-*-linux*): Fix typo.
8185 (mips*-sde-elf*): New case
8186 Add mips/t-sdemtk unless using newlib.
8187 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8188 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8189 (mn10300-*-*): Likewise.
8190 (pdp11-*-*): Likewise.
8191 (picochip-*-*): Add t-fpbit to tmake_file.
8192 (powerpc-*-eabisimaltivec*): Likewise.
8193 (powerpc-*-eabisim*): Likewise.
8194 (powerpc-*-elf*): Likewise.
8195 (powerpc-*-eabialtivec*): Likewise.
8196 (powerpc-xilinx-eabi*): New case.
8197 Add t-fdpbit to tmake_file.
8198 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8199 (powerpc-*-rtems*): Likewise.
8200 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8202 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8204 (powerpc-*-lynxos*): Likewise.
8205 (powerpcle-*-elf*): Likewise.
8206 (powerpcle-*-eabisim*): Likewise.
8207 (powerpcle-*-eabi*): Likewise.
8208 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8209 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8210 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8211 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8212 (rx-*-elf): Add t-fdpbit to tmake_file.
8213 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8214 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8215 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8216 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8218 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8219 (sh-wrs-vxworks): Likewise.
8220 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8221 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8222 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8223 (sparc64-*-rtems*): ... new case.
8224 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8225 (spu-*-elf*): Likewise.
8226 Add spu/t-elf to tmake_file.
8227 (v850*-*-*): Add t-fdpbit to tmake_file.
8228 (xstormy16-*-elf): Likewise.
8229 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8230 (mep*-*-*): Likewise.
8232 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8234 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8236 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8237 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8238 (install-unwind_h): New target.
8239 (all): Depend on it.
8240 * config.host (unwind_header): New variable.
8241 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8242 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8243 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8244 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8245 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8247 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8249 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8251 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8253 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8254 (ia64*-*-freebsd*): Likewise.
8255 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8257 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8258 $with_system_libunwind.
8259 (ia64*-*-hpux*): Set tmake_file.
8260 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8261 (picochip-*-*): Set tmake_file.
8262 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8264 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8265 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8266 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8267 (xtensa*-*-elf*): Set tmake_file.
8268 (xtensa*-*-linux*): Likewise.
8269 * configure.ac: Include ../config/unwind_ipinfo.m4.
8270 Call GCC_CHECK_UNWIND_GETIPINFO.
8271 Link unwind.h to $unwind_header.
8272 * configure: Regenerate.
8273 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8274 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8275 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8276 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8277 * config/unwind-dw2-fde-darwin.c: New file.
8278 * config/arm/libunwind.S, config/arm/pr-support.c,
8279 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8280 config/arm/unwind-arm.h,: New files.
8281 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8282 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8283 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8284 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8285 config/ia64/unwind-ia64.h: New files.
8286 * config/picochip/t-picochip: New file.
8287 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8289 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8290 * config/s390/t-tpf (LIB2ADDEH): Remove.
8291 * config/t-darwin (LIB2ADDEH): Set.
8292 * config/t-eh-dw2-dip: New file.
8293 * config/t-libunwind, config/t-libunwind-elf: New files.
8294 * config/t-sol2 (LIB2ADDEH): Remove.
8295 * config/xtensa/t-xtensa: New file.
8297 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8299 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8300 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8301 long long to check rt_sigreturn syscall.
8303 2011-08-02 Alan Modra <amodra@gmail.com>
8305 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8306 Restore for indirect call bcrtl from correct stack slot, and only
8307 if cfa+40 isn't valid.
8309 2011-08-01 Julian Brown <julian@codesourcery.com>
8311 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8312 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8313 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8315 2011-08-01 Julian Brown <julian@codesourcery.com>
8317 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8318 (libgcc-std.ver.in): Use above.
8319 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8320 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8322 * config/t-fixedpoint-gnu-prefix: New file.
8323 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8324 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8327 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8329 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8330 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8331 for x86-64. Properly check __x86_64__ and __LP64__.
8333 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8335 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8337 (_FP_WS_TYPE): Likewise.
8338 (_FP_I_TYPE): Likewise.
8340 2011-07-28 Alan Modra <amodra@gmail.com>
8342 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8343 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8344 in a plt call stub. Do restore r2 if stopped on bctrl.
8346 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8348 * config.host (i[3456x]86-*-netware*): Remove.
8349 * config/i386/netware-crt0.c, config/i386/t-nwld,
8350 config/i386/t-slibgcc-nwld: Remove.
8352 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8354 * config.host: Handle tic6x-*-*.
8355 * config/c6x/c6x-abi.h: New file.
8357 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8359 * config/i386/crtprec.c: New file.
8360 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8361 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8362 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8363 (x86_64-*-darwin*): Likewise.
8364 (i[34567]86-*-solaris2*: Likewise.
8366 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8368 * config/alpha/crtfastmath.c: New file.
8369 * config/i386/crtfastmath.c: New file.
8370 * config/ia64/crtfastmath.c: New file.
8371 * config/mips/crtfastmath.c: New file.
8372 * config/sparc/crtfastmath.c: New file.
8374 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8376 Add -frandom-seed=gcc-crtfastmath.
8377 * config/alpha/t-crtfm: Remove.
8378 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8379 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8381 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8382 (alpha*-dec-osf5.1*): Likewise.
8383 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8384 Add crtfastmath.o to extra_parts.
8385 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8386 Add crtfastmath.o to extra_parts.
8387 (x86_64-*-darwin*): Likewise.
8388 (x86_64-*-mingw*): Likewise.
8389 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8390 (ia64*-*-freebsd*): Likewise.
8391 (ia64*-*-linux*): Likewise.
8392 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8393 Add crtfastmath.o to extra_parts.
8395 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8397 * config/darwin-crt3.o: New file.
8398 * config/rs6000/darwin-crt2.c: New file.
8399 * config/t-darwin: New file.
8400 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8402 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8403 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8404 (powerpc64-*-darwin*): Likewise.
8406 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8408 * config/i386/netware-crt0.c: New file.
8409 * config/i386/t-nwld: Rename to ...
8410 * config/i386/t-slibgcc-nwld: ... this.
8411 * config/i386/t-nwld: New file.
8412 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8414 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8417 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8419 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8421 * configure: Regenerate.
8423 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8425 * dfp-bit.c, dfp-bit.h: New files.
8426 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8428 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8429 ($(d64pbit-o)): Likewise.
8430 ($(d128pbit-o)): Likewise.
8431 * config/t-dfprules: New file.
8432 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8433 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8434 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8435 (x86_64-*-linux*): Likewise.
8436 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8437 (i[34567]86-*-cygwin*): Likewise.
8438 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8439 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8441 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8443 * Makfile.in (LIBGCOV): New variable.
8444 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8445 * libgcov.c: New file.
8447 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8449 * fixed-bit.c, fixed-bit.h: New files.
8450 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8451 refer to fixed-bit.c.
8453 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8455 * config.host (*local*): Remove.
8457 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8460 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8461 like i?86-*-solaris2.1[0-9]*.
8462 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8463 * configure.ac (i?86-*-solaris2*): Likewise.
8464 * configure: Regenerate.
8466 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8468 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8469 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8470 md_unwind_header by splitting out of...
8471 (i[34567]86-*-linux*): ... this.
8472 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8473 Remove md_unwind_header by splitting out of...
8474 (x86_64-*-linux*): ... this.
8476 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8478 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8480 2011-06-28 Nick Clifton <nickc@redhat.com>
8482 * config.host: Recognize all V850 variants.
8484 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8486 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8488 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8490 * shared-object.mk (c_flags-$o): Save c_flags.
8491 ($(base)$(objext)): Use it.
8492 ($(base)_s$(objext)): Likewise.
8494 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8496 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8497 * libgcc-std.ver.in (GCC_4.7.0): New section.
8499 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8503 * config/avr/t-avr: Fix line endings.
8504 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8507 2011-06-14 Olivier Hainque <hainque@adacore.com>
8508 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8510 * config/mips/irix6-unwind.h: New file.
8511 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8513 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8515 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8516 (sparc64_fallback_frame_state): Use it.
8517 (sparc64_frob_update_context): Further adjust context.
8518 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8519 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8520 * config/sparc/sol2-cn.S: Likewise.
8522 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8524 * enable-execute-stack-empty.c: New file.
8525 * enable-execute-stack-mprotect.c: New file.
8526 * config/i386/enable-execute-stack-mingw32.c: New file.
8527 * config.host (enable_execute_stack): New variable.
8528 Select appropriate variants.
8529 * configure.ac: Link enable-execute-stack.c to
8530 $enable_execute_stack.
8531 * configure: Regenerate.
8532 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8533 (lib2funcs): Remove _enable_execute_stack.
8535 2011-06-09 David S. Miller <davem@davemloft.net>
8536 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8538 * config.host (sparc-*-linux*): Correct md_unwind_header
8540 (s390x-ibm-tpf*): Fix typo.
8542 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8544 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8545 Add crtfastmath.o to extra_parts.
8546 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8548 * config/mips/t-crtfm: Remove.
8550 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8552 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8554 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8556 * config.host (sh*-*-linux*): Fix typo.
8558 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8560 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8561 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8562 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8563 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8564 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8565 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8566 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8567 Wrap in !__MINGW64__.
8568 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8569 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8570 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8571 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8572 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8573 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8574 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8576 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8577 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8578 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8579 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8580 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8581 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8582 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8583 * config/no-unwind.h: New file.
8584 * config.host (md_unwind_header): Document.
8586 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8587 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8588 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8589 hppa[12]*-*-hpux11*): Set md_unwind_header.
8590 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8591 Set md_unwind_header.
8592 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8593 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8594 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8595 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8596 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8597 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8598 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8600 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8601 * configure: Regenerate.
8603 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8605 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8606 Set tmake_file, extra_parts.
8607 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8609 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8611 * config/mips/t-irix6: New file.
8612 * config/mips/t-slibgcc-irix: New file.
8614 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8616 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8617 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8619 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8621 * configure.ac (target_thread_file): Determine thread model.
8622 * configure: Regenerate.
8623 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8624 * config/alpha/t-alpha: New file.
8625 * config/alpha/t-crtfm: Use $<.
8626 * config/alpha/t-ieee: New file.
8627 * config/alpha/t-osf-pthread: New file.
8628 * config/alpha/t-slibgcc-osf: New file.
8629 * config/alpha/libgcc-osf5.ver: New file.
8631 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8633 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8635 Add crtfastmath.o to extra_parts.
8637 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8639 * config/gmon-sol2.c: Reindent.
8641 Remove, correct casts.
8642 Use STDERR_FILENO, NULL.
8643 (BASEADDRESS): Remove.
8645 (errno, sbrk): Remove declarations.
8646 (monstartup) [hp300]: Remove.
8649 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8651 * Makefile.in (cpu_type): Define.
8652 * config.host (i[34567]86-*-rtems*): Handle it.
8653 (i[34567]86-*-solaris2*): Move body ...
8654 (*-*-solaris2*): ... here.
8655 New case, generalize.
8656 (sparc-*-elf*): Handle it.
8657 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8658 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8659 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8661 (sparc*-*-solaris2*): ... this.
8663 (sparc64-*-elf*): Handle it.
8664 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8665 Merge ../gcc/config/i386/gmon-sol2.c.
8666 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8668 Merge ../gcc/config/i386/sol2-gc1.asm.
8669 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8671 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8673 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8674 * config/i386/t-crtstuff: New file.
8675 * config/i386/t-softfp: New file.
8676 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8677 $(T)crti.o, $(T)crtn.o): Remove.
8678 (gcrt1.o): New rule.
8679 (TARGET_LIBGCC2_CFLAGS): Remove.
8680 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8681 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8682 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8683 * config/sparc/t-sol2: New file.
8684 * config/sparc/t-crtfm: Move to ...
8685 * config/t-crtfm: ... this.
8686 Use $(cpu_type), $<.
8687 * config/t-crtin: New file.
8688 * config/sparc/t-softfp: New file.
8689 * config/sparc/t-softmul: New file.
8690 * config/t-rtems: New file.
8691 * config/t-slibgcc: New file.
8692 * config/t-slibgcc-elf-ver: New file.
8693 * config/t-slibgcc-gld: New file.
8694 * config/t-slibgcc-sld: New file.
8695 * config/t-sol2: New file.
8696 * configure.ac: Include ../config/lib-ld.m4.
8697 Call AC_LIB_PROG_LD_GNU.
8698 Substitute cpu_type.
8699 * configure: Regenerate.
8701 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8704 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8705 libgcc-std.ver in the build directory.
8706 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8707 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8709 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8711 * libgcc-std.ver.in: New file.
8712 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8714 (libgcc-std.ver): New rule.
8715 * config/t-gnu-prefix: New file.
8717 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8719 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8721 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8723 * config/i386/darwin-lib.h: New file.
8725 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8727 * config/arm/symbian-lib.h: New.
8729 2011-05-04 Chris Demetriou <cgd@google.com>
8731 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8732 (__x86.get_pc_thunk.bx): ...this.
8733 (__morestack): Adjust for rename, remove undef of __i686.
8735 2011-05-03 Chris Demetriou <cgd@google.com>
8737 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8739 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8741 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8742 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8743 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8744 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8745 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8748 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8750 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8751 Adjust copyright year.
8753 2011-03-07 Ian Lance Taylor <iant@google.com>
8755 * generic-morestack.c (__splitstack_find): Adjust returned stack
8756 pointer to include all registers pushed by __morestack.
8758 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8761 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8762 (toolexecdir): Calculate and AC_SUBST.
8763 (toolexeclibdir): Likewise.
8764 * Makefile.in (target_noncanonical): Import.
8765 (toolexecdir): Likewise.
8766 (toolexeclibdir): Likewise.
8767 * configure: Regenerate.
8769 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8772 * config/arm/bpabi.h: Rename to...
8773 * config/arm/bpabi-lib.h: ...this.
8775 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8777 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8779 * configure: Regenerate.
8781 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8783 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8784 __FLOAT_WORD_ORDER__.
8785 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8788 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8791 * Makefile.in (install-strip): New phony target.
8793 2010-11-07 Ian Lance Taylor <iant@google.com>
8796 * config/i386/morestack.S (__morestack_large_model): New
8799 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8801 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8803 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8805 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8807 * config/arm/bpabi.h: New file.
8808 * config/frv/frv-abi.h: New file.
8810 2010-10-01 Ian Lance Taylor <iant@google.com>
8812 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8813 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8815 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8818 * config.host: Add the missing `$'.
8820 2010-09-30 Michael Eager <eager@eagercon.com>
8822 * config.host: Add microblaze*-*-*.
8823 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8824 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8825 udivsi3.asm,umodsi3.asm}: New.
8827 2010-09-28 Ian Lance Taylor <iant@google.com>
8829 * configure.ac: Adjust CFI test to test assembler directly rather
8830 than checking gcc preprocessor macro.
8831 * configure: Rebuild.
8833 2010-09-27 Ian Lance Taylor <iant@google.com>
8835 * configure.ac: Test whether assembler supports CFI directives.
8836 * config.host: Only add t-stack and i386/t-stack-i386 to
8837 tmake_file if libgcc_cv_cfi is "yes".
8838 * configure: Rebuild.
8840 2010-09-27 Ian Lance Taylor <iant@google.com>
8842 * generic-morestack.h: New file.
8843 * generic-morestack.c: New file.
8844 * generic-morestack-thread.c: New file.
8845 * config/i386/morestack.S: New file.
8846 * config/t-stack: New file.
8847 * config/i386/t-stack-i386: New file.
8848 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8849 i386/t-stack-i386 to tmake_file.
8851 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8853 * Makefile.in (libgcc-extra-parts): Check for static archives and
8854 invoke ranlib after installing them.
8855 (gcc-extra-parts): Likewise.
8856 (install-leaf): Likewise.
8858 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8860 * configure: Regenerated.
8862 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8864 * configure: Regenerated.
8866 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8867 Andrew Pinski <pinskia@gmail.com>
8870 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8872 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8875 * configure: Regenerated.
8877 2010-09-06 Andreas Schwab <schwab@redhat.com>
8879 * configure: Regenerate.
8881 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8883 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8885 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8888 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8889 Iain Sandoe <iains@gcc.gnu.org>
8892 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8893 LIB2FUNCS_EXCLUDE functions.
8895 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8897 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8899 * configure: Regenerate.
8901 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8903 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8904 i386/t-freebsd to tmake_file.
8905 * config/i386/t-freebsd: New file.
8906 * config/i386/libgcc-bsd.ver: New file.
8908 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8910 * config.host (powerpc*-eabispe*): Set tmake_file.
8911 (powerpc*-eabi*): Likewise.
8912 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8913 crtbeginS, crtendS, crtbeginT.
8915 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8917 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8918 to tmake_file. Add crtfastmath.o to extra_parts.
8919 * config/mips/t-crtfm: New.
8921 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8923 * config.host (sparc64-*-rtems*): New target.
8925 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8927 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8930 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8932 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8934 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8936 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8937 alpha-dec-osf5.0* support.
8939 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8941 * config.host: Add lm32-*-rtems*.
8943 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8944 Uros Bizjak <ubizjak@gmail.com>
8947 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8948 like other remaining 32-bit x86 OSes.
8949 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8951 * config/i386/libgcc-sol2.ver: New file.
8952 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8954 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8957 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8958 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8959 is used and substitute set_use_emutls.
8960 * configure: Regenerated.
8962 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8964 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8966 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8969 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8971 ($(T)gcrt1.o): Likewise.
8972 ($(T)crt1.o): Likewise.
8973 ($(T)crti.o): Likewise.
8974 ($(T)crtn.o): Likewise.
8976 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8979 * Makefile.in (install): Use $(MAKE) string in rule, for
8982 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8984 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8985 * config/mmix/t-mmix: New file.
8986 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8988 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8991 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8994 2010-01-04 Anthony Green <green@moxielogic.com>
8996 * config/moxie/crti.asm, config/moxie/crtn.asm,
8997 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8998 config/moxie/t-moxie: New files.
8999 * config.host: Add t-moxie-softfp reference.
9001 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9004 * config/t-slibgcc-darwin: Fix embedded rpaths for
9005 --enable-version-specific-runtime-libs, build extension stub
9006 libs exposing features available from current libgcc_s.
9008 2009-11-11 Jon Beniston <jon@beniston.com>
9010 * config.host: Add lm32 targets.
9011 * config/lm32: New directory.
9012 * config/lm32/libgcc_lm32.h: New file.
9013 * config/lm32/_mulsi3.c: New file.
9014 * config/lm32/_udivmodsi4.c: New file.
9015 * config/lm32/_divsi3.c: New file.
9016 * config/lm32/_modsi3.c: New file.
9017 * config/lm32/_udivsi3.c: New file.
9018 * config/lm32/_umodsi3.c: New file.
9019 * config/lm32/_lshrsi3.S: New file.
9020 * config/lm32/_ashrsi3.S: New file.
9021 * config/lm32/_ashlsi3.S: New file.
9022 * config/lm32/crti.S: New file.
9023 * config/lm32/crtn.S: New file.
9024 * config/lm32/t-lm32: New file.
9025 * config/lm32/t-elf: New file.
9026 * config/lm32/t-uclinux: New file.
9028 2009-10-26 Nick Clifton <nickc@redhat.com>
9030 * config.host: Add support for RX target.
9031 * config/rx: New directory.
9032 * config/rx/rx-abi-functions.c: New file. Supplementary
9033 functions for libgcc to support the RX ABI.
9034 * config/rx/rx-abi.h: New file. Supplementary header file for
9035 libgcc RX ABI functions.
9036 * config/rx/t-rx: New file: Makefile fragment for building
9039 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9041 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9042 constraint of y0 to "g".
9044 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9046 * config.host: Include the s390 makefile fragments.
9047 * config/s390/32/_fixdfdi.c: New file.
9048 * config/s390/32/_fixsfdi.c: New file.
9049 * config/s390/32/_fixtfdi.c: New file.
9050 * config/s390/32/_fixunsdfdi.c: New file.
9051 * config/s390/32/_fixunssfdi.c: New file.
9052 * config/s390/32/_fixunstfdi.c: New file.
9053 * config/s390/32/t-floattodi: New file.
9054 * config/s390/libgcc-glibc.ver: New file.
9055 * config/s390/t-crtstuff: New file.
9056 * config/s390/t-linux: New file.
9057 * config/s390/t-tpf: New file.
9059 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9061 * configure.ac (AC_PREREQ): Bump to 2.64.
9063 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9065 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9067 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9069 * configure: Regenerate.
9071 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9073 * config.host (ia64-hp-*vms*): New target.
9074 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9077 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9079 * configure.ac: Add snippet for maintainer-mode.
9080 * configure: Regenerate.
9081 * Makefile.in (AUTOCONF, configure_deps): New variables.
9082 ($(srcdir)/configure)): New rule, active only with maintainer
9085 2009-06-23 DJ Delorie <dj@redhat.com>
9088 * config.host: Add mep support.
9090 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9092 * config.host: Add i386/${host_address}/t-fprules-softfp and
9093 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9095 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9097 * config/i386/64/_multc3.c: Likewise.
9098 * config/i386/64/_powitf2.c: Likewise.
9099 * config/i386/64/eqtf2.c: Likewise.
9100 * config/i386/64/getf2.c: Likewise.
9101 * config/i386/64/letf2.c: Likewise.
9102 * config/i386/64/letf2.c: Likewise.
9103 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9104 unsigned long long for x64 mingw targets.
9105 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9106 (_FP_I_TYPE): Define as long long for x64 mingw target.
9108 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9110 * config.host (vax-*-linux*): New.
9112 2009-05-31 Anthony Green <green@moxielogic.com>
9114 * config.host: Add moxie support.
9115 * config/moxie/t-moxie: New file.
9117 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9119 * config.host: Add i386/${host_address}/t-fprules-softfp and
9120 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9122 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9124 * config.host: Add i386/${host_address}/t-fprules-softfp to
9125 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9127 2009-04-09 Nick Clifton <nickc@redhat.com>
9129 * config/ia64/tf-signs.c: Change copyright header to refer to
9130 version 3 of the GNU General Public License with version 3.1
9131 of the GCC Runtime Library Exception and to point readers at
9132 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9134 * config/i386/32/tf-signs.c: Likewise.
9135 * config/libbid/_addsub_dd.c: Likewise.
9136 * config/libbid/_addsub_sd.c: Likewise.
9137 * config/libbid/_addsub_td.c: Likewise.
9138 * config/libbid/_dd_to_df.c: Likewise.
9139 * config/libbid/_dd_to_di.c: Likewise.
9140 * config/libbid/_dd_to_sd.c: Likewise.
9141 * config/libbid/_dd_to_sf.c: Likewise.
9142 * config/libbid/_dd_to_si.c: Likewise.
9143 * config/libbid/_dd_to_td.c: Likewise.
9144 * config/libbid/_dd_to_tf.c: Likewise.
9145 * config/libbid/_dd_to_udi.c: Likewise.
9146 * config/libbid/_dd_to_usi.c: Likewise.
9147 * config/libbid/_dd_to_xf.c: Likewise.
9148 * config/libbid/_df_to_dd.c: Likewise.
9149 * config/libbid/_df_to_sd.c: Likewise.
9150 * config/libbid/_df_to_td.c: Likewise.
9151 * config/libbid/_di_to_dd.c: Likewise.
9152 * config/libbid/_di_to_sd.c: Likewise.
9153 * config/libbid/_di_to_td.c: Likewise.
9154 * config/libbid/_div_dd.c: Likewise.
9155 * config/libbid/_div_sd.c: Likewise.
9156 * config/libbid/_div_td.c: Likewise.
9157 * config/libbid/_eq_dd.c: Likewise.
9158 * config/libbid/_eq_sd.c: Likewise.
9159 * config/libbid/_eq_td.c: Likewise.
9160 * config/libbid/_ge_dd.c: Likewise.
9161 * config/libbid/_ge_sd.c: Likewise.
9162 * config/libbid/_ge_td.c: Likewise.
9163 * config/libbid/_gt_dd.c: Likewise.
9164 * config/libbid/_gt_sd.c: Likewise.
9165 * config/libbid/_gt_td.c: Likewise.
9166 * config/libbid/_isinfd128.c: Likewise.
9167 * config/libbid/_isinfd32.c: Likewise.
9168 * config/libbid/_isinfd64.c: Likewise.
9169 * config/libbid/_le_dd.c: Likewise.
9170 * config/libbid/_le_sd.c: Likewise.
9171 * config/libbid/_le_td.c: Likewise.
9172 * config/libbid/_lt_dd.c: Likewise.
9173 * config/libbid/_lt_sd.c: Likewise.
9174 * config/libbid/_lt_td.c: Likewise.
9175 * config/libbid/_mul_dd.c: Likewise.
9176 * config/libbid/_mul_sd.c: Likewise.
9177 * config/libbid/_mul_td.c: Likewise.
9178 * config/libbid/_ne_dd.c: Likewise.
9179 * config/libbid/_ne_sd.c: Likewise.
9180 * config/libbid/_ne_td.c: Likewise.
9181 * config/libbid/_sd_to_dd.c: Likewise.
9182 * config/libbid/_sd_to_df.c: Likewise.
9183 * config/libbid/_sd_to_di.c: Likewise.
9184 * config/libbid/_sd_to_sf.c: Likewise.
9185 * config/libbid/_sd_to_si.c: Likewise.
9186 * config/libbid/_sd_to_td.c: Likewise.
9187 * config/libbid/_sd_to_tf.c: Likewise.
9188 * config/libbid/_sd_to_udi.c: Likewise.
9189 * config/libbid/_sd_to_usi.c: Likewise.
9190 * config/libbid/_sd_to_xf.c: Likewise.
9191 * config/libbid/_sf_to_dd.c: Likewise.
9192 * config/libbid/_sf_to_sd.c: Likewise.
9193 * config/libbid/_sf_to_td.c: Likewise.
9194 * config/libbid/_si_to_dd.c: Likewise.
9195 * config/libbid/_si_to_sd.c: Likewise.
9196 * config/libbid/_si_to_td.c: Likewise.
9197 * config/libbid/_td_to_dd.c: Likewise.
9198 * config/libbid/_td_to_df.c: Likewise.
9199 * config/libbid/_td_to_di.c: Likewise.
9200 * config/libbid/_td_to_sd.c: Likewise.
9201 * config/libbid/_td_to_sf.c: Likewise.
9202 * config/libbid/_td_to_si.c: Likewise.
9203 * config/libbid/_td_to_tf.c: Likewise.
9204 * config/libbid/_td_to_udi.c: Likewise.
9205 * config/libbid/_td_to_usi.c: Likewise.
9206 * config/libbid/_td_to_xf.c: Likewise.
9207 * config/libbid/_tf_to_dd.c: Likewise.
9208 * config/libbid/_tf_to_sd.c: Likewise.
9209 * config/libbid/_tf_to_td.c: Likewise.
9210 * config/libbid/_udi_to_dd.c: Likewise.
9211 * config/libbid/_udi_to_sd.c: Likewise.
9212 * config/libbid/_udi_to_td.c: Likewise.
9213 * config/libbid/_unord_dd.c: Likewise.
9214 * config/libbid/_unord_sd.c: Likewise.
9215 * config/libbid/_unord_td.c: Likewise.
9216 * config/libbid/_usi_to_dd.c: Likewise.
9217 * config/libbid/_usi_to_sd.c: Likewise.
9218 * config/libbid/_usi_to_td.c: Likewise.
9219 * config/libbid/_xf_to_dd.c: Likewise.
9220 * config/libbid/_xf_to_sd.c: Likewise.
9221 * config/libbid/_xf_to_td.c: Likewise.
9222 * config/libbid/bid128.c: Likewise.
9223 * config/libbid/bid128_2_str.h: Likewise.
9224 * config/libbid/bid128_2_str_macros.h: Likewise.
9225 * config/libbid/bid128_2_str_tables.c: Likewise.
9226 * config/libbid/bid128_add.c: Likewise.
9227 * config/libbid/bid128_compare.c: Likewise.
9228 * config/libbid/bid128_div.c: Likewise.
9229 * config/libbid/bid128_fma.c: Likewise.
9230 * config/libbid/bid128_logb.c: Likewise.
9231 * config/libbid/bid128_minmax.c: Likewise.
9232 * config/libbid/bid128_mul.c: Likewise.
9233 * config/libbid/bid128_next.c: Likewise.
9234 * config/libbid/bid128_noncomp.c: Likewise.
9235 * config/libbid/bid128_quantize.c: Likewise.
9236 * config/libbid/bid128_rem.c: Likewise.
9237 * config/libbid/bid128_round_integral.c: Likewise.
9238 * config/libbid/bid128_scalb.c: Likewise.
9239 * config/libbid/bid128_sqrt.c: Likewise.
9240 * config/libbid/bid128_string.c: Likewise.
9241 * config/libbid/bid128_to_int16.c: Likewise.
9242 * config/libbid/bid128_to_int32.c: Likewise.
9243 * config/libbid/bid128_to_int64.c: Likewise.
9244 * config/libbid/bid128_to_int8.c: Likewise.
9245 * config/libbid/bid128_to_uint16.c: Likewise.
9246 * config/libbid/bid128_to_uint32.c: Likewise.
9247 * config/libbid/bid128_to_uint64.c: Likewise.
9248 * config/libbid/bid128_to_uint8.c: Likewise.
9249 * config/libbid/bid32_to_bid128.c: Likewise.
9250 * config/libbid/bid32_to_bid64.c: Likewise.
9251 * config/libbid/bid64_add.c: Likewise.
9252 * config/libbid/bid64_compare.c: Likewise.
9253 * config/libbid/bid64_div.c: Likewise.
9254 * config/libbid/bid64_fma.c: Likewise.
9255 * config/libbid/bid64_logb.c: Likewise.
9256 * config/libbid/bid64_minmax.c: Likewise.
9257 * config/libbid/bid64_mul.c: Likewise.
9258 * config/libbid/bid64_next.c: Likewise.
9259 * config/libbid/bid64_noncomp.c: Likewise.
9260 * config/libbid/bid64_quantize.c: Likewise.
9261 * config/libbid/bid64_rem.c: Likewise.
9262 * config/libbid/bid64_round_integral.c: Likewise.
9263 * config/libbid/bid64_scalb.c: Likewise.
9264 * config/libbid/bid64_sqrt.c: Likewise.
9265 * config/libbid/bid64_string.c: Likewise.
9266 * config/libbid/bid64_to_bid128.c: Likewise.
9267 * config/libbid/bid64_to_int16.c: Likewise.
9268 * config/libbid/bid64_to_int32.c: Likewise.
9269 * config/libbid/bid64_to_int64.c: Likewise.
9270 * config/libbid/bid64_to_int8.c: Likewise.
9271 * config/libbid/bid64_to_uint16.c: Likewise.
9272 * config/libbid/bid64_to_uint32.c: Likewise.
9273 * config/libbid/bid64_to_uint64.c: Likewise.
9274 * config/libbid/bid64_to_uint8.c: Likewise.
9275 * config/libbid/bid_b2d.h: Likewise.
9276 * config/libbid/bid_binarydecimal.c: Likewise.
9277 * config/libbid/bid_conf.h: Likewise.
9278 * config/libbid/bid_convert_data.c: Likewise.
9279 * config/libbid/bid_decimal_data.c: Likewise.
9280 * config/libbid/bid_decimal_globals.c: Likewise.
9281 * config/libbid/bid_div_macros.h: Likewise.
9282 * config/libbid/bid_dpd.c: Likewise.
9283 * config/libbid/bid_flag_operations.c: Likewise.
9284 * config/libbid/bid_from_int.c: Likewise.
9285 * config/libbid/bid_functions.h: Likewise.
9286 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9287 * config/libbid/bid_inline_add.h: Likewise.
9288 * config/libbid/bid_internal.h: Likewise.
9289 * config/libbid/bid_round.c: Likewise.
9290 * config/libbid/bid_sqrt_macros.h: Likewise.
9292 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9294 * Makefile.in: Change copyright header to refer to version
9295 3 of the GNU General Public License and to point readers at the
9296 COPYING3 file and the FSF's license web page.
9297 * config.host: Likewise.
9299 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9301 * config.host: Reorder and merge to match config.gcc change.
9303 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9305 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9307 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9309 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9310 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9311 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9312 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9314 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9316 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9317 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9319 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9321 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9322 ia64/t-softfp-compat to tmake_file.
9324 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9326 * config/ia64/__divxf3.asm: New.
9327 * config/ia64/_fixtfdi.asm: Likewise.
9328 * config/ia64/_fixunstfdi.asm: Likewise.
9329 * config/ia64/_floatditf.asm: Likewise.
9330 * config/ia64/t-fprules-softfp: Likewise.
9331 * config/ia64/t-softfp-compat: Likewise.
9332 * config/ia64/tf-signs.c: Likewise.
9334 2009-01-18 Ben Elliston <bje@au.ibm.com>
9336 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9338 2009-01-16 Ben Elliston <bje@au.ibm.com>
9340 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9343 2009-01-13 Ben Elliston <bje@au.ibm.com>
9345 * config/t-softfp: New file.
9346 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9347 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9349 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9351 * config.host: Add m32r*-*-rtems*.
9353 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9355 * config.host: Add m32c*-*-rtems*.
9357 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9360 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9361 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9362 * configure: Regenerate.
9363 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9364 tmake_file here from gcc/config.gcc.
9365 Move extra_parts here from gcc/config.gcc.
9366 * config/i386/t-sol2: Move here from gcc/config/i386.
9367 Use gcc_srcdir instead of srcdir.
9369 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9371 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9374 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9376 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9378 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9380 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9382 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9385 * config.host: Add picochip-*-*.
9387 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9389 * config.host: Match more processor names for Xtensa.
9391 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9393 * config/i386/64/t-softfp-compat: Update comments.
9395 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9397 * config/i386/64/_divtc3-compat.c: Moved to ...
9398 * config/i386/64/_divtc3.c: Here.
9400 * config/i386/64/_multc3-compat.c: Moved to ...
9401 * config/i386/64/_multc3.c: Here.
9403 * config/i386/64/_powitf2-compat.c: Moved to ...
9404 * config/i386/64/_powitf2.c: Here.
9406 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9407 .c suffix instead of -compat.c.
9409 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9411 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9412 (_FP_MUL_MEAT_D): Ditto.
9413 (_FP_DIV_MEAT_S): Ditto.
9414 (_FP_DIV_MEAT_D): Ditto.
9416 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9418 * Makefile.in: Add support for __sync_* libgcc functions.
9420 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9422 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9424 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9427 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9428 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9430 * config/i386/64/t-fprules-softfp: Moved to ...
9431 * config/i386/64/t-softfp-compat: This. New.
9433 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9435 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9436 Initialize f with 0.0.
9438 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9441 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9443 * config/i386/64/_divtc3-compat.c: New.
9444 * config/i386/64/_multc3-compat.c: Likewise.
9445 * config/i386/64/_powitf2-compat.c: Likewise.
9446 * config/i386/64/eqtf2.c: Likewise.
9447 * config/i386/64/getf2.c: Likewise.
9448 * config/i386/64/letf2.c: Likewise.
9449 * config/i386/64/t-fprules-softfp: Likewise.
9451 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9453 * config.host: Add i386/${host_address}/t-fprules-softfp to
9454 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9455 i[34567]86-*-linux*, x86_64-*-linux*.
9457 * configure.ac: Set host_address to 64 or 32 for x86.
9458 * configure: Regenerated.
9460 * Makefile.in (config.status): Also depend on
9461 $(srcdir)/config.host.
9463 * config/i386/32/t-fprules-softfp: New.
9464 * config/i386/32/tf-signs.c: Likewise.
9466 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9468 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9469 Uros Bizjak <ubizjak@gmail.com>
9471 * config/i386/32/sfp-machine.h: New.
9473 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9475 * config/rs6000/t-ppccomm: Remove rules that conflict with
9476 auto-generated rules.
9478 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9480 * configure.ac: sinclude override.m4.
9481 * configure: Regenerate.
9483 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9485 * configure: Regenerate.
9487 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9489 * Makefile.in (DECNUMINC): Remove
9490 -I$(MULTIBUILDTOP)../../libdecnumber.
9493 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9495 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9496 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9497 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9498 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9499 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9500 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9501 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9502 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9503 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9504 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9505 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9506 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9507 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9508 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9510 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9512 * config.host (sh2[lbe]*-*-linux*): Allow target.
9514 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9516 * config/rs6000/t-ppccomm: Add build rules for new files.
9517 (LIB2ADD_ST): New variable.
9519 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9523 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9524 * config/t-avr: New file. Build 16bit libgcc functions.
9526 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9529 * config/t-slibgcc-darwin: Make install-leaf dependent on
9530 install-darwin-libgcc-stubs instead of install.
9532 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9534 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9535 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9536 sh-*-rtemscoff*): Remove cases.
9538 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9540 * Makefile.in (all): Use install-leaf rather than install.
9541 (install): Split most of the rule into...
9542 (install-leaf): ...this new one.
9544 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9545 Paolo Bonzini <bonzini@gnu.org>
9548 * Makefile.in: Use @shlib_slibdir@ substitution to get
9549 correct install name on darwin.
9550 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9552 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9554 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9555 cris-*-elf and cris-*-none.
9556 (crisv32-*-linux*): Similar, as cris-*-linux*.
9558 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9560 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9562 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9565 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9566 * configure: Regenerated.
9568 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9570 * Makefile.in (dfp-filenames): Replace decimal_globals,
9571 decimal_data, binarydecimal and convert_data with
9572 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9573 and bid_convert_data, respectively.
9575 2007-09-17 Chao-ying Fu <fu@mips.com>
9576 Nigel Stephens <nigel@mips.com>
9578 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9579 * Makefile.in (fixed_point): Define.
9580 Check if fixed_point is yes to build support functions.
9581 * configure.ac: Check for fixed_point support.
9582 * configure: Regenerated.
9583 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9584 funcs, modes, from, to.
9586 2007-09-11 Janis Johnson <janis187@us.ibm.com
9588 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9590 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9592 * Makefile.in (dfp-filenames): Remove decUtility, add
9593 decDouble, decPacked, decQuad, decSingle.
9595 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9597 * config.host : Add x86_64-elf target.
9599 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9601 * configure.ac (set_have_cc_tls): Add a missing =.
9602 * configure: Regenerated.
9604 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9606 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9607 and x86_64-*-linux*.
9609 * config/t-tls: New file.
9611 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9613 * configure.ac: Include ../config/enable.m4 and
9614 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9615 supports TLS and substitute set_have_cc_tls.
9616 * configure: Regenerated.
9618 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9620 * Makefile.in: Use libbid for DFP when BID is enabled.
9622 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9624 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9625 extra_parts. Add config/i386/t-cygming to tmake_file.
9626 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9628 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9629 Danny Smith <dannysmith@users.sourceforge.net>
9632 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9633 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9634 * config/i386/t-crtfm: Compile crtfastmath.o with
9635 -minline-all-stringops.
9637 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9639 * config.host (sparc-wrs-vxworks): New target.
9641 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9643 * config.host: Recognize fido.
9645 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9647 * configure: Check host, not target, for decimal float support.
9649 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9651 * config/i386/t-crtpc: New file.
9652 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9653 (x86_64-*-linux*): Ditto.
9655 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9657 * config.host (x86_64-*-mingw*): New target.
9659 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9660 H.J. Lu <hongjiu.lu@intel.com>
9662 * Makefile.in (enable_decimal_float): New.
9664 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9665 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9666 (decbits-filenames): This.
9667 (decbits-objects): New.
9668 (libgcc-objects): Add $(decbits-objects).
9670 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9671 Substitute enable_decimal_float.
9672 * configure: Regenerated.
9674 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9676 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9678 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9680 * Makefile.in (install-info): New dummy target.
9682 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9684 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9686 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9688 * Makefile.in: Add install-html and install-pdf dummy
9691 2007-02-05 Roger Sayle <roger@eyesopen.com>
9692 Daniel Jacobowitz <dan@codesourcery.com>
9694 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9695 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9696 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9698 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9700 * Makefile.in (dec-filenames): Add decExcept.
9702 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9705 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9708 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9710 * configure.ac: Add --enable-version-specific-runtime-libs.
9711 Correct $slibdir default.
9712 * configure: Regenerated.
9714 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9716 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9718 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9721 * config.host (alpha*-*-linux*): Set extra_parts.
9723 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9725 * config/sh/t-linux: New.
9726 * config.host (sh*-*-linux*): Set tmake_file.
9728 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9730 * Makefile.in (install): Handle multilibs.
9732 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9734 * Makefile.in: Added .PHONY entry for documentation targets.
9736 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9738 * Makefile.in: Add empty info, html, dvi, pdf targets.
9740 2007-01-04 Mike Stump <mrs@apple.com>
9742 * Makefile.in (MAKEINFO): Remove.
9745 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9747 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9748 * configure: Regenerate.
9749 * Makefile.in (host_subdir): Substitute it.
9750 (gcc_objdir): Use it.
9752 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9754 * config.host (ia64*-*-linux*): Set tmake_file.
9756 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9758 * Makefile.in (version): Define.
9760 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9761 Paolo Bonzini <bonzini@gnu.org>
9763 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9764 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9765 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9766 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9767 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9768 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9769 * configure: Generated.
9771 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9773 Copying and distribution of this file, with or without modification,
9774 are permitted in any medium without royalty provided the copyright
9775 notice and this notice are preserved.