1 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3 * config.host (rx-*-linux*): Add new case.
4 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
6 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
8 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
10 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
11 aarch64_post_frob_eh_handler_addr): Add check for b-key.
12 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
13 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
14 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
15 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
17 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
19 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
21 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
23 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
24 Remove Solaris 9 and 10 support.
25 (sparc_is_sighandler): Likewise.
27 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
29 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
31 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
33 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
34 4_FP_W_TYPEs are used for IEEE quad precision.
35 * soft-fp/extendhftf2.c: Likewise.
36 * soft-fp/extendsftf2.c: Likewise.
37 * soft-fp/extendxftf2.c: Likewise.
38 * soft-fp/trunctfdf2.c: Likewise.
39 * soft-fp/trunctfhf2.c: Likewise.
40 * soft-fp/trunctfsf2.c: Likewise.
41 * soft-fp/trunctfxf2.c: Likewise.
42 * config/rs6000/ibm-ldouble.c: Likewise.
44 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
46 * config.host: Simplify various *-*-solaris2.1[0-9]* to
48 * configure.ac: Likewise.
49 * configure: Regenerate.
51 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
52 Solaris 10 and Solaris 11 < snv_125 handling.
54 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
56 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
58 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
60 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
61 * config/i386/cpuinfo.h (enum processor_features): Add
64 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
65 Bernd Edlinger <bernd.edlinger@hotmail.de>
66 Jakub Jelinek <jakub@redhat.com>
69 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
70 * config/arm/unwind-arm.c: Likewise.
71 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
74 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
76 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
77 (RT_SIGRETURN): Update.
78 (nds32_fallback_frame_state): Update.
80 2019-02-21 Martin Sebor <msebor@redhat.com>
82 * libgcc2.h (__clear_cache): Correct signature.
83 * libgcc2.c (__clear_cache): Same.
85 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
87 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
88 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
90 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
92 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
93 regno instead of index to DWARF_ZERO_REG.
95 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
97 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
98 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
100 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
102 * config/alpha/t-linux: Add -mfp-rounding-mode=d
103 to HOST_LIBGCC2_CFLAGS.
105 2019-01-23 Joseph Myers <joseph@codesourcery.com>
108 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
110 2019-01-18 Martin Liska <mliska@suse.cz>
112 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
114 (__gcov_indirect_call_profiler_v3): ... this.
115 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
116 (__gcov_indirect_call_profiler_v3): Likewise.
117 * Makefile.in: Bump function name.
119 2019-01-18 Martin Liska <mliska@suse.cz>
121 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
122 (gcov_version): Use in gcov_error.
123 (merge_one_data): Likewise.
124 (dump_one_gcov): Likewise.
126 2019-01-18 Martin Liska <mliska@suse.cz>
128 * libgcov-driver.c (gcov_version_string): New function.
129 (gcov_version): Convert version integer into string.
131 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
132 Kwok Cheung Yeung <kcy@codesourcery.com>
133 Julian Brown <julian@codesourcery.com>
134 Tom de Vries <tom@codesourcery.com>
136 * config.host: Recognize amdgcn*-*-amdhsa.
137 * config/gcn/crt0.c: New file.
138 * config/gcn/lib2-divmod-hi.c: New file.
139 * config/gcn/lib2-divmod.c: New file.
140 * config/gcn/lib2-gcn.h: New file.
141 * config/gcn/sfp-machine.h: New file.
142 * config/gcn/t-amdgcn: New file.
144 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
148 * config/c6x/libunwind.S: Mechanically replace "can not" with
150 * config/tilepro/atomic.h: Likewise.
151 * config/vxlib-tls.c: Likewise.
152 * generic-morestack-thread.c: Likewise.
153 * generic-morestack.c: Likewise.
154 * mkmap-symver.awk: Likewise.
156 2019-01-01 Jakub Jelinek <jakub@redhat.com>
158 Update copyright years.
160 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
162 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
163 to ignore -Waddress-of-packed-member.
165 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
167 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
168 parameter and corresponding code.
169 (ARM_FUNC_START): Likewise in both definitions.
170 Also update footer comment about condition that need to match with
171 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
172 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
173 defined. Weakly define it in this case.
174 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
175 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
176 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
177 comment to keep condition in sync with the one in
178 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
180 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
182 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
183 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
185 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
187 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
188 and .cfi_endproc directives for VxWorks targets.
190 2018-12-05 Paul Koning <ni1d@arrl.net>
192 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
194 2018-11-27 Alan Modra <amodra@gmail.com>
196 * config/rs6000/morestack.S (__stack_split_initialize),
197 (__morestack_get_guard, __morestack_set_guard),
198 (__morestack_make_guard): Provide CFI covering these functions.
199 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
201 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
203 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
204 (sc_pt_regs_lr): Update for kernel.
205 (sc_pt_regs_tls): Update for kernel.
207 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
209 * config/csky/linux-unwind.h: Fix coding style.
211 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
213 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
214 (csky_fallback_frame_state): Modify the check of the
215 instructions to adapt to changes in the kernel
217 2018-11-09 Stafford Horne <shorne@gmail.com>
218 Richard Henderson <rth@twiddle.net>
220 * config.host: Add OpenRISC support.
221 * config/or1k/*: New.
223 2018-11-08 Kito Cheng <kito@andestech.com>
225 * soft-fp/adddf3.c: Update from glibc.
226 * soft-fp/addsf3.c: Likewise.
227 * soft-fp/addtf3.c: Likewise.
228 * soft-fp/divdf3.c: Likewise.
229 * soft-fp/divsf3.c: Likewise.
230 * soft-fp/divtf3.c: Likewise.
231 * soft-fp/double.h: Likewise.
232 * soft-fp/eqdf2.c: Likewise.
233 * soft-fp/eqsf2.c: Likewise.
234 * soft-fp/eqtf2.c: Likewise.
235 * soft-fp/extenddftf2.c: Likewise.
236 * soft-fp/extended.h: Likewise.
237 * soft-fp/extendhftf2.c: Likewise.
238 * soft-fp/extendsfdf2.c: Likewise.
239 * soft-fp/extendsftf2.c: Likewise.
240 * soft-fp/extendxftf2.c: Likewise.
241 * soft-fp/fixdfdi.c: Likewise.
242 * soft-fp/fixdfsi.c: Likewise.
243 * soft-fp/fixdfti.c: Likewise.
244 * soft-fp/fixhfti.c: Likewise.
245 * soft-fp/fixsfdi.c: Likewise.
246 * soft-fp/fixsfsi.c: Likewise.
247 * soft-fp/fixsfti.c: Likewise.
248 * soft-fp/fixtfdi.c: Likewise.
249 * soft-fp/fixtfsi.c: Likewise.
250 * soft-fp/fixtfti.c: Likewise.
251 * soft-fp/fixunsdfdi.c: Likewise.
252 * soft-fp/fixunsdfsi.c: Likewise.
253 * soft-fp/fixunsdfti.c: Likewise.
254 * soft-fp/fixunshfti.c: Likewise.
255 * soft-fp/fixunssfdi.c: Likewise.
256 * soft-fp/fixunssfsi.c: Likewise.
257 * soft-fp/fixunssfti.c: Likewise.
258 * soft-fp/fixunstfdi.c: Likewise.
259 * soft-fp/fixunstfsi.c: Likewise.
260 * soft-fp/fixunstfti.c: Likewise.
261 * soft-fp/floatdidf.c: Likewise.
262 * soft-fp/floatdisf.c: Likewise.
263 * soft-fp/floatditf.c: Likewise.
264 * soft-fp/floatsidf.c: Likewise.
265 * soft-fp/floatsisf.c: Likewise.
266 * soft-fp/floatsitf.c: Likewise.
267 * soft-fp/floattidf.c: Likewise.
268 * soft-fp/floattihf.c: Likewise.
269 * soft-fp/floattisf.c: Likewise.
270 * soft-fp/floattitf.c: Likewise.
271 * soft-fp/floatundidf.c: Likewise.
272 * soft-fp/floatundisf.c: Likewise.
273 * soft-fp/floatunditf.c: Likewise.
274 * soft-fp/floatunsidf.c: Likewise.
275 * soft-fp/floatunsisf.c: Likewise.
276 * soft-fp/floatunsitf.c: Likewise.
277 * soft-fp/floatuntidf.c: Likewise.
278 * soft-fp/floatuntihf.c: Likewise.
279 * soft-fp/floatuntisf.c: Likewise.
280 * soft-fp/floatuntitf.c: Likewise.
281 * soft-fp/gedf2.c: Likewise.
282 * soft-fp/gesf2.c: Likewise.
283 * soft-fp/getf2.c: Likewise.
284 * soft-fp/half.h: Likewise.
285 * soft-fp/ledf2.c: Likewise.
286 * soft-fp/lesf2.c: Likewise.
287 * soft-fp/letf2.c: Likewise.
288 * soft-fp/muldf3.c: Likewise.
289 * soft-fp/mulsf3.c: Likewise.
290 * soft-fp/multf3.c: Likewise.
291 * soft-fp/negdf2.c: Likewise.
292 * soft-fp/negsf2.c: Likewise.
293 * soft-fp/negtf2.c: Likewise.
294 * soft-fp/op-1.h: Likewise.
295 * soft-fp/op-2.h: Likewise.
296 * soft-fp/op-4.h: Likewise.
297 * soft-fp/op-8.h: Likewise.
298 * soft-fp/op-common.h: Likewise.
299 * soft-fp/quad.h: Likewise.
300 * soft-fp/single.h: Likewise.
301 * soft-fp/soft-fp.h: Likewise.
302 * soft-fp/subdf3.c: Likewise.
303 * soft-fp/subsf3.c: Likewise.
304 * soft-fp/subtf3.c: Likewise.
305 * soft-fp/truncdfsf2.c: Likewise.
306 * soft-fp/trunctfdf2.c: Likewise.
307 * soft-fp/trunctfhf2.c: Likewise.
308 * soft-fp/trunctfsf2.c: Likewise.
309 * soft-fp/trunctfxf2.c: Likewise.
310 * soft-fp/unorddf2.c: Likewise.
311 * soft-fp/unordsf2.c: Likewise.
312 * soft-fp/unordtf2.c: Likewise.
314 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
316 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
317 * config/i386/cpuinfo.h (processor_types): Add znver2.
319 2018-11-01 Paul Koning <ni1d@arrl.net>
321 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
322 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
324 2018-10-31 Joseph Myers <joseph@codesourcery.com>
327 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
328 * configure: Regenerate.
330 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
332 * config/arc/lib1funcs.S (_muldi3): New function.
333 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
335 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
337 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
339 2018-10-25 Martin Liska <mliska@suse.cz>
342 * libgcov-profiler.c: Revert.
344 2018-10-24 Martin Liska <mliska@suse.cz>
346 * libgcov-profiler.c: Start from 1 in order to distinguish
347 functions which were seen and these that were not.
349 2018-10-18 Paul Koning <ni1d@arrl.net>
351 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
353 * divmod.c: Update references to __udivmodsi4.
355 * udivhi3.c: New file.
356 * udivmodhi4.c: New file.
357 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
359 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
361 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
363 2018-10-12 Olivier Hainque <hainque@adacore.com>
365 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
366 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
368 2018-10-08 Paul Koning <ni1d@arrl.net>
370 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
372 2018-10-04 Martin Liska <mliska@suse.cz>
374 PR gcov-profile/84107
375 * libgcov-profiler.c (__gcov_indirect_call):
376 Change type to indirect_call_tuple.
377 (struct indirect_call_tuple): New struct.
378 (__gcov_indirect_call_topn_profiler): Change type.
379 (__gcov_indirect_call_profiler_v2): Use the new
381 * libgcov.h (struct indirect_call_tuple): New struct
384 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
386 * libgcc2.c (isnan): Use __builtin_isnan.
387 (isfinite): Use __builtin_isfinite.
388 (isinf): Use __builtin_isinf.
390 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
392 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
394 2018-09-21 Alexandre Oliva <oliva@adacore.com>
396 * config/vxcache.c: New file. Provide __clear_cache, based on
397 the cacheTextUpdate VxWorks service.
398 * config/t-vxworks (LIB2ADD): Add vxcache.c.
399 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
400 * config/t-vxwoks7: Likewise.
402 2018-09-21 Martin Liska <mliska@suse.cz>
404 * libgcov-driver.c (crc32_unsigned): Remove.
405 (gcov_histogram_insert): Likewise.
406 (gcov_compute_histogram): Likewise.
407 (compute_summary): Simplify rapidly.
408 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
409 (merge_summary): Rapidly simplify.
410 (dump_one_gcov): Ignore gcov_summary.
411 (gcov_do_dump): Do not handle program summary, it's not
413 * libgcov-util.c (tag_summary): Remove.
414 (read_gcda_finalize): Fix coding style.
415 (read_gcda_file): Initialize curr_object_summary.
416 (compute_summary): Remove.
417 (calculate_overlap): Remove settings of run_max.
419 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
421 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
422 ucontext_t type instead.
423 (nds32_fallback_frame_state): Remove struct _sigframe statement.
425 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
427 * config/nds32/t-nds32-glibc: New file.
429 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
431 * configure.ac (solaris_ld_v2_maps): New test.
432 * configure: Regenerate.
433 * Makefile.in (solaris_ld_v2_maps): New variable.
434 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
437 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
440 * config/arm/lib1funcs.asm (speculation_barrier): New function.
441 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
444 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
446 * config/unwind-dw2-fde-darwin.c
447 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
448 * config/darwin10-unwind-find-enc-func.c: … to here.
449 * config/t-darwin: Build Darwin10 unwinder shim crt.
450 * libgcc/config.host: Add the Darwin10 unwinder shim.
452 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
454 * config.host: Add crtbegin.o and crtend.o for
455 powerpc-wrs-vxworks target.
457 2018-08-17 Jojo <jijie_rong@c-sky.com>
458 Huibin Wang <huibin_wang@c-sky.com>
459 Sandra Loosemore <sandra@codesourcery.com>
460 Chung-Lin Tang <cltang@codesourcery.com>
464 * config.host: Add C-SKY support.
465 * config/csky/*: New.
467 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
469 * config/nds32/t-nds32-isr: Rearrange object dependency.
470 * config/nds32/initfini.c: Add dwarf2 unwinding support.
471 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
473 * config/nds32/isr-library/excp_isr.S: Ditto.
474 * config/nds32/isr-library/intr_isr.S: Ditto.
475 * config/nds32/isr-library/reset.S: Ditto.
476 * config/nds32/isr-library/restore_all.inc: Ditto.
477 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
478 * config/nds32/isr-library/restore_partial.inc: Ditto.
479 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
480 * config/nds32/isr-library/save_all.inc: Ditto.
481 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
482 * config/nds32/isr-library/save_partial.inc: Ditto.
483 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
484 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
486 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
488 * config/pa/linux-atomic.c: Update comment.
489 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
490 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
491 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
492 __ATOMIC_RELAXED for atomic loads.
493 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
494 unordered store to release lock.
495 (__sync_lock_release_8): Likewise.
496 (SYNC_LOCK_RELEASE_2): Remove define.
498 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
501 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
502 exponent goes negative. Update my email address.
503 * config/arm/ieee754-sf.S: Likewise.
505 2018-08-01 Martin Liska <mliska@suse.cz>
507 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
508 check that __gcov_indirect_call_callee is non-null.
510 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
512 * config/arm/ieee754-df.S: Fix comment for code working on
514 * config/arm/ieee754-sf.S: Likewise.
516 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
519 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
522 2018-07-05 James Clarke <jrtc27@jrtc27.com>
524 * configure: Regenerated.
526 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
528 * Makefile.in (install_leaf): Use enable_gcov instead of
531 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
533 * configure.ac: Add --disable-gcov option.
534 * configure: Regenerate.
535 * Makefile.in: Honour @enable_gcov@.
537 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
539 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
540 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
541 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
542 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
544 * config/arm/ieee754-sf.S: Likewise.
545 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
547 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
549 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
551 * config/arm/ieee754-sf.S: Likewise.
553 2018-06-20 Than McIntosh <thanm@google.com>
556 * generic-morestack.c (allocate_segment): Move calls to getenv and
557 getpagesize to __morestack_load_mmap.
558 (__morestack_load_mmap) Initialize static_pagesize and
559 use_guard_page here so as to avoid clobbering SSE regs during a
562 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
564 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
565 support modules with -mno-gnu-attribute.
566 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
568 2018-06-07 Olivier Hainque <hainque@adacore.com>
570 * config/t-vxworks (LIBGCC_INCLUDES): Add
571 -I$(MULTIBUILDTOP)../../gcc/include.
572 * config/t-vxworks7: Likewise. Reformat a bit to match
573 the t-vxworks layout.
575 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
577 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
579 2018-06-07 Martin Liska <mliska@suse.cz>
581 * libgcov-driver.c: Rename cs_all to all and assign it from
584 2018-06-07 Martin Liska <mliska@suse.cz>
587 * libgcov-driver-system.c (replace_filename_variables): Use
588 memcpy instead of mempcpy.
589 (allocate_filename_struct): Do not allocate filename, allocate
591 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
592 here and properly copy content into it.
593 * libgcov-driver.c (struct gcov_filename): Remove max_length
594 field, change prefix from size_t into char *.
595 (compute_summary): Do not calculate longest filename.
596 (gcov_do_dump): Release memory of gf.filename after each file.
597 * libgcov-util.c (compute_summary): Use new signature of
599 (calculate_overlap): Likewise.
601 2018-06-05 Martin Liska <mliska@suse.cz>
603 PR gcov-profile/47618
604 * libgcov-driver-system.c (replace_filename_variables): New
606 (gcov_exit_open_gcda_file): Use it.
608 2018-06-05 Martin Liska <mliska@suse.cz>
610 * libgcov-driver.c (gcov_compute_histogram): Remove usage
612 (compute_summary): Do it just for a single summary.
613 (merge_one_data): Likewise.
614 (merge_summary): Simplify as we read just single summary.
615 (dump_one_gcov): Pass proper argument.
616 * libgcov-util.c (compute_one_gcov): Simplify as we have just
618 (gcov_info_count_all_cold): Likewise.
619 (calculate_overlap): Likewise.
621 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
622 Monk Chiang <sh.chiang04@gmail.com>
624 * config.host (nds32*-linux*): New.
625 * config/nds32/linux-atomic.c: New file.
626 * config/nds32/linux-unwind.h: New file.
628 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
631 * config/i386/cpuinfo.c (get_amd_cpu): Return
632 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
634 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
636 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
638 2018-05-29 Martin Liska <mliska@suse.cz>
640 PR gcov-profile/85759
641 * libgcov-driver-system.c (gcov_error): Introduce usage of
642 GCOV_EXIT_AT_ERROR env. variable.
643 * libgcov-driver.c (merge_one_data): Print error that we
644 overwrite a gcov file with a different timestamp.
646 2018-05-23 Kalamatee <kalamatee@gmail.com>
648 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
651 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
652 Monk Chiang <sh.chiang04@gmail.com>
653 Jim Wilson <jimw@sifive.com>
655 * config/riscv/save-restore.S: Add support for rv32e.
657 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
659 * config/arm/libunwind.S: Update comment relating to armv5.
661 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
663 * config/arm/cmse.c (cmse_check_address_range): Replace
664 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
666 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
668 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
669 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
671 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
673 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
674 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
676 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
678 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
680 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
681 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
684 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
685 op_and_fetch to return the right result.
687 2018-04-27 Alan Modra <amodra@gmail.com>
690 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
691 -fno-asynchronous-unwind-tables.
693 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
695 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
696 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
698 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
700 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
701 when including "config/i386/shadow-stack-unwind.h".
703 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
705 * configure: Regenerated.
707 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
710 * config/rs6000/_powikf2.c: New file. Add support for the
711 __builtin_powil function when long double is IEEE 128-bit floating
713 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
715 (__powikf2): Likewise.
716 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
717 (__powikf2_hw): Likewise.
718 (__powikf2): Likewise.
719 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
720 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
721 (_powikf2-hw.c): Likewise.
723 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
726 * unwind-generic.h (_Unwind_Frames_Increment): New.
727 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
729 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
730 count with _Unwind_Frames_Increment.
731 (_Unwind_ForcedUnwind_Phase2): Likewise.
733 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
736 * config/i386/morestack.S (__stack_split_initialize): Add
739 2018-04-19 Jakub Jelinek <jakub@redhat.com>
741 * configure: Regenerated.
743 2018-04-18 David Malcolm <dmalcolm@redhat.com>
746 * configure: Regenerate.
748 2018-04-16 Jakub Jelinek <jakub@redhat.com>
751 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
752 -Wdangling-else warnings. Mask shift counts to avoid
753 -Wshift-count-negative and -Wshift-count-overflow false positives.
755 2018-04-06 Ruslan Bukin <br@bsdpad.com>
757 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
759 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
762 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
763 (XSTATE_FP): Likewise.
764 (XSTATE_SSE): Likewise.
765 (XSTATE_YMM): Likewise.
766 (XSTATE_OPMASK): Likewise.
767 (XSTATE_ZMM): Likewise.
768 (XSTATE_HI_ZMM): Likewise.
769 (XCR_AVX_ENABLED_MASK): Likewise.
770 (XCR_AVX512F_ENABLED_MASK): Likewise.
771 (get_available_features): Enable AVX and AVX512 features only
772 if their states are supported by OSXSAVE.
774 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
777 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
778 Fix a typo, tmp => 255.
780 2018-03-20 Jakub Jelinek <jakub@redhat.com>
783 * config/i386/cpuinfo.h (__cpu_features2): Declare.
784 * config/i386/cpuinfo.c (__cpu_features2): New variable for
786 (set_feature): Define.
787 (get_available_features): Use set_feature macro. Set __cpu_features2
788 to the second word of features ifndef SHARED.
790 2018-03-15 Julia Koval <julia.koval@intel.com>
792 * config/i386/cpuinfo.c (get_available_features): Add
793 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
794 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
795 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
796 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
797 FEATURE_AVX512BITALG.
799 2018-03-14 Julia Koval <julia.koval@intel.com>
801 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
802 icelake client and icelake server.
804 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
806 * config/pa/fptr.c (_dl_read_access_allowed): New.
807 (__canonicalize_funcptr_for_compare): Use it.
809 2018-02-28 Jakub Jelinek <jakub@redhat.com>
812 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
813 $asm_hidden_op if visibility ("hidden") attribute works.
814 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
815 * config/i386/i386-asm.h: Don't include auto-host.h.
816 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
817 PACKAGE_URL): Don't undefine.
818 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
819 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
820 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
821 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
822 definition instead of hardcoded .hidden.
823 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
824 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
825 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
826 (USE_GAS_CFI_DIRECTIVES): Don't define.
827 * configure: Regenerated.
828 * config.in: Likewise.
830 2018-02-26 Jakub Jelinek <jakub@redhat.com>
833 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
834 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
835 inclusion of auto-target.h and auto-host.h.
836 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
837 __GCC_HAVE_DWARF2_CFI_ASM.
838 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
839 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
841 * config/i386/cygwin.S: Don't include auto-host.h here, just
842 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
843 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
844 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
845 * config/i386/resms64fx.h: Add cfi_* directives.
846 * config/i386/resms64x.h: Likewise.
848 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
850 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
851 .literal_position directive.
852 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
854 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
857 * configure: Regenerate.
859 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
862 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
863 Include cetintrin.h not x86intrin.h.
865 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
868 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
869 Use new _get_ssp and _inc_ssp intrinsics.
871 2018-02-02 Julia Koval <julia.koval@intel.com>
873 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
875 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
877 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
879 (__divsi3): Use RF16 safe registers.
880 (__modsi3): Likewise.
882 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
884 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
885 (__divsf3): Make NaN return value quiet.
886 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
887 (__divdf3): Make NaN return value quiet.
889 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
891 * config/rl78/anddi3.S: New assembly file.
892 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
894 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
896 * config/rl78/umindi3.S: New assembly file.
897 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
899 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
901 * config/rl78/smindi3.S: New assembly file.
902 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
904 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
906 * config/rl78/smaxdi3.S: New assembly file.
907 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
909 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
911 * config/rl78/umaxdi3.S: New assembly file.
912 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
914 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
917 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
918 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
920 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
922 * config/aarch64/value-unwind.h (aarch64_vg): New function.
923 (DWARF_LAZY_REGISTER_VALUE): Define.
924 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
925 to provide a fallback register value.
927 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
929 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
930 __ibm128, instead of trying to use long double.
931 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
932 accomidate -mabi=ieeelongdouble multilibs.
933 (CVT_IBM128_TO_FLOAT128): Likewise.
934 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
935 the appropriate IBM extended double type.
936 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
937 (__gcc_qsub): Likewise.
938 (__gcc_qmul): Likewise.
939 (__gcc_qdiv): Likewise.
940 (pack_ldouble): Likewise.
941 (__gcc_qneg): Likewise.
942 (__gcc_qeq): Likewise.
943 (__gcc_qne): Likewise.
944 (__gcc_qge): Likewise.
945 (__gcc_qle): Likewise.
946 (__gcc_stoq): Likewise.
947 (__gcc_dtoq): Likewise.
948 (__gcc_itoq): Likewise.
949 (__gcc_utoq): Likewise.
950 (__gcc_qunord): Likewise.
951 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
952 quad-float128.h for the definitions.
953 (COPYSIGN): Use the f128 version instead of the q version.
954 (INFINITY): Likewise.
955 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
956 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
957 quad-float128.h for the definitions.
958 (COPYSIGN): Use the f128 version instead of the q version.
959 (INFINITY): Likewise.
961 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
962 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
963 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
965 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
967 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
970 2018-01-03 Jakub Jelinek <jakub@redhat.com>
972 Update copyright years.
974 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
976 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
977 * config/riscv/multi3.c: New file.
978 * config/riscv/multi3.S: Remove.
980 2017-12-08 Jim Wilson <jimw@sifive.com>
982 * config/riscv/div.S: Use FUNC_* macros.
983 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
984 * config/riscv/save-restore.S: Likewise.
985 * config/riscv/riscv-asm.h: New.
987 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
989 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
990 * config/rs6000/_divkc3.c (__divkc3): Likewise.
993 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
994 correct type for all ifunc resolvers to silence -Wattribute-alias
995 warnings. Eliminate the forward declaration of the resolver
996 functions which is no longer needed.
997 (__subkf3_resolve): Likewise.
998 (__mulkf3_resolve): Likewise.
999 (__divkf3_resolve): Likewise.
1000 (__negkf2_resolve): Likewise.
1001 (__eqkf2_resolve): Likewise.
1002 (__nekf2_resolve): Likewise.
1003 (__gekf2_resolve): Likewise.
1004 (__gtkf2_resolve): Likewise.
1005 (__lekf2_resolve): Likewise.
1006 (__ltkf2_resolve): Likewise.
1007 (__unordkf2_resolve): Likewise.
1008 (__extendsfkf2_resolve): Likewise.
1009 (__extenddfkf2_resolve): Likewise.
1010 (__trunckfsf2_resolve): Likewise.
1011 (__trunckfdf2_resolve): Likewise.
1012 (__fixkfsi_resolve): Likewise.
1013 (__fixkfdi_resolve): Likewise.
1014 (__fixunskfsi_resolve): Likewise.
1015 (__fixunskfdi_resolve): Likewise.
1016 (__floatsikf_resolve): Likewise.
1017 (__floatdikf_resolve): Likewise.
1018 (__floatunsikf_resolve): Likewise.
1019 (__floatundikf_resolve): Likewise.
1020 (__extendkftf2_resolve): Likewise.
1021 (__trunctfkf2_resolve): Likewise.
1024 * config/rs6000/quad-float128.h (TF): Don't define if long double
1025 is IEEE 128-bit floating point.
1026 (TCtype): Define as either TCmode or KCmode, depending on whether
1027 long double is IEEE 128-bit floating point.
1028 (__mulkc3_sw): Add declarations for software/hardware versions of
1029 complex multiply/divide.
1030 (__divkc3_sw): Likewise.
1031 (__mulkc3_hw): Likewise.
1032 (__divkc3_hw): Likewise.
1033 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1034 handlers to switch between using software emulation and hardware
1035 float128 instructions, build the complex multiply/divide functions
1036 for both software and hardware support.
1037 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1038 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1039 (__divkc3_resolve): Likewise.
1040 (__mulkc3): Likewise.
1041 (__divkc3): Likewise.
1042 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1043 (fp128_hw_src): Likewise.
1044 (fp128_hw_static_obj): Likewise.
1045 (fp128_hw_shared_obj): Likewise.
1046 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1047 _mulkc3.c and _divkc3.c, changing the function name.
1048 (_divkc3-hw.c): Likewise.
1049 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1052 2017-11-26 Julia Koval <julia.koval@intel.com>
1054 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1055 * config/i386/cpuinfo.h (processor_subtypes): Add
1056 INTEL_COREI7_CANNONLAKE.
1058 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1061 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1063 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1064 * config/ia64/unwind-ia64.c: Add frames parameter.
1065 * unwind-sjlj.c: Likewise.
1067 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1069 * config/i386/linux-unwind.h: Include
1070 config/i386/shadow-stack-unwind.h.
1071 * config/i386/shadow-stack-unwind.h: New file.
1072 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1073 pass it to _Unwind_Frames_Extra.
1074 * unwind-generic.h (_Unwind_Frames_Extra): New.
1075 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1076 parameter. Add local variable frames to count number of frames.
1077 (_Unwind_ForcedUnwind_Phase2): Likewise.
1078 (_Unwind_RaiseException): Add local variable frames to count
1079 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1081 (_Unwind_ForcedUnwind): Likewise.
1082 (_Unwind_Resume): Likewise.
1083 (_Unwind_Resume_or_Rethrow): Likewise.
1085 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1087 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1089 * config/i386/morestack.S: Include <cet.h>.
1090 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1091 * config/i386/resms64.h: Include <cet.h>.
1092 * config/i386/resms64f.h: Likewise.
1093 * config/i386/resms64fx.h: Likewise.
1094 * config/i386/resms64x.h: Likewise.
1095 * config/i386/savms64.h: Likewise.
1096 * config/i386/savms64f.h: Likewise.
1097 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1098 (CRTSTUFF_T_CFLAGS): Likewise.
1099 * configure.ac: Include ../config/cet.m4.
1100 Set and substitute CET_FLAGS.
1101 * configure: Regenerated.
1103 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1105 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1107 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1108 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1109 * configure: Regenerate.
1111 2017-11-07 Tom de Vries <tom@codesourcery.com>
1113 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1114 after "do {} while (0)".
1116 2017-11-07 Tom de Vries <tom@codesourcery.com>
1119 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1120 semicolon after "do {} while (0)".
1121 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1122 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1123 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1124 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1126 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1129 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1130 sysctl to determine whether we're in a trampoline.
1131 Keep the pattern matching method for systems without
1132 KERN_PROC_SIGTRAMP sysctl.
1134 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1135 Vineet Gupta <vgupta@synopsys.com>
1137 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1138 * config/arc/linux-unwind-reg.def: New file.
1139 * config/arc/linux-unwind-reg.h: Likewise.
1141 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1143 * config/rl78/subdi3.S: New assembly file.
1144 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1146 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1148 * config/rl78/adddi3.S: New assembly file.
1149 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1151 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1154 * libgcc2.c (__mulvDI3): If both operands have
1155 the same highpart of -1 and the topmost bit of lowpart is 0,
1156 multiplication overflows even if both lowparts are 0.
1158 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1160 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1162 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1164 * config/microblaze/crti.S, config/microblaze/crtn.S,
1165 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1166 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1167 config/microblaze/mulsi3.S,
1168 config/microblaze/stack_overflow_exit.S,
1169 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1170 config/pa/milli64.S: Add .note.GNU-stack section.
1172 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1174 * configure.ac: Add Check for HAVE_AS_AVX.
1175 * config.in: Regenerate.
1176 * configure: Likewise.
1177 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1178 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1179 Correct out-of-date comments.
1181 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1183 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1184 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1186 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1188 * config/i386/i386-asm.h (PASTE2): New macro.
1189 (ASMNAME): Modify to use PASTE2.
1190 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1191 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1192 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1193 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1194 * config/i386/resms64f.S: Likewise.
1195 * config/i386/resms64fx.S: Likewise.
1196 * config/i386/resms64x.S: Likewise.
1197 * config/i386/savms64.S: Likewise.
1198 * config/i386/savms64f.S: Likewise.
1199 * config/i386/avx_resms64.S: New file that only defines a macro and
1200 includes it's corresponding header file.
1201 * config/i386/avx_resms64f.S: Likewise.
1202 * config/i386/avx_resms64fx.S: Likewise.
1203 * config/i386/avx_resms64x.S: Likewise.
1204 * config/i386/avx_savms64.S: Likewise.
1205 * config/i386/avx_savms64f.S: Likewise.
1206 * config/i386/sse_resms64.S: Likewise.
1207 * config/i386/sse_resms64f.S: Likewise.
1208 * config/i386/sse_resms64fx.S: Likewise.
1209 * config/i386/sse_resms64x.S: Likewise.
1210 * config/i386/sse_savms64.S: Likewise.
1211 * config/i386/sse_savms64f.S: Likewise.
1212 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1214 2017-09-01 Olivier Hainque <hainque@adacore.com>
1215 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1217 2017-08-31 Olivier Hainque <hainque@adacore.com>
1219 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1220 match as powerpc-wrs-vxworks*.
1222 2017-08-07 Jonathan Yong <10walls@gmail.com>
1224 * config.host (*-cygwin): Include file from mingw
1225 config/i386/enable-execute-stack-mingw32.c
1227 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1228 Doug Rupp <rupp@adacore.com>
1229 Olivier Hainque <hainque@adacore.com>
1231 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1232 as well as arm-wrs-vxworks.
1233 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1235 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1236 __exidx_start and __exidx_end for downloadable modules.
1238 2017-08-01 Olivier Hainque <hainque@adacore.com>
1240 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1241 * config/t-vxworks7: Likewise.
1243 2017-08-01 Olivier Hainque <hainque@adacore.com>
1245 * config/t-vxworks: Instead of redefining LIB2ADD,
1246 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1248 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1250 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1252 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1255 * config.host: include i386/t-msabi for darwin and solaris.
1256 * config/i386/i386-asm.h
1257 (ELFFN): Rename to FN_TYPE.
1258 (FN_SIZE): New macro.
1259 (FN_HIDDEN): Likewise.
1260 (ASMNAME): Likewise.
1261 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1263 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1264 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1265 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1267 * config/i386/resms64f.S: Likewise.
1268 * config/i386/resms64fx.S: Likewise.
1269 * config/i386/resms64x.S: Likewise.
1270 * config/i386/savms64.S: Likewise.
1271 * config/i386/savms64f.S: Likewise.
1273 2017-07-19 John Marino <gnugcc@marino.st>
1275 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1277 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1280 * configure.ac (PowerPC float128 hardware support): Test whether
1281 we can use __builtin_cpu_supports before enabling the ifunc
1283 * configure: Regenerate.
1285 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1287 * config.host: Remove uclibc from arc target spec.
1289 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1291 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1293 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1295 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1296 (have_ieee_hw_p): Delete function.
1297 (SW_OR_HW) Use __builtin_cpu_supports().
1299 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1301 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1303 2017-07-03 Olivier Hainque <hainque@adacore.com>
1305 * config/t-vxworks7: New file, really.
1307 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1309 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1310 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1311 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1312 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1313 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1314 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1315 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1316 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1317 config/sh/linux-unwind.h (sh_fallback_frame_state),
1318 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1319 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1320 ucontext_t instead of struct ucontext.
1322 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1324 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1325 (x86_64-wrs-vxworks7): Likewise.
1327 2017-06-27 Olivier Hainque <hainque@adacore.com>
1329 * config/t-vxworks7: New file.
1330 * config.host (*-*-vxworks7): Use it.
1332 2017-06-22 Matt Turner <mattst88@gmail.com>
1334 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1337 2017-06-21 Richard Biener <rguenther@suse.de>
1339 PR gcov-profile/81080
1340 * configure.ac: Add AC_SYS_LARGEFILE.
1341 * libgcov.h: Include auto-target.h before tsystem.h to pick
1342 up _FILE_OFFSET_BITS which might differ for multilibs.
1343 * config.in: Regenerate.
1344 * configure: Likewise.
1346 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1348 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1350 2017-06-09 Martin Liska <mliska@suse.cz>
1352 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1353 Reset __gcov_indirect_call_callee to NULL.
1355 2017-06-08 Olivier Hainque <hainque@adacore.com>
1357 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1358 the set of -I options, support for direct inclusions of net/uio.h
1359 by VxWorks header files via ioLib.h.
1361 2017-06-07 Tony Reix <tony.reix@atos.net>
1362 Matthieu Sarter <matthieu.sarter.external@atos.net>
1363 David Edelsohn <dje.gcc@gmail.com>
1365 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1367 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1370 2017-06-02 Olivier Hainque <hainque@adacore.com>
1372 * config/vxlib.c (__gthread_once): Add missing value to
1375 2017-05-30 Olivier Hainque <hainque@adacore.com>
1377 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1378 dollar sign before $(MULTIDIR).
1380 2017-05-26 Richard Henderson <rth@redhat.com>
1383 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1385 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1387 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1388 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1389 * config/arm/unwind-arm.c: Implement the above.
1391 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1393 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1394 section for a non-executable stack.
1396 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1399 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1401 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1403 * config.host: Add i386/t-msabi to i386/t-linux file list.
1404 * config/i386/i386-asm.h: New file.
1405 * config/i386/resms64.S: New file.
1406 * config/i386/resms64f.S: New file.
1407 * config/i386/resms64fx.S: New file.
1408 * config/i386/resms64x.S: New file.
1409 * config/i386/savms64.S: New file.
1410 * config/i386/savms64f.S: New file.
1411 * config/i386/t-msabi: New file.
1413 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1415 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1416 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1418 2017-05-05 Joshua Conner <joshconner@google.com>
1420 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1421 pc-relative indirect handling for fuchsia.
1422 * config/t-slibgcc-fuchsia: New file.
1423 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1424 x86_64-*-fuchsia*): Add definitions.
1426 2017-04-19 Martin Liska <mliska@suse.cz>
1428 PR gcov-profile/80435
1429 * Makefile.in: Install gcov.h.
1431 * libgcov.h: Use the header and make __gcov_flush publicly
1434 2017-04-18 Martin Liska <mliska@suse.cz>
1436 PR gcov-profile/78783
1437 * libgcov-driver.c (gcov_get_filename): New function.
1439 2017-04-07 Jeff Law <law@redhat.com>
1441 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1442 target makefile fragment.
1443 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1445 2017-04-07 Alan Modra <amodra@gmail.com>
1448 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1450 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1452 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1454 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1456 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1458 2017-03-10 John Marino <gnugcc@marino.st>
1460 * config/aarch64/freebsd-unwind.h: New file.
1461 * config.host: Add aarch64-*-freebsd unwinder.
1463 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1465 * config/rs6000/crtrestvr.s: Use .machine altivec.
1466 * config/rs6000/crtsavevr.s: Ditto.
1468 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1470 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1471 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1472 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1473 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1474 * configure: Regenerate.
1475 * config.in: Regenerate.
1477 2017-03-02 Jonathan Yong <10walls@gmail.com>
1479 * config/i386/gthr-win32.h: Define NOGDI before
1480 windows.h include to prevent w32api CC_NONE macro
1481 clash with libgfortran.
1483 2017-03-02 Jonathan Yong <10walls@gmail.com>
1485 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1487 2017-02-16 Andrew Pinski <apinski@cavium.com>
1489 * config/aarch64/value-unwind.h: New file.
1490 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1493 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1495 * config.host: Add RISC-V tuples.
1496 * config/riscv/atomic.c: New file.
1497 * config/riscv/crti.S: Likewise.
1498 * config/riscv/crtn.S: Likewise.
1499 * config/riscv/div.S: Likewise.
1500 * config/riscv/linux-unwind.h: Likewise.
1501 * config/riscv/muldi3.S: Likewise.
1502 * config/riscv/multi3.S: Likewise.
1503 * config/riscv/save-restore.S: Likewise.
1504 * config/riscv/sfp-machine.h: Likewise.
1505 * config/riscv/t-elf: Likewise.
1506 * config/riscv/t-elf32: Likewise.
1507 * config/riscv/t-elf64: Likewise.
1508 * config/riscv/t-softfp32: Likewise.
1509 * config/riscv/t-softfp64: Likewise.
1511 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1513 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1514 /* FALLTHRU */ comments.
1516 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1518 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1520 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1522 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1523 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1524 DW_CFA_GNU_window_save for AArch64 and LP64.
1526 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1528 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1530 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1532 * config/aarch64/aarch64-unwind.h: New file.
1533 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1534 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1535 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1536 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1537 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1538 (aarch64_post_extract_frame_addr): New function.
1539 (aarch64_post_frob_eh_handler_addr): New function.
1540 (aarch64_frob_update_context): New function.
1541 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1542 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1543 aarch64*-*-freebsd*):
1544 Initialize md_unwind_header to include aarch64-unwind.h.
1545 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1546 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1548 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1549 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1550 (uw_frob_return_addr): New function.
1551 (uw_install_context): Use uw_frob_return_addr.
1553 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1556 * configure.ac: Add GCC_BASE_VER.
1557 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1558 version from BASE-VER file.
1559 * configure: Regenerated.
1561 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1563 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1564 libmul_f5.a): Filter archived prerequisites.
1566 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1568 * config/i386/cpuinfo.h (processor_features): Add
1569 FEATURE_AVX512VPOPCNTDQ.
1570 * config/i386/cpuinfo.c (get_available_features): Habdle new
1573 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1575 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1576 payload if [__mips_nan2008].
1578 2017-01-04 Alan Modra <amodra@gmail.com>
1580 * Makefile.in (configure_deps): Update.
1581 * configure: Regenerate.
1583 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1585 Update copyright years.
1587 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1589 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1590 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1591 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1593 2016-12-17 Matthias Klose <doko@ubuntu.com>
1595 * config/arc/gmon: Remove empty directory.
1597 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1599 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1601 (arc*-*-elf*): Likewise.
1602 * config/arc/t-arc: Remove old gmon lib targets.
1603 * config/arc/crtg.S: Remove.
1604 * config/arc/crtgend.S: Likewise.
1605 * config/arc/gmon/atomic.h: Likewise.
1606 * config/arc/gmon/auxreg.h: Likewise.
1607 * config/arc/gmon/dcache_linesz.S: Likewise.
1608 * config/arc/gmon/gmon.c: Likewise.
1609 * config/arc/gmon/machine-gmon.h: Likewise.
1610 * config/arc/gmon/mcount.c: Likewise.
1611 * config/arc/gmon/prof-freq-stub.S: Likewise.
1612 * config/arc/gmon/prof-freq.c: Likewise.
1613 * config/arc/gmon/profil.S: Likewise.
1614 * config/arc/gmon/sys/gmon.h: Likewise.
1615 * config/arc/gmon/sys/gmon_out.h: Likewise.
1616 * config/arc/t-arc-newlib: Likewise.
1617 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1619 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1621 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1623 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1625 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1626 R16 instead of push + pop.
1627 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1629 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1631 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1634 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1636 * config.host (arc*-*-linux-uclibc*): Use default extra
1637 objects. Include linux-android header.
1638 * config/arc/crti.S (_init): Declare symbol as function.
1641 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1644 * config/i386/cpuinfo.c: Move denums for processor vendors,
1645 processor type, processor subtypes and declaration of
1646 struct __processor_model into
1647 * config/i386/cpuinfo.h: New header file.
1649 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1650 Thomas Preud'homme <thomas.preudhomme@arm.com>
1652 * config/arm/cmse_nonsecure_call.S: New.
1653 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1655 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1656 Thomas Preud'homme <thomas.preudhomme@arm.com>
1658 * config/arm/t-arm (HAVE_CMSE): New.
1659 * config/arm/cmse.c: New.
1661 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1664 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1665 use generic linker version information on Blackfin.
1668 * libgcc/mkmap-symver.awk: add support for skip_underscore
1670 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1671 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1674 * config/t-darwin: Default builds to 10.5 codegen.
1676 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1678 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1679 (_FP_NANSIGN_H): Likewise.
1680 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1681 (softfp_truncations): Add tfhf.
1682 (softfp_extras): Add required conversion functions.
1684 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1685 Matthew Wahab <matthew.wahab@arm.com>
1687 * config/arm/fp16.c (binary64): New.
1688 (__gnu_d2h_internal): New.
1689 (__gnu_d2h_ieee): New.
1690 (__gnu_d2h_alternative): New.
1692 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1693 Matthew Wahab <matthew.wahab@arm.com>
1695 * config/arm/fp16.c (struct format): New.
1697 (__gnu_float2h_internal): New. Body moved from
1698 __gnu_f2h_internal and generalize.
1699 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1700 Call it with binary32.
1702 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1704 * soft-fp/extendhftf2.c: Update from glibc.
1705 * soft-fp/fixhfti.c: Likewise.
1706 * soft-fp/fixunshfti.c: Likewise.
1707 * soft-fp/floattihf.c: Likewise.
1708 * soft-fp/floatuntihf.c: Likewise.
1709 * soft-fp/half.h: Likewise.
1710 * soft-fp/trunctfhf2.c: Likewise.
1712 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1715 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1716 __TMC_END__ behind a passthrough asm.
1718 2016-11-18 Walter Lee <walt@tilera.com>
1720 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1722 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1724 * config/i386/cpuinfo.c (processor_features): Add
1725 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1727 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1729 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1730 (__ARC_NORM__): Use instead ARC_OPTFPE.
1731 * config/arc/fp-hack.h: Likewise.
1732 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1733 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1735 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1737 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1738 * config/nvptx/mgomp.c: New file.
1739 * config/nvptx/t-nvptx: Add mgomp.c
1741 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1744 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1746 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1748 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1749 of checking for cpus.
1750 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1751 (__modsi3, __clzsi2): Likewise.
1753 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1755 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1756 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1757 * config/i386/t-cpuinfo-static: New.
1759 2016-11-03 Martin Liska <mliska@suse.cz>
1761 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1762 (__gcov_time_profiler_atomic): Likewise.
1764 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1767 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1768 count_leading_zeros.
1770 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1772 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1773 * libgcc2.c (__divmoddi4): New function.
1774 * libgcc2.h (__divmoddi4): Declare.
1775 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1776 and __PFX_divmodti4.
1778 2016-10-24 Florian Weimer <fweimer@redhat.com>
1781 * unwind-c.c: Include auto-target.h.
1783 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1785 * config/pa/pa64-hpux-lib.h: New file.
1786 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1787 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1788 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1791 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1793 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1795 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1797 * config/xtensa/t-windowed (LIB2ADDEH): Use
1798 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1801 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1803 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1804 __ieee754_sqrt): New functions.
1805 (__divdf3): Add implementation with new FPU instructions under
1806 #if XCHAL_HAVE_DFP_DIV.
1807 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1808 __ieee754_sqrtf): New functions.
1809 (__divsf3): Add implementation with new FPU instructions under
1810 #if XCHAL_HAVE_FP_DIV.
1811 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1812 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1814 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1816 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1818 * config/tilepro/atomic.c: Likewise and stop casting model to
1821 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1824 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1827 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1829 * config.host: Add support for aarch64-*-freebsd*.
1831 2016-10-05 Andreas Schwab <schwab@suse.de>
1833 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1834 (.section .init_array): Don't call __do_jv_register_classes.
1835 (.section .init): Likewise.
1837 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1839 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1840 (__JCR_LIST__): Remove.
1841 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1842 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1843 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1844 * config/ia64/crtend.S (__JCR_END__): Remove.
1845 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1847 (__JCR_LIST__, __JCR_END__): Remove.
1848 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1849 (__do_global_ctors_1): Likewise.
1851 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1853 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1854 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1856 2016-09-27 Martin Liska <mliska@suse.cz>
1858 PR gcov-profile/7970
1859 PR gcov-profile/16855
1860 PR gcov-profile/44779
1861 * libgcov-driver.c (__gcov_init): Do not register a atexit
1863 (__gcov_exit): Rename from gcov_exit.
1864 * libgcov.h (__gcov_exit): Declare.
1866 2016-09-27 Martin Liska <mliska@suse.cz>
1869 * Makefile.in: Remove _gcov_merge_delta.
1870 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1871 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1872 * libgcov.h: Remove declaration of __gcov_merge_delta.
1874 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1876 * configure.ac: Do not create links, only substitute the filenames.
1877 * configure: Regenerate.
1878 * Makefile.in: Assign the substitution results to variables.
1879 (LIBGCC_LINKS): Define.
1880 (enable-execute-stack.c): New rule.
1881 (unwind.h): Likewise.
1882 (md-unwind-support.h): Likewise.
1883 (sfp-machine.h): Likewise.
1884 (gthr-default.h): Likewise.
1885 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1886 unwind.h as prerequisite of install-unwind_h-forbuild.
1888 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1891 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1892 is not the primary registry and atomics are available.
1893 (any_objects_registered): New variable.
1894 (__register_frame_info_bases, __register_frame_info_table_bases):
1895 Atomically store 1 to any_objects_registered after registering first
1897 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1899 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1902 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1903 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1906 (__divhc3): Likewise.
1907 (__mulhc3): Likewise.
1908 * libgcc2.c: Support _mulhc3 and _divhc3.
1910 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1913 * libgcc2.c (NOTRUNC): Invert settings.
1915 2016-09-06 Martin Liska <mliska@suse.cz>
1917 PR gcov-profile/77378
1918 PR gcov-profile/77466
1919 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1920 conditionaly enable/disable *_atomic functions.
1922 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1924 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1925 where not already enabled.
1927 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1929 * config/mips/linux-unwind.h: Use sys/syscall.h.
1931 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1934 * soft-fp/adddf3.c: Update from glibc.
1935 * soft-fp/addsf3.c: Likewise.
1936 * soft-fp/addtf3.c: Likewise.
1937 * soft-fp/divdf3.c: Likewise.
1938 * soft-fp/divsf3.c: Likewise.
1939 * soft-fp/divtf3.c: Likewise.
1940 * soft-fp/double.h: Likewise.
1941 * soft-fp/eqdf2.c: Likewise.
1942 * soft-fp/eqsf2.c: Likewise.
1943 * soft-fp/eqtf2.c: Likewise.
1944 * soft-fp/extenddftf2.c: Likewise.
1945 * soft-fp/extended.h: Likewise.
1946 * soft-fp/extendsfdf2.c: Likewise.
1947 * soft-fp/extendsftf2.c: Likewise.
1948 * soft-fp/extendxftf2.c: Likewise.
1949 * soft-fp/fixdfdi.c: Likewise.
1950 * soft-fp/fixdfsi.c: Likewise.
1951 * soft-fp/fixdfti.c: Likewise.
1952 * soft-fp/fixsfdi.c: Likewise.
1953 * soft-fp/fixsfsi.c: Likewise.
1954 * soft-fp/fixsfti.c: Likewise.
1955 * soft-fp/fixtfdi.c: Likewise.
1956 * soft-fp/fixtfsi.c: Likewise.
1957 * soft-fp/fixtfti.c: Likewise.
1958 * soft-fp/fixunsdfdi.c: Likewise.
1959 * soft-fp/fixunsdfsi.c: Likewise.
1960 * soft-fp/fixunsdfti.c: Likewise.
1961 * soft-fp/fixunssfdi.c: Likewise.
1962 * soft-fp/fixunssfsi.c: Likewise.
1963 * soft-fp/fixunssfti.c: Likewise.
1964 * soft-fp/fixunstfdi.c: Likewise.
1965 * soft-fp/fixunstfsi.c: Likewise.
1966 * soft-fp/fixunstfti.c: Likewise.
1967 * soft-fp/floatdidf.c: Likewise.
1968 * soft-fp/floatdisf.c: Likewise.
1969 * soft-fp/floatditf.c: Likewise.
1970 * soft-fp/floatsidf.c: Likewise.
1971 * soft-fp/floatsisf.c: Likewise.
1972 * soft-fp/floatsitf.c: Likewise.
1973 * soft-fp/floattidf.c: Likewise.
1974 * soft-fp/floattisf.c: Likewise.
1975 * soft-fp/floattitf.c: Likewise.
1976 * soft-fp/floatundidf.c: Likewise.
1977 * soft-fp/floatundisf.c: Likewise.
1978 * soft-fp/floatunditf.c: Likewise.
1979 * soft-fp/floatunsidf.c: Likewise.
1980 * soft-fp/floatunsisf.c: Likewise.
1981 * soft-fp/floatunsitf.c: Likewise.
1982 * soft-fp/floatuntidf.c: Likewise.
1983 * soft-fp/floatuntisf.c: Likewise.
1984 * soft-fp/floatuntitf.c: Likewise.
1985 * soft-fp/gedf2.c: Likewise.
1986 * soft-fp/gesf2.c: Likewise.
1987 * soft-fp/getf2.c: Likewise.
1988 * soft-fp/ledf2.c: Likewise.
1989 * soft-fp/lesf2.c: Likewise.
1990 * soft-fp/letf2.c: Likewise.
1991 * soft-fp/muldf3.c: Likewise.
1992 * soft-fp/mulsf3.c: Likewise.
1993 * soft-fp/multf3.c: Likewise.
1994 * soft-fp/negdf2.c: Likewise.
1995 * soft-fp/negsf2.c: Likewise.
1996 * soft-fp/negtf2.c: Likewise.
1997 * soft-fp/op-1.h: Likewise.
1998 * soft-fp/op-2.h: Likewise.
1999 * soft-fp/op-4.h: Likewise.
2000 * soft-fp/op-8.h: Likewise.
2001 * soft-fp/op-common.h: Likewise.
2002 * soft-fp/quad.h: Likewise.
2003 * soft-fp/single.h: Likewise.
2004 * soft-fp/soft-fp.h: Likewise.
2005 * soft-fp/subdf3.c: Likewise.
2006 * soft-fp/subsf3.c: Likewise.
2007 * soft-fp/subtf3.c: Likewise.
2008 * soft-fp/truncdfsf2.c: Likewise.
2009 * soft-fp/trunctfdf2.c: Likewise.
2010 * soft-fp/trunctfsf2.c: Likewise.
2011 * soft-fp/trunctfxf2.c: Likewise.
2012 * soft-fp/unorddf2.c: Likewise.
2013 * soft-fp/unordsf2.c: Likewise.
2014 * soft-fp/unordtf2.c: Likewise.
2016 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2018 PR gcov-profile/67097
2019 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2021 2016-08-10 Martin Liska <mliska@suse.cz>
2023 PR gcov-profile/58306
2024 * Makefile.in: New functions (modules) are added.
2025 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2027 (__gcov_pow2_profiler_atomic): New function.
2028 (__gcov_one_value_profiler_body): New argument is instroduced.
2029 (__gcov_one_value_profiler): Call with the new argument.
2030 (__gcov_one_value_profiler_atomic): Likewise.
2031 (__gcov_indirect_call_profiler_v2): Likewise.
2032 (__gcov_time_profiler_atomic): New function.
2033 (__gcov_average_profiler_atomic): Likewise.
2034 (__gcov_ior_profiler_atomic): Likewise.
2035 * libgcov.h: Declare the aforementioned functions.
2037 2016-08-09 Martin Liska <mliska@suse.cz>
2039 * libgcov-util.c: Fix typo and GNU coding style.
2041 2016-08-09 Martin Liska <mliska@suse.cz>
2043 * Makefile.in: Remove __gcov_indirect_call_profiler.
2044 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2046 * libgcov.h: And the declaration of the function.
2048 2016-08-09 Martin Liska <mliska@suse.cz>
2050 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2053 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2055 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2056 * config/rs6000/_mulkc3.c: Likewise.
2058 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2060 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2061 zero_reg as previous call to __umulhisi3 already cleared it.
2063 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2066 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2068 2016-07-19 Nick Clifton <nickc@redhat.com>
2070 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2071 Add crtinit.o and crtfini.o to extra_parts.
2073 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2075 * config/rs6000/_divkc3.c: New.
2076 * config/rs6000/_mulkc3.c: New.
2077 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2079 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2082 2016-07-11 Hale Wang <hale.wang@arm.com>
2083 Andre Vieira <andre.simoesdiasvieira@arm.com>
2085 * config/arm/lib1funcs.S: Add new wrapper.
2087 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2089 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2091 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2093 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2094 and ARMv5t* rather than for a fixed list of architectures.
2096 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2098 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2099 implementation suitable for.
2100 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2101 for all Thumb-1 only targets.
2102 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2103 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2106 (ARM_FUNC_ALIAS): Likewise.
2107 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2110 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2113 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2114 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2115 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2116 __ARM_ARCH_6M__ and add comment to indicate the connection between
2117 this condition and the one in gcc/config/arm/elf.h.
2118 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2119 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2120 * config/arm/t-softfp: Likewise.
2122 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2124 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2125 CTOR_LISTS_DEFINED_EXTERNALLY.
2127 2016-06-28 Walter Lee <walt@tilera.com>
2129 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2131 (SPR_CMPEXCH_VALUE): Define for tilegx.
2132 (__NR_FAST_cmpxchg): Define for tilepro.
2133 (__NR_FAST_atomic_update): Define for tilepro.
2134 (__NR_FAST_cmpxchg64): Define for tilepro.
2136 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2138 * config.host: Add suport for arm*-*-phoenix* targets.
2140 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2142 * config.host: Remove support for mep-*.
2143 * config/mep/lib1funcs.S: Remove.
2144 * config/mep/lib2funcs.c: Remove.
2145 * config/mep/t-mep: Remove.
2146 * config/mep/tramp.c: Remove.
2148 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2150 * config.host: Remove support for avr-rtems.
2151 * config/avr/t-rtems: Remove.
2153 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2155 * config.host: Remove m32r-rtems support.
2157 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2159 * config.host: Remove h8300-rtems support.
2161 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2163 * config.host: Remove support for knetbsd.
2165 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2167 * config.host: Remove support for openbsd 2 and 3.
2169 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2171 * config.host: Remove interix support.
2172 * config/i386/t-interix: Remove.
2174 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2176 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2177 least-significant bit in function pointer for fixup.
2179 2016-06-05 Aaron Conole <aconole@redhat.com>
2180 Nathan Sidwell <nathan@acm.org>
2183 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2184 (get_gcov_error_file): Check __gcov_error_file before trying to
2186 (gcov_error): Always use get_gcov_error_file.
2188 2016-06-02 Aaron Conole <aconole@redhat.com>
2190 * libgcov-driver-system.c (__gcov_error_file): New.
2191 (get_gcov_error_file): New.
2192 (gcov_error): Use and set __gcov_error_file.
2193 (gcov_error_exit): New.
2194 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2196 2016-05-26 Nathan Sidwell <nathan@acm.org>
2198 * config/nvptx/free.asm: Delete.
2199 * config/nvptx/malloc.asm: Delete.
2200 * config/nvptx/realloc.c: Delete.
2203 2016-05-25 Nathan Sidwell <nathan@acm.org>
2205 * config/nvptx/crt0.s: Delete.
2206 * config/nvptx/crt0.c: New.
2209 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2211 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2212 dw2/seh configuration.
2213 [x86_64-*-mingw*]: Likewise.
2215 2016-05-10 Joel Sherrill <joel@rtems.org>
2218 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2219 targets so the same extra_parts are built. Also have tmake_file add
2220 on to its value rather than override.
2222 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2224 * config.host: Remove SH5 support.
2225 * configure: Likewise.
2227 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2229 * config/sh/crt1.S: Remove SH5 support.
2230 * config/sh/crti.S: Likewise.
2231 * config/sh/crtn.S: Likewise.
2232 * config/sh/lib1funcs-4-300.S: Likewise.
2233 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2234 * config/sh/lib1funcs.S: Likewise.
2235 * config/sh/linux-unwind.h: Likewise.
2236 * config/sh/t-sh64: Delete.
2238 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2240 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2242 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2243 Joern Rennecke <joern.rennecke@embecosm.com>
2245 * config/arc/crttls.S: New file.
2246 * config/arc/t-arc: New rule.
2247 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2249 2016-04-25 Nick Clifton <nickc@redhat.com>
2251 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2252 (__mspabi_cmpd): Likewise.
2253 * config/msp430/floathidf.c (__floathidf): Likewise.
2254 * config/msp430/floathisf.c (__floathisf): Likewise
2255 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2256 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2257 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2259 (__ashrsi3): Likewise.
2261 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2263 * config/m68k/linux-atomic.c: Do not include unistd.h
2265 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2267 * config/arm/ieee754-df.S: Fix typos in comments.
2269 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2272 * configure.ac (powerpc*-*-linux*): Rework tests to build
2273 __float128 emulation routines to not depend on using #pragma GCC
2274 target to enable -mfloat128.
2275 * configure: Regnerate.
2277 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2280 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2281 __MINGW32__ is defined.
2283 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2285 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2287 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2290 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2291 built with an assembler that does not support ISA 3.0
2292 instructions, rename __extendkftf2_sw to __extendkftf2.
2294 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2297 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2298 call-clobbered registers.
2299 (internal_mcount): Remove __i386__ handling.
2301 2016-02-26 Joel Sherrill <joel@rtems.org>
2303 * config.host: Add x86_64-*-rtems*.
2305 2016-02-26 Joel Sherrill <joel@rtems.org>
2307 * libgcc/config.host: Add aarch64-*-rtems*.
2309 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2310 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2312 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2313 union of u64 and double.
2314 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2315 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2317 (FP_ROUNDMODE): Update the usage of _fpscr.
2319 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2322 * Makefile.in (crtoffloadtable$(objext)): New rule.
2323 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2324 enable_offload_targets is not empty.
2325 * configure: Regenerate.
2326 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2329 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2331 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2332 .literal_position before the function.
2333 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2336 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2338 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2339 * config/s390/morestack.S: New file.
2340 * config/s390/t-stack-s390: New file.
2341 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2343 2016-02-12 Walter Lee <walt@tilera.com>
2345 * config.host (tilegx*-*-linux*): remove ti from
2346 softfp_int_modes for 32-bit configs.
2348 2016-02-10 Ian Lance Taylor <iant@google.com>
2351 * config/i386/morestack.S (__stack_split_initialize): Align
2354 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2357 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2358 __FLOAT128__ to compile only for __float128 capable targets.
2360 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2363 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2364 instead of ___NO_FPRS__.
2366 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2367 Steven Munroe <munroesj@linux.vnet.ibm.com>
2368 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2370 * config/rs6000/float128-sed: New files to convert TF names to KF
2371 names for PowerPC IEEE 128-bit floating point support.
2372 * config/rs6000/float128-sed-hw: Likewise.
2374 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2375 floating point hardware support.
2377 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2378 128-bit floating point software emulation or use ISA 3.0 hardware
2379 support if it is available.
2381 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2384 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2385 floating point to IBM extended double.
2387 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2388 double to IEEE 128-bit floating point.
2390 * config/rs6000/t-float128: New Makefile fragments to enable
2391 building __float128 emulation support.
2392 * config/rs6000/t-float128-hw: Likewise.
2394 * config/rs6000/sfp-exceptions.c: New file to provide exception
2395 support for IEEE 128-bit floating point.
2397 * config/rs6000/floattikf.c: New files for converting between IEEE
2398 128-bit floating point and signed/unsigned 128-bit integers.
2399 * config/rs6000/fixunskfti.c: Likewise.
2400 * config/rs6000/fixkfti.c: Likewise.
2401 * config/rs6000/floatuntikf.c: Likewise.
2403 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2404 when building on 64-bit systems, or when VSX is enabled.
2405 (_FP_W_TYPE): Likewise.
2406 (_FP_WS_TYPE): Likewise.
2407 (_FP_I_TYPE): Likewise.
2408 (TItype): Define on 64-bit systems.
2409 (UTItype): Likewise.
2410 (TI_BITS): Likewise.
2411 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2412 (_FP_MUL_MEAT_Q): Likewise.
2413 (_FP_DIV_MEAT_D): Likewise.
2414 (_FP_DIV_MEAT_Q): Likewise.
2415 (_FP_NANFRAC_D): Likewise.
2416 (_FP_NANFRAC_Q): Likewise.
2417 (ISA_BIT): Add exception support if we are being compiled on a
2418 machine with hardware floating point support to build the IEEE
2419 128-bit emulation functions.
2420 (FP_EX_INVALID): Likewise.
2421 (FP_EX_OVERFLOW): Likewise.
2422 (FP_EX_UNDERFLOW): Likewise.
2423 (FP_EX_DIVZERO): Likewise.
2424 (FP_EX_INEXACT): Likewise.
2425 (FP_EX_ALL): Likewise.
2426 (__sfp_handle_exceptions): Likewise.
2427 (FP_HANDLE_EXCEPTIONS): Likewise.
2428 (FP_RND_NEAREST): Likewise.
2429 (FP_RND_ZERO): Likewise.
2430 (FP_RND_PINF): Likewise.
2431 (FP_RND_MINF): Likewise.
2432 (FP_RND_MASK): Likewise.
2433 (_FP_DECL_EX): Likewise.
2434 (FP_INIT_ROUNDMODE): Likewise.
2435 (FP_ROUNDMODE): Likewise.
2437 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2438 VSX code, enable IEEE 128-bit floating point. If the compiler can
2439 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2440 floating point hardware instructions and it supports declaring
2441 functions with the ifunc attribute, enable ifunc functions to
2442 switch between software and hardware support.
2443 * configure.ac (powerpc*-*-linux*): Likewise.
2444 * configure: Regenerate.
2446 2016-01-15 Nick Clifton <nickc@redhat.com>
2448 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2449 dependency as the source file to be compiled.
2450 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2451 (lib2hw_mul_f5.o): Likewise.
2453 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2455 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2456 * libgcc/config/rs6000/fixkfti.c: Likewise.
2457 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2458 * libgcc/config/rs6000/float128-hw.c: Likewise.
2459 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2460 * libgcc/config/rs6000/float128-sed: Likewise.
2461 * libgcc/config/rs6000/floattikf.c: Likewise.
2462 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2463 * libgcc/config/rs6000/quad-float128.h: Likewise.
2464 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2465 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2466 * libgcc/config/rs6000/t-float128: Likewise.
2467 * libgcc/config/rs6000/t-float128-hw: Likewise.
2468 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2469 * libgcc/config.host: Likewise.
2470 * libgcc/configure: Likewise.
2471 * libgcc/configure.ac: Likewise.
2473 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2474 Steven Munroe <munroesj@linux.vnet.ibm.com>
2475 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2477 * config/rs6000/sfp-exceptions.c: New file to provide exception
2478 support for IEEE 128-bit floating point.
2480 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2481 floating point hardware support.
2483 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2485 * config/rs6000/fixunskfti.c: Likewise.
2486 * config/rs6000/fixkfti.c: Likewise.
2487 * config/rs6000/floatuntikf.c: Likewise.
2488 * config/rs6000/extendkftf2-sw.c: Likewise.
2489 * config/rs6000/trunctfkf2-sw.c: Likewise.
2491 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2492 128-bit floating point software emulation or use ISA 3.0 hardware
2493 support if it is available.
2495 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2498 * config/rs6000/t-float128: New Makefile fragments to enable
2499 building __float128 emulation support.
2500 * config/rs6000/t-float128-hw: Likewise.
2502 * config/rs6000/float128-sed: New file to convert TF names to KF
2503 names for PowerPC IEEE 128-bit floating point support.
2505 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2506 when building on 64-bit systems, or when VSX is enabled.
2507 (_FP_W_TYPE): Likewise.
2508 (_FP_WS_TYPE): Likewise.
2509 (_FP_I_TYPE): Likewise.
2510 (TItype): Define on 64-bit systems.
2511 (UTItype): Likewise.
2512 (TI_BITS): Likewise.
2513 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2514 (_FP_MUL_MEAT_Q): Likewise.
2515 (_FP_DIV_MEAT_D): Likewise.
2516 (_FP_DIV_MEAT_Q): Likewise.
2517 (_FP_NANFRAC_D): Likewise.
2518 (_FP_NANFRAC_Q): Likewise.
2519 (ISA_BIT): Add exception support if we are being compiled on a
2520 machine with hardware floating point support to build the IEEE
2521 128-bit emulation functions.
2522 (FP_EX_INVALID): Likewise.
2523 (FP_EX_OVERFLOW): Likewise.
2524 (FP_EX_UNDERFLOW): Likewise.
2525 (FP_EX_DIVZERO): Likewise.
2526 (FP_EX_INEXACT): Likewise.
2527 (FP_EX_ALL): Likewise.
2528 (__sfp_handle_exceptions): Likewise.
2529 (FP_HANDLE_EXCEPTIONS): Likewise.
2530 (FP_RND_NEAREST): Likewise.
2531 (FP_RND_ZERO): Likewise.
2532 (FP_RND_PINF): Likewise.
2533 (FP_RND_MINF): Likewise.
2534 (FP_RND_MASK): Likewise.
2535 (_FP_DECL_EX): Likewise.
2536 (FP_INIT_ROUNDMODE): Likewise.
2537 (FP_ROUNDMODE): Likewise.
2539 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2540 compiler can do __float128.
2541 * configure: Regenerate.
2543 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2544 VSX code, enable IEEE 128-bit floating point.
2546 2016-01-05 Olivier Hainque <hainque@adacore.com>
2548 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2551 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2553 Update copyright years.
2555 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2557 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2560 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2562 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2563 instead of abort to avoid dependency on stdlib.h.
2565 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2567 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2568 to initialize call to __dl_fixup once.
2570 2015-12-04 Nick Clifton <nickc@redhat.com>
2572 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2573 Allow for the second argument being negative.
2574 * config.host (extra_parts): Define for MSP430. Create separate
2575 libraries for each of the hardware multiply formats.
2576 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2578 * config/msp430/lib2mul.c: Likewise.
2579 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2580 Add rules to build hardware multiply libraries.
2581 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2582 __mspabi_divul function.
2583 (__mspabi_divllu): New stub function.
2585 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2587 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2588 fixup values if saved GOT address doesn't match runtime address.
2589 (fixup_branch_offset): Reorder list.
2591 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2593 * Makefile.in (VTV_CFLAGS): New variable.
2594 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2595 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2596 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2597 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2598 to extra_parts if $enable_vtable_verify = yes.
2600 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2603 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2604 (write): ...this and fix the return type.
2606 2015-11-19 DJ Delorie <dj@redhat.com>
2608 * config/msp430/lib2hw_mul.S: Fix alignment.
2610 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2612 * config/nvptx/reduction.c: New.
2613 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2615 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2617 * config/rs6000/on_exit.c: New file.
2618 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2619 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2621 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2623 * config/arc/dp-hack.h: Add support for ARCHS.
2624 * config/arc/ieee-754/divdf3.S: Likewise.
2625 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2626 * config/arc/ieee-754/muldf3.S: Likewise.
2627 * config/arc/ieee-754/mulsf3.S: Likewise
2628 * config/arc/lib1funcs.S: Likewise
2629 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2631 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2633 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2634 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2637 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2639 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2641 * config/ia64/crtend.S: Likewise.
2643 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2645 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2646 __CHAR_BIT__ instead of BITS_PER_UNIT.
2647 * fixed-bit.h: Likewise.
2648 * fp-bit.h: Likewise.
2649 * libgcc2.c (__popcountSI2): Likewise.
2650 (__popcountDI2): Likewise.
2651 * libgcc2.h: Likewise.
2652 * libgcov.h: Likewise.
2654 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2656 * config/rs6000/atexit.c: New file.
2657 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2658 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2659 * config/rs6000/cxa_finalize.c
2660 (catomic_compare_and_exchange_bool_acq): Negate return value.
2662 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2664 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2665 (processor_subtypes): Add znver1.
2666 (get_amd_cpu): Detect znver1.
2668 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2670 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2671 Include crtfastmath.o.
2673 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2676 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2678 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2680 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2681 * config/rl78/divmodsi.S: Update return register to r8.
2682 * config/rl78/divmodhi.S: Update return register to r8,r9.
2683 Branch to main_loop_done_himode to pop registers before return.
2685 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2687 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2688 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2690 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2692 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2694 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2696 * config.host (xtensa*-*-uclinux*): New configuration.
2698 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2700 * config/i386/cpuinfo.c (processor_features): Add
2701 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2703 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2705 * soft-fp/adddf3.c: Update from glibc.
2706 * soft-fp/addsf3.c: Likewise.
2707 * soft-fp/addtf3.c: Likewise.
2708 * soft-fp/divdf3.c: Likewise.
2709 * soft-fp/divsf3.c: Likewise.
2710 * soft-fp/divtf3.c: Likewise.
2711 * soft-fp/double.h: Likewise.
2712 * soft-fp/eqdf2.c: Likewise.
2713 * soft-fp/eqsf2.c: Likewise.
2714 * soft-fp/eqtf2.c: Likewise.
2715 * soft-fp/extenddftf2.c: Likewise.
2716 * soft-fp/extended.h: Likewise.
2717 * soft-fp/extendsfdf2.c: Likewise.
2718 * soft-fp/extendsftf2.c: Likewise.
2719 * soft-fp/extendxftf2.c: Likewise.
2720 * soft-fp/fixdfdi.c: Likewise.
2721 * soft-fp/fixdfsi.c: Likewise.
2722 * soft-fp/fixdfti.c: Likewise.
2723 * soft-fp/fixsfdi.c: Likewise.
2724 * soft-fp/fixsfsi.c: Likewise.
2725 * soft-fp/fixsfti.c: Likewise.
2726 * soft-fp/fixtfdi.c: Likewise.
2727 * soft-fp/fixtfsi.c: Likewise.
2728 * soft-fp/fixtfti.c: Likewise.
2729 * soft-fp/fixunsdfdi.c: Likewise.
2730 * soft-fp/fixunsdfsi.c: Likewise.
2731 * soft-fp/fixunsdfti.c: Likewise.
2732 * soft-fp/fixunssfdi.c: Likewise.
2733 * soft-fp/fixunssfsi.c: Likewise.
2734 * soft-fp/fixunssfti.c: Likewise.
2735 * soft-fp/fixunstfdi.c: Likewise.
2736 * soft-fp/fixunstfsi.c: Likewise.
2737 * soft-fp/fixunstfti.c: Likewise.
2738 * soft-fp/floatdidf.c: Likewise.
2739 * soft-fp/floatdisf.c: Likewise.
2740 * soft-fp/floatditf.c: Likewise.
2741 * soft-fp/floatsidf.c: Likewise.
2742 * soft-fp/floatsisf.c: Likewise.
2743 * soft-fp/floatsitf.c: Likewise.
2744 * soft-fp/floattidf.c: Likewise.
2745 * soft-fp/floattisf.c: Likewise.
2746 * soft-fp/floattitf.c: Likewise.
2747 * soft-fp/floatundidf.c: Likewise.
2748 * soft-fp/floatundisf.c: Likewise.
2749 * soft-fp/floatunditf.c: Likewise.
2750 * soft-fp/floatunsidf.c: Likewise.
2751 * soft-fp/floatunsisf.c: Likewise.
2752 * soft-fp/floatunsitf.c: Likewise.
2753 * soft-fp/floatuntidf.c: Likewise.
2754 * soft-fp/floatuntisf.c: Likewise.
2755 * soft-fp/floatuntitf.c: Likewise.
2756 * soft-fp/gedf2.c: Likewise.
2757 * soft-fp/gesf2.c: Likewise.
2758 * soft-fp/getf2.c: Likewise.
2759 * soft-fp/ledf2.c: Likewise.
2760 * soft-fp/lesf2.c: Likewise.
2761 * soft-fp/letf2.c: Likewise.
2762 * soft-fp/muldf3.c: Likewise.
2763 * soft-fp/mulsf3.c: Likewise.
2764 * soft-fp/multf3.c: Likewise.
2765 * soft-fp/negdf2.c: Likewise.
2766 * soft-fp/negsf2.c: Likewise.
2767 * soft-fp/negtf2.c: Likewise.
2768 * soft-fp/op-1.h: Likewise.
2769 * soft-fp/op-2.h: Likewise.
2770 * soft-fp/op-4.h: Likewise.
2771 * soft-fp/op-8.h: Likewise.
2772 * soft-fp/op-common.h: Likewise.
2773 * soft-fp/quad.h: Likewise.
2774 * soft-fp/single.h: Likewise.
2775 * soft-fp/soft-fp.h: Likewise.
2776 * soft-fp/subdf3.c: Likewise.
2777 * soft-fp/subsf3.c: Likewise.
2778 * soft-fp/subtf3.c: Likewise.
2779 * soft-fp/truncdfsf2.c: Likewise.
2780 * soft-fp/trunctfdf2.c: Likewise.
2781 * soft-fp/trunctfsf2.c: Likewise.
2782 * soft-fp/trunctfxf2.c: Likewise.
2783 * soft-fp/unorddf2.c: Likewise.
2784 * soft-fp/unordsf2.c: Likewise.
2785 * soft-fp/unordtf2.c: Likewise.
2787 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2790 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2792 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2794 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2795 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2796 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2798 (internal_mcount): Likewise.
2799 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2800 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2802 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2804 * configure.ac (libgcc_cv_solaris_crts): New test.
2805 * configure: Regenerate.
2806 * config.in: Regenerate.
2807 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2808 * config/gmon-sol2.c: Rename to ...
2809 * config/sol2/gmon.c: ... this.
2810 Include auto-target.h.
2811 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2812 * config/t-sol2: Rename to ...
2813 * config/sol2/t-sol2: ... this.
2814 (gmon.o): Reflect renaming.
2815 (crtp.o, crtpg.o): New rules.
2816 * config.host (*-*-solaris2*): Reflect renaming.
2817 Use system CRTs if present.
2818 Remove default CRT case.
2820 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2822 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2823 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2825 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2826 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2827 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2828 (__sync_lock_test_and_set_##WIDTH): Likewise.
2829 (__sync_lock_release_##WIDTH): Likewise.
2830 (__sync_fetch_and_##OP##_4): Change result to match type of
2832 (__sync_##OP##_and_fetch_4): Likewise.
2833 (__sync_val_compare_and_swap_4): Likewise.
2834 (__sync_bool_compare_and_swap_4): likewise.
2835 (__sync_lock_test_and_set_4): Likewise.
2836 (__sync_lock_release_4): Likewise.
2837 (FETCH_AND_OP_2): Add long long variants.
2838 (OP_AND_FETCH_2): Likewise.
2839 (COMPARE_AND_SWAP_2 ): Likewise.
2840 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2841 (SYNC_LOCK_RELEASE_2): Likewise.
2842 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2844 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2846 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2847 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2848 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2849 (get_available_features): Habdle new features.
2851 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2853 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2854 memory layout. Deal correctly with BSS region larger than 32K.
2855 Handle a watchdog reset like a power-on reset. Clean up unused
2858 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2859 David Edelsohn <dje.gcc@gmail.com>
2861 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2862 * config/rs6000/crtdbase.S: New file.
2863 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2865 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2867 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2868 Add support for call0 ABI.
2870 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2872 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2874 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2876 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2877 (__GTHREAD_HAS_COND): Likewise.
2878 (__gthread_t): Likewise.
2879 (__gthread_cond_t): Likewise.
2880 (__gthread_time_t): Likewise.
2881 (__GTHREAD_MUTEX_INIT): Likewise.
2882 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2883 (__GTHREAD_COND_INIT): Likewise.
2884 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2885 (__GTHREAD_TIME_INIT): Likewise.
2886 (__gthread_create): Likewise.
2887 (__gthread_join): Likewise.
2888 (__gthread_detach): Likewise.
2889 (__gthread_equal): Likewise.
2890 (__gthread_self): Likewise.
2891 (__gthread_yield): Likewise.
2892 (__gthread_cond_broadcast): Likewise.
2893 (__gthread_cond_signal): Likewise.
2894 (__gthread_cond_wait): Likewise.
2895 (__gthread_cond_timedwait): Likewise.
2896 (__gthread_cond_wait_recursive): Likewise.
2897 (__gthread_cond_destroy): Likewise.
2898 (rtems_gxx_once): Delete.
2899 (rtems_gxx_key_create): Likewise.
2900 (rtems_gxx_key_delete): Likewise.
2901 (rtems_gxx_getspecific): Likewise.
2902 (rtems_gxx_setspecific): Likewise.
2903 (rtems_gxx_mutex_init): Likewise.
2904 (rtems_gxx_mutex_destroy): Likewise.
2905 (rtems_gxx_mutex_lock): Likewise.
2906 (rtems_gxx_mutex_trylock): Likewise.
2907 (rtems_gxx_mutex_unlock): Likewise.
2908 (rtems_gxx_recursive_mutex_init): Likewise.
2909 (rtems_gxx_recursive_mutex_lock): Likewise.
2910 (rtems_gxx_recursive_mutex_trylock): Likewise.
2911 (rtems_gxx_recursive_mutex_unlock): Likewise.
2912 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2913 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2914 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2915 (__gthread_once): Likewise.
2916 (__gthread_key_create): Likewise.
2917 (__gthread_key_delete): Likewise.
2918 (__gthread_getspecific): Likewise.
2919 (__gthread_setspecific): Likewise.
2920 (__gthread_key_t): Use <pthread.h> type.
2921 (__gthread_once_t): Likewise
2922 (__gthread_mutex_t): Use <sys/lock.h> type.
2923 (__gthread_recursive_mutex_t): Likewise
2924 (__gthread_mutex_lock): Use <sys/lock.h> function.
2925 (__gthread_mutex_trylock): Likewise.
2926 (__gthread_mutex_timedlock): Likewise.
2927 (__gthread_mutex_unlock): Likewise.
2928 (__gthread_mutex_destroy): Likewise.
2929 (__gthread_recursive_mutex_lock): Likewise.
2930 (__gthread_recursive_mutex_trylock): Likewise.
2931 (__gthread_recursive_mutex_timedlock): Likewise.
2932 (__gthread_recursive_mutex_unlock): Likewise.
2933 (__gthread_recursive_mutex_destroy): Likewise.
2935 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2937 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2938 context->sp instead of context->cfa.
2940 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2942 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2943 with unwind-dw2-fde-dip.
2945 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2947 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2948 CALL12 followed by series of ENTRY to spill windowed registers.
2949 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2950 instead of making linux spill syscall.
2952 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2954 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2955 (get_intel_cpu): Likewise.
2957 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2959 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2960 (get_intel_cpu): Add Knights Landing support.
2962 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2965 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2966 (get_available_features): Handle FEATURE_PCLMUL.
2968 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2970 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2973 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2976 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2977 (get_available_features): Handle FEATURE_AES.
2979 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2981 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2982 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2984 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2986 * offloadstuff.c: Constify host data.
2988 2015-07-17 Jan Beulich <jbeulich@suse.com>
2990 * config/t-softfp: Split up "else ifneq".
2992 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2993 Cesar Philippidis <cesar@codesourcery.com>
2994 Chung-Lin Tang <cltang@codesourcery.com>
2996 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2997 for __nios2_arch__ level.
2999 2015-07-13 John Marino <gnugcc@marino.st>
3001 * config/i386/t-dragonfly: New.
3003 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3005 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3006 better match light-weight syscall argument order.
3007 (__kernel_cmpxchg2): Likewise.
3010 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3012 * config.host: Support i[34567]86-*-elfiamcu target.
3013 * config/t-softfp-sfdftf: New file.
3014 * config/i386/32/t-iamcu: Likewise.
3015 * configure: Regenerated.
3017 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3020 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3022 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3024 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3026 2015-05-27 John Marino <gnugcc@marino.st>
3028 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3030 * config/i386/freebsd-unwind.h: New.
3032 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3034 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3035 i386/t-crtfm to tmake_file.
3036 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3037 (set_fast_math): Use set_fast_math_sse for SSE targets.
3038 * config/i386/t-crtfm: Remove.
3040 2015-05-21 Alan Modra <amodra@gmail.com>
3043 * config/rs6000/morestack.S: Remove ".abiversion 1".
3045 2015-05-20 Alan Modra <amodra@gmail.com>
3047 * config/rs6000/morestack.S: New.
3048 * config/rs6000/t-stack-rs6000: New.
3049 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3051 * generic-morestack.c: Don't build for powerpc 32-bit.
3053 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3055 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3056 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3058 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3060 * config.host: FT32 target added.
3061 * config/ft32/*: New files for FT32 target.
3063 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3065 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3067 * config/arm/ieee754-df.S: Add CFI directives.
3068 * config/arm/ieee754-sf.S: Add CFI directives.
3070 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3072 * configure.ac: Include config/sjlj.m4.
3073 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3074 * config.in: Regenerate.
3075 * configure: Likewise.
3076 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3078 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3080 * libgcov-util.c: Add space between string literal and macro name.
3082 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3083 Chris Jones <chrisj@nvidia.com>
3084 Joshua Conner <jconner@nvidia.com>
3086 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3087 (arm*-*-uclinux*): Likewise.
3088 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3089 * config/arm/crtfastmath.c: New file.
3091 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3093 * Makefile.in (real_host_noncanonical): New variable.
3094 (libsubdir): Use it.
3095 * configure.ac (real_host_noncanonical): Compute. Remove special
3096 case for intelmicemul.
3097 * configure: Regenerate.
3099 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3101 * config/frv/elf-lib.h: New file.
3102 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3103 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3106 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3108 * config/frv/frvbengin.c: Do not include defaults.h
3109 * config/frv/frvend.c: Ditto.
3111 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3113 * config.host: Add h8300-*-linux
3114 * config/h8300/t-linux: New file.
3115 * config/h8300/lib1funs.s: Change symbol prefix.
3116 * config/h8300/sfp-machine.h: 64bit double support.
3118 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3119 Szabolcs Nagy <szabolcs.nagy@arm.com>
3121 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3122 Linux if target provides dl_iterate_phdr.
3124 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3127 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3128 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3129 (__cpu_indicator_init@GCC_4.8.0): New.
3130 (__cpu_model@GCC_4.8.0): Likewise.
3131 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3134 2015-04-16 Nick Clifton <nickc@redhat.com>
3136 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3137 and __modhi3 functions.
3138 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3139 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3141 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3143 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3144 do-while loop as macro body to avoid warnings.
3146 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3147 Iain Sandoe <iain@codesourcery.com>
3150 * configure: Regenerate.
3152 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3153 Iain Sandoe <iain@codesourcery.com>
3156 * configure: Regenerate.
3158 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3160 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3162 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3164 Implement call0 ABI for xtensa
3165 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3166 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3167 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3168 use ret in call0 ABI.
3169 * config/xtensa/t-windowed: New file.
3170 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3171 * libgcc/configure: Regenerated.
3172 * libgcc/configure.ac: Check if xtensa target is configured for
3173 windowed ABI and thus needs to use custom unwind code.
3175 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3178 * gthr-single.h: Use __unused__ attribute instead of unused.
3179 * config/gthr-vxworks.h: Likewise.
3180 * config/i386/gthr-win32.h: Likewise.
3182 2015-02-27 Kai Tietz <ktietz@redhat.com>
3185 * config.in: Regenerated.
3186 * configure: Likewise.
3187 * configure.ac (AC_HEADER_STDC): Added explicit.
3188 (AC_CHECK_HEADERS): Check for default headers plus
3190 * libgcov-util.c (gcov_read_profile_dir): Disable use
3191 of ftw-function, if header is not found.
3192 (ftw_read_file): Likewise.
3194 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3197 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3200 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3202 * config/arm/bpabi.S (test_div_by_zero): Make label names
3203 consistent between thumb2 and arm mode cases. Separate the
3204 signed comparison on the high word of the numerator from the
3205 unsigned comparison on the low word.
3206 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3209 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3211 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3213 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3215 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3217 PR gcov-profile/61889
3218 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3220 2015-02-02 Nick Clifton <nickc@redhat.com>
3222 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3223 rounding up the fraction.
3225 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3227 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3228 oldval and newval to const void *. Fix typo.
3229 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3230 (FETCH_AND_OP_WORD): Likewise.
3231 (OP_AND_FETCH_WORD): Likewise.
3232 (COMPARE_AND_SWAP_2): Likewise.
3233 (__sync_val_compare_and_swap_4): Likewise.
3234 (__sync_lock_test_and_set_4): Likewise.
3235 (SYNC_LOCK_RELEASE_2): Likewise.
3236 Remove support for long long atomic operations.
3238 2015-01-27 Caroline Tice <cmtice@google.com>
3240 Committing VTV Cywin/Ming patch for Patrick Wollgast
3241 * Makefile.in: Move rules to build vtv_*.o out of the check
3242 for CUSTOM_CRTSTUFF.
3243 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3244 i[34567]86-*-mingw*)
3245 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3246 enable_vtable_verify.
3248 2015-01-27 Nick Clifton <nickc@redhat.com>
3250 * config/rl78/cmpsi2.S: Use function start and end macros.
3251 (__gcc_bcmp): New function.
3252 * config/rl78/lshrsi3.S: Use function start and end macros.
3253 * config/rl78/mulsi3.S: Add support for G10.
3254 (__mulqi3): New function for G10.
3255 * config/rl78/signbit.S: Use function start and end macros.
3256 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3258 (LIB2FUNCS_EXCLUDE): Define.
3259 (LIB2FUNCS_ST): Define.
3260 * config/rl78/trampoline.S: Use function start and end macros.
3261 * config/rl78/vregs.h (START_FUNC): New macro.
3262 (START_ANOTHER_FUNC): New macro.
3263 (END_FUNC): New macro.
3264 (END_ANOTHER_FUNC): New macro.
3265 * config/rl78/bit-count.S: New file. Contains assembler
3266 implementations of the bit counting functions: ___clzhi2,
3267 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3268 __paritysi2, __popcounthi2 and __popcountsi2.
3269 * config/rl78/fpbit-sf.S: New file. Contains assembler
3270 implementationas of the math functions: __negsf2, __cmpsf2,
3271 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3272 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3273 * config/rl78/fpmath-sf.S: New file. Contains assembler
3274 implementations of the math functions: __subsf3, __addsf3,
3275 __mulsf3 and __divsf3
3277 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3279 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3280 Add i386/elf-lib.h to tm_file.
3281 * config/i386/elf-lib.h: Fix comment.
3282 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3283 && __sun__ && __svr4__]: Remove workaround.
3285 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3287 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3289 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3291 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3293 * config/i386/cpuinfo.c (processor_subtypes): Add
3294 INTEL_COREI7_BROADWELL.
3295 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3298 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3300 * config/i386/elf-lib.h: New file.
3301 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3302 Wrap definition in #ifdef __i386__.
3303 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3304 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3305 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3306 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3309 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3311 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3312 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3314 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3316 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3317 Update rt_sigframe format and address for current Nios II
3320 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3322 * config.host (arm*-*-freebsd*): Add new configuration for
3324 * config/arm/freebsd-atomic.c: New file.
3325 * config/arm/t-freebsd: Likewise.
3326 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3327 'PC-relative indirect' OS's.
3329 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3331 * config.host: Add Visium support.
3332 * config/visium: New directory.
3334 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3336 Update copyright years.
3338 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3340 * config.host: Support mipsisa32r6 and mipsisa64r6.
3341 * config/mips/mips16.S: Do not build for R6.
3343 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3345 * config/sh/crt.h: New.
3346 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3348 * config/sh/crt1.S: Likewise.
3350 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3353 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3354 func_ptr *dtor_list temporary variable to avoid "array subscript
3355 is above array bounds" warnings.
3357 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3359 * Makefile.in (with_aix_soname): Define.
3360 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3361 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3362 * configure: Recreate.
3364 2014-12-05 Olivier Hainque <hainque@adacore.com>
3366 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3367 now provided by defaults.h.
3369 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3372 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3373 whether it's defined.
3375 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3377 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3378 * config/i386/cpuinfo.c (get_available_features): Detect it.
3380 2014-11-27 Tony Wang <tony.wang@arm.com>
3382 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3383 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3384 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3386 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3388 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3390 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3392 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3395 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3396 John David Anglin <danglin@gcc.gnu.org>
3398 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3399 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3400 (OP_AND_FETCH_2): Likewise.
3401 (COMPARE_AND_SWAP_2): Likewise.
3402 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3403 (SYNC_LOCK_RELEASE_2): Likewise.
3404 (SUBWORD_SYNC_OP): Remove.
3405 (SUBWORD_VAL_CAS): Likewise.
3406 (SUBWORD_BOOL_CAS): Likewise.
3407 (FETCH_AND_OP_WORD): Update.
3408 Consistently use signed types.
3410 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3411 Thomas Schwinge <thomas@codesourcery.com>
3412 Ilya Verbin <ilya.verbin@intel.com>
3413 Andrey Turetskiy <andrey.turetskiy@intel.com>
3415 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3416 (crtoffloadend$(objext)): Likewise.
3417 * configure: Regenerate.
3418 * configure.ac (accel_dir_suffix): Compute new variable.
3419 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3420 if enable_offload_targets is not empty.
3421 * offloadstuff.c: New file.
3423 2014-11-13 Nick Clifton <nickc@redhat.com>
3425 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3426 Use START_FUNC and END_FUNC macros to enable linker garbage
3428 * config/rl78/divmodqi.S: Likewise.
3429 * config/rl78/divmodsi.S: Likewise.
3430 * config/rl78/mulsi3.S: Likewise.
3431 * config/rl78/lib2div.c: Remove G10 functions.
3432 * config/rl78/lib2muls.c: Likewise.
3433 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3434 * config/rl78/vregs.h (START_FUNC): New macro.
3435 (END_FUNC): New macro.
3437 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3439 * config/mips/mips16.S: Set .module when supported. Update O32
3440 FP64 calling convention and use for FPXX when possible. Add FPXX
3441 calling convention fallback case.
3443 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3445 * config.host: Handle nvptx-*-*.
3446 * shared-object.mk (as-flags-$o): Define.
3447 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3448 -xassembler-with-cpp.
3449 * static-object.mk: Identical changes.
3450 * config/nvptx/t-nvptx: New file.
3451 * config/nvptx/crt0.s: New file.
3452 * config/nvptx/free.asm: New file.
3453 * config/nvptx/malloc.asm: New file.
3454 * config/nvptx/realloc.c: New file.
3456 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3458 * Makefile.in (libgcc.map.in): New target.
3459 (libgcc.map): Use libgcc.map.in.
3460 * config/t-softfp (softfp_compat): New variable to be set by
3462 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3464 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3466 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3467 that use compat symbols and disable all code unless [SHARED].
3468 * config/t-softfp-compat: New file.
3469 * find-symver.awk: New file.
3470 * configure.ac (--with-glibc-version): New configure option.
3471 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3472 * configure: Regenerate.
3473 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3474 soft-float and e500.
3476 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3478 * config/t-hardfp (hardfp_exclusions): Document new variable for
3480 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3481 * config/t-softfp (softfp_extras): Document new variable for user
3483 (softfp_func_list): Add functions from $(softfp_extras).
3484 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3485 * config.host (powerpc*-*-linux*): For e500v1, use
3486 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3487 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3488 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3490 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3492 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3493 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3494 memory read accesses are ok.
3496 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3498 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3499 * configure: Regenerate.
3500 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3501 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3502 of soft-fp for 32-bit classic hard float. Do not use
3503 t-softfp-excl for soft float.
3505 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3507 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3509 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3512 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3514 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3515 introduced with 2014-10-21 trunk r216525.
3517 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3518 Vidya Praveen <vidya.praveen@atmel.com>
3519 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3520 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3521 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3523 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3526 Updated library functions for AVRTINY arch.
3527 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3528 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3529 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3530 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3532 (__mulsi3_helper): Update stack, preserve callee saved regs and
3533 argument from stack. Restore callee save registers.
3534 (__mulpsi3): Likewise.
3535 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3536 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3537 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3539 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3540 (__do_copy_data): Added new definition for AVRTINY.
3541 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3542 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3543 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3544 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3545 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3547 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3550 Fix broken long multiplication on tiny arch.
3552 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3554 * soft-fp/double.h: Update from glibc.
3555 * soft-fp/eqdf2.c: Likewise.
3556 * soft-fp/eqsf2.c: Likewise.
3557 * soft-fp/eqtf2.c: Likewise.
3558 * soft-fp/extenddftf2.c: Likewise.
3559 * soft-fp/extended.h: Likewise.
3560 * soft-fp/extendsfdf2.c: Likewise.
3561 * soft-fp/extendsftf2.c: Likewise.
3562 * soft-fp/extendxftf2.c: Likewise.
3563 * soft-fp/gedf2.c: Likewise.
3564 * soft-fp/gesf2.c: Likewise.
3565 * soft-fp/getf2.c: Likewise.
3566 * soft-fp/ledf2.c: Likewise.
3567 * soft-fp/lesf2.c: Likewise.
3568 * soft-fp/letf2.c: Likewise.
3569 * soft-fp/op-1.h: Likewise.
3570 * soft-fp/op-2.h: Likewise.
3571 * soft-fp/op-4.h: Likewise.
3572 * soft-fp/op-8.h: Likewise.
3573 * soft-fp/op-common.h: Likewise.
3574 * soft-fp/quad.h: Likewise.
3575 * soft-fp/single.h: Likewise.
3576 * soft-fp/soft-fp.h: Likewise.
3577 * soft-fp/unorddf2.c: Likewise.
3578 * soft-fp/unordsf2.c: Likewise.
3579 * soft-fp/unordtf2.c: Likewise.
3580 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3581 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3582 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3583 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3584 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3585 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3586 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3587 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3588 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3589 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3591 2014-10-08 Rong Xu <xur@google.com>
3593 * libgcov-util.c (read_gcda_file): Fix format.
3594 (find_match_gcov_info): Ditto.
3595 (calculate_2_entries): New.
3596 (compute_one_gcov): Ditto.
3597 (gcov_info_count_all_cold): Ditto.
3598 (gcov_info_count_all_zero): Ditto.
3599 (extract_file_basename): Ditto.
3600 (get_file_basename): Ditto.
3602 (matched_gcov_info): Ditto.
3603 (calculate_overlap): Ditto.
3604 (gcov_profile_overlap): Ditto.
3605 * libgcov-driver.c (compute_summary): Make
3606 it avavilable for external calls.
3608 2014-10-06 Rong Xu <xur@google.com>
3610 * Makefile.in: Ditto.
3611 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3612 (gcov_sort_icall_topn_counter): Ditto.
3613 (gcov_sort_topn_counter_arrays): Ditto.
3614 (dump_one_gcov): Sort indirect_call topn counters.
3615 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3617 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3619 (__gcov_indirect_call_topn_profiler): New profiler function.
3620 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3621 * libgcov.h: New decls.
3623 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3625 * config.host: Remove support for score-*.
3627 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3629 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3630 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3631 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3632 __LIBGCC_XF_MANT_DIG__.
3633 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3634 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3635 __LIBGCC_TF_MANT_DIG__.
3636 * libgcc2.c (NOTRUNC): Define in terms of
3637 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3638 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3640 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3643 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3646 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3648 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3649 override USE_PT_GNU_EH_FRAME.
3650 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3651 check USE_EH_FRAME_REGISTRY_ALWAYS against
3652 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3653 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3654 variable for substituted force_explicit_eh_registry.
3655 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3656 * configure.ac (explicit-exception-frame-registration):
3658 * configure: Regenerate.
3660 2014-09-19 Olivier Hainque <hainque@adacore.com>
3662 * config.host (powerpc-wrs-vxworksmils): New configuration,
3665 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3667 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3669 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3671 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3672 bits not set bits as indicating trapping exceptions.
3674 2014-09-17 Nathan sidwell <nathan@acm.org>
3676 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3677 (LIBGCOV_DRIVER): ... here.
3678 * libgcov-driver.c (gcov_master): New.
3679 (gcov_exit): Remove from master chain.
3680 (__gcov_init): Add to master chain if version compatible. Don't
3682 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3683 (gcov_reset_int): Clear master chain, if compatible.
3684 (gcov_dump_int): New internal interface. Dump master chain, if
3686 (gcov_dump): Alias for gcov_dump_int.
3687 * libgcov.h (struct gcov_root): Add next and prev fields.
3688 (struct gcov_master): New struct.
3689 (__gcov_master): New.
3690 (gcov_dump_int): Declare.
3692 2014-09-17 Olivier Hainque <hainque@adacore.com>
3694 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3695 and crtbegin.o + crtend.o to extra_parts.
3697 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3699 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3700 __LIBGCC_HAS_SF_MODE__.
3701 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3702 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3703 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3704 * config/libbid/bid_gcc_intrinsics.h
3705 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3706 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3707 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3708 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3709 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3710 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3712 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3715 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3716 and R24 as needed. Make work for all devices and .text locations.
3717 (__do_global_ctors, __do_global_dtors): Use word addresses.
3718 (__tablejump__, __tablejump_elpm__): Remove functions.
3719 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3721 (XICALL, XIJMP): New macros.
3723 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3724 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3726 * config.host (aarch64*): Include crtfastmath.o and
3728 * config/aarch64/crtfastmath.c: New file.
3730 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3732 * config.host: Remove picochip support.
3733 * config/picochip/adddi3.S: Remove.
3734 * config/picochip/ashlsi3.S: Remove.
3735 * config/picochip/ashlsi3.c: Remove.
3736 * config/picochip/ashrsi3.S: Remove.
3737 * config/picochip/ashrsi3.c: Remove.
3738 * config/picochip/clzsi2.S: Remove.
3739 * config/picochip/cmpsi2.S: Remove.
3740 * config/picochip/divmod15.S: Remove.
3741 * config/picochip/divmodhi4.S: Remove.
3742 * config/picochip/divmodsi4.S: Remove.
3743 * config/picochip/lib1funcs.S: Remove.
3744 * config/picochip/longjmp.S: Remove.
3745 * config/picochip/lshrsi3.S: Remove.
3746 * config/picochip/lshrsi3.c: Remove.
3747 * config/picochip/parityhi2.S: Remove.
3748 * config/picochip/popcounthi2.S: Remove.
3749 * config/picochip/setjmp.S: Remove.
3750 * config/picochip/subdi3.S: Remove.
3751 * config/picochip/t-picochip: Remove.
3752 * config/picochip/ucmpsi2.S: Remove.
3753 * config/picochip/udivmodhi4.S: Remove.
3754 * config/picochip/udivmodsi4.S: Remove.
3756 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3758 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3759 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3760 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3761 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3762 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3763 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3764 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3765 defined and LIBGCC2_HAS_DF_MODE is defined.
3766 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3767 defined and LIBGCC2_HAS_XF_MODE is defined.
3768 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3769 defined and LIBGCC2_HAS_TF_MODE is defined.
3771 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3773 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3774 and ROUND_TOWARDS_ZERO conditionals.
3776 2014-09-07 Nathan sidwell <nathan@acm.org>
3778 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3779 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3781 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3783 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3784 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3785 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3786 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3787 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3788 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3789 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3790 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3791 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3792 (DWARF_FRAME_REGISTERS): Change all uses to
3793 __LIBGCC_DWARF_FRAME_REGISTERS__.
3794 (EH_RETURN_STACKADJ_RTX): Change all uses to
3795 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3796 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3797 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3798 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3799 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3800 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3801 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3802 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3803 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3804 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3805 __LIBGCC_STACK_POINTER_REGNUM__.
3806 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3807 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3808 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3809 to __LIBGCC_STACK_POINTER_REGNUM__.
3810 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3811 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3812 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3813 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3814 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3815 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3816 (STACK_POINTER_REGNUM): Change all uses to
3817 __LIBGCC_STACK_POINTER_REGNUM__.
3818 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3819 use to __LIBGCC_STACK_POINTER_REGNUM__.
3820 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3821 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3822 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3823 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3824 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3825 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3826 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3827 to __LIBGCC_STACK_POINTER_REGNUM__.
3828 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3829 Remove conditional definition.
3830 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3831 __LIBGCC_TEXT_SECTION_ASM_OP__.
3832 (EH_FRAME_SECTION_NAME): Change all uses to
3833 __LIBGCC_EH_FRAME_SECTION_NAME__.
3834 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3835 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3836 (CTORS_SECTION_ASM_OP): Change all uses to
3837 __LIBGCC_CTORS_SECTION_ASM_OP__.
3838 (DTORS_SECTION_ASM_OP): Change all uses to
3839 __LIBGCC_DTORS_SECTION_ASM_OP__.
3840 (JCR_SECTION_NAME): Change all uses to
3841 __LIBGCC_JCR_SECTION_NAME__.
3842 (INIT_SECTION_ASM_OP): Change all uses to
3843 __LIBGCC_INIT_SECTION_ASM_OP__.
3844 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3845 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3846 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3847 __LIBGCC_STACK_GROWS_DOWNWARD__.
3848 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3849 __LIBGCC_INIT_SECTION_ASM_OP__.
3850 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3851 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3852 (EH_FRAME_SECTION_NAME): Change all uses to
3853 __LIBGCC_EH_FRAME_SECTION_NAME__.
3854 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3855 definitions. Change all uses to
3856 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3857 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3858 __LIBGCC_STACK_GROWS_DOWNWARD__.
3859 (DWARF_FRAME_REGISTERS): Change all uses to
3860 __LIBGCC_DWARF_FRAME_REGISTERS__.
3861 (EH_RETURN_STACKADJ_RTX): Change all uses to
3862 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3863 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3864 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3865 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3866 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3867 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3869 2014-09-02 Nathan sidwell <nathan@acm.org>
3871 * libgcov-interface.c (STRONG_ALIAS): New.
3872 (__gcov_flush): Call __gcov_reset_int.
3873 (__gcov_reset): Strong alias for ...
3874 (__gcov_reset_ing): ... this renamed hidden version.
3875 * libgcov.h (__gcov_reset_int): New declaration.
3877 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3879 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3881 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3882 (__dso_handle): Define on Cygwin.
3883 * config/i386/t-cygming (crtbeginS.o): New rule.
3884 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3886 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3889 2014-08-13 Steve Ellcey <sellcey@mips.com>
3891 * crtstuff.c: Undef caddr_t.
3893 2014-08-12 Steve Ellcey <sellcey@mips.com>
3895 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3897 2014-08-07 Nathan Sidwell <nathan@acm.org>
3899 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3900 (LIBGCOV_DRIVER): ... to here.
3901 * libgcov.h (gcov_do_dump): New #define.
3902 (struct gcov_root): New.
3903 (__gcov_root): New declaration.
3904 (__gcov_dump_one): Declare.
3905 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3906 run_accounted): Delete.
3907 (gcov_compute_histogram): Add LIST argument, adjust.
3908 (compute_summary): Adjust gcov_compute_histogram call.
3909 (gcov_do_dump): Not hidden, static in libgcov.
3910 (gcov_clear): Move to interface.c.
3911 (__gcov_dump_one): New, broken out of ...
3912 (gcov_exit): ... here. Make static.
3914 (__gcov_init): Adjust.
3915 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3917 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3918 (gcov_clear): Moved from driver.c. Add LIST argument.
3919 (__gcov_reset): Adjust for changed interfaces.
3920 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3922 2014-08-04 Rohit <rohitarulraj@freescale.com>
3925 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3926 based on change in SPE high register numbers and 3 HTM registers.
3928 2014-08-01 Nathan Sidwell <nathan@acm.org>
3930 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3931 LIBGCOV_INTERFACE): Reformat.
3932 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3934 * libgcov-interface.c: Reformat some comments.
3935 (__gcov_flush_mx): Add declaration. Tidy up definition.
3937 2014-07-31 Alan Modra <amodra@gmail.com>
3938 Peter Bergner <bergner@vnet.ibm.com>
3940 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3941 (pack_ldouble): New function.
3942 (__gcc_qadd): Use it.
3943 (__gcc_qmul): Likewise.
3944 (__gcc_qdiv): Likewise.
3945 (__gcc_qneg): Likewise.
3946 (__gcc_stoq): Likewise.
3947 (__gcc_dtoq): Likewise.
3949 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3951 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3952 (__tpf_eh_return): Add original return address as second parameter.
3953 Handle cases where unwinder routines were called directly, instead
3954 of from within the C++ library.
3956 2014-07-29 Nathan Sidwell <nathan@acm.org>
3958 * libgcov.h: Move renaming of entry points to lib gcov specific
3960 (gcov_do_dump): New rename.
3961 (gcov_rewrite): Remove inline, make HIDDEN.
3962 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3963 (gcov_exit_compute_summary): Rename to ...
3964 (compute_summary): ... here. Add LIST argument.
3965 (gcov_exit_merge_gcda): Rename to ...
3966 (merge_one_data): ... here.
3967 (gcov_exit_write_gcda): Rename to ...
3968 (write_one_data): ... here.
3969 (gcov_exit_merge_summary): Rename to ...
3970 (merge_summary): Add RUN_COUNTED argument.
3971 (gcov_exit_dump_gcov): Rename to ...
3972 (dump_one_gcov): Add RUN_COUNTED argument.
3973 (gcov_do_dump): New function, broken out of ...
3974 (gcov_exit): ... here. Call it.
3976 2014-07-27 Anthony Green <green@moxielogic.com>
3978 * config.host: Add moxiebox configuration suppport.
3980 2014-07-27 Nathan Sidwell <nathan@acm.org>
3982 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3983 (struct gcov_filename): ... here. Include buffer and max length
3985 (gcov_max_filename): Remove.
3986 (gi_filename): Remove.
3987 (gcov_exit_compute_summary): Compute max filename here.
3988 (gcov_exit_merge_gcda): Add filename parm, adjust.
3989 (gcov_exit_merge_summary): Likewise.
3990 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3991 (gcov_exit): Likewise.
3992 (__gcov_init): Don't calculate max length here.
3993 * libgcov_util.c (max_filename_len): Remove.
3994 (read_gcda_file): Don't calculate max length here.
3995 (gcov_read_profile_dir): Don't propagate here.
3996 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3997 struct gcov_filename changes.
3998 (gcov_exit_open_gcda_file): Likewise.
4000 2014-07-25 Nathan Sidwell <nathan@acm.org>
4002 * libgcov-driver.c (set_gcov_dump_complete,
4003 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4004 functions polluting user's namespace.
4005 (gcov_exit): Set variable directly.
4006 (gcov_clear): Reset variable directly.
4007 * libgcov-interface.c (get_gcov_dymp_complete,
4008 reset_gov_dump_complete): Remove declarations.
4009 (__gcov_reset, __gcov_dump): Don't call them.
4011 2014-07-24 DJ Delorie <dj@redhat.com>
4013 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4014 (__gcc_deregister_frame): Move logic to detect deregister function
4016 (__gcc_register_frame): here, so it's consistent with the register
4019 2014-07-23 Nathan Sidwell <nathan@acm.org>
4021 * libgcov-driver.c (set_gcov_list): Remove.
4022 (gcov_list): Make non-static in GCOV_TOOL.
4023 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4025 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4027 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4028 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4029 Don't use SYNC_LOCK_RELEASE for int type.
4031 2014-07-14 Richard Biener <rguenther@suse.de>
4033 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4035 2014-07-11 Rong Xu <xur@google.com>
4037 * libgcov-util.c (gcov_max_filename): Fix declartion.
4039 2014-07-10 Rong Xu <xur@google.com>
4041 Add gcov-tool: an offline gcda profile processing tool
4043 * libgcov-driver.c (gcov_max_filename): Make available
4045 * libgcov-merge.c (__gcov_merge_add): Replace
4046 gcov_read_counter() with a Macro.
4047 (__gcov_merge_ior): Ditto.
4048 (__gcov_merge_time_profile): Ditto.
4049 (__gcov_merge_single): Ditto.
4050 (__gcov_merge_delta): Ditto.
4051 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4052 in the utility functions.
4053 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4054 gcov_list object link lists.
4055 (tag_function): Ditto.
4056 (tag_blocks): Ditto.
4059 (tag_counters): Ditto.
4060 (tag_summary): Ditto.
4061 (read_gcda_finalize): Ditto.
4062 (read_gcda_file): Ditto.
4063 (ftw_read_file): Ditto.
4064 (read_profile_dir_init): Ditto.
4065 (gcov_read_profile_dir): Ditto.
4066 (gcov_read_counter_mem): Ditto.
4067 (gcov_get_merge_weight): Ditto.
4068 (merge_wrapper): A wrapper function that calls merging handler.
4069 (gcov_merge): Merge two gcov_info objects with weights.
4070 (find_match_gcov_info): Find the matched gcov_info in the list.
4071 (gcov_profile_merge): Merge two gcov_info object lists.
4072 (__gcov_add_counter_op): Process edge profile counter values.
4073 (__gcov_ior_counter_op): Process IOR profile counter values.
4074 (__gcov_delta_counter_op): Process delta profile counter values.
4075 (__gcov_single_counter_op): Process single profile counter values.
4076 (fp_scale): Callback function for float-point scaling.
4077 (int_scale): Callback function for integer fraction scaling.
4078 (gcov_profile_scale): Scaling profile counters.
4079 (gcov_profile_normalize): Normalize profile counters.
4080 * libgcov.h: Add headers and functions for gcov-tool use.
4081 (gcov_get_counter): New.
4082 (gcov_get_counter_target): Ditto.
4083 (struct gcov_info): Make the functions field mutable in gcov-tool
4086 2014-06-23 Kai Tietz <ktietz@redhat.com>
4089 * unwind-seh.c (_Unwind_GetGR): Check for proper
4091 (_Unwind_SetGR): Likewise.
4093 2014-05-22 Nick Clifton <nickc@redhat.com>
4095 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4098 2014-05-22 Teresa Johnson <tejohnson@google.com>
4100 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4103 2014-05-20 John Marino <gnugcc@marino.st>
4105 * config.host (*-*-dragonfly*): New target.
4106 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4107 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4108 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4109 * config/i386/dragonfly-unwind.h: New.
4111 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4114 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4115 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4117 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4119 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4122 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4124 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4126 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4129 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4132 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4134 Work around for current cygwin32 build problems.
4135 * config/i386/cygming-crtbegin.c (__register_frame_info,
4136 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4137 functions only for 64-bit systems.
4139 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4141 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4142 (sigill_caught, sigill_hdlr): Remove.
4144 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4146 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4148 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4149 Solaris 9 single-threaded support.
4150 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4151 Solaris 9 single-threaded support. Add call_user_handler code
4153 (sparc_is_sighandler): Likewise.
4155 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4157 * config.host: Append t-floattodi to tmake_file depending on
4160 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4162 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4164 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4167 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4168 variable to avoid "array subscript is above array bounds" warnings.
4169 Use __builtin_expect when checking *jcr_list for NULL.
4171 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4174 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4175 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4176 vtv_*.o to extra_parts if enable_vtable_verify.
4178 2014-03-06 Nick Clifton <nickc@redhat.com>
4180 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4181 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4183 2014-02-28 Joey Ye <joey.ye@arm.com>
4186 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4187 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4190 2014-02-24 Walter Lee <walt@tilera.com>
4192 * config.host: Support "tilegx*" and "tilepro*" triplets.
4193 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4194 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4196 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4197 Chung-Lin Tang <cltang@codesourcery.com>
4199 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4200 * config/nios2/crti.S: Remove .file directive.
4201 * config/nios2/crtn.S: Likewise.
4203 2014-02-18 Kai Tietz <ktietz@redhat.com>
4204 Jonathan Schleifer <js@webkeks.org>
4207 * unwind-seh.c (_GCC_specific_handler): Pass proper
4208 value to unwind-handler.
4210 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4212 * soft-fp/adddf3.c: Update from glibc.
4213 * soft-fp/addsf3.c: Likewise.
4214 * soft-fp/addtf3.c: Likewise.
4215 * soft-fp/divdf3.c: Likewise.
4216 * soft-fp/divsf3.c: Likewise.
4217 * soft-fp/divtf3.c: Likewise.
4218 * soft-fp/double.h: Likewise.
4219 * soft-fp/eqdf2.c: Likewise.
4220 * soft-fp/eqsf2.c: Likewise.
4221 * soft-fp/eqtf2.c: Likewise.
4222 * soft-fp/extenddftf2.c: Likewise.
4223 * soft-fp/extended.h: Likewise.
4224 * soft-fp/extendsfdf2.c: Likewise.
4225 * soft-fp/extendsftf2.c: Likewise.
4226 * soft-fp/extendxftf2.c: Likewise.
4227 * soft-fp/fixdfdi.c: Likewise.
4228 * soft-fp/fixdfsi.c: Likewise.
4229 * soft-fp/fixdfti.c: Likewise.
4230 * soft-fp/fixsfdi.c: Likewise.
4231 * soft-fp/fixsfsi.c: Likewise.
4232 * soft-fp/fixsfti.c: Likewise.
4233 * soft-fp/fixtfdi.c: Likewise.
4234 * soft-fp/fixtfsi.c: Likewise.
4235 * soft-fp/fixtfti.c: Likewise.
4236 * soft-fp/fixunsdfdi.c: Likewise.
4237 * soft-fp/fixunsdfsi.c: Likewise.
4238 * soft-fp/fixunsdfti.c: Likewise.
4239 * soft-fp/fixunssfdi.c: Likewise.
4240 * soft-fp/fixunssfsi.c: Likewise.
4241 * soft-fp/fixunssfti.c: Likewise.
4242 * soft-fp/fixunstfdi.c: Likewise.
4243 * soft-fp/fixunstfsi.c: Likewise.
4244 * soft-fp/fixunstfti.c: Likewise.
4245 * soft-fp/floatdidf.c: Likewise.
4246 * soft-fp/floatdisf.c: Likewise.
4247 * soft-fp/floatditf.c: Likewise.
4248 * soft-fp/floatsidf.c: Likewise.
4249 * soft-fp/floatsisf.c: Likewise.
4250 * soft-fp/floatsitf.c: Likewise.
4251 * soft-fp/floattidf.c: Likewise.
4252 * soft-fp/floattisf.c: Likewise.
4253 * soft-fp/floattitf.c: Likewise.
4254 * soft-fp/floatundidf.c: Likewise.
4255 * soft-fp/floatundisf.c: Likewise.
4256 * soft-fp/floatunditf.c: Likewise.
4257 * soft-fp/floatunsidf.c: Likewise.
4258 * soft-fp/floatunsisf.c: Likewise.
4259 * soft-fp/floatunsitf.c: Likewise.
4260 * soft-fp/floatuntidf.c: Likewise.
4261 * soft-fp/floatuntisf.c: Likewise.
4262 * soft-fp/floatuntitf.c: Likewise.
4263 * soft-fp/gedf2.c: Likewise.
4264 * soft-fp/gesf2.c: Likewise.
4265 * soft-fp/getf2.c: Likewise.
4266 * soft-fp/ledf2.c: Likewise.
4267 * soft-fp/lesf2.c: Likewise.
4268 * soft-fp/letf2.c: Likewise.
4269 * soft-fp/muldf3.c: Likewise.
4270 * soft-fp/mulsf3.c: Likewise.
4271 * soft-fp/multf3.c: Likewise.
4272 * soft-fp/negdf2.c: Likewise.
4273 * soft-fp/negsf2.c: Likewise.
4274 * soft-fp/negtf2.c: Likewise.
4275 * soft-fp/op-1.h: Likewise.
4276 * soft-fp/op-2.h: Likewise.
4277 * soft-fp/op-4.h: Likewise.
4278 * soft-fp/op-8.h: Likewise.
4279 * soft-fp/op-common.h: Likewise.
4280 * soft-fp/quad.h: Likewise.
4281 * soft-fp/single.h: Likewise.
4282 * soft-fp/soft-fp.h: Likewise.
4283 * soft-fp/subdf3.c: Likewise.
4284 * soft-fp/subsf3.c: Likewise.
4285 * soft-fp/subtf3.c: Likewise.
4286 * soft-fp/truncdfsf2.c: Likewise.
4287 * soft-fp/trunctfdf2.c: Likewise.
4288 * soft-fp/trunctfsf2.c: Likewise.
4289 * soft-fp/trunctfxf2.c: Likewise.
4290 * soft-fp/unorddf2.c: Likewise.
4291 * soft-fp/unordsf2.c: Likewise.
4292 * soft-fp/unordtf2.c: Likewise.
4293 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4295 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4297 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4299 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4301 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4303 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4305 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4307 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4309 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4311 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4313 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4315 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4317 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4319 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4321 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4323 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4326 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4328 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4329 cannot be represented.
4330 * config/s390/32/_fixsfdi.c: Likewise.
4331 * config/s390/32/_fixtfdi.c: Likewise.
4332 * config/s390/32/_fixunsdfdi.c: Likewise.
4333 * config/s390/32/_fixunssfdi.c: Likewise.
4334 * config/s390/32/_fixunstfdi.c: Likewise.
4336 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4338 * configure.ac (libgcc_cv_mips_hard_float): New.
4339 * configure: Regenerate.
4340 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4341 t-softfp-sfdf for hard-float targets.
4342 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4343 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4344 (softfp_truncations, softfp_exclude_libgcc2): New.
4345 * config/t-hardfp: New file.
4346 * config/t-hardfp-sfdf: Likewise.
4347 * config/hardfp.c: Likewise.
4349 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4351 * config.host: Include t-floattodi also for s390x.
4352 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4353 * config/s390/32/_fixsfdi.c: Likewise.
4354 * config/s390/32/_fixtfdi.c: Likewise.
4355 * config/s390/32/_fixunsdfdi.c: Likewise.
4356 * config/s390/32/_fixunssfdi.c: Likewise.
4357 * config/s390/32/_fixunstfdi.c: Likewise.
4359 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4362 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4363 (install-libgcc-unwind-map-forbuild): New target.
4364 (all): Depend on install-libgcc-unwind-map-forbuild.
4365 (install-libgcc-unwind-map): New target.
4366 (install): Depend on install-libgcc-unwind-map.
4368 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4370 * config/nios2/crti.S (_init): Initialize GOT pointer from
4371 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4373 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4375 * configure.ac: Check __mips64 when setting host_address.
4376 * configure: Regenerate.
4377 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4378 mips/t-mips64 and t-softfp.
4379 (mips*-*-linux*): Don't add mips/t-tpbit.
4380 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4381 (DPBIT, DPBIT_CFLAGS): Delete.
4382 * config/mips/sfp-machine.h: New file.
4383 * config/mips/t-mips64: Likewise.
4384 * config/mips/t-softfp-tf: Likewise.
4385 * config/mips/t-tpbit: Delete.
4387 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4389 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4392 2014-01-25 Walter Lee <walt@tilera.com>
4394 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4395 config.h or system.h.
4398 2014-01-25 Walter Lee <walt@tilera.com>
4400 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4401 (post_atomic_barrier): Ditto.
4402 (__fetch_and_do): New macro.
4403 (__atomic_fetch_and_do): Use __fetch_and_do.
4404 (__sync_fetch_and_do): New macro.
4405 (__sync_fetch_and_add_4): New function.
4406 (__sync_fetch_and_sub_4): New function.
4407 (__sync_fetch_and_or_4): New function.
4408 (__sync_fetch_and_and_4): New function.
4409 (__sync_fetch_and_xor_4): New function.
4410 (__sync_fetch_and_nand_4): New function.
4411 (__sync_fetch_and_add_8): New function.
4412 (__sync_fetch_and_sub_8): New function.
4413 (__sync_fetch_and_or_8): New function.
4414 (__sync_fetch_and_and_8): New function.
4415 (__sync_fetch_and_xor_8): New function.
4416 (__sync_fetch_and_nand_8): New function.
4417 (__do_and_fetch): New macro.
4418 (__atomic_do_and_fetch): Use __do_and_fetch.
4419 (__sync_do_and_fetch): New macro.
4420 (__sync_add_and_fetch_4): New function.
4421 (__sync_sub_and_fetch_4): New function.
4422 (__sync_or_and_fetch_4): New function.
4423 (__sync_and_and_fetch_4): New function.
4424 (__sync_xor_and_fetch_4): New function.
4425 (__sync_nand_and_fetch_4): New function.
4426 (__sync_add_and_fetch_8): New function.
4427 (__sync_sub_and_fetch_8): New function.
4428 (__sync_or_and_fetch_8): New function.
4429 (__sync_and_and_fetch_8): New function.
4430 (__sync_xor_and_fetch_8): New function.
4431 (__sync_nand_and_fetch_8): New function.
4432 (__sync_exchange_methods): New macro.
4433 (__sync_val_compare_and_swap_4): New function.
4434 (__sync_bool_compare_and_swap_4): New function.
4435 (__sync_lock_test_and_test_4): New function.
4436 (__sync_val_compare_and_swap_8): New function.
4437 (__sync_bool_compare_and_swap_8): New function.
4438 (__sync_lock_test_and_test_8): New function.
4439 (__subword_cmpxchg_body): New macro.
4440 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4441 (__atomic_compare_exchange_2): Ditto.
4442 (__sync_subword_cmpxchg): New macro.
4443 (__sync_val_compare_and_swap_1): New function.
4444 (__sync_bool_compare_and_swap_1): New function.
4445 (__sync_val_compare_and_swap_2): New function.
4446 (__sync_bool_compare_and_swap_2): New function.
4447 (__atomic_subword): Rename to ...
4448 (__subword): ... New name.
4449 (__atomic_subword_fetch): Use __subword.
4450 (__sync_subword_fetch): New macro.
4451 (__sync_fetch_and_add_1): New function.
4452 (__sync_fetch_and_sub_1): New function.
4453 (__sync_fetch_and_or_1): New function.
4454 (__sync_fetch_and_and_1): New function.
4455 (__sync_fetch_and_xor_1): New function.
4456 (__sync_fetch_and_nand_1): New function.
4457 (__sync_fetch_and_add_2): New function.
4458 (__sync_fetch_and_sub_2): New function.
4459 (__sync_fetch_and_or_2): New function.
4460 (__sync_fetch_and_and_2): New function.
4461 (__sync_fetch_and_xor_2): New function.
4462 (__sync_fetch_and_nand_2): New function.
4463 (__sync_add_and_fetch_1): New function.
4464 (__sync_sub_and_fetch_1): New function.
4465 (__sync_or_and_fetch_1): New function.
4466 (__sync_and_and_fetch_1): New function.
4467 (__sync_xor_and_fetch_1): New function.
4468 (__sync_nand_and_fetch_1): New function.
4469 (__sync_add_and_fetch_2): New function.
4470 (__sync_sub_and_fetch_2): New function.
4471 (__sync_or_and_fetch_2): New function.
4472 (__sync_and_and_fetch_2): New function.
4473 (__sync_xor_and_fetch_2): New function.
4474 (__sync_nand_and_fetch_2): New function.
4475 (__atomic_subword_lock): Use __subword.
4476 (__sync_subword_lock): New macro.
4477 (__sync_lock_test_and_set_1): New function.
4478 (__sync_lock_test_and_set_2): New function.
4480 2014-01-25 Walter Lee <walt@tilera.com>
4482 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4483 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4484 (__atomic_subword): Ditto.
4486 2014-01-25 Walter Lee <walt@tilera.com>
4488 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4489 a prefix op argument.
4490 (__atomic_nand_fetch_4): Add prefix op.
4491 (__atomic_nand_fetch_8): Ditto.
4493 2014-01-21 Baruch Siach <barch@tkos.co.il>
4495 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4497 2014-01-09 Rong Xu <xur@google.com>
4499 * libgcov-driver.c (this_prg): make it local to save
4501 (gcov_exit_compute_summary): Ditto.
4502 (gcov_exit_merge_gcda): Ditto.
4503 (gcov_exit_merge_summary): Ditto.
4504 (gcov_exit_dump_gcov): Ditto.
4506 2014-01-08 Rong Xu <xur@google.com>
4508 * libgcov-driver.c: Use libgcov.h.
4509 (buffer_fn_data): Use xmalloc instead of malloc.
4510 (gcov_exit_merge_gcda): Ditto.
4511 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4512 * libgcov.h: New common header files for libgcov-*.h.
4513 * libgcov-interface.c: Use libgcov.h
4514 * libgcov-merge.c: Ditto.
4515 * libgcov-profiler.c: Ditto.
4516 * Makefile.in: Add dependence to libgcov.h
4518 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4520 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4521 case of small numerator and finite nonzero result.
4523 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4525 Update copyright years
4527 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4529 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4530 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4531 config/arc/dp-hack.h, config/arc/fp-hack.h,
4532 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4533 config/arc/ieee-754/arc600-dsp/divdf3.S,
4534 config/arc/ieee-754/arc600-dsp/divsf3.S,
4535 config/arc/ieee-754/arc600-dsp/muldf3.S,
4536 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4537 config/arc/ieee-754/arc600-mul64/divdf3.S,
4538 config/arc/ieee-754/arc600-mul64/divsf3.S,
4539 config/arc/ieee-754/arc600-mul64/muldf3.S,
4540 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4541 config/arc/ieee-754/arc600/divsf3.S,
4542 config/arc/ieee-754/arc600/mulsf3.S,
4543 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4544 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4545 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4546 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4547 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4548 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4549 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4550 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4551 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4552 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4553 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4554 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4555 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4556 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4557 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4558 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4559 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4560 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4561 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4562 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4563 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4564 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4565 vtv_start_preinit.c: Use the standard form for the copyright notice.
4567 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4568 Chung-Lin Tang <cltang@codesourcery.com>
4569 Based on patches from Altera Corporation
4571 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4572 * config/nios2/lib2-nios2.h: New file.
4573 * config/nios2/lib2-divmod-hi.c: New file.
4574 * config/nios2/linux-unwind.h: New file.
4575 * config/nios2/lib2-divmod.c: New file.
4576 * config/nios2/linux-atomic.c: New file.
4577 * config/nios2/t-nios2: New file.
4578 * config/nios2/crti.asm: New file.
4579 * config/nios2/t-linux: New file.
4580 * config/nios2/lib2-divtable.c: New file.
4581 * config/nios2/lib2-mul.c: New file.
4582 * config/nios2/tramp.c: New file.
4583 * config/nios2/crtn.asm: New file.
4585 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4587 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4588 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4589 from cpuid.h to check vendor signatures.
4591 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4593 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4594 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4595 (get_amd_cpu): Likewise.
4597 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4599 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4602 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4603 H.J. Lu <hongjiu.lu@intel.com>
4606 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4608 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4609 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4610 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4611 FEATURE_XOP and FEATURE_FMA.
4612 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4614 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4615 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4616 FEATURE_FMA4 and FEATURE_XOP.
4618 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4620 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4621 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4622 (get_intel_cpu): Updated.
4624 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4626 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4628 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4630 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4631 instructions when __SSE_MATH__ is defined.
4633 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4635 * config.host (microblaze-*-rtems*): New.
4637 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4639 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4640 architectures that do not have hardware divide instruction.
4641 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4643 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4645 * longlong.h: Delete (moved to include/).
4647 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4650 of normal number and qNaN to not raise an inexact exception.
4652 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4654 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4656 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4658 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4659 for correct opcodes on BE.
4661 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4663 * soft-fp/op-4.h: Update from glibc.
4665 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4667 * libgcc2.c (__udivmoddi4): Define new implementation when
4668 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4669 divide instructions.
4671 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4673 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4675 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4677 * config/t-softfp (soft-fp-objects-base): New variable.
4678 (soft-fp-objects): Use it.
4680 2013-11-23 David Edelson <dje.gcc@gmail.com>
4681 Andrew Dixie <andrewd@gentrack.com>
4684 * config/rs6000/aixinitfini.c: New file.
4685 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4686 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4689 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4691 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4693 2013-11-18 Jan Hubicka <jh@suse.cz>
4695 * libgcov-driver.c (run_accounted): Make global level static.
4696 (gcov_exit_merge_summary): Silence warning; do not clear
4698 (gcov_exit): Clear it here.
4700 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4703 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4704 (all_prg, crc32): Remove static vars.
4705 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4707 (gcov_exit_merge_gcda): Add crc32 parameter.
4708 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4709 do not account run if it was already accounted.
4710 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4711 (gcov_exit): Initialize all_prg; update.
4713 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4715 * configure: Regenerate.
4717 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4718 Alan Modra <amodra@gmail.com>
4720 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4721 (frob_update_context): Use it.
4723 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4724 Alan Modra <amodra@gmail.com>
4726 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4727 (trampoline_initial): Provide ELFv2 variant.
4728 (__trampoline_setup): Likewise.
4730 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4731 check for AIX indirect function call sequence if _CALL_ELF == 2.
4733 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4734 Alan Modra <amodra@gmail.com>
4736 * config/rs6000/linux-unwind.h (get_regs): Do not support
4737 old kernel versions if _CALL_ELF == 2.
4738 (frob_update_context): Do not support PLT stub variants only
4739 generated by old linkers if _CALL_ELF == 2.
4741 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4742 Alan Modra <amodra@gmail.com>
4744 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4745 location of CR save area for 64-bit little-endian systems.
4747 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4749 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4751 * config/arm/t-vxworks: Delete.
4753 2013-11-10 Kai Tietz <ktietz@redhat.com>
4755 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4756 Increment load-count on use of LIBGCC_SONAME DLL.
4757 (hmod_libgcc): New static variable to hold handle of
4759 (__gcc_deregister_frame): Decrement load-count of
4762 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4764 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4766 * configure: Regenerate
4768 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4770 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4771 FP_EX_DENORM. Store result to volatile location after SSE division
4772 to close interrupt window. Remove unneeded fwait after x87
4773 division since interrupt window will be closed by emitted fstp.
4774 Rewrite FP_EX_INEXACT handling.
4776 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4778 * soft-fp/README: Update.
4779 * soft-fp/adddf3.c: Update from glibc.
4780 * soft-fp/addsf3.c: Likewise.
4781 * soft-fp/addtf3.c: Likewise.
4782 * soft-fp/divdf3.c: Likewise.
4783 * soft-fp/divsf3.c: Likewise.
4784 * soft-fp/divtf3.c: Likewise.
4785 * soft-fp/double.h: Likewise.
4786 * soft-fp/eqdf2.c: Likewise.
4787 * soft-fp/eqsf2.c: Likewise.
4788 * soft-fp/eqtf2.c: Likewise.
4789 * soft-fp/extenddftf2.c: Likewise.
4790 * soft-fp/extended.h: Likewise.
4791 * soft-fp/extendsfdf2.c: Likewise.
4792 * soft-fp/extendsftf2.c: Likewise.
4793 * soft-fp/extendxftf2.c: Likewise.
4794 * soft-fp/fixdfdi.c: Likewise.
4795 * soft-fp/fixdfsi.c: Likewise.
4796 * soft-fp/fixdfti.c: Likewise.
4797 * soft-fp/fixsfdi.c: Likewise.
4798 * soft-fp/fixsfsi.c: Likewise.
4799 * soft-fp/fixsfti.c: Likewise.
4800 * soft-fp/fixtfdi.c: Likewise.
4801 * soft-fp/fixtfsi.c: Likewise.
4802 * soft-fp/fixtfti.c: Likewise.
4803 * soft-fp/fixunsdfdi.c: Likewise.
4804 * soft-fp/fixunsdfsi.c: Likewise.
4805 * soft-fp/fixunsdfti.c: Likewise.
4806 * soft-fp/fixunssfdi.c: Likewise.
4807 * soft-fp/fixunssfsi.c: Likewise.
4808 * soft-fp/fixunssfti.c: Likewise.
4809 * soft-fp/fixunstfdi.c: Likewise.
4810 * soft-fp/fixunstfsi.c: Likewise.
4811 * soft-fp/fixunstfti.c: Likewise.
4812 * soft-fp/floatdidf.c: Likewise.
4813 * soft-fp/floatdisf.c: Likewise.
4814 * soft-fp/floatditf.c: Likewise.
4815 * soft-fp/floatsidf.c: Likewise.
4816 * soft-fp/floatsisf.c: Likewise.
4817 * soft-fp/floatsitf.c: Likewise.
4818 * soft-fp/floattidf.c: Likewise.
4819 * soft-fp/floattisf.c: Likewise.
4820 * soft-fp/floattitf.c: Likewise.
4821 * soft-fp/floatundidf.c: Likewise.
4822 * soft-fp/floatundisf.c: Likewise.
4823 * soft-fp/floatunditf.c: Likewise.
4824 * soft-fp/floatunsidf.c: Likewise.
4825 * soft-fp/floatunsisf.c: Likewise.
4826 * soft-fp/floatunsitf.c: Likewise.
4827 * soft-fp/floatuntidf.c: Likewise.
4828 * soft-fp/floatuntisf.c: Likewise.
4829 * soft-fp/floatuntitf.c: Likewise.
4830 * soft-fp/gedf2.c: Likewise.
4831 * soft-fp/gesf2.c: Likewise.
4832 * soft-fp/getf2.c: Likewise.
4833 * soft-fp/ledf2.c: Likewise.
4834 * soft-fp/lesf2.c: Likewise.
4835 * soft-fp/letf2.c: Likewise.
4836 * soft-fp/muldf3.c: Likewise.
4837 * soft-fp/mulsf3.c: Likewise.
4838 * soft-fp/multf3.c: Likewise.
4839 * soft-fp/negdf2.c: Likewise.
4840 * soft-fp/negsf2.c: Likewise.
4841 * soft-fp/negtf2.c: Likewise.
4842 * soft-fp/op-1.h: Likewise.
4843 * soft-fp/op-2.h: Likewise.
4844 * soft-fp/op-4.h: Likewise.
4845 * soft-fp/op-8.h: Likewise.
4846 * soft-fp/op-common.h: Likewise.
4847 * soft-fp/quad.h: Likewise.
4848 * soft-fp/single.h: Likewise.
4849 * soft-fp/soft-fp.h: Likewise.
4850 * soft-fp/subdf3.c: Likewise.
4851 * soft-fp/subsf3.c: Likewise.
4852 * soft-fp/subtf3.c: Likewise.
4853 * soft-fp/truncdfsf2.c: Likewise.
4854 * soft-fp/trunctfdf2.c: Likewise.
4855 * soft-fp/trunctfsf2.c: Likewise.
4856 * soft-fp/trunctfxf2.c: Likewise.
4857 * soft-fp/unorddf2.c: Likewise.
4858 * soft-fp/unordsf2.c: Likewise.
4859 * soft-fp/unordtf2.c: Likewise.
4861 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4863 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4864 (_FP_MUL_MEAT_D): Ditto.
4865 (_FP_DIV_MEAT_S): Ditto.
4866 (_FP_DIV_MEAT_D): Ditto.
4867 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4868 t-softfp-sfdf and t-softfp to tmake_file.
4870 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4872 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4873 * config/i386/crtprec.c: Ditto.
4875 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4876 Shiva Chen <shiva0217@gmail.com>
4878 * config.host (nds32*-elf*): Add nds32 target.
4879 * config/nds32 : New directory and files.
4881 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4883 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4884 * config.host (cpu_type) <Setting default>: Add entry for
4886 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4887 <crisv32-*-linux*>: Adjust.
4888 * longlong.h: Wrap the whole CRIS section in a single
4889 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4891 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4893 [__CRIS__] (__umulsidi3): Define.
4894 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4895 * config/cris/sfp-machine.h: New file.
4896 * config/cris/umulsidi3.S: New file.
4897 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4898 * config/cris/arit.c (SIGNMULT): New macro.
4899 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4900 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4901 saving 3 out of originally 33 cycles from the fastest
4902 path, 3 out of 54 from the medium path and one from the longest
4903 path. Improve comments.
4905 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4907 * sync.c: Remove static aliases and define each function directly
4908 under its real name.
4910 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4912 * config.host (hppa*64*-*-linux*): Define extra_parts.
4913 (hppa*-*-linux*): Likewise.
4915 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4917 * config/arc/crtgend.S: Add 2013 to Copyright years.
4918 * config/arc/gmon/atomic.h: Likewise.
4919 * config/arc/gmon/auxreg.h: Likewise.
4920 * config/arc/gmon/sys/gmon_out.h: Likewise.
4921 * config/arc/gmon/sys/gmon.h: Likewise.
4922 * config/arc/gmon/prof-freq.c: Likewise.
4923 * config/arc/gmon/mcount.c: Likewise.
4924 * config/arc/gmon/prof-freq-stub.S: Likewise.
4925 * config/arc/gmon/gmon.c: Likewise.
4926 * config/arc/gmon/machine-gmon.h: Likewise.
4927 * config/arc/gmon/profil.S: Likewise.
4928 * config/arc/gmon/dcache_linesz.S: Likewise.
4929 * config/arc/crtg.S: Likewise.
4930 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4931 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4932 * config/arc/ieee-754/adddf3.S: Likewise.
4933 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4934 * config/arc/ieee-754/fixsfsi.S: Likewise.
4935 * config/arc/ieee-754/gtsf2.S: Likewise.
4936 * config/arc/ieee-754/floatsisf.S: Likewise.
4937 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4938 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4939 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4940 * config/arc/ieee-754/fixdfsi.S: Likewise.
4941 * config/arc/ieee-754/addsf3.S: Likewise.
4942 * config/arc/ieee-754/gesf2.S: Likewise.
4943 * config/arc/ieee-754/floatsidf.S: Likewise.
4944 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4945 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4946 * config/arc/ieee-754/gtdf2.S: Likewise.
4947 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4948 * config/arc/ieee-754/uneqdf2.S: Likewise.
4949 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4950 * config/arc/ieee-754/uneqsf2.S: Likewise.
4951 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4952 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4953 * config/arc/ieee-754/eqdf2.S: Likewise.
4954 * config/arc/ieee-754/ordsf2.S: Likewise.
4955 * config/arc/ieee-754/divsf3.S: Likewise.
4956 * config/arc/ieee-754/divdf3.S: Likewise.
4957 * config/arc/ieee-754/floatunsidf.S: Likewise.
4958 * config/arc/ieee-754/orddf2.S: Likewise.
4959 * config/arc/ieee-754/eqsf2.S: Likewise.
4960 * config/arc/ieee-754/gedf2.S: Likewise.
4961 * config/arc/crtn.S: Likewise.
4962 * config/arc/crti.S: Likewise.
4963 * config/arc/t-arc700-uClibc: Likewise.
4964 * config/arc/asm.h: Likewise.
4965 * config/arc/libgcc-excl.ver: Likewise.
4966 * config/arc/t-arc-newlib: Likewise.
4967 * config/arc/divtab-arc700.c: Likewise.
4968 * config/arc/initfini.c: Likewise.
4969 * config/arc/fp-hack.h: Likewise.
4971 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4972 Diego Novillo <dnovillo@google.com>
4974 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4975 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4976 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4977 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4979 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4980 Brendan Kehoe <brendan@zen.org>
4981 Simon Cook <simon.cook@embecosm.com>
4983 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4984 * config/arc: New directory.
4985 * longlong.h [__arc__] (umul_ppmm): Remove.
4986 [__arc__] (__umulsidi3): Define.
4987 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4988 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4990 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4992 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4994 * config/i386/gthr-win32.h: Likewise.
4996 2013-09-16 DJ Delorie <dj@redhat.com>
4998 * config/rl78/vregs.h: Add G10 register definitions.
4999 * config/rl78/lib2mul.c: Enable for RL78/G10.
5000 * config/rl78/lib2div.c: Likewise.
5001 * config/rl78/lshrsi3.S: Use vregs.h.
5002 * config/rl78/cmpsi2.S: Likewise.
5003 * config/rl78/trampoline.S: Likewise.
5004 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5006 2013-09-14 DJ Delorie <dj@redhat.com>
5007 Nick Clifton <nickc@redhat.com>
5009 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5010 * config/rl78/vregs.h: New.
5011 * config/rl78/signbit.S: New file. Implements signbit function.
5012 * config/rl78/divmodsi.S: New.
5013 * config/rl78/divmodhi.S: New.
5014 * config/rl78/divmodqi.S: New.
5015 * config/rl78/t-rl78: Build them here...
5016 * config/rl78/lib2div.c: ...but not here.
5018 2013-09-12 DJ Delorie <dj@redhat.com>
5020 * config.host (msp*-*-elf): New.
5021 * config/msp430/: New port.
5023 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5025 PR gcov-profile/58127
5026 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5027 __thread var for emulated TLS.
5028 (__gcov_indirect_call_counters): Likewise.
5030 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5031 Catherine Moore <clm@codesourcery.com>
5032 Richard Sandiford <rdsandiford@googlemail.com>
5034 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5035 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5036 (CALL_STUB_NO_RET): Likewise.
5037 (CALL_STUB_RET): Likewise.
5038 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5039 __mips16_ret call/return stub symbols.
5040 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5043 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5045 * config.host <mips*-*-linux*>: Remove a stray comment.
5047 2013-08-10 Jan Hubicka <jh@suse.cz>
5049 Work around binutils PR14342
5050 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5051 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5052 (L_gcov_indirect_call_profiler_v2): New.
5054 2013-08-06 Jan Hubicka <jh@suse.cz>
5056 * libgcov.c (__gcov_indirect_call_callee,
5057 __gcov_indirect_call_counters): New global vars.
5058 (__gcov_indirect_call_profiler): replace by ...
5059 (__gcov_indirect_call_profiler_v2) ... this one.
5061 2013-08-06 Caroline Tice <cmtice@google.com>
5063 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5064 vtv_start_preinit.o and vtv_end_preinit.o.
5065 * configure.ac: Add code to check/set enable_vtable_verify.
5066 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5068 * vtv_start_preinit.c: New file.
5069 * vtv_end_preinit.c: New file.
5070 * vtv_start.c: New file.
5071 * vtv_end.c: New file.
5072 * configure: Regenerated.
5074 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5076 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5077 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5078 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5079 GPL-3.0-with-GCC-exception.
5081 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5083 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5086 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5088 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5089 mapping for FPRs when creating the fallback framestate.
5091 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5094 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5095 (__round_s2_const, __round_u2_const)
5096 (__round_s4_const, __round_u4_const, __round_x8):
5097 Saturate result if addition result cannot be represented.
5099 2013-07-15 Matthias Klose <doko@ubuntu.com>
5101 * libgcc2.c: Don't include <limits.h>.
5103 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5105 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5107 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5110 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5112 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5115 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5117 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5118 instead of table lookups.
5119 (__popcountDI2): Likewise.
5121 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5123 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5126 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5129 * soft-fp/adddf3.c: Update from glibc.
5130 * soft-fp/addsf3.c: Likewise.
5131 * soft-fp/addtf3.c: Likewise.
5132 * soft-fp/divdf3.c: Likewise.
5133 * soft-fp/divsf3.c: Likewise.
5134 * soft-fp/divtf3.c: Likewise.
5135 * soft-fp/double.h: Likewise.
5136 * soft-fp/eqdf2.c: Likewise.
5137 * soft-fp/eqsf2.c: Likewise.
5138 * soft-fp/eqtf2.c: Likewise.
5139 * soft-fp/extenddftf2.c: Likewise.
5140 * soft-fp/extended.h: Likewise.
5141 * soft-fp/extendsfdf2.c: Likewise.
5142 * soft-fp/extendsftf2.c: Likewise.
5143 * soft-fp/fixdfdi.c: Likewise.
5144 * soft-fp/fixdfsi.c: Likewise.
5145 * soft-fp/fixsfdi.c: Likewise.
5146 * soft-fp/fixsfsi.c: Likewise.
5147 * soft-fp/fixtfdi.c: Likewise.
5148 * soft-fp/fixtfsi.c: Likewise.
5149 * soft-fp/fixunsdfdi.c: Likewise.
5150 * soft-fp/fixunsdfsi.c: Likewise.
5151 * soft-fp/fixunssfdi.c: Likewise.
5152 * soft-fp/fixunssfsi.c: Likewise.
5153 * soft-fp/fixunstfdi.c: Likewise.
5154 * soft-fp/fixunstfsi.c: Likewise.
5155 * soft-fp/floatdidf.c: Likewise.
5156 * soft-fp/floatdisf.c: Likewise.
5157 * soft-fp/floatditf.c: Likewise.
5158 * soft-fp/floatsidf.c: Likewise.
5159 * soft-fp/floatsisf.c: Likewise.
5160 * soft-fp/floatsitf.c: Likewise.
5161 * soft-fp/floatundidf.c: Likewise.
5162 * soft-fp/floatundisf.c: Likewise.
5163 * soft-fp/floatunditf.c: Likewise.
5164 * soft-fp/floatunsidf.c: Likewise.
5165 * soft-fp/floatunsisf.c: Likewise.
5166 * soft-fp/floatunsitf.c: Likewise.
5167 * soft-fp/gedf2.c: Likewise.
5168 * soft-fp/gesf2.c: Likewise.
5169 * soft-fp/getf2.c: Likewise.
5170 * soft-fp/ledf2.c: Likewise.
5171 * soft-fp/lesf2.c: Likewise.
5172 * soft-fp/letf2.c: Likewise.
5173 * soft-fp/muldf3.c: Likewise.
5174 * soft-fp/mulsf3.c: Likewise.
5175 * soft-fp/multf3.c: Likewise.
5176 * soft-fp/negdf2.c: Likewise.
5177 * soft-fp/negsf2.c: Likewise.
5178 * soft-fp/negtf2.c: Likewise.
5179 * soft-fp/op-1.h: Likewise.
5180 * soft-fp/op-2.h: Likewise.
5181 * soft-fp/op-4.h: Likewise.
5182 * soft-fp/op-8.h: Likewise.
5183 * soft-fp/op-common.h: Likewise.
5184 * soft-fp/quad.h: Likewise.
5185 * soft-fp/single.h: Likewise.
5186 * soft-fp/soft-fp.h: Likewise.
5187 * soft-fp/subdf3.c: Likewise.
5188 * soft-fp/subsf3.c: Likewise.
5189 * soft-fp/subtf3.c: Likewise.
5190 * soft-fp/truncdfsf2.c: Likewise.
5191 * soft-fp/trunctfdf2.c: Likewise.
5192 * soft-fp/trunctfsf2.c: Likewise.
5193 * soft-fp/unorddf2.c: Likewise.
5194 * soft-fp/unordsf2.c: Likewise.
5195 * soft-fp/unordtf2.c: Likewise.
5196 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5197 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5198 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5199 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5200 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5201 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5202 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5203 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5204 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5205 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5206 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5207 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5209 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5211 * config/mips/lib2funcs.c: New file.
5212 * config/mips/t-mips (LIB2ADD_ST): Add it.
5214 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5217 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5218 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5220 2013-06-08 Walter Lee <walt@tilera.com>
5222 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5223 Replace int64_t with long long. Add __extension__ where
5225 * config/tilepro/atomic.c: Include config.h.
5227 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5229 * config.host (arm-wrs-vxworks): Configure with other soft float.
5231 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5233 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5234 (mips64r5900el-*-elf*): New configurations.
5236 2013-06-04 Alan Modra <amodra@gmail.com>
5238 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5240 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5242 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5244 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5246 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5247 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5248 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5250 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5252 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5253 (powerpc-wrs-vxworks): Likewise.
5255 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5257 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5258 signal frames as well.
5259 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5260 STACK_BIAS to the CFA offset.
5262 2013-05-17 Richard Henderson <rth@redhat.com>
5265 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5266 (execute_cfa_program): Use it when storing to fs->regs.
5268 2013-05-08 Kai Tietz <ktietz@redhat.com>
5270 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5271 (__deregister_frame_info): Likewise.
5273 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5275 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5278 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5280 2013-04-25 Alan Modra <amodra@gmail.com>
5282 * config.host: Match little-endian powerpc-linux.
5284 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5286 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5287 as 'unsigned long long' instead of 'unsigned long'.
5288 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5291 2013-04-10 Julian Brown <julian@codesourcery.com>
5293 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5294 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5295 unsigned char/unsigned short.
5296 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5298 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5301 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5303 2013-04-04 Meador Inge <meadori@codesourcery.com>
5305 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5306 computing the location of the link register.
5307 (aeabi_uldivmod): Ditto.
5309 2013-03-27 Kai Tietz <ktietz@redhat.com>
5311 * config.host: Add support for cygwin x64 target.
5312 * configure: Regenerated.
5314 2013-03-26 Walter Lee <walt@tilera.com>
5316 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5317 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5319 2013-03-25 Kai Tietz <ktietz@redhat.com>
5321 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5323 2013-03-20 Robert Mason <rbmj@verizon.net>
5325 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5326 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5327 (__gthread_leave_tsd_dtor_context): Add prototypes.
5328 (tls_delete_hook): Update.
5330 2013-03-20 Catherine Moore <clm@codesourcery.com>
5331 Joseph Myers <joseph@codesourcery.com>
5332 Chao-ying Fu <fu@mips.com>
5334 * config/mips/mips16.S: Don't build for microMIPS.
5335 * config/mips/linux-unwind.h: Handle microMIPS frame.
5336 * config/mips/crtn.S (fini, init): New labels.
5338 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5340 PR tree-optimization/53265
5341 * unwind-dw2.c (execute_cfa_program): Avoid
5342 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5343 on targets with DWARF_FRAME_REGISTERS < 32.
5345 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5348 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5349 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5351 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5353 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5354 sandybridge processors.
5356 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5359 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5362 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5364 * config/microblaze/crti.S: Setup stack protection at entry
5366 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5368 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5369 (__rotldi3): Shift bytewise if applicable.
5371 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5373 * config/aarch64/sync-cache.c
5374 (__aarch64_sync_cache_range): Silence warnings.
5376 2013-02-25 Catherine Moore <clm@codesourcery.com>
5379 2013-02-24 Catherine Moore <clm@codesourcery.com>
5380 Joseph Myers <joseph@codesourcery.com>
5381 Chao-ying Fu <fu@mips.com>
5383 * config/mips/mips16.S: Don't build for microMIPS.
5384 * config/mips/linux-unwind.h: Handle microMIPS frame.
5385 * config/mips/crtn.S (fini, init): New labels.
5387 2013-02-24 Catherine Moore <clm@codesourcery.com>
5388 Joseph Myers <joseph@codesourcery.com>
5389 Chao-ying Fu <fu@mips.com>
5391 * config/mips/mips16.S: Don't build for microMIPS.
5392 * config/mips/linux-unwind.h: Handle microMIPS frame.
5393 * config/mips/crtn.S (fini, init): New labels.
5395 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5396 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5399 2013-02-16 Alan Modra <amodra@gmail.com>
5402 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5403 (ppc_fallback_frame_state): Always set up save locations for fp
5404 and altivec. Don't bother with non-callee-saved regs, r0-r13
5405 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5407 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5410 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5412 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5413 _ssmulha3, _usmulusa3, _ssmulsa3.
5414 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5415 (__muldi3): XCALL __muldi3_6 instead of rcall.
5416 (__umulsidi3, __mulsidi3): New functions.
5417 (do_prologue_saves, do_epilogue_restores): New .macros.
5418 (__divdi3_moddi3): Use them.
5419 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5420 (__usmulusa3, __ssmulsa3): New functions.
5422 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5423 Jack Howarth <howarth@bromo.med.uc.edu>
5424 Patrick Marlier <patrick.marlier@gmail.com>
5427 * config/darwin-crt-tm.c: Remove dummy functions hack.
5429 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5432 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5433 * config/avr/lib2-object.mk: New iterator to build objects from it.
5434 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5436 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5437 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5438 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5439 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5440 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5441 * config/avr/lib1funcs-fixed.S: Implement them.
5443 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5445 Update copyright years.
5447 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5450 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5451 Add crtcxa to extra_parts.
5452 * config/rs6000/exit.h: New file.
5453 * config/rs6000/cxa_atexit.c: New file.
5454 * config/rs6000/cxa_finalize.c: New file.
5455 * config/rs6000/crtcxa.c: New file.
5456 * config/rs6000/t-aix-cxa: New file.
5457 * config/rs6000/libgcc-aix-cxa.ver: New file.
5459 2013-01-31 Nick Clifton <nickc@redhat.com>
5461 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5464 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5467 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5468 _mulQQ, _mulHQ, _mulHA, _mulSA,
5469 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5470 _divQQ, _divHQ, _divHA, _divSA,
5471 _divUQQ, _divUHQ, _divUHA, _divUSA.
5473 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5475 * config.host(microblaze*-linux*): tmake_file: Remove
5476 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5477 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5478 to exclude functions from being built with libgcc.c and use
5479 the microblaze assembly.
5481 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5483 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5486 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5488 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5489 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5490 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5491 alignment operation.
5493 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5495 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5496 loop start address for cache clearing.
5498 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5500 * config/avr/lib1funcs.S: Remove trailing blanks.
5501 * config/avr/lib1funcs-fixed.S: Ditto.
5503 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5505 * config/avr/avr-lib.h: Add GPL copyright notice.
5507 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5509 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5510 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5511 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5512 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5514 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5516 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5517 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5519 2013-01-04 Nick Clifton <nickc@redhat.com>
5521 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5522 the CALLT instruction is supported.
5524 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5526 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5527 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5529 2012-12-13 John Tytgat <John@bass-software.com>
5531 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5534 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5537 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5538 undefined signed overflows.
5540 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5543 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5545 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5547 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5548 (FP_TRAPPING_EXCEPTIONS): Define.
5549 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5550 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5552 2012-12-04 Richard Henderson <rth@redhat.com>
5555 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5557 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5559 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5560 (FP_EX_SHIFT): Define.
5561 (FP_TRAPPING_EXCEPTIONS): Define.
5563 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5565 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5566 (FP_ROUNDMODE): Use FP_RND_MASK.
5567 * config/aarch64/sfp-exceptions.c: New.
5568 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5569 Use __sfp_handle_exceptions.
5571 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5573 * config.host: (arm*-*-freebsd*): Remove.
5574 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5575 (arm*-*-elf*): Remove.
5576 (arm*-*-wince-pe*): Remove.
5577 * arm/unwind-arm.c (struct fpa_reg): Delete.
5578 (struct fpa_regs): Delete.
5579 (phase1_vrs): Remove fpa element.
5580 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5581 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5582 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5583 * ieee754-sf.S (floatundisf): Remove FPA support.
5584 (floatdisf): Likewise.
5585 * ieee75f-df.S (floatundidf): Likewise.
5586 (floatdidf): Likewise.
5588 2012-11-29 Kai Tietz <ktietz@redhat.com>
5591 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5592 * unwind-generic.h: Likewise.
5593 * unwind-seh.c: Likewise.
5595 2012-11-28 Richard Henderson <rth@redhat.com>
5598 * emutls.c (__emutls_get_address): Avoid race condition between
5599 obj->loc.offset read and emutls_key initialization.
5601 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5603 Adjust decimal point of signed accum mode to GCC default.
5606 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5608 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5609 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5610 (__mulha3, __mulsa3)
5611 (__divqq3, __divha3, __divsa3): Adjust to new position of
5612 decimal point of signed accum types.
5614 (__mulusa3_round): New function.
5615 (__mulusa3): Use it.
5616 (__divqq_helper): New function.
5617 (__udivuqq3): Use it.
5619 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5622 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5624 2012-11-18 Teresa Johnson <tejohnson@google.com>
5627 * libgcov.c (gcov_exit): Remove merged program summary
5628 comparison unless !GCOV_LOCKED.
5630 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5632 * soft-fp: Updated from glibc upstream.
5634 2012-11-06 Ian Lance Taylor <iant@google.com>
5636 * generic-morestack.c (__generic_morestack): Align the returned
5637 stack pointer to a 32 byte boundary.
5638 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5639 increment the return address until we have decided that we don't
5640 have a varargs function.
5641 (__morestack) [32-bit]: Align stack correctly when calling C
5643 (__morestack) [64-bit]: Likewise.
5645 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5647 * configure: Regenerate.
5649 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5652 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5653 * config/i386/sfp-machine.h: Guard exception handling
5654 code with _SOFT_FLOAT.
5655 * config/i386/32/sfp-machine.h: Guard rounding handling
5656 code with _SOFT_FLOAT.
5657 * config/i386/64/sfp-machine.h: Ditto.
5659 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5661 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5664 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5666 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5667 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5668 when appropriate. Correct structure element types.
5669 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5670 -minline-all-stringops from compile flags.
5672 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5674 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5676 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5678 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5680 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5682 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5685 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5686 Jim MacArthur <jim.macarthur@arm.com>
5687 Marcus Shawcroft <marcus.shawcroft@arm.com>
5688 Nigel Stephens <nigel.stephens@arm.com>
5689 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5690 Richard Earnshaw <rearnsha@arm.com>
5691 Sofiane Naci <sofiane.naci@arm.com>
5692 Stephen Thomas <stephen.thomas@arm.com>
5693 Tejas Belagod <tejas.belagod@arm.com>
5694 Yufeng Zhang <yufeng.zhang@arm.com>
5696 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5697 * config/aarch64/crti.S: New file.
5698 * config/aarch64/crtn.S: New file.
5699 * config/aarch64/linux-unwind.h: New file.
5700 * config/aarch64/sfp-machine.h: New file.
5701 * config/aarch64/sync-cache.c: New file.
5702 * config/aarch64/t-aarch64: New file.
5703 * config/aarch64/t-softfp: New file.
5705 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5707 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5708 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5709 no-longer-needed LDBU insns.
5711 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5714 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5715 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5717 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5719 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5721 2012-10-15 Matthias Klose <doko@ubuntu.com>
5723 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5725 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5727 * configure: Regenerate.
5728 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5730 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5732 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5733 instructions for 64bit targets only.
5735 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5737 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5738 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5739 * config/i386/32/sfp-machine.h: ... here.
5740 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5741 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5744 2012-10-07 Matthias Klose <doko@ubuntu.com>
5746 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5748 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5750 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5752 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5753 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5754 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5757 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5760 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5761 Fix parameter names.
5763 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5766 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5767 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5768 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5770 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5773 * config/sh/linux-atomic.S: Delete.
5774 * config/sh/linux-atomic.c: New.
5775 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5776 linux-atomic.c. Add cflags to disable warnings.
5778 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5781 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5783 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5784 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5785 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5786 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5787 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5789 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5791 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5793 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5794 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5796 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5798 * config.host (hppa-*-openbsd*): New target.
5799 * config/pa/t-openbsd: New file.
5801 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5804 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5805 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5806 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5807 (__divsa3): Use __negsi2 to negate r_quoL.
5808 * config/avr/lib1funcs.S (FALIAS): New macro.
5809 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5810 (__negsi2): ...this new function.
5811 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5812 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5813 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5814 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5815 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5816 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5818 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5821 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5822 (lshrsi3): Reimplement as lshrsi3_r0.
5824 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5827 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5830 2012-09-07 Teresa Johnson <tejohnson@google.com>
5832 PR gcov-profile/54487
5833 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5836 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5839 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5840 not configured --with-avrlibc=no.
5841 * config/avr/t-avrlibc: New file.
5842 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5843 (DPBIT_FUNCS): Ditto.
5844 (TPBIT_FUNCS): Ditto.
5846 2012-09-04 Teresa Johnson <tejohnson@google.com>
5848 * libgcov.c (struct gcov_summary_buffer): New structure.
5849 (gcov_histogram_insert): New function.
5850 (gcov_compute_histogram): Ditto.
5851 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5852 histograms during summary merging.
5854 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5856 * config.host (x86_64-*-openbsd*): New target.
5858 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5860 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5863 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5866 * config/avr/t-avr (conv_X): Rename to func_X.
5868 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5871 * config/avr/lib1funcs-fixed.S: New file.
5872 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5873 after they are used.
5874 (neg2, neg4): New macros.
5875 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5876 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5877 (__umulhisi3): Speed up MUL variant if there is enough flash.
5878 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5880 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5881 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5882 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5883 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5884 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5885 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5886 (LIB2FUNCS_EXCLUDE): Add supported functions.
5888 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5890 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5891 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5893 * fixed-obj.mk: Only expand dependency if $o is not in
5896 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5898 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5900 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5902 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5903 depend on --enable-shared.
5904 ($(lib1asmfuncs-o)): Use %.vis files independent of
5906 * static-object.mk ($(base)$(objext), $(base).vis)
5907 ($(base)_s$(objext)): Use same rules for visibility handling as in
5910 2012-08-21 Ian Lance Taylor <iant@google.com>
5912 * config/i386/morestack.S (__morestack_non_split): Increase amount
5913 of space allocated for non-split code stack.
5915 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5917 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5918 even if inhibit_libc.
5920 2012-08-17 Julian Brown <julian@codesourcery.com>
5922 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5923 -fexceptions -fnon-call-exceptions if not defined.
5924 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5925 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5927 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5929 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5932 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5934 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5935 rs6000/t-slibgcc-aix.
5937 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5939 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5941 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5943 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5945 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5948 * Makefile.in (version): Replace top_srcdir with srcdir.
5950 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5952 * Makefile.in (version): set to BASE-VER file from gcc directory.
5954 2012-08-01 Nick Clifton <nickc@redhat.com>
5956 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5957 Implements __clrsb for an HImode argument.
5959 2012-07-31 Nick Clifton <nickc@redhat.com>
5961 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5962 Implements __clrsb for an HImode argument.
5963 * config/stormy16/clrsbhi2.c: New file:
5964 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5966 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5968 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5970 2012-07-19 Tristan Gingold <gingold@adacore.com>
5971 Richard Henderson <rth@redhat.com>
5973 * unwind-seh.c: New file.
5974 * unwind-generic.h: Include windows.h for SEH.
5975 (_Unwind_Exception): Use 6 private fields for SEH.
5976 (_GCC_specific_handler): Declare.
5977 * unwind-c.c (__gcc_personality_seh0): New function.
5979 * config/i386/libgcc-cygming.ver: New file.
5980 * config/i386/t-seh-eh: New file.
5981 * config.host (x86_64-*-mingw*): Default to seh.
5983 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5985 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5987 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5989 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5990 __builtin_expect when checking for exceptions.
5991 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5993 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5995 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5996 function declaration.
5997 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5999 * config/ia64/sfp-exceptions.c: New.
6000 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6002 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6004 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6005 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6006 * config/i386/64/sfp-machine: ... (delete here) ...
6007 * config/i386/sfp-machine.h: ... to here.
6008 (FP_EX_MASK): Remove.
6010 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6012 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6014 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6015 * config/i386/libgcc-sol2.ver: Ditto.
6016 * config/i386/libgcc-glibc.ver: Ditto.
6018 2012-06-11 Roland McGrath <mcgrathr@google.com>
6020 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6021 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6024 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6026 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6027 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6028 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6029 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6030 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6031 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6032 * config/i386/64/sfp-machine: ... (delete here) ...
6033 * config/i386/sfp-machine.h: ... to here.
6035 (__sfp_handle_exceptions): New function declaration.
6036 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6037 * config/i386/sfp-exceptions.c: New.
6038 * config/i386/t-softfp: New.
6039 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6040 i386/t-softfp to tmake_file.
6042 2012-06-03 David S. Miller <davem@davemloft.net>
6044 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6047 2012-05-31 David S. Miller <davem@davemloft.net>
6049 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6050 multiply and divide instructions on 32-bit when V9.
6051 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6053 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6055 * config/arm/ieee754-df.S: Fix typos.
6056 * config/arm/ieee754-sf.S: Fix typos.
6057 * config/c6x/libunwind.S: Fix typos.
6058 * config/epiphany/udivsi3-float.c: Fix typos.
6059 * config/microblaze/muldi3_hard.S: Fix typos.
6060 * config/picochip/adddi3.S: Fix typos.
6061 * config/picochip/ashlsi3.S: Fix typos.
6062 * config/picochip/ashrsi3.S: Fix typos.
6063 * config/picochip/clzsi2.S: Fix typos.
6064 * config/picochip/cmpsi2.S: Fix typos.
6065 * config/picochip/divmod15.S: Fix typos.
6066 * config/picochip/divmodhi4.S: Fix typos.
6067 * config/picochip/divmodsi4.S: Fix typos.
6068 * config/picochip/longjmp.S: Fix typos.
6069 * config/picochip/lshrsi3.S: Fix typos.
6070 * config/picochip/parityhi2.S: Fix typos.
6071 * config/picochip/popcounthi2.S: Fix typos.
6072 * config/picochip/setjmp.S: Fix typos.
6073 * config/picochip/subdi3.S: Fix typos.
6074 * config/picochip/ucmpsi2.S: Fix typos.
6075 * config/picochip/udivmodhi4.S: Fix typos.
6076 * config/picochip/udivmodsi4.S: Fix typos.
6077 * config/spu/divv2df3.c: Fix typos.
6078 * config/spu/mfc_multi_tag_release.c: Fix typos.
6079 * config/spu/mfc_tag_release.c: Fix typos.
6080 * configure.ac: Fix typos.
6081 * configure: Regenerate.
6083 2012-05-25 Ian Lance Taylor <iant@google.com>
6085 * config/i386/morestack.S (__morestack_non_split): Check whether
6086 caller is varargs and needs %bp to hold the stack frame on return.
6088 2012-05-25 Olivier Hainque <hainque@adacore.com>
6090 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6091 sequence in the non pic case on VxWorks.
6093 2012-05-24 Olivier Hainque <hainque@adacore.com>
6095 * Makefile.in: Move dependency on install-unwind_h from
6096 "install-leaf" to "install".
6098 2012-05-24 Olivier Hainque <hainque@adacore.com>
6100 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6101 Use a separate command for stamp removals.
6103 2012-05-21 Andrew Pinski <apinski@cavium.com>
6106 * configure.ac: Define the default includes to being none.
6107 * configure: Regenerate.
6109 2012-05-16 Olivier Hainque <hainque@adacore.com>
6111 * Makefile.in (install-unwind_h): Rename into ...
6112 (install-unwind_h-forbuild): New target.
6113 (all): Use it instead of the former install-unwind_h.
6114 (install-unwind_h): Reinstate, copy to user install destination
6115 for include files, not to the internal gcc object directory one.
6116 (install-leaf): Depend on it.
6118 2012-05-15 Olivier Hainque <hainque@adacore.com>
6120 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6121 register numbers. LR_REGNO replaces R_LR.
6122 (ucontext_for): New, helper for ...
6123 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6125 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6127 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6129 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6130 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6131 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6133 (i[34567]86-*-*, x86_64-*-*): ... here.
6135 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6136 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6138 * config/i386/i386-cpuinfo.c: Rename to ...
6139 * config/i386/cpuinfo.c: ... this.
6140 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6142 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6143 (libgcc_cv_init_priority): New test.
6144 * configure: Regenerate.
6145 * config.in: New file.
6146 * Makefile.in (clean): Rename config.h to auto-target.h.
6147 (config.h): Likewise.
6148 (stamp-h): Likewise.
6150 * config/i386/cpuinfo.c (auto-target.h): Include.
6151 (CONSTRUCTOR_PRIORITY): Define.
6152 (__cpu_indicator_init): Use it.
6154 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6156 * longlong.h: Use a URL instead of an FSF postal address.
6157 Replace spaces with tab.
6159 2012-05-08 Teresa Johnson <tejohnson@google.com>
6161 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6162 (__gcov_dump): Ditto.
6163 (gcov_dump_complete): New global variable.
6164 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6165 (__gcov_flush): Outline functionality now in gcov_clear.
6166 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6168 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6170 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6171 (mips*-*-linux*): Include mips/t-tpbit when long double is
6174 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6176 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6177 (get_available_features): New argument. Check for AVX2.
6178 (__cpu_indicator_init): Modify call to get_available_features.
6180 2012-04-25 Alan Modra <amodra@gmail.com>
6182 * config/rs6000/crtsavevr.S: New file.
6183 * config/rs6000/crtrestvr.S: New file.
6184 * config/rs6000/t-savresfgpr: Build the above.
6185 * config/rs6000/t-netbsd: Likewise.
6187 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6189 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6191 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6193 * libgcc/config/i386/i386-cpuinfo.c: New file.
6194 * libgcc/config/i386/t-cpuinfo: New file.
6195 * libgcc/config.host: Include t-cpuinfo.
6196 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6198 2012-04-24 Chao-ying Fu <fu@mips.com>
6200 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6202 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6204 struct siginfo vs. siginfo_t
6206 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6207 siginfo_t instead of struct siginfo.
6208 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6209 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6210 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6211 (ia64_handle_unwabi): Likewise.
6212 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6213 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6214 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6215 (sh_fallback_frame_state): Likewise.
6216 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6217 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6219 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6221 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6224 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6226 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6227 if it hasn't been previously saved.
6229 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6231 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6234 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6237 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6238 instead of __AVR_HAVE_8BIT_SP__.
6240 2012-03-26 Tristan Gingold <gingold@adacore.com>
6242 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6243 (unw_table_entry): Use unw_word instead of unsigned long.
6244 (_Unwind_FindTableEntry): Likewise.
6245 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6246 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6247 (_Unwind_FindTableEntry): Likewise.
6248 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6249 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6250 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6251 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6252 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6253 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6254 (uw_init_context_1, uw_install_context): Likewise.
6255 (unw_word): Move to unwind-ia64.h
6257 2012-03-26 Tristan Gingold <gingold@adacore.com>
6259 * config/vms/vms-ucrt0.c: Update copyright years.
6261 (___gcc_main_flags): Declare.
6262 (__main): Check flags to remap argv and exit code.
6263 * config.host (*-*-*vms*): Adjust extra_parts.
6264 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6267 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6269 * arm/lib1funcs.asm (ctzsi2): New function.
6270 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6271 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6272 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6273 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6274 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6275 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6277 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6279 * config.host: Add bits to support powerpc64-*-freebsd*.
6280 * config/rs6000/freebsd-unwind.h: New file.
6281 * config/rs6000/t-freebsd64: New file.
6283 2012-03-20 Richard Guenther <rguenther@suse.de>
6285 PR gcov-profile/52627
6286 * libgcov.c (init_mx): Fix mutex name.
6288 2012-03-16 Tristan Gingold <gingold@adacore.com>
6290 * config/ia64/vms-unwind.h: Remove ulong (and replace
6291 it by unw_reg where used). Define unw_reg with __int64.
6293 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6295 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6297 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6299 (sparc_is_sighandler): Likewise.
6301 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6303 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6306 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6308 * config/arm/crtn.S: Fix typo.
6310 2012-03-13 Richard Guenther <rguenther@suse.de>
6312 * libgcov.c: Remove stdio.h include and NULL un-define.
6314 2012-03-13 Richard Guenther <rguenther@suse.de>
6317 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6319 2012-03-13 Richard Guenther <rguenther@suse.de>
6321 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6323 2012-03-13 Richard Guenther <rguenther@suse.de>
6325 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6326 and __gthread_mutex_init_function definitions.
6328 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6330 * config.host (mips*-*-openbsd*): Remove.
6332 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6334 * config.host: Remove alpha*-dec-osf5.1* handling.
6335 * config/alpha/gthr-posix.c: Remove.
6336 * config/alpha/libgcc-osf5.ver: Remove.
6337 * config/alpha/osf5-unwind.h: Remove.
6338 * config/alpha/t-osf-pthread: Remove.
6339 * config/alpha/t-slibgcc-osf: Remove.
6340 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6341 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6342 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6343 * mkmap-flat.awk: Remove osf_export handling.
6345 2012-03-12 Richard Guenther <rguenther@suse.de>
6347 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6348 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6349 (__gthread_mutex_init_function): New function.
6350 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6353 * libgcov.c: Include gthr.h.
6354 (__gcov_flush_mx): New global variable.
6355 (init_mx, init_mx_once): New functions.
6356 (__gcov_flush): Protect self with a mutex.
6357 (__gcov_fork): Re-initialize mutex after forking.
6358 * unwind-dw2-fde.c: Change condition under which to use
6359 __GTHREAD_MUTEX_INIT_FUNCTION.
6361 2012-03-12 Tristan Gingold <gingold@adacore.com>
6363 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6364 * config/ia64/t-vms: Likewise.
6366 2012-03-11 Michael Hope <michael.hope@linaro.org>
6368 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6371 2012-03-07 Walter Lee <walt@tilera.com>
6373 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6375 (atomic_xor): Rename and move definition to
6376 config/tilepro/atomic.h.
6377 (atomic_nand): Ditto.
6378 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6380 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6381 (arch_atomic_nand): Ditto.
6383 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6386 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6388 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6391 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6394 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6398 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6399 if RAMPZ affects reading from RAM.
6400 (__tablejump_elpm__): Ditto.
6402 (__movmemx_hi): Ditto.
6403 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6404 (__do_global_dtors): Ditto.
6405 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6406 (__movmemx_hi): Ditto.
6408 2012-03-05 Richard Henderson <rth@redhat.com>
6410 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6411 [ARM] (count_trailing_zeros): Use the builtin.
6413 2012-03-01 Kai Tietz <ktietz@redhat.com>
6415 * soft-fp: Imported from glibc upstream.
6417 2012-02-28 Kai Tietz <ktietz@redhat.com>
6419 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6420 for mingw-targets as attribute gcc_struct.
6422 2012-02-28 Ian Lance Taylor <iant@google.com>
6424 * generic-morestack.c (__splitstack_releasecontext): Correct call
6425 to __morestack_release_segments.
6427 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6430 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6431 for __linux__ when removing signals from __morestack_fullmask.
6433 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6436 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6438 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6440 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6441 instead of HAVE_INITFINI_ARRAY.
6442 * config/ia64/crtend.S: Likewise.
6444 2012-02-20 Kai Tietz <ktietz@redhat.com>
6447 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6449 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6450 to w32-unwind.h header.
6452 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6454 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6455 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6456 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6457 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6459 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6461 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6463 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6466 * config/darwin-crt-tm.c: Correct typo.
6468 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6469 Patrick Marlier <patrick.marlier@gmail.com>
6472 * config/darwin-crt-tm.c: Generate dummy functions.
6474 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6475 Patrick Marlier <patrick.marlier@gmail.com>
6478 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6479 (__doTMRegistrations): Call it.
6480 (__doTMdeRegistrations): Likewise.
6482 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6483 Anatoly Sokolov <aesok@post.ru>
6484 Eric Weddington <eric.weddington@atmel.com>
6487 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6488 (__epilogue_restores__): Ditto.
6490 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6494 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6495 Solaris 11 and slightly reformat.
6496 (sparc_is_sighandler): Likewise.
6498 2012-02-14 Walter Lee <walt@tilera.com>
6500 * config.host: Handle tilegx and tilepro.
6501 * config/tilegx/sfp-machine.h: New file.
6502 * config/tilegx/sfp-machine32.h: New file.
6503 * config/tilegx/sfp-machine64.h: New file.
6504 * config/tilegx/t-crtstuff: New file.
6505 * config/tilegx/t-softfp: New file.
6506 * config/tilegx/t-tilegx: New file.
6507 * config/tilepro/atomic.c: New file.
6508 * config/tilepro/atomic.h: New file.
6509 * config/tilepro/linux-unwind.h: New file.
6510 * config/tilepro/sfp-machine.h: New file.
6511 * config/tilepro/softdivide.c: New file.
6512 * config/tilepro/softmpy.S: New file.
6513 * config/tilepro/t-crtstuff: New file.
6514 * config/tilepro/t-tilepro: New file.
6516 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6520 * gthr-posix.h: Allow static initializer macros to be disabled.
6521 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6523 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6525 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6526 Add t-slibgcc-libgcc to tmake_file.
6527 * config/mips/libgcc-mips16.ver: Revert previous patch.
6528 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6530 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6531 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6533 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6534 * config/cr16/crti.S: New file.
6535 * config/cr16/crtlibid.S: New file.
6536 * config/cr16/crtn.S: New file.
6537 * config/cr16/lib1funcs.S: New file.
6538 * config/cr16/t-cr16: New file.
6539 * config/cr16/t-crtlibid: New file.
6540 * config/cr16/unwind-dw2.h: New file.
6541 * config/cr16/unwind-cr16.c: New file.
6542 * config/cr16/divmodhi3.c: New file.
6544 2012-01-25 Alan Modra <amodra@gmail.com>
6546 * config/rs6000/t-linux64: Delete. Move..
6547 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6548 * config/rs6000/t-linux: ..and libgcc flags to here.
6550 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6552 * config.host (i[34567]86-*-interix3*):
6553 Change triplet to i[34567]86-*-interix[3-9]*.
6554 * configure: Regenerate.
6556 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6557 Richard Sandiford <rdsandiford@googlemail.com>
6559 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6560 * config/mips/mips16.S (__mips16_rdhwr): New function.
6561 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6563 2012-01-11 Nathan Sidwell <nathan@acm.org>
6565 * libgcov.c (__gcov_init): Ignore objects with no functions.
6567 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6570 Extend __pgmx semantics to linearize memory.
6571 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6572 * config/avr/lib1funcs.S (__xload_1): New function.
6573 (__movmemx_qi, __movmemx_hi): New functions.
6574 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6577 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6579 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6580 purported sigacthandler address isn't null before dereferencing it.
6581 (sparc_is_sighandler): Likewise.
6583 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6586 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6587 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6588 (sparc_is_sighandler): Likewise.
6589 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6591 2012-01-06 Tristan Gingold <gingold@adacore.com>
6593 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6594 compatibility thunks...
6595 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6596 (crtbeginS.o, crtendS.o): ... and these to ...
6597 * config/ia64/t-ia64-elf: ... this new file.
6598 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6599 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6601 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6603 * configure: Regenerate.
6604 * config/s390/t-crtstuff: Remove -fPIC.
6606 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6609 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6612 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6615 * config/avr/lib1funcs.S: Remove FIXME comments.
6616 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6618 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6620 Implement light-weight DImode support.
6621 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6622 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6623 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6624 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6626 2011-12-30 Nathan Sidwell <nathan@acm.org>
6628 * libgcov.c (gcov_crc32): Remove global var.
6629 (free_fn_data): New function.
6630 (buffer_fn_data): Pass in filename, more robust error recovery.
6631 (crc32_unsigned): New function.
6632 (gcov_exit): More robust detection of new program. More robust
6634 (__gcov_init): Do not update program's crc here.
6636 2011-12-21 Tristan Gingold <gingold@adacore.com>
6638 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6640 2011-12-21 Ian Lance Taylor <iant@google.com>
6642 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6644 2011-12-20 Ian Lance Taylor <iant@google.com>
6646 * config/i386/morestack.S (__morestack_non_split): If there is
6647 enough stack space already, don't split. Ask for more stack space
6650 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6652 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6654 (_Unwind_DebugHook): New function.
6655 (uw_restore_core_regs): New define.
6656 (unwind_phase2): Use uw_restore_core_regs instead of
6658 (unwind_phase2_forced): Likewise.
6659 (__gnu_Unwind_Resume): Likewise.
6661 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6663 * config/alpha/linux-unwind.h: Update copyright years.
6664 (MD_FROB_UPDATE_CONTEXT): New define.
6665 (alpha_frob_update_context): New function.
6667 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6669 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6670 tmake_file rather replacing it.
6672 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6674 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6675 function is not used for PPC64.
6676 (save_world): Amend comments. Update the VRsave mask to reflect the
6678 (rest_world): Update comments, do not clobber r10, do not use r8.
6679 (eh_rest_world_r10): Amend comments, do not use r8.
6680 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6681 no longer used, move restore of CR and target address to the end of
6684 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6686 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6687 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6689 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6692 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6693 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6695 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6697 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6699 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6702 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6703 * config/avr/lib1funcs.S (__muldi3): New function.
6705 2011-12-06 Andrew Pinski <apinski@cavium.com>
6707 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6709 (__frame_dummy_init_array_entry): Likewise.
6711 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6713 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6717 * config/avr/lib1funcs.S (__prologue_saves__,
6718 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6719 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6721 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6723 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6725 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6728 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6729 (_ITM_deregisterTMCloneTable): Likewise.
6730 (__register_frame_info): Fix unused warning.
6731 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6732 pthread_default_stacksize_np): Likewise.
6733 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6735 2011-11-29 DJ Delorie <dj@redhat.com>
6737 * config.host (rl78-*-elf): New case.
6738 * config/rl78: New directory for the Renesas RL78.
6740 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6742 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6745 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6748 * config/rs6000/t-savresfgpr: New file.
6749 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6750 $(srcdir)/config/rs6000/eabi.S.
6751 * config/rs6000/t-ppccomm-ldbl: Remove.
6752 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6754 (powerpc-*-eabispe*): Likewise.
6755 (powerpc-*-eabi*): Likewise.
6756 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6757 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6758 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6759 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6761 (powerpc-*-eabisim*): Likewise.
6762 (powerpc-*-elf*): Likewise.
6763 (powerpc-*-eabialtivec*): Likewise.
6764 (powerpc-xilinx-eabi*): Likewise.
6765 (powerpc-*-rtems*): Likewise.
6766 (powerpcle-*-elf*): Likewise.
6767 (powerpcle-*-eabisim*): Likewise.
6768 (powerpcle-*-eabi*): Likewise.
6770 2011-11-27 Ian Lance Taylor <iant@google.com>
6772 * generic-morestack.c (__splitstack_find): Check for NULL old
6774 (__splitstack_resetcontext): New function.
6775 (__splitstack_releasecontext): New function.
6776 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6778 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6780 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6782 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6784 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6786 2011-11-26 Richard Henderson <rth@redhat.com>
6788 * config/m68k/linux-atomic.c: New file.
6789 * config/m68k/t-linux: New file.
6790 * config.host (m68k-uclinux, m68k-linux): Use it.
6792 2011-11-26 Richard Henderson <rth@redhat.com>
6794 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6795 (__TMC_END__): Only declare if hidden is available; in the definition,
6796 if hidden is unavailable add a null record.
6797 (deregister_tm_clones, register_tm_clones): New.
6798 (__do_global_dtors_aux, frame_dummy): Use them.
6799 (__do_global_dtors, __do_global_ctors_1): Likewise.
6801 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6803 * config/darwin-crt-tm.c: New file.
6804 * config.host (darwin): Build crttms.o crttme.o to provide
6805 startup and shutdown for tm clones.
6806 * config/t-darwin (crttms.o): New build rule.
6807 (crttme.o): Likewise.
6809 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6811 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6814 2011-11-21 Richard Henderson <rth@redhat.com>
6816 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6817 (__TMC_LIST__, __TMC_END__): New.
6818 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6819 (__do_global_dtors): Likewise.
6820 (frame_dummy): Call _ITM_registerTMCloneTable.
6821 (__do_global_ctors_1): Likewise.
6823 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6825 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6826 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6827 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6828 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6829 * config/i386/t-darwin64: Remove.
6830 * config/sh/t-netbsd (LIB2ADD): Remove.
6832 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6835 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6836 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6837 * config/avr/lib1funcs.S (wmov): New assembler macro.
6838 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6839 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6840 (__udivmod64): New function.
6841 (__negdi2): New function.
6843 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6845 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6846 *-*-freebsd*aout*): Remove.
6848 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6850 * static-object.mk (c_flags-$o): Save c_flags.
6851 ($(base)$(objext)): Use it.
6853 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6855 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6857 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6860 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6861 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6864 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6866 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6868 (aeabi_uidivmod): Likewise.
6869 (umodsi3): Likewise.
6871 (aeabi_idivmod): Likewise.
6874 2011-11-16 Tristan Gingold <gingold@adacore.com>
6876 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6878 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6881 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6882 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6884 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6886 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6888 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6889 * config/pa/t-stublib64: Delete.
6891 2011-11-12 Richard Henderson <rth@redhat.com>
6893 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6894 cast the pointer argument to _Unwind_SetGRPtr.
6896 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6898 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6900 2011-11-09 Ian Lance Taylor <iant@google.com>
6902 * generic-morestack.c: Include <string.h>.
6903 (uintptr_type): Define.
6904 (struct initial_sp): Add dont_block_signals field. Reduce size of
6906 (allocate_segment): Set prev field to NULL. Don't set
6907 __morestack_current_segment or __morestack_segments.
6908 (__generic_morestack): Update current->prev and *pp after calling
6910 (__morestack_block_signals): Don't do anything if
6911 dont_block_signals is set.
6912 (__morestack_unblock_signals): Likewise.
6913 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6915 (__splitstack_block_signals): New function.
6916 (enum __splitstack_content_offsets): Define.
6917 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6918 (__splitstack_makecontext): New function.
6919 (__splitstack_block_signals_context): New function.
6920 (__splitstack_find_context): New function.
6921 * config/i386/morestack.S (__morestack_get_guard): New function.
6922 (__morestack_set_guard, __morestack_make_guard): New functions.
6923 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6925 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6927 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6928 (i[34567]86-*-mingw*): ... here.
6929 (x86_64-*-mingw*): ... here.
6931 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6933 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6935 2011-11-07 Nathan Sidwell <nathan@acm.org>
6937 * libgcov.c (struct gcov_fn_buffer): New struct.
6938 (buffer_fn_data): New helper.
6939 (gcov_exit): Rework for new gcov data structures.
6941 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6944 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6946 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6948 * config.host (tmake_file): Correct comment.
6949 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6951 (bfin*-uclinux*): Likewise.
6952 (bfin*-linux-uclibc*): Likewise.
6953 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6955 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6957 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6958 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6959 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6960 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6961 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6962 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6963 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6964 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6965 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6966 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6967 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6968 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6969 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6971 * config/bfin/t-elf: Remove.
6972 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6974 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6976 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6977 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6978 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6979 (lm32-*-elf*): ... this.
6980 (lm32-*-rtems*): ... and this.
6982 (m32r-*-rtems*): Add to tmake_file.
6983 (moxie-*-rtems*): Likewise.
6984 (sparc-*-rtems*): Likewise.
6985 Remove t-rtems from tmake_file.
6986 (sparc64-*-rtems*): Likewise.
6987 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6990 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6993 * config/gthr-posix.h: Move ...
6994 * gthr-posix.h: ... here.
6995 * config/gthr-lynx.h: Reflect this.
6996 * config/gthr-vxworks.h: Likewise.
6997 * config/rs6000/gthr-aix.h: Likewise.
6998 * configure.ac (target_thread_file): Likewise.
6999 * configure: Regenerate.
7001 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7003 * config.host (arm*-*-rtemseabi*): New target.
7005 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7008 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7011 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7013 * config.host (epiphany-*-elf*): New configuration.
7014 * config/epiphany: New Directory.
7016 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7018 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7019 * config/avr/t-rtems: New.
7020 Filter out _exit from LIB1ASMFUNCS.
7022 2011-11-04 David S. Miller <davem@davemloft.net>
7024 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7025 * configure: Rebuild.
7027 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7029 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7032 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7035 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7036 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7038 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7041 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7043 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7045 * config/c6x/t-elf (LIB2ADDEH): Set.
7046 * config/c6x/t-c6x-elf: Remove.
7048 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7050 * config/i386/sol2-ci.S: Rename to ...
7051 * config/i386/crti.S: ... this.
7052 * config/i386/sol2-cn.S: Rename to ...
7053 * config/i386/crtn.S: ... this.
7054 * config/sparc/sol2-ci.S: Rename to ...
7055 * config/sparc/crti.S: ... this.
7056 * config/sparc/sol2-cn.S: Rename to ...
7057 * config/sparc/crtn.S: ... this.
7058 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7059 (crti.o, crtn.o): Remove.
7061 2011-11-04 Tristan Gingold <gingold@adacore.com>
7063 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7065 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7067 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7069 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7071 * config.host (crisv32-*-none, cris-*-none): Remove.
7072 (crisv32-*-elf): Append to tmake_file, don't just set it.
7073 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7075 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7077 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7078 (ecrtn$(objext)): Likewise.
7079 (ncrti$(objext)): Likewise.
7080 (ncrtn$(objext)): Likewise.
7082 2011-11-03 Andreas Schwab <schwab@redhat.com>
7084 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7086 2011-11-02 David S. Miller <davem@davemloft.net>
7088 * configure.ac: Set host_address on sparc too.
7089 * configure: Regenerate.
7090 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7091 based upon host_address.
7092 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7094 2011-11-02 Jason Merrill <jason@redhat.com>
7096 * config/rs6000/t-ppccomm: Add missing \.
7098 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7100 * gthr-single.h, gthr.h: New files.
7101 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7102 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7103 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7104 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7105 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7106 * configure.ac (thread_header): New variable.
7107 Set it depending on target_thread_file.
7108 (gthr-default.h): Link from $thread_header.
7109 * configure: Regenerate.
7110 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7112 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7114 * configure.ac (tm_file_): New variable.
7115 Determine from tm_file.
7116 (tm_file, tm_defines): Substitute.
7117 * configure: Regenerate.
7118 * mkheader.sh: New file.
7119 * Makefile.in (clean): Remove libgcc_tm.h.
7120 ($(objects)): Depend on libgcc_tm.h.
7121 (libgcc_tm_defines, libgcc_tm_file): New variables.
7122 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7123 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7124 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7125 ($(extra-parts)): Depend on libgcc_tm.h.
7126 * config.host (tm_defines, tm_file): New variable.
7127 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7128 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7129 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7130 (avr-*-rtems*): Likewise.
7131 (avr-*-*): Likewise.
7132 (frv-*-elf): Likewise.
7133 (frv-*-*linux*): Likewise.
7134 (h8300-*-rtems*): Likewise.
7135 (h8300-*-elf*): Likewise.
7136 (i[34567]86-*-darwin*): Likewise.
7137 (x86_64-*-darwin*): Likewise.
7138 (rx-*-elf): Likewise.
7139 (tic6x-*-uclinux): Likewise.
7140 (tic6x-*-elf): Likewise.
7141 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7142 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7143 * config/i386/cygming-crtbegin.c: Likewise.
7144 * config/i386/cygming-crtend.c: Likewise.
7145 * config/ia64/fde-vms.c: Likewise.
7146 * config/ia64/unwind-ia64.c: Likewise.
7147 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7148 * config/rs6000/darwin-fallback.c: Likewise.
7149 * config/stormy16/lib2funcs.c: Likewise.
7150 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7151 * crtstuff.c: Likewise.
7152 * dfp-bit.h: Likewise.
7153 * emutls.c: Likewise.
7154 * fixed-bit.c: Likewise.
7155 * fp-bit.c: Likewise.
7156 * generic-morestack-thread.c: Likewise.
7157 * generic-morestack.c: Likewise.
7158 * libgcc2.c: Likewise.
7159 * libgcov.c: Likewise.
7160 * unwind-dw2-fde-dip.c: Likewise.
7161 * unwind-dw2-fde.c: Likewise.
7162 * unwind-dw2.c: Likewise.
7163 * unwind-sjlj.c: Likewise.
7165 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7167 * configure.ac: Include ../config/picflag.m4.
7168 (GCC_PICFLAG): Call it.
7170 * configure: Regenerate.
7171 * Makefile.in (gcc_srcdir): Remove.
7172 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7173 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7174 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7175 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7176 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7179 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7180 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7181 to refer to libgcc2.c.
7183 * config/darwin-64.c: New file.
7184 * config/darwin-crt3.c: Remove comment.
7185 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7186 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7187 config/udivmodsi4.c: New files.
7188 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7189 config/memset.c: New files.
7190 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7191 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7192 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7193 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7194 * config/t-openbsd-thread: New file.
7195 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7196 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7197 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7198 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7201 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7202 to refer to gthr-posix.c.
7203 * config/alpha/t-vms (LIB2ADD): Set.
7204 * config/alpha/vms-gcc_shell_handler.c: New file.
7205 * config/arm/bpabi.c, config/arm/fp16.c,
7206 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7207 config/arm/unaligned-funcs.c: New files.
7208 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7209 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7210 * config/arm/t-linux: Likewise.
7211 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7212 * config/arm/t-netbsd: New file.
7213 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7214 * config/arm/t-symbian (LIB2ADD_ST): Set.
7215 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7216 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7217 * config/bfin/t-elf: New file.
7218 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7219 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7220 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7221 config/c6x/ltf.c: New files.
7222 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7223 (HOST_LIBGCC2_CFLAGS): Set.
7224 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7225 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7226 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7228 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7229 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7230 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7231 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7232 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7234 * config/frv/t-frv (LIB2ADD): Set.
7235 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7236 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7237 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7238 config/h8300/popcounthi2.c: New files.
7239 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7240 * config/i386/gthr-win32.c: New file.
7241 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7242 * config/i386/t-cygwin: Likewise.
7243 * config/i386/t-darwin, config/i386/t-darwin64,
7244 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7245 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7246 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7247 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7248 * config/ia64/quadlib.c: New file.
7249 * config/ia64/t-hpux (LIB2ADD): Set.
7250 * config/ia64/t-ia64: Add comment.
7251 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7252 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7253 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7254 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7255 * config/m32c/t-m32c (LIB2ADD): Set.
7256 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7257 * config/m32r/t-m32r: Likewise.
7258 * config/m68k/fpgnulib.c: New file.
7259 * config/m68k/t-floatlib (LIB2ADD): Set.
7260 (xfgnulib.c): New target.
7261 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7262 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7263 * config/mep/t-mep (LIB2ADD): Set.
7264 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7265 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7266 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7267 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7268 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7269 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7270 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7271 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7272 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7273 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7275 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7276 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7277 * config/pa/fptr.c, config/pa/lib2funcs.S,
7278 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7279 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7280 (LIB2ADD, LIB2ADD_ST): Set.
7281 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7282 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7284 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7285 * config/pdp11/t-pdp11: New file.
7286 * config/picochip/libgccExtras/adddi3.S,
7287 config/picochip/libgccExtras/ashlsi3.S,
7288 config/picochip/libgccExtras/ashrsi3.S,
7289 config/picochip/libgccExtras/clzsi2.S,
7290 config/picochip/libgccExtras/cmpsi2.S,
7291 config/picochip/libgccExtras/divmod15.S,
7292 config/picochip/libgccExtras/divmodhi4.S,
7293 config/picochip/libgccExtras/divmodsi4.S,
7294 config/picochip/libgccExtras/lshrsi3.S,
7295 config/picochip/libgccExtras/parityhi2.S,
7296 config/picochip/libgccExtras/popcounthi2.S,
7297 config/picochip/libgccExtras/subdi3.S,
7298 config/picochip/libgccExtras/ucmpsi2.S,
7299 config/picochip/libgccExtras/udivmodhi4.S,
7300 config/picochip/libgccExtras/udivmodsi4.S: New files.
7301 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7302 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7303 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7304 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7305 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7306 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7307 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7308 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7310 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7311 (HOST_LIBGCC2_CFLAGS): Set.
7312 * config/rs6000/t-darwin64: New file.
7313 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7314 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7315 * config/rs6000/t-ppccomm (LIB2ADD): Add
7316 $(srcdir)/config/rs6000/tramp.S.
7317 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7318 Add $(srcdir)/config/rs6000/eabi.S.
7319 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7320 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7321 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7322 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7323 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7324 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7325 * config/rs6000/tramp.S: New file.
7326 * config/s390/t-tpf: Remove.
7327 * config/sh/linux-atomic.S: New file.
7328 * config/sh/t-linux (LIB2ADD): Set.
7329 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7330 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7331 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7333 (HOST_LIBGCC2_CFLAGS): Set.
7334 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7335 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7336 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7337 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7338 config/spu/mfc_multi_tag_release.c,
7339 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7340 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7341 config/spu/multi3.c: New files.
7342 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7343 (HOST_LIBGCC2_CFLAGS): Set.
7344 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7345 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7346 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7347 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7348 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7349 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7350 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7351 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7352 config/stormy16/umodsi3.c: New files.
7353 * config/xtensa/lib2funcs.S: New file.
7354 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7355 * config/xtensa/t-xtensa (LIB2ADD): Set.
7356 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7357 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7358 Add t-freebsd-thread to tmake_file for posix threads.
7359 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7360 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7361 (*-*-lynxos*): Likewise.
7362 (*-*-netbsd*): Likewise.
7363 (*-*-openbsd*): Likewise.
7364 Add t-openbsd-thread to tmake_file for posix threads.
7365 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7366 (*-*-vxworks*): Set tmake_file.
7367 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7368 (alpha*-*-freebsd*): Likewise.
7369 (alpha*-*-netbsd*): Likewise.
7370 (alpha*-*-openbsd*): Likewise.
7371 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7372 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7373 (alpha*-dec-*vms*): Likewise.
7374 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7375 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7376 (bfin*-uclinux*): Likewise.
7377 (bfin*-linux-uclibc*): Likewise.
7378 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7379 (crisv32-*-none): Likewise.
7380 (cris-*-elf): Likewise.
7381 (cris-*-none): Likewise.
7382 (cris-*-linux*, crisv32-*-linux*): Likewise.
7383 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7385 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7387 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7388 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7389 (x86_64-*-elf*): Likewise.
7390 (i[34567]86-*-nto-qnx*): Likewise.
7391 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7393 (x86_64-*-mingw*): Likewise.
7394 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7395 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7396 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7397 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7398 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7400 (mipsisa64sr71k-*-elf*): Likewise.
7401 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7402 (mips-*-elf*, mipsel-*-elf*): Likewise.
7403 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7404 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7405 (mips*-*-rtems*): Likewise.
7406 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7408 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7409 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7410 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7411 (spu-*-elf*): Likewise.
7412 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7414 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7416 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7417 $(srcdir) to refer to $(LIB1ASMSRC).
7419 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7420 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7421 config/arm/lib1funcs.S: New files.
7422 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7423 * config/arm/t-arm: New file.
7424 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7425 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7426 config/arm/t-strongarm-elf: New files.
7427 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7428 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7429 * config/avr/lib1funcs.S: New file.
7430 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7431 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7432 * config/c6x/lib1funcs.S: New file.
7433 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7434 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7435 * config/frv/lib1funcs.S: New file.
7436 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7437 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7438 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7439 * config/ia64/__divxf3.asm: Rename to ...
7440 * config/ia64/__divxf3.S: ... this.
7441 Adapt lib1funcs.asm filename.
7442 * config/ia64/_fixtfdi.asm: Rename to ...
7443 * config/ia64/_fixtfdi.S: ... this.
7444 Adapt lib1funcs.asm filename.
7445 * config/ia64/_fixunstfdi.asm: Rename to ...
7446 * config/ia64/_fixunstfdi.S: ... this.
7447 Adapt lib1funcs.asm filename.
7448 * config/ia64/_floatditf.asm: Rename to ...
7449 * config/ia64/_floatditf.S: ... this.
7450 Adapt lib1funcs.asm filename.
7451 * config/ia64/lib1funcs.S: New file.
7452 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7453 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7454 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7455 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7456 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7457 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7458 * config/mep/lib1funcs.S: New file.
7459 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7460 * config/mips/mips16.S: New file.
7461 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7462 * config/pa/milli64.S: New file.
7463 * config/pa/t-linux, config/pa/t-linux64: New files.
7464 * config/picochip/lib1funcs.S: New file.
7465 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7466 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7467 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7468 * config/sh/t-netbsd: New file.
7469 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7470 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7471 * config/sh/t-sh64: New file.
7472 * config/sparc/lb1spc.S: New file.
7473 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7475 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7476 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7477 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7478 config/xtensa/lib1funcs.S: New files.
7479 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7480 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7482 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7483 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7484 (arm*-*-linux*): Likewise.
7485 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7486 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7487 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7488 (arm*-*-ecos-elf): Likewise.
7489 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7490 (arm*-*-rtems*): Likewise.
7491 (arm*-*-elf): Likewise.
7492 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7493 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7494 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7495 (bfin*-uclinux*): Likewise.
7496 (bfin*-linux-uclibc*): Likewise.
7497 (bfin*-rtems*): Likewise.
7498 (bfin*-*): Likewise.
7499 (fido-*-elf): Merge into m68k-*-elf*.
7500 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7501 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7502 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7503 (h8300-*-elf*): Likewise.
7504 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7505 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7506 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7507 (i[34567]86-*-mingw*): Likewise.
7508 (x86_64-*-mingw*): Likewise.
7509 (i[34567]86-*-interix3*): Likewise.
7510 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7511 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7512 (m68k-*-elf*): Also handle fido-*-elf.
7513 Add m68k/t-floatlib to tmake_file.
7514 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7515 (m68k-*-linux*): Likewise.
7516 (m68k-*-rtems*): Likewise.
7517 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7518 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7520 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7521 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7522 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7523 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7524 sh/t-netbsd to tmake_file.
7525 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7526 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7527 (sh-wrs-vxworks): Likewise.
7528 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7530 (v850*-*-*): Add v850/t-v850 to tmake_file.
7531 (vax-*-linux*): Add vax/t-linux to tmake_file.
7532 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7534 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7536 * crtstuff.c: New file.
7537 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7538 (CRTSTUFF_T_CFLAGS): Define.
7539 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7540 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7541 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7544 (crtbeginT.o): Use $(objext).
7545 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7546 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7547 (gcc-extra-parts): Remove.
7548 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7550 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7551 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7552 Add t-crtstuff-pic to tmake_file.
7553 (*-*-lynxos*): New case.
7554 Set tmake_file, extra_parts.
7555 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7556 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7557 *-*-netbsdelf[2-9]*.
7558 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7559 (*-*-rtems*): Set extra_parts.
7560 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7561 (*-*-uclinux*): New case.
7563 (*-*-vms*): New case.
7564 Set tmake_file, extra_parts.
7565 (*-*-elf): Set extra_parts.
7566 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7567 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7570 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7572 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7573 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7574 (arm-wrs-vxworks): Append to tmake_file.
7576 (arm*-*-uclinux*): Set extra_parts.
7577 (arm*-*-ecos-elf): Likewise.
7578 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7580 (arm*-*-rtems*): Set extra_parts.
7581 (arm*-*-elf): Likewise.
7582 (avr-*-rtems*): Clear extra_parts.
7583 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7585 (bfin*-uclinux*): Likewise.
7586 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7587 (bfin*-rtems*): Append to tmake_file.
7589 (bfin*-*): Likewise.
7590 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7591 (crisv32-*-elf): ... this.
7592 (crisv32-*-none): ... this.
7593 (cris-*-elf, cris-*-none): New cases.
7594 Add cris/t-elfmulti to tmake_file.
7595 (fr30-*-elf): Append to tmake_file.
7597 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7599 (h8300-*-rtems*): Append to tmake_file.
7601 (h8300-*-elf*): Likewise.
7602 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7604 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7606 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7607 (x86_64-*-elf*): Likewise.
7608 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7609 (x86_64-*-freebsd*): Likewise.
7610 (x86_64-*-netbsd*): Likewise.
7611 (i[34567]86-*-linux*): Likewise.
7612 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7613 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7614 (x86_64-*-linux*): Likewise.
7615 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7616 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7619 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7620 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7621 Append to extra_parts, remove crtbegin.o, crtend.o.
7622 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7623 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7624 crtend.o, crtbeginS.o, crtendS.o.
7625 (ia64*-*-linux*): Comment extra_parts.
7626 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7628 (iq2000*-*-elf*): Clear extra_parts.
7629 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7630 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7631 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7632 (m32r-*-rtems*): ... this.
7633 Add m32r/t-m32r to tmake_file.
7634 (m68k-*-elf*): Add t-crtin to tmake_file.
7635 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7636 (mcore-*-elf): Likewise.
7637 (microblaze*-*-*): Set extra_parts.
7638 (mips*-sde-elf*): New case.
7639 Set tmake_file, extra_parts.
7640 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7641 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7642 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7645 (mipsisa64sr71k-*-elf*): Likewise.
7646 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7647 (mips-*-elf*, mipsel-*-elf*): Likewise.
7648 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7649 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7650 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7651 (mips*-*-rtems*): Likewise.
7652 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7653 (moxie-*-*): Split into ...
7654 (moxie-*-elf, moxie-*-uclinux*): ... this.
7655 Add to extra_parts, remove crtbegin.o, crtend.o.
7656 (moxie-*-rtems*): New case.
7659 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7661 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7662 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7665 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7666 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7668 (powerpc-*-eabisim*): Likewise.
7669 (powerpc-*-elf*): Likewise.
7670 (powerpc-*-eabialtivec*): Likewise.
7671 (powerpc-xilinx-eabi*): Likewise.
7672 (powerpc-*-eabi*): Likewise.
7673 (powerpc-*-rtems*): Likewise.
7674 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7677 (powerpc-*-lynxos*): Add to tmake_file.
7678 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7679 rs6000/t-crtstuff, t-crtstuff-pic.
7681 (powerpcle-*-eabisim*): Likewise.
7682 (powerpcle-*-eabi*): Likewise.
7683 (rx-*-elf): Remove extra_parts.
7684 (s390x-ibm-tpf*): Set extra_parts.
7685 (score-*-elf): Set extra_parts.
7686 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7687 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7688 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7689 (sh64l*-*-netbsd*): Split into ...
7690 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7691 Add t-crtstuff-pic to tmake_file.
7693 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7695 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7696 (sparc-*-elf*): Remove t-crtin from tmake_file.
7697 Add to extra_parts, remove crtbegin.o, crtend.o.
7698 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7699 (sparc64-*-linux*): Likewise.
7700 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7701 Add to extra_parts, remove crtbegin.o, crtend.o.
7702 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7703 Add to extra_parts, remove crtbegin.o, crtend.o.
7704 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7705 Add to extra_parts, remove crtbegin.o, crtend.o.
7706 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7707 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7708 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7710 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7712 (tic6x-*-*): Change to ...
7713 (tic6x-*-elf): ... this.
7715 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7717 (am33_2.0-*-linux*): Add comment.
7718 (mep*-*-*): Add mep/t-mep to tmake_file.
7720 * config/alpha/t-vms: New file.
7721 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7722 * config/arm/crti.S, config/arm/crtn.S: New files.
7723 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7724 * config/bfin/crtlibid.S: New file.
7725 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7726 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7727 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7728 (crti.o, crtin.o): New rules.
7729 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7730 * config/c6x/t-uclinux: New file.
7731 * config/cris/t-elfmulti: New file.
7732 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7733 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7734 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7735 * config/frv/t-frv: New file.
7736 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7737 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7738 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7740 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7741 refer to cygming-crtbegin.c, cygming-crtend.c.
7743 * config/i386/t-nto: New file.
7744 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7745 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7746 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7747 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7750 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7751 (crtinitS.o): New rule.
7752 * config/ia64/vms-crtinit.S: New file.
7753 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7754 * config/m32r/initfini.c: New file.
7755 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7756 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7757 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7758 * config/mep/t-mep: New file.
7759 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7760 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7761 * config/mips/crti.S, config/mips/crtn.S: New files.
7762 * config/mips/t-crtstuff: New file.
7763 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7764 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7765 (CUSTOM_CRTIN): Set.
7766 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7768 Use $(srcdir) to refer to crti.S, crtn.S.
7769 Use .S extension, $<.
7770 * config/moxie/crti.asm: Rename to ...
7771 * config/moxie/crti.S: ... this.
7772 * config/moxie/crtn.asm: Rename to ...
7773 * config/moxie/crtn.S: ... this.
7774 * config/moxie/t-moxie: Remove.
7775 * config/pa/stublib.c: New file.
7776 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7777 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7778 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7779 * config/rs6000/t-crtstuff: New file.
7780 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7781 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7782 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7783 Make output file explicit.
7784 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7785 Make output file explicit.
7786 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7787 Make output file explicit.
7788 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7789 Make output file explicit.
7790 * config/score/crti.S, config/score/crtn.S: New files.
7791 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7792 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7794 * config/sh/t-sh, config/sh/t-superh: New files.
7795 * config/sparc/t-linux64: New file.
7796 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7797 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7798 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7799 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7800 * config/t-crtin: Remove.
7801 * config/t-crtstuff-pic: New file.
7802 * config/t-sol2 (CUSTOM_CRTIN): Set.
7803 (crti.o, crtn.o): New rules.
7804 * config/vms/t-vms: New file.
7805 * config/vms/vms-ucrt0.c: New file.
7806 * config/xtensa/t-elf: New file.
7808 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7810 * Makefile.in (SHLIB_NM_FLAGS): Set.
7811 * mkmap-flat.awk, mkmap-symver.awk: New files.
7812 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7814 * configure: Regenerate.
7815 * config/libgcc-glibc.ver: New file.
7816 * config/libgcc-libsystem.ver: New file.
7817 * config/t-libunwind (SHLIB_LC): Set.
7818 * config/t-linux: New file.
7819 * config/t-slibgcc (INSTALL_SHLIB): New.
7820 (SHLIB_INSTALL): Use it.
7821 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7822 to mkmap-symver.awk.
7823 (SHLIB_MAPFILES): Don't append, adapt pathname.
7824 (SHLIB_VERPFX): Set.
7825 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7826 to mkmap-symver.awk.
7827 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7828 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7829 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7830 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7832 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7833 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7834 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7835 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7836 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7837 * config/i386/libgcc-darwin.10.4.ver,
7838 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7840 * config/i386/t-darwin: Remove.
7841 * config/i386/t-darwin64: Likewise.
7842 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7843 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7844 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7845 * config/i386/t-linux: New file.
7846 * config/i386/t-mingw32: New file.
7847 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7848 * config/ia64/t-glibc: Rename to ...
7849 * config/ia64/t-linux: ... this.
7850 (SHLIB_MAPFILES): Set.
7851 * config/ia64/t-glibc-libunwind: Rename to ...
7852 * config/ia64/t-linux-libunwind: ... this.
7853 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7854 * config/ia64/t-slibgcc-hpux: New file.
7855 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7856 * config/m68k/t-slibgcc-elf-ver: New file.
7857 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7858 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7860 * config/pa/t-slibgcc-hpux: New file.
7861 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7863 * config/rs6000/libgcc-darwin.10.4.ver,
7864 config/rs6000/libgcc-darwin.10.5.ver: New files.
7865 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7866 config/rs6000/libgcc-glibc.ver.
7867 * config/rs6000/libgcc-ppc64.ver: Rename to
7868 config/rs6000/libgcc-ibm-ldouble.ver.
7869 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7870 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7871 * config/rs6000/t-ldbl128: Rename to ...
7872 * config/rs6000/t-linux: ... this.
7873 (SHLIB_MAPFILES): Adapt filename.
7874 * config/rs6000/t-slibgcc-aix: New file.
7875 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7876 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7877 libgcc-excl.ver, libgcc-glibc.ver.
7878 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7879 * config/sparc/libgcc-glibc.ver: New file.
7880 * config/sparc/t-linux: New file.
7881 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7882 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7883 t-slibgcc-elf-ver to tmake_file.
7884 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7886 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7887 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7888 t-slibgcc-elf-ver, t-linux to tmake_file.
7889 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7891 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7892 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7893 (alpha*-dec-*vms*): Likewise.
7894 (arm*-*-freebsd*): Append to tmake_file.
7895 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7896 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7898 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7899 tmake_file for arm*-*-symbianelf*.
7900 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7901 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7903 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7904 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7905 pa/t-slibgcc-dwarf-ver to tmake_file.
7906 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7907 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7908 (hppa*64*-*-hpux11*): Likewise.
7909 (hppa[12]*-*-hpux11*): Likewise.
7910 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7911 i386/t-crtpc, i386/t-crtfm.
7912 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7913 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7915 Add i386/t-cygwin to tmake_file.
7916 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7917 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7918 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7920 Add i386/t-mingw32 to tmake_file.
7921 (x86_64-*-mingw*): Likewise.
7922 (ia64*-*-freebsd*): Append to tmake_file.
7923 (ia64*-*-linux*): Append to tmake_file.
7924 Replace ia64/t-glibc by ia64/t-linux.
7925 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7927 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7928 t-slibgcc-hpux to tmake_file.
7929 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7930 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7931 (m32rle-*-linux*): Likewise.
7932 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7934 (microblaze*-linux*): New case.
7935 Append to tmake_file, add t-slibgcc-nolc-override.
7936 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7937 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7938 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7939 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7940 rs6000/t-slibgcc-aix to tmake_file.
7941 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7942 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7943 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7944 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7945 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7946 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7948 (sparc-*-linux*): Append to tmake_file for *-leon*.
7949 Add sparc/t-linux to tmake_file for non-Leon targets.
7950 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7951 (tic6x-*-uclinux): New case.
7952 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7953 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7954 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7955 (am33_2.0-*-linux*): Append to tmake_file.
7956 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7957 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7958 x86_64-*-kfreebsd*-gnu.
7959 Add i386/t-linux to tmake_file.
7961 2011-10-28 Ian Lance Taylor <iant@google.com>
7963 * config/i386/morestack.S: Correct CFI information to do proper
7964 returns throughout function. In 32-bit mode, save %ebx so that it
7965 is restored on unwind.
7967 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7969 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7970 case where B3 isn't the return register.
7972 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7973 logic for doubleword pops.
7975 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7977 * config/rs6000/t-freebsd: Add wildcard.
7979 2011-10-21 Paul Brook <paul@codesourcery.com>
7981 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7983 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7984 Eric Botcazou <ebotcazou@adacore.com>
7987 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7988 fs->signal_frame to 1.
7990 2011-10-07 Ian Lance Taylor <iant@google.com>
7992 * generic-morestack-thread.c: #include <errno.h>.
7994 2011-10-07 Ian Lance Taylor <iant@google.com>
7997 * generic-morestack.c (__generic_morestack): Make sure the segment
7998 is large enough for both the stack frame and the copied
8001 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8004 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8007 2011-09-28 Nick Clifton <nickc@redhat.com>
8009 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8010 64-bit doubles are not enabled.
8011 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8012 and floatunsisf functions.
8014 2011-09-13 Paul Brook <paul@codesourcery.com>
8016 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8017 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8018 * unwind-arm-common.inc: New file.
8019 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8020 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8021 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8022 * config/c6x/libunwind.S: New file.
8023 * config/c6x/pr-support.c: New file.
8024 * config/c6x/unwind-c6x.c: New file.
8025 * config/c6x/unwind-c6x.h: New file.
8026 * config/c6x/t-c6x-elf: New file.
8028 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8030 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8031 (ASM_DIVZERO): Ditto.
8032 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8034 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8036 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8038 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8041 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8042 instead of an assembly one.
8044 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8047 * Makefile.in (install-unwind_h): Create
8048 $(gcc_objdir)/include/unwind.h atomically.
8050 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8052 * Makefile.in (install-unwind_h): Remove destination file first.
8054 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8057 * config/mips/t-mips16: New file.
8058 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8059 (mips*-*-linux*): Likewise.
8060 (mips*-sde-elf*): Likewise.
8061 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8062 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8063 Add mips/t-mips16 to tmake_file.
8064 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8065 (mips-*-elf*): Likewise.
8066 (mips64-*-elf*): Likewise.
8067 (mips64orion-*-elf*): Likewise.
8068 (mips*-*-rtems*): Likewise.
8069 (mipstx39-*-elf*): Likewise.
8070 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8071 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8073 Use $(srcdir) to refer to sync.c.
8075 ($(libgcc-sync-funcs-o)): Likewise.
8076 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8077 ($(libgcc-sync-funcs-s-o)): Likewise.
8079 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8081 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8084 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8087 * config/i386/value-unwind.h: New.
8089 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8091 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8092 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8093 Add to tmake_file rather than overriding it.
8095 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8097 * config/t-softfp: Remove.
8098 * soft-fp: Moved from ../gcc/config.
8099 * soft-fp/README: Remove t-softfp reference.
8100 * soft-fp/t-softfp: Move to config/t-softfp.
8101 (softfp_machine_header): Remove.
8102 (softfp_file_list): Remove config subdir.
8103 (soft-fp-objects): New variable.
8104 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8105 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8106 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8107 * config/t-softfp-excl: New file.
8108 * config/t-softfp-sfdf: New file.
8109 * config/t-softfp-tf: New file.
8110 * config/no-sfp-machine.h: New file.
8111 * config/arm/sfp-machine.h: New file.
8112 * config/arm/t-softfp: New file.
8113 * config/c6x/sfp-machine.h: New file.
8114 * config/i386/32/t-fprules-softfp: Rename to ...
8115 * config/i386/32/t-softfp: ... this.
8116 (tifunctions, LIB2ADD): Remove.
8117 (softfp_int_modes): Override.
8118 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8120 * config/i386/64/eqtf2.c: Likewise.
8121 * config/i386/64/getf2.c: Likewise.
8122 * config/i386/64/letf2.c: Likewise.
8123 * config/ia64/sft-machine.h: New file.
8124 * config/ia64/t-fprules-softfp: Rename to ...
8125 * config/ia64/t-softfp: ... this.
8126 * config/lm32/sfp-machine.h: New file.
8127 * config/moxie/t-moxie-softfp: Remove.
8128 * config/rs6000/ibm-ldouble-format: New file.
8129 * config/rs6000/ibm-ldouble.c: New file.
8130 * config/rs6000/libgcc-ppc-glibc.ver: New file
8131 * config/rs6000/libgcc-ppc64.ver: New file
8132 * config/rs6000/sfp-machine.h: New file.
8133 * config/rs6000/t-freebsd: New file.
8134 * config/rs6000/t-ibm-ldouble: New file.
8135 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8136 libgcc-ppc-glibc.ver.
8137 * config/rs6000/t-linux64: New file.
8138 * config/rs6000/t-ppccomm (LIB2ADD): Add
8139 $(srcdir)/config/rs6000/ibm-ldouble.c.
8140 * config/rs6000/t-ppccomm-ldbl: New file.
8141 * config/score/sfp-machine.h: New file.
8142 * config.host (sfp_machine_header): Explain.
8143 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8144 t-softfp to tmake_file.
8145 (arm*-*-uclinux*): Likewise.
8146 (arm*-*-ecos-elf): Likewise.
8147 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8148 (arm*-*-rtems*): Likewise.
8149 (arm*-*-elf): Likewise.
8150 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8152 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8153 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8154 (lm32-*-uclinux*): Likewise.
8155 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8156 t-softfp-excl, t-softfp.
8157 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8158 (powerpc64-*-darwin*): Likewise.
8159 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8161 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8163 (powerpc-*-eabisim*): Likewise.
8164 (powerpc-*-elf*): Likewise.
8165 (powerpc-*-eabialtivec*): Likewise.
8166 (powerpc-xilinx-eabi*): Likewise.
8167 (powerpc-*-rtems*): Likewise.
8168 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8169 t-softfp-excl, t-softfp to tmake_file.
8170 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8171 rs6000/t-ppccomm-ldbl to tmake_file.
8172 (powerpcle-*-elf*): Likewise.
8173 (powerpcle-*-eabisim*): Likewise.
8174 (powerpcle-*-eabi*): Likewise.
8175 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8176 rs6000/t-ibm-ldouble to tmake_file.
8177 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8178 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8179 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8180 (tic6x-*-*): Likewise.
8181 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8182 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8183 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8184 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8185 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8186 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8187 t-softfp to tmake_file.
8188 * configure.ac (sfp_machine_header): Provide default if unset.
8190 Link sfp-machine.h to config/$sfp_machine_header.
8191 * configure: Regenerate.
8193 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8195 * Makefile.in (double_type_size, long_double_type_size): Set.
8196 Remove $(fpbit-in-libgcc) support.
8197 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8198 (fpbit-src): New variable.
8199 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8200 Compile with -DFLOAT $(FPBIT_CFLAGS).
8202 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8203 Compile with $(FPBIT_CFLAGS).
8205 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8206 Compile with -DFLOAT $(TPBIT_CFLAGS).
8208 * configure.ac (double_type_size, long_double_type_size):
8209 Determine and substitute.
8210 * configure: Regenerate.
8211 * fp-bit.c, fp-bit.h: New files.
8212 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8213 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8214 * config/mips/t-mips: New file.
8215 * config/mips/t-sdemtk: New file.
8216 * config/rs6000/ppc64-fp.c: New file.
8217 * config/rs6000/t-darwin (LIB2ADD): Add
8218 $(srcdir)/config/rs6000/ppc64-fp.c.
8219 * config/rs6000/t-ppc64-fp: New file.
8220 * config/rx/rx-lib.h: New file.
8221 * config/rx/t-rx (FPBIT): Set to true.
8222 ($(gcc_objdir)/fp-bit.c): Remove.
8223 (DPBIT): Set to true only with -m64bit-doubles.
8224 ($(gcc_objdir)/dp-bit.c): Remove.
8225 * config/sparc/t-softfp: Remove.
8226 * config/spu/t-elf: New file.
8227 * config/t-fdpbit, config/t-fpbit: New files.
8228 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8229 (mips*-*-*): Likewise.
8230 (arm-wrs-vxworks): Likewise.
8231 (arm*-*-freebsd*): Likewise.
8232 (avr-*-rtems*): Add t-fpbit to tmake_file.
8233 (avr-*-*): Likewise.
8234 (bfin*-elf*): Add t-fdpbit to tmake_file.
8235 (bfin*-uclinux*): Likewise.
8236 (bfin*-linux-uclibc*): Likewise.
8237 (bfin*-rtems*): New case.
8238 Add t-fdpbit to tmake_file.
8239 (bfin*-*): Add t-fdpbit to tmake_file.
8240 (crisv32-*-elf): Likewise.
8241 (cris-*-linux*): Likewise.
8242 (fr30-*-elf): Likewise.
8243 (frv-*-elf, frv-*-*linux*): Likewise.
8244 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8245 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8246 (m32r-*-elf*): Likewise.
8247 (m32rle-*-elf*): Likewise.
8248 (m32r-*-linux*): Likewise.
8249 (m32rle-*-linux*): Likewise.
8250 (mcore-*-elf): Add t-fdpbit to tmake_file.
8251 (microblaze*-*-*): Likewise.
8252 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8253 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8254 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8256 Add mips/t-tpbit to tmake-file.
8257 (mips*-*-linux*): Fix typo.
8258 (mips*-sde-elf*): New case
8259 Add mips/t-sdemtk unless using newlib.
8260 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8261 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8262 (mn10300-*-*): Likewise.
8263 (pdp11-*-*): Likewise.
8264 (picochip-*-*): Add t-fpbit to tmake_file.
8265 (powerpc-*-eabisimaltivec*): Likewise.
8266 (powerpc-*-eabisim*): Likewise.
8267 (powerpc-*-elf*): Likewise.
8268 (powerpc-*-eabialtivec*): Likewise.
8269 (powerpc-xilinx-eabi*): New case.
8270 Add t-fdpbit to tmake_file.
8271 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8272 (powerpc-*-rtems*): Likewise.
8273 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8275 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8277 (powerpc-*-lynxos*): Likewise.
8278 (powerpcle-*-elf*): Likewise.
8279 (powerpcle-*-eabisim*): Likewise.
8280 (powerpcle-*-eabi*): Likewise.
8281 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8282 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8283 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8284 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8285 (rx-*-elf): Add t-fdpbit to tmake_file.
8286 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8287 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8288 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8289 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8291 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8292 (sh-wrs-vxworks): Likewise.
8293 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8294 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8295 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8296 (sparc64-*-rtems*): ... new case.
8297 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8298 (spu-*-elf*): Likewise.
8299 Add spu/t-elf to tmake_file.
8300 (v850*-*-*): Add t-fdpbit to tmake_file.
8301 (xstormy16-*-elf): Likewise.
8302 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8303 (mep*-*-*): Likewise.
8305 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8307 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8309 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8310 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8311 (install-unwind_h): New target.
8312 (all): Depend on it.
8313 * config.host (unwind_header): New variable.
8314 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8315 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8316 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8317 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8318 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8320 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8322 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8324 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8326 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8327 (ia64*-*-freebsd*): Likewise.
8328 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8330 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8331 $with_system_libunwind.
8332 (ia64*-*-hpux*): Set tmake_file.
8333 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8334 (picochip-*-*): Set tmake_file.
8335 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8337 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8338 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8339 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8340 (xtensa*-*-elf*): Set tmake_file.
8341 (xtensa*-*-linux*): Likewise.
8342 * configure.ac: Include ../config/unwind_ipinfo.m4.
8343 Call GCC_CHECK_UNWIND_GETIPINFO.
8344 Link unwind.h to $unwind_header.
8345 * configure: Regenerate.
8346 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8347 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8348 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8349 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8350 * config/unwind-dw2-fde-darwin.c: New file.
8351 * config/arm/libunwind.S, config/arm/pr-support.c,
8352 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8353 config/arm/unwind-arm.h,: New files.
8354 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8355 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8356 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8357 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8358 config/ia64/unwind-ia64.h: New files.
8359 * config/picochip/t-picochip: New file.
8360 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8362 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8363 * config/s390/t-tpf (LIB2ADDEH): Remove.
8364 * config/t-darwin (LIB2ADDEH): Set.
8365 * config/t-eh-dw2-dip: New file.
8366 * config/t-libunwind, config/t-libunwind-elf: New files.
8367 * config/t-sol2 (LIB2ADDEH): Remove.
8368 * config/xtensa/t-xtensa: New file.
8370 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8372 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8373 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8374 long long to check rt_sigreturn syscall.
8376 2011-08-02 Alan Modra <amodra@gmail.com>
8378 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8379 Restore for indirect call bcrtl from correct stack slot, and only
8380 if cfa+40 isn't valid.
8382 2011-08-01 Julian Brown <julian@codesourcery.com>
8384 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8385 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8386 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8388 2011-08-01 Julian Brown <julian@codesourcery.com>
8390 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8391 (libgcc-std.ver.in): Use above.
8392 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8393 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8395 * config/t-fixedpoint-gnu-prefix: New file.
8396 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8397 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8400 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8402 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8403 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8404 for x86-64. Properly check __x86_64__ and __LP64__.
8406 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8408 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8410 (_FP_WS_TYPE): Likewise.
8411 (_FP_I_TYPE): Likewise.
8413 2011-07-28 Alan Modra <amodra@gmail.com>
8415 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8416 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8417 in a plt call stub. Do restore r2 if stopped on bctrl.
8419 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8421 * config.host (i[3456x]86-*-netware*): Remove.
8422 * config/i386/netware-crt0.c, config/i386/t-nwld,
8423 config/i386/t-slibgcc-nwld: Remove.
8425 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8427 * config.host: Handle tic6x-*-*.
8428 * config/c6x/c6x-abi.h: New file.
8430 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8432 * config/i386/crtprec.c: New file.
8433 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8434 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8435 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8436 (x86_64-*-darwin*): Likewise.
8437 (i[34567]86-*-solaris2*: Likewise.
8439 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8441 * config/alpha/crtfastmath.c: New file.
8442 * config/i386/crtfastmath.c: New file.
8443 * config/ia64/crtfastmath.c: New file.
8444 * config/mips/crtfastmath.c: New file.
8445 * config/sparc/crtfastmath.c: New file.
8447 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8449 Add -frandom-seed=gcc-crtfastmath.
8450 * config/alpha/t-crtfm: Remove.
8451 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8452 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8454 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8455 (alpha*-dec-osf5.1*): Likewise.
8456 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8457 Add crtfastmath.o to extra_parts.
8458 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8459 Add crtfastmath.o to extra_parts.
8460 (x86_64-*-darwin*): Likewise.
8461 (x86_64-*-mingw*): Likewise.
8462 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8463 (ia64*-*-freebsd*): Likewise.
8464 (ia64*-*-linux*): Likewise.
8465 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8466 Add crtfastmath.o to extra_parts.
8468 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8470 * config/darwin-crt3.o: New file.
8471 * config/rs6000/darwin-crt2.c: New file.
8472 * config/t-darwin: New file.
8473 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8475 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8476 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8477 (powerpc64-*-darwin*): Likewise.
8479 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8481 * config/i386/netware-crt0.c: New file.
8482 * config/i386/t-nwld: Rename to ...
8483 * config/i386/t-slibgcc-nwld: ... this.
8484 * config/i386/t-nwld: New file.
8485 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8487 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8490 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8492 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8494 * configure: Regenerate.
8496 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8498 * dfp-bit.c, dfp-bit.h: New files.
8499 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8501 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8502 ($(d64pbit-o)): Likewise.
8503 ($(d128pbit-o)): Likewise.
8504 * config/t-dfprules: New file.
8505 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8506 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8507 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8508 (x86_64-*-linux*): Likewise.
8509 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8510 (i[34567]86-*-cygwin*): Likewise.
8511 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8512 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8514 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8516 * Makfile.in (LIBGCOV): New variable.
8517 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8518 * libgcov.c: New file.
8520 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8522 * fixed-bit.c, fixed-bit.h: New files.
8523 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8524 refer to fixed-bit.c.
8526 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8528 * config.host (*local*): Remove.
8530 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8533 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8534 like i?86-*-solaris2.1[0-9]*.
8535 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8536 * configure.ac (i?86-*-solaris2*): Likewise.
8537 * configure: Regenerate.
8539 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8541 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8542 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8543 md_unwind_header by splitting out of...
8544 (i[34567]86-*-linux*): ... this.
8545 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8546 Remove md_unwind_header by splitting out of...
8547 (x86_64-*-linux*): ... this.
8549 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8551 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8553 2011-06-28 Nick Clifton <nickc@redhat.com>
8555 * config.host: Recognize all V850 variants.
8557 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8559 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8561 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8563 * shared-object.mk (c_flags-$o): Save c_flags.
8564 ($(base)$(objext)): Use it.
8565 ($(base)_s$(objext)): Likewise.
8567 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8569 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8570 * libgcc-std.ver.in (GCC_4.7.0): New section.
8572 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8576 * config/avr/t-avr: Fix line endings.
8577 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8580 2011-06-14 Olivier Hainque <hainque@adacore.com>
8581 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8583 * config/mips/irix6-unwind.h: New file.
8584 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8586 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8588 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8589 (sparc64_fallback_frame_state): Use it.
8590 (sparc64_frob_update_context): Further adjust context.
8591 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8592 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8593 * config/sparc/sol2-cn.S: Likewise.
8595 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8597 * enable-execute-stack-empty.c: New file.
8598 * enable-execute-stack-mprotect.c: New file.
8599 * config/i386/enable-execute-stack-mingw32.c: New file.
8600 * config.host (enable_execute_stack): New variable.
8601 Select appropriate variants.
8602 * configure.ac: Link enable-execute-stack.c to
8603 $enable_execute_stack.
8604 * configure: Regenerate.
8605 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8606 (lib2funcs): Remove _enable_execute_stack.
8608 2011-06-09 David S. Miller <davem@davemloft.net>
8609 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8611 * config.host (sparc-*-linux*): Correct md_unwind_header
8613 (s390x-ibm-tpf*): Fix typo.
8615 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8617 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8618 Add crtfastmath.o to extra_parts.
8619 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8621 * config/mips/t-crtfm: Remove.
8623 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8625 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8627 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8629 * config.host (sh*-*-linux*): Fix typo.
8631 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8633 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8634 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8635 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8636 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8637 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8638 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8639 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8640 Wrap in !__MINGW64__.
8641 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8642 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8643 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8644 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8645 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8646 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8647 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8649 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8650 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8651 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8652 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8653 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8654 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8655 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8656 * config/no-unwind.h: New file.
8657 * config.host (md_unwind_header): Document.
8659 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8660 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8661 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8662 hppa[12]*-*-hpux11*): Set md_unwind_header.
8663 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8664 Set md_unwind_header.
8665 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8666 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8667 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8668 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8669 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8670 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8671 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8673 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8674 * configure: Regenerate.
8676 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8678 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8679 Set tmake_file, extra_parts.
8680 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8682 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8684 * config/mips/t-irix6: New file.
8685 * config/mips/t-slibgcc-irix: New file.
8687 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8689 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8690 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8692 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8694 * configure.ac (target_thread_file): Determine thread model.
8695 * configure: Regenerate.
8696 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8697 * config/alpha/t-alpha: New file.
8698 * config/alpha/t-crtfm: Use $<.
8699 * config/alpha/t-ieee: New file.
8700 * config/alpha/t-osf-pthread: New file.
8701 * config/alpha/t-slibgcc-osf: New file.
8702 * config/alpha/libgcc-osf5.ver: New file.
8704 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8706 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8708 Add crtfastmath.o to extra_parts.
8710 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8712 * config/gmon-sol2.c: Reindent.
8714 Remove, correct casts.
8715 Use STDERR_FILENO, NULL.
8716 (BASEADDRESS): Remove.
8718 (errno, sbrk): Remove declarations.
8719 (monstartup) [hp300]: Remove.
8722 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8724 * Makefile.in (cpu_type): Define.
8725 * config.host (i[34567]86-*-rtems*): Handle it.
8726 (i[34567]86-*-solaris2*): Move body ...
8727 (*-*-solaris2*): ... here.
8728 New case, generalize.
8729 (sparc-*-elf*): Handle it.
8730 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8731 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8732 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8734 (sparc*-*-solaris2*): ... this.
8736 (sparc64-*-elf*): Handle it.
8737 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8738 Merge ../gcc/config/i386/gmon-sol2.c.
8739 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8741 Merge ../gcc/config/i386/sol2-gc1.asm.
8742 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8744 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8746 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8747 * config/i386/t-crtstuff: New file.
8748 * config/i386/t-softfp: New file.
8749 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8750 $(T)crti.o, $(T)crtn.o): Remove.
8751 (gcrt1.o): New rule.
8752 (TARGET_LIBGCC2_CFLAGS): Remove.
8753 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8754 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8755 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8756 * config/sparc/t-sol2: New file.
8757 * config/sparc/t-crtfm: Move to ...
8758 * config/t-crtfm: ... this.
8759 Use $(cpu_type), $<.
8760 * config/t-crtin: New file.
8761 * config/sparc/t-softfp: New file.
8762 * config/sparc/t-softmul: New file.
8763 * config/t-rtems: New file.
8764 * config/t-slibgcc: New file.
8765 * config/t-slibgcc-elf-ver: New file.
8766 * config/t-slibgcc-gld: New file.
8767 * config/t-slibgcc-sld: New file.
8768 * config/t-sol2: New file.
8769 * configure.ac: Include ../config/lib-ld.m4.
8770 Call AC_LIB_PROG_LD_GNU.
8771 Substitute cpu_type.
8772 * configure: Regenerate.
8774 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8777 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8778 libgcc-std.ver in the build directory.
8779 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8780 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8782 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8784 * libgcc-std.ver.in: New file.
8785 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8787 (libgcc-std.ver): New rule.
8788 * config/t-gnu-prefix: New file.
8790 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8792 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8794 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8796 * config/i386/darwin-lib.h: New file.
8798 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8800 * config/arm/symbian-lib.h: New.
8802 2011-05-04 Chris Demetriou <cgd@google.com>
8804 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8805 (__x86.get_pc_thunk.bx): ...this.
8806 (__morestack): Adjust for rename, remove undef of __i686.
8808 2011-05-03 Chris Demetriou <cgd@google.com>
8810 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8812 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8814 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8815 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8816 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8817 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8818 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8821 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8823 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8824 Adjust copyright year.
8826 2011-03-07 Ian Lance Taylor <iant@google.com>
8828 * generic-morestack.c (__splitstack_find): Adjust returned stack
8829 pointer to include all registers pushed by __morestack.
8831 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8834 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8835 (toolexecdir): Calculate and AC_SUBST.
8836 (toolexeclibdir): Likewise.
8837 * Makefile.in (target_noncanonical): Import.
8838 (toolexecdir): Likewise.
8839 (toolexeclibdir): Likewise.
8840 * configure: Regenerate.
8842 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8845 * config/arm/bpabi.h: Rename to...
8846 * config/arm/bpabi-lib.h: ...this.
8848 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8850 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8852 * configure: Regenerate.
8854 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8856 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8857 __FLOAT_WORD_ORDER__.
8858 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8861 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8864 * Makefile.in (install-strip): New phony target.
8866 2010-11-07 Ian Lance Taylor <iant@google.com>
8869 * config/i386/morestack.S (__morestack_large_model): New
8872 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8874 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8876 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8878 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8880 * config/arm/bpabi.h: New file.
8881 * config/frv/frv-abi.h: New file.
8883 2010-10-01 Ian Lance Taylor <iant@google.com>
8885 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8886 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8888 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8891 * config.host: Add the missing `$'.
8893 2010-09-30 Michael Eager <eager@eagercon.com>
8895 * config.host: Add microblaze*-*-*.
8896 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8897 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8898 udivsi3.asm,umodsi3.asm}: New.
8900 2010-09-28 Ian Lance Taylor <iant@google.com>
8902 * configure.ac: Adjust CFI test to test assembler directly rather
8903 than checking gcc preprocessor macro.
8904 * configure: Rebuild.
8906 2010-09-27 Ian Lance Taylor <iant@google.com>
8908 * configure.ac: Test whether assembler supports CFI directives.
8909 * config.host: Only add t-stack and i386/t-stack-i386 to
8910 tmake_file if libgcc_cv_cfi is "yes".
8911 * configure: Rebuild.
8913 2010-09-27 Ian Lance Taylor <iant@google.com>
8915 * generic-morestack.h: New file.
8916 * generic-morestack.c: New file.
8917 * generic-morestack-thread.c: New file.
8918 * config/i386/morestack.S: New file.
8919 * config/t-stack: New file.
8920 * config/i386/t-stack-i386: New file.
8921 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8922 i386/t-stack-i386 to tmake_file.
8924 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8926 * Makefile.in (libgcc-extra-parts): Check for static archives and
8927 invoke ranlib after installing them.
8928 (gcc-extra-parts): Likewise.
8929 (install-leaf): Likewise.
8931 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8933 * configure: Regenerated.
8935 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8937 * configure: Regenerated.
8939 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8940 Andrew Pinski <pinskia@gmail.com>
8943 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8945 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8948 * configure: Regenerated.
8950 2010-09-06 Andreas Schwab <schwab@redhat.com>
8952 * configure: Regenerate.
8954 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8956 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8958 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8961 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8962 Iain Sandoe <iains@gcc.gnu.org>
8965 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8966 LIB2FUNCS_EXCLUDE functions.
8968 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8970 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8972 * configure: Regenerate.
8974 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8976 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8977 i386/t-freebsd to tmake_file.
8978 * config/i386/t-freebsd: New file.
8979 * config/i386/libgcc-bsd.ver: New file.
8981 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8983 * config.host (powerpc*-eabispe*): Set tmake_file.
8984 (powerpc*-eabi*): Likewise.
8985 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8986 crtbeginS, crtendS, crtbeginT.
8988 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8990 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8991 to tmake_file. Add crtfastmath.o to extra_parts.
8992 * config/mips/t-crtfm: New.
8994 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8996 * config.host (sparc64-*-rtems*): New target.
8998 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9000 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9003 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9005 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9007 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9009 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9010 alpha-dec-osf5.0* support.
9012 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9014 * config.host: Add lm32-*-rtems*.
9016 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9017 Uros Bizjak <ubizjak@gmail.com>
9020 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9021 like other remaining 32-bit x86 OSes.
9022 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9024 * config/i386/libgcc-sol2.ver: New file.
9025 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9027 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9030 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9031 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9032 is used and substitute set_use_emutls.
9033 * configure: Regenerated.
9035 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9037 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9039 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9042 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9044 ($(T)gcrt1.o): Likewise.
9045 ($(T)crt1.o): Likewise.
9046 ($(T)crti.o): Likewise.
9047 ($(T)crtn.o): Likewise.
9049 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9052 * Makefile.in (install): Use $(MAKE) string in rule, for
9055 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9057 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9058 * config/mmix/t-mmix: New file.
9059 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9061 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9064 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9067 2010-01-04 Anthony Green <green@moxielogic.com>
9069 * config/moxie/crti.asm, config/moxie/crtn.asm,
9070 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9071 config/moxie/t-moxie: New files.
9072 * config.host: Add t-moxie-softfp reference.
9074 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9077 * config/t-slibgcc-darwin: Fix embedded rpaths for
9078 --enable-version-specific-runtime-libs, build extension stub
9079 libs exposing features available from current libgcc_s.
9081 2009-11-11 Jon Beniston <jon@beniston.com>
9083 * config.host: Add lm32 targets.
9084 * config/lm32: New directory.
9085 * config/lm32/libgcc_lm32.h: New file.
9086 * config/lm32/_mulsi3.c: New file.
9087 * config/lm32/_udivmodsi4.c: New file.
9088 * config/lm32/_divsi3.c: New file.
9089 * config/lm32/_modsi3.c: New file.
9090 * config/lm32/_udivsi3.c: New file.
9091 * config/lm32/_umodsi3.c: New file.
9092 * config/lm32/_lshrsi3.S: New file.
9093 * config/lm32/_ashrsi3.S: New file.
9094 * config/lm32/_ashlsi3.S: New file.
9095 * config/lm32/crti.S: New file.
9096 * config/lm32/crtn.S: New file.
9097 * config/lm32/t-lm32: New file.
9098 * config/lm32/t-elf: New file.
9099 * config/lm32/t-uclinux: New file.
9101 2009-10-26 Nick Clifton <nickc@redhat.com>
9103 * config.host: Add support for RX target.
9104 * config/rx: New directory.
9105 * config/rx/rx-abi-functions.c: New file. Supplementary
9106 functions for libgcc to support the RX ABI.
9107 * config/rx/rx-abi.h: New file. Supplementary header file for
9108 libgcc RX ABI functions.
9109 * config/rx/t-rx: New file: Makefile fragment for building
9112 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9114 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9115 constraint of y0 to "g".
9117 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9119 * config.host: Include the s390 makefile fragments.
9120 * config/s390/32/_fixdfdi.c: New file.
9121 * config/s390/32/_fixsfdi.c: New file.
9122 * config/s390/32/_fixtfdi.c: New file.
9123 * config/s390/32/_fixunsdfdi.c: New file.
9124 * config/s390/32/_fixunssfdi.c: New file.
9125 * config/s390/32/_fixunstfdi.c: New file.
9126 * config/s390/32/t-floattodi: New file.
9127 * config/s390/libgcc-glibc.ver: New file.
9128 * config/s390/t-crtstuff: New file.
9129 * config/s390/t-linux: New file.
9130 * config/s390/t-tpf: New file.
9132 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9134 * configure.ac (AC_PREREQ): Bump to 2.64.
9136 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9138 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9140 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9142 * configure: Regenerate.
9144 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9146 * config.host (ia64-hp-*vms*): New target.
9147 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9150 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9152 * configure.ac: Add snippet for maintainer-mode.
9153 * configure: Regenerate.
9154 * Makefile.in (AUTOCONF, configure_deps): New variables.
9155 ($(srcdir)/configure)): New rule, active only with maintainer
9158 2009-06-23 DJ Delorie <dj@redhat.com>
9161 * config.host: Add mep support.
9163 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9165 * config.host: Add i386/${host_address}/t-fprules-softfp and
9166 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9168 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9170 * config/i386/64/_multc3.c: Likewise.
9171 * config/i386/64/_powitf2.c: Likewise.
9172 * config/i386/64/eqtf2.c: Likewise.
9173 * config/i386/64/getf2.c: Likewise.
9174 * config/i386/64/letf2.c: Likewise.
9175 * config/i386/64/letf2.c: Likewise.
9176 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9177 unsigned long long for x64 mingw targets.
9178 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9179 (_FP_I_TYPE): Define as long long for x64 mingw target.
9181 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9183 * config.host (vax-*-linux*): New.
9185 2009-05-31 Anthony Green <green@moxielogic.com>
9187 * config.host: Add moxie support.
9188 * config/moxie/t-moxie: New file.
9190 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9192 * config.host: Add i386/${host_address}/t-fprules-softfp and
9193 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9195 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9197 * config.host: Add i386/${host_address}/t-fprules-softfp to
9198 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9200 2009-04-09 Nick Clifton <nickc@redhat.com>
9202 * config/ia64/tf-signs.c: Change copyright header to refer to
9203 version 3 of the GNU General Public License with version 3.1
9204 of the GCC Runtime Library Exception and to point readers at
9205 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9207 * config/i386/32/tf-signs.c: Likewise.
9208 * config/libbid/_addsub_dd.c: Likewise.
9209 * config/libbid/_addsub_sd.c: Likewise.
9210 * config/libbid/_addsub_td.c: Likewise.
9211 * config/libbid/_dd_to_df.c: Likewise.
9212 * config/libbid/_dd_to_di.c: Likewise.
9213 * config/libbid/_dd_to_sd.c: Likewise.
9214 * config/libbid/_dd_to_sf.c: Likewise.
9215 * config/libbid/_dd_to_si.c: Likewise.
9216 * config/libbid/_dd_to_td.c: Likewise.
9217 * config/libbid/_dd_to_tf.c: Likewise.
9218 * config/libbid/_dd_to_udi.c: Likewise.
9219 * config/libbid/_dd_to_usi.c: Likewise.
9220 * config/libbid/_dd_to_xf.c: Likewise.
9221 * config/libbid/_df_to_dd.c: Likewise.
9222 * config/libbid/_df_to_sd.c: Likewise.
9223 * config/libbid/_df_to_td.c: Likewise.
9224 * config/libbid/_di_to_dd.c: Likewise.
9225 * config/libbid/_di_to_sd.c: Likewise.
9226 * config/libbid/_di_to_td.c: Likewise.
9227 * config/libbid/_div_dd.c: Likewise.
9228 * config/libbid/_div_sd.c: Likewise.
9229 * config/libbid/_div_td.c: Likewise.
9230 * config/libbid/_eq_dd.c: Likewise.
9231 * config/libbid/_eq_sd.c: Likewise.
9232 * config/libbid/_eq_td.c: Likewise.
9233 * config/libbid/_ge_dd.c: Likewise.
9234 * config/libbid/_ge_sd.c: Likewise.
9235 * config/libbid/_ge_td.c: Likewise.
9236 * config/libbid/_gt_dd.c: Likewise.
9237 * config/libbid/_gt_sd.c: Likewise.
9238 * config/libbid/_gt_td.c: Likewise.
9239 * config/libbid/_isinfd128.c: Likewise.
9240 * config/libbid/_isinfd32.c: Likewise.
9241 * config/libbid/_isinfd64.c: Likewise.
9242 * config/libbid/_le_dd.c: Likewise.
9243 * config/libbid/_le_sd.c: Likewise.
9244 * config/libbid/_le_td.c: Likewise.
9245 * config/libbid/_lt_dd.c: Likewise.
9246 * config/libbid/_lt_sd.c: Likewise.
9247 * config/libbid/_lt_td.c: Likewise.
9248 * config/libbid/_mul_dd.c: Likewise.
9249 * config/libbid/_mul_sd.c: Likewise.
9250 * config/libbid/_mul_td.c: Likewise.
9251 * config/libbid/_ne_dd.c: Likewise.
9252 * config/libbid/_ne_sd.c: Likewise.
9253 * config/libbid/_ne_td.c: Likewise.
9254 * config/libbid/_sd_to_dd.c: Likewise.
9255 * config/libbid/_sd_to_df.c: Likewise.
9256 * config/libbid/_sd_to_di.c: Likewise.
9257 * config/libbid/_sd_to_sf.c: Likewise.
9258 * config/libbid/_sd_to_si.c: Likewise.
9259 * config/libbid/_sd_to_td.c: Likewise.
9260 * config/libbid/_sd_to_tf.c: Likewise.
9261 * config/libbid/_sd_to_udi.c: Likewise.
9262 * config/libbid/_sd_to_usi.c: Likewise.
9263 * config/libbid/_sd_to_xf.c: Likewise.
9264 * config/libbid/_sf_to_dd.c: Likewise.
9265 * config/libbid/_sf_to_sd.c: Likewise.
9266 * config/libbid/_sf_to_td.c: Likewise.
9267 * config/libbid/_si_to_dd.c: Likewise.
9268 * config/libbid/_si_to_sd.c: Likewise.
9269 * config/libbid/_si_to_td.c: Likewise.
9270 * config/libbid/_td_to_dd.c: Likewise.
9271 * config/libbid/_td_to_df.c: Likewise.
9272 * config/libbid/_td_to_di.c: Likewise.
9273 * config/libbid/_td_to_sd.c: Likewise.
9274 * config/libbid/_td_to_sf.c: Likewise.
9275 * config/libbid/_td_to_si.c: Likewise.
9276 * config/libbid/_td_to_tf.c: Likewise.
9277 * config/libbid/_td_to_udi.c: Likewise.
9278 * config/libbid/_td_to_usi.c: Likewise.
9279 * config/libbid/_td_to_xf.c: Likewise.
9280 * config/libbid/_tf_to_dd.c: Likewise.
9281 * config/libbid/_tf_to_sd.c: Likewise.
9282 * config/libbid/_tf_to_td.c: Likewise.
9283 * config/libbid/_udi_to_dd.c: Likewise.
9284 * config/libbid/_udi_to_sd.c: Likewise.
9285 * config/libbid/_udi_to_td.c: Likewise.
9286 * config/libbid/_unord_dd.c: Likewise.
9287 * config/libbid/_unord_sd.c: Likewise.
9288 * config/libbid/_unord_td.c: Likewise.
9289 * config/libbid/_usi_to_dd.c: Likewise.
9290 * config/libbid/_usi_to_sd.c: Likewise.
9291 * config/libbid/_usi_to_td.c: Likewise.
9292 * config/libbid/_xf_to_dd.c: Likewise.
9293 * config/libbid/_xf_to_sd.c: Likewise.
9294 * config/libbid/_xf_to_td.c: Likewise.
9295 * config/libbid/bid128.c: Likewise.
9296 * config/libbid/bid128_2_str.h: Likewise.
9297 * config/libbid/bid128_2_str_macros.h: Likewise.
9298 * config/libbid/bid128_2_str_tables.c: Likewise.
9299 * config/libbid/bid128_add.c: Likewise.
9300 * config/libbid/bid128_compare.c: Likewise.
9301 * config/libbid/bid128_div.c: Likewise.
9302 * config/libbid/bid128_fma.c: Likewise.
9303 * config/libbid/bid128_logb.c: Likewise.
9304 * config/libbid/bid128_minmax.c: Likewise.
9305 * config/libbid/bid128_mul.c: Likewise.
9306 * config/libbid/bid128_next.c: Likewise.
9307 * config/libbid/bid128_noncomp.c: Likewise.
9308 * config/libbid/bid128_quantize.c: Likewise.
9309 * config/libbid/bid128_rem.c: Likewise.
9310 * config/libbid/bid128_round_integral.c: Likewise.
9311 * config/libbid/bid128_scalb.c: Likewise.
9312 * config/libbid/bid128_sqrt.c: Likewise.
9313 * config/libbid/bid128_string.c: Likewise.
9314 * config/libbid/bid128_to_int16.c: Likewise.
9315 * config/libbid/bid128_to_int32.c: Likewise.
9316 * config/libbid/bid128_to_int64.c: Likewise.
9317 * config/libbid/bid128_to_int8.c: Likewise.
9318 * config/libbid/bid128_to_uint16.c: Likewise.
9319 * config/libbid/bid128_to_uint32.c: Likewise.
9320 * config/libbid/bid128_to_uint64.c: Likewise.
9321 * config/libbid/bid128_to_uint8.c: Likewise.
9322 * config/libbid/bid32_to_bid128.c: Likewise.
9323 * config/libbid/bid32_to_bid64.c: Likewise.
9324 * config/libbid/bid64_add.c: Likewise.
9325 * config/libbid/bid64_compare.c: Likewise.
9326 * config/libbid/bid64_div.c: Likewise.
9327 * config/libbid/bid64_fma.c: Likewise.
9328 * config/libbid/bid64_logb.c: Likewise.
9329 * config/libbid/bid64_minmax.c: Likewise.
9330 * config/libbid/bid64_mul.c: Likewise.
9331 * config/libbid/bid64_next.c: Likewise.
9332 * config/libbid/bid64_noncomp.c: Likewise.
9333 * config/libbid/bid64_quantize.c: Likewise.
9334 * config/libbid/bid64_rem.c: Likewise.
9335 * config/libbid/bid64_round_integral.c: Likewise.
9336 * config/libbid/bid64_scalb.c: Likewise.
9337 * config/libbid/bid64_sqrt.c: Likewise.
9338 * config/libbid/bid64_string.c: Likewise.
9339 * config/libbid/bid64_to_bid128.c: Likewise.
9340 * config/libbid/bid64_to_int16.c: Likewise.
9341 * config/libbid/bid64_to_int32.c: Likewise.
9342 * config/libbid/bid64_to_int64.c: Likewise.
9343 * config/libbid/bid64_to_int8.c: Likewise.
9344 * config/libbid/bid64_to_uint16.c: Likewise.
9345 * config/libbid/bid64_to_uint32.c: Likewise.
9346 * config/libbid/bid64_to_uint64.c: Likewise.
9347 * config/libbid/bid64_to_uint8.c: Likewise.
9348 * config/libbid/bid_b2d.h: Likewise.
9349 * config/libbid/bid_binarydecimal.c: Likewise.
9350 * config/libbid/bid_conf.h: Likewise.
9351 * config/libbid/bid_convert_data.c: Likewise.
9352 * config/libbid/bid_decimal_data.c: Likewise.
9353 * config/libbid/bid_decimal_globals.c: Likewise.
9354 * config/libbid/bid_div_macros.h: Likewise.
9355 * config/libbid/bid_dpd.c: Likewise.
9356 * config/libbid/bid_flag_operations.c: Likewise.
9357 * config/libbid/bid_from_int.c: Likewise.
9358 * config/libbid/bid_functions.h: Likewise.
9359 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9360 * config/libbid/bid_inline_add.h: Likewise.
9361 * config/libbid/bid_internal.h: Likewise.
9362 * config/libbid/bid_round.c: Likewise.
9363 * config/libbid/bid_sqrt_macros.h: Likewise.
9365 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9367 * Makefile.in: Change copyright header to refer to version
9368 3 of the GNU General Public License and to point readers at the
9369 COPYING3 file and the FSF's license web page.
9370 * config.host: Likewise.
9372 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9374 * config.host: Reorder and merge to match config.gcc change.
9376 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9378 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9380 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9382 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9383 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9384 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9385 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9387 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9389 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9390 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9392 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9394 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9395 ia64/t-softfp-compat to tmake_file.
9397 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9399 * config/ia64/__divxf3.asm: New.
9400 * config/ia64/_fixtfdi.asm: Likewise.
9401 * config/ia64/_fixunstfdi.asm: Likewise.
9402 * config/ia64/_floatditf.asm: Likewise.
9403 * config/ia64/t-fprules-softfp: Likewise.
9404 * config/ia64/t-softfp-compat: Likewise.
9405 * config/ia64/tf-signs.c: Likewise.
9407 2009-01-18 Ben Elliston <bje@au.ibm.com>
9409 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9411 2009-01-16 Ben Elliston <bje@au.ibm.com>
9413 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9416 2009-01-13 Ben Elliston <bje@au.ibm.com>
9418 * config/t-softfp: New file.
9419 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9420 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9422 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9424 * config.host: Add m32r*-*-rtems*.
9426 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9428 * config.host: Add m32c*-*-rtems*.
9430 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9433 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9434 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9435 * configure: Regenerate.
9436 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9437 tmake_file here from gcc/config.gcc.
9438 Move extra_parts here from gcc/config.gcc.
9439 * config/i386/t-sol2: Move here from gcc/config/i386.
9440 Use gcc_srcdir instead of srcdir.
9442 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9444 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9447 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9449 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9451 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9453 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9455 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9458 * config.host: Add picochip-*-*.
9460 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9462 * config.host: Match more processor names for Xtensa.
9464 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9466 * config/i386/64/t-softfp-compat: Update comments.
9468 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9470 * config/i386/64/_divtc3-compat.c: Moved to ...
9471 * config/i386/64/_divtc3.c: Here.
9473 * config/i386/64/_multc3-compat.c: Moved to ...
9474 * config/i386/64/_multc3.c: Here.
9476 * config/i386/64/_powitf2-compat.c: Moved to ...
9477 * config/i386/64/_powitf2.c: Here.
9479 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9480 .c suffix instead of -compat.c.
9482 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9484 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9485 (_FP_MUL_MEAT_D): Ditto.
9486 (_FP_DIV_MEAT_S): Ditto.
9487 (_FP_DIV_MEAT_D): Ditto.
9489 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9491 * Makefile.in: Add support for __sync_* libgcc functions.
9493 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9495 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9497 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9500 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9501 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9503 * config/i386/64/t-fprules-softfp: Moved to ...
9504 * config/i386/64/t-softfp-compat: This. New.
9506 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9508 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9509 Initialize f with 0.0.
9511 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9514 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9516 * config/i386/64/_divtc3-compat.c: New.
9517 * config/i386/64/_multc3-compat.c: Likewise.
9518 * config/i386/64/_powitf2-compat.c: Likewise.
9519 * config/i386/64/eqtf2.c: Likewise.
9520 * config/i386/64/getf2.c: Likewise.
9521 * config/i386/64/letf2.c: Likewise.
9522 * config/i386/64/t-fprules-softfp: Likewise.
9524 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9526 * config.host: Add i386/${host_address}/t-fprules-softfp to
9527 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9528 i[34567]86-*-linux*, x86_64-*-linux*.
9530 * configure.ac: Set host_address to 64 or 32 for x86.
9531 * configure: Regenerated.
9533 * Makefile.in (config.status): Also depend on
9534 $(srcdir)/config.host.
9536 * config/i386/32/t-fprules-softfp: New.
9537 * config/i386/32/tf-signs.c: Likewise.
9539 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9541 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9542 Uros Bizjak <ubizjak@gmail.com>
9544 * config/i386/32/sfp-machine.h: New.
9546 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9548 * config/rs6000/t-ppccomm: Remove rules that conflict with
9549 auto-generated rules.
9551 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9553 * configure.ac: sinclude override.m4.
9554 * configure: Regenerate.
9556 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9558 * configure: Regenerate.
9560 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9562 * Makefile.in (DECNUMINC): Remove
9563 -I$(MULTIBUILDTOP)../../libdecnumber.
9566 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9568 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9569 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9570 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9571 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9572 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9573 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9574 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9575 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9576 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9577 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9578 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9579 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9580 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9581 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9583 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9585 * config.host (sh2[lbe]*-*-linux*): Allow target.
9587 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9589 * config/rs6000/t-ppccomm: Add build rules for new files.
9590 (LIB2ADD_ST): New variable.
9592 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9596 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9597 * config/t-avr: New file. Build 16bit libgcc functions.
9599 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9602 * config/t-slibgcc-darwin: Make install-leaf dependent on
9603 install-darwin-libgcc-stubs instead of install.
9605 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9607 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9608 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9609 sh-*-rtemscoff*): Remove cases.
9611 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9613 * Makefile.in (all): Use install-leaf rather than install.
9614 (install): Split most of the rule into...
9615 (install-leaf): ...this new one.
9617 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9618 Paolo Bonzini <bonzini@gnu.org>
9621 * Makefile.in: Use @shlib_slibdir@ substitution to get
9622 correct install name on darwin.
9623 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9625 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9627 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9628 cris-*-elf and cris-*-none.
9629 (crisv32-*-linux*): Similar, as cris-*-linux*.
9631 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9633 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9635 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9638 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9639 * configure: Regenerated.
9641 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9643 * Makefile.in (dfp-filenames): Replace decimal_globals,
9644 decimal_data, binarydecimal and convert_data with
9645 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9646 and bid_convert_data, respectively.
9648 2007-09-17 Chao-ying Fu <fu@mips.com>
9649 Nigel Stephens <nigel@mips.com>
9651 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9652 * Makefile.in (fixed_point): Define.
9653 Check if fixed_point is yes to build support functions.
9654 * configure.ac: Check for fixed_point support.
9655 * configure: Regenerated.
9656 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9657 funcs, modes, from, to.
9659 2007-09-11 Janis Johnson <janis187@us.ibm.com
9661 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9663 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9665 * Makefile.in (dfp-filenames): Remove decUtility, add
9666 decDouble, decPacked, decQuad, decSingle.
9668 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9670 * config.host : Add x86_64-elf target.
9672 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9674 * configure.ac (set_have_cc_tls): Add a missing =.
9675 * configure: Regenerated.
9677 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9679 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9680 and x86_64-*-linux*.
9682 * config/t-tls: New file.
9684 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9686 * configure.ac: Include ../config/enable.m4 and
9687 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9688 supports TLS and substitute set_have_cc_tls.
9689 * configure: Regenerated.
9691 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9693 * Makefile.in: Use libbid for DFP when BID is enabled.
9695 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9697 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9698 extra_parts. Add config/i386/t-cygming to tmake_file.
9699 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9701 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9702 Danny Smith <dannysmith@users.sourceforge.net>
9705 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9706 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9707 * config/i386/t-crtfm: Compile crtfastmath.o with
9708 -minline-all-stringops.
9710 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9712 * config.host (sparc-wrs-vxworks): New target.
9714 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9716 * config.host: Recognize fido.
9718 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9720 * configure: Check host, not target, for decimal float support.
9722 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9724 * config/i386/t-crtpc: New file.
9725 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9726 (x86_64-*-linux*): Ditto.
9728 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9730 * config.host (x86_64-*-mingw*): New target.
9732 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9733 H.J. Lu <hongjiu.lu@intel.com>
9735 * Makefile.in (enable_decimal_float): New.
9737 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9738 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9739 (decbits-filenames): This.
9740 (decbits-objects): New.
9741 (libgcc-objects): Add $(decbits-objects).
9743 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9744 Substitute enable_decimal_float.
9745 * configure: Regenerated.
9747 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9749 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9751 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9753 * Makefile.in (install-info): New dummy target.
9755 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9757 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9759 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9761 * Makefile.in: Add install-html and install-pdf dummy
9764 2007-02-05 Roger Sayle <roger@eyesopen.com>
9765 Daniel Jacobowitz <dan@codesourcery.com>
9767 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9768 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9769 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9771 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9773 * Makefile.in (dec-filenames): Add decExcept.
9775 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9778 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9781 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9783 * configure.ac: Add --enable-version-specific-runtime-libs.
9784 Correct $slibdir default.
9785 * configure: Regenerated.
9787 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9789 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9791 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9794 * config.host (alpha*-*-linux*): Set extra_parts.
9796 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9798 * config/sh/t-linux: New.
9799 * config.host (sh*-*-linux*): Set tmake_file.
9801 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9803 * Makefile.in (install): Handle multilibs.
9805 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9807 * Makefile.in: Added .PHONY entry for documentation targets.
9809 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9811 * Makefile.in: Add empty info, html, dvi, pdf targets.
9813 2007-01-04 Mike Stump <mrs@apple.com>
9815 * Makefile.in (MAKEINFO): Remove.
9818 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9820 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9821 * configure: Regenerate.
9822 * Makefile.in (host_subdir): Substitute it.
9823 (gcc_objdir): Use it.
9825 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9827 * config.host (ia64*-*-linux*): Set tmake_file.
9829 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9831 * Makefile.in (version): Define.
9833 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9834 Paolo Bonzini <bonzini@gnu.org>
9836 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9837 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9838 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9839 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9840 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9841 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9842 * configure: Generated.
9844 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9846 Copying and distribution of this file, with or without modification,
9847 are permitted in any medium without royalty provided the copyright
9848 notice and this notice are preserved.