1 2018-11-09 Stafford Horne <shorne@gmail.com>
2 Richard Henderson <rth@twiddle.net>
4 * config.host: Add OpenRISC support.
7 2018-11-08 Kito Cheng <kito@andestech.com>
9 * soft-fp/adddf3.c: Update from glibc.
10 * soft-fp/addsf3.c: Likewise.
11 * soft-fp/addtf3.c: Likewise.
12 * soft-fp/divdf3.c: Likewise.
13 * soft-fp/divsf3.c: Likewise.
14 * soft-fp/divtf3.c: Likewise.
15 * soft-fp/double.h: Likewise.
16 * soft-fp/eqdf2.c: Likewise.
17 * soft-fp/eqsf2.c: Likewise.
18 * soft-fp/eqtf2.c: Likewise.
19 * soft-fp/extenddftf2.c: Likewise.
20 * soft-fp/extended.h: Likewise.
21 * soft-fp/extendhftf2.c: Likewise.
22 * soft-fp/extendsfdf2.c: Likewise.
23 * soft-fp/extendsftf2.c: Likewise.
24 * soft-fp/extendxftf2.c: Likewise.
25 * soft-fp/fixdfdi.c: Likewise.
26 * soft-fp/fixdfsi.c: Likewise.
27 * soft-fp/fixdfti.c: Likewise.
28 * soft-fp/fixhfti.c: Likewise.
29 * soft-fp/fixsfdi.c: Likewise.
30 * soft-fp/fixsfsi.c: Likewise.
31 * soft-fp/fixsfti.c: Likewise.
32 * soft-fp/fixtfdi.c: Likewise.
33 * soft-fp/fixtfsi.c: Likewise.
34 * soft-fp/fixtfti.c: Likewise.
35 * soft-fp/fixunsdfdi.c: Likewise.
36 * soft-fp/fixunsdfsi.c: Likewise.
37 * soft-fp/fixunsdfti.c: Likewise.
38 * soft-fp/fixunshfti.c: Likewise.
39 * soft-fp/fixunssfdi.c: Likewise.
40 * soft-fp/fixunssfsi.c: Likewise.
41 * soft-fp/fixunssfti.c: Likewise.
42 * soft-fp/fixunstfdi.c: Likewise.
43 * soft-fp/fixunstfsi.c: Likewise.
44 * soft-fp/fixunstfti.c: Likewise.
45 * soft-fp/floatdidf.c: Likewise.
46 * soft-fp/floatdisf.c: Likewise.
47 * soft-fp/floatditf.c: Likewise.
48 * soft-fp/floatsidf.c: Likewise.
49 * soft-fp/floatsisf.c: Likewise.
50 * soft-fp/floatsitf.c: Likewise.
51 * soft-fp/floattidf.c: Likewise.
52 * soft-fp/floattihf.c: Likewise.
53 * soft-fp/floattisf.c: Likewise.
54 * soft-fp/floattitf.c: Likewise.
55 * soft-fp/floatundidf.c: Likewise.
56 * soft-fp/floatundisf.c: Likewise.
57 * soft-fp/floatunditf.c: Likewise.
58 * soft-fp/floatunsidf.c: Likewise.
59 * soft-fp/floatunsisf.c: Likewise.
60 * soft-fp/floatunsitf.c: Likewise.
61 * soft-fp/floatuntidf.c: Likewise.
62 * soft-fp/floatuntihf.c: Likewise.
63 * soft-fp/floatuntisf.c: Likewise.
64 * soft-fp/floatuntitf.c: Likewise.
65 * soft-fp/gedf2.c: Likewise.
66 * soft-fp/gesf2.c: Likewise.
67 * soft-fp/getf2.c: Likewise.
68 * soft-fp/half.h: Likewise.
69 * soft-fp/ledf2.c: Likewise.
70 * soft-fp/lesf2.c: Likewise.
71 * soft-fp/letf2.c: Likewise.
72 * soft-fp/muldf3.c: Likewise.
73 * soft-fp/mulsf3.c: Likewise.
74 * soft-fp/multf3.c: Likewise.
75 * soft-fp/negdf2.c: Likewise.
76 * soft-fp/negsf2.c: Likewise.
77 * soft-fp/negtf2.c: Likewise.
78 * soft-fp/op-1.h: Likewise.
79 * soft-fp/op-2.h: Likewise.
80 * soft-fp/op-4.h: Likewise.
81 * soft-fp/op-8.h: Likewise.
82 * soft-fp/op-common.h: Likewise.
83 * soft-fp/quad.h: Likewise.
84 * soft-fp/single.h: Likewise.
85 * soft-fp/soft-fp.h: Likewise.
86 * soft-fp/subdf3.c: Likewise.
87 * soft-fp/subsf3.c: Likewise.
88 * soft-fp/subtf3.c: Likewise.
89 * soft-fp/truncdfsf2.c: Likewise.
90 * soft-fp/trunctfdf2.c: Likewise.
91 * soft-fp/trunctfhf2.c: Likewise.
92 * soft-fp/trunctfsf2.c: Likewise.
93 * soft-fp/trunctfxf2.c: Likewise.
94 * soft-fp/unorddf2.c: Likewise.
95 * soft-fp/unordsf2.c: Likewise.
96 * soft-fp/unordtf2.c: Likewise.
98 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
100 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
101 * config/i386/cpuinfo.h (processor_types): Add znver2.
103 2018-11-01 Paul Koning <ni1d@arrl.net>
105 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
106 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
108 2018-10-31 Joseph Myers <joseph@codesourcery.com>
111 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
112 * configure: Regenerate.
114 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
116 * config/arc/lib1funcs.S (_muldi3): New function.
117 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
119 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
121 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
123 2018-10-25 Martin Liska <mliska@suse.cz>
126 * libgcov-profiler.c: Revert.
128 2018-10-24 Martin Liska <mliska@suse.cz>
130 * libgcov-profiler.c: Start from 1 in order to distinguish
131 functions which were seen and these that were not.
133 2018-10-18 Paul Koning <ni1d@arrl.net>
135 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
137 * divmod.c: Update references to __udivmodsi4.
139 * udivhi3.c: New file.
140 * udivmodhi4.c: New file.
141 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
143 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
145 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
147 2018-10-12 Olivier Hainque <hainque@adacore.com>
149 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
150 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
152 2018-10-08 Paul Koning <ni1d@arrl.net>
154 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
156 2018-10-04 Martin Liska <mliska@suse.cz>
158 PR gcov-profile/84107
159 * libgcov-profiler.c (__gcov_indirect_call):
160 Change type to indirect_call_tuple.
161 (struct indirect_call_tuple): New struct.
162 (__gcov_indirect_call_topn_profiler): Change type.
163 (__gcov_indirect_call_profiler_v2): Use the new
165 * libgcov.h (struct indirect_call_tuple): New struct
168 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
170 * libgcc2.c (isnan): Use __builtin_isnan.
171 (isfinite): Use __builtin_isfinite.
172 (isinf): Use __builtin_isinf.
174 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
176 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
178 2018-09-21 Alexandre Oliva <oliva@adacore.com>
180 * config/vxcache.c: New file. Provide __clear_cache, based on
181 the cacheTextUpdate VxWorks service.
182 * config/t-vxworks (LIB2ADD): Add vxcache.c.
183 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
184 * config/t-vxwoks7: Likewise.
186 2018-09-21 Martin Liska <mliska@suse.cz>
188 * libgcov-driver.c (crc32_unsigned): Remove.
189 (gcov_histogram_insert): Likewise.
190 (gcov_compute_histogram): Likewise.
191 (compute_summary): Simplify rapidly.
192 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
193 (merge_summary): Rapidly simplify.
194 (dump_one_gcov): Ignore gcov_summary.
195 (gcov_do_dump): Do not handle program summary, it's not
197 * libgcov-util.c (tag_summary): Remove.
198 (read_gcda_finalize): Fix coding style.
199 (read_gcda_file): Initialize curr_object_summary.
200 (compute_summary): Remove.
201 (calculate_overlap): Remove settings of run_max.
203 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
205 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
206 ucontext_t type instead.
207 (nds32_fallback_frame_state): Remove struct _sigframe statement.
209 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
211 * config/nds32/t-nds32-glibc: New file.
213 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
215 * configure.ac (solaris_ld_v2_maps): New test.
216 * configure: Regenerate.
217 * Makefile.in (solaris_ld_v2_maps): New variable.
218 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
221 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
224 * config/arm/lib1funcs.asm (speculation_barrier): New function.
225 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
228 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
230 * config/unwind-dw2-fde-darwin.c
231 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
232 * config/darwin10-unwind-find-enc-func.c: … to here.
233 * config/t-darwin: Build Darwin10 unwinder shim crt.
234 * libgcc/config.host: Add the Darwin10 unwinder shim.
236 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
238 * config.host: Add crtbegin.o and crtend.o for
239 powerpc-wrs-vxworks target.
241 2018-08-17 Jojo <jijie_rong@c-sky.com>
242 Huibin Wang <huibin_wang@c-sky.com>
243 Sandra Loosemore <sandra@codesourcery.com>
244 Chung-Lin Tang <cltang@codesourcery.com>
248 * config.host: Add C-SKY support.
249 * config/csky/*: New.
251 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
253 * config/nds32/t-nds32-isr: Rearrange object dependency.
254 * config/nds32/initfini.c: Add dwarf2 unwinding support.
255 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
257 * config/nds32/isr-library/excp_isr.S: Ditto.
258 * config/nds32/isr-library/intr_isr.S: Ditto.
259 * config/nds32/isr-library/reset.S: Ditto.
260 * config/nds32/isr-library/restore_all.inc: Ditto.
261 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
262 * config/nds32/isr-library/restore_partial.inc: Ditto.
263 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
264 * config/nds32/isr-library/save_all.inc: Ditto.
265 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
266 * config/nds32/isr-library/save_partial.inc: Ditto.
267 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
268 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
270 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
272 * config/pa/linux-atomic.c: Update comment.
273 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
274 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
275 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
276 __ATOMIC_RELAXED for atomic loads.
277 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
278 unordered store to release lock.
279 (__sync_lock_release_8): Likewise.
280 (SYNC_LOCK_RELEASE_2): Remove define.
282 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
285 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
286 exponent goes negative. Update my email address.
287 * config/arm/ieee754-sf.S: Likewise.
289 2018-08-01 Martin Liska <mliska@suse.cz>
291 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
292 check that __gcov_indirect_call_callee is non-null.
294 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
296 * config/arm/ieee754-df.S: Fix comment for code working on
298 * config/arm/ieee754-sf.S: Likewise.
300 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
303 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
306 2018-07-05 James Clarke <jrtc27@jrtc27.com>
308 * configure: Regenerated.
310 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
312 * Makefile.in (install_leaf): Use enable_gcov instead of
315 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
317 * configure.ac: Add --disable-gcov option.
318 * configure: Regenerate.
319 * Makefile.in: Honour @enable_gcov@.
321 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
323 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
324 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
325 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
326 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
328 * config/arm/ieee754-sf.S: Likewise.
329 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
331 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
333 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
335 * config/arm/ieee754-sf.S: Likewise.
337 2018-06-20 Than McIntosh <thanm@google.com>
340 * generic-morestack.c (allocate_segment): Move calls to getenv and
341 getpagesize to __morestack_load_mmap.
342 (__morestack_load_mmap) Initialize static_pagesize and
343 use_guard_page here so as to avoid clobbering SSE regs during a
346 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
348 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
349 support modules with -mno-gnu-attribute.
350 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
352 2018-06-07 Olivier Hainque <hainque@adacore.com>
354 * config/t-vxworks (LIBGCC_INCLUDES): Add
355 -I$(MULTIBUILDTOP)../../gcc/include.
356 * config/t-vxworks7: Likewise. Reformat a bit to match
357 the t-vxworks layout.
359 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
361 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
363 2018-06-07 Martin Liska <mliska@suse.cz>
365 * libgcov-driver.c: Rename cs_all to all and assign it from
368 2018-06-07 Martin Liska <mliska@suse.cz>
371 * libgcov-driver-system.c (replace_filename_variables): Use
372 memcpy instead of mempcpy.
373 (allocate_filename_struct): Do not allocate filename, allocate
375 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
376 here and properly copy content into it.
377 * libgcov-driver.c (struct gcov_filename): Remove max_length
378 field, change prefix from size_t into char *.
379 (compute_summary): Do not calculate longest filename.
380 (gcov_do_dump): Release memory of gf.filename after each file.
381 * libgcov-util.c (compute_summary): Use new signature of
383 (calculate_overlap): Likewise.
385 2018-06-05 Martin Liska <mliska@suse.cz>
387 PR gcov-profile/47618
388 * libgcov-driver-system.c (replace_filename_variables): New
390 (gcov_exit_open_gcda_file): Use it.
392 2018-06-05 Martin Liska <mliska@suse.cz>
394 * libgcov-driver.c (gcov_compute_histogram): Remove usage
396 (compute_summary): Do it just for a single summary.
397 (merge_one_data): Likewise.
398 (merge_summary): Simplify as we read just single summary.
399 (dump_one_gcov): Pass proper argument.
400 * libgcov-util.c (compute_one_gcov): Simplify as we have just
402 (gcov_info_count_all_cold): Likewise.
403 (calculate_overlap): Likewise.
405 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
406 Monk Chiang <sh.chiang04@gmail.com>
408 * config.host (nds32*-linux*): New.
409 * config/nds32/linux-atomic.c: New file.
410 * config/nds32/linux-unwind.h: New file.
412 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
415 * config/i386/cpuinfo.c (get_amd_cpu): Return
416 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
418 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
420 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
422 2018-05-29 Martin Liska <mliska@suse.cz>
424 PR gcov-profile/85759
425 * libgcov-driver-system.c (gcov_error): Introduce usage of
426 GCOV_EXIT_AT_ERROR env. variable.
427 * libgcov-driver.c (merge_one_data): Print error that we
428 overwrite a gcov file with a different timestamp.
430 2018-05-23 Kalamatee <kalamatee@gmail.com>
432 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
435 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
436 Monk Chiang <sh.chiang04@gmail.com>
437 Jim Wilson <jimw@sifive.com>
439 * config/riscv/save-restore.S: Add support for rv32e.
441 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
443 * config/arm/libunwind.S: Update comment relating to armv5.
445 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
447 * config/arm/cmse.c (cmse_check_address_range): Replace
448 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
450 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
452 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
453 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
455 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
457 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
458 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
460 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
462 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
464 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
465 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
468 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
469 op_and_fetch to return the right result.
471 2018-04-27 Alan Modra <amodra@gmail.com>
474 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
475 -fno-asynchronous-unwind-tables.
477 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
479 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
480 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
482 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
484 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
485 when including "config/i386/shadow-stack-unwind.h".
487 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
489 * configure: Regenerated.
491 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
494 * config/rs6000/_powikf2.c: New file. Add support for the
495 __builtin_powil function when long double is IEEE 128-bit floating
497 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
499 (__powikf2): Likewise.
500 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
501 (__powikf2_hw): Likewise.
502 (__powikf2): Likewise.
503 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
504 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
505 (_powikf2-hw.c): Likewise.
507 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
510 * unwind-generic.h (_Unwind_Frames_Increment): New.
511 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
513 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
514 count with _Unwind_Frames_Increment.
515 (_Unwind_ForcedUnwind_Phase2): Likewise.
517 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
520 * config/i386/morestack.S (__stack_split_initialize): Add
523 2018-04-19 Jakub Jelinek <jakub@redhat.com>
525 * configure: Regenerated.
527 2018-04-18 David Malcolm <dmalcolm@redhat.com>
530 * configure: Regenerate.
532 2018-04-16 Jakub Jelinek <jakub@redhat.com>
535 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
536 -Wdangling-else warnings. Mask shift counts to avoid
537 -Wshift-count-negative and -Wshift-count-overflow false positives.
539 2018-04-06 Ruslan Bukin <br@bsdpad.com>
541 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
543 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
546 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
547 (XSTATE_FP): Likewise.
548 (XSTATE_SSE): Likewise.
549 (XSTATE_YMM): Likewise.
550 (XSTATE_OPMASK): Likewise.
551 (XSTATE_ZMM): Likewise.
552 (XSTATE_HI_ZMM): Likewise.
553 (XCR_AVX_ENABLED_MASK): Likewise.
554 (XCR_AVX512F_ENABLED_MASK): Likewise.
555 (get_available_features): Enable AVX and AVX512 features only
556 if their states are supported by OSXSAVE.
558 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
561 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
562 Fix a typo, tmp => 255.
564 2018-03-20 Jakub Jelinek <jakub@redhat.com>
567 * config/i386/cpuinfo.h (__cpu_features2): Declare.
568 * config/i386/cpuinfo.c (__cpu_features2): New variable for
570 (set_feature): Define.
571 (get_available_features): Use set_feature macro. Set __cpu_features2
572 to the second word of features ifndef SHARED.
574 2018-03-15 Julia Koval <julia.koval@intel.com>
576 * config/i386/cpuinfo.c (get_available_features): Add
577 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
578 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
579 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
580 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
581 FEATURE_AVX512BITALG.
583 2018-03-14 Julia Koval <julia.koval@intel.com>
585 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
586 icelake client and icelake server.
588 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
590 * config/pa/fptr.c (_dl_read_access_allowed): New.
591 (__canonicalize_funcptr_for_compare): Use it.
593 2018-02-28 Jakub Jelinek <jakub@redhat.com>
596 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
597 $asm_hidden_op if visibility ("hidden") attribute works.
598 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
599 * config/i386/i386-asm.h: Don't include auto-host.h.
600 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
601 PACKAGE_URL): Don't undefine.
602 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
603 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
604 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
605 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
606 definition instead of hardcoded .hidden.
607 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
608 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
609 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
610 (USE_GAS_CFI_DIRECTIVES): Don't define.
611 * configure: Regenerated.
612 * config.in: Likewise.
614 2018-02-26 Jakub Jelinek <jakub@redhat.com>
617 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
618 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
619 inclusion of auto-target.h and auto-host.h.
620 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
621 __GCC_HAVE_DWARF2_CFI_ASM.
622 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
623 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
625 * config/i386/cygwin.S: Don't include auto-host.h here, just
626 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
627 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
628 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
629 * config/i386/resms64fx.h: Add cfi_* directives.
630 * config/i386/resms64x.h: Likewise.
632 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
634 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
635 .literal_position directive.
636 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
638 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
641 * configure: Regenerate.
643 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
646 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
647 Include cetintrin.h not x86intrin.h.
649 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
652 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
653 Use new _get_ssp and _inc_ssp intrinsics.
655 2018-02-02 Julia Koval <julia.koval@intel.com>
657 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
659 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
661 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
663 (__divsi3): Use RF16 safe registers.
664 (__modsi3): Likewise.
666 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
668 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
669 (__divsf3): Make NaN return value quiet.
670 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
671 (__divdf3): Make NaN return value quiet.
673 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
675 * config/rl78/anddi3.S: New assembly file.
676 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
678 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
680 * config/rl78/umindi3.S: New assembly file.
681 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
683 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
685 * config/rl78/smindi3.S: New assembly file.
686 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
688 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
690 * config/rl78/smaxdi3.S: New assembly file.
691 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
693 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
695 * config/rl78/umaxdi3.S: New assembly file.
696 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
698 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
701 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
702 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
704 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
706 * config/aarch64/value-unwind.h (aarch64_vg): New function.
707 (DWARF_LAZY_REGISTER_VALUE): Define.
708 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
709 to provide a fallback register value.
711 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
713 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
714 __ibm128, instead of trying to use long double.
715 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
716 accomidate -mabi=ieeelongdouble multilibs.
717 (CVT_IBM128_TO_FLOAT128): Likewise.
718 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
719 the appropriate IBM extended double type.
720 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
721 (__gcc_qsub): Likewise.
722 (__gcc_qmul): Likewise.
723 (__gcc_qdiv): Likewise.
724 (pack_ldouble): Likewise.
725 (__gcc_qneg): Likewise.
726 (__gcc_qeq): Likewise.
727 (__gcc_qne): Likewise.
728 (__gcc_qge): Likewise.
729 (__gcc_qle): Likewise.
730 (__gcc_stoq): Likewise.
731 (__gcc_dtoq): Likewise.
732 (__gcc_itoq): Likewise.
733 (__gcc_utoq): Likewise.
734 (__gcc_qunord): Likewise.
735 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
736 quad-float128.h for the definitions.
737 (COPYSIGN): Use the f128 version instead of the q version.
738 (INFINITY): Likewise.
739 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
740 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
741 quad-float128.h for the definitions.
742 (COPYSIGN): Use the f128 version instead of the q version.
743 (INFINITY): Likewise.
745 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
746 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
747 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
749 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
751 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
754 2018-01-03 Jakub Jelinek <jakub@redhat.com>
756 Update copyright years.
758 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
760 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
761 * config/riscv/multi3.c: New file.
762 * config/riscv/multi3.S: Remove.
764 2017-12-08 Jim Wilson <jimw@sifive.com>
766 * config/riscv/div.S: Use FUNC_* macros.
767 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
768 * config/riscv/save-restore.S: Likewise.
769 * config/riscv/riscv-asm.h: New.
771 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
773 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
774 * config/rs6000/_divkc3.c (__divkc3): Likewise.
777 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
778 correct type for all ifunc resolvers to silence -Wattribute-alias
779 warnings. Eliminate the forward declaration of the resolver
780 functions which is no longer needed.
781 (__subkf3_resolve): Likewise.
782 (__mulkf3_resolve): Likewise.
783 (__divkf3_resolve): Likewise.
784 (__negkf2_resolve): Likewise.
785 (__eqkf2_resolve): Likewise.
786 (__nekf2_resolve): Likewise.
787 (__gekf2_resolve): Likewise.
788 (__gtkf2_resolve): Likewise.
789 (__lekf2_resolve): Likewise.
790 (__ltkf2_resolve): Likewise.
791 (__unordkf2_resolve): Likewise.
792 (__extendsfkf2_resolve): Likewise.
793 (__extenddfkf2_resolve): Likewise.
794 (__trunckfsf2_resolve): Likewise.
795 (__trunckfdf2_resolve): Likewise.
796 (__fixkfsi_resolve): Likewise.
797 (__fixkfdi_resolve): Likewise.
798 (__fixunskfsi_resolve): Likewise.
799 (__fixunskfdi_resolve): Likewise.
800 (__floatsikf_resolve): Likewise.
801 (__floatdikf_resolve): Likewise.
802 (__floatunsikf_resolve): Likewise.
803 (__floatundikf_resolve): Likewise.
804 (__extendkftf2_resolve): Likewise.
805 (__trunctfkf2_resolve): Likewise.
808 * config/rs6000/quad-float128.h (TF): Don't define if long double
809 is IEEE 128-bit floating point.
810 (TCtype): Define as either TCmode or KCmode, depending on whether
811 long double is IEEE 128-bit floating point.
812 (__mulkc3_sw): Add declarations for software/hardware versions of
813 complex multiply/divide.
814 (__divkc3_sw): Likewise.
815 (__mulkc3_hw): Likewise.
816 (__divkc3_hw): Likewise.
817 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
818 handlers to switch between using software emulation and hardware
819 float128 instructions, build the complex multiply/divide functions
820 for both software and hardware support.
821 * config/rs6000/_divkc3.c (_divkc3): Likewise.
822 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
823 (__divkc3_resolve): Likewise.
824 (__mulkc3): Likewise.
825 (__divkc3): Likewise.
826 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
827 (fp128_hw_src): Likewise.
828 (fp128_hw_static_obj): Likewise.
829 (fp128_hw_shared_obj): Likewise.
830 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
831 _mulkc3.c and _divkc3.c, changing the function name.
832 (_divkc3-hw.c): Likewise.
833 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
836 2017-11-26 Julia Koval <julia.koval@intel.com>
838 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
839 * config/i386/cpuinfo.h (processor_subtypes): Add
840 INTEL_COREI7_CANNONLAKE.
842 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
845 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
847 * config/xtensa/unwind-dw2-xtensa.c: Likewise
848 * config/ia64/unwind-ia64.c: Add frames parameter.
849 * unwind-sjlj.c: Likewise.
851 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
853 * config/i386/linux-unwind.h: Include
854 config/i386/shadow-stack-unwind.h.
855 * config/i386/shadow-stack-unwind.h: New file.
856 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
857 pass it to _Unwind_Frames_Extra.
858 * unwind-generic.h (_Unwind_Frames_Extra): New.
859 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
860 parameter. Add local variable frames to count number of frames.
861 (_Unwind_ForcedUnwind_Phase2): Likewise.
862 (_Unwind_RaiseException): Add local variable frames to count
863 number of frames, pass it to _Unwind_RaiseException_Phase2 and
865 (_Unwind_ForcedUnwind): Likewise.
866 (_Unwind_Resume): Likewise.
867 (_Unwind_Resume_or_Rethrow): Likewise.
869 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
871 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
873 * config/i386/morestack.S: Include <cet.h>.
874 (__morestack_large_model): Add _CET_ENDBR at function entrance.
875 * config/i386/resms64.h: Include <cet.h>.
876 * config/i386/resms64f.h: Likewise.
877 * config/i386/resms64fx.h: Likewise.
878 * config/i386/resms64x.h: Likewise.
879 * config/i386/savms64.h: Likewise.
880 * config/i386/savms64f.h: Likewise.
881 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
882 (CRTSTUFF_T_CFLAGS): Likewise.
883 * configure.ac: Include ../config/cet.m4.
884 Set and substitute CET_FLAGS.
885 * configure: Regenerated.
887 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
889 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
891 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
892 * configure.ac (libgcc_cv_solaris_crts): Likewise.
893 * configure: Regenerate.
895 2017-11-07 Tom de Vries <tom@codesourcery.com>
897 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
898 after "do {} while (0)".
900 2017-11-07 Tom de Vries <tom@codesourcery.com>
903 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
904 semicolon after "do {} while (0)".
905 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
906 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
907 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
908 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
910 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
913 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
914 sysctl to determine whether we're in a trampoline.
915 Keep the pattern matching method for systems without
916 KERN_PROC_SIGTRAMP sysctl.
918 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
919 Vineet Gupta <vgupta@synopsys.com>
921 * config.host (arc*-*-linux*): Set md_unwind_header variable.
922 * config/arc/linux-unwind-reg.def: New file.
923 * config/arc/linux-unwind-reg.h: Likewise.
925 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
927 * config/rl78/subdi3.S: New assembly file.
928 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
930 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
932 * config/rl78/adddi3.S: New assembly file.
933 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
935 2017-10-13 Jakub Jelinek <jakub@redhat.com>
938 * libgcc2.c (__mulvDI3): If both operands have
939 the same highpart of -1 and the topmost bit of lowpart is 0,
940 multiplication overflows even if both lowparts are 0.
942 2017-09-28 James Bowman <james.bowman@ftdichip.com>
944 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
946 2017-09-26 Joseph Myers <joseph@codesourcery.com>
948 * config/microblaze/crti.S, config/microblaze/crtn.S,
949 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
950 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
951 config/microblaze/mulsi3.S,
952 config/microblaze/stack_overflow_exit.S,
953 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
954 config/pa/milli64.S: Add .note.GNU-stack section.
956 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
958 * configure.ac: Add Check for HAVE_AS_AVX.
959 * config.in: Regenerate.
960 * configure: Likewise.
961 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
962 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
963 Correct out-of-date comments.
965 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
967 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
968 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
970 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
972 * config/i386/i386-asm.h (PASTE2): New macro.
973 (ASMNAME): Modify to use PASTE2.
974 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
975 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
976 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
977 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
978 * config/i386/resms64f.S: Likewise.
979 * config/i386/resms64fx.S: Likewise.
980 * config/i386/resms64x.S: Likewise.
981 * config/i386/savms64.S: Likewise.
982 * config/i386/savms64f.S: Likewise.
983 * config/i386/avx_resms64.S: New file that only defines a macro and
984 includes it's corresponding header file.
985 * config/i386/avx_resms64f.S: Likewise.
986 * config/i386/avx_resms64fx.S: Likewise.
987 * config/i386/avx_resms64x.S: Likewise.
988 * config/i386/avx_savms64.S: Likewise.
989 * config/i386/avx_savms64f.S: Likewise.
990 * config/i386/sse_resms64.S: Likewise.
991 * config/i386/sse_resms64f.S: Likewise.
992 * config/i386/sse_resms64fx.S: Likewise.
993 * config/i386/sse_resms64x.S: Likewise.
994 * config/i386/sse_savms64.S: Likewise.
995 * config/i386/sse_savms64f.S: Likewise.
996 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
998 2017-09-01 Olivier Hainque <hainque@adacore.com>
999 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1001 2017-08-31 Olivier Hainque <hainque@adacore.com>
1003 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1004 match as powerpc-wrs-vxworks*.
1006 2017-08-07 Jonathan Yong <10walls@gmail.com>
1008 * config.host (*-cygwin): Include file from mingw
1009 config/i386/enable-execute-stack-mingw32.c
1011 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1012 Doug Rupp <rupp@adacore.com>
1013 Olivier Hainque <hainque@adacore.com>
1015 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1016 as well as arm-wrs-vxworks.
1017 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1019 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1020 __exidx_start and __exidx_end for downloadable modules.
1022 2017-08-01 Olivier Hainque <hainque@adacore.com>
1024 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1025 * config/t-vxworks7: Likewise.
1027 2017-08-01 Olivier Hainque <hainque@adacore.com>
1029 * config/t-vxworks: Instead of redefining LIB2ADD,
1030 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1032 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1034 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1036 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1039 * config.host: include i386/t-msabi for darwin and solaris.
1040 * config/i386/i386-asm.h
1041 (ELFFN): Rename to FN_TYPE.
1042 (FN_SIZE): New macro.
1043 (FN_HIDDEN): Likewise.
1044 (ASMNAME): Likewise.
1045 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1047 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1048 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1049 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1051 * config/i386/resms64f.S: Likewise.
1052 * config/i386/resms64fx.S: Likewise.
1053 * config/i386/resms64x.S: Likewise.
1054 * config/i386/savms64.S: Likewise.
1055 * config/i386/savms64f.S: Likewise.
1057 2017-07-19 John Marino <gnugcc@marino.st>
1059 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1061 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1064 * configure.ac (PowerPC float128 hardware support): Test whether
1065 we can use __builtin_cpu_supports before enabling the ifunc
1067 * configure: Regenerate.
1069 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1071 * config.host: Remove uclibc from arc target spec.
1073 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1075 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1077 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1079 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1080 (have_ieee_hw_p): Delete function.
1081 (SW_OR_HW) Use __builtin_cpu_supports().
1083 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1085 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1087 2017-07-03 Olivier Hainque <hainque@adacore.com>
1089 * config/t-vxworks7: New file, really.
1091 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1093 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1094 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1095 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1096 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1097 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1098 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1099 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1100 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1101 config/sh/linux-unwind.h (sh_fallback_frame_state),
1102 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1103 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1104 ucontext_t instead of struct ucontext.
1106 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1108 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1109 (x86_64-wrs-vxworks7): Likewise.
1111 2017-06-27 Olivier Hainque <hainque@adacore.com>
1113 * config/t-vxworks7: New file.
1114 * config.host (*-*-vxworks7): Use it.
1116 2017-06-22 Matt Turner <mattst88@gmail.com>
1118 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1121 2017-06-21 Richard Biener <rguenther@suse.de>
1123 PR gcov-profile/81080
1124 * configure.ac: Add AC_SYS_LARGEFILE.
1125 * libgcov.h: Include auto-target.h before tsystem.h to pick
1126 up _FILE_OFFSET_BITS which might differ for multilibs.
1127 * config.in: Regenerate.
1128 * configure: Likewise.
1130 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1132 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1134 2017-06-09 Martin Liska <mliska@suse.cz>
1136 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1137 Reset __gcov_indirect_call_callee to NULL.
1139 2017-06-08 Olivier Hainque <hainque@adacore.com>
1141 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1142 the set of -I options, support for direct inclusions of net/uio.h
1143 by VxWorks header files via ioLib.h.
1145 2017-06-07 Tony Reix <tony.reix@atos.net>
1146 Matthieu Sarter <matthieu.sarter.external@atos.net>
1147 David Edelsohn <dje.gcc@gmail.com>
1149 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1151 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1154 2017-06-02 Olivier Hainque <hainque@adacore.com>
1156 * config/vxlib.c (__gthread_once): Add missing value to
1159 2017-05-30 Olivier Hainque <hainque@adacore.com>
1161 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1162 dollar sign before $(MULTIDIR).
1164 2017-05-26 Richard Henderson <rth@redhat.com>
1167 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1169 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1171 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1172 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1173 * config/arm/unwind-arm.c: Implement the above.
1175 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1177 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1178 section for a non-executable stack.
1180 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1183 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1185 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1187 * config.host: Add i386/t-msabi to i386/t-linux file list.
1188 * config/i386/i386-asm.h: New file.
1189 * config/i386/resms64.S: New file.
1190 * config/i386/resms64f.S: New file.
1191 * config/i386/resms64fx.S: New file.
1192 * config/i386/resms64x.S: New file.
1193 * config/i386/savms64.S: New file.
1194 * config/i386/savms64f.S: New file.
1195 * config/i386/t-msabi: New file.
1197 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1199 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1200 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1202 2017-05-05 Joshua Conner <joshconner@google.com>
1204 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1205 pc-relative indirect handling for fuchsia.
1206 * config/t-slibgcc-fuchsia: New file.
1207 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1208 x86_64-*-fuchsia*): Add definitions.
1210 2017-04-19 Martin Liska <mliska@suse.cz>
1212 PR gcov-profile/80435
1213 * Makefile.in: Install gcov.h.
1215 * libgcov.h: Use the header and make __gcov_flush publicly
1218 2017-04-18 Martin Liska <mliska@suse.cz>
1220 PR gcov-profile/78783
1221 * libgcov-driver.c (gcov_get_filename): New function.
1223 2017-04-07 Jeff Law <law@redhat.com>
1225 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1226 target makefile fragment.
1227 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1229 2017-04-07 Alan Modra <amodra@gmail.com>
1232 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1234 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1236 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1238 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1240 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1242 2017-03-10 John Marino <gnugcc@marino.st>
1244 * config/aarch64/freebsd-unwind.h: New file.
1245 * config.host: Add aarch64-*-freebsd unwinder.
1247 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1249 * config/rs6000/crtrestvr.s: Use .machine altivec.
1250 * config/rs6000/crtsavevr.s: Ditto.
1252 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1254 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1255 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1256 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1257 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1258 * configure: Regenerate.
1259 * config.in: Regenerate.
1261 2017-03-02 Jonathan Yong <10walls@gmail.com>
1263 * config/i386/gthr-win32.h: Define NOGDI before
1264 windows.h include to prevent w32api CC_NONE macro
1265 clash with libgfortran.
1267 2017-03-02 Jonathan Yong <10walls@gmail.com>
1269 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1271 2017-02-16 Andrew Pinski <apinski@cavium.com>
1273 * config/aarch64/value-unwind.h: New file.
1274 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1277 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1279 * config.host: Add RISC-V tuples.
1280 * config/riscv/atomic.c: New file.
1281 * config/riscv/crti.S: Likewise.
1282 * config/riscv/crtn.S: Likewise.
1283 * config/riscv/div.S: Likewise.
1284 * config/riscv/linux-unwind.h: Likewise.
1285 * config/riscv/muldi3.S: Likewise.
1286 * config/riscv/multi3.S: Likewise.
1287 * config/riscv/save-restore.S: Likewise.
1288 * config/riscv/sfp-machine.h: Likewise.
1289 * config/riscv/t-elf: Likewise.
1290 * config/riscv/t-elf32: Likewise.
1291 * config/riscv/t-elf64: Likewise.
1292 * config/riscv/t-softfp32: Likewise.
1293 * config/riscv/t-softfp64: Likewise.
1295 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1297 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1298 /* FALLTHRU */ comments.
1300 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1302 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1304 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1306 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1307 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1308 DW_CFA_GNU_window_save for AArch64 and LP64.
1310 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1312 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1314 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1316 * config/aarch64/aarch64-unwind.h: New file.
1317 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1318 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1319 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1320 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1321 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1322 (aarch64_post_extract_frame_addr): New function.
1323 (aarch64_post_frob_eh_handler_addr): New function.
1324 (aarch64_frob_update_context): New function.
1325 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1326 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1327 aarch64*-*-freebsd*):
1328 Initialize md_unwind_header to include aarch64-unwind.h.
1329 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1330 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1332 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1333 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1334 (uw_frob_return_addr): New function.
1335 (uw_install_context): Use uw_frob_return_addr.
1337 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1340 * configure.ac: Add GCC_BASE_VER.
1341 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1342 version from BASE-VER file.
1343 * configure: Regenerated.
1345 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1347 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1348 libmul_f5.a): Filter archived prerequisites.
1350 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1352 * config/i386/cpuinfo.h (processor_features): Add
1353 FEATURE_AVX512VPOPCNTDQ.
1354 * config/i386/cpuinfo.c (get_available_features): Habdle new
1357 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1359 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1360 payload if [__mips_nan2008].
1362 2017-01-04 Alan Modra <amodra@gmail.com>
1364 * Makefile.in (configure_deps): Update.
1365 * configure: Regenerate.
1367 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1369 Update copyright years.
1371 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1373 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1374 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1375 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1377 2016-12-17 Matthias Klose <doko@ubuntu.com>
1379 * config/arc/gmon: Remove empty directory.
1381 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1383 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1385 (arc*-*-elf*): Likewise.
1386 * config/arc/t-arc: Remove old gmon lib targets.
1387 * config/arc/crtg.S: Remove.
1388 * config/arc/crtgend.S: Likewise.
1389 * config/arc/gmon/atomic.h: Likewise.
1390 * config/arc/gmon/auxreg.h: Likewise.
1391 * config/arc/gmon/dcache_linesz.S: Likewise.
1392 * config/arc/gmon/gmon.c: Likewise.
1393 * config/arc/gmon/machine-gmon.h: Likewise.
1394 * config/arc/gmon/mcount.c: Likewise.
1395 * config/arc/gmon/prof-freq-stub.S: Likewise.
1396 * config/arc/gmon/prof-freq.c: Likewise.
1397 * config/arc/gmon/profil.S: Likewise.
1398 * config/arc/gmon/sys/gmon.h: Likewise.
1399 * config/arc/gmon/sys/gmon_out.h: Likewise.
1400 * config/arc/t-arc-newlib: Likewise.
1401 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1403 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1405 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1407 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1409 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1410 R16 instead of push + pop.
1411 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1413 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1415 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1418 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1420 * config.host (arc*-*-linux-uclibc*): Use default extra
1421 objects. Include linux-android header.
1422 * config/arc/crti.S (_init): Declare symbol as function.
1425 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1428 * config/i386/cpuinfo.c: Move denums for processor vendors,
1429 processor type, processor subtypes and declaration of
1430 struct __processor_model into
1431 * config/i386/cpuinfo.h: New header file.
1433 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1434 Thomas Preud'homme <thomas.preudhomme@arm.com>
1436 * config/arm/cmse_nonsecure_call.S: New.
1437 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1439 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1440 Thomas Preud'homme <thomas.preudhomme@arm.com>
1442 * config/arm/t-arm (HAVE_CMSE): New.
1443 * config/arm/cmse.c: New.
1445 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1448 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1449 use generic linker version information on Blackfin.
1452 * libgcc/mkmap-symver.awk: add support for skip_underscore
1454 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1455 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1458 * config/t-darwin: Default builds to 10.5 codegen.
1460 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1462 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1463 (_FP_NANSIGN_H): Likewise.
1464 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1465 (softfp_truncations): Add tfhf.
1466 (softfp_extras): Add required conversion functions.
1468 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1469 Matthew Wahab <matthew.wahab@arm.com>
1471 * config/arm/fp16.c (binary64): New.
1472 (__gnu_d2h_internal): New.
1473 (__gnu_d2h_ieee): New.
1474 (__gnu_d2h_alternative): New.
1476 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1477 Matthew Wahab <matthew.wahab@arm.com>
1479 * config/arm/fp16.c (struct format): New.
1481 (__gnu_float2h_internal): New. Body moved from
1482 __gnu_f2h_internal and generalize.
1483 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1484 Call it with binary32.
1486 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1488 * soft-fp/extendhftf2.c: Update from glibc.
1489 * soft-fp/fixhfti.c: Likewise.
1490 * soft-fp/fixunshfti.c: Likewise.
1491 * soft-fp/floattihf.c: Likewise.
1492 * soft-fp/floatuntihf.c: Likewise.
1493 * soft-fp/half.h: Likewise.
1494 * soft-fp/trunctfhf2.c: Likewise.
1496 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1499 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1500 __TMC_END__ behind a passthrough asm.
1502 2016-11-18 Walter Lee <walt@tilera.com>
1504 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1506 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1508 * config/i386/cpuinfo.c (processor_features): Add
1509 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1511 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1513 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1514 (__ARC_NORM__): Use instead ARC_OPTFPE.
1515 * config/arc/fp-hack.h: Likewise.
1516 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1517 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1519 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1521 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1522 * config/nvptx/mgomp.c: New file.
1523 * config/nvptx/t-nvptx: Add mgomp.c
1525 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1528 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1530 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1532 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1533 of checking for cpus.
1534 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1535 (__modsi3, __clzsi2): Likewise.
1537 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1539 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1540 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1541 * config/i386/t-cpuinfo-static: New.
1543 2016-11-03 Martin Liska <mliska@suse.cz>
1545 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1546 (__gcov_time_profiler_atomic): Likewise.
1548 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1551 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1552 count_leading_zeros.
1554 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1556 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1557 * libgcc2.c (__divmoddi4): New function.
1558 * libgcc2.h (__divmoddi4): Declare.
1559 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1560 and __PFX_divmodti4.
1562 2016-10-24 Florian Weimer <fweimer@redhat.com>
1565 * unwind-c.c: Include auto-target.h.
1567 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1569 * config/pa/pa64-hpux-lib.h: New file.
1570 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1571 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1572 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1575 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1577 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1579 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1581 * config/xtensa/t-windowed (LIB2ADDEH): Use
1582 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1585 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1587 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1588 __ieee754_sqrt): New functions.
1589 (__divdf3): Add implementation with new FPU instructions under
1590 #if XCHAL_HAVE_DFP_DIV.
1591 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1592 __ieee754_sqrtf): New functions.
1593 (__divsf3): Add implementation with new FPU instructions under
1594 #if XCHAL_HAVE_FP_DIV.
1595 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1596 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1598 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1600 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1602 * config/tilepro/atomic.c: Likewise and stop casting model to
1605 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1608 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1611 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1613 * config.host: Add support for aarch64-*-freebsd*.
1615 2016-10-05 Andreas Schwab <schwab@suse.de>
1617 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1618 (.section .init_array): Don't call __do_jv_register_classes.
1619 (.section .init): Likewise.
1621 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1623 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1624 (__JCR_LIST__): Remove.
1625 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1626 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1627 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1628 * config/ia64/crtend.S (__JCR_END__): Remove.
1629 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1631 (__JCR_LIST__, __JCR_END__): Remove.
1632 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1633 (__do_global_ctors_1): Likewise.
1635 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1637 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1638 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1640 2016-09-27 Martin Liska <mliska@suse.cz>
1642 PR gcov-profile/7970
1643 PR gcov-profile/16855
1644 PR gcov-profile/44779
1645 * libgcov-driver.c (__gcov_init): Do not register a atexit
1647 (__gcov_exit): Rename from gcov_exit.
1648 * libgcov.h (__gcov_exit): Declare.
1650 2016-09-27 Martin Liska <mliska@suse.cz>
1653 * Makefile.in: Remove _gcov_merge_delta.
1654 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1655 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1656 * libgcov.h: Remove declaration of __gcov_merge_delta.
1658 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1660 * configure.ac: Do not create links, only substitute the filenames.
1661 * configure: Regenerate.
1662 * Makefile.in: Assign the substitution results to variables.
1663 (LIBGCC_LINKS): Define.
1664 (enable-execute-stack.c): New rule.
1665 (unwind.h): Likewise.
1666 (md-unwind-support.h): Likewise.
1667 (sfp-machine.h): Likewise.
1668 (gthr-default.h): Likewise.
1669 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1670 unwind.h as prerequisite of install-unwind_h-forbuild.
1672 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1675 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1676 is not the primary registry and atomics are available.
1677 (any_objects_registered): New variable.
1678 (__register_frame_info_bases, __register_frame_info_table_bases):
1679 Atomically store 1 to any_objects_registered after registering first
1681 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1683 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1686 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1687 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1690 (__divhc3): Likewise.
1691 (__mulhc3): Likewise.
1692 * libgcc2.c: Support _mulhc3 and _divhc3.
1694 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1697 * libgcc2.c (NOTRUNC): Invert settings.
1699 2016-09-06 Martin Liska <mliska@suse.cz>
1701 PR gcov-profile/77378
1702 PR gcov-profile/77466
1703 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1704 conditionaly enable/disable *_atomic functions.
1706 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1708 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1709 where not already enabled.
1711 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1713 * config/mips/linux-unwind.h: Use sys/syscall.h.
1715 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1718 * soft-fp/adddf3.c: Update from glibc.
1719 * soft-fp/addsf3.c: Likewise.
1720 * soft-fp/addtf3.c: Likewise.
1721 * soft-fp/divdf3.c: Likewise.
1722 * soft-fp/divsf3.c: Likewise.
1723 * soft-fp/divtf3.c: Likewise.
1724 * soft-fp/double.h: Likewise.
1725 * soft-fp/eqdf2.c: Likewise.
1726 * soft-fp/eqsf2.c: Likewise.
1727 * soft-fp/eqtf2.c: Likewise.
1728 * soft-fp/extenddftf2.c: Likewise.
1729 * soft-fp/extended.h: Likewise.
1730 * soft-fp/extendsfdf2.c: Likewise.
1731 * soft-fp/extendsftf2.c: Likewise.
1732 * soft-fp/extendxftf2.c: Likewise.
1733 * soft-fp/fixdfdi.c: Likewise.
1734 * soft-fp/fixdfsi.c: Likewise.
1735 * soft-fp/fixdfti.c: Likewise.
1736 * soft-fp/fixsfdi.c: Likewise.
1737 * soft-fp/fixsfsi.c: Likewise.
1738 * soft-fp/fixsfti.c: Likewise.
1739 * soft-fp/fixtfdi.c: Likewise.
1740 * soft-fp/fixtfsi.c: Likewise.
1741 * soft-fp/fixtfti.c: Likewise.
1742 * soft-fp/fixunsdfdi.c: Likewise.
1743 * soft-fp/fixunsdfsi.c: Likewise.
1744 * soft-fp/fixunsdfti.c: Likewise.
1745 * soft-fp/fixunssfdi.c: Likewise.
1746 * soft-fp/fixunssfsi.c: Likewise.
1747 * soft-fp/fixunssfti.c: Likewise.
1748 * soft-fp/fixunstfdi.c: Likewise.
1749 * soft-fp/fixunstfsi.c: Likewise.
1750 * soft-fp/fixunstfti.c: Likewise.
1751 * soft-fp/floatdidf.c: Likewise.
1752 * soft-fp/floatdisf.c: Likewise.
1753 * soft-fp/floatditf.c: Likewise.
1754 * soft-fp/floatsidf.c: Likewise.
1755 * soft-fp/floatsisf.c: Likewise.
1756 * soft-fp/floatsitf.c: Likewise.
1757 * soft-fp/floattidf.c: Likewise.
1758 * soft-fp/floattisf.c: Likewise.
1759 * soft-fp/floattitf.c: Likewise.
1760 * soft-fp/floatundidf.c: Likewise.
1761 * soft-fp/floatundisf.c: Likewise.
1762 * soft-fp/floatunditf.c: Likewise.
1763 * soft-fp/floatunsidf.c: Likewise.
1764 * soft-fp/floatunsisf.c: Likewise.
1765 * soft-fp/floatunsitf.c: Likewise.
1766 * soft-fp/floatuntidf.c: Likewise.
1767 * soft-fp/floatuntisf.c: Likewise.
1768 * soft-fp/floatuntitf.c: Likewise.
1769 * soft-fp/gedf2.c: Likewise.
1770 * soft-fp/gesf2.c: Likewise.
1771 * soft-fp/getf2.c: Likewise.
1772 * soft-fp/ledf2.c: Likewise.
1773 * soft-fp/lesf2.c: Likewise.
1774 * soft-fp/letf2.c: Likewise.
1775 * soft-fp/muldf3.c: Likewise.
1776 * soft-fp/mulsf3.c: Likewise.
1777 * soft-fp/multf3.c: Likewise.
1778 * soft-fp/negdf2.c: Likewise.
1779 * soft-fp/negsf2.c: Likewise.
1780 * soft-fp/negtf2.c: Likewise.
1781 * soft-fp/op-1.h: Likewise.
1782 * soft-fp/op-2.h: Likewise.
1783 * soft-fp/op-4.h: Likewise.
1784 * soft-fp/op-8.h: Likewise.
1785 * soft-fp/op-common.h: Likewise.
1786 * soft-fp/quad.h: Likewise.
1787 * soft-fp/single.h: Likewise.
1788 * soft-fp/soft-fp.h: Likewise.
1789 * soft-fp/subdf3.c: Likewise.
1790 * soft-fp/subsf3.c: Likewise.
1791 * soft-fp/subtf3.c: Likewise.
1792 * soft-fp/truncdfsf2.c: Likewise.
1793 * soft-fp/trunctfdf2.c: Likewise.
1794 * soft-fp/trunctfsf2.c: Likewise.
1795 * soft-fp/trunctfxf2.c: Likewise.
1796 * soft-fp/unorddf2.c: Likewise.
1797 * soft-fp/unordsf2.c: Likewise.
1798 * soft-fp/unordtf2.c: Likewise.
1800 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1802 PR gcov-profile/67097
1803 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1805 2016-08-10 Martin Liska <mliska@suse.cz>
1807 PR gcov-profile/58306
1808 * Makefile.in: New functions (modules) are added.
1809 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1811 (__gcov_pow2_profiler_atomic): New function.
1812 (__gcov_one_value_profiler_body): New argument is instroduced.
1813 (__gcov_one_value_profiler): Call with the new argument.
1814 (__gcov_one_value_profiler_atomic): Likewise.
1815 (__gcov_indirect_call_profiler_v2): Likewise.
1816 (__gcov_time_profiler_atomic): New function.
1817 (__gcov_average_profiler_atomic): Likewise.
1818 (__gcov_ior_profiler_atomic): Likewise.
1819 * libgcov.h: Declare the aforementioned functions.
1821 2016-08-09 Martin Liska <mliska@suse.cz>
1823 * libgcov-util.c: Fix typo and GNU coding style.
1825 2016-08-09 Martin Liska <mliska@suse.cz>
1827 * Makefile.in: Remove __gcov_indirect_call_profiler.
1828 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1830 * libgcov.h: And the declaration of the function.
1832 2016-08-09 Martin Liska <mliska@suse.cz>
1834 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1837 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1839 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1840 * config/rs6000/_mulkc3.c: Likewise.
1842 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1844 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1845 zero_reg as previous call to __umulhisi3 already cleared it.
1847 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1850 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1852 2016-07-19 Nick Clifton <nickc@redhat.com>
1854 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1855 Add crtinit.o and crtfini.o to extra_parts.
1857 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1859 * config/rs6000/_divkc3.c: New.
1860 * config/rs6000/_mulkc3.c: New.
1861 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1863 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1866 2016-07-11 Hale Wang <hale.wang@arm.com>
1867 Andre Vieira <andre.simoesdiasvieira@arm.com>
1869 * config/arm/lib1funcs.S: Add new wrapper.
1871 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1873 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1875 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1877 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1878 and ARMv5t* rather than for a fixed list of architectures.
1880 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1882 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1883 implementation suitable for.
1884 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1885 for all Thumb-1 only targets.
1886 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1887 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1890 (ARM_FUNC_ALIAS): Likewise.
1891 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1894 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1897 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1898 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1899 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1900 __ARM_ARCH_6M__ and add comment to indicate the connection between
1901 this condition and the one in gcc/config/arm/elf.h.
1902 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1903 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1904 * config/arm/t-softfp: Likewise.
1906 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1908 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1909 CTOR_LISTS_DEFINED_EXTERNALLY.
1911 2016-06-28 Walter Lee <walt@tilera.com>
1913 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1915 (SPR_CMPEXCH_VALUE): Define for tilegx.
1916 (__NR_FAST_cmpxchg): Define for tilepro.
1917 (__NR_FAST_atomic_update): Define for tilepro.
1918 (__NR_FAST_cmpxchg64): Define for tilepro.
1920 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1922 * config.host: Add suport for arm*-*-phoenix* targets.
1924 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1926 * config.host: Remove support for mep-*.
1927 * config/mep/lib1funcs.S: Remove.
1928 * config/mep/lib2funcs.c: Remove.
1929 * config/mep/t-mep: Remove.
1930 * config/mep/tramp.c: Remove.
1932 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1934 * config.host: Remove support for avr-rtems.
1935 * config/avr/t-rtems: Remove.
1937 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1939 * config.host: Remove m32r-rtems support.
1941 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1943 * config.host: Remove h8300-rtems support.
1945 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1947 * config.host: Remove support for knetbsd.
1949 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1951 * config.host: Remove support for openbsd 2 and 3.
1953 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1955 * config.host: Remove interix support.
1956 * config/i386/t-interix: Remove.
1958 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
1960 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1961 least-significant bit in function pointer for fixup.
1963 2016-06-05 Aaron Conole <aconole@redhat.com>
1964 Nathan Sidwell <nathan@acm.org>
1967 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1968 (get_gcov_error_file): Check __gcov_error_file before trying to
1970 (gcov_error): Always use get_gcov_error_file.
1972 2016-06-02 Aaron Conole <aconole@redhat.com>
1974 * libgcov-driver-system.c (__gcov_error_file): New.
1975 (get_gcov_error_file): New.
1976 (gcov_error): Use and set __gcov_error_file.
1977 (gcov_error_exit): New.
1978 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1980 2016-05-26 Nathan Sidwell <nathan@acm.org>
1982 * config/nvptx/free.asm: Delete.
1983 * config/nvptx/malloc.asm: Delete.
1984 * config/nvptx/realloc.c: Delete.
1987 2016-05-25 Nathan Sidwell <nathan@acm.org>
1989 * config/nvptx/crt0.s: Delete.
1990 * config/nvptx/crt0.c: New.
1993 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1995 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1996 dw2/seh configuration.
1997 [x86_64-*-mingw*]: Likewise.
1999 2016-05-10 Joel Sherrill <joel@rtems.org>
2002 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2003 targets so the same extra_parts are built. Also have tmake_file add
2004 on to its value rather than override.
2006 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2008 * config.host: Remove SH5 support.
2009 * configure: Likewise.
2011 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2013 * config/sh/crt1.S: Remove SH5 support.
2014 * config/sh/crti.S: Likewise.
2015 * config/sh/crtn.S: Likewise.
2016 * config/sh/lib1funcs-4-300.S: Likewise.
2017 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2018 * config/sh/lib1funcs.S: Likewise.
2019 * config/sh/linux-unwind.h: Likewise.
2020 * config/sh/t-sh64: Delete.
2022 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2024 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2026 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2027 Joern Rennecke <joern.rennecke@embecosm.com>
2029 * config/arc/crttls.S: New file.
2030 * config/arc/t-arc: New rule.
2031 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2033 2016-04-25 Nick Clifton <nickc@redhat.com>
2035 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2036 (__mspabi_cmpd): Likewise.
2037 * config/msp430/floathidf.c (__floathidf): Likewise.
2038 * config/msp430/floathisf.c (__floathisf): Likewise
2039 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2040 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2041 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2043 (__ashrsi3): Likewise.
2045 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2047 * config/m68k/linux-atomic.c: Do not include unistd.h
2049 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2051 * config/arm/ieee754-df.S: Fix typos in comments.
2053 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2056 * configure.ac (powerpc*-*-linux*): Rework tests to build
2057 __float128 emulation routines to not depend on using #pragma GCC
2058 target to enable -mfloat128.
2059 * configure: Regnerate.
2061 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2064 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2065 __MINGW32__ is defined.
2067 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2069 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2071 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2074 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2075 built with an assembler that does not support ISA 3.0
2076 instructions, rename __extendkftf2_sw to __extendkftf2.
2078 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2081 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2082 call-clobbered registers.
2083 (internal_mcount): Remove __i386__ handling.
2085 2016-02-26 Joel Sherrill <joel@rtems.org>
2087 * config.host: Add x86_64-*-rtems*.
2089 2016-02-26 Joel Sherrill <joel@rtems.org>
2091 * libgcc/config.host: Add aarch64-*-rtems*.
2093 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2094 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2096 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2097 union of u64 and double.
2098 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2099 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2101 (FP_ROUNDMODE): Update the usage of _fpscr.
2103 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2106 * Makefile.in (crtoffloadtable$(objext)): New rule.
2107 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2108 enable_offload_targets is not empty.
2109 * configure: Regenerate.
2110 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2113 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2115 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2116 .literal_position before the function.
2117 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2120 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2122 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2123 * config/s390/morestack.S: New file.
2124 * config/s390/t-stack-s390: New file.
2125 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2127 2016-02-12 Walter Lee <walt@tilera.com>
2129 * config.host (tilegx*-*-linux*): remove ti from
2130 softfp_int_modes for 32-bit configs.
2132 2016-02-10 Ian Lance Taylor <iant@google.com>
2135 * config/i386/morestack.S (__stack_split_initialize): Align
2138 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2141 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2142 __FLOAT128__ to compile only for __float128 capable targets.
2144 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2147 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2148 instead of ___NO_FPRS__.
2150 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2151 Steven Munroe <munroesj@linux.vnet.ibm.com>
2152 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2154 * config/rs6000/float128-sed: New files to convert TF names to KF
2155 names for PowerPC IEEE 128-bit floating point support.
2156 * config/rs6000/float128-sed-hw: Likewise.
2158 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2159 floating point hardware support.
2161 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2162 128-bit floating point software emulation or use ISA 3.0 hardware
2163 support if it is available.
2165 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2168 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2169 floating point to IBM extended double.
2171 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2172 double to IEEE 128-bit floating point.
2174 * config/rs6000/t-float128: New Makefile fragments to enable
2175 building __float128 emulation support.
2176 * config/rs6000/t-float128-hw: Likewise.
2178 * config/rs6000/sfp-exceptions.c: New file to provide exception
2179 support for IEEE 128-bit floating point.
2181 * config/rs6000/floattikf.c: New files for converting between IEEE
2182 128-bit floating point and signed/unsigned 128-bit integers.
2183 * config/rs6000/fixunskfti.c: Likewise.
2184 * config/rs6000/fixkfti.c: Likewise.
2185 * config/rs6000/floatuntikf.c: Likewise.
2187 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2188 when building on 64-bit systems, or when VSX is enabled.
2189 (_FP_W_TYPE): Likewise.
2190 (_FP_WS_TYPE): Likewise.
2191 (_FP_I_TYPE): Likewise.
2192 (TItype): Define on 64-bit systems.
2193 (UTItype): Likewise.
2194 (TI_BITS): Likewise.
2195 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2196 (_FP_MUL_MEAT_Q): Likewise.
2197 (_FP_DIV_MEAT_D): Likewise.
2198 (_FP_DIV_MEAT_Q): Likewise.
2199 (_FP_NANFRAC_D): Likewise.
2200 (_FP_NANFRAC_Q): Likewise.
2201 (ISA_BIT): Add exception support if we are being compiled on a
2202 machine with hardware floating point support to build the IEEE
2203 128-bit emulation functions.
2204 (FP_EX_INVALID): Likewise.
2205 (FP_EX_OVERFLOW): Likewise.
2206 (FP_EX_UNDERFLOW): Likewise.
2207 (FP_EX_DIVZERO): Likewise.
2208 (FP_EX_INEXACT): Likewise.
2209 (FP_EX_ALL): Likewise.
2210 (__sfp_handle_exceptions): Likewise.
2211 (FP_HANDLE_EXCEPTIONS): Likewise.
2212 (FP_RND_NEAREST): Likewise.
2213 (FP_RND_ZERO): Likewise.
2214 (FP_RND_PINF): Likewise.
2215 (FP_RND_MINF): Likewise.
2216 (FP_RND_MASK): Likewise.
2217 (_FP_DECL_EX): Likewise.
2218 (FP_INIT_ROUNDMODE): Likewise.
2219 (FP_ROUNDMODE): Likewise.
2221 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2222 VSX code, enable IEEE 128-bit floating point. If the compiler can
2223 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2224 floating point hardware instructions and it supports declaring
2225 functions with the ifunc attribute, enable ifunc functions to
2226 switch between software and hardware support.
2227 * configure.ac (powerpc*-*-linux*): Likewise.
2228 * configure: Regenerate.
2230 2016-01-15 Nick Clifton <nickc@redhat.com>
2232 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2233 dependency as the source file to be compiled.
2234 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2235 (lib2hw_mul_f5.o): Likewise.
2237 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2239 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2240 * libgcc/config/rs6000/fixkfti.c: Likewise.
2241 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2242 * libgcc/config/rs6000/float128-hw.c: Likewise.
2243 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2244 * libgcc/config/rs6000/float128-sed: Likewise.
2245 * libgcc/config/rs6000/floattikf.c: Likewise.
2246 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2247 * libgcc/config/rs6000/quad-float128.h: Likewise.
2248 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2249 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2250 * libgcc/config/rs6000/t-float128: Likewise.
2251 * libgcc/config/rs6000/t-float128-hw: Likewise.
2252 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2253 * libgcc/config.host: Likewise.
2254 * libgcc/configure: Likewise.
2255 * libgcc/configure.ac: Likewise.
2257 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2258 Steven Munroe <munroesj@linux.vnet.ibm.com>
2259 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2261 * config/rs6000/sfp-exceptions.c: New file to provide exception
2262 support for IEEE 128-bit floating point.
2264 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2265 floating point hardware support.
2267 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2269 * config/rs6000/fixunskfti.c: Likewise.
2270 * config/rs6000/fixkfti.c: Likewise.
2271 * config/rs6000/floatuntikf.c: Likewise.
2272 * config/rs6000/extendkftf2-sw.c: Likewise.
2273 * config/rs6000/trunctfkf2-sw.c: Likewise.
2275 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2276 128-bit floating point software emulation or use ISA 3.0 hardware
2277 support if it is available.
2279 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2282 * config/rs6000/t-float128: New Makefile fragments to enable
2283 building __float128 emulation support.
2284 * config/rs6000/t-float128-hw: Likewise.
2286 * config/rs6000/float128-sed: New file to convert TF names to KF
2287 names for PowerPC IEEE 128-bit floating point support.
2289 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2290 when building on 64-bit systems, or when VSX is enabled.
2291 (_FP_W_TYPE): Likewise.
2292 (_FP_WS_TYPE): Likewise.
2293 (_FP_I_TYPE): Likewise.
2294 (TItype): Define on 64-bit systems.
2295 (UTItype): Likewise.
2296 (TI_BITS): Likewise.
2297 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2298 (_FP_MUL_MEAT_Q): Likewise.
2299 (_FP_DIV_MEAT_D): Likewise.
2300 (_FP_DIV_MEAT_Q): Likewise.
2301 (_FP_NANFRAC_D): Likewise.
2302 (_FP_NANFRAC_Q): Likewise.
2303 (ISA_BIT): Add exception support if we are being compiled on a
2304 machine with hardware floating point support to build the IEEE
2305 128-bit emulation functions.
2306 (FP_EX_INVALID): Likewise.
2307 (FP_EX_OVERFLOW): Likewise.
2308 (FP_EX_UNDERFLOW): Likewise.
2309 (FP_EX_DIVZERO): Likewise.
2310 (FP_EX_INEXACT): Likewise.
2311 (FP_EX_ALL): Likewise.
2312 (__sfp_handle_exceptions): Likewise.
2313 (FP_HANDLE_EXCEPTIONS): Likewise.
2314 (FP_RND_NEAREST): Likewise.
2315 (FP_RND_ZERO): Likewise.
2316 (FP_RND_PINF): Likewise.
2317 (FP_RND_MINF): Likewise.
2318 (FP_RND_MASK): Likewise.
2319 (_FP_DECL_EX): Likewise.
2320 (FP_INIT_ROUNDMODE): Likewise.
2321 (FP_ROUNDMODE): Likewise.
2323 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2324 compiler can do __float128.
2325 * configure: Regenerate.
2327 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2328 VSX code, enable IEEE 128-bit floating point.
2330 2016-01-05 Olivier Hainque <hainque@adacore.com>
2332 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2335 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2337 Update copyright years.
2339 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2341 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2344 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2346 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2347 instead of abort to avoid dependency on stdlib.h.
2349 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2351 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2352 to initialize call to __dl_fixup once.
2354 2015-12-04 Nick Clifton <nickc@redhat.com>
2356 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2357 Allow for the second argument being negative.
2358 * config.host (extra_parts): Define for MSP430. Create separate
2359 libraries for each of the hardware multiply formats.
2360 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2362 * config/msp430/lib2mul.c: Likewise.
2363 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2364 Add rules to build hardware multiply libraries.
2365 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2366 __mspabi_divul function.
2367 (__mspabi_divllu): New stub function.
2369 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2371 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2372 fixup values if saved GOT address doesn't match runtime address.
2373 (fixup_branch_offset): Reorder list.
2375 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2377 * Makefile.in (VTV_CFLAGS): New variable.
2378 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2379 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2380 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2381 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2382 to extra_parts if $enable_vtable_verify = yes.
2384 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2387 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2388 (write): ...this and fix the return type.
2390 2015-11-19 DJ Delorie <dj@redhat.com>
2392 * config/msp430/lib2hw_mul.S: Fix alignment.
2394 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2396 * config/nvptx/reduction.c: New.
2397 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2399 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2401 * config/rs6000/on_exit.c: New file.
2402 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2403 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2405 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2407 * config/arc/dp-hack.h: Add support for ARCHS.
2408 * config/arc/ieee-754/divdf3.S: Likewise.
2409 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2410 * config/arc/ieee-754/muldf3.S: Likewise.
2411 * config/arc/ieee-754/mulsf3.S: Likewise
2412 * config/arc/lib1funcs.S: Likewise
2413 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2415 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2417 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2418 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2421 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2423 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2425 * config/ia64/crtend.S: Likewise.
2427 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2429 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2430 __CHAR_BIT__ instead of BITS_PER_UNIT.
2431 * fixed-bit.h: Likewise.
2432 * fp-bit.h: Likewise.
2433 * libgcc2.c (__popcountSI2): Likewise.
2434 (__popcountDI2): Likewise.
2435 * libgcc2.h: Likewise.
2436 * libgcov.h: Likewise.
2438 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2440 * config/rs6000/atexit.c: New file.
2441 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2442 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2443 * config/rs6000/cxa_finalize.c
2444 (catomic_compare_and_exchange_bool_acq): Negate return value.
2446 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2448 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2449 (processor_subtypes): Add znver1.
2450 (get_amd_cpu): Detect znver1.
2452 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2454 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2455 Include crtfastmath.o.
2457 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2460 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2462 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2464 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2465 * config/rl78/divmodsi.S: Update return register to r8.
2466 * config/rl78/divmodhi.S: Update return register to r8,r9.
2467 Branch to main_loop_done_himode to pop registers before return.
2469 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2471 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2472 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2474 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2476 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2478 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2480 * config.host (xtensa*-*-uclinux*): New configuration.
2482 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2484 * config/i386/cpuinfo.c (processor_features): Add
2485 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2487 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2489 * soft-fp/adddf3.c: Update from glibc.
2490 * soft-fp/addsf3.c: Likewise.
2491 * soft-fp/addtf3.c: Likewise.
2492 * soft-fp/divdf3.c: Likewise.
2493 * soft-fp/divsf3.c: Likewise.
2494 * soft-fp/divtf3.c: Likewise.
2495 * soft-fp/double.h: Likewise.
2496 * soft-fp/eqdf2.c: Likewise.
2497 * soft-fp/eqsf2.c: Likewise.
2498 * soft-fp/eqtf2.c: Likewise.
2499 * soft-fp/extenddftf2.c: Likewise.
2500 * soft-fp/extended.h: Likewise.
2501 * soft-fp/extendsfdf2.c: Likewise.
2502 * soft-fp/extendsftf2.c: Likewise.
2503 * soft-fp/extendxftf2.c: Likewise.
2504 * soft-fp/fixdfdi.c: Likewise.
2505 * soft-fp/fixdfsi.c: Likewise.
2506 * soft-fp/fixdfti.c: Likewise.
2507 * soft-fp/fixsfdi.c: Likewise.
2508 * soft-fp/fixsfsi.c: Likewise.
2509 * soft-fp/fixsfti.c: Likewise.
2510 * soft-fp/fixtfdi.c: Likewise.
2511 * soft-fp/fixtfsi.c: Likewise.
2512 * soft-fp/fixtfti.c: Likewise.
2513 * soft-fp/fixunsdfdi.c: Likewise.
2514 * soft-fp/fixunsdfsi.c: Likewise.
2515 * soft-fp/fixunsdfti.c: Likewise.
2516 * soft-fp/fixunssfdi.c: Likewise.
2517 * soft-fp/fixunssfsi.c: Likewise.
2518 * soft-fp/fixunssfti.c: Likewise.
2519 * soft-fp/fixunstfdi.c: Likewise.
2520 * soft-fp/fixunstfsi.c: Likewise.
2521 * soft-fp/fixunstfti.c: Likewise.
2522 * soft-fp/floatdidf.c: Likewise.
2523 * soft-fp/floatdisf.c: Likewise.
2524 * soft-fp/floatditf.c: Likewise.
2525 * soft-fp/floatsidf.c: Likewise.
2526 * soft-fp/floatsisf.c: Likewise.
2527 * soft-fp/floatsitf.c: Likewise.
2528 * soft-fp/floattidf.c: Likewise.
2529 * soft-fp/floattisf.c: Likewise.
2530 * soft-fp/floattitf.c: Likewise.
2531 * soft-fp/floatundidf.c: Likewise.
2532 * soft-fp/floatundisf.c: Likewise.
2533 * soft-fp/floatunditf.c: Likewise.
2534 * soft-fp/floatunsidf.c: Likewise.
2535 * soft-fp/floatunsisf.c: Likewise.
2536 * soft-fp/floatunsitf.c: Likewise.
2537 * soft-fp/floatuntidf.c: Likewise.
2538 * soft-fp/floatuntisf.c: Likewise.
2539 * soft-fp/floatuntitf.c: Likewise.
2540 * soft-fp/gedf2.c: Likewise.
2541 * soft-fp/gesf2.c: Likewise.
2542 * soft-fp/getf2.c: Likewise.
2543 * soft-fp/ledf2.c: Likewise.
2544 * soft-fp/lesf2.c: Likewise.
2545 * soft-fp/letf2.c: Likewise.
2546 * soft-fp/muldf3.c: Likewise.
2547 * soft-fp/mulsf3.c: Likewise.
2548 * soft-fp/multf3.c: Likewise.
2549 * soft-fp/negdf2.c: Likewise.
2550 * soft-fp/negsf2.c: Likewise.
2551 * soft-fp/negtf2.c: Likewise.
2552 * soft-fp/op-1.h: Likewise.
2553 * soft-fp/op-2.h: Likewise.
2554 * soft-fp/op-4.h: Likewise.
2555 * soft-fp/op-8.h: Likewise.
2556 * soft-fp/op-common.h: Likewise.
2557 * soft-fp/quad.h: Likewise.
2558 * soft-fp/single.h: Likewise.
2559 * soft-fp/soft-fp.h: Likewise.
2560 * soft-fp/subdf3.c: Likewise.
2561 * soft-fp/subsf3.c: Likewise.
2562 * soft-fp/subtf3.c: Likewise.
2563 * soft-fp/truncdfsf2.c: Likewise.
2564 * soft-fp/trunctfdf2.c: Likewise.
2565 * soft-fp/trunctfsf2.c: Likewise.
2566 * soft-fp/trunctfxf2.c: Likewise.
2567 * soft-fp/unorddf2.c: Likewise.
2568 * soft-fp/unordsf2.c: Likewise.
2569 * soft-fp/unordtf2.c: Likewise.
2571 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2574 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2576 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2578 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2579 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2580 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2582 (internal_mcount): Likewise.
2583 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2584 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2586 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2588 * configure.ac (libgcc_cv_solaris_crts): New test.
2589 * configure: Regenerate.
2590 * config.in: Regenerate.
2591 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2592 * config/gmon-sol2.c: Rename to ...
2593 * config/sol2/gmon.c: ... this.
2594 Include auto-target.h.
2595 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2596 * config/t-sol2: Rename to ...
2597 * config/sol2/t-sol2: ... this.
2598 (gmon.o): Reflect renaming.
2599 (crtp.o, crtpg.o): New rules.
2600 * config.host (*-*-solaris2*): Reflect renaming.
2601 Use system CRTs if present.
2602 Remove default CRT case.
2604 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2606 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2607 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2609 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2610 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2611 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2612 (__sync_lock_test_and_set_##WIDTH): Likewise.
2613 (__sync_lock_release_##WIDTH): Likewise.
2614 (__sync_fetch_and_##OP##_4): Change result to match type of
2616 (__sync_##OP##_and_fetch_4): Likewise.
2617 (__sync_val_compare_and_swap_4): Likewise.
2618 (__sync_bool_compare_and_swap_4): likewise.
2619 (__sync_lock_test_and_set_4): Likewise.
2620 (__sync_lock_release_4): Likewise.
2621 (FETCH_AND_OP_2): Add long long variants.
2622 (OP_AND_FETCH_2): Likewise.
2623 (COMPARE_AND_SWAP_2 ): Likewise.
2624 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2625 (SYNC_LOCK_RELEASE_2): Likewise.
2626 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2628 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2630 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2631 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2632 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2633 (get_available_features): Habdle new features.
2635 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2637 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2638 memory layout. Deal correctly with BSS region larger than 32K.
2639 Handle a watchdog reset like a power-on reset. Clean up unused
2642 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2643 David Edelsohn <dje.gcc@gmail.com>
2645 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2646 * config/rs6000/crtdbase.S: New file.
2647 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2649 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2651 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2652 Add support for call0 ABI.
2654 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2656 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2658 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2660 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2661 (__GTHREAD_HAS_COND): Likewise.
2662 (__gthread_t): Likewise.
2663 (__gthread_cond_t): Likewise.
2664 (__gthread_time_t): Likewise.
2665 (__GTHREAD_MUTEX_INIT): Likewise.
2666 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2667 (__GTHREAD_COND_INIT): Likewise.
2668 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2669 (__GTHREAD_TIME_INIT): Likewise.
2670 (__gthread_create): Likewise.
2671 (__gthread_join): Likewise.
2672 (__gthread_detach): Likewise.
2673 (__gthread_equal): Likewise.
2674 (__gthread_self): Likewise.
2675 (__gthread_yield): Likewise.
2676 (__gthread_cond_broadcast): Likewise.
2677 (__gthread_cond_signal): Likewise.
2678 (__gthread_cond_wait): Likewise.
2679 (__gthread_cond_timedwait): Likewise.
2680 (__gthread_cond_wait_recursive): Likewise.
2681 (__gthread_cond_destroy): Likewise.
2682 (rtems_gxx_once): Delete.
2683 (rtems_gxx_key_create): Likewise.
2684 (rtems_gxx_key_delete): Likewise.
2685 (rtems_gxx_getspecific): Likewise.
2686 (rtems_gxx_setspecific): Likewise.
2687 (rtems_gxx_mutex_init): Likewise.
2688 (rtems_gxx_mutex_destroy): Likewise.
2689 (rtems_gxx_mutex_lock): Likewise.
2690 (rtems_gxx_mutex_trylock): Likewise.
2691 (rtems_gxx_mutex_unlock): Likewise.
2692 (rtems_gxx_recursive_mutex_init): Likewise.
2693 (rtems_gxx_recursive_mutex_lock): Likewise.
2694 (rtems_gxx_recursive_mutex_trylock): Likewise.
2695 (rtems_gxx_recursive_mutex_unlock): Likewise.
2696 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2697 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2698 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2699 (__gthread_once): Likewise.
2700 (__gthread_key_create): Likewise.
2701 (__gthread_key_delete): Likewise.
2702 (__gthread_getspecific): Likewise.
2703 (__gthread_setspecific): Likewise.
2704 (__gthread_key_t): Use <pthread.h> type.
2705 (__gthread_once_t): Likewise
2706 (__gthread_mutex_t): Use <sys/lock.h> type.
2707 (__gthread_recursive_mutex_t): Likewise
2708 (__gthread_mutex_lock): Use <sys/lock.h> function.
2709 (__gthread_mutex_trylock): Likewise.
2710 (__gthread_mutex_timedlock): Likewise.
2711 (__gthread_mutex_unlock): Likewise.
2712 (__gthread_mutex_destroy): Likewise.
2713 (__gthread_recursive_mutex_lock): Likewise.
2714 (__gthread_recursive_mutex_trylock): Likewise.
2715 (__gthread_recursive_mutex_timedlock): Likewise.
2716 (__gthread_recursive_mutex_unlock): Likewise.
2717 (__gthread_recursive_mutex_destroy): Likewise.
2719 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2721 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2722 context->sp instead of context->cfa.
2724 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2726 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2727 with unwind-dw2-fde-dip.
2729 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2731 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2732 CALL12 followed by series of ENTRY to spill windowed registers.
2733 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2734 instead of making linux spill syscall.
2736 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2738 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2739 (get_intel_cpu): Likewise.
2741 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2743 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2744 (get_intel_cpu): Add Knights Landing support.
2746 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2749 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2750 (get_available_features): Handle FEATURE_PCLMUL.
2752 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2754 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2757 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2760 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2761 (get_available_features): Handle FEATURE_AES.
2763 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2765 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2766 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2768 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2770 * offloadstuff.c: Constify host data.
2772 2015-07-17 Jan Beulich <jbeulich@suse.com>
2774 * config/t-softfp: Split up "else ifneq".
2776 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2777 Cesar Philippidis <cesar@codesourcery.com>
2778 Chung-Lin Tang <cltang@codesourcery.com>
2780 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2781 for __nios2_arch__ level.
2783 2015-07-13 John Marino <gnugcc@marino.st>
2785 * config/i386/t-dragonfly: New.
2787 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2789 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2790 better match light-weight syscall argument order.
2791 (__kernel_cmpxchg2): Likewise.
2794 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2796 * config.host: Support i[34567]86-*-elfiamcu target.
2797 * config/t-softfp-sfdftf: New file.
2798 * config/i386/32/t-iamcu: Likewise.
2799 * configure: Regenerated.
2801 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2804 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2806 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2808 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2810 2015-05-27 John Marino <gnugcc@marino.st>
2812 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2814 * config/i386/freebsd-unwind.h: New.
2816 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2818 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2819 i386/t-crtfm to tmake_file.
2820 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2821 (set_fast_math): Use set_fast_math_sse for SSE targets.
2822 * config/i386/t-crtfm: Remove.
2824 2015-05-21 Alan Modra <amodra@gmail.com>
2827 * config/rs6000/morestack.S: Remove ".abiversion 1".
2829 2015-05-20 Alan Modra <amodra@gmail.com>
2831 * config/rs6000/morestack.S: New.
2832 * config/rs6000/t-stack-rs6000: New.
2833 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2835 * generic-morestack.c: Don't build for powerpc 32-bit.
2837 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2839 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2840 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2842 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2844 * config.host: FT32 target added.
2845 * config/ft32/*: New files for FT32 target.
2847 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2849 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2851 * config/arm/ieee754-df.S: Add CFI directives.
2852 * config/arm/ieee754-sf.S: Add CFI directives.
2854 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2856 * configure.ac: Include config/sjlj.m4.
2857 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2858 * config.in: Regenerate.
2859 * configure: Likewise.
2860 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2862 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2864 * libgcov-util.c: Add space between string literal and macro name.
2866 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2867 Chris Jones <chrisj@nvidia.com>
2868 Joshua Conner <jconner@nvidia.com>
2870 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2871 (arm*-*-uclinux*): Likewise.
2872 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2873 * config/arm/crtfastmath.c: New file.
2875 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2877 * Makefile.in (real_host_noncanonical): New variable.
2878 (libsubdir): Use it.
2879 * configure.ac (real_host_noncanonical): Compute. Remove special
2880 case for intelmicemul.
2881 * configure: Regenerate.
2883 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2885 * config/frv/elf-lib.h: New file.
2886 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2887 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2890 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2892 * config/frv/frvbengin.c: Do not include defaults.h
2893 * config/frv/frvend.c: Ditto.
2895 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2897 * config.host: Add h8300-*-linux
2898 * config/h8300/t-linux: New file.
2899 * config/h8300/lib1funs.s: Change symbol prefix.
2900 * config/h8300/sfp-machine.h: 64bit double support.
2902 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2903 Szabolcs Nagy <szabolcs.nagy@arm.com>
2905 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2906 Linux if target provides dl_iterate_phdr.
2908 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2911 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2912 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2913 (__cpu_indicator_init@GCC_4.8.0): New.
2914 (__cpu_model@GCC_4.8.0): Likewise.
2915 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2918 2015-04-16 Nick Clifton <nickc@redhat.com>
2920 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2921 and __modhi3 functions.
2922 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2923 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2925 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2927 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2928 do-while loop as macro body to avoid warnings.
2930 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2931 Iain Sandoe <iain@codesourcery.com>
2934 * configure: Regenerate.
2936 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2937 Iain Sandoe <iain@codesourcery.com>
2940 * configure: Regenerate.
2942 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2944 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2946 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
2948 Implement call0 ABI for xtensa
2949 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2950 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2951 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2952 use ret in call0 ABI.
2953 * config/xtensa/t-windowed: New file.
2954 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2955 * libgcc/configure: Regenerated.
2956 * libgcc/configure.ac: Check if xtensa target is configured for
2957 windowed ABI and thus needs to use custom unwind code.
2959 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
2962 * gthr-single.h: Use __unused__ attribute instead of unused.
2963 * config/gthr-vxworks.h: Likewise.
2964 * config/i386/gthr-win32.h: Likewise.
2966 2015-02-27 Kai Tietz <ktietz@redhat.com>
2969 * config.in: Regenerated.
2970 * configure: Likewise.
2971 * configure.ac (AC_HEADER_STDC): Added explicit.
2972 (AC_CHECK_HEADERS): Check for default headers plus
2974 * libgcov-util.c (gcov_read_profile_dir): Disable use
2975 of ftw-function, if header is not found.
2976 (ftw_read_file): Likewise.
2978 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2981 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2984 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2986 * config/arm/bpabi.S (test_div_by_zero): Make label names
2987 consistent between thumb2 and arm mode cases. Separate the
2988 signed comparison on the high word of the numerator from the
2989 unsigned comparison on the low word.
2990 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2993 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2995 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2997 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2999 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3001 PR gcov-profile/61889
3002 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3004 2015-02-02 Nick Clifton <nickc@redhat.com>
3006 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3007 rounding up the fraction.
3009 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3011 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3012 oldval and newval to const void *. Fix typo.
3013 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3014 (FETCH_AND_OP_WORD): Likewise.
3015 (OP_AND_FETCH_WORD): Likewise.
3016 (COMPARE_AND_SWAP_2): Likewise.
3017 (__sync_val_compare_and_swap_4): Likewise.
3018 (__sync_lock_test_and_set_4): Likewise.
3019 (SYNC_LOCK_RELEASE_2): Likewise.
3020 Remove support for long long atomic operations.
3022 2015-01-27 Caroline Tice <cmtice@google.com>
3024 Committing VTV Cywin/Ming patch for Patrick Wollgast
3025 * Makefile.in: Move rules to build vtv_*.o out of the check
3026 for CUSTOM_CRTSTUFF.
3027 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3028 i[34567]86-*-mingw*)
3029 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3030 enable_vtable_verify.
3032 2015-01-27 Nick Clifton <nickc@redhat.com>
3034 * config/rl78/cmpsi2.S: Use function start and end macros.
3035 (__gcc_bcmp): New function.
3036 * config/rl78/lshrsi3.S: Use function start and end macros.
3037 * config/rl78/mulsi3.S: Add support for G10.
3038 (__mulqi3): New function for G10.
3039 * config/rl78/signbit.S: Use function start and end macros.
3040 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3042 (LIB2FUNCS_EXCLUDE): Define.
3043 (LIB2FUNCS_ST): Define.
3044 * config/rl78/trampoline.S: Use function start and end macros.
3045 * config/rl78/vregs.h (START_FUNC): New macro.
3046 (START_ANOTHER_FUNC): New macro.
3047 (END_FUNC): New macro.
3048 (END_ANOTHER_FUNC): New macro.
3049 * config/rl78/bit-count.S: New file. Contains assembler
3050 implementations of the bit counting functions: ___clzhi2,
3051 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3052 __paritysi2, __popcounthi2 and __popcountsi2.
3053 * config/rl78/fpbit-sf.S: New file. Contains assembler
3054 implementationas of the math functions: __negsf2, __cmpsf2,
3055 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3056 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3057 * config/rl78/fpmath-sf.S: New file. Contains assembler
3058 implementations of the math functions: __subsf3, __addsf3,
3059 __mulsf3 and __divsf3
3061 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3063 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3064 Add i386/elf-lib.h to tm_file.
3065 * config/i386/elf-lib.h: Fix comment.
3066 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3067 && __sun__ && __svr4__]: Remove workaround.
3069 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3071 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3073 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3075 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3077 * config/i386/cpuinfo.c (processor_subtypes): Add
3078 INTEL_COREI7_BROADWELL.
3079 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3082 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3084 * config/i386/elf-lib.h: New file.
3085 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3086 Wrap definition in #ifdef __i386__.
3087 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3088 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3089 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3090 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3093 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3095 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3096 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3098 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3100 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3101 Update rt_sigframe format and address for current Nios II
3104 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3106 * config.host (arm*-*-freebsd*): Add new configuration for
3108 * config/arm/freebsd-atomic.c: New file.
3109 * config/arm/t-freebsd: Likewise.
3110 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3111 'PC-relative indirect' OS's.
3113 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3115 * config.host: Add Visium support.
3116 * config/visium: New directory.
3118 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3120 Update copyright years.
3122 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3124 * config.host: Support mipsisa32r6 and mipsisa64r6.
3125 * config/mips/mips16.S: Do not build for R6.
3127 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3129 * config/sh/crt.h: New.
3130 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3132 * config/sh/crt1.S: Likewise.
3134 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3137 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3138 func_ptr *dtor_list temporary variable to avoid "array subscript
3139 is above array bounds" warnings.
3141 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3143 * Makefile.in (with_aix_soname): Define.
3144 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3145 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3146 * configure: Recreate.
3148 2014-12-05 Olivier Hainque <hainque@adacore.com>
3150 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3151 now provided by defaults.h.
3153 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3156 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3157 whether it's defined.
3159 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3161 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3162 * config/i386/cpuinfo.c (get_available_features): Detect it.
3164 2014-11-27 Tony Wang <tony.wang@arm.com>
3166 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3167 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3168 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3170 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3172 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3174 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3176 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3179 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3180 John David Anglin <danglin@gcc.gnu.org>
3182 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3183 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3184 (OP_AND_FETCH_2): Likewise.
3185 (COMPARE_AND_SWAP_2): Likewise.
3186 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3187 (SYNC_LOCK_RELEASE_2): Likewise.
3188 (SUBWORD_SYNC_OP): Remove.
3189 (SUBWORD_VAL_CAS): Likewise.
3190 (SUBWORD_BOOL_CAS): Likewise.
3191 (FETCH_AND_OP_WORD): Update.
3192 Consistently use signed types.
3194 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3195 Thomas Schwinge <thomas@codesourcery.com>
3196 Ilya Verbin <ilya.verbin@intel.com>
3197 Andrey Turetskiy <andrey.turetskiy@intel.com>
3199 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3200 (crtoffloadend$(objext)): Likewise.
3201 * configure: Regenerate.
3202 * configure.ac (accel_dir_suffix): Compute new variable.
3203 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3204 if enable_offload_targets is not empty.
3205 * offloadstuff.c: New file.
3207 2014-11-13 Nick Clifton <nickc@redhat.com>
3209 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3210 Use START_FUNC and END_FUNC macros to enable linker garbage
3212 * config/rl78/divmodqi.S: Likewise.
3213 * config/rl78/divmodsi.S: Likewise.
3214 * config/rl78/mulsi3.S: Likewise.
3215 * config/rl78/lib2div.c: Remove G10 functions.
3216 * config/rl78/lib2muls.c: Likewise.
3217 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3218 * config/rl78/vregs.h (START_FUNC): New macro.
3219 (END_FUNC): New macro.
3221 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3223 * config/mips/mips16.S: Set .module when supported. Update O32
3224 FP64 calling convention and use for FPXX when possible. Add FPXX
3225 calling convention fallback case.
3227 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3229 * config.host: Handle nvptx-*-*.
3230 * shared-object.mk (as-flags-$o): Define.
3231 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3232 -xassembler-with-cpp.
3233 * static-object.mk: Identical changes.
3234 * config/nvptx/t-nvptx: New file.
3235 * config/nvptx/crt0.s: New file.
3236 * config/nvptx/free.asm: New file.
3237 * config/nvptx/malloc.asm: New file.
3238 * config/nvptx/realloc.c: New file.
3240 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3242 * Makefile.in (libgcc.map.in): New target.
3243 (libgcc.map): Use libgcc.map.in.
3244 * config/t-softfp (softfp_compat): New variable to be set by
3246 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3248 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3250 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3251 that use compat symbols and disable all code unless [SHARED].
3252 * config/t-softfp-compat: New file.
3253 * find-symver.awk: New file.
3254 * configure.ac (--with-glibc-version): New configure option.
3255 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3256 * configure: Regenerate.
3257 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3258 soft-float and e500.
3260 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3262 * config/t-hardfp (hardfp_exclusions): Document new variable for
3264 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3265 * config/t-softfp (softfp_extras): Document new variable for user
3267 (softfp_func_list): Add functions from $(softfp_extras).
3268 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3269 * config.host (powerpc*-*-linux*): For e500v1, use
3270 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3271 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3272 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3274 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3276 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3277 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3278 memory read accesses are ok.
3280 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3282 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3283 * configure: Regenerate.
3284 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3285 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3286 of soft-fp for 32-bit classic hard float. Do not use
3287 t-softfp-excl for soft float.
3289 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3291 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3293 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3296 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3298 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3299 introduced with 2014-10-21 trunk r216525.
3301 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3302 Vidya Praveen <vidya.praveen@atmel.com>
3303 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3304 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3305 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3307 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3310 Updated library functions for AVRTINY arch.
3311 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3312 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3313 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3314 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3316 (__mulsi3_helper): Update stack, preserve callee saved regs and
3317 argument from stack. Restore callee save registers.
3318 (__mulpsi3): Likewise.
3319 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3320 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3321 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3323 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3324 (__do_copy_data): Added new definition for AVRTINY.
3325 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3326 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3327 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3328 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3329 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3331 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3334 Fix broken long multiplication on tiny arch.
3336 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3338 * soft-fp/double.h: Update from glibc.
3339 * soft-fp/eqdf2.c: Likewise.
3340 * soft-fp/eqsf2.c: Likewise.
3341 * soft-fp/eqtf2.c: Likewise.
3342 * soft-fp/extenddftf2.c: Likewise.
3343 * soft-fp/extended.h: Likewise.
3344 * soft-fp/extendsfdf2.c: Likewise.
3345 * soft-fp/extendsftf2.c: Likewise.
3346 * soft-fp/extendxftf2.c: Likewise.
3347 * soft-fp/gedf2.c: Likewise.
3348 * soft-fp/gesf2.c: Likewise.
3349 * soft-fp/getf2.c: Likewise.
3350 * soft-fp/ledf2.c: Likewise.
3351 * soft-fp/lesf2.c: Likewise.
3352 * soft-fp/letf2.c: Likewise.
3353 * soft-fp/op-1.h: Likewise.
3354 * soft-fp/op-2.h: Likewise.
3355 * soft-fp/op-4.h: Likewise.
3356 * soft-fp/op-8.h: Likewise.
3357 * soft-fp/op-common.h: Likewise.
3358 * soft-fp/quad.h: Likewise.
3359 * soft-fp/single.h: Likewise.
3360 * soft-fp/soft-fp.h: Likewise.
3361 * soft-fp/unorddf2.c: Likewise.
3362 * soft-fp/unordsf2.c: Likewise.
3363 * soft-fp/unordtf2.c: Likewise.
3364 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3365 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3366 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3367 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3368 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3369 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3370 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3371 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3372 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3373 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3375 2014-10-08 Rong Xu <xur@google.com>
3377 * libgcov-util.c (read_gcda_file): Fix format.
3378 (find_match_gcov_info): Ditto.
3379 (calculate_2_entries): New.
3380 (compute_one_gcov): Ditto.
3381 (gcov_info_count_all_cold): Ditto.
3382 (gcov_info_count_all_zero): Ditto.
3383 (extract_file_basename): Ditto.
3384 (get_file_basename): Ditto.
3386 (matched_gcov_info): Ditto.
3387 (calculate_overlap): Ditto.
3388 (gcov_profile_overlap): Ditto.
3389 * libgcov-driver.c (compute_summary): Make
3390 it avavilable for external calls.
3392 2014-10-06 Rong Xu <xur@google.com>
3394 * Makefile.in: Ditto.
3395 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3396 (gcov_sort_icall_topn_counter): Ditto.
3397 (gcov_sort_topn_counter_arrays): Ditto.
3398 (dump_one_gcov): Sort indirect_call topn counters.
3399 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3401 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3403 (__gcov_indirect_call_topn_profiler): New profiler function.
3404 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3405 * libgcov.h: New decls.
3407 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3409 * config.host: Remove support for score-*.
3411 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3413 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3414 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3415 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3416 __LIBGCC_XF_MANT_DIG__.
3417 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3418 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3419 __LIBGCC_TF_MANT_DIG__.
3420 * libgcc2.c (NOTRUNC): Define in terms of
3421 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3422 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3424 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3427 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3430 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3432 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3433 override USE_PT_GNU_EH_FRAME.
3434 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3435 check USE_EH_FRAME_REGISTRY_ALWAYS against
3436 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3437 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3438 variable for substituted force_explicit_eh_registry.
3439 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3440 * configure.ac (explicit-exception-frame-registration):
3442 * configure: Regenerate.
3444 2014-09-19 Olivier Hainque <hainque@adacore.com>
3446 * config.host (powerpc-wrs-vxworksmils): New configuration,
3449 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3451 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3453 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3455 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3456 bits not set bits as indicating trapping exceptions.
3458 2014-09-17 Nathan sidwell <nathan@acm.org>
3460 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3461 (LIBGCOV_DRIVER): ... here.
3462 * libgcov-driver.c (gcov_master): New.
3463 (gcov_exit): Remove from master chain.
3464 (__gcov_init): Add to master chain if version compatible. Don't
3466 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3467 (gcov_reset_int): Clear master chain, if compatible.
3468 (gcov_dump_int): New internal interface. Dump master chain, if
3470 (gcov_dump): Alias for gcov_dump_int.
3471 * libgcov.h (struct gcov_root): Add next and prev fields.
3472 (struct gcov_master): New struct.
3473 (__gcov_master): New.
3474 (gcov_dump_int): Declare.
3476 2014-09-17 Olivier Hainque <hainque@adacore.com>
3478 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3479 and crtbegin.o + crtend.o to extra_parts.
3481 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3483 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3484 __LIBGCC_HAS_SF_MODE__.
3485 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3486 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3487 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3488 * config/libbid/bid_gcc_intrinsics.h
3489 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3490 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3491 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3492 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3493 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3494 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3496 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3499 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3500 and R24 as needed. Make work for all devices and .text locations.
3501 (__do_global_ctors, __do_global_dtors): Use word addresses.
3502 (__tablejump__, __tablejump_elpm__): Remove functions.
3503 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3505 (XICALL, XIJMP): New macros.
3507 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3508 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3510 * config.host (aarch64*): Include crtfastmath.o and
3512 * config/aarch64/crtfastmath.c: New file.
3514 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3516 * config.host: Remove picochip support.
3517 * config/picochip/adddi3.S: Remove.
3518 * config/picochip/ashlsi3.S: Remove.
3519 * config/picochip/ashlsi3.c: Remove.
3520 * config/picochip/ashrsi3.S: Remove.
3521 * config/picochip/ashrsi3.c: Remove.
3522 * config/picochip/clzsi2.S: Remove.
3523 * config/picochip/cmpsi2.S: Remove.
3524 * config/picochip/divmod15.S: Remove.
3525 * config/picochip/divmodhi4.S: Remove.
3526 * config/picochip/divmodsi4.S: Remove.
3527 * config/picochip/lib1funcs.S: Remove.
3528 * config/picochip/longjmp.S: Remove.
3529 * config/picochip/lshrsi3.S: Remove.
3530 * config/picochip/lshrsi3.c: Remove.
3531 * config/picochip/parityhi2.S: Remove.
3532 * config/picochip/popcounthi2.S: Remove.
3533 * config/picochip/setjmp.S: Remove.
3534 * config/picochip/subdi3.S: Remove.
3535 * config/picochip/t-picochip: Remove.
3536 * config/picochip/ucmpsi2.S: Remove.
3537 * config/picochip/udivmodhi4.S: Remove.
3538 * config/picochip/udivmodsi4.S: Remove.
3540 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3542 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3543 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3544 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3545 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3546 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3547 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3548 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3549 defined and LIBGCC2_HAS_DF_MODE is defined.
3550 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3551 defined and LIBGCC2_HAS_XF_MODE is defined.
3552 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3553 defined and LIBGCC2_HAS_TF_MODE is defined.
3555 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3557 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3558 and ROUND_TOWARDS_ZERO conditionals.
3560 2014-09-07 Nathan sidwell <nathan@acm.org>
3562 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3563 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3565 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3567 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3568 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3569 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3570 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3571 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3572 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3573 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3574 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3575 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3576 (DWARF_FRAME_REGISTERS): Change all uses to
3577 __LIBGCC_DWARF_FRAME_REGISTERS__.
3578 (EH_RETURN_STACKADJ_RTX): Change all uses to
3579 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3580 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3581 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3582 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3583 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3584 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3585 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3586 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3587 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3588 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3589 __LIBGCC_STACK_POINTER_REGNUM__.
3590 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3591 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3592 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3593 to __LIBGCC_STACK_POINTER_REGNUM__.
3594 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3595 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3596 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3597 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3598 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3599 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3600 (STACK_POINTER_REGNUM): Change all uses to
3601 __LIBGCC_STACK_POINTER_REGNUM__.
3602 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3603 use to __LIBGCC_STACK_POINTER_REGNUM__.
3604 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3605 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3606 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3607 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3608 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3609 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3610 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3611 to __LIBGCC_STACK_POINTER_REGNUM__.
3612 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3613 Remove conditional definition.
3614 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3615 __LIBGCC_TEXT_SECTION_ASM_OP__.
3616 (EH_FRAME_SECTION_NAME): Change all uses to
3617 __LIBGCC_EH_FRAME_SECTION_NAME__.
3618 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3619 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3620 (CTORS_SECTION_ASM_OP): Change all uses to
3621 __LIBGCC_CTORS_SECTION_ASM_OP__.
3622 (DTORS_SECTION_ASM_OP): Change all uses to
3623 __LIBGCC_DTORS_SECTION_ASM_OP__.
3624 (JCR_SECTION_NAME): Change all uses to
3625 __LIBGCC_JCR_SECTION_NAME__.
3626 (INIT_SECTION_ASM_OP): Change all uses to
3627 __LIBGCC_INIT_SECTION_ASM_OP__.
3628 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3629 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3630 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3631 __LIBGCC_STACK_GROWS_DOWNWARD__.
3632 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3633 __LIBGCC_INIT_SECTION_ASM_OP__.
3634 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3635 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3636 (EH_FRAME_SECTION_NAME): Change all uses to
3637 __LIBGCC_EH_FRAME_SECTION_NAME__.
3638 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3639 definitions. Change all uses to
3640 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3641 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3642 __LIBGCC_STACK_GROWS_DOWNWARD__.
3643 (DWARF_FRAME_REGISTERS): Change all uses to
3644 __LIBGCC_DWARF_FRAME_REGISTERS__.
3645 (EH_RETURN_STACKADJ_RTX): Change all uses to
3646 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3647 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3648 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3649 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3650 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3651 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3653 2014-09-02 Nathan sidwell <nathan@acm.org>
3655 * libgcov-interface.c (STRONG_ALIAS): New.
3656 (__gcov_flush): Call __gcov_reset_int.
3657 (__gcov_reset): Strong alias for ...
3658 (__gcov_reset_ing): ... this renamed hidden version.
3659 * libgcov.h (__gcov_reset_int): New declaration.
3661 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3663 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3665 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3666 (__dso_handle): Define on Cygwin.
3667 * config/i386/t-cygming (crtbeginS.o): New rule.
3668 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3670 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3673 2014-08-13 Steve Ellcey <sellcey@mips.com>
3675 * crtstuff.c: Undef caddr_t.
3677 2014-08-12 Steve Ellcey <sellcey@mips.com>
3679 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3681 2014-08-07 Nathan Sidwell <nathan@acm.org>
3683 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3684 (LIBGCOV_DRIVER): ... to here.
3685 * libgcov.h (gcov_do_dump): New #define.
3686 (struct gcov_root): New.
3687 (__gcov_root): New declaration.
3688 (__gcov_dump_one): Declare.
3689 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3690 run_accounted): Delete.
3691 (gcov_compute_histogram): Add LIST argument, adjust.
3692 (compute_summary): Adjust gcov_compute_histogram call.
3693 (gcov_do_dump): Not hidden, static in libgcov.
3694 (gcov_clear): Move to interface.c.
3695 (__gcov_dump_one): New, broken out of ...
3696 (gcov_exit): ... here. Make static.
3698 (__gcov_init): Adjust.
3699 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3701 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3702 (gcov_clear): Moved from driver.c. Add LIST argument.
3703 (__gcov_reset): Adjust for changed interfaces.
3704 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3706 2014-08-04 Rohit <rohitarulraj@freescale.com>
3709 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3710 based on change in SPE high register numbers and 3 HTM registers.
3712 2014-08-01 Nathan Sidwell <nathan@acm.org>
3714 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3715 LIBGCOV_INTERFACE): Reformat.
3716 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3718 * libgcov-interface.c: Reformat some comments.
3719 (__gcov_flush_mx): Add declaration. Tidy up definition.
3721 2014-07-31 Alan Modra <amodra@gmail.com>
3722 Peter Bergner <bergner@vnet.ibm.com>
3724 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3725 (pack_ldouble): New function.
3726 (__gcc_qadd): Use it.
3727 (__gcc_qmul): Likewise.
3728 (__gcc_qdiv): Likewise.
3729 (__gcc_qneg): Likewise.
3730 (__gcc_stoq): Likewise.
3731 (__gcc_dtoq): Likewise.
3733 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3735 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3736 (__tpf_eh_return): Add original return address as second parameter.
3737 Handle cases where unwinder routines were called directly, instead
3738 of from within the C++ library.
3740 2014-07-29 Nathan Sidwell <nathan@acm.org>
3742 * libgcov.h: Move renaming of entry points to lib gcov specific
3744 (gcov_do_dump): New rename.
3745 (gcov_rewrite): Remove inline, make HIDDEN.
3746 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3747 (gcov_exit_compute_summary): Rename to ...
3748 (compute_summary): ... here. Add LIST argument.
3749 (gcov_exit_merge_gcda): Rename to ...
3750 (merge_one_data): ... here.
3751 (gcov_exit_write_gcda): Rename to ...
3752 (write_one_data): ... here.
3753 (gcov_exit_merge_summary): Rename to ...
3754 (merge_summary): Add RUN_COUNTED argument.
3755 (gcov_exit_dump_gcov): Rename to ...
3756 (dump_one_gcov): Add RUN_COUNTED argument.
3757 (gcov_do_dump): New function, broken out of ...
3758 (gcov_exit): ... here. Call it.
3760 2014-07-27 Anthony Green <green@moxielogic.com>
3762 * config.host: Add moxiebox configuration suppport.
3764 2014-07-27 Nathan Sidwell <nathan@acm.org>
3766 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3767 (struct gcov_filename): ... here. Include buffer and max length
3769 (gcov_max_filename): Remove.
3770 (gi_filename): Remove.
3771 (gcov_exit_compute_summary): Compute max filename here.
3772 (gcov_exit_merge_gcda): Add filename parm, adjust.
3773 (gcov_exit_merge_summary): Likewise.
3774 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3775 (gcov_exit): Likewise.
3776 (__gcov_init): Don't calculate max length here.
3777 * libgcov_util.c (max_filename_len): Remove.
3778 (read_gcda_file): Don't calculate max length here.
3779 (gcov_read_profile_dir): Don't propagate here.
3780 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3781 struct gcov_filename changes.
3782 (gcov_exit_open_gcda_file): Likewise.
3784 2014-07-25 Nathan Sidwell <nathan@acm.org>
3786 * libgcov-driver.c (set_gcov_dump_complete,
3787 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3788 functions polluting user's namespace.
3789 (gcov_exit): Set variable directly.
3790 (gcov_clear): Reset variable directly.
3791 * libgcov-interface.c (get_gcov_dymp_complete,
3792 reset_gov_dump_complete): Remove declarations.
3793 (__gcov_reset, __gcov_dump): Don't call them.
3795 2014-07-24 DJ Delorie <dj@redhat.com>
3797 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3798 (__gcc_deregister_frame): Move logic to detect deregister function
3800 (__gcc_register_frame): here, so it's consistent with the register
3803 2014-07-23 Nathan Sidwell <nathan@acm.org>
3805 * libgcov-driver.c (set_gcov_list): Remove.
3806 (gcov_list): Make non-static in GCOV_TOOL.
3807 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3809 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3811 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3812 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3813 Don't use SYNC_LOCK_RELEASE for int type.
3815 2014-07-14 Richard Biener <rguenther@suse.de>
3817 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3819 2014-07-11 Rong Xu <xur@google.com>
3821 * libgcov-util.c (gcov_max_filename): Fix declartion.
3823 2014-07-10 Rong Xu <xur@google.com>
3825 Add gcov-tool: an offline gcda profile processing tool
3827 * libgcov-driver.c (gcov_max_filename): Make available
3829 * libgcov-merge.c (__gcov_merge_add): Replace
3830 gcov_read_counter() with a Macro.
3831 (__gcov_merge_ior): Ditto.
3832 (__gcov_merge_time_profile): Ditto.
3833 (__gcov_merge_single): Ditto.
3834 (__gcov_merge_delta): Ditto.
3835 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3836 in the utility functions.
3837 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3838 gcov_list object link lists.
3839 (tag_function): Ditto.
3840 (tag_blocks): Ditto.
3843 (tag_counters): Ditto.
3844 (tag_summary): Ditto.
3845 (read_gcda_finalize): Ditto.
3846 (read_gcda_file): Ditto.
3847 (ftw_read_file): Ditto.
3848 (read_profile_dir_init): Ditto.
3849 (gcov_read_profile_dir): Ditto.
3850 (gcov_read_counter_mem): Ditto.
3851 (gcov_get_merge_weight): Ditto.
3852 (merge_wrapper): A wrapper function that calls merging handler.
3853 (gcov_merge): Merge two gcov_info objects with weights.
3854 (find_match_gcov_info): Find the matched gcov_info in the list.
3855 (gcov_profile_merge): Merge two gcov_info object lists.
3856 (__gcov_add_counter_op): Process edge profile counter values.
3857 (__gcov_ior_counter_op): Process IOR profile counter values.
3858 (__gcov_delta_counter_op): Process delta profile counter values.
3859 (__gcov_single_counter_op): Process single profile counter values.
3860 (fp_scale): Callback function for float-point scaling.
3861 (int_scale): Callback function for integer fraction scaling.
3862 (gcov_profile_scale): Scaling profile counters.
3863 (gcov_profile_normalize): Normalize profile counters.
3864 * libgcov.h: Add headers and functions for gcov-tool use.
3865 (gcov_get_counter): New.
3866 (gcov_get_counter_target): Ditto.
3867 (struct gcov_info): Make the functions field mutable in gcov-tool
3870 2014-06-23 Kai Tietz <ktietz@redhat.com>
3873 * unwind-seh.c (_Unwind_GetGR): Check for proper
3875 (_Unwind_SetGR): Likewise.
3877 2014-05-22 Nick Clifton <nickc@redhat.com>
3879 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3882 2014-05-22 Teresa Johnson <tejohnson@google.com>
3884 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3887 2014-05-20 John Marino <gnugcc@marino.st>
3889 * config.host (*-*-dragonfly*): New target.
3890 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3891 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3892 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3893 * config/i386/dragonfly-unwind.h: New.
3895 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3898 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3899 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3901 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3903 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3906 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3908 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3910 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3913 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3916 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3918 Work around for current cygwin32 build problems.
3919 * config/i386/cygming-crtbegin.c (__register_frame_info,
3920 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3921 functions only for 64-bit systems.
3923 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3925 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3926 (sigill_caught, sigill_hdlr): Remove.
3928 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3930 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3932 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3933 Solaris 9 single-threaded support.
3934 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3935 Solaris 9 single-threaded support. Add call_user_handler code
3937 (sparc_is_sighandler): Likewise.
3939 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3941 * config.host: Append t-floattodi to tmake_file depending on
3944 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3946 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3948 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
3951 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3952 variable to avoid "array subscript is above array bounds" warnings.
3953 Use __builtin_expect when checking *jcr_list for NULL.
3955 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3958 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3959 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3960 vtv_*.o to extra_parts if enable_vtable_verify.
3962 2014-03-06 Nick Clifton <nickc@redhat.com>
3964 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3965 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3967 2014-02-28 Joey Ye <joey.ye@arm.com>
3970 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3971 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3974 2014-02-24 Walter Lee <walt@tilera.com>
3976 * config.host: Support "tilegx*" and "tilepro*" triplets.
3977 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3978 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3980 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3981 Chung-Lin Tang <cltang@codesourcery.com>
3983 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3984 * config/nios2/crti.S: Remove .file directive.
3985 * config/nios2/crtn.S: Likewise.
3987 2014-02-18 Kai Tietz <ktietz@redhat.com>
3988 Jonathan Schleifer <js@webkeks.org>
3991 * unwind-seh.c (_GCC_specific_handler): Pass proper
3992 value to unwind-handler.
3994 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3996 * soft-fp/adddf3.c: Update from glibc.
3997 * soft-fp/addsf3.c: Likewise.
3998 * soft-fp/addtf3.c: Likewise.
3999 * soft-fp/divdf3.c: Likewise.
4000 * soft-fp/divsf3.c: Likewise.
4001 * soft-fp/divtf3.c: Likewise.
4002 * soft-fp/double.h: Likewise.
4003 * soft-fp/eqdf2.c: Likewise.
4004 * soft-fp/eqsf2.c: Likewise.
4005 * soft-fp/eqtf2.c: Likewise.
4006 * soft-fp/extenddftf2.c: Likewise.
4007 * soft-fp/extended.h: Likewise.
4008 * soft-fp/extendsfdf2.c: Likewise.
4009 * soft-fp/extendsftf2.c: Likewise.
4010 * soft-fp/extendxftf2.c: Likewise.
4011 * soft-fp/fixdfdi.c: Likewise.
4012 * soft-fp/fixdfsi.c: Likewise.
4013 * soft-fp/fixdfti.c: Likewise.
4014 * soft-fp/fixsfdi.c: Likewise.
4015 * soft-fp/fixsfsi.c: Likewise.
4016 * soft-fp/fixsfti.c: Likewise.
4017 * soft-fp/fixtfdi.c: Likewise.
4018 * soft-fp/fixtfsi.c: Likewise.
4019 * soft-fp/fixtfti.c: Likewise.
4020 * soft-fp/fixunsdfdi.c: Likewise.
4021 * soft-fp/fixunsdfsi.c: Likewise.
4022 * soft-fp/fixunsdfti.c: Likewise.
4023 * soft-fp/fixunssfdi.c: Likewise.
4024 * soft-fp/fixunssfsi.c: Likewise.
4025 * soft-fp/fixunssfti.c: Likewise.
4026 * soft-fp/fixunstfdi.c: Likewise.
4027 * soft-fp/fixunstfsi.c: Likewise.
4028 * soft-fp/fixunstfti.c: Likewise.
4029 * soft-fp/floatdidf.c: Likewise.
4030 * soft-fp/floatdisf.c: Likewise.
4031 * soft-fp/floatditf.c: Likewise.
4032 * soft-fp/floatsidf.c: Likewise.
4033 * soft-fp/floatsisf.c: Likewise.
4034 * soft-fp/floatsitf.c: Likewise.
4035 * soft-fp/floattidf.c: Likewise.
4036 * soft-fp/floattisf.c: Likewise.
4037 * soft-fp/floattitf.c: Likewise.
4038 * soft-fp/floatundidf.c: Likewise.
4039 * soft-fp/floatundisf.c: Likewise.
4040 * soft-fp/floatunditf.c: Likewise.
4041 * soft-fp/floatunsidf.c: Likewise.
4042 * soft-fp/floatunsisf.c: Likewise.
4043 * soft-fp/floatunsitf.c: Likewise.
4044 * soft-fp/floatuntidf.c: Likewise.
4045 * soft-fp/floatuntisf.c: Likewise.
4046 * soft-fp/floatuntitf.c: Likewise.
4047 * soft-fp/gedf2.c: Likewise.
4048 * soft-fp/gesf2.c: Likewise.
4049 * soft-fp/getf2.c: Likewise.
4050 * soft-fp/ledf2.c: Likewise.
4051 * soft-fp/lesf2.c: Likewise.
4052 * soft-fp/letf2.c: Likewise.
4053 * soft-fp/muldf3.c: Likewise.
4054 * soft-fp/mulsf3.c: Likewise.
4055 * soft-fp/multf3.c: Likewise.
4056 * soft-fp/negdf2.c: Likewise.
4057 * soft-fp/negsf2.c: Likewise.
4058 * soft-fp/negtf2.c: Likewise.
4059 * soft-fp/op-1.h: Likewise.
4060 * soft-fp/op-2.h: Likewise.
4061 * soft-fp/op-4.h: Likewise.
4062 * soft-fp/op-8.h: Likewise.
4063 * soft-fp/op-common.h: Likewise.
4064 * soft-fp/quad.h: Likewise.
4065 * soft-fp/single.h: Likewise.
4066 * soft-fp/soft-fp.h: Likewise.
4067 * soft-fp/subdf3.c: Likewise.
4068 * soft-fp/subsf3.c: Likewise.
4069 * soft-fp/subtf3.c: Likewise.
4070 * soft-fp/truncdfsf2.c: Likewise.
4071 * soft-fp/trunctfdf2.c: Likewise.
4072 * soft-fp/trunctfsf2.c: Likewise.
4073 * soft-fp/trunctfxf2.c: Likewise.
4074 * soft-fp/unorddf2.c: Likewise.
4075 * soft-fp/unordsf2.c: Likewise.
4076 * soft-fp/unordtf2.c: Likewise.
4077 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4079 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4081 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4083 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4085 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4087 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4089 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4091 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4093 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4095 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4097 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4099 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4101 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4103 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4105 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4107 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4110 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4112 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4113 cannot be represented.
4114 * config/s390/32/_fixsfdi.c: Likewise.
4115 * config/s390/32/_fixtfdi.c: Likewise.
4116 * config/s390/32/_fixunsdfdi.c: Likewise.
4117 * config/s390/32/_fixunssfdi.c: Likewise.
4118 * config/s390/32/_fixunstfdi.c: Likewise.
4120 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4122 * configure.ac (libgcc_cv_mips_hard_float): New.
4123 * configure: Regenerate.
4124 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4125 t-softfp-sfdf for hard-float targets.
4126 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4127 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4128 (softfp_truncations, softfp_exclude_libgcc2): New.
4129 * config/t-hardfp: New file.
4130 * config/t-hardfp-sfdf: Likewise.
4131 * config/hardfp.c: Likewise.
4133 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4135 * config.host: Include t-floattodi also for s390x.
4136 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4137 * config/s390/32/_fixsfdi.c: Likewise.
4138 * config/s390/32/_fixtfdi.c: Likewise.
4139 * config/s390/32/_fixunsdfdi.c: Likewise.
4140 * config/s390/32/_fixunssfdi.c: Likewise.
4141 * config/s390/32/_fixunstfdi.c: Likewise.
4143 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4146 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4147 (install-libgcc-unwind-map-forbuild): New target.
4148 (all): Depend on install-libgcc-unwind-map-forbuild.
4149 (install-libgcc-unwind-map): New target.
4150 (install): Depend on install-libgcc-unwind-map.
4152 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4154 * config/nios2/crti.S (_init): Initialize GOT pointer from
4155 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4157 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4159 * configure.ac: Check __mips64 when setting host_address.
4160 * configure: Regenerate.
4161 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4162 mips/t-mips64 and t-softfp.
4163 (mips*-*-linux*): Don't add mips/t-tpbit.
4164 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4165 (DPBIT, DPBIT_CFLAGS): Delete.
4166 * config/mips/sfp-machine.h: New file.
4167 * config/mips/t-mips64: Likewise.
4168 * config/mips/t-softfp-tf: Likewise.
4169 * config/mips/t-tpbit: Delete.
4171 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4173 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4176 2014-01-25 Walter Lee <walt@tilera.com>
4178 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4179 config.h or system.h.
4182 2014-01-25 Walter Lee <walt@tilera.com>
4184 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4185 (post_atomic_barrier): Ditto.
4186 (__fetch_and_do): New macro.
4187 (__atomic_fetch_and_do): Use __fetch_and_do.
4188 (__sync_fetch_and_do): New macro.
4189 (__sync_fetch_and_add_4): New function.
4190 (__sync_fetch_and_sub_4): New function.
4191 (__sync_fetch_and_or_4): New function.
4192 (__sync_fetch_and_and_4): New function.
4193 (__sync_fetch_and_xor_4): New function.
4194 (__sync_fetch_and_nand_4): New function.
4195 (__sync_fetch_and_add_8): New function.
4196 (__sync_fetch_and_sub_8): New function.
4197 (__sync_fetch_and_or_8): New function.
4198 (__sync_fetch_and_and_8): New function.
4199 (__sync_fetch_and_xor_8): New function.
4200 (__sync_fetch_and_nand_8): New function.
4201 (__do_and_fetch): New macro.
4202 (__atomic_do_and_fetch): Use __do_and_fetch.
4203 (__sync_do_and_fetch): New macro.
4204 (__sync_add_and_fetch_4): New function.
4205 (__sync_sub_and_fetch_4): New function.
4206 (__sync_or_and_fetch_4): New function.
4207 (__sync_and_and_fetch_4): New function.
4208 (__sync_xor_and_fetch_4): New function.
4209 (__sync_nand_and_fetch_4): New function.
4210 (__sync_add_and_fetch_8): New function.
4211 (__sync_sub_and_fetch_8): New function.
4212 (__sync_or_and_fetch_8): New function.
4213 (__sync_and_and_fetch_8): New function.
4214 (__sync_xor_and_fetch_8): New function.
4215 (__sync_nand_and_fetch_8): New function.
4216 (__sync_exchange_methods): New macro.
4217 (__sync_val_compare_and_swap_4): New function.
4218 (__sync_bool_compare_and_swap_4): New function.
4219 (__sync_lock_test_and_test_4): New function.
4220 (__sync_val_compare_and_swap_8): New function.
4221 (__sync_bool_compare_and_swap_8): New function.
4222 (__sync_lock_test_and_test_8): New function.
4223 (__subword_cmpxchg_body): New macro.
4224 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4225 (__atomic_compare_exchange_2): Ditto.
4226 (__sync_subword_cmpxchg): New macro.
4227 (__sync_val_compare_and_swap_1): New function.
4228 (__sync_bool_compare_and_swap_1): New function.
4229 (__sync_val_compare_and_swap_2): New function.
4230 (__sync_bool_compare_and_swap_2): New function.
4231 (__atomic_subword): Rename to ...
4232 (__subword): ... New name.
4233 (__atomic_subword_fetch): Use __subword.
4234 (__sync_subword_fetch): New macro.
4235 (__sync_fetch_and_add_1): New function.
4236 (__sync_fetch_and_sub_1): New function.
4237 (__sync_fetch_and_or_1): New function.
4238 (__sync_fetch_and_and_1): New function.
4239 (__sync_fetch_and_xor_1): New function.
4240 (__sync_fetch_and_nand_1): New function.
4241 (__sync_fetch_and_add_2): New function.
4242 (__sync_fetch_and_sub_2): New function.
4243 (__sync_fetch_and_or_2): New function.
4244 (__sync_fetch_and_and_2): New function.
4245 (__sync_fetch_and_xor_2): New function.
4246 (__sync_fetch_and_nand_2): New function.
4247 (__sync_add_and_fetch_1): New function.
4248 (__sync_sub_and_fetch_1): New function.
4249 (__sync_or_and_fetch_1): New function.
4250 (__sync_and_and_fetch_1): New function.
4251 (__sync_xor_and_fetch_1): New function.
4252 (__sync_nand_and_fetch_1): New function.
4253 (__sync_add_and_fetch_2): New function.
4254 (__sync_sub_and_fetch_2): New function.
4255 (__sync_or_and_fetch_2): New function.
4256 (__sync_and_and_fetch_2): New function.
4257 (__sync_xor_and_fetch_2): New function.
4258 (__sync_nand_and_fetch_2): New function.
4259 (__atomic_subword_lock): Use __subword.
4260 (__sync_subword_lock): New macro.
4261 (__sync_lock_test_and_set_1): New function.
4262 (__sync_lock_test_and_set_2): New function.
4264 2014-01-25 Walter Lee <walt@tilera.com>
4266 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4267 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4268 (__atomic_subword): Ditto.
4270 2014-01-25 Walter Lee <walt@tilera.com>
4272 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4273 a prefix op argument.
4274 (__atomic_nand_fetch_4): Add prefix op.
4275 (__atomic_nand_fetch_8): Ditto.
4277 2014-01-21 Baruch Siach <barch@tkos.co.il>
4279 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4281 2014-01-09 Rong Xu <xur@google.com>
4283 * libgcov-driver.c (this_prg): make it local to save
4285 (gcov_exit_compute_summary): Ditto.
4286 (gcov_exit_merge_gcda): Ditto.
4287 (gcov_exit_merge_summary): Ditto.
4288 (gcov_exit_dump_gcov): Ditto.
4290 2014-01-08 Rong Xu <xur@google.com>
4292 * libgcov-driver.c: Use libgcov.h.
4293 (buffer_fn_data): Use xmalloc instead of malloc.
4294 (gcov_exit_merge_gcda): Ditto.
4295 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4296 * libgcov.h: New common header files for libgcov-*.h.
4297 * libgcov-interface.c: Use libgcov.h
4298 * libgcov-merge.c: Ditto.
4299 * libgcov-profiler.c: Ditto.
4300 * Makefile.in: Add dependence to libgcov.h
4302 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4304 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4305 case of small numerator and finite nonzero result.
4307 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4309 Update copyright years
4311 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4313 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4314 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4315 config/arc/dp-hack.h, config/arc/fp-hack.h,
4316 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4317 config/arc/ieee-754/arc600-dsp/divdf3.S,
4318 config/arc/ieee-754/arc600-dsp/divsf3.S,
4319 config/arc/ieee-754/arc600-dsp/muldf3.S,
4320 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4321 config/arc/ieee-754/arc600-mul64/divdf3.S,
4322 config/arc/ieee-754/arc600-mul64/divsf3.S,
4323 config/arc/ieee-754/arc600-mul64/muldf3.S,
4324 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4325 config/arc/ieee-754/arc600/divsf3.S,
4326 config/arc/ieee-754/arc600/mulsf3.S,
4327 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4328 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4329 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4330 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4331 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4332 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4333 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4334 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4335 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4336 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4337 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4338 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4339 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4340 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4341 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4342 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4343 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4344 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4345 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4346 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4347 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4348 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4349 vtv_start_preinit.c: Use the standard form for the copyright notice.
4351 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4352 Chung-Lin Tang <cltang@codesourcery.com>
4353 Based on patches from Altera Corporation
4355 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4356 * config/nios2/lib2-nios2.h: New file.
4357 * config/nios2/lib2-divmod-hi.c: New file.
4358 * config/nios2/linux-unwind.h: New file.
4359 * config/nios2/lib2-divmod.c: New file.
4360 * config/nios2/linux-atomic.c: New file.
4361 * config/nios2/t-nios2: New file.
4362 * config/nios2/crti.asm: New file.
4363 * config/nios2/t-linux: New file.
4364 * config/nios2/lib2-divtable.c: New file.
4365 * config/nios2/lib2-mul.c: New file.
4366 * config/nios2/tramp.c: New file.
4367 * config/nios2/crtn.asm: New file.
4369 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4371 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4372 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4373 from cpuid.h to check vendor signatures.
4375 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4377 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4378 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4379 (get_amd_cpu): Likewise.
4381 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4383 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4386 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4387 H.J. Lu <hongjiu.lu@intel.com>
4390 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4392 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4393 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4394 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4395 FEATURE_XOP and FEATURE_FMA.
4396 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4398 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4399 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4400 FEATURE_FMA4 and FEATURE_XOP.
4402 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4404 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4405 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4406 (get_intel_cpu): Updated.
4408 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4410 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4412 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4414 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4415 instructions when __SSE_MATH__ is defined.
4417 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4419 * config.host (microblaze-*-rtems*): New.
4421 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4423 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4424 architectures that do not have hardware divide instruction.
4425 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4427 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4429 * longlong.h: Delete (moved to include/).
4431 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4433 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4434 of normal number and qNaN to not raise an inexact exception.
4436 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4438 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4440 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4442 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4443 for correct opcodes on BE.
4445 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4447 * soft-fp/op-4.h: Update from glibc.
4449 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4451 * libgcc2.c (__udivmoddi4): Define new implementation when
4452 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4453 divide instructions.
4455 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4457 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4459 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4461 * config/t-softfp (soft-fp-objects-base): New variable.
4462 (soft-fp-objects): Use it.
4464 2013-11-23 David Edelson <dje.gcc@gmail.com>
4465 Andrew Dixie <andrewd@gentrack.com>
4468 * config/rs6000/aixinitfini.c: New file.
4469 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4470 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4473 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4475 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4477 2013-11-18 Jan Hubicka <jh@suse.cz>
4479 * libgcov-driver.c (run_accounted): Make global level static.
4480 (gcov_exit_merge_summary): Silence warning; do not clear
4482 (gcov_exit): Clear it here.
4484 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4487 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4488 (all_prg, crc32): Remove static vars.
4489 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4491 (gcov_exit_merge_gcda): Add crc32 parameter.
4492 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4493 do not account run if it was already accounted.
4494 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4495 (gcov_exit): Initialize all_prg; update.
4497 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4499 * configure: Regenerate.
4501 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4502 Alan Modra <amodra@gmail.com>
4504 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4505 (frob_update_context): Use it.
4507 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4508 Alan Modra <amodra@gmail.com>
4510 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4511 (trampoline_initial): Provide ELFv2 variant.
4512 (__trampoline_setup): Likewise.
4514 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4515 check for AIX indirect function call sequence if _CALL_ELF == 2.
4517 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4518 Alan Modra <amodra@gmail.com>
4520 * config/rs6000/linux-unwind.h (get_regs): Do not support
4521 old kernel versions if _CALL_ELF == 2.
4522 (frob_update_context): Do not support PLT stub variants only
4523 generated by old linkers if _CALL_ELF == 2.
4525 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4526 Alan Modra <amodra@gmail.com>
4528 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4529 location of CR save area for 64-bit little-endian systems.
4531 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4533 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4535 * config/arm/t-vxworks: Delete.
4537 2013-11-10 Kai Tietz <ktietz@redhat.com>
4539 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4540 Increment load-count on use of LIBGCC_SONAME DLL.
4541 (hmod_libgcc): New static variable to hold handle of
4543 (__gcc_deregister_frame): Decrement load-count of
4546 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4548 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4550 * configure: Regenerate
4552 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4554 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4555 FP_EX_DENORM. Store result to volatile location after SSE division
4556 to close interrupt window. Remove unneeded fwait after x87
4557 division since interrupt window will be closed by emitted fstp.
4558 Rewrite FP_EX_INEXACT handling.
4560 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4562 * soft-fp/README: Update.
4563 * soft-fp/adddf3.c: Update from glibc.
4564 * soft-fp/addsf3.c: Likewise.
4565 * soft-fp/addtf3.c: Likewise.
4566 * soft-fp/divdf3.c: Likewise.
4567 * soft-fp/divsf3.c: Likewise.
4568 * soft-fp/divtf3.c: Likewise.
4569 * soft-fp/double.h: Likewise.
4570 * soft-fp/eqdf2.c: Likewise.
4571 * soft-fp/eqsf2.c: Likewise.
4572 * soft-fp/eqtf2.c: Likewise.
4573 * soft-fp/extenddftf2.c: Likewise.
4574 * soft-fp/extended.h: Likewise.
4575 * soft-fp/extendsfdf2.c: Likewise.
4576 * soft-fp/extendsftf2.c: Likewise.
4577 * soft-fp/extendxftf2.c: Likewise.
4578 * soft-fp/fixdfdi.c: Likewise.
4579 * soft-fp/fixdfsi.c: Likewise.
4580 * soft-fp/fixdfti.c: Likewise.
4581 * soft-fp/fixsfdi.c: Likewise.
4582 * soft-fp/fixsfsi.c: Likewise.
4583 * soft-fp/fixsfti.c: Likewise.
4584 * soft-fp/fixtfdi.c: Likewise.
4585 * soft-fp/fixtfsi.c: Likewise.
4586 * soft-fp/fixtfti.c: Likewise.
4587 * soft-fp/fixunsdfdi.c: Likewise.
4588 * soft-fp/fixunsdfsi.c: Likewise.
4589 * soft-fp/fixunsdfti.c: Likewise.
4590 * soft-fp/fixunssfdi.c: Likewise.
4591 * soft-fp/fixunssfsi.c: Likewise.
4592 * soft-fp/fixunssfti.c: Likewise.
4593 * soft-fp/fixunstfdi.c: Likewise.
4594 * soft-fp/fixunstfsi.c: Likewise.
4595 * soft-fp/fixunstfti.c: Likewise.
4596 * soft-fp/floatdidf.c: Likewise.
4597 * soft-fp/floatdisf.c: Likewise.
4598 * soft-fp/floatditf.c: Likewise.
4599 * soft-fp/floatsidf.c: Likewise.
4600 * soft-fp/floatsisf.c: Likewise.
4601 * soft-fp/floatsitf.c: Likewise.
4602 * soft-fp/floattidf.c: Likewise.
4603 * soft-fp/floattisf.c: Likewise.
4604 * soft-fp/floattitf.c: Likewise.
4605 * soft-fp/floatundidf.c: Likewise.
4606 * soft-fp/floatundisf.c: Likewise.
4607 * soft-fp/floatunditf.c: Likewise.
4608 * soft-fp/floatunsidf.c: Likewise.
4609 * soft-fp/floatunsisf.c: Likewise.
4610 * soft-fp/floatunsitf.c: Likewise.
4611 * soft-fp/floatuntidf.c: Likewise.
4612 * soft-fp/floatuntisf.c: Likewise.
4613 * soft-fp/floatuntitf.c: Likewise.
4614 * soft-fp/gedf2.c: Likewise.
4615 * soft-fp/gesf2.c: Likewise.
4616 * soft-fp/getf2.c: Likewise.
4617 * soft-fp/ledf2.c: Likewise.
4618 * soft-fp/lesf2.c: Likewise.
4619 * soft-fp/letf2.c: Likewise.
4620 * soft-fp/muldf3.c: Likewise.
4621 * soft-fp/mulsf3.c: Likewise.
4622 * soft-fp/multf3.c: Likewise.
4623 * soft-fp/negdf2.c: Likewise.
4624 * soft-fp/negsf2.c: Likewise.
4625 * soft-fp/negtf2.c: Likewise.
4626 * soft-fp/op-1.h: Likewise.
4627 * soft-fp/op-2.h: Likewise.
4628 * soft-fp/op-4.h: Likewise.
4629 * soft-fp/op-8.h: Likewise.
4630 * soft-fp/op-common.h: Likewise.
4631 * soft-fp/quad.h: Likewise.
4632 * soft-fp/single.h: Likewise.
4633 * soft-fp/soft-fp.h: Likewise.
4634 * soft-fp/subdf3.c: Likewise.
4635 * soft-fp/subsf3.c: Likewise.
4636 * soft-fp/subtf3.c: Likewise.
4637 * soft-fp/truncdfsf2.c: Likewise.
4638 * soft-fp/trunctfdf2.c: Likewise.
4639 * soft-fp/trunctfsf2.c: Likewise.
4640 * soft-fp/trunctfxf2.c: Likewise.
4641 * soft-fp/unorddf2.c: Likewise.
4642 * soft-fp/unordsf2.c: Likewise.
4643 * soft-fp/unordtf2.c: Likewise.
4645 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4647 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4648 (_FP_MUL_MEAT_D): Ditto.
4649 (_FP_DIV_MEAT_S): Ditto.
4650 (_FP_DIV_MEAT_D): Ditto.
4651 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4652 t-softfp-sfdf and t-softfp to tmake_file.
4654 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4656 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4657 * config/i386/crtprec.c: Ditto.
4659 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4660 Shiva Chen <shiva0217@gmail.com>
4662 * config.host (nds32*-elf*): Add nds32 target.
4663 * config/nds32 : New directory and files.
4665 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4667 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4668 * config.host (cpu_type) <Setting default>: Add entry for
4670 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4671 <crisv32-*-linux*>: Adjust.
4672 * longlong.h: Wrap the whole CRIS section in a single
4673 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4675 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4677 [__CRIS__] (__umulsidi3): Define.
4678 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4679 * config/cris/sfp-machine.h: New file.
4680 * config/cris/umulsidi3.S: New file.
4681 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4682 * config/cris/arit.c (SIGNMULT): New macro.
4683 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4684 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4685 saving 3 out of originally 33 cycles from the fastest
4686 path, 3 out of 54 from the medium path and one from the longest
4687 path. Improve comments.
4689 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4691 * sync.c: Remove static aliases and define each function directly
4692 under its real name.
4694 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4696 * config.host (hppa*64*-*-linux*): Define extra_parts.
4697 (hppa*-*-linux*): Likewise.
4699 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4701 * config/arc/crtgend.S: Add 2013 to Copyright years.
4702 * config/arc/gmon/atomic.h: Likewise.
4703 * config/arc/gmon/auxreg.h: Likewise.
4704 * config/arc/gmon/sys/gmon_out.h: Likewise.
4705 * config/arc/gmon/sys/gmon.h: Likewise.
4706 * config/arc/gmon/prof-freq.c: Likewise.
4707 * config/arc/gmon/mcount.c: Likewise.
4708 * config/arc/gmon/prof-freq-stub.S: Likewise.
4709 * config/arc/gmon/gmon.c: Likewise.
4710 * config/arc/gmon/machine-gmon.h: Likewise.
4711 * config/arc/gmon/profil.S: Likewise.
4712 * config/arc/gmon/dcache_linesz.S: Likewise.
4713 * config/arc/crtg.S: Likewise.
4714 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4715 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4716 * config/arc/ieee-754/adddf3.S: Likewise.
4717 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4718 * config/arc/ieee-754/fixsfsi.S: Likewise.
4719 * config/arc/ieee-754/gtsf2.S: Likewise.
4720 * config/arc/ieee-754/floatsisf.S: Likewise.
4721 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4722 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4723 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4724 * config/arc/ieee-754/fixdfsi.S: Likewise.
4725 * config/arc/ieee-754/addsf3.S: Likewise.
4726 * config/arc/ieee-754/gesf2.S: Likewise.
4727 * config/arc/ieee-754/floatsidf.S: Likewise.
4728 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4729 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4730 * config/arc/ieee-754/gtdf2.S: Likewise.
4731 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4732 * config/arc/ieee-754/uneqdf2.S: Likewise.
4733 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4734 * config/arc/ieee-754/uneqsf2.S: Likewise.
4735 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4736 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4737 * config/arc/ieee-754/eqdf2.S: Likewise.
4738 * config/arc/ieee-754/ordsf2.S: Likewise.
4739 * config/arc/ieee-754/divsf3.S: Likewise.
4740 * config/arc/ieee-754/divdf3.S: Likewise.
4741 * config/arc/ieee-754/floatunsidf.S: Likewise.
4742 * config/arc/ieee-754/orddf2.S: Likewise.
4743 * config/arc/ieee-754/eqsf2.S: Likewise.
4744 * config/arc/ieee-754/gedf2.S: Likewise.
4745 * config/arc/crtn.S: Likewise.
4746 * config/arc/crti.S: Likewise.
4747 * config/arc/t-arc700-uClibc: Likewise.
4748 * config/arc/asm.h: Likewise.
4749 * config/arc/libgcc-excl.ver: Likewise.
4750 * config/arc/t-arc-newlib: Likewise.
4751 * config/arc/divtab-arc700.c: Likewise.
4752 * config/arc/initfini.c: Likewise.
4753 * config/arc/fp-hack.h: Likewise.
4755 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4756 Diego Novillo <dnovillo@google.com>
4758 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4759 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4760 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4761 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4763 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4764 Brendan Kehoe <brendan@zen.org>
4765 Simon Cook <simon.cook@embecosm.com>
4767 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4768 * config/arc: New directory.
4769 * longlong.h [__arc__] (umul_ppmm): Remove.
4770 [__arc__] (__umulsidi3): Define.
4771 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4772 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4774 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4776 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4778 * config/i386/gthr-win32.h: Likewise.
4780 2013-09-16 DJ Delorie <dj@redhat.com>
4782 * config/rl78/vregs.h: Add G10 register definitions.
4783 * config/rl78/lib2mul.c: Enable for RL78/G10.
4784 * config/rl78/lib2div.c: Likewise.
4785 * config/rl78/lshrsi3.S: Use vregs.h.
4786 * config/rl78/cmpsi2.S: Likewise.
4787 * config/rl78/trampoline.S: Likewise.
4788 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4790 2013-09-14 DJ Delorie <dj@redhat.com>
4791 Nick Clifton <nickc@redhat.com>
4793 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4794 * config/rl78/vregs.h: New.
4795 * config/rl78/signbit.S: New file. Implements signbit function.
4796 * config/rl78/divmodsi.S: New.
4797 * config/rl78/divmodhi.S: New.
4798 * config/rl78/divmodqi.S: New.
4799 * config/rl78/t-rl78: Build them here...
4800 * config/rl78/lib2div.c: ...but not here.
4802 2013-09-12 DJ Delorie <dj@redhat.com>
4804 * config.host (msp*-*-elf): New.
4805 * config/msp430/: New port.
4807 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4809 PR gcov-profile/58127
4810 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4811 __thread var for emulated TLS.
4812 (__gcov_indirect_call_counters): Likewise.
4814 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4815 Catherine Moore <clm@codesourcery.com>
4816 Richard Sandiford <rdsandiford@googlemail.com>
4818 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4819 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4820 (CALL_STUB_NO_RET): Likewise.
4821 (CALL_STUB_RET): Likewise.
4822 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4823 __mips16_ret call/return stub symbols.
4824 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4827 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4829 * config.host <mips*-*-linux*>: Remove a stray comment.
4831 2013-08-10 Jan Hubicka <jh@suse.cz>
4833 Work around binutils PR14342
4834 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4835 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4836 (L_gcov_indirect_call_profiler_v2): New.
4838 2013-08-06 Jan Hubicka <jh@suse.cz>
4840 * libgcov.c (__gcov_indirect_call_callee,
4841 __gcov_indirect_call_counters): New global vars.
4842 (__gcov_indirect_call_profiler): replace by ...
4843 (__gcov_indirect_call_profiler_v2) ... this one.
4845 2013-08-06 Caroline Tice <cmtice@google.com>
4847 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4848 vtv_start_preinit.o and vtv_end_preinit.o.
4849 * configure.ac: Add code to check/set enable_vtable_verify.
4850 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4852 * vtv_start_preinit.c: New file.
4853 * vtv_end_preinit.c: New file.
4854 * vtv_start.c: New file.
4855 * vtv_end.c: New file.
4856 * configure: Regenerated.
4858 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4860 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4861 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4862 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4863 GPL-3.0-with-GCC-exception.
4865 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4867 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4870 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4872 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4873 mapping for FPRs when creating the fallback framestate.
4875 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4878 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4879 (__round_s2_const, __round_u2_const)
4880 (__round_s4_const, __round_u4_const, __round_x8):
4881 Saturate result if addition result cannot be represented.
4883 2013-07-15 Matthias Klose <doko@ubuntu.com>
4885 * libgcc2.c: Don't include <limits.h>.
4887 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4889 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4891 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4894 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4896 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4899 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4901 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4902 instead of table lookups.
4903 (__popcountDI2): Likewise.
4905 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4907 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4910 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4913 * soft-fp/adddf3.c: Update from glibc.
4914 * soft-fp/addsf3.c: Likewise.
4915 * soft-fp/addtf3.c: Likewise.
4916 * soft-fp/divdf3.c: Likewise.
4917 * soft-fp/divsf3.c: Likewise.
4918 * soft-fp/divtf3.c: Likewise.
4919 * soft-fp/double.h: Likewise.
4920 * soft-fp/eqdf2.c: Likewise.
4921 * soft-fp/eqsf2.c: Likewise.
4922 * soft-fp/eqtf2.c: Likewise.
4923 * soft-fp/extenddftf2.c: Likewise.
4924 * soft-fp/extended.h: Likewise.
4925 * soft-fp/extendsfdf2.c: Likewise.
4926 * soft-fp/extendsftf2.c: Likewise.
4927 * soft-fp/fixdfdi.c: Likewise.
4928 * soft-fp/fixdfsi.c: Likewise.
4929 * soft-fp/fixsfdi.c: Likewise.
4930 * soft-fp/fixsfsi.c: Likewise.
4931 * soft-fp/fixtfdi.c: Likewise.
4932 * soft-fp/fixtfsi.c: Likewise.
4933 * soft-fp/fixunsdfdi.c: Likewise.
4934 * soft-fp/fixunsdfsi.c: Likewise.
4935 * soft-fp/fixunssfdi.c: Likewise.
4936 * soft-fp/fixunssfsi.c: Likewise.
4937 * soft-fp/fixunstfdi.c: Likewise.
4938 * soft-fp/fixunstfsi.c: Likewise.
4939 * soft-fp/floatdidf.c: Likewise.
4940 * soft-fp/floatdisf.c: Likewise.
4941 * soft-fp/floatditf.c: Likewise.
4942 * soft-fp/floatsidf.c: Likewise.
4943 * soft-fp/floatsisf.c: Likewise.
4944 * soft-fp/floatsitf.c: Likewise.
4945 * soft-fp/floatundidf.c: Likewise.
4946 * soft-fp/floatundisf.c: Likewise.
4947 * soft-fp/floatunditf.c: Likewise.
4948 * soft-fp/floatunsidf.c: Likewise.
4949 * soft-fp/floatunsisf.c: Likewise.
4950 * soft-fp/floatunsitf.c: Likewise.
4951 * soft-fp/gedf2.c: Likewise.
4952 * soft-fp/gesf2.c: Likewise.
4953 * soft-fp/getf2.c: Likewise.
4954 * soft-fp/ledf2.c: Likewise.
4955 * soft-fp/lesf2.c: Likewise.
4956 * soft-fp/letf2.c: Likewise.
4957 * soft-fp/muldf3.c: Likewise.
4958 * soft-fp/mulsf3.c: Likewise.
4959 * soft-fp/multf3.c: Likewise.
4960 * soft-fp/negdf2.c: Likewise.
4961 * soft-fp/negsf2.c: Likewise.
4962 * soft-fp/negtf2.c: Likewise.
4963 * soft-fp/op-1.h: Likewise.
4964 * soft-fp/op-2.h: Likewise.
4965 * soft-fp/op-4.h: Likewise.
4966 * soft-fp/op-8.h: Likewise.
4967 * soft-fp/op-common.h: Likewise.
4968 * soft-fp/quad.h: Likewise.
4969 * soft-fp/single.h: Likewise.
4970 * soft-fp/soft-fp.h: Likewise.
4971 * soft-fp/subdf3.c: Likewise.
4972 * soft-fp/subsf3.c: Likewise.
4973 * soft-fp/subtf3.c: Likewise.
4974 * soft-fp/truncdfsf2.c: Likewise.
4975 * soft-fp/trunctfdf2.c: Likewise.
4976 * soft-fp/trunctfsf2.c: Likewise.
4977 * soft-fp/unorddf2.c: Likewise.
4978 * soft-fp/unordsf2.c: Likewise.
4979 * soft-fp/unordtf2.c: Likewise.
4980 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4981 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4982 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4983 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4984 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4985 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4986 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4987 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4988 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4989 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4990 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4991 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4993 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4995 * config/mips/lib2funcs.c: New file.
4996 * config/mips/t-mips (LIB2ADD_ST): Add it.
4998 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5001 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5002 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5004 2013-06-08 Walter Lee <walt@tilera.com>
5006 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5007 Replace int64_t with long long. Add __extension__ where
5009 * config/tilepro/atomic.c: Include config.h.
5011 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5013 * config.host (arm-wrs-vxworks): Configure with other soft float.
5015 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5017 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5018 (mips64r5900el-*-elf*): New configurations.
5020 2013-06-04 Alan Modra <amodra@gmail.com>
5022 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5024 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5026 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5028 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5030 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5031 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5032 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5034 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5036 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5037 (powerpc-wrs-vxworks): Likewise.
5039 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5041 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5042 signal frames as well.
5043 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5044 STACK_BIAS to the CFA offset.
5046 2013-05-17 Richard Henderson <rth@redhat.com>
5049 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5050 (execute_cfa_program): Use it when storing to fs->regs.
5052 2013-05-08 Kai Tietz <ktietz@redhat.com>
5054 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5055 (__deregister_frame_info): Likewise.
5057 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5059 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5062 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5064 2013-04-25 Alan Modra <amodra@gmail.com>
5066 * config.host: Match little-endian powerpc-linux.
5068 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5070 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5071 as 'unsigned long long' instead of 'unsigned long'.
5072 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5075 2013-04-10 Julian Brown <julian@codesourcery.com>
5077 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5078 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5079 unsigned char/unsigned short.
5080 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5082 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5085 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5087 2013-04-04 Meador Inge <meadori@codesourcery.com>
5089 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5090 computing the location of the link register.
5091 (aeabi_uldivmod): Ditto.
5093 2013-03-27 Kai Tietz <ktietz@redhat.com>
5095 * config.host: Add support for cygwin x64 target.
5096 * configure: Regenerated.
5098 2013-03-26 Walter Lee <walt@tilera.com>
5100 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5101 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5103 2013-03-25 Kai Tietz <ktietz@redhat.com>
5105 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5107 2013-03-20 Robert Mason <rbmj@verizon.net>
5109 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5110 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5111 (__gthread_leave_tsd_dtor_context): Add prototypes.
5112 (tls_delete_hook): Update.
5114 2013-03-20 Catherine Moore <clm@codesourcery.com>
5115 Joseph Myers <joseph@codesourcery.com>
5116 Chao-ying Fu <fu@mips.com>
5118 * config/mips/mips16.S: Don't build for microMIPS.
5119 * config/mips/linux-unwind.h: Handle microMIPS frame.
5120 * config/mips/crtn.S (fini, init): New labels.
5122 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5124 PR tree-optimization/53265
5125 * unwind-dw2.c (execute_cfa_program): Avoid
5126 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5127 on targets with DWARF_FRAME_REGISTERS < 32.
5129 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5132 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5133 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5135 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5137 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5138 sandybridge processors.
5140 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5143 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5146 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5148 * config/microblaze/crti.S: Setup stack protection at entry
5150 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5152 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5153 (__rotldi3): Shift bytewise if applicable.
5155 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5157 * config/aarch64/sync-cache.c
5158 (__aarch64_sync_cache_range): Silence warnings.
5160 2013-02-25 Catherine Moore <clm@codesourcery.com>
5163 2013-02-24 Catherine Moore <clm@codesourcery.com>
5164 Joseph Myers <joseph@codesourcery.com>
5165 Chao-ying Fu <fu@mips.com>
5167 * config/mips/mips16.S: Don't build for microMIPS.
5168 * config/mips/linux-unwind.h: Handle microMIPS frame.
5169 * config/mips/crtn.S (fini, init): New labels.
5171 2013-02-24 Catherine Moore <clm@codesourcery.com>
5172 Joseph Myers <joseph@codesourcery.com>
5173 Chao-ying Fu <fu@mips.com>
5175 * config/mips/mips16.S: Don't build for microMIPS.
5176 * config/mips/linux-unwind.h: Handle microMIPS frame.
5177 * config/mips/crtn.S (fini, init): New labels.
5179 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5180 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5183 2013-02-16 Alan Modra <amodra@gmail.com>
5186 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5187 (ppc_fallback_frame_state): Always set up save locations for fp
5188 and altivec. Don't bother with non-callee-saved regs, r0-r13
5189 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5191 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5194 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5196 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5197 _ssmulha3, _usmulusa3, _ssmulsa3.
5198 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5199 (__muldi3): XCALL __muldi3_6 instead of rcall.
5200 (__umulsidi3, __mulsidi3): New functions.
5201 (do_prologue_saves, do_epilogue_restores): New .macros.
5202 (__divdi3_moddi3): Use them.
5203 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5204 (__usmulusa3, __ssmulsa3): New functions.
5206 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5207 Jack Howarth <howarth@bromo.med.uc.edu>
5208 Patrick Marlier <patrick.marlier@gmail.com>
5211 * config/darwin-crt-tm.c: Remove dummy functions hack.
5213 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5216 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5217 * config/avr/lib2-object.mk: New iterator to build objects from it.
5218 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5220 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5221 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5222 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5223 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5224 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5225 * config/avr/lib1funcs-fixed.S: Implement them.
5227 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5229 Update copyright years.
5231 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5234 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5235 Add crtcxa to extra_parts.
5236 * config/rs6000/exit.h: New file.
5237 * config/rs6000/cxa_atexit.c: New file.
5238 * config/rs6000/cxa_finalize.c: New file.
5239 * config/rs6000/crtcxa.c: New file.
5240 * config/rs6000/t-aix-cxa: New file.
5241 * config/rs6000/libgcc-aix-cxa.ver: New file.
5243 2013-01-31 Nick Clifton <nickc@redhat.com>
5245 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5248 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5251 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5252 _mulQQ, _mulHQ, _mulHA, _mulSA,
5253 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5254 _divQQ, _divHQ, _divHA, _divSA,
5255 _divUQQ, _divUHQ, _divUHA, _divUSA.
5257 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5259 * config.host(microblaze*-linux*): tmake_file: Remove
5260 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5261 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5262 to exclude functions from being built with libgcc.c and use
5263 the microblaze assembly.
5265 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5267 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5270 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5272 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5273 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5274 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5275 alignment operation.
5277 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5279 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5280 loop start address for cache clearing.
5282 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5284 * config/avr/lib1funcs.S: Remove trailing blanks.
5285 * config/avr/lib1funcs-fixed.S: Ditto.
5287 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5289 * config/avr/avr-lib.h: Add GPL copyright notice.
5291 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5293 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5294 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5295 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5296 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5298 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5300 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5301 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5303 2013-01-04 Nick Clifton <nickc@redhat.com>
5305 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5306 the CALLT instruction is supported.
5308 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5310 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5311 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5313 2012-12-13 John Tytgat <John@bass-software.com>
5315 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5318 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5321 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5322 undefined signed overflows.
5324 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5327 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5329 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5331 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5332 (FP_TRAPPING_EXCEPTIONS): Define.
5333 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5334 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5336 2012-12-04 Richard Henderson <rth@redhat.com>
5339 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5341 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5343 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5344 (FP_EX_SHIFT): Define.
5345 (FP_TRAPPING_EXCEPTIONS): Define.
5347 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5349 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5350 (FP_ROUNDMODE): Use FP_RND_MASK.
5351 * config/aarch64/sfp-exceptions.c: New.
5352 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5353 Use __sfp_handle_exceptions.
5355 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5357 * config.host: (arm*-*-freebsd*): Remove.
5358 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5359 (arm*-*-elf*): Remove.
5360 (arm*-*-wince-pe*): Remove.
5361 * arm/unwind-arm.c (struct fpa_reg): Delete.
5362 (struct fpa_regs): Delete.
5363 (phase1_vrs): Remove fpa element.
5364 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5365 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5366 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5367 * ieee754-sf.S (floatundisf): Remove FPA support.
5368 (floatdisf): Likewise.
5369 * ieee75f-df.S (floatundidf): Likewise.
5370 (floatdidf): Likewise.
5372 2012-11-29 Kai Tietz <ktietz@redhat.com>
5375 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5376 * unwind-generic.h: Likewise.
5377 * unwind-seh.c: Likewise.
5379 2012-11-28 Richard Henderson <rth@redhat.com>
5382 * emutls.c (__emutls_get_address): Avoid race condition between
5383 obj->loc.offset read and emutls_key initialization.
5385 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5387 Adjust decimal point of signed accum mode to GCC default.
5390 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5392 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5393 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5394 (__mulha3, __mulsa3)
5395 (__divqq3, __divha3, __divsa3): Adjust to new position of
5396 decimal point of signed accum types.
5398 (__mulusa3_round): New function.
5399 (__mulusa3): Use it.
5400 (__divqq_helper): New function.
5401 (__udivuqq3): Use it.
5403 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5406 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5408 2012-11-18 Teresa Johnson <tejohnson@google.com>
5411 * libgcov.c (gcov_exit): Remove merged program summary
5412 comparison unless !GCOV_LOCKED.
5414 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5416 * soft-fp: Updated from glibc upstream.
5418 2012-11-06 Ian Lance Taylor <iant@google.com>
5420 * generic-morestack.c (__generic_morestack): Align the returned
5421 stack pointer to a 32 byte boundary.
5422 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5423 increment the return address until we have decided that we don't
5424 have a varargs function.
5425 (__morestack) [32-bit]: Align stack correctly when calling C
5427 (__morestack) [64-bit]: Likewise.
5429 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5431 * configure: Regenerate.
5433 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5436 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5437 * config/i386/sfp-machine.h: Guard exception handling
5438 code with _SOFT_FLOAT.
5439 * config/i386/32/sfp-machine.h: Guard rounding handling
5440 code with _SOFT_FLOAT.
5441 * config/i386/64/sfp-machine.h: Ditto.
5443 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5445 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5448 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5450 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5451 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5452 when appropriate. Correct structure element types.
5453 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5454 -minline-all-stringops from compile flags.
5456 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5458 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5460 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5462 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5464 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5466 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5469 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5470 Jim MacArthur <jim.macarthur@arm.com>
5471 Marcus Shawcroft <marcus.shawcroft@arm.com>
5472 Nigel Stephens <nigel.stephens@arm.com>
5473 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5474 Richard Earnshaw <rearnsha@arm.com>
5475 Sofiane Naci <sofiane.naci@arm.com>
5476 Stephen Thomas <stephen.thomas@arm.com>
5477 Tejas Belagod <tejas.belagod@arm.com>
5478 Yufeng Zhang <yufeng.zhang@arm.com>
5480 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5481 * config/aarch64/crti.S: New file.
5482 * config/aarch64/crtn.S: New file.
5483 * config/aarch64/linux-unwind.h: New file.
5484 * config/aarch64/sfp-machine.h: New file.
5485 * config/aarch64/sync-cache.c: New file.
5486 * config/aarch64/t-aarch64: New file.
5487 * config/aarch64/t-softfp: New file.
5489 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5491 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5492 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5493 no-longer-needed LDBU insns.
5495 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5498 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5499 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5501 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5503 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5505 2012-10-15 Matthias Klose <doko@ubuntu.com>
5507 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5509 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5511 * configure: Regenerate.
5512 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5514 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5516 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5517 instructions for 64bit targets only.
5519 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5521 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5522 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5523 * config/i386/32/sfp-machine.h: ... here.
5524 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5525 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5528 2012-10-07 Matthias Klose <doko@ubuntu.com>
5530 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5532 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5534 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5536 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5537 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5538 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5541 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5544 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5545 Fix parameter names.
5547 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5550 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5551 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5552 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5554 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5557 * config/sh/linux-atomic.S: Delete.
5558 * config/sh/linux-atomic.c: New.
5559 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5560 linux-atomic.c. Add cflags to disable warnings.
5562 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5565 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5567 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5568 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5569 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5570 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5571 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5573 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5575 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5577 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5578 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5580 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5582 * config.host (hppa-*-openbsd*): New target.
5583 * config/pa/t-openbsd: New file.
5585 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5588 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5589 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5590 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5591 (__divsa3): Use __negsi2 to negate r_quoL.
5592 * config/avr/lib1funcs.S (FALIAS): New macro.
5593 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5594 (__negsi2): ...this new function.
5595 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5596 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5597 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5598 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5599 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5600 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5602 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5605 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5606 (lshrsi3): Reimplement as lshrsi3_r0.
5608 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5611 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5614 2012-09-07 Teresa Johnson <tejohnson@google.com>
5616 PR gcov-profile/54487
5617 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5620 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5623 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5624 not configured --with-avrlibc=no.
5625 * config/avr/t-avrlibc: New file.
5626 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5627 (DPBIT_FUNCS): Ditto.
5628 (TPBIT_FUNCS): Ditto.
5630 2012-09-04 Teresa Johnson <tejohnson@google.com>
5632 * libgcov.c (struct gcov_summary_buffer): New structure.
5633 (gcov_histogram_insert): New function.
5634 (gcov_compute_histogram): Ditto.
5635 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5636 histograms during summary merging.
5638 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5640 * config.host (x86_64-*-openbsd*): New target.
5642 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5644 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5647 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5650 * config/avr/t-avr (conv_X): Rename to func_X.
5652 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5655 * config/avr/lib1funcs-fixed.S: New file.
5656 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5657 after they are used.
5658 (neg2, neg4): New macros.
5659 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5660 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5661 (__umulhisi3): Speed up MUL variant if there is enough flash.
5662 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5664 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5665 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5666 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5667 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5668 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5669 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5670 (LIB2FUNCS_EXCLUDE): Add supported functions.
5672 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5674 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5675 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5677 * fixed-obj.mk: Only expand dependency if $o is not in
5680 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5682 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5684 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5686 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5687 depend on --enable-shared.
5688 ($(lib1asmfuncs-o)): Use %.vis files independent of
5690 * static-object.mk ($(base)$(objext), $(base).vis)
5691 ($(base)_s$(objext)): Use same rules for visibility handling as in
5694 2012-08-21 Ian Lance Taylor <iant@google.com>
5696 * config/i386/morestack.S (__morestack_non_split): Increase amount
5697 of space allocated for non-split code stack.
5699 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5701 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5702 even if inhibit_libc.
5704 2012-08-17 Julian Brown <julian@codesourcery.com>
5706 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5707 -fexceptions -fnon-call-exceptions if not defined.
5708 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5709 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5711 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5713 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5716 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5718 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5719 rs6000/t-slibgcc-aix.
5721 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5723 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5725 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5727 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5729 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5732 * Makefile.in (version): Replace top_srcdir with srcdir.
5734 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5736 * Makefile.in (version): set to BASE-VER file from gcc directory.
5738 2012-08-01 Nick Clifton <nickc@redhat.com>
5740 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5741 Implements __clrsb for an HImode argument.
5743 2012-07-31 Nick Clifton <nickc@redhat.com>
5745 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5746 Implements __clrsb for an HImode argument.
5747 * config/stormy16/clrsbhi2.c: New file:
5748 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5750 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5752 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5754 2012-07-19 Tristan Gingold <gingold@adacore.com>
5755 Richard Henderson <rth@redhat.com>
5757 * unwind-seh.c: New file.
5758 * unwind-generic.h: Include windows.h for SEH.
5759 (_Unwind_Exception): Use 6 private fields for SEH.
5760 (_GCC_specific_handler): Declare.
5761 * unwind-c.c (__gcc_personality_seh0): New function.
5763 * config/i386/libgcc-cygming.ver: New file.
5764 * config/i386/t-seh-eh: New file.
5765 * config.host (x86_64-*-mingw*): Default to seh.
5767 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5769 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5771 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5773 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5774 __builtin_expect when checking for exceptions.
5775 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5777 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5779 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5780 function declaration.
5781 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5783 * config/ia64/sfp-exceptions.c: New.
5784 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5786 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5788 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5789 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5790 * config/i386/64/sfp-machine: ... (delete here) ...
5791 * config/i386/sfp-machine.h: ... to here.
5792 (FP_EX_MASK): Remove.
5794 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5796 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5798 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5799 * config/i386/libgcc-sol2.ver: Ditto.
5800 * config/i386/libgcc-glibc.ver: Ditto.
5802 2012-06-11 Roland McGrath <mcgrathr@google.com>
5804 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5805 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5808 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5810 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5811 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5812 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5813 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5814 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5815 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5816 * config/i386/64/sfp-machine: ... (delete here) ...
5817 * config/i386/sfp-machine.h: ... to here.
5819 (__sfp_handle_exceptions): New function declaration.
5820 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5821 * config/i386/sfp-exceptions.c: New.
5822 * config/i386/t-softfp: New.
5823 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5824 i386/t-softfp to tmake_file.
5826 2012-06-03 David S. Miller <davem@davemloft.net>
5828 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5831 2012-05-31 David S. Miller <davem@davemloft.net>
5833 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5834 multiply and divide instructions on 32-bit when V9.
5835 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5837 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5839 * config/arm/ieee754-df.S: Fix typos.
5840 * config/arm/ieee754-sf.S: Fix typos.
5841 * config/c6x/libunwind.S: Fix typos.
5842 * config/epiphany/udivsi3-float.c: Fix typos.
5843 * config/microblaze/muldi3_hard.S: Fix typos.
5844 * config/picochip/adddi3.S: Fix typos.
5845 * config/picochip/ashlsi3.S: Fix typos.
5846 * config/picochip/ashrsi3.S: Fix typos.
5847 * config/picochip/clzsi2.S: Fix typos.
5848 * config/picochip/cmpsi2.S: Fix typos.
5849 * config/picochip/divmod15.S: Fix typos.
5850 * config/picochip/divmodhi4.S: Fix typos.
5851 * config/picochip/divmodsi4.S: Fix typos.
5852 * config/picochip/longjmp.S: Fix typos.
5853 * config/picochip/lshrsi3.S: Fix typos.
5854 * config/picochip/parityhi2.S: Fix typos.
5855 * config/picochip/popcounthi2.S: Fix typos.
5856 * config/picochip/setjmp.S: Fix typos.
5857 * config/picochip/subdi3.S: Fix typos.
5858 * config/picochip/ucmpsi2.S: Fix typos.
5859 * config/picochip/udivmodhi4.S: Fix typos.
5860 * config/picochip/udivmodsi4.S: Fix typos.
5861 * config/spu/divv2df3.c: Fix typos.
5862 * config/spu/mfc_multi_tag_release.c: Fix typos.
5863 * config/spu/mfc_tag_release.c: Fix typos.
5864 * configure.ac: Fix typos.
5865 * configure: Regenerate.
5867 2012-05-25 Ian Lance Taylor <iant@google.com>
5869 * config/i386/morestack.S (__morestack_non_split): Check whether
5870 caller is varargs and needs %bp to hold the stack frame on return.
5872 2012-05-25 Olivier Hainque <hainque@adacore.com>
5874 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5875 sequence in the non pic case on VxWorks.
5877 2012-05-24 Olivier Hainque <hainque@adacore.com>
5879 * Makefile.in: Move dependency on install-unwind_h from
5880 "install-leaf" to "install".
5882 2012-05-24 Olivier Hainque <hainque@adacore.com>
5884 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5885 Use a separate command for stamp removals.
5887 2012-05-21 Andrew Pinski <apinski@cavium.com>
5890 * configure.ac: Define the default includes to being none.
5891 * configure: Regenerate.
5893 2012-05-16 Olivier Hainque <hainque@adacore.com>
5895 * Makefile.in (install-unwind_h): Rename into ...
5896 (install-unwind_h-forbuild): New target.
5897 (all): Use it instead of the former install-unwind_h.
5898 (install-unwind_h): Reinstate, copy to user install destination
5899 for include files, not to the internal gcc object directory one.
5900 (install-leaf): Depend on it.
5902 2012-05-15 Olivier Hainque <hainque@adacore.com>
5904 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5905 register numbers. LR_REGNO replaces R_LR.
5906 (ucontext_for): New, helper for ...
5907 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5909 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5911 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5913 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5914 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5915 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5917 (i[34567]86-*-*, x86_64-*-*): ... here.
5919 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5920 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5922 * config/i386/i386-cpuinfo.c: Rename to ...
5923 * config/i386/cpuinfo.c: ... this.
5924 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5926 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5927 (libgcc_cv_init_priority): New test.
5928 * configure: Regenerate.
5929 * config.in: New file.
5930 * Makefile.in (clean): Rename config.h to auto-target.h.
5931 (config.h): Likewise.
5932 (stamp-h): Likewise.
5934 * config/i386/cpuinfo.c (auto-target.h): Include.
5935 (CONSTRUCTOR_PRIORITY): Define.
5936 (__cpu_indicator_init): Use it.
5938 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5940 * longlong.h: Use a URL instead of an FSF postal address.
5941 Replace spaces with tab.
5943 2012-05-08 Teresa Johnson <tejohnson@google.com>
5945 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5946 (__gcov_dump): Ditto.
5947 (gcov_dump_complete): New global variable.
5948 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5949 (__gcov_flush): Outline functionality now in gcov_clear.
5950 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5952 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5954 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5955 (mips*-*-linux*): Include mips/t-tpbit when long double is
5958 2012-04-25 Sriraman Tallam <tmsriram@google.com>
5960 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5961 (get_available_features): New argument. Check for AVX2.
5962 (__cpu_indicator_init): Modify call to get_available_features.
5964 2012-04-25 Alan Modra <amodra@gmail.com>
5966 * config/rs6000/crtsavevr.S: New file.
5967 * config/rs6000/crtrestvr.S: New file.
5968 * config/rs6000/t-savresfgpr: Build the above.
5969 * config/rs6000/t-netbsd: Likewise.
5971 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5973 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5975 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5977 * libgcc/config/i386/i386-cpuinfo.c: New file.
5978 * libgcc/config/i386/t-cpuinfo: New file.
5979 * libgcc/config.host: Include t-cpuinfo.
5980 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5982 2012-04-24 Chao-ying Fu <fu@mips.com>
5984 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5986 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5988 struct siginfo vs. siginfo_t
5990 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5991 siginfo_t instead of struct siginfo.
5992 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5993 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5994 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5995 (ia64_handle_unwabi): Likewise.
5996 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5997 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5998 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5999 (sh_fallback_frame_state): Likewise.
6000 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6001 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6003 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6005 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6008 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6010 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6011 if it hasn't been previously saved.
6013 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6015 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6018 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6021 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6022 instead of __AVR_HAVE_8BIT_SP__.
6024 2012-03-26 Tristan Gingold <gingold@adacore.com>
6026 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6027 (unw_table_entry): Use unw_word instead of unsigned long.
6028 (_Unwind_FindTableEntry): Likewise.
6029 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6030 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6031 (_Unwind_FindTableEntry): Likewise.
6032 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6033 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6034 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6035 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6036 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6037 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6038 (uw_init_context_1, uw_install_context): Likewise.
6039 (unw_word): Move to unwind-ia64.h
6041 2012-03-26 Tristan Gingold <gingold@adacore.com>
6043 * config/vms/vms-ucrt0.c: Update copyright years.
6045 (___gcc_main_flags): Declare.
6046 (__main): Check flags to remap argv and exit code.
6047 * config.host (*-*-*vms*): Adjust extra_parts.
6048 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6051 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6053 * arm/lib1funcs.asm (ctzsi2): New function.
6054 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6055 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6056 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6057 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6058 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6059 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6061 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6063 * config.host: Add bits to support powerpc64-*-freebsd*.
6064 * config/rs6000/freebsd-unwind.h: New file.
6065 * config/rs6000/t-freebsd64: New file.
6067 2012-03-20 Richard Guenther <rguenther@suse.de>
6069 PR gcov-profile/52627
6070 * libgcov.c (init_mx): Fix mutex name.
6072 2012-03-16 Tristan Gingold <gingold@adacore.com>
6074 * config/ia64/vms-unwind.h: Remove ulong (and replace
6075 it by unw_reg where used). Define unw_reg with __int64.
6077 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6079 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6081 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6083 (sparc_is_sighandler): Likewise.
6085 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6087 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6090 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6092 * config/arm/crtn.S: Fix typo.
6094 2012-03-13 Richard Guenther <rguenther@suse.de>
6096 * libgcov.c: Remove stdio.h include and NULL un-define.
6098 2012-03-13 Richard Guenther <rguenther@suse.de>
6101 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6103 2012-03-13 Richard Guenther <rguenther@suse.de>
6105 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6107 2012-03-13 Richard Guenther <rguenther@suse.de>
6109 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6110 and __gthread_mutex_init_function definitions.
6112 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6114 * config.host (mips*-*-openbsd*): Remove.
6116 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6118 * config.host: Remove alpha*-dec-osf5.1* handling.
6119 * config/alpha/gthr-posix.c: Remove.
6120 * config/alpha/libgcc-osf5.ver: Remove.
6121 * config/alpha/osf5-unwind.h: Remove.
6122 * config/alpha/t-osf-pthread: Remove.
6123 * config/alpha/t-slibgcc-osf: Remove.
6124 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6125 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6126 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6127 * mkmap-flat.awk: Remove osf_export handling.
6129 2012-03-12 Richard Guenther <rguenther@suse.de>
6131 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6132 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6133 (__gthread_mutex_init_function): New function.
6134 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6137 * libgcov.c: Include gthr.h.
6138 (__gcov_flush_mx): New global variable.
6139 (init_mx, init_mx_once): New functions.
6140 (__gcov_flush): Protect self with a mutex.
6141 (__gcov_fork): Re-initialize mutex after forking.
6142 * unwind-dw2-fde.c: Change condition under which to use
6143 __GTHREAD_MUTEX_INIT_FUNCTION.
6145 2012-03-12 Tristan Gingold <gingold@adacore.com>
6147 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6148 * config/ia64/t-vms: Likewise.
6150 2012-03-11 Michael Hope <michael.hope@linaro.org>
6152 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6155 2012-03-07 Walter Lee <walt@tilera.com>
6157 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6159 (atomic_xor): Rename and move definition to
6160 config/tilepro/atomic.h.
6161 (atomic_nand): Ditto.
6162 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6164 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6165 (arch_atomic_nand): Ditto.
6167 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6170 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6172 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6175 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6178 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6182 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6183 if RAMPZ affects reading from RAM.
6184 (__tablejump_elpm__): Ditto.
6186 (__movmemx_hi): Ditto.
6187 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6188 (__do_global_dtors): Ditto.
6189 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6190 (__movmemx_hi): Ditto.
6192 2012-03-05 Richard Henderson <rth@redhat.com>
6194 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6195 [ARM] (count_trailing_zeros): Use the builtin.
6197 2012-03-01 Kai Tietz <ktietz@redhat.com>
6199 * soft-fp: Imported from glibc upstream.
6201 2012-02-28 Kai Tietz <ktietz@redhat.com>
6203 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6204 for mingw-targets as attribute gcc_struct.
6206 2012-02-28 Ian Lance Taylor <iant@google.com>
6208 * generic-morestack.c (__splitstack_releasecontext): Correct call
6209 to __morestack_release_segments.
6211 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6214 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6215 for __linux__ when removing signals from __morestack_fullmask.
6217 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6220 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6222 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6224 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6225 instead of HAVE_INITFINI_ARRAY.
6226 * config/ia64/crtend.S: Likewise.
6228 2012-02-20 Kai Tietz <ktietz@redhat.com>
6231 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6233 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6234 to w32-unwind.h header.
6236 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6238 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6239 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6240 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6241 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6243 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6245 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6247 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6250 * config/darwin-crt-tm.c: Correct typo.
6252 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6253 Patrick Marlier <patrick.marlier@gmail.com>
6256 * config/darwin-crt-tm.c: Generate dummy functions.
6258 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6259 Patrick Marlier <patrick.marlier@gmail.com>
6262 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6263 (__doTMRegistrations): Call it.
6264 (__doTMdeRegistrations): Likewise.
6266 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6267 Anatoly Sokolov <aesok@post.ru>
6268 Eric Weddington <eric.weddington@atmel.com>
6271 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6272 (__epilogue_restores__): Ditto.
6274 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6278 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6279 Solaris 11 and slightly reformat.
6280 (sparc_is_sighandler): Likewise.
6282 2012-02-14 Walter Lee <walt@tilera.com>
6284 * config.host: Handle tilegx and tilepro.
6285 * config/tilegx/sfp-machine.h: New file.
6286 * config/tilegx/sfp-machine32.h: New file.
6287 * config/tilegx/sfp-machine64.h: New file.
6288 * config/tilegx/t-crtstuff: New file.
6289 * config/tilegx/t-softfp: New file.
6290 * config/tilegx/t-tilegx: New file.
6291 * config/tilepro/atomic.c: New file.
6292 * config/tilepro/atomic.h: New file.
6293 * config/tilepro/linux-unwind.h: New file.
6294 * config/tilepro/sfp-machine.h: New file.
6295 * config/tilepro/softdivide.c: New file.
6296 * config/tilepro/softmpy.S: New file.
6297 * config/tilepro/t-crtstuff: New file.
6298 * config/tilepro/t-tilepro: New file.
6300 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6304 * gthr-posix.h: Allow static initializer macros to be disabled.
6305 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6307 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6309 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6310 Add t-slibgcc-libgcc to tmake_file.
6311 * config/mips/libgcc-mips16.ver: Revert previous patch.
6312 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6314 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6315 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6317 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6318 * config/cr16/crti.S: New file.
6319 * config/cr16/crtlibid.S: New file.
6320 * config/cr16/crtn.S: New file.
6321 * config/cr16/lib1funcs.S: New file.
6322 * config/cr16/t-cr16: New file.
6323 * config/cr16/t-crtlibid: New file.
6324 * config/cr16/unwind-dw2.h: New file.
6325 * config/cr16/unwind-cr16.c: New file.
6326 * config/cr16/divmodhi3.c: New file.
6328 2012-01-25 Alan Modra <amodra@gmail.com>
6330 * config/rs6000/t-linux64: Delete. Move..
6331 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6332 * config/rs6000/t-linux: ..and libgcc flags to here.
6334 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6336 * config.host (i[34567]86-*-interix3*):
6337 Change triplet to i[34567]86-*-interix[3-9]*.
6338 * configure: Regenerate.
6340 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6341 Richard Sandiford <rdsandiford@googlemail.com>
6343 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6344 * config/mips/mips16.S (__mips16_rdhwr): New function.
6345 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6347 2012-01-11 Nathan Sidwell <nathan@acm.org>
6349 * libgcov.c (__gcov_init): Ignore objects with no functions.
6351 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6354 Extend __pgmx semantics to linearize memory.
6355 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6356 * config/avr/lib1funcs.S (__xload_1): New function.
6357 (__movmemx_qi, __movmemx_hi): New functions.
6358 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6361 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6363 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6364 purported sigacthandler address isn't null before dereferencing it.
6365 (sparc_is_sighandler): Likewise.
6367 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6370 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6371 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6372 (sparc_is_sighandler): Likewise.
6373 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6375 2012-01-06 Tristan Gingold <gingold@adacore.com>
6377 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6378 compatibility thunks...
6379 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6380 (crtbeginS.o, crtendS.o): ... and these to ...
6381 * config/ia64/t-ia64-elf: ... this new file.
6382 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6383 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6385 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6387 * configure: Regenerate.
6388 * config/s390/t-crtstuff: Remove -fPIC.
6390 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6393 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6396 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6399 * config/avr/lib1funcs.S: Remove FIXME comments.
6400 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6402 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6404 Implement light-weight DImode support.
6405 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6406 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6407 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6408 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6410 2011-12-30 Nathan Sidwell <nathan@acm.org>
6412 * libgcov.c (gcov_crc32): Remove global var.
6413 (free_fn_data): New function.
6414 (buffer_fn_data): Pass in filename, more robust error recovery.
6415 (crc32_unsigned): New function.
6416 (gcov_exit): More robust detection of new program. More robust
6418 (__gcov_init): Do not update program's crc here.
6420 2011-12-21 Tristan Gingold <gingold@adacore.com>
6422 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6424 2011-12-21 Ian Lance Taylor <iant@google.com>
6426 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6428 2011-12-20 Ian Lance Taylor <iant@google.com>
6430 * config/i386/morestack.S (__morestack_non_split): If there is
6431 enough stack space already, don't split. Ask for more stack space
6434 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6436 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6438 (_Unwind_DebugHook): New function.
6439 (uw_restore_core_regs): New define.
6440 (unwind_phase2): Use uw_restore_core_regs instead of
6442 (unwind_phase2_forced): Likewise.
6443 (__gnu_Unwind_Resume): Likewise.
6445 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6447 * config/alpha/linux-unwind.h: Update copyright years.
6448 (MD_FROB_UPDATE_CONTEXT): New define.
6449 (alpha_frob_update_context): New function.
6451 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6453 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6454 tmake_file rather replacing it.
6456 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6458 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6459 function is not used for PPC64.
6460 (save_world): Amend comments. Update the VRsave mask to reflect the
6462 (rest_world): Update comments, do not clobber r10, do not use r8.
6463 (eh_rest_world_r10): Amend comments, do not use r8.
6464 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6465 no longer used, move restore of CR and target address to the end of
6468 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6470 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6471 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6473 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6476 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6477 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6479 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6481 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6483 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6486 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6487 * config/avr/lib1funcs.S (__muldi3): New function.
6489 2011-12-06 Andrew Pinski <apinski@cavium.com>
6491 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6493 (__frame_dummy_init_array_entry): Likewise.
6495 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6497 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6501 * config/avr/lib1funcs.S (__prologue_saves__,
6502 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6503 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6505 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6507 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6509 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6512 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6513 (_ITM_deregisterTMCloneTable): Likewise.
6514 (__register_frame_info): Fix unused warning.
6515 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6516 pthread_default_stacksize_np): Likewise.
6517 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6519 2011-11-29 DJ Delorie <dj@redhat.com>
6521 * config.host (rl78-*-elf): New case.
6522 * config/rl78: New directory for the Renesas RL78.
6524 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6526 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6529 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6532 * config/rs6000/t-savresfgpr: New file.
6533 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6534 $(srcdir)/config/rs6000/eabi.S.
6535 * config/rs6000/t-ppccomm-ldbl: Remove.
6536 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6538 (powerpc-*-eabispe*): Likewise.
6539 (powerpc-*-eabi*): Likewise.
6540 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6541 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6542 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6543 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6545 (powerpc-*-eabisim*): Likewise.
6546 (powerpc-*-elf*): Likewise.
6547 (powerpc-*-eabialtivec*): Likewise.
6548 (powerpc-xilinx-eabi*): Likewise.
6549 (powerpc-*-rtems*): Likewise.
6550 (powerpcle-*-elf*): Likewise.
6551 (powerpcle-*-eabisim*): Likewise.
6552 (powerpcle-*-eabi*): Likewise.
6554 2011-11-27 Ian Lance Taylor <iant@google.com>
6556 * generic-morestack.c (__splitstack_find): Check for NULL old
6558 (__splitstack_resetcontext): New function.
6559 (__splitstack_releasecontext): New function.
6560 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6562 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6564 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6566 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6568 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6570 2011-11-26 Richard Henderson <rth@redhat.com>
6572 * config/m68k/linux-atomic.c: New file.
6573 * config/m68k/t-linux: New file.
6574 * config.host (m68k-uclinux, m68k-linux): Use it.
6576 2011-11-26 Richard Henderson <rth@redhat.com>
6578 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6579 (__TMC_END__): Only declare if hidden is available; in the definition,
6580 if hidden is unavailable add a null record.
6581 (deregister_tm_clones, register_tm_clones): New.
6582 (__do_global_dtors_aux, frame_dummy): Use them.
6583 (__do_global_dtors, __do_global_ctors_1): Likewise.
6585 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6587 * config/darwin-crt-tm.c: New file.
6588 * config.host (darwin): Build crttms.o crttme.o to provide
6589 startup and shutdown for tm clones.
6590 * config/t-darwin (crttms.o): New build rule.
6591 (crttme.o): Likewise.
6593 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6595 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6598 2011-11-21 Richard Henderson <rth@redhat.com>
6600 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6601 (__TMC_LIST__, __TMC_END__): New.
6602 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6603 (__do_global_dtors): Likewise.
6604 (frame_dummy): Call _ITM_registerTMCloneTable.
6605 (__do_global_ctors_1): Likewise.
6607 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6609 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6610 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6611 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6612 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6613 * config/i386/t-darwin64: Remove.
6614 * config/sh/t-netbsd (LIB2ADD): Remove.
6616 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6619 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6620 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6621 * config/avr/lib1funcs.S (wmov): New assembler macro.
6622 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6623 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6624 (__udivmod64): New function.
6625 (__negdi2): New function.
6627 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6629 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6630 *-*-freebsd*aout*): Remove.
6632 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6634 * static-object.mk (c_flags-$o): Save c_flags.
6635 ($(base)$(objext)): Use it.
6637 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6639 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6641 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6644 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6645 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6648 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6650 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6652 (aeabi_uidivmod): Likewise.
6653 (umodsi3): Likewise.
6655 (aeabi_idivmod): Likewise.
6658 2011-11-16 Tristan Gingold <gingold@adacore.com>
6660 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6662 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6665 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6666 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6668 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6670 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6672 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6673 * config/pa/t-stublib64: Delete.
6675 2011-11-12 Richard Henderson <rth@redhat.com>
6677 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6678 cast the pointer argument to _Unwind_SetGRPtr.
6680 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6682 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6684 2011-11-09 Ian Lance Taylor <iant@google.com>
6686 * generic-morestack.c: Include <string.h>.
6687 (uintptr_type): Define.
6688 (struct initial_sp): Add dont_block_signals field. Reduce size of
6690 (allocate_segment): Set prev field to NULL. Don't set
6691 __morestack_current_segment or __morestack_segments.
6692 (__generic_morestack): Update current->prev and *pp after calling
6694 (__morestack_block_signals): Don't do anything if
6695 dont_block_signals is set.
6696 (__morestack_unblock_signals): Likewise.
6697 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6699 (__splitstack_block_signals): New function.
6700 (enum __splitstack_content_offsets): Define.
6701 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6702 (__splitstack_makecontext): New function.
6703 (__splitstack_block_signals_context): New function.
6704 (__splitstack_find_context): New function.
6705 * config/i386/morestack.S (__morestack_get_guard): New function.
6706 (__morestack_set_guard, __morestack_make_guard): New functions.
6707 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6709 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6711 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6712 (i[34567]86-*-mingw*): ... here.
6713 (x86_64-*-mingw*): ... here.
6715 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6717 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6719 2011-11-07 Nathan Sidwell <nathan@acm.org>
6721 * libgcov.c (struct gcov_fn_buffer): New struct.
6722 (buffer_fn_data): New helper.
6723 (gcov_exit): Rework for new gcov data structures.
6725 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6728 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6730 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6732 * config.host (tmake_file): Correct comment.
6733 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6735 (bfin*-uclinux*): Likewise.
6736 (bfin*-linux-uclibc*): Likewise.
6737 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6739 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6741 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6742 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6743 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6744 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6745 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6746 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6747 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6748 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6749 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6750 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6751 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6752 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6753 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6755 * config/bfin/t-elf: Remove.
6756 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6758 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6760 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6761 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6762 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6763 (lm32-*-elf*): ... this.
6764 (lm32-*-rtems*): ... and this.
6766 (m32r-*-rtems*): Add to tmake_file.
6767 (moxie-*-rtems*): Likewise.
6768 (sparc-*-rtems*): Likewise.
6769 Remove t-rtems from tmake_file.
6770 (sparc64-*-rtems*): Likewise.
6771 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6774 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6777 * config/gthr-posix.h: Move ...
6778 * gthr-posix.h: ... here.
6779 * config/gthr-lynx.h: Reflect this.
6780 * config/gthr-vxworks.h: Likewise.
6781 * config/rs6000/gthr-aix.h: Likewise.
6782 * configure.ac (target_thread_file): Likewise.
6783 * configure: Regenerate.
6785 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6787 * config.host (arm*-*-rtemseabi*): New target.
6789 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6792 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6795 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6797 * config.host (epiphany-*-elf*): New configuration.
6798 * config/epiphany: New Directory.
6800 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6802 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6803 * config/avr/t-rtems: New.
6804 Filter out _exit from LIB1ASMFUNCS.
6806 2011-11-04 David S. Miller <davem@davemloft.net>
6808 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6809 * configure: Rebuild.
6811 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6813 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6816 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6819 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6820 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6822 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6825 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6827 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6829 * config/c6x/t-elf (LIB2ADDEH): Set.
6830 * config/c6x/t-c6x-elf: Remove.
6832 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6834 * config/i386/sol2-ci.S: Rename to ...
6835 * config/i386/crti.S: ... this.
6836 * config/i386/sol2-cn.S: Rename to ...
6837 * config/i386/crtn.S: ... this.
6838 * config/sparc/sol2-ci.S: Rename to ...
6839 * config/sparc/crti.S: ... this.
6840 * config/sparc/sol2-cn.S: Rename to ...
6841 * config/sparc/crtn.S: ... this.
6842 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6843 (crti.o, crtn.o): Remove.
6845 2011-11-04 Tristan Gingold <gingold@adacore.com>
6847 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6849 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6851 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6853 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6855 * config.host (crisv32-*-none, cris-*-none): Remove.
6856 (crisv32-*-elf): Append to tmake_file, don't just set it.
6857 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6859 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6861 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6862 (ecrtn$(objext)): Likewise.
6863 (ncrti$(objext)): Likewise.
6864 (ncrtn$(objext)): Likewise.
6866 2011-11-03 Andreas Schwab <schwab@redhat.com>
6868 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6870 2011-11-02 David S. Miller <davem@davemloft.net>
6872 * configure.ac: Set host_address on sparc too.
6873 * configure: Regenerate.
6874 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6875 based upon host_address.
6876 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6878 2011-11-02 Jason Merrill <jason@redhat.com>
6880 * config/rs6000/t-ppccomm: Add missing \.
6882 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6884 * gthr-single.h, gthr.h: New files.
6885 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6886 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6887 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6888 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6889 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6890 * configure.ac (thread_header): New variable.
6891 Set it depending on target_thread_file.
6892 (gthr-default.h): Link from $thread_header.
6893 * configure: Regenerate.
6894 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6896 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6898 * configure.ac (tm_file_): New variable.
6899 Determine from tm_file.
6900 (tm_file, tm_defines): Substitute.
6901 * configure: Regenerate.
6902 * mkheader.sh: New file.
6903 * Makefile.in (clean): Remove libgcc_tm.h.
6904 ($(objects)): Depend on libgcc_tm.h.
6905 (libgcc_tm_defines, libgcc_tm_file): New variables.
6906 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6907 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6908 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6909 ($(extra-parts)): Depend on libgcc_tm.h.
6910 * config.host (tm_defines, tm_file): New variable.
6911 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6912 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6913 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6914 (avr-*-rtems*): Likewise.
6915 (avr-*-*): Likewise.
6916 (frv-*-elf): Likewise.
6917 (frv-*-*linux*): Likewise.
6918 (h8300-*-rtems*): Likewise.
6919 (h8300-*-elf*): Likewise.
6920 (i[34567]86-*-darwin*): Likewise.
6921 (x86_64-*-darwin*): Likewise.
6922 (rx-*-elf): Likewise.
6923 (tic6x-*-uclinux): Likewise.
6924 (tic6x-*-elf): Likewise.
6925 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6926 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6927 * config/i386/cygming-crtbegin.c: Likewise.
6928 * config/i386/cygming-crtend.c: Likewise.
6929 * config/ia64/fde-vms.c: Likewise.
6930 * config/ia64/unwind-ia64.c: Likewise.
6931 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6932 * config/rs6000/darwin-fallback.c: Likewise.
6933 * config/stormy16/lib2funcs.c: Likewise.
6934 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6935 * crtstuff.c: Likewise.
6936 * dfp-bit.h: Likewise.
6937 * emutls.c: Likewise.
6938 * fixed-bit.c: Likewise.
6939 * fp-bit.c: Likewise.
6940 * generic-morestack-thread.c: Likewise.
6941 * generic-morestack.c: Likewise.
6942 * libgcc2.c: Likewise.
6943 * libgcov.c: Likewise.
6944 * unwind-dw2-fde-dip.c: Likewise.
6945 * unwind-dw2-fde.c: Likewise.
6946 * unwind-dw2.c: Likewise.
6947 * unwind-sjlj.c: Likewise.
6949 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6951 * configure.ac: Include ../config/picflag.m4.
6952 (GCC_PICFLAG): Call it.
6954 * configure: Regenerate.
6955 * Makefile.in (gcc_srcdir): Remove.
6956 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6957 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6958 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6959 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6960 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6963 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6964 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6965 to refer to libgcc2.c.
6967 * config/darwin-64.c: New file.
6968 * config/darwin-crt3.c: Remove comment.
6969 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6970 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6971 config/udivmodsi4.c: New files.
6972 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6973 config/memset.c: New files.
6974 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6975 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6976 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6977 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6978 * config/t-openbsd-thread: New file.
6979 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6980 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6981 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6982 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6985 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6986 to refer to gthr-posix.c.
6987 * config/alpha/t-vms (LIB2ADD): Set.
6988 * config/alpha/vms-gcc_shell_handler.c: New file.
6989 * config/arm/bpabi.c, config/arm/fp16.c,
6990 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6991 config/arm/unaligned-funcs.c: New files.
6992 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6993 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6994 * config/arm/t-linux: Likewise.
6995 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6996 * config/arm/t-netbsd: New file.
6997 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6998 * config/arm/t-symbian (LIB2ADD_ST): Set.
6999 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7000 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7001 * config/bfin/t-elf: New file.
7002 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7003 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7004 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7005 config/c6x/ltf.c: New files.
7006 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7007 (HOST_LIBGCC2_CFLAGS): Set.
7008 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7009 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7010 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7012 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7013 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7014 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7015 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7016 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7018 * config/frv/t-frv (LIB2ADD): Set.
7019 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7020 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7021 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7022 config/h8300/popcounthi2.c: New files.
7023 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7024 * config/i386/gthr-win32.c: New file.
7025 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7026 * config/i386/t-cygwin: Likewise.
7027 * config/i386/t-darwin, config/i386/t-darwin64,
7028 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7029 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7030 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7031 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7032 * config/ia64/quadlib.c: New file.
7033 * config/ia64/t-hpux (LIB2ADD): Set.
7034 * config/ia64/t-ia64: Add comment.
7035 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7036 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7037 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7038 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7039 * config/m32c/t-m32c (LIB2ADD): Set.
7040 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7041 * config/m32r/t-m32r: Likewise.
7042 * config/m68k/fpgnulib.c: New file.
7043 * config/m68k/t-floatlib (LIB2ADD): Set.
7044 (xfgnulib.c): New target.
7045 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7046 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7047 * config/mep/t-mep (LIB2ADD): Set.
7048 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7049 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7050 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7051 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7052 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7053 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7054 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7055 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7056 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7057 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7059 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7060 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7061 * config/pa/fptr.c, config/pa/lib2funcs.S,
7062 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7063 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7064 (LIB2ADD, LIB2ADD_ST): Set.
7065 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7066 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7068 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7069 * config/pdp11/t-pdp11: New file.
7070 * config/picochip/libgccExtras/adddi3.S,
7071 config/picochip/libgccExtras/ashlsi3.S,
7072 config/picochip/libgccExtras/ashrsi3.S,
7073 config/picochip/libgccExtras/clzsi2.S,
7074 config/picochip/libgccExtras/cmpsi2.S,
7075 config/picochip/libgccExtras/divmod15.S,
7076 config/picochip/libgccExtras/divmodhi4.S,
7077 config/picochip/libgccExtras/divmodsi4.S,
7078 config/picochip/libgccExtras/lshrsi3.S,
7079 config/picochip/libgccExtras/parityhi2.S,
7080 config/picochip/libgccExtras/popcounthi2.S,
7081 config/picochip/libgccExtras/subdi3.S,
7082 config/picochip/libgccExtras/ucmpsi2.S,
7083 config/picochip/libgccExtras/udivmodhi4.S,
7084 config/picochip/libgccExtras/udivmodsi4.S: New files.
7085 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7086 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7087 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7088 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7089 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7090 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7091 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7092 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7094 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7095 (HOST_LIBGCC2_CFLAGS): Set.
7096 * config/rs6000/t-darwin64: New file.
7097 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7098 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7099 * config/rs6000/t-ppccomm (LIB2ADD): Add
7100 $(srcdir)/config/rs6000/tramp.S.
7101 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7102 Add $(srcdir)/config/rs6000/eabi.S.
7103 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7104 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7105 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7106 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7107 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7108 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7109 * config/rs6000/tramp.S: New file.
7110 * config/s390/t-tpf: Remove.
7111 * config/sh/linux-atomic.S: New file.
7112 * config/sh/t-linux (LIB2ADD): Set.
7113 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7114 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7115 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7117 (HOST_LIBGCC2_CFLAGS): Set.
7118 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7119 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7120 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7121 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7122 config/spu/mfc_multi_tag_release.c,
7123 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7124 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7125 config/spu/multi3.c: New files.
7126 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7127 (HOST_LIBGCC2_CFLAGS): Set.
7128 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7129 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7130 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7131 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7132 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7133 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7134 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7135 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7136 config/stormy16/umodsi3.c: New files.
7137 * config/xtensa/lib2funcs.S: New file.
7138 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7139 * config/xtensa/t-xtensa (LIB2ADD): Set.
7140 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7141 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7142 Add t-freebsd-thread to tmake_file for posix threads.
7143 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7144 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7145 (*-*-lynxos*): Likewise.
7146 (*-*-netbsd*): Likewise.
7147 (*-*-openbsd*): Likewise.
7148 Add t-openbsd-thread to tmake_file for posix threads.
7149 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7150 (*-*-vxworks*): Set tmake_file.
7151 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7152 (alpha*-*-freebsd*): Likewise.
7153 (alpha*-*-netbsd*): Likewise.
7154 (alpha*-*-openbsd*): Likewise.
7155 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7156 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7157 (alpha*-dec-*vms*): Likewise.
7158 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7159 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7160 (bfin*-uclinux*): Likewise.
7161 (bfin*-linux-uclibc*): Likewise.
7162 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7163 (crisv32-*-none): Likewise.
7164 (cris-*-elf): Likewise.
7165 (cris-*-none): Likewise.
7166 (cris-*-linux*, crisv32-*-linux*): Likewise.
7167 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7169 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7171 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7172 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7173 (x86_64-*-elf*): Likewise.
7174 (i[34567]86-*-nto-qnx*): Likewise.
7175 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7177 (x86_64-*-mingw*): Likewise.
7178 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7179 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7180 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7181 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7182 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7184 (mipsisa64sr71k-*-elf*): Likewise.
7185 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7186 (mips-*-elf*, mipsel-*-elf*): Likewise.
7187 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7188 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7189 (mips*-*-rtems*): Likewise.
7190 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7192 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7193 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7194 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7195 (spu-*-elf*): Likewise.
7196 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7198 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7200 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7201 $(srcdir) to refer to $(LIB1ASMSRC).
7203 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7204 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7205 config/arm/lib1funcs.S: New files.
7206 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7207 * config/arm/t-arm: New file.
7208 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7209 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7210 config/arm/t-strongarm-elf: New files.
7211 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7212 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7213 * config/avr/lib1funcs.S: New file.
7214 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7215 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7216 * config/c6x/lib1funcs.S: New file.
7217 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7218 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7219 * config/frv/lib1funcs.S: New file.
7220 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7221 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7222 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7223 * config/ia64/__divxf3.asm: Rename to ...
7224 * config/ia64/__divxf3.S: ... this.
7225 Adapt lib1funcs.asm filename.
7226 * config/ia64/_fixtfdi.asm: Rename to ...
7227 * config/ia64/_fixtfdi.S: ... this.
7228 Adapt lib1funcs.asm filename.
7229 * config/ia64/_fixunstfdi.asm: Rename to ...
7230 * config/ia64/_fixunstfdi.S: ... this.
7231 Adapt lib1funcs.asm filename.
7232 * config/ia64/_floatditf.asm: Rename to ...
7233 * config/ia64/_floatditf.S: ... this.
7234 Adapt lib1funcs.asm filename.
7235 * config/ia64/lib1funcs.S: New file.
7236 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7237 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7238 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7239 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7240 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7241 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7242 * config/mep/lib1funcs.S: New file.
7243 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7244 * config/mips/mips16.S: New file.
7245 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7246 * config/pa/milli64.S: New file.
7247 * config/pa/t-linux, config/pa/t-linux64: New files.
7248 * config/picochip/lib1funcs.S: New file.
7249 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7250 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7251 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7252 * config/sh/t-netbsd: New file.
7253 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7254 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7255 * config/sh/t-sh64: New file.
7256 * config/sparc/lb1spc.S: New file.
7257 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7259 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7260 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7261 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7262 config/xtensa/lib1funcs.S: New files.
7263 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7264 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7266 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7267 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7268 (arm*-*-linux*): Likewise.
7269 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7270 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7271 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7272 (arm*-*-ecos-elf): Likewise.
7273 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7274 (arm*-*-rtems*): Likewise.
7275 (arm*-*-elf): Likewise.
7276 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7277 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7278 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7279 (bfin*-uclinux*): Likewise.
7280 (bfin*-linux-uclibc*): Likewise.
7281 (bfin*-rtems*): Likewise.
7282 (bfin*-*): Likewise.
7283 (fido-*-elf): Merge into m68k-*-elf*.
7284 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7285 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7286 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7287 (h8300-*-elf*): Likewise.
7288 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7289 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7290 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7291 (i[34567]86-*-mingw*): Likewise.
7292 (x86_64-*-mingw*): Likewise.
7293 (i[34567]86-*-interix3*): Likewise.
7294 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7295 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7296 (m68k-*-elf*): Also handle fido-*-elf.
7297 Add m68k/t-floatlib to tmake_file.
7298 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7299 (m68k-*-linux*): Likewise.
7300 (m68k-*-rtems*): Likewise.
7301 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7302 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7304 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7305 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7306 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7307 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7308 sh/t-netbsd to tmake_file.
7309 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7310 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7311 (sh-wrs-vxworks): Likewise.
7312 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7314 (v850*-*-*): Add v850/t-v850 to tmake_file.
7315 (vax-*-linux*): Add vax/t-linux to tmake_file.
7316 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7318 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7320 * crtstuff.c: New file.
7321 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7322 (CRTSTUFF_T_CFLAGS): Define.
7323 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7324 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7325 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7328 (crtbeginT.o): Use $(objext).
7329 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7330 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7331 (gcc-extra-parts): Remove.
7332 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7334 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7335 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7336 Add t-crtstuff-pic to tmake_file.
7337 (*-*-lynxos*): New case.
7338 Set tmake_file, extra_parts.
7339 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7340 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7341 *-*-netbsdelf[2-9]*.
7342 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7343 (*-*-rtems*): Set extra_parts.
7344 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7345 (*-*-uclinux*): New case.
7347 (*-*-vms*): New case.
7348 Set tmake_file, extra_parts.
7349 (*-*-elf): Set extra_parts.
7350 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7351 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7354 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7356 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7357 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7358 (arm-wrs-vxworks): Append to tmake_file.
7360 (arm*-*-uclinux*): Set extra_parts.
7361 (arm*-*-ecos-elf): Likewise.
7362 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7364 (arm*-*-rtems*): Set extra_parts.
7365 (arm*-*-elf): Likewise.
7366 (avr-*-rtems*): Clear extra_parts.
7367 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7369 (bfin*-uclinux*): Likewise.
7370 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7371 (bfin*-rtems*): Append to tmake_file.
7373 (bfin*-*): Likewise.
7374 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7375 (crisv32-*-elf): ... this.
7376 (crisv32-*-none): ... this.
7377 (cris-*-elf, cris-*-none): New cases.
7378 Add cris/t-elfmulti to tmake_file.
7379 (fr30-*-elf): Append to tmake_file.
7381 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7383 (h8300-*-rtems*): Append to tmake_file.
7385 (h8300-*-elf*): Likewise.
7386 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7388 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7390 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7391 (x86_64-*-elf*): Likewise.
7392 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7393 (x86_64-*-freebsd*): Likewise.
7394 (x86_64-*-netbsd*): Likewise.
7395 (i[34567]86-*-linux*): Likewise.
7396 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7397 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7398 (x86_64-*-linux*): Likewise.
7399 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7400 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7403 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7404 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7405 Append to extra_parts, remove crtbegin.o, crtend.o.
7406 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7407 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7408 crtend.o, crtbeginS.o, crtendS.o.
7409 (ia64*-*-linux*): Comment extra_parts.
7410 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7412 (iq2000*-*-elf*): Clear extra_parts.
7413 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7414 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7415 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7416 (m32r-*-rtems*): ... this.
7417 Add m32r/t-m32r to tmake_file.
7418 (m68k-*-elf*): Add t-crtin to tmake_file.
7419 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7420 (mcore-*-elf): Likewise.
7421 (microblaze*-*-*): Set extra_parts.
7422 (mips*-sde-elf*): New case.
7423 Set tmake_file, extra_parts.
7424 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7425 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7426 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7429 (mipsisa64sr71k-*-elf*): Likewise.
7430 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7431 (mips-*-elf*, mipsel-*-elf*): Likewise.
7432 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7433 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7434 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7435 (mips*-*-rtems*): Likewise.
7436 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7437 (moxie-*-*): Split into ...
7438 (moxie-*-elf, moxie-*-uclinux*): ... this.
7439 Add to extra_parts, remove crtbegin.o, crtend.o.
7440 (moxie-*-rtems*): New case.
7443 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7445 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7446 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7449 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7450 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7452 (powerpc-*-eabisim*): Likewise.
7453 (powerpc-*-elf*): Likewise.
7454 (powerpc-*-eabialtivec*): Likewise.
7455 (powerpc-xilinx-eabi*): Likewise.
7456 (powerpc-*-eabi*): Likewise.
7457 (powerpc-*-rtems*): Likewise.
7458 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7461 (powerpc-*-lynxos*): Add to tmake_file.
7462 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7463 rs6000/t-crtstuff, t-crtstuff-pic.
7465 (powerpcle-*-eabisim*): Likewise.
7466 (powerpcle-*-eabi*): Likewise.
7467 (rx-*-elf): Remove extra_parts.
7468 (s390x-ibm-tpf*): Set extra_parts.
7469 (score-*-elf): Set extra_parts.
7470 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7471 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7472 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7473 (sh64l*-*-netbsd*): Split into ...
7474 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7475 Add t-crtstuff-pic to tmake_file.
7477 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7479 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7480 (sparc-*-elf*): Remove t-crtin from tmake_file.
7481 Add to extra_parts, remove crtbegin.o, crtend.o.
7482 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7483 (sparc64-*-linux*): Likewise.
7484 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7485 Add to extra_parts, remove crtbegin.o, crtend.o.
7486 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7487 Add to extra_parts, remove crtbegin.o, crtend.o.
7488 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7489 Add to extra_parts, remove crtbegin.o, crtend.o.
7490 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7491 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7492 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7494 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7496 (tic6x-*-*): Change to ...
7497 (tic6x-*-elf): ... this.
7499 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7501 (am33_2.0-*-linux*): Add comment.
7502 (mep*-*-*): Add mep/t-mep to tmake_file.
7504 * config/alpha/t-vms: New file.
7505 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7506 * config/arm/crti.S, config/arm/crtn.S: New files.
7507 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7508 * config/bfin/crtlibid.S: New file.
7509 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7510 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7511 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7512 (crti.o, crtin.o): New rules.
7513 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7514 * config/c6x/t-uclinux: New file.
7515 * config/cris/t-elfmulti: New file.
7516 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7517 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7518 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7519 * config/frv/t-frv: New file.
7520 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7521 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7522 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7524 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7525 refer to cygming-crtbegin.c, cygming-crtend.c.
7527 * config/i386/t-nto: New file.
7528 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7529 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7530 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7531 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7534 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7535 (crtinitS.o): New rule.
7536 * config/ia64/vms-crtinit.S: New file.
7537 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7538 * config/m32r/initfini.c: New file.
7539 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7540 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7541 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7542 * config/mep/t-mep: New file.
7543 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7544 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7545 * config/mips/crti.S, config/mips/crtn.S: New files.
7546 * config/mips/t-crtstuff: New file.
7547 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7548 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7549 (CUSTOM_CRTIN): Set.
7550 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7552 Use $(srcdir) to refer to crti.S, crtn.S.
7553 Use .S extension, $<.
7554 * config/moxie/crti.asm: Rename to ...
7555 * config/moxie/crti.S: ... this.
7556 * config/moxie/crtn.asm: Rename to ...
7557 * config/moxie/crtn.S: ... this.
7558 * config/moxie/t-moxie: Remove.
7559 * config/pa/stublib.c: New file.
7560 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7561 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7562 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7563 * config/rs6000/t-crtstuff: New file.
7564 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7565 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7566 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7567 Make output file explicit.
7568 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7569 Make output file explicit.
7570 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7571 Make output file explicit.
7572 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7573 Make output file explicit.
7574 * config/score/crti.S, config/score/crtn.S: New files.
7575 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7576 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7578 * config/sh/t-sh, config/sh/t-superh: New files.
7579 * config/sparc/t-linux64: New file.
7580 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7581 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7582 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7583 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7584 * config/t-crtin: Remove.
7585 * config/t-crtstuff-pic: New file.
7586 * config/t-sol2 (CUSTOM_CRTIN): Set.
7587 (crti.o, crtn.o): New rules.
7588 * config/vms/t-vms: New file.
7589 * config/vms/vms-ucrt0.c: New file.
7590 * config/xtensa/t-elf: New file.
7592 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7594 * Makefile.in (SHLIB_NM_FLAGS): Set.
7595 * mkmap-flat.awk, mkmap-symver.awk: New files.
7596 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7598 * configure: Regenerate.
7599 * config/libgcc-glibc.ver: New file.
7600 * config/libgcc-libsystem.ver: New file.
7601 * config/t-libunwind (SHLIB_LC): Set.
7602 * config/t-linux: New file.
7603 * config/t-slibgcc (INSTALL_SHLIB): New.
7604 (SHLIB_INSTALL): Use it.
7605 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7606 to mkmap-symver.awk.
7607 (SHLIB_MAPFILES): Don't append, adapt pathname.
7608 (SHLIB_VERPFX): Set.
7609 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7610 to mkmap-symver.awk.
7611 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7612 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7613 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7614 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7616 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7617 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7618 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7619 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7620 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7621 * config/i386/libgcc-darwin.10.4.ver,
7622 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7624 * config/i386/t-darwin: Remove.
7625 * config/i386/t-darwin64: Likewise.
7626 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7627 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7628 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7629 * config/i386/t-linux: New file.
7630 * config/i386/t-mingw32: New file.
7631 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7632 * config/ia64/t-glibc: Rename to ...
7633 * config/ia64/t-linux: ... this.
7634 (SHLIB_MAPFILES): Set.
7635 * config/ia64/t-glibc-libunwind: Rename to ...
7636 * config/ia64/t-linux-libunwind: ... this.
7637 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7638 * config/ia64/t-slibgcc-hpux: New file.
7639 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7640 * config/m68k/t-slibgcc-elf-ver: New file.
7641 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7642 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7644 * config/pa/t-slibgcc-hpux: New file.
7645 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7647 * config/rs6000/libgcc-darwin.10.4.ver,
7648 config/rs6000/libgcc-darwin.10.5.ver: New files.
7649 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7650 config/rs6000/libgcc-glibc.ver.
7651 * config/rs6000/libgcc-ppc64.ver: Rename to
7652 config/rs6000/libgcc-ibm-ldouble.ver.
7653 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7654 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7655 * config/rs6000/t-ldbl128: Rename to ...
7656 * config/rs6000/t-linux: ... this.
7657 (SHLIB_MAPFILES): Adapt filename.
7658 * config/rs6000/t-slibgcc-aix: New file.
7659 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7660 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7661 libgcc-excl.ver, libgcc-glibc.ver.
7662 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7663 * config/sparc/libgcc-glibc.ver: New file.
7664 * config/sparc/t-linux: New file.
7665 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7666 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7667 t-slibgcc-elf-ver to tmake_file.
7668 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7670 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7671 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7672 t-slibgcc-elf-ver, t-linux to tmake_file.
7673 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7675 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7676 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7677 (alpha*-dec-*vms*): Likewise.
7678 (arm*-*-freebsd*): Append to tmake_file.
7679 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7680 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7682 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7683 tmake_file for arm*-*-symbianelf*.
7684 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7685 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7687 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7688 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7689 pa/t-slibgcc-dwarf-ver to tmake_file.
7690 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7691 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7692 (hppa*64*-*-hpux11*): Likewise.
7693 (hppa[12]*-*-hpux11*): Likewise.
7694 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7695 i386/t-crtpc, i386/t-crtfm.
7696 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7697 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7699 Add i386/t-cygwin to tmake_file.
7700 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7701 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7702 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7704 Add i386/t-mingw32 to tmake_file.
7705 (x86_64-*-mingw*): Likewise.
7706 (ia64*-*-freebsd*): Append to tmake_file.
7707 (ia64*-*-linux*): Append to tmake_file.
7708 Replace ia64/t-glibc by ia64/t-linux.
7709 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7711 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7712 t-slibgcc-hpux to tmake_file.
7713 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7714 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7715 (m32rle-*-linux*): Likewise.
7716 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7718 (microblaze*-linux*): New case.
7719 Append to tmake_file, add t-slibgcc-nolc-override.
7720 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7721 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7722 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7723 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7724 rs6000/t-slibgcc-aix to tmake_file.
7725 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7726 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7727 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7728 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7729 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7730 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7732 (sparc-*-linux*): Append to tmake_file for *-leon*.
7733 Add sparc/t-linux to tmake_file for non-Leon targets.
7734 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7735 (tic6x-*-uclinux): New case.
7736 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7737 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7738 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7739 (am33_2.0-*-linux*): Append to tmake_file.
7740 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7741 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7742 x86_64-*-kfreebsd*-gnu.
7743 Add i386/t-linux to tmake_file.
7745 2011-10-28 Ian Lance Taylor <iant@google.com>
7747 * config/i386/morestack.S: Correct CFI information to do proper
7748 returns throughout function. In 32-bit mode, save %ebx so that it
7749 is restored on unwind.
7751 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7753 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7754 case where B3 isn't the return register.
7756 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7757 logic for doubleword pops.
7759 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7761 * config/rs6000/t-freebsd: Add wildcard.
7763 2011-10-21 Paul Brook <paul@codesourcery.com>
7765 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7767 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7768 Eric Botcazou <ebotcazou@adacore.com>
7771 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7772 fs->signal_frame to 1.
7774 2011-10-07 Ian Lance Taylor <iant@google.com>
7776 * generic-morestack-thread.c: #include <errno.h>.
7778 2011-10-07 Ian Lance Taylor <iant@google.com>
7781 * generic-morestack.c (__generic_morestack): Make sure the segment
7782 is large enough for both the stack frame and the copied
7785 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7788 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7791 2011-09-28 Nick Clifton <nickc@redhat.com>
7793 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7794 64-bit doubles are not enabled.
7795 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7796 and floatunsisf functions.
7798 2011-09-13 Paul Brook <paul@codesourcery.com>
7800 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7801 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7802 * unwind-arm-common.inc: New file.
7803 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7804 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7805 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7806 * config/c6x/libunwind.S: New file.
7807 * config/c6x/pr-support.c: New file.
7808 * config/c6x/unwind-c6x.c: New file.
7809 * config/c6x/unwind-c6x.h: New file.
7810 * config/c6x/t-c6x-elf: New file.
7812 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7814 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7815 (ASM_DIVZERO): Ditto.
7816 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7818 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7820 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7822 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7825 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7826 instead of an assembly one.
7828 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7831 * Makefile.in (install-unwind_h): Create
7832 $(gcc_objdir)/include/unwind.h atomically.
7834 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7836 * Makefile.in (install-unwind_h): Remove destination file first.
7838 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7841 * config/mips/t-mips16: New file.
7842 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7843 (mips*-*-linux*): Likewise.
7844 (mips*-sde-elf*): Likewise.
7845 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7846 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7847 Add mips/t-mips16 to tmake_file.
7848 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7849 (mips-*-elf*): Likewise.
7850 (mips64-*-elf*): Likewise.
7851 (mips64orion-*-elf*): Likewise.
7852 (mips*-*-rtems*): Likewise.
7853 (mipstx39-*-elf*): Likewise.
7854 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7855 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7857 Use $(srcdir) to refer to sync.c.
7859 ($(libgcc-sync-funcs-o)): Likewise.
7860 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7861 ($(libgcc-sync-funcs-s-o)): Likewise.
7863 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7865 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7868 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7871 * config/i386/value-unwind.h: New.
7873 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7875 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7876 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7877 Add to tmake_file rather than overriding it.
7879 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7881 * config/t-softfp: Remove.
7882 * soft-fp: Moved from ../gcc/config.
7883 * soft-fp/README: Remove t-softfp reference.
7884 * soft-fp/t-softfp: Move to config/t-softfp.
7885 (softfp_machine_header): Remove.
7886 (softfp_file_list): Remove config subdir.
7887 (soft-fp-objects): New variable.
7888 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7889 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7890 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7891 * config/t-softfp-excl: New file.
7892 * config/t-softfp-sfdf: New file.
7893 * config/t-softfp-tf: New file.
7894 * config/no-sfp-machine.h: New file.
7895 * config/arm/sfp-machine.h: New file.
7896 * config/arm/t-softfp: New file.
7897 * config/c6x/sfp-machine.h: New file.
7898 * config/i386/32/t-fprules-softfp: Rename to ...
7899 * config/i386/32/t-softfp: ... this.
7900 (tifunctions, LIB2ADD): Remove.
7901 (softfp_int_modes): Override.
7902 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7904 * config/i386/64/eqtf2.c: Likewise.
7905 * config/i386/64/getf2.c: Likewise.
7906 * config/i386/64/letf2.c: Likewise.
7907 * config/ia64/sft-machine.h: New file.
7908 * config/ia64/t-fprules-softfp: Rename to ...
7909 * config/ia64/t-softfp: ... this.
7910 * config/lm32/sfp-machine.h: New file.
7911 * config/moxie/t-moxie-softfp: Remove.
7912 * config/rs6000/ibm-ldouble-format: New file.
7913 * config/rs6000/ibm-ldouble.c: New file.
7914 * config/rs6000/libgcc-ppc-glibc.ver: New file
7915 * config/rs6000/libgcc-ppc64.ver: New file
7916 * config/rs6000/sfp-machine.h: New file.
7917 * config/rs6000/t-freebsd: New file.
7918 * config/rs6000/t-ibm-ldouble: New file.
7919 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7920 libgcc-ppc-glibc.ver.
7921 * config/rs6000/t-linux64: New file.
7922 * config/rs6000/t-ppccomm (LIB2ADD): Add
7923 $(srcdir)/config/rs6000/ibm-ldouble.c.
7924 * config/rs6000/t-ppccomm-ldbl: New file.
7925 * config/score/sfp-machine.h: New file.
7926 * config.host (sfp_machine_header): Explain.
7927 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7928 t-softfp to tmake_file.
7929 (arm*-*-uclinux*): Likewise.
7930 (arm*-*-ecos-elf): Likewise.
7931 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7932 (arm*-*-rtems*): Likewise.
7933 (arm*-*-elf): Likewise.
7934 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7936 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7937 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7938 (lm32-*-uclinux*): Likewise.
7939 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7940 t-softfp-excl, t-softfp.
7941 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7942 (powerpc64-*-darwin*): Likewise.
7943 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7945 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7947 (powerpc-*-eabisim*): Likewise.
7948 (powerpc-*-elf*): Likewise.
7949 (powerpc-*-eabialtivec*): Likewise.
7950 (powerpc-xilinx-eabi*): Likewise.
7951 (powerpc-*-rtems*): Likewise.
7952 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7953 t-softfp-excl, t-softfp to tmake_file.
7954 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7955 rs6000/t-ppccomm-ldbl to tmake_file.
7956 (powerpcle-*-elf*): Likewise.
7957 (powerpcle-*-eabisim*): Likewise.
7958 (powerpcle-*-eabi*): Likewise.
7959 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7960 rs6000/t-ibm-ldouble to tmake_file.
7961 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7962 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7963 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7964 (tic6x-*-*): Likewise.
7965 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7966 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7967 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7968 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7969 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7970 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7971 t-softfp to tmake_file.
7972 * configure.ac (sfp_machine_header): Provide default if unset.
7974 Link sfp-machine.h to config/$sfp_machine_header.
7975 * configure: Regenerate.
7977 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7979 * Makefile.in (double_type_size, long_double_type_size): Set.
7980 Remove $(fpbit-in-libgcc) support.
7981 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7982 (fpbit-src): New variable.
7983 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7984 Compile with -DFLOAT $(FPBIT_CFLAGS).
7986 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7987 Compile with $(FPBIT_CFLAGS).
7989 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7990 Compile with -DFLOAT $(TPBIT_CFLAGS).
7992 * configure.ac (double_type_size, long_double_type_size):
7993 Determine and substitute.
7994 * configure: Regenerate.
7995 * fp-bit.c, fp-bit.h: New files.
7996 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7997 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7998 * config/mips/t-mips: New file.
7999 * config/mips/t-sdemtk: New file.
8000 * config/rs6000/ppc64-fp.c: New file.
8001 * config/rs6000/t-darwin (LIB2ADD): Add
8002 $(srcdir)/config/rs6000/ppc64-fp.c.
8003 * config/rs6000/t-ppc64-fp: New file.
8004 * config/rx/rx-lib.h: New file.
8005 * config/rx/t-rx (FPBIT): Set to true.
8006 ($(gcc_objdir)/fp-bit.c): Remove.
8007 (DPBIT): Set to true only with -m64bit-doubles.
8008 ($(gcc_objdir)/dp-bit.c): Remove.
8009 * config/sparc/t-softfp: Remove.
8010 * config/spu/t-elf: New file.
8011 * config/t-fdpbit, config/t-fpbit: New files.
8012 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8013 (mips*-*-*): Likewise.
8014 (arm-wrs-vxworks): Likewise.
8015 (arm*-*-freebsd*): Likewise.
8016 (avr-*-rtems*): Add t-fpbit to tmake_file.
8017 (avr-*-*): Likewise.
8018 (bfin*-elf*): Add t-fdpbit to tmake_file.
8019 (bfin*-uclinux*): Likewise.
8020 (bfin*-linux-uclibc*): Likewise.
8021 (bfin*-rtems*): New case.
8022 Add t-fdpbit to tmake_file.
8023 (bfin*-*): Add t-fdpbit to tmake_file.
8024 (crisv32-*-elf): Likewise.
8025 (cris-*-linux*): Likewise.
8026 (fr30-*-elf): Likewise.
8027 (frv-*-elf, frv-*-*linux*): Likewise.
8028 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8029 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8030 (m32r-*-elf*): Likewise.
8031 (m32rle-*-elf*): Likewise.
8032 (m32r-*-linux*): Likewise.
8033 (m32rle-*-linux*): Likewise.
8034 (mcore-*-elf): Add t-fdpbit to tmake_file.
8035 (microblaze*-*-*): Likewise.
8036 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8037 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8038 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8040 Add mips/t-tpbit to tmake-file.
8041 (mips*-*-linux*): Fix typo.
8042 (mips*-sde-elf*): New case
8043 Add mips/t-sdemtk unless using newlib.
8044 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8045 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8046 (mn10300-*-*): Likewise.
8047 (pdp11-*-*): Likewise.
8048 (picochip-*-*): Add t-fpbit to tmake_file.
8049 (powerpc-*-eabisimaltivec*): Likewise.
8050 (powerpc-*-eabisim*): Likewise.
8051 (powerpc-*-elf*): Likewise.
8052 (powerpc-*-eabialtivec*): Likewise.
8053 (powerpc-xilinx-eabi*): New case.
8054 Add t-fdpbit to tmake_file.
8055 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8056 (powerpc-*-rtems*): Likewise.
8057 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8059 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8061 (powerpc-*-lynxos*): Likewise.
8062 (powerpcle-*-elf*): Likewise.
8063 (powerpcle-*-eabisim*): Likewise.
8064 (powerpcle-*-eabi*): Likewise.
8065 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8066 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8067 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8068 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8069 (rx-*-elf): Add t-fdpbit to tmake_file.
8070 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8071 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8072 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8073 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8075 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8076 (sh-wrs-vxworks): Likewise.
8077 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8078 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8079 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8080 (sparc64-*-rtems*): ... new case.
8081 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8082 (spu-*-elf*): Likewise.
8083 Add spu/t-elf to tmake_file.
8084 (v850*-*-*): Add t-fdpbit to tmake_file.
8085 (xstormy16-*-elf): Likewise.
8086 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8087 (mep*-*-*): Likewise.
8089 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8091 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8093 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8094 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8095 (install-unwind_h): New target.
8096 (all): Depend on it.
8097 * config.host (unwind_header): New variable.
8098 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8099 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8100 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8101 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8102 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8104 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8106 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8108 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8110 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8111 (ia64*-*-freebsd*): Likewise.
8112 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8114 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8115 $with_system_libunwind.
8116 (ia64*-*-hpux*): Set tmake_file.
8117 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8118 (picochip-*-*): Set tmake_file.
8119 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8121 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8122 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8123 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8124 (xtensa*-*-elf*): Set tmake_file.
8125 (xtensa*-*-linux*): Likewise.
8126 * configure.ac: Include ../config/unwind_ipinfo.m4.
8127 Call GCC_CHECK_UNWIND_GETIPINFO.
8128 Link unwind.h to $unwind_header.
8129 * configure: Regenerate.
8130 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8131 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8132 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8133 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8134 * config/unwind-dw2-fde-darwin.c: New file.
8135 * config/arm/libunwind.S, config/arm/pr-support.c,
8136 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8137 config/arm/unwind-arm.h,: New files.
8138 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8139 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8140 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8141 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8142 config/ia64/unwind-ia64.h: New files.
8143 * config/picochip/t-picochip: New file.
8144 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8146 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8147 * config/s390/t-tpf (LIB2ADDEH): Remove.
8148 * config/t-darwin (LIB2ADDEH): Set.
8149 * config/t-eh-dw2-dip: New file.
8150 * config/t-libunwind, config/t-libunwind-elf: New files.
8151 * config/t-sol2 (LIB2ADDEH): Remove.
8152 * config/xtensa/t-xtensa: New file.
8154 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8156 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8157 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8158 long long to check rt_sigreturn syscall.
8160 2011-08-02 Alan Modra <amodra@gmail.com>
8162 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8163 Restore for indirect call bcrtl from correct stack slot, and only
8164 if cfa+40 isn't valid.
8166 2011-08-01 Julian Brown <julian@codesourcery.com>
8168 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8169 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8170 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8172 2011-08-01 Julian Brown <julian@codesourcery.com>
8174 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8175 (libgcc-std.ver.in): Use above.
8176 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8177 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8179 * config/t-fixedpoint-gnu-prefix: New file.
8180 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8181 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8184 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8186 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8187 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8188 for x86-64. Properly check __x86_64__ and __LP64__.
8190 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8192 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8194 (_FP_WS_TYPE): Likewise.
8195 (_FP_I_TYPE): Likewise.
8197 2011-07-28 Alan Modra <amodra@gmail.com>
8199 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8200 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8201 in a plt call stub. Do restore r2 if stopped on bctrl.
8203 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8205 * config.host (i[3456x]86-*-netware*): Remove.
8206 * config/i386/netware-crt0.c, config/i386/t-nwld,
8207 config/i386/t-slibgcc-nwld: Remove.
8209 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8211 * config.host: Handle tic6x-*-*.
8212 * config/c6x/c6x-abi.h: New file.
8214 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8216 * config/i386/crtprec.c: New file.
8217 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8218 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8219 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8220 (x86_64-*-darwin*): Likewise.
8221 (i[34567]86-*-solaris2*: Likewise.
8223 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8225 * config/alpha/crtfastmath.c: New file.
8226 * config/i386/crtfastmath.c: New file.
8227 * config/ia64/crtfastmath.c: New file.
8228 * config/mips/crtfastmath.c: New file.
8229 * config/sparc/crtfastmath.c: New file.
8231 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8233 Add -frandom-seed=gcc-crtfastmath.
8234 * config/alpha/t-crtfm: Remove.
8235 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8236 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8238 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8239 (alpha*-dec-osf5.1*): Likewise.
8240 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8241 Add crtfastmath.o to extra_parts.
8242 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8243 Add crtfastmath.o to extra_parts.
8244 (x86_64-*-darwin*): Likewise.
8245 (x86_64-*-mingw*): Likewise.
8246 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8247 (ia64*-*-freebsd*): Likewise.
8248 (ia64*-*-linux*): Likewise.
8249 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8250 Add crtfastmath.o to extra_parts.
8252 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8254 * config/darwin-crt3.o: New file.
8255 * config/rs6000/darwin-crt2.c: New file.
8256 * config/t-darwin: New file.
8257 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8259 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8260 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8261 (powerpc64-*-darwin*): Likewise.
8263 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8265 * config/i386/netware-crt0.c: New file.
8266 * config/i386/t-nwld: Rename to ...
8267 * config/i386/t-slibgcc-nwld: ... this.
8268 * config/i386/t-nwld: New file.
8269 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8271 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8274 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8276 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8278 * configure: Regenerate.
8280 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8282 * dfp-bit.c, dfp-bit.h: New files.
8283 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8285 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8286 ($(d64pbit-o)): Likewise.
8287 ($(d128pbit-o)): Likewise.
8288 * config/t-dfprules: New file.
8289 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8290 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8291 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8292 (x86_64-*-linux*): Likewise.
8293 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8294 (i[34567]86-*-cygwin*): Likewise.
8295 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8296 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8298 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8300 * Makfile.in (LIBGCOV): New variable.
8301 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8302 * libgcov.c: New file.
8304 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8306 * fixed-bit.c, fixed-bit.h: New files.
8307 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8308 refer to fixed-bit.c.
8310 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8312 * config.host (*local*): Remove.
8314 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8317 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8318 like i?86-*-solaris2.1[0-9]*.
8319 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8320 * configure.ac (i?86-*-solaris2*): Likewise.
8321 * configure: Regenerate.
8323 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8325 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8326 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8327 md_unwind_header by splitting out of...
8328 (i[34567]86-*-linux*): ... this.
8329 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8330 Remove md_unwind_header by splitting out of...
8331 (x86_64-*-linux*): ... this.
8333 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8335 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8337 2011-06-28 Nick Clifton <nickc@redhat.com>
8339 * config.host: Recognize all V850 variants.
8341 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8343 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8345 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8347 * shared-object.mk (c_flags-$o): Save c_flags.
8348 ($(base)$(objext)): Use it.
8349 ($(base)_s$(objext)): Likewise.
8351 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8353 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8354 * libgcc-std.ver.in (GCC_4.7.0): New section.
8356 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8360 * config/avr/t-avr: Fix line endings.
8361 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8364 2011-06-14 Olivier Hainque <hainque@adacore.com>
8365 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8367 * config/mips/irix6-unwind.h: New file.
8368 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8370 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8372 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8373 (sparc64_fallback_frame_state): Use it.
8374 (sparc64_frob_update_context): Further adjust context.
8375 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8376 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8377 * config/sparc/sol2-cn.S: Likewise.
8379 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8381 * enable-execute-stack-empty.c: New file.
8382 * enable-execute-stack-mprotect.c: New file.
8383 * config/i386/enable-execute-stack-mingw32.c: New file.
8384 * config.host (enable_execute_stack): New variable.
8385 Select appropriate variants.
8386 * configure.ac: Link enable-execute-stack.c to
8387 $enable_execute_stack.
8388 * configure: Regenerate.
8389 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8390 (lib2funcs): Remove _enable_execute_stack.
8392 2011-06-09 David S. Miller <davem@davemloft.net>
8393 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8395 * config.host (sparc-*-linux*): Correct md_unwind_header
8397 (s390x-ibm-tpf*): Fix typo.
8399 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8401 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8402 Add crtfastmath.o to extra_parts.
8403 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8405 * config/mips/t-crtfm: Remove.
8407 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8409 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8411 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8413 * config.host (sh*-*-linux*): Fix typo.
8415 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8417 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8418 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8419 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8420 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8421 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8422 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8423 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8424 Wrap in !__MINGW64__.
8425 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8426 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8427 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8428 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8429 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8430 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8431 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8433 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8434 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8435 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8436 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8437 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8438 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8439 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8440 * config/no-unwind.h: New file.
8441 * config.host (md_unwind_header): Document.
8443 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8444 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8445 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8446 hppa[12]*-*-hpux11*): Set md_unwind_header.
8447 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8448 Set md_unwind_header.
8449 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8450 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8451 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8452 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8453 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8454 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8455 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8457 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8458 * configure: Regenerate.
8460 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8462 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8463 Set tmake_file, extra_parts.
8464 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8466 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8468 * config/mips/t-irix6: New file.
8469 * config/mips/t-slibgcc-irix: New file.
8471 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8473 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8474 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8476 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8478 * configure.ac (target_thread_file): Determine thread model.
8479 * configure: Regenerate.
8480 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8481 * config/alpha/t-alpha: New file.
8482 * config/alpha/t-crtfm: Use $<.
8483 * config/alpha/t-ieee: New file.
8484 * config/alpha/t-osf-pthread: New file.
8485 * config/alpha/t-slibgcc-osf: New file.
8486 * config/alpha/libgcc-osf5.ver: New file.
8488 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8490 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8492 Add crtfastmath.o to extra_parts.
8494 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8496 * config/gmon-sol2.c: Reindent.
8498 Remove, correct casts.
8499 Use STDERR_FILENO, NULL.
8500 (BASEADDRESS): Remove.
8502 (errno, sbrk): Remove declarations.
8503 (monstartup) [hp300]: Remove.
8506 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8508 * Makefile.in (cpu_type): Define.
8509 * config.host (i[34567]86-*-rtems*): Handle it.
8510 (i[34567]86-*-solaris2*): Move body ...
8511 (*-*-solaris2*): ... here.
8512 New case, generalize.
8513 (sparc-*-elf*): Handle it.
8514 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8515 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8516 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8518 (sparc*-*-solaris2*): ... this.
8520 (sparc64-*-elf*): Handle it.
8521 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8522 Merge ../gcc/config/i386/gmon-sol2.c.
8523 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8525 Merge ../gcc/config/i386/sol2-gc1.asm.
8526 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8528 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8530 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8531 * config/i386/t-crtstuff: New file.
8532 * config/i386/t-softfp: New file.
8533 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8534 $(T)crti.o, $(T)crtn.o): Remove.
8535 (gcrt1.o): New rule.
8536 (TARGET_LIBGCC2_CFLAGS): Remove.
8537 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8538 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8539 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8540 * config/sparc/t-sol2: New file.
8541 * config/sparc/t-crtfm: Move to ...
8542 * config/t-crtfm: ... this.
8543 Use $(cpu_type), $<.
8544 * config/t-crtin: New file.
8545 * config/sparc/t-softfp: New file.
8546 * config/sparc/t-softmul: New file.
8547 * config/t-rtems: New file.
8548 * config/t-slibgcc: New file.
8549 * config/t-slibgcc-elf-ver: New file.
8550 * config/t-slibgcc-gld: New file.
8551 * config/t-slibgcc-sld: New file.
8552 * config/t-sol2: New file.
8553 * configure.ac: Include ../config/lib-ld.m4.
8554 Call AC_LIB_PROG_LD_GNU.
8555 Substitute cpu_type.
8556 * configure: Regenerate.
8558 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8561 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8562 libgcc-std.ver in the build directory.
8563 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8564 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8566 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8568 * libgcc-std.ver.in: New file.
8569 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8571 (libgcc-std.ver): New rule.
8572 * config/t-gnu-prefix: New file.
8574 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8576 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8578 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8580 * config/i386/darwin-lib.h: New file.
8582 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8584 * config/arm/symbian-lib.h: New.
8586 2011-05-04 Chris Demetriou <cgd@google.com>
8588 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8589 (__x86.get_pc_thunk.bx): ...this.
8590 (__morestack): Adjust for rename, remove undef of __i686.
8592 2011-05-03 Chris Demetriou <cgd@google.com>
8594 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8596 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8598 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8599 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8600 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8601 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8602 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8605 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8607 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8608 Adjust copyright year.
8610 2011-03-07 Ian Lance Taylor <iant@google.com>
8612 * generic-morestack.c (__splitstack_find): Adjust returned stack
8613 pointer to include all registers pushed by __morestack.
8615 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8618 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8619 (toolexecdir): Calculate and AC_SUBST.
8620 (toolexeclibdir): Likewise.
8621 * Makefile.in (target_noncanonical): Import.
8622 (toolexecdir): Likewise.
8623 (toolexeclibdir): Likewise.
8624 * configure: Regenerate.
8626 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8629 * config/arm/bpabi.h: Rename to...
8630 * config/arm/bpabi-lib.h: ...this.
8632 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8634 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8636 * configure: Regenerate.
8638 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8640 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8641 __FLOAT_WORD_ORDER__.
8642 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8645 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8648 * Makefile.in (install-strip): New phony target.
8650 2010-11-07 Ian Lance Taylor <iant@google.com>
8653 * config/i386/morestack.S (__morestack_large_model): New
8656 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8658 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8660 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8662 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8664 * config/arm/bpabi.h: New file.
8665 * config/frv/frv-abi.h: New file.
8667 2010-10-01 Ian Lance Taylor <iant@google.com>
8669 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8670 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8672 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8675 * config.host: Add the missing `$'.
8677 2010-09-30 Michael Eager <eager@eagercon.com>
8679 * config.host: Add microblaze*-*-*.
8680 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8681 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8682 udivsi3.asm,umodsi3.asm}: New.
8684 2010-09-28 Ian Lance Taylor <iant@google.com>
8686 * configure.ac: Adjust CFI test to test assembler directly rather
8687 than checking gcc preprocessor macro.
8688 * configure: Rebuild.
8690 2010-09-27 Ian Lance Taylor <iant@google.com>
8692 * configure.ac: Test whether assembler supports CFI directives.
8693 * config.host: Only add t-stack and i386/t-stack-i386 to
8694 tmake_file if libgcc_cv_cfi is "yes".
8695 * configure: Rebuild.
8697 2010-09-27 Ian Lance Taylor <iant@google.com>
8699 * generic-morestack.h: New file.
8700 * generic-morestack.c: New file.
8701 * generic-morestack-thread.c: New file.
8702 * config/i386/morestack.S: New file.
8703 * config/t-stack: New file.
8704 * config/i386/t-stack-i386: New file.
8705 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8706 i386/t-stack-i386 to tmake_file.
8708 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8710 * Makefile.in (libgcc-extra-parts): Check for static archives and
8711 invoke ranlib after installing them.
8712 (gcc-extra-parts): Likewise.
8713 (install-leaf): Likewise.
8715 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8717 * configure: Regenerated.
8719 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8721 * configure: Regenerated.
8723 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8724 Andrew Pinski <pinskia@gmail.com>
8727 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8729 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8732 * configure: Regenerated.
8734 2010-09-06 Andreas Schwab <schwab@redhat.com>
8736 * configure: Regenerate.
8738 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8740 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8742 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8745 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8746 Iain Sandoe <iains@gcc.gnu.org>
8749 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8750 LIB2FUNCS_EXCLUDE functions.
8752 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8754 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8756 * configure: Regenerate.
8758 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8760 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8761 i386/t-freebsd to tmake_file.
8762 * config/i386/t-freebsd: New file.
8763 * config/i386/libgcc-bsd.ver: New file.
8765 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8767 * config.host (powerpc*-eabispe*): Set tmake_file.
8768 (powerpc*-eabi*): Likewise.
8769 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8770 crtbeginS, crtendS, crtbeginT.
8772 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8774 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8775 to tmake_file. Add crtfastmath.o to extra_parts.
8776 * config/mips/t-crtfm: New.
8778 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8780 * config.host (sparc64-*-rtems*): New target.
8782 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8784 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8787 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8789 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8791 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8793 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8794 alpha-dec-osf5.0* support.
8796 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8798 * config.host: Add lm32-*-rtems*.
8800 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8801 Uros Bizjak <ubizjak@gmail.com>
8804 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8805 like other remaining 32-bit x86 OSes.
8806 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8808 * config/i386/libgcc-sol2.ver: New file.
8809 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8811 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8814 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8815 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8816 is used and substitute set_use_emutls.
8817 * configure: Regenerated.
8819 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8821 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8823 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8826 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8828 ($(T)gcrt1.o): Likewise.
8829 ($(T)crt1.o): Likewise.
8830 ($(T)crti.o): Likewise.
8831 ($(T)crtn.o): Likewise.
8833 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8836 * Makefile.in (install): Use $(MAKE) string in rule, for
8839 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8841 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8842 * config/mmix/t-mmix: New file.
8843 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8845 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8848 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8851 2010-01-04 Anthony Green <green@moxielogic.com>
8853 * config/moxie/crti.asm, config/moxie/crtn.asm,
8854 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8855 config/moxie/t-moxie: New files.
8856 * config.host: Add t-moxie-softfp reference.
8858 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8861 * config/t-slibgcc-darwin: Fix embedded rpaths for
8862 --enable-version-specific-runtime-libs, build extension stub
8863 libs exposing features available from current libgcc_s.
8865 2009-11-11 Jon Beniston <jon@beniston.com>
8867 * config.host: Add lm32 targets.
8868 * config/lm32: New directory.
8869 * config/lm32/libgcc_lm32.h: New file.
8870 * config/lm32/_mulsi3.c: New file.
8871 * config/lm32/_udivmodsi4.c: New file.
8872 * config/lm32/_divsi3.c: New file.
8873 * config/lm32/_modsi3.c: New file.
8874 * config/lm32/_udivsi3.c: New file.
8875 * config/lm32/_umodsi3.c: New file.
8876 * config/lm32/_lshrsi3.S: New file.
8877 * config/lm32/_ashrsi3.S: New file.
8878 * config/lm32/_ashlsi3.S: New file.
8879 * config/lm32/crti.S: New file.
8880 * config/lm32/crtn.S: New file.
8881 * config/lm32/t-lm32: New file.
8882 * config/lm32/t-elf: New file.
8883 * config/lm32/t-uclinux: New file.
8885 2009-10-26 Nick Clifton <nickc@redhat.com>
8887 * config.host: Add support for RX target.
8888 * config/rx: New directory.
8889 * config/rx/rx-abi-functions.c: New file. Supplementary
8890 functions for libgcc to support the RX ABI.
8891 * config/rx/rx-abi.h: New file. Supplementary header file for
8892 libgcc RX ABI functions.
8893 * config/rx/t-rx: New file: Makefile fragment for building
8896 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8898 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8899 constraint of y0 to "g".
8901 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8903 * config.host: Include the s390 makefile fragments.
8904 * config/s390/32/_fixdfdi.c: New file.
8905 * config/s390/32/_fixsfdi.c: New file.
8906 * config/s390/32/_fixtfdi.c: New file.
8907 * config/s390/32/_fixunsdfdi.c: New file.
8908 * config/s390/32/_fixunssfdi.c: New file.
8909 * config/s390/32/_fixunstfdi.c: New file.
8910 * config/s390/32/t-floattodi: New file.
8911 * config/s390/libgcc-glibc.ver: New file.
8912 * config/s390/t-crtstuff: New file.
8913 * config/s390/t-linux: New file.
8914 * config/s390/t-tpf: New file.
8916 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8918 * configure.ac (AC_PREREQ): Bump to 2.64.
8920 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8922 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8924 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8926 * configure: Regenerate.
8928 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8930 * config.host (ia64-hp-*vms*): New target.
8931 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8934 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8936 * configure.ac: Add snippet for maintainer-mode.
8937 * configure: Regenerate.
8938 * Makefile.in (AUTOCONF, configure_deps): New variables.
8939 ($(srcdir)/configure)): New rule, active only with maintainer
8942 2009-06-23 DJ Delorie <dj@redhat.com>
8945 * config.host: Add mep support.
8947 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
8949 * config.host: Add i386/${host_address}/t-fprules-softfp and
8950 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8952 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8954 * config/i386/64/_multc3.c: Likewise.
8955 * config/i386/64/_powitf2.c: Likewise.
8956 * config/i386/64/eqtf2.c: Likewise.
8957 * config/i386/64/getf2.c: Likewise.
8958 * config/i386/64/letf2.c: Likewise.
8959 * config/i386/64/letf2.c: Likewise.
8960 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8961 unsigned long long for x64 mingw targets.
8962 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8963 (_FP_I_TYPE): Define as long long for x64 mingw target.
8965 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8967 * config.host (vax-*-linux*): New.
8969 2009-05-31 Anthony Green <green@moxielogic.com>
8971 * config.host: Add moxie support.
8972 * config/moxie/t-moxie: New file.
8974 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
8976 * config.host: Add i386/${host_address}/t-fprules-softfp and
8977 t-softfp to tmake_file for i[34567]86-*-cygwin*.
8979 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8981 * config.host: Add i386/${host_address}/t-fprules-softfp to
8982 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8984 2009-04-09 Nick Clifton <nickc@redhat.com>
8986 * config/ia64/tf-signs.c: Change copyright header to refer to
8987 version 3 of the GNU General Public License with version 3.1
8988 of the GCC Runtime Library Exception and to point readers at
8989 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8991 * config/i386/32/tf-signs.c: Likewise.
8992 * config/libbid/_addsub_dd.c: Likewise.
8993 * config/libbid/_addsub_sd.c: Likewise.
8994 * config/libbid/_addsub_td.c: Likewise.
8995 * config/libbid/_dd_to_df.c: Likewise.
8996 * config/libbid/_dd_to_di.c: Likewise.
8997 * config/libbid/_dd_to_sd.c: Likewise.
8998 * config/libbid/_dd_to_sf.c: Likewise.
8999 * config/libbid/_dd_to_si.c: Likewise.
9000 * config/libbid/_dd_to_td.c: Likewise.
9001 * config/libbid/_dd_to_tf.c: Likewise.
9002 * config/libbid/_dd_to_udi.c: Likewise.
9003 * config/libbid/_dd_to_usi.c: Likewise.
9004 * config/libbid/_dd_to_xf.c: Likewise.
9005 * config/libbid/_df_to_dd.c: Likewise.
9006 * config/libbid/_df_to_sd.c: Likewise.
9007 * config/libbid/_df_to_td.c: Likewise.
9008 * config/libbid/_di_to_dd.c: Likewise.
9009 * config/libbid/_di_to_sd.c: Likewise.
9010 * config/libbid/_di_to_td.c: Likewise.
9011 * config/libbid/_div_dd.c: Likewise.
9012 * config/libbid/_div_sd.c: Likewise.
9013 * config/libbid/_div_td.c: Likewise.
9014 * config/libbid/_eq_dd.c: Likewise.
9015 * config/libbid/_eq_sd.c: Likewise.
9016 * config/libbid/_eq_td.c: Likewise.
9017 * config/libbid/_ge_dd.c: Likewise.
9018 * config/libbid/_ge_sd.c: Likewise.
9019 * config/libbid/_ge_td.c: Likewise.
9020 * config/libbid/_gt_dd.c: Likewise.
9021 * config/libbid/_gt_sd.c: Likewise.
9022 * config/libbid/_gt_td.c: Likewise.
9023 * config/libbid/_isinfd128.c: Likewise.
9024 * config/libbid/_isinfd32.c: Likewise.
9025 * config/libbid/_isinfd64.c: Likewise.
9026 * config/libbid/_le_dd.c: Likewise.
9027 * config/libbid/_le_sd.c: Likewise.
9028 * config/libbid/_le_td.c: Likewise.
9029 * config/libbid/_lt_dd.c: Likewise.
9030 * config/libbid/_lt_sd.c: Likewise.
9031 * config/libbid/_lt_td.c: Likewise.
9032 * config/libbid/_mul_dd.c: Likewise.
9033 * config/libbid/_mul_sd.c: Likewise.
9034 * config/libbid/_mul_td.c: Likewise.
9035 * config/libbid/_ne_dd.c: Likewise.
9036 * config/libbid/_ne_sd.c: Likewise.
9037 * config/libbid/_ne_td.c: Likewise.
9038 * config/libbid/_sd_to_dd.c: Likewise.
9039 * config/libbid/_sd_to_df.c: Likewise.
9040 * config/libbid/_sd_to_di.c: Likewise.
9041 * config/libbid/_sd_to_sf.c: Likewise.
9042 * config/libbid/_sd_to_si.c: Likewise.
9043 * config/libbid/_sd_to_td.c: Likewise.
9044 * config/libbid/_sd_to_tf.c: Likewise.
9045 * config/libbid/_sd_to_udi.c: Likewise.
9046 * config/libbid/_sd_to_usi.c: Likewise.
9047 * config/libbid/_sd_to_xf.c: Likewise.
9048 * config/libbid/_sf_to_dd.c: Likewise.
9049 * config/libbid/_sf_to_sd.c: Likewise.
9050 * config/libbid/_sf_to_td.c: Likewise.
9051 * config/libbid/_si_to_dd.c: Likewise.
9052 * config/libbid/_si_to_sd.c: Likewise.
9053 * config/libbid/_si_to_td.c: Likewise.
9054 * config/libbid/_td_to_dd.c: Likewise.
9055 * config/libbid/_td_to_df.c: Likewise.
9056 * config/libbid/_td_to_di.c: Likewise.
9057 * config/libbid/_td_to_sd.c: Likewise.
9058 * config/libbid/_td_to_sf.c: Likewise.
9059 * config/libbid/_td_to_si.c: Likewise.
9060 * config/libbid/_td_to_tf.c: Likewise.
9061 * config/libbid/_td_to_udi.c: Likewise.
9062 * config/libbid/_td_to_usi.c: Likewise.
9063 * config/libbid/_td_to_xf.c: Likewise.
9064 * config/libbid/_tf_to_dd.c: Likewise.
9065 * config/libbid/_tf_to_sd.c: Likewise.
9066 * config/libbid/_tf_to_td.c: Likewise.
9067 * config/libbid/_udi_to_dd.c: Likewise.
9068 * config/libbid/_udi_to_sd.c: Likewise.
9069 * config/libbid/_udi_to_td.c: Likewise.
9070 * config/libbid/_unord_dd.c: Likewise.
9071 * config/libbid/_unord_sd.c: Likewise.
9072 * config/libbid/_unord_td.c: Likewise.
9073 * config/libbid/_usi_to_dd.c: Likewise.
9074 * config/libbid/_usi_to_sd.c: Likewise.
9075 * config/libbid/_usi_to_td.c: Likewise.
9076 * config/libbid/_xf_to_dd.c: Likewise.
9077 * config/libbid/_xf_to_sd.c: Likewise.
9078 * config/libbid/_xf_to_td.c: Likewise.
9079 * config/libbid/bid128.c: Likewise.
9080 * config/libbid/bid128_2_str.h: Likewise.
9081 * config/libbid/bid128_2_str_macros.h: Likewise.
9082 * config/libbid/bid128_2_str_tables.c: Likewise.
9083 * config/libbid/bid128_add.c: Likewise.
9084 * config/libbid/bid128_compare.c: Likewise.
9085 * config/libbid/bid128_div.c: Likewise.
9086 * config/libbid/bid128_fma.c: Likewise.
9087 * config/libbid/bid128_logb.c: Likewise.
9088 * config/libbid/bid128_minmax.c: Likewise.
9089 * config/libbid/bid128_mul.c: Likewise.
9090 * config/libbid/bid128_next.c: Likewise.
9091 * config/libbid/bid128_noncomp.c: Likewise.
9092 * config/libbid/bid128_quantize.c: Likewise.
9093 * config/libbid/bid128_rem.c: Likewise.
9094 * config/libbid/bid128_round_integral.c: Likewise.
9095 * config/libbid/bid128_scalb.c: Likewise.
9096 * config/libbid/bid128_sqrt.c: Likewise.
9097 * config/libbid/bid128_string.c: Likewise.
9098 * config/libbid/bid128_to_int16.c: Likewise.
9099 * config/libbid/bid128_to_int32.c: Likewise.
9100 * config/libbid/bid128_to_int64.c: Likewise.
9101 * config/libbid/bid128_to_int8.c: Likewise.
9102 * config/libbid/bid128_to_uint16.c: Likewise.
9103 * config/libbid/bid128_to_uint32.c: Likewise.
9104 * config/libbid/bid128_to_uint64.c: Likewise.
9105 * config/libbid/bid128_to_uint8.c: Likewise.
9106 * config/libbid/bid32_to_bid128.c: Likewise.
9107 * config/libbid/bid32_to_bid64.c: Likewise.
9108 * config/libbid/bid64_add.c: Likewise.
9109 * config/libbid/bid64_compare.c: Likewise.
9110 * config/libbid/bid64_div.c: Likewise.
9111 * config/libbid/bid64_fma.c: Likewise.
9112 * config/libbid/bid64_logb.c: Likewise.
9113 * config/libbid/bid64_minmax.c: Likewise.
9114 * config/libbid/bid64_mul.c: Likewise.
9115 * config/libbid/bid64_next.c: Likewise.
9116 * config/libbid/bid64_noncomp.c: Likewise.
9117 * config/libbid/bid64_quantize.c: Likewise.
9118 * config/libbid/bid64_rem.c: Likewise.
9119 * config/libbid/bid64_round_integral.c: Likewise.
9120 * config/libbid/bid64_scalb.c: Likewise.
9121 * config/libbid/bid64_sqrt.c: Likewise.
9122 * config/libbid/bid64_string.c: Likewise.
9123 * config/libbid/bid64_to_bid128.c: Likewise.
9124 * config/libbid/bid64_to_int16.c: Likewise.
9125 * config/libbid/bid64_to_int32.c: Likewise.
9126 * config/libbid/bid64_to_int64.c: Likewise.
9127 * config/libbid/bid64_to_int8.c: Likewise.
9128 * config/libbid/bid64_to_uint16.c: Likewise.
9129 * config/libbid/bid64_to_uint32.c: Likewise.
9130 * config/libbid/bid64_to_uint64.c: Likewise.
9131 * config/libbid/bid64_to_uint8.c: Likewise.
9132 * config/libbid/bid_b2d.h: Likewise.
9133 * config/libbid/bid_binarydecimal.c: Likewise.
9134 * config/libbid/bid_conf.h: Likewise.
9135 * config/libbid/bid_convert_data.c: Likewise.
9136 * config/libbid/bid_decimal_data.c: Likewise.
9137 * config/libbid/bid_decimal_globals.c: Likewise.
9138 * config/libbid/bid_div_macros.h: Likewise.
9139 * config/libbid/bid_dpd.c: Likewise.
9140 * config/libbid/bid_flag_operations.c: Likewise.
9141 * config/libbid/bid_from_int.c: Likewise.
9142 * config/libbid/bid_functions.h: Likewise.
9143 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9144 * config/libbid/bid_inline_add.h: Likewise.
9145 * config/libbid/bid_internal.h: Likewise.
9146 * config/libbid/bid_round.c: Likewise.
9147 * config/libbid/bid_sqrt_macros.h: Likewise.
9149 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9151 * Makefile.in: Change copyright header to refer to version
9152 3 of the GNU General Public License and to point readers at the
9153 COPYING3 file and the FSF's license web page.
9154 * config.host: Likewise.
9156 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9158 * config.host: Reorder and merge to match config.gcc change.
9160 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9162 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9164 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9166 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9167 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9168 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9169 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9171 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9173 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9174 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9176 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9178 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9179 ia64/t-softfp-compat to tmake_file.
9181 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9183 * config/ia64/__divxf3.asm: New.
9184 * config/ia64/_fixtfdi.asm: Likewise.
9185 * config/ia64/_fixunstfdi.asm: Likewise.
9186 * config/ia64/_floatditf.asm: Likewise.
9187 * config/ia64/t-fprules-softfp: Likewise.
9188 * config/ia64/t-softfp-compat: Likewise.
9189 * config/ia64/tf-signs.c: Likewise.
9191 2009-01-18 Ben Elliston <bje@au.ibm.com>
9193 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9195 2009-01-16 Ben Elliston <bje@au.ibm.com>
9197 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9200 2009-01-13 Ben Elliston <bje@au.ibm.com>
9202 * config/t-softfp: New file.
9203 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9204 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9206 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9208 * config.host: Add m32r*-*-rtems*.
9210 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9212 * config.host: Add m32c*-*-rtems*.
9214 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9217 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9218 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9219 * configure: Regenerate.
9220 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9221 tmake_file here from gcc/config.gcc.
9222 Move extra_parts here from gcc/config.gcc.
9223 * config/i386/t-sol2: Move here from gcc/config/i386.
9224 Use gcc_srcdir instead of srcdir.
9226 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9228 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9231 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9233 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9235 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9237 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9239 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9242 * config.host: Add picochip-*-*.
9244 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9246 * config.host: Match more processor names for Xtensa.
9248 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9250 * config/i386/64/t-softfp-compat: Update comments.
9252 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9254 * config/i386/64/_divtc3-compat.c: Moved to ...
9255 * config/i386/64/_divtc3.c: Here.
9257 * config/i386/64/_multc3-compat.c: Moved to ...
9258 * config/i386/64/_multc3.c: Here.
9260 * config/i386/64/_powitf2-compat.c: Moved to ...
9261 * config/i386/64/_powitf2.c: Here.
9263 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9264 .c suffix instead of -compat.c.
9266 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9268 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9269 (_FP_MUL_MEAT_D): Ditto.
9270 (_FP_DIV_MEAT_S): Ditto.
9271 (_FP_DIV_MEAT_D): Ditto.
9273 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9275 * Makefile.in: Add support for __sync_* libgcc functions.
9277 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9279 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9281 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9284 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9285 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9287 * config/i386/64/t-fprules-softfp: Moved to ...
9288 * config/i386/64/t-softfp-compat: This. New.
9290 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9292 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9293 Initialize f with 0.0.
9295 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9298 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9300 * config/i386/64/_divtc3-compat.c: New.
9301 * config/i386/64/_multc3-compat.c: Likewise.
9302 * config/i386/64/_powitf2-compat.c: Likewise.
9303 * config/i386/64/eqtf2.c: Likewise.
9304 * config/i386/64/getf2.c: Likewise.
9305 * config/i386/64/letf2.c: Likewise.
9306 * config/i386/64/t-fprules-softfp: Likewise.
9308 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9310 * config.host: Add i386/${host_address}/t-fprules-softfp to
9311 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9312 i[34567]86-*-linux*, x86_64-*-linux*.
9314 * configure.ac: Set host_address to 64 or 32 for x86.
9315 * configure: Regenerated.
9317 * Makefile.in (config.status): Also depend on
9318 $(srcdir)/config.host.
9320 * config/i386/32/t-fprules-softfp: New.
9321 * config/i386/32/tf-signs.c: Likewise.
9323 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9325 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9326 Uros Bizjak <ubizjak@gmail.com>
9328 * config/i386/32/sfp-machine.h: New.
9330 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9332 * config/rs6000/t-ppccomm: Remove rules that conflict with
9333 auto-generated rules.
9335 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9337 * configure.ac: sinclude override.m4.
9338 * configure: Regenerate.
9340 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9342 * configure: Regenerate.
9344 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9346 * Makefile.in (DECNUMINC): Remove
9347 -I$(MULTIBUILDTOP)../../libdecnumber.
9350 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9352 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9353 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9354 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9355 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9356 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9357 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9358 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9359 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9360 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9361 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9362 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9363 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9364 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9365 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9367 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9369 * config.host (sh2[lbe]*-*-linux*): Allow target.
9371 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9373 * config/rs6000/t-ppccomm: Add build rules for new files.
9374 (LIB2ADD_ST): New variable.
9376 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9380 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9381 * config/t-avr: New file. Build 16bit libgcc functions.
9383 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9386 * config/t-slibgcc-darwin: Make install-leaf dependent on
9387 install-darwin-libgcc-stubs instead of install.
9389 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9391 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9392 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9393 sh-*-rtemscoff*): Remove cases.
9395 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9397 * Makefile.in (all): Use install-leaf rather than install.
9398 (install): Split most of the rule into...
9399 (install-leaf): ...this new one.
9401 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9402 Paolo Bonzini <bonzini@gnu.org>
9405 * Makefile.in: Use @shlib_slibdir@ substitution to get
9406 correct install name on darwin.
9407 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9409 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9411 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9412 cris-*-elf and cris-*-none.
9413 (crisv32-*-linux*): Similar, as cris-*-linux*.
9415 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9417 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9419 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9422 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9423 * configure: Regenerated.
9425 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9427 * Makefile.in (dfp-filenames): Replace decimal_globals,
9428 decimal_data, binarydecimal and convert_data with
9429 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9430 and bid_convert_data, respectively.
9432 2007-09-17 Chao-ying Fu <fu@mips.com>
9433 Nigel Stephens <nigel@mips.com>
9435 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9436 * Makefile.in (fixed_point): Define.
9437 Check if fixed_point is yes to build support functions.
9438 * configure.ac: Check for fixed_point support.
9439 * configure: Regenerated.
9440 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9441 funcs, modes, from, to.
9443 2007-09-11 Janis Johnson <janis187@us.ibm.com
9445 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9447 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9449 * Makefile.in (dfp-filenames): Remove decUtility, add
9450 decDouble, decPacked, decQuad, decSingle.
9452 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9454 * config.host : Add x86_64-elf target.
9456 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9458 * configure.ac (set_have_cc_tls): Add a missing =.
9459 * configure: Regenerated.
9461 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9463 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9464 and x86_64-*-linux*.
9466 * config/t-tls: New file.
9468 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9470 * configure.ac: Include ../config/enable.m4 and
9471 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9472 supports TLS and substitute set_have_cc_tls.
9473 * configure: Regenerated.
9475 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9477 * Makefile.in: Use libbid for DFP when BID is enabled.
9479 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9481 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9482 extra_parts. Add config/i386/t-cygming to tmake_file.
9483 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9485 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9486 Danny Smith <dannysmith@users.sourceforge.net>
9489 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9490 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9491 * config/i386/t-crtfm: Compile crtfastmath.o with
9492 -minline-all-stringops.
9494 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9496 * config.host (sparc-wrs-vxworks): New target.
9498 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9500 * config.host: Recognize fido.
9502 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9504 * configure: Check host, not target, for decimal float support.
9506 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9508 * config/i386/t-crtpc: New file.
9509 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9510 (x86_64-*-linux*): Ditto.
9512 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9514 * config.host (x86_64-*-mingw*): New target.
9516 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9517 H.J. Lu <hongjiu.lu@intel.com>
9519 * Makefile.in (enable_decimal_float): New.
9521 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9522 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9523 (decbits-filenames): This.
9524 (decbits-objects): New.
9525 (libgcc-objects): Add $(decbits-objects).
9527 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9528 Substitute enable_decimal_float.
9529 * configure: Regenerated.
9531 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9533 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9535 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9537 * Makefile.in (install-info): New dummy target.
9539 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9541 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9543 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9545 * Makefile.in: Add install-html and install-pdf dummy
9548 2007-02-05 Roger Sayle <roger@eyesopen.com>
9549 Daniel Jacobowitz <dan@codesourcery.com>
9551 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9552 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9553 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9555 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9557 * Makefile.in (dec-filenames): Add decExcept.
9559 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9562 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9565 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9567 * configure.ac: Add --enable-version-specific-runtime-libs.
9568 Correct $slibdir default.
9569 * configure: Regenerated.
9571 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9573 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9575 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9578 * config.host (alpha*-*-linux*): Set extra_parts.
9580 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9582 * config/sh/t-linux: New.
9583 * config.host (sh*-*-linux*): Set tmake_file.
9585 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9587 * Makefile.in (install): Handle multilibs.
9589 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9591 * Makefile.in: Added .PHONY entry for documentation targets.
9593 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9595 * Makefile.in: Add empty info, html, dvi, pdf targets.
9597 2007-01-04 Mike Stump <mrs@apple.com>
9599 * Makefile.in (MAKEINFO): Remove.
9602 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9604 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9605 * configure: Regenerate.
9606 * Makefile.in (host_subdir): Substitute it.
9607 (gcc_objdir): Use it.
9609 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9611 * config.host (ia64*-*-linux*): Set tmake_file.
9613 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9615 * Makefile.in (version): Define.
9617 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9618 Paolo Bonzini <bonzini@gnu.org>
9620 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9621 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9622 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9623 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9624 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9625 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9626 * configure: Generated.
9628 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9630 Copying and distribution of this file, with or without modification,
9631 are permitted in any medium without royalty provided the copyright
9632 notice and this notice are preserved.