1 2019-06-25 Martin Liska <mliska@suse.cz>
3 * libgcov-driver-system.c (replace_filename_variables): Do not
4 call strlen with NULL argument.
6 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
8 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
9 * config/gcn/unwind-gcn.c: New file.
11 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
12 Andrew Stubbs <ams@codesourcery.com>
14 * configure: Regenerate.
15 * config/gcn/gthr-gcn.h: New.
17 2019-06-18 Tom de Vries <tdevries@suse.de>
19 * config/nvptx/crt0.c (__main): Declare.
21 2019-06-17 Matthew Green <mrg@eterna.com.au>
22 Maya Rashish <coypu@sdf.org>
24 * config.host (aarch64*-*-netbsd*): New case.
26 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
28 * config/msp430/slli.S (__mspabi_sllll): New library function for
29 performing a logical left shift of a 64-bit value.
30 * config/msp430/srai.S (__mspabi_srall): New library function for
31 performing a arithmetic right shift of a 64-bit value.
32 * config/msp430/srll.S (__mspabi_srlll): New library function for
33 performing a logical right shift of a 64-bit value.
35 2019-06-14 Matt Thomas <matt@3am-software.com>
36 Matthew Green <mrg@eterna.com.au>
37 Nick Hudson <skrll@netbsd.org>
38 Maya Rashish <coypu@sdf.org>
40 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
41 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
43 * config/arm/t-netbsd-eabi: New file.
45 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
47 * config.host: Add PRU target.
48 * config/pru/asri.c: New file.
49 * config/pru/eqd.c: New file.
50 * config/pru/eqf.c: New file.
51 * config/pru/ged.c: New file.
52 * config/pru/gef.c: New file.
53 * config/pru/gtd.c: New file.
54 * config/pru/gtf.c: New file.
55 * config/pru/led.c: New file.
56 * config/pru/lef.c: New file.
57 * config/pru/lib2bitcountHI.c: New file.
58 * config/pru/lib2divHI.c: New file.
59 * config/pru/lib2divQI.c: New file.
60 * config/pru/lib2divSI.c: New file.
61 * config/pru/libgcc-eabi.ver: New file.
62 * config/pru/ltd.c: New file.
63 * config/pru/ltf.c: New file.
64 * config/pru/mpyll.S: New file.
65 * config/pru/pru-abi.h: New file.
66 * config/pru/pru-asm.h: New file.
67 * config/pru/pru-divmod.h: New file.
68 * config/pru/sfp-machine.h: New file.
69 * config/pru/t-pru: New file.
71 2019-06-11 Jakub Jelinek <jakub@redhat.com>
73 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
75 2019-06-10 Martin Liska <mliska@suse.cz>
78 * libgcov.h: Add ATTRIBUTE_UNUSED.
80 2019-06-10 Martin Liska <mliska@suse.cz>
82 * Makefile.in: Add __gcov_one_value_profiler_v2,
83 __gcov_one_value_profiler_v2_atomic and
84 __gcov_indirect_call_profiler_v4.
85 * libgcov-merge.c (__gcov_merge_single): Change
87 (merge_single_value_set): New.
88 * libgcov-profiler.c (__gcov_one_value_profiler_body):
90 (__gcov_one_value_profiler): Remove.
91 (__gcov_one_value_profiler_v2): ... this.
92 (__gcov_one_value_profiler_atomic): Rename to ...
93 (__gcov_one_value_profiler_v2_atomic): this.
94 (__gcov_indirect_call_profiler_v3): Rename to ...
95 (__gcov_indirect_call_profiler_v4): ... this.
96 * libgcov.h (__gcov_one_value_profiler): Remove.
97 (__gcov_one_value_profiler_atomic): Remove.
98 (__gcov_one_value_profiler_v2_atomic): New.
99 (__gcov_indirect_call_profiler_v3): Remove.
100 (__gcov_one_value_profiler_v2): New.
101 (__gcov_indirect_call_profiler_v4): New.
102 (gcov_get_counter_ignore_scaling): New function.
104 2019-06-07 Martin Liska <mliska@suse.cz>
106 * Makefile.in: Remove usage of
107 _gcov_merge_icall_topn.
108 * libgcov-driver.c (gcov_sort_n_vals): Remove.
109 (gcov_sort_icall_topn_counter): Likewise.
110 (gcov_sort_topn_counter_arrays): Likewise.
111 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
112 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
113 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
115 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
116 (struct indirect_call_tuple): Remove.
117 (__gcov_indirect_call_topn_profiler): Remove.
118 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
119 * libgcov.h (gcov_sort_n_vals): Remove.
120 (L_gcov_merge_icall_topn): Likewise.
121 (__gcov_merge_icall_topn): Likewise.
122 (__gcov_indirect_call_topn_profiler): Likewise.
124 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
126 * config/rs6000/t-darwin: Ensure that the unwinder is built with
129 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
131 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
133 (__mspabi_slli): Likewise.
134 (__mspabi_slll_n): Likewise.
135 (__mspabi_slll): Likewise.
136 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
137 (__mspabi_srai): Likewise.
138 (__mspabi_sral_n): Likewise.
139 (__mspabi_sral): Likewise.
140 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
141 (__mspabi_srli): Likewise.
142 (__mspabi_srll_n): Likewise.
143 (__mspabi_srll): Likewise.
145 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
147 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
148 Add appropriate tm_file clause as well.
149 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
151 2019-06-05 James Clarke <jrtc27@jrtc27.com>
153 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
154 rather than .data/.bss so it can be accessed via gp-relative
157 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
159 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
160 (CR2_REGNO): Rename to R_CR2.
161 (XER_REGNO): Rename to R_XER.
162 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
163 (VRSAVE_REGNO): Rename to R_VRSAVE.
164 (VSCR_REGNO): R_VSCR.
166 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
168 * config.host (rx-*-linux*): Add new case.
169 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
171 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
173 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
175 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
176 aarch64_post_frob_eh_handler_addr): Add check for b-key.
177 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
178 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
179 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
180 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
182 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
184 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
186 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
188 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
189 Remove Solaris 9 and 10 support.
190 (sparc_is_sighandler): Likewise.
192 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
194 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
196 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
198 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
199 4_FP_W_TYPEs are used for IEEE quad precision.
200 * soft-fp/extendhftf2.c: Likewise.
201 * soft-fp/extendsftf2.c: Likewise.
202 * soft-fp/extendxftf2.c: Likewise.
203 * soft-fp/trunctfdf2.c: Likewise.
204 * soft-fp/trunctfhf2.c: Likewise.
205 * soft-fp/trunctfsf2.c: Likewise.
206 * soft-fp/trunctfxf2.c: Likewise.
207 * config/rs6000/ibm-ldouble.c: Likewise.
209 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
211 * config.host: Simplify various *-*-solaris2.1[0-9]* to
213 * configure.ac: Likewise.
214 * configure: Regenerate.
216 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
217 Solaris 10 and Solaris 11 < snv_125 handling.
219 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
221 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
223 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
225 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
226 * config/i386/cpuinfo.h (enum processor_features): Add
229 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
230 Bernd Edlinger <bernd.edlinger@hotmail.de>
231 Jakub Jelinek <jakub@redhat.com>
234 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
235 * config/arm/unwind-arm.c: Likewise.
236 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
239 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
241 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
242 (RT_SIGRETURN): Update.
243 (nds32_fallback_frame_state): Update.
245 2019-02-21 Martin Sebor <msebor@redhat.com>
247 * libgcc2.h (__clear_cache): Correct signature.
248 * libgcc2.c (__clear_cache): Same.
250 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
252 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
253 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
255 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
257 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
258 regno instead of index to DWARF_ZERO_REG.
260 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
262 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
263 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
265 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
267 * config/alpha/t-linux: Add -mfp-rounding-mode=d
268 to HOST_LIBGCC2_CFLAGS.
270 2019-01-23 Joseph Myers <joseph@codesourcery.com>
273 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
275 2019-01-18 Martin Liska <mliska@suse.cz>
277 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
279 (__gcov_indirect_call_profiler_v3): ... this.
280 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
281 (__gcov_indirect_call_profiler_v3): Likewise.
282 * Makefile.in: Bump function name.
284 2019-01-18 Martin Liska <mliska@suse.cz>
286 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
287 (gcov_version): Use in gcov_error.
288 (merge_one_data): Likewise.
289 (dump_one_gcov): Likewise.
291 2019-01-18 Martin Liska <mliska@suse.cz>
293 * libgcov-driver.c (gcov_version_string): New function.
294 (gcov_version): Convert version integer into string.
296 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
297 Kwok Cheung Yeung <kcy@codesourcery.com>
298 Julian Brown <julian@codesourcery.com>
299 Tom de Vries <tom@codesourcery.com>
301 * config.host: Recognize amdgcn*-*-amdhsa.
302 * config/gcn/crt0.c: New file.
303 * config/gcn/lib2-divmod-hi.c: New file.
304 * config/gcn/lib2-divmod.c: New file.
305 * config/gcn/lib2-gcn.h: New file.
306 * config/gcn/sfp-machine.h: New file.
307 * config/gcn/t-amdgcn: New file.
309 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
313 * config/c6x/libunwind.S: Mechanically replace "can not" with
315 * config/tilepro/atomic.h: Likewise.
316 * config/vxlib-tls.c: Likewise.
317 * generic-morestack-thread.c: Likewise.
318 * generic-morestack.c: Likewise.
319 * mkmap-symver.awk: Likewise.
321 2019-01-01 Jakub Jelinek <jakub@redhat.com>
323 Update copyright years.
325 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
327 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
328 to ignore -Waddress-of-packed-member.
330 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
332 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
333 parameter and corresponding code.
334 (ARM_FUNC_START): Likewise in both definitions.
335 Also update footer comment about condition that need to match with
336 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
337 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
338 defined. Weakly define it in this case.
339 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
340 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
341 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
342 comment to keep condition in sync with the one in
343 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
345 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
347 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
348 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
350 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
352 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
353 and .cfi_endproc directives for VxWorks targets.
355 2018-12-05 Paul Koning <ni1d@arrl.net>
357 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
359 2018-11-27 Alan Modra <amodra@gmail.com>
361 * config/rs6000/morestack.S (__stack_split_initialize),
362 (__morestack_get_guard, __morestack_set_guard),
363 (__morestack_make_guard): Provide CFI covering these functions.
364 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
366 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
368 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
369 (sc_pt_regs_lr): Update for kernel.
370 (sc_pt_regs_tls): Update for kernel.
372 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
374 * config/csky/linux-unwind.h: Fix coding style.
376 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
378 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
379 (csky_fallback_frame_state): Modify the check of the
380 instructions to adapt to changes in the kernel
382 2018-11-09 Stafford Horne <shorne@gmail.com>
383 Richard Henderson <rth@twiddle.net>
385 * config.host: Add OpenRISC support.
386 * config/or1k/*: New.
388 2018-11-08 Kito Cheng <kito@andestech.com>
390 * soft-fp/adddf3.c: Update from glibc.
391 * soft-fp/addsf3.c: Likewise.
392 * soft-fp/addtf3.c: Likewise.
393 * soft-fp/divdf3.c: Likewise.
394 * soft-fp/divsf3.c: Likewise.
395 * soft-fp/divtf3.c: Likewise.
396 * soft-fp/double.h: Likewise.
397 * soft-fp/eqdf2.c: Likewise.
398 * soft-fp/eqsf2.c: Likewise.
399 * soft-fp/eqtf2.c: Likewise.
400 * soft-fp/extenddftf2.c: Likewise.
401 * soft-fp/extended.h: Likewise.
402 * soft-fp/extendhftf2.c: Likewise.
403 * soft-fp/extendsfdf2.c: Likewise.
404 * soft-fp/extendsftf2.c: Likewise.
405 * soft-fp/extendxftf2.c: Likewise.
406 * soft-fp/fixdfdi.c: Likewise.
407 * soft-fp/fixdfsi.c: Likewise.
408 * soft-fp/fixdfti.c: Likewise.
409 * soft-fp/fixhfti.c: Likewise.
410 * soft-fp/fixsfdi.c: Likewise.
411 * soft-fp/fixsfsi.c: Likewise.
412 * soft-fp/fixsfti.c: Likewise.
413 * soft-fp/fixtfdi.c: Likewise.
414 * soft-fp/fixtfsi.c: Likewise.
415 * soft-fp/fixtfti.c: Likewise.
416 * soft-fp/fixunsdfdi.c: Likewise.
417 * soft-fp/fixunsdfsi.c: Likewise.
418 * soft-fp/fixunsdfti.c: Likewise.
419 * soft-fp/fixunshfti.c: Likewise.
420 * soft-fp/fixunssfdi.c: Likewise.
421 * soft-fp/fixunssfsi.c: Likewise.
422 * soft-fp/fixunssfti.c: Likewise.
423 * soft-fp/fixunstfdi.c: Likewise.
424 * soft-fp/fixunstfsi.c: Likewise.
425 * soft-fp/fixunstfti.c: Likewise.
426 * soft-fp/floatdidf.c: Likewise.
427 * soft-fp/floatdisf.c: Likewise.
428 * soft-fp/floatditf.c: Likewise.
429 * soft-fp/floatsidf.c: Likewise.
430 * soft-fp/floatsisf.c: Likewise.
431 * soft-fp/floatsitf.c: Likewise.
432 * soft-fp/floattidf.c: Likewise.
433 * soft-fp/floattihf.c: Likewise.
434 * soft-fp/floattisf.c: Likewise.
435 * soft-fp/floattitf.c: Likewise.
436 * soft-fp/floatundidf.c: Likewise.
437 * soft-fp/floatundisf.c: Likewise.
438 * soft-fp/floatunditf.c: Likewise.
439 * soft-fp/floatunsidf.c: Likewise.
440 * soft-fp/floatunsisf.c: Likewise.
441 * soft-fp/floatunsitf.c: Likewise.
442 * soft-fp/floatuntidf.c: Likewise.
443 * soft-fp/floatuntihf.c: Likewise.
444 * soft-fp/floatuntisf.c: Likewise.
445 * soft-fp/floatuntitf.c: Likewise.
446 * soft-fp/gedf2.c: Likewise.
447 * soft-fp/gesf2.c: Likewise.
448 * soft-fp/getf2.c: Likewise.
449 * soft-fp/half.h: Likewise.
450 * soft-fp/ledf2.c: Likewise.
451 * soft-fp/lesf2.c: Likewise.
452 * soft-fp/letf2.c: Likewise.
453 * soft-fp/muldf3.c: Likewise.
454 * soft-fp/mulsf3.c: Likewise.
455 * soft-fp/multf3.c: Likewise.
456 * soft-fp/negdf2.c: Likewise.
457 * soft-fp/negsf2.c: Likewise.
458 * soft-fp/negtf2.c: Likewise.
459 * soft-fp/op-1.h: Likewise.
460 * soft-fp/op-2.h: Likewise.
461 * soft-fp/op-4.h: Likewise.
462 * soft-fp/op-8.h: Likewise.
463 * soft-fp/op-common.h: Likewise.
464 * soft-fp/quad.h: Likewise.
465 * soft-fp/single.h: Likewise.
466 * soft-fp/soft-fp.h: Likewise.
467 * soft-fp/subdf3.c: Likewise.
468 * soft-fp/subsf3.c: Likewise.
469 * soft-fp/subtf3.c: Likewise.
470 * soft-fp/truncdfsf2.c: Likewise.
471 * soft-fp/trunctfdf2.c: Likewise.
472 * soft-fp/trunctfhf2.c: Likewise.
473 * soft-fp/trunctfsf2.c: Likewise.
474 * soft-fp/trunctfxf2.c: Likewise.
475 * soft-fp/unorddf2.c: Likewise.
476 * soft-fp/unordsf2.c: Likewise.
477 * soft-fp/unordtf2.c: Likewise.
479 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
481 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
482 * config/i386/cpuinfo.h (processor_types): Add znver2.
484 2018-11-01 Paul Koning <ni1d@arrl.net>
486 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
487 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
489 2018-10-31 Joseph Myers <joseph@codesourcery.com>
492 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
493 * configure: Regenerate.
495 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
497 * config/arc/lib1funcs.S (_muldi3): New function.
498 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
500 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
502 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
504 2018-10-25 Martin Liska <mliska@suse.cz>
507 * libgcov-profiler.c: Revert.
509 2018-10-24 Martin Liska <mliska@suse.cz>
511 * libgcov-profiler.c: Start from 1 in order to distinguish
512 functions which were seen and these that were not.
514 2018-10-18 Paul Koning <ni1d@arrl.net>
516 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
518 * divmod.c: Update references to __udivmodsi4.
520 * udivhi3.c: New file.
521 * udivmodhi4.c: New file.
522 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
524 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
526 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
528 2018-10-12 Olivier Hainque <hainque@adacore.com>
530 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
531 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
533 2018-10-08 Paul Koning <ni1d@arrl.net>
535 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
537 2018-10-04 Martin Liska <mliska@suse.cz>
539 PR gcov-profile/84107
540 * libgcov-profiler.c (__gcov_indirect_call):
541 Change type to indirect_call_tuple.
542 (struct indirect_call_tuple): New struct.
543 (__gcov_indirect_call_topn_profiler): Change type.
544 (__gcov_indirect_call_profiler_v2): Use the new
546 * libgcov.h (struct indirect_call_tuple): New struct
549 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
551 * libgcc2.c (isnan): Use __builtin_isnan.
552 (isfinite): Use __builtin_isfinite.
553 (isinf): Use __builtin_isinf.
555 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
557 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
559 2018-09-21 Alexandre Oliva <oliva@adacore.com>
561 * config/vxcache.c: New file. Provide __clear_cache, based on
562 the cacheTextUpdate VxWorks service.
563 * config/t-vxworks (LIB2ADD): Add vxcache.c.
564 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
565 * config/t-vxwoks7: Likewise.
567 2018-09-21 Martin Liska <mliska@suse.cz>
569 * libgcov-driver.c (crc32_unsigned): Remove.
570 (gcov_histogram_insert): Likewise.
571 (gcov_compute_histogram): Likewise.
572 (compute_summary): Simplify rapidly.
573 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
574 (merge_summary): Rapidly simplify.
575 (dump_one_gcov): Ignore gcov_summary.
576 (gcov_do_dump): Do not handle program summary, it's not
578 * libgcov-util.c (tag_summary): Remove.
579 (read_gcda_finalize): Fix coding style.
580 (read_gcda_file): Initialize curr_object_summary.
581 (compute_summary): Remove.
582 (calculate_overlap): Remove settings of run_max.
584 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
586 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
587 ucontext_t type instead.
588 (nds32_fallback_frame_state): Remove struct _sigframe statement.
590 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
592 * config/nds32/t-nds32-glibc: New file.
594 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
596 * configure.ac (solaris_ld_v2_maps): New test.
597 * configure: Regenerate.
598 * Makefile.in (solaris_ld_v2_maps): New variable.
599 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
602 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
605 * config/arm/lib1funcs.asm (speculation_barrier): New function.
606 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
609 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
611 * config/unwind-dw2-fde-darwin.c
612 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
613 * config/darwin10-unwind-find-enc-func.c: … to here.
614 * config/t-darwin: Build Darwin10 unwinder shim crt.
615 * libgcc/config.host: Add the Darwin10 unwinder shim.
617 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
619 * config.host: Add crtbegin.o and crtend.o for
620 powerpc-wrs-vxworks target.
622 2018-08-17 Jojo <jijie_rong@c-sky.com>
623 Huibin Wang <huibin_wang@c-sky.com>
624 Sandra Loosemore <sandra@codesourcery.com>
625 Chung-Lin Tang <cltang@codesourcery.com>
629 * config.host: Add C-SKY support.
630 * config/csky/*: New.
632 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
634 * config/nds32/t-nds32-isr: Rearrange object dependency.
635 * config/nds32/initfini.c: Add dwarf2 unwinding support.
636 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
638 * config/nds32/isr-library/excp_isr.S: Ditto.
639 * config/nds32/isr-library/intr_isr.S: Ditto.
640 * config/nds32/isr-library/reset.S: Ditto.
641 * config/nds32/isr-library/restore_all.inc: Ditto.
642 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
643 * config/nds32/isr-library/restore_partial.inc: Ditto.
644 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
645 * config/nds32/isr-library/save_all.inc: Ditto.
646 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
647 * config/nds32/isr-library/save_partial.inc: Ditto.
648 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
649 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
651 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
653 * config/pa/linux-atomic.c: Update comment.
654 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
655 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
656 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
657 __ATOMIC_RELAXED for atomic loads.
658 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
659 unordered store to release lock.
660 (__sync_lock_release_8): Likewise.
661 (SYNC_LOCK_RELEASE_2): Remove define.
663 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
666 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
667 exponent goes negative. Update my email address.
668 * config/arm/ieee754-sf.S: Likewise.
670 2018-08-01 Martin Liska <mliska@suse.cz>
672 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
673 check that __gcov_indirect_call_callee is non-null.
675 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
677 * config/arm/ieee754-df.S: Fix comment for code working on
679 * config/arm/ieee754-sf.S: Likewise.
681 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
684 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
687 2018-07-05 James Clarke <jrtc27@jrtc27.com>
689 * configure: Regenerated.
691 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
693 * Makefile.in (install_leaf): Use enable_gcov instead of
696 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
698 * configure.ac: Add --disable-gcov option.
699 * configure: Regenerate.
700 * Makefile.in: Honour @enable_gcov@.
702 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
704 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
705 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
706 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
707 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
709 * config/arm/ieee754-sf.S: Likewise.
710 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
712 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
714 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
716 * config/arm/ieee754-sf.S: Likewise.
718 2018-06-20 Than McIntosh <thanm@google.com>
721 * generic-morestack.c (allocate_segment): Move calls to getenv and
722 getpagesize to __morestack_load_mmap.
723 (__morestack_load_mmap) Initialize static_pagesize and
724 use_guard_page here so as to avoid clobbering SSE regs during a
727 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
729 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
730 support modules with -mno-gnu-attribute.
731 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
733 2018-06-07 Olivier Hainque <hainque@adacore.com>
735 * config/t-vxworks (LIBGCC_INCLUDES): Add
736 -I$(MULTIBUILDTOP)../../gcc/include.
737 * config/t-vxworks7: Likewise. Reformat a bit to match
738 the t-vxworks layout.
740 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
742 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
744 2018-06-07 Martin Liska <mliska@suse.cz>
746 * libgcov-driver.c: Rename cs_all to all and assign it from
749 2018-06-07 Martin Liska <mliska@suse.cz>
752 * libgcov-driver-system.c (replace_filename_variables): Use
753 memcpy instead of mempcpy.
754 (allocate_filename_struct): Do not allocate filename, allocate
756 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
757 here and properly copy content into it.
758 * libgcov-driver.c (struct gcov_filename): Remove max_length
759 field, change prefix from size_t into char *.
760 (compute_summary): Do not calculate longest filename.
761 (gcov_do_dump): Release memory of gf.filename after each file.
762 * libgcov-util.c (compute_summary): Use new signature of
764 (calculate_overlap): Likewise.
766 2018-06-05 Martin Liska <mliska@suse.cz>
768 PR gcov-profile/47618
769 * libgcov-driver-system.c (replace_filename_variables): New
771 (gcov_exit_open_gcda_file): Use it.
773 2018-06-05 Martin Liska <mliska@suse.cz>
775 * libgcov-driver.c (gcov_compute_histogram): Remove usage
777 (compute_summary): Do it just for a single summary.
778 (merge_one_data): Likewise.
779 (merge_summary): Simplify as we read just single summary.
780 (dump_one_gcov): Pass proper argument.
781 * libgcov-util.c (compute_one_gcov): Simplify as we have just
783 (gcov_info_count_all_cold): Likewise.
784 (calculate_overlap): Likewise.
786 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
787 Monk Chiang <sh.chiang04@gmail.com>
789 * config.host (nds32*-linux*): New.
790 * config/nds32/linux-atomic.c: New file.
791 * config/nds32/linux-unwind.h: New file.
793 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
796 * config/i386/cpuinfo.c (get_amd_cpu): Return
797 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
799 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
801 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
803 2018-05-29 Martin Liska <mliska@suse.cz>
805 PR gcov-profile/85759
806 * libgcov-driver-system.c (gcov_error): Introduce usage of
807 GCOV_EXIT_AT_ERROR env. variable.
808 * libgcov-driver.c (merge_one_data): Print error that we
809 overwrite a gcov file with a different timestamp.
811 2018-05-23 Kalamatee <kalamatee@gmail.com>
813 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
816 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
817 Monk Chiang <sh.chiang04@gmail.com>
818 Jim Wilson <jimw@sifive.com>
820 * config/riscv/save-restore.S: Add support for rv32e.
822 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
824 * config/arm/libunwind.S: Update comment relating to armv5.
826 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
828 * config/arm/cmse.c (cmse_check_address_range): Replace
829 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
831 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
833 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
834 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
836 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
838 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
839 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
841 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
843 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
845 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
846 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
849 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
850 op_and_fetch to return the right result.
852 2018-04-27 Alan Modra <amodra@gmail.com>
855 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
856 -fno-asynchronous-unwind-tables.
858 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
860 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
861 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
863 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
865 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
866 when including "config/i386/shadow-stack-unwind.h".
868 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
870 * configure: Regenerated.
872 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
875 * config/rs6000/_powikf2.c: New file. Add support for the
876 __builtin_powil function when long double is IEEE 128-bit floating
878 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
880 (__powikf2): Likewise.
881 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
882 (__powikf2_hw): Likewise.
883 (__powikf2): Likewise.
884 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
885 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
886 (_powikf2-hw.c): Likewise.
888 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
891 * unwind-generic.h (_Unwind_Frames_Increment): New.
892 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
894 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
895 count with _Unwind_Frames_Increment.
896 (_Unwind_ForcedUnwind_Phase2): Likewise.
898 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
901 * config/i386/morestack.S (__stack_split_initialize): Add
904 2018-04-19 Jakub Jelinek <jakub@redhat.com>
906 * configure: Regenerated.
908 2018-04-18 David Malcolm <dmalcolm@redhat.com>
911 * configure: Regenerate.
913 2018-04-16 Jakub Jelinek <jakub@redhat.com>
916 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
917 -Wdangling-else warnings. Mask shift counts to avoid
918 -Wshift-count-negative and -Wshift-count-overflow false positives.
920 2018-04-06 Ruslan Bukin <br@bsdpad.com>
922 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
924 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
927 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
928 (XSTATE_FP): Likewise.
929 (XSTATE_SSE): Likewise.
930 (XSTATE_YMM): Likewise.
931 (XSTATE_OPMASK): Likewise.
932 (XSTATE_ZMM): Likewise.
933 (XSTATE_HI_ZMM): Likewise.
934 (XCR_AVX_ENABLED_MASK): Likewise.
935 (XCR_AVX512F_ENABLED_MASK): Likewise.
936 (get_available_features): Enable AVX and AVX512 features only
937 if their states are supported by OSXSAVE.
939 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
942 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
943 Fix a typo, tmp => 255.
945 2018-03-20 Jakub Jelinek <jakub@redhat.com>
948 * config/i386/cpuinfo.h (__cpu_features2): Declare.
949 * config/i386/cpuinfo.c (__cpu_features2): New variable for
951 (set_feature): Define.
952 (get_available_features): Use set_feature macro. Set __cpu_features2
953 to the second word of features ifndef SHARED.
955 2018-03-15 Julia Koval <julia.koval@intel.com>
957 * config/i386/cpuinfo.c (get_available_features): Add
958 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
959 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
960 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
961 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
962 FEATURE_AVX512BITALG.
964 2018-03-14 Julia Koval <julia.koval@intel.com>
966 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
967 icelake client and icelake server.
969 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
971 * config/pa/fptr.c (_dl_read_access_allowed): New.
972 (__canonicalize_funcptr_for_compare): Use it.
974 2018-02-28 Jakub Jelinek <jakub@redhat.com>
977 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
978 $asm_hidden_op if visibility ("hidden") attribute works.
979 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
980 * config/i386/i386-asm.h: Don't include auto-host.h.
981 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
982 PACKAGE_URL): Don't undefine.
983 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
984 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
985 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
986 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
987 definition instead of hardcoded .hidden.
988 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
989 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
990 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
991 (USE_GAS_CFI_DIRECTIVES): Don't define.
992 * configure: Regenerated.
993 * config.in: Likewise.
995 2018-02-26 Jakub Jelinek <jakub@redhat.com>
998 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
999 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1000 inclusion of auto-target.h and auto-host.h.
1001 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1002 __GCC_HAVE_DWARF2_CFI_ASM.
1003 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1004 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1006 * config/i386/cygwin.S: Don't include auto-host.h here, just
1007 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1008 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1009 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1010 * config/i386/resms64fx.h: Add cfi_* directives.
1011 * config/i386/resms64x.h: Likewise.
1013 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1015 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1016 .literal_position directive.
1017 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1019 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1022 * configure: Regenerate.
1024 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1027 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1028 Include cetintrin.h not x86intrin.h.
1030 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1033 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1034 Use new _get_ssp and _inc_ssp intrinsics.
1036 2018-02-02 Julia Koval <julia.koval@intel.com>
1038 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1040 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1042 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1044 (__divsi3): Use RF16 safe registers.
1045 (__modsi3): Likewise.
1047 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1049 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1050 (__divsf3): Make NaN return value quiet.
1051 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1052 (__divdf3): Make NaN return value quiet.
1054 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1056 * config/rl78/anddi3.S: New assembly file.
1057 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1059 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1061 * config/rl78/umindi3.S: New assembly file.
1062 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1064 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1066 * config/rl78/smindi3.S: New assembly file.
1067 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1069 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1071 * config/rl78/smaxdi3.S: New assembly file.
1072 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1074 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1076 * config/rl78/umaxdi3.S: New assembly file.
1077 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1079 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1082 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1083 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1085 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1087 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1088 (DWARF_LAZY_REGISTER_VALUE): Define.
1089 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1090 to provide a fallback register value.
1092 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1094 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1095 __ibm128, instead of trying to use long double.
1096 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1097 accomidate -mabi=ieeelongdouble multilibs.
1098 (CVT_IBM128_TO_FLOAT128): Likewise.
1099 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1100 the appropriate IBM extended double type.
1101 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1102 (__gcc_qsub): Likewise.
1103 (__gcc_qmul): Likewise.
1104 (__gcc_qdiv): Likewise.
1105 (pack_ldouble): Likewise.
1106 (__gcc_qneg): Likewise.
1107 (__gcc_qeq): Likewise.
1108 (__gcc_qne): Likewise.
1109 (__gcc_qge): Likewise.
1110 (__gcc_qle): Likewise.
1111 (__gcc_stoq): Likewise.
1112 (__gcc_dtoq): Likewise.
1113 (__gcc_itoq): Likewise.
1114 (__gcc_utoq): Likewise.
1115 (__gcc_qunord): Likewise.
1116 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1117 quad-float128.h for the definitions.
1118 (COPYSIGN): Use the f128 version instead of the q version.
1119 (INFINITY): Likewise.
1120 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1121 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1122 quad-float128.h for the definitions.
1123 (COPYSIGN): Use the f128 version instead of the q version.
1124 (INFINITY): Likewise.
1126 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1127 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1128 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1130 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1132 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1135 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1137 Update copyright years.
1139 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1141 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1142 * config/riscv/multi3.c: New file.
1143 * config/riscv/multi3.S: Remove.
1145 2017-12-08 Jim Wilson <jimw@sifive.com>
1147 * config/riscv/div.S: Use FUNC_* macros.
1148 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1149 * config/riscv/save-restore.S: Likewise.
1150 * config/riscv/riscv-asm.h: New.
1152 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1154 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1155 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1158 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1159 correct type for all ifunc resolvers to silence -Wattribute-alias
1160 warnings. Eliminate the forward declaration of the resolver
1161 functions which is no longer needed.
1162 (__subkf3_resolve): Likewise.
1163 (__mulkf3_resolve): Likewise.
1164 (__divkf3_resolve): Likewise.
1165 (__negkf2_resolve): Likewise.
1166 (__eqkf2_resolve): Likewise.
1167 (__nekf2_resolve): Likewise.
1168 (__gekf2_resolve): Likewise.
1169 (__gtkf2_resolve): Likewise.
1170 (__lekf2_resolve): Likewise.
1171 (__ltkf2_resolve): Likewise.
1172 (__unordkf2_resolve): Likewise.
1173 (__extendsfkf2_resolve): Likewise.
1174 (__extenddfkf2_resolve): Likewise.
1175 (__trunckfsf2_resolve): Likewise.
1176 (__trunckfdf2_resolve): Likewise.
1177 (__fixkfsi_resolve): Likewise.
1178 (__fixkfdi_resolve): Likewise.
1179 (__fixunskfsi_resolve): Likewise.
1180 (__fixunskfdi_resolve): Likewise.
1181 (__floatsikf_resolve): Likewise.
1182 (__floatdikf_resolve): Likewise.
1183 (__floatunsikf_resolve): Likewise.
1184 (__floatundikf_resolve): Likewise.
1185 (__extendkftf2_resolve): Likewise.
1186 (__trunctfkf2_resolve): Likewise.
1189 * config/rs6000/quad-float128.h (TF): Don't define if long double
1190 is IEEE 128-bit floating point.
1191 (TCtype): Define as either TCmode or KCmode, depending on whether
1192 long double is IEEE 128-bit floating point.
1193 (__mulkc3_sw): Add declarations for software/hardware versions of
1194 complex multiply/divide.
1195 (__divkc3_sw): Likewise.
1196 (__mulkc3_hw): Likewise.
1197 (__divkc3_hw): Likewise.
1198 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1199 handlers to switch between using software emulation and hardware
1200 float128 instructions, build the complex multiply/divide functions
1201 for both software and hardware support.
1202 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1203 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1204 (__divkc3_resolve): Likewise.
1205 (__mulkc3): Likewise.
1206 (__divkc3): Likewise.
1207 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1208 (fp128_hw_src): Likewise.
1209 (fp128_hw_static_obj): Likewise.
1210 (fp128_hw_shared_obj): Likewise.
1211 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1212 _mulkc3.c and _divkc3.c, changing the function name.
1213 (_divkc3-hw.c): Likewise.
1214 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1217 2017-11-26 Julia Koval <julia.koval@intel.com>
1219 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1220 * config/i386/cpuinfo.h (processor_subtypes): Add
1221 INTEL_COREI7_CANNONLAKE.
1223 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1226 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1228 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1229 * config/ia64/unwind-ia64.c: Add frames parameter.
1230 * unwind-sjlj.c: Likewise.
1232 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1234 * config/i386/linux-unwind.h: Include
1235 config/i386/shadow-stack-unwind.h.
1236 * config/i386/shadow-stack-unwind.h: New file.
1237 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1238 pass it to _Unwind_Frames_Extra.
1239 * unwind-generic.h (_Unwind_Frames_Extra): New.
1240 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1241 parameter. Add local variable frames to count number of frames.
1242 (_Unwind_ForcedUnwind_Phase2): Likewise.
1243 (_Unwind_RaiseException): Add local variable frames to count
1244 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1246 (_Unwind_ForcedUnwind): Likewise.
1247 (_Unwind_Resume): Likewise.
1248 (_Unwind_Resume_or_Rethrow): Likewise.
1250 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1252 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1254 * config/i386/morestack.S: Include <cet.h>.
1255 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1256 * config/i386/resms64.h: Include <cet.h>.
1257 * config/i386/resms64f.h: Likewise.
1258 * config/i386/resms64fx.h: Likewise.
1259 * config/i386/resms64x.h: Likewise.
1260 * config/i386/savms64.h: Likewise.
1261 * config/i386/savms64f.h: Likewise.
1262 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1263 (CRTSTUFF_T_CFLAGS): Likewise.
1264 * configure.ac: Include ../config/cet.m4.
1265 Set and substitute CET_FLAGS.
1266 * configure: Regenerated.
1268 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1270 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1272 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1273 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1274 * configure: Regenerate.
1276 2017-11-07 Tom de Vries <tom@codesourcery.com>
1278 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1279 after "do {} while (0)".
1281 2017-11-07 Tom de Vries <tom@codesourcery.com>
1284 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1285 semicolon after "do {} while (0)".
1286 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1287 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1288 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1289 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1291 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1294 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1295 sysctl to determine whether we're in a trampoline.
1296 Keep the pattern matching method for systems without
1297 KERN_PROC_SIGTRAMP sysctl.
1299 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1300 Vineet Gupta <vgupta@synopsys.com>
1302 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1303 * config/arc/linux-unwind-reg.def: New file.
1304 * config/arc/linux-unwind-reg.h: Likewise.
1306 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1308 * config/rl78/subdi3.S: New assembly file.
1309 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1311 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1313 * config/rl78/adddi3.S: New assembly file.
1314 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1316 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1319 * libgcc2.c (__mulvDI3): If both operands have
1320 the same highpart of -1 and the topmost bit of lowpart is 0,
1321 multiplication overflows even if both lowparts are 0.
1323 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1325 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1327 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1329 * config/microblaze/crti.S, config/microblaze/crtn.S,
1330 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1331 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1332 config/microblaze/mulsi3.S,
1333 config/microblaze/stack_overflow_exit.S,
1334 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1335 config/pa/milli64.S: Add .note.GNU-stack section.
1337 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1339 * configure.ac: Add Check for HAVE_AS_AVX.
1340 * config.in: Regenerate.
1341 * configure: Likewise.
1342 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1343 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1344 Correct out-of-date comments.
1346 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1348 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1349 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1351 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1353 * config/i386/i386-asm.h (PASTE2): New macro.
1354 (ASMNAME): Modify to use PASTE2.
1355 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1356 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1357 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1358 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1359 * config/i386/resms64f.S: Likewise.
1360 * config/i386/resms64fx.S: Likewise.
1361 * config/i386/resms64x.S: Likewise.
1362 * config/i386/savms64.S: Likewise.
1363 * config/i386/savms64f.S: Likewise.
1364 * config/i386/avx_resms64.S: New file that only defines a macro and
1365 includes it's corresponding header file.
1366 * config/i386/avx_resms64f.S: Likewise.
1367 * config/i386/avx_resms64fx.S: Likewise.
1368 * config/i386/avx_resms64x.S: Likewise.
1369 * config/i386/avx_savms64.S: Likewise.
1370 * config/i386/avx_savms64f.S: Likewise.
1371 * config/i386/sse_resms64.S: Likewise.
1372 * config/i386/sse_resms64f.S: Likewise.
1373 * config/i386/sse_resms64fx.S: Likewise.
1374 * config/i386/sse_resms64x.S: Likewise.
1375 * config/i386/sse_savms64.S: Likewise.
1376 * config/i386/sse_savms64f.S: Likewise.
1377 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1379 2017-09-01 Olivier Hainque <hainque@adacore.com>
1380 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1382 2017-08-31 Olivier Hainque <hainque@adacore.com>
1384 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1385 match as powerpc-wrs-vxworks*.
1387 2017-08-07 Jonathan Yong <10walls@gmail.com>
1389 * config.host (*-cygwin): Include file from mingw
1390 config/i386/enable-execute-stack-mingw32.c
1392 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1393 Doug Rupp <rupp@adacore.com>
1394 Olivier Hainque <hainque@adacore.com>
1396 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1397 as well as arm-wrs-vxworks.
1398 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1400 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1401 __exidx_start and __exidx_end for downloadable modules.
1403 2017-08-01 Olivier Hainque <hainque@adacore.com>
1405 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1406 * config/t-vxworks7: Likewise.
1408 2017-08-01 Olivier Hainque <hainque@adacore.com>
1410 * config/t-vxworks: Instead of redefining LIB2ADD,
1411 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1413 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1415 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1417 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1420 * config.host: include i386/t-msabi for darwin and solaris.
1421 * config/i386/i386-asm.h
1422 (ELFFN): Rename to FN_TYPE.
1423 (FN_SIZE): New macro.
1424 (FN_HIDDEN): Likewise.
1425 (ASMNAME): Likewise.
1426 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1428 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1429 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1430 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1432 * config/i386/resms64f.S: Likewise.
1433 * config/i386/resms64fx.S: Likewise.
1434 * config/i386/resms64x.S: Likewise.
1435 * config/i386/savms64.S: Likewise.
1436 * config/i386/savms64f.S: Likewise.
1438 2017-07-19 John Marino <gnugcc@marino.st>
1440 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1442 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1445 * configure.ac (PowerPC float128 hardware support): Test whether
1446 we can use __builtin_cpu_supports before enabling the ifunc
1448 * configure: Regenerate.
1450 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1452 * config.host: Remove uclibc from arc target spec.
1454 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1456 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1458 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1460 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1461 (have_ieee_hw_p): Delete function.
1462 (SW_OR_HW) Use __builtin_cpu_supports().
1464 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1466 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1468 2017-07-03 Olivier Hainque <hainque@adacore.com>
1470 * config/t-vxworks7: New file, really.
1472 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1474 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1475 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1476 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1477 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1478 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1479 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1480 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1481 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1482 config/sh/linux-unwind.h (sh_fallback_frame_state),
1483 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1484 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1485 ucontext_t instead of struct ucontext.
1487 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1489 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1490 (x86_64-wrs-vxworks7): Likewise.
1492 2017-06-27 Olivier Hainque <hainque@adacore.com>
1494 * config/t-vxworks7: New file.
1495 * config.host (*-*-vxworks7): Use it.
1497 2017-06-22 Matt Turner <mattst88@gmail.com>
1499 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1502 2017-06-21 Richard Biener <rguenther@suse.de>
1504 PR gcov-profile/81080
1505 * configure.ac: Add AC_SYS_LARGEFILE.
1506 * libgcov.h: Include auto-target.h before tsystem.h to pick
1507 up _FILE_OFFSET_BITS which might differ for multilibs.
1508 * config.in: Regenerate.
1509 * configure: Likewise.
1511 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1513 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1515 2017-06-09 Martin Liska <mliska@suse.cz>
1517 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1518 Reset __gcov_indirect_call_callee to NULL.
1520 2017-06-08 Olivier Hainque <hainque@adacore.com>
1522 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1523 the set of -I options, support for direct inclusions of net/uio.h
1524 by VxWorks header files via ioLib.h.
1526 2017-06-07 Tony Reix <tony.reix@atos.net>
1527 Matthieu Sarter <matthieu.sarter.external@atos.net>
1528 David Edelsohn <dje.gcc@gmail.com>
1530 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1532 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1535 2017-06-02 Olivier Hainque <hainque@adacore.com>
1537 * config/vxlib.c (__gthread_once): Add missing value to
1540 2017-05-30 Olivier Hainque <hainque@adacore.com>
1542 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1543 dollar sign before $(MULTIDIR).
1545 2017-05-26 Richard Henderson <rth@redhat.com>
1548 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1550 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1552 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1553 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1554 * config/arm/unwind-arm.c: Implement the above.
1556 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1558 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1559 section for a non-executable stack.
1561 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1564 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1566 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1568 * config.host: Add i386/t-msabi to i386/t-linux file list.
1569 * config/i386/i386-asm.h: New file.
1570 * config/i386/resms64.S: New file.
1571 * config/i386/resms64f.S: New file.
1572 * config/i386/resms64fx.S: New file.
1573 * config/i386/resms64x.S: New file.
1574 * config/i386/savms64.S: New file.
1575 * config/i386/savms64f.S: New file.
1576 * config/i386/t-msabi: New file.
1578 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1580 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1581 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1583 2017-05-05 Joshua Conner <joshconner@google.com>
1585 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1586 pc-relative indirect handling for fuchsia.
1587 * config/t-slibgcc-fuchsia: New file.
1588 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1589 x86_64-*-fuchsia*): Add definitions.
1591 2017-04-19 Martin Liska <mliska@suse.cz>
1593 PR gcov-profile/80435
1594 * Makefile.in: Install gcov.h.
1596 * libgcov.h: Use the header and make __gcov_flush publicly
1599 2017-04-18 Martin Liska <mliska@suse.cz>
1601 PR gcov-profile/78783
1602 * libgcov-driver.c (gcov_get_filename): New function.
1604 2017-04-07 Jeff Law <law@redhat.com>
1606 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1607 target makefile fragment.
1608 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1610 2017-04-07 Alan Modra <amodra@gmail.com>
1613 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1615 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1617 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1619 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1621 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1623 2017-03-10 John Marino <gnugcc@marino.st>
1625 * config/aarch64/freebsd-unwind.h: New file.
1626 * config.host: Add aarch64-*-freebsd unwinder.
1628 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1630 * config/rs6000/crtrestvr.s: Use .machine altivec.
1631 * config/rs6000/crtsavevr.s: Ditto.
1633 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1635 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1636 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1637 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1638 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1639 * configure: Regenerate.
1640 * config.in: Regenerate.
1642 2017-03-02 Jonathan Yong <10walls@gmail.com>
1644 * config/i386/gthr-win32.h: Define NOGDI before
1645 windows.h include to prevent w32api CC_NONE macro
1646 clash with libgfortran.
1648 2017-03-02 Jonathan Yong <10walls@gmail.com>
1650 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1652 2017-02-16 Andrew Pinski <apinski@cavium.com>
1654 * config/aarch64/value-unwind.h: New file.
1655 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1658 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1660 * config.host: Add RISC-V tuples.
1661 * config/riscv/atomic.c: New file.
1662 * config/riscv/crti.S: Likewise.
1663 * config/riscv/crtn.S: Likewise.
1664 * config/riscv/div.S: Likewise.
1665 * config/riscv/linux-unwind.h: Likewise.
1666 * config/riscv/muldi3.S: Likewise.
1667 * config/riscv/multi3.S: Likewise.
1668 * config/riscv/save-restore.S: Likewise.
1669 * config/riscv/sfp-machine.h: Likewise.
1670 * config/riscv/t-elf: Likewise.
1671 * config/riscv/t-elf32: Likewise.
1672 * config/riscv/t-elf64: Likewise.
1673 * config/riscv/t-softfp32: Likewise.
1674 * config/riscv/t-softfp64: Likewise.
1676 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1678 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1679 /* FALLTHRU */ comments.
1681 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1683 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1685 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1687 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1688 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1689 DW_CFA_GNU_window_save for AArch64 and LP64.
1691 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1693 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1695 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1697 * config/aarch64/aarch64-unwind.h: New file.
1698 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1699 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1700 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1701 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1702 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1703 (aarch64_post_extract_frame_addr): New function.
1704 (aarch64_post_frob_eh_handler_addr): New function.
1705 (aarch64_frob_update_context): New function.
1706 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1707 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1708 aarch64*-*-freebsd*):
1709 Initialize md_unwind_header to include aarch64-unwind.h.
1710 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1711 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1713 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1714 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1715 (uw_frob_return_addr): New function.
1716 (uw_install_context): Use uw_frob_return_addr.
1718 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1721 * configure.ac: Add GCC_BASE_VER.
1722 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1723 version from BASE-VER file.
1724 * configure: Regenerated.
1726 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1728 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1729 libmul_f5.a): Filter archived prerequisites.
1731 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1733 * config/i386/cpuinfo.h (processor_features): Add
1734 FEATURE_AVX512VPOPCNTDQ.
1735 * config/i386/cpuinfo.c (get_available_features): Habdle new
1738 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1740 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1741 payload if [__mips_nan2008].
1743 2017-01-04 Alan Modra <amodra@gmail.com>
1745 * Makefile.in (configure_deps): Update.
1746 * configure: Regenerate.
1748 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1750 Update copyright years.
1752 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1754 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1755 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1756 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1758 2016-12-17 Matthias Klose <doko@ubuntu.com>
1760 * config/arc/gmon: Remove empty directory.
1762 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1764 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1766 (arc*-*-elf*): Likewise.
1767 * config/arc/t-arc: Remove old gmon lib targets.
1768 * config/arc/crtg.S: Remove.
1769 * config/arc/crtgend.S: Likewise.
1770 * config/arc/gmon/atomic.h: Likewise.
1771 * config/arc/gmon/auxreg.h: Likewise.
1772 * config/arc/gmon/dcache_linesz.S: Likewise.
1773 * config/arc/gmon/gmon.c: Likewise.
1774 * config/arc/gmon/machine-gmon.h: Likewise.
1775 * config/arc/gmon/mcount.c: Likewise.
1776 * config/arc/gmon/prof-freq-stub.S: Likewise.
1777 * config/arc/gmon/prof-freq.c: Likewise.
1778 * config/arc/gmon/profil.S: Likewise.
1779 * config/arc/gmon/sys/gmon.h: Likewise.
1780 * config/arc/gmon/sys/gmon_out.h: Likewise.
1781 * config/arc/t-arc-newlib: Likewise.
1782 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1784 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1786 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1788 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1790 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1791 R16 instead of push + pop.
1792 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1794 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1796 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1799 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1801 * config.host (arc*-*-linux-uclibc*): Use default extra
1802 objects. Include linux-android header.
1803 * config/arc/crti.S (_init): Declare symbol as function.
1806 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1809 * config/i386/cpuinfo.c: Move denums for processor vendors,
1810 processor type, processor subtypes and declaration of
1811 struct __processor_model into
1812 * config/i386/cpuinfo.h: New header file.
1814 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1815 Thomas Preud'homme <thomas.preudhomme@arm.com>
1817 * config/arm/cmse_nonsecure_call.S: New.
1818 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1820 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1821 Thomas Preud'homme <thomas.preudhomme@arm.com>
1823 * config/arm/t-arm (HAVE_CMSE): New.
1824 * config/arm/cmse.c: New.
1826 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1829 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1830 use generic linker version information on Blackfin.
1833 * libgcc/mkmap-symver.awk: add support for skip_underscore
1835 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1836 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1839 * config/t-darwin: Default builds to 10.5 codegen.
1841 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1843 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1844 (_FP_NANSIGN_H): Likewise.
1845 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1846 (softfp_truncations): Add tfhf.
1847 (softfp_extras): Add required conversion functions.
1849 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1850 Matthew Wahab <matthew.wahab@arm.com>
1852 * config/arm/fp16.c (binary64): New.
1853 (__gnu_d2h_internal): New.
1854 (__gnu_d2h_ieee): New.
1855 (__gnu_d2h_alternative): New.
1857 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1858 Matthew Wahab <matthew.wahab@arm.com>
1860 * config/arm/fp16.c (struct format): New.
1862 (__gnu_float2h_internal): New. Body moved from
1863 __gnu_f2h_internal and generalize.
1864 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1865 Call it with binary32.
1867 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1869 * soft-fp/extendhftf2.c: Update from glibc.
1870 * soft-fp/fixhfti.c: Likewise.
1871 * soft-fp/fixunshfti.c: Likewise.
1872 * soft-fp/floattihf.c: Likewise.
1873 * soft-fp/floatuntihf.c: Likewise.
1874 * soft-fp/half.h: Likewise.
1875 * soft-fp/trunctfhf2.c: Likewise.
1877 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1880 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1881 __TMC_END__ behind a passthrough asm.
1883 2016-11-18 Walter Lee <walt@tilera.com>
1885 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1887 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1889 * config/i386/cpuinfo.c (processor_features): Add
1890 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1892 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1894 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1895 (__ARC_NORM__): Use instead ARC_OPTFPE.
1896 * config/arc/fp-hack.h: Likewise.
1897 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1898 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1900 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1902 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1903 * config/nvptx/mgomp.c: New file.
1904 * config/nvptx/t-nvptx: Add mgomp.c
1906 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1909 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1911 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1913 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1914 of checking for cpus.
1915 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1916 (__modsi3, __clzsi2): Likewise.
1918 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1920 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1921 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1922 * config/i386/t-cpuinfo-static: New.
1924 2016-11-03 Martin Liska <mliska@suse.cz>
1926 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1927 (__gcov_time_profiler_atomic): Likewise.
1929 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1932 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1933 count_leading_zeros.
1935 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1937 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1938 * libgcc2.c (__divmoddi4): New function.
1939 * libgcc2.h (__divmoddi4): Declare.
1940 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1941 and __PFX_divmodti4.
1943 2016-10-24 Florian Weimer <fweimer@redhat.com>
1946 * unwind-c.c: Include auto-target.h.
1948 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1950 * config/pa/pa64-hpux-lib.h: New file.
1951 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1952 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1953 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1956 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1958 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1960 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1962 * config/xtensa/t-windowed (LIB2ADDEH): Use
1963 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1966 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1968 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1969 __ieee754_sqrt): New functions.
1970 (__divdf3): Add implementation with new FPU instructions under
1971 #if XCHAL_HAVE_DFP_DIV.
1972 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1973 __ieee754_sqrtf): New functions.
1974 (__divsf3): Add implementation with new FPU instructions under
1975 #if XCHAL_HAVE_FP_DIV.
1976 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1977 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1979 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1981 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1983 * config/tilepro/atomic.c: Likewise and stop casting model to
1986 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1989 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1992 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1994 * config.host: Add support for aarch64-*-freebsd*.
1996 2016-10-05 Andreas Schwab <schwab@suse.de>
1998 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1999 (.section .init_array): Don't call __do_jv_register_classes.
2000 (.section .init): Likewise.
2002 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2004 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2005 (__JCR_LIST__): Remove.
2006 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2007 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2008 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2009 * config/ia64/crtend.S (__JCR_END__): Remove.
2010 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2012 (__JCR_LIST__, __JCR_END__): Remove.
2013 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2014 (__do_global_ctors_1): Likewise.
2016 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2018 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2019 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2021 2016-09-27 Martin Liska <mliska@suse.cz>
2023 PR gcov-profile/7970
2024 PR gcov-profile/16855
2025 PR gcov-profile/44779
2026 * libgcov-driver.c (__gcov_init): Do not register a atexit
2028 (__gcov_exit): Rename from gcov_exit.
2029 * libgcov.h (__gcov_exit): Declare.
2031 2016-09-27 Martin Liska <mliska@suse.cz>
2034 * Makefile.in: Remove _gcov_merge_delta.
2035 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2036 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2037 * libgcov.h: Remove declaration of __gcov_merge_delta.
2039 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2041 * configure.ac: Do not create links, only substitute the filenames.
2042 * configure: Regenerate.
2043 * Makefile.in: Assign the substitution results to variables.
2044 (LIBGCC_LINKS): Define.
2045 (enable-execute-stack.c): New rule.
2046 (unwind.h): Likewise.
2047 (md-unwind-support.h): Likewise.
2048 (sfp-machine.h): Likewise.
2049 (gthr-default.h): Likewise.
2050 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2051 unwind.h as prerequisite of install-unwind_h-forbuild.
2053 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2056 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2057 is not the primary registry and atomics are available.
2058 (any_objects_registered): New variable.
2059 (__register_frame_info_bases, __register_frame_info_table_bases):
2060 Atomically store 1 to any_objects_registered after registering first
2062 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2064 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2067 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2068 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2071 (__divhc3): Likewise.
2072 (__mulhc3): Likewise.
2073 * libgcc2.c: Support _mulhc3 and _divhc3.
2075 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2078 * libgcc2.c (NOTRUNC): Invert settings.
2080 2016-09-06 Martin Liska <mliska@suse.cz>
2082 PR gcov-profile/77378
2083 PR gcov-profile/77466
2084 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2085 conditionaly enable/disable *_atomic functions.
2087 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2089 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2090 where not already enabled.
2092 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2094 * config/mips/linux-unwind.h: Use sys/syscall.h.
2096 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2099 * soft-fp/adddf3.c: Update from glibc.
2100 * soft-fp/addsf3.c: Likewise.
2101 * soft-fp/addtf3.c: Likewise.
2102 * soft-fp/divdf3.c: Likewise.
2103 * soft-fp/divsf3.c: Likewise.
2104 * soft-fp/divtf3.c: Likewise.
2105 * soft-fp/double.h: Likewise.
2106 * soft-fp/eqdf2.c: Likewise.
2107 * soft-fp/eqsf2.c: Likewise.
2108 * soft-fp/eqtf2.c: Likewise.
2109 * soft-fp/extenddftf2.c: Likewise.
2110 * soft-fp/extended.h: Likewise.
2111 * soft-fp/extendsfdf2.c: Likewise.
2112 * soft-fp/extendsftf2.c: Likewise.
2113 * soft-fp/extendxftf2.c: Likewise.
2114 * soft-fp/fixdfdi.c: Likewise.
2115 * soft-fp/fixdfsi.c: Likewise.
2116 * soft-fp/fixdfti.c: Likewise.
2117 * soft-fp/fixsfdi.c: Likewise.
2118 * soft-fp/fixsfsi.c: Likewise.
2119 * soft-fp/fixsfti.c: Likewise.
2120 * soft-fp/fixtfdi.c: Likewise.
2121 * soft-fp/fixtfsi.c: Likewise.
2122 * soft-fp/fixtfti.c: Likewise.
2123 * soft-fp/fixunsdfdi.c: Likewise.
2124 * soft-fp/fixunsdfsi.c: Likewise.
2125 * soft-fp/fixunsdfti.c: Likewise.
2126 * soft-fp/fixunssfdi.c: Likewise.
2127 * soft-fp/fixunssfsi.c: Likewise.
2128 * soft-fp/fixunssfti.c: Likewise.
2129 * soft-fp/fixunstfdi.c: Likewise.
2130 * soft-fp/fixunstfsi.c: Likewise.
2131 * soft-fp/fixunstfti.c: Likewise.
2132 * soft-fp/floatdidf.c: Likewise.
2133 * soft-fp/floatdisf.c: Likewise.
2134 * soft-fp/floatditf.c: Likewise.
2135 * soft-fp/floatsidf.c: Likewise.
2136 * soft-fp/floatsisf.c: Likewise.
2137 * soft-fp/floatsitf.c: Likewise.
2138 * soft-fp/floattidf.c: Likewise.
2139 * soft-fp/floattisf.c: Likewise.
2140 * soft-fp/floattitf.c: Likewise.
2141 * soft-fp/floatundidf.c: Likewise.
2142 * soft-fp/floatundisf.c: Likewise.
2143 * soft-fp/floatunditf.c: Likewise.
2144 * soft-fp/floatunsidf.c: Likewise.
2145 * soft-fp/floatunsisf.c: Likewise.
2146 * soft-fp/floatunsitf.c: Likewise.
2147 * soft-fp/floatuntidf.c: Likewise.
2148 * soft-fp/floatuntisf.c: Likewise.
2149 * soft-fp/floatuntitf.c: Likewise.
2150 * soft-fp/gedf2.c: Likewise.
2151 * soft-fp/gesf2.c: Likewise.
2152 * soft-fp/getf2.c: Likewise.
2153 * soft-fp/ledf2.c: Likewise.
2154 * soft-fp/lesf2.c: Likewise.
2155 * soft-fp/letf2.c: Likewise.
2156 * soft-fp/muldf3.c: Likewise.
2157 * soft-fp/mulsf3.c: Likewise.
2158 * soft-fp/multf3.c: Likewise.
2159 * soft-fp/negdf2.c: Likewise.
2160 * soft-fp/negsf2.c: Likewise.
2161 * soft-fp/negtf2.c: Likewise.
2162 * soft-fp/op-1.h: Likewise.
2163 * soft-fp/op-2.h: Likewise.
2164 * soft-fp/op-4.h: Likewise.
2165 * soft-fp/op-8.h: Likewise.
2166 * soft-fp/op-common.h: Likewise.
2167 * soft-fp/quad.h: Likewise.
2168 * soft-fp/single.h: Likewise.
2169 * soft-fp/soft-fp.h: Likewise.
2170 * soft-fp/subdf3.c: Likewise.
2171 * soft-fp/subsf3.c: Likewise.
2172 * soft-fp/subtf3.c: Likewise.
2173 * soft-fp/truncdfsf2.c: Likewise.
2174 * soft-fp/trunctfdf2.c: Likewise.
2175 * soft-fp/trunctfsf2.c: Likewise.
2176 * soft-fp/trunctfxf2.c: Likewise.
2177 * soft-fp/unorddf2.c: Likewise.
2178 * soft-fp/unordsf2.c: Likewise.
2179 * soft-fp/unordtf2.c: Likewise.
2181 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2183 PR gcov-profile/67097
2184 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2186 2016-08-10 Martin Liska <mliska@suse.cz>
2188 PR gcov-profile/58306
2189 * Makefile.in: New functions (modules) are added.
2190 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2192 (__gcov_pow2_profiler_atomic): New function.
2193 (__gcov_one_value_profiler_body): New argument is instroduced.
2194 (__gcov_one_value_profiler): Call with the new argument.
2195 (__gcov_one_value_profiler_atomic): Likewise.
2196 (__gcov_indirect_call_profiler_v2): Likewise.
2197 (__gcov_time_profiler_atomic): New function.
2198 (__gcov_average_profiler_atomic): Likewise.
2199 (__gcov_ior_profiler_atomic): Likewise.
2200 * libgcov.h: Declare the aforementioned functions.
2202 2016-08-09 Martin Liska <mliska@suse.cz>
2204 * libgcov-util.c: Fix typo and GNU coding style.
2206 2016-08-09 Martin Liska <mliska@suse.cz>
2208 * Makefile.in: Remove __gcov_indirect_call_profiler.
2209 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2211 * libgcov.h: And the declaration of the function.
2213 2016-08-09 Martin Liska <mliska@suse.cz>
2215 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2218 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2220 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2221 * config/rs6000/_mulkc3.c: Likewise.
2223 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2225 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2226 zero_reg as previous call to __umulhisi3 already cleared it.
2228 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2231 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2233 2016-07-19 Nick Clifton <nickc@redhat.com>
2235 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2236 Add crtinit.o and crtfini.o to extra_parts.
2238 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2240 * config/rs6000/_divkc3.c: New.
2241 * config/rs6000/_mulkc3.c: New.
2242 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2244 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2247 2016-07-11 Hale Wang <hale.wang@arm.com>
2248 Andre Vieira <andre.simoesdiasvieira@arm.com>
2250 * config/arm/lib1funcs.S: Add new wrapper.
2252 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2254 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2256 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2258 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2259 and ARMv5t* rather than for a fixed list of architectures.
2261 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2263 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2264 implementation suitable for.
2265 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2266 for all Thumb-1 only targets.
2267 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2268 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2271 (ARM_FUNC_ALIAS): Likewise.
2272 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2275 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2278 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2279 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2280 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2281 __ARM_ARCH_6M__ and add comment to indicate the connection between
2282 this condition and the one in gcc/config/arm/elf.h.
2283 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2284 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2285 * config/arm/t-softfp: Likewise.
2287 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2289 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2290 CTOR_LISTS_DEFINED_EXTERNALLY.
2292 2016-06-28 Walter Lee <walt@tilera.com>
2294 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2296 (SPR_CMPEXCH_VALUE): Define for tilegx.
2297 (__NR_FAST_cmpxchg): Define for tilepro.
2298 (__NR_FAST_atomic_update): Define for tilepro.
2299 (__NR_FAST_cmpxchg64): Define for tilepro.
2301 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2303 * config.host: Add suport for arm*-*-phoenix* targets.
2305 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2307 * config.host: Remove support for mep-*.
2308 * config/mep/lib1funcs.S: Remove.
2309 * config/mep/lib2funcs.c: Remove.
2310 * config/mep/t-mep: Remove.
2311 * config/mep/tramp.c: Remove.
2313 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2315 * config.host: Remove support for avr-rtems.
2316 * config/avr/t-rtems: Remove.
2318 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2320 * config.host: Remove m32r-rtems support.
2322 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2324 * config.host: Remove h8300-rtems support.
2326 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2328 * config.host: Remove support for knetbsd.
2330 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2332 * config.host: Remove support for openbsd 2 and 3.
2334 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2336 * config.host: Remove interix support.
2337 * config/i386/t-interix: Remove.
2339 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2341 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2342 least-significant bit in function pointer for fixup.
2344 2016-06-05 Aaron Conole <aconole@redhat.com>
2345 Nathan Sidwell <nathan@acm.org>
2348 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2349 (get_gcov_error_file): Check __gcov_error_file before trying to
2351 (gcov_error): Always use get_gcov_error_file.
2353 2016-06-02 Aaron Conole <aconole@redhat.com>
2355 * libgcov-driver-system.c (__gcov_error_file): New.
2356 (get_gcov_error_file): New.
2357 (gcov_error): Use and set __gcov_error_file.
2358 (gcov_error_exit): New.
2359 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2361 2016-05-26 Nathan Sidwell <nathan@acm.org>
2363 * config/nvptx/free.asm: Delete.
2364 * config/nvptx/malloc.asm: Delete.
2365 * config/nvptx/realloc.c: Delete.
2368 2016-05-25 Nathan Sidwell <nathan@acm.org>
2370 * config/nvptx/crt0.s: Delete.
2371 * config/nvptx/crt0.c: New.
2374 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2376 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2377 dw2/seh configuration.
2378 [x86_64-*-mingw*]: Likewise.
2380 2016-05-10 Joel Sherrill <joel@rtems.org>
2383 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2384 targets so the same extra_parts are built. Also have tmake_file add
2385 on to its value rather than override.
2387 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2389 * config.host: Remove SH5 support.
2390 * configure: Likewise.
2392 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2394 * config/sh/crt1.S: Remove SH5 support.
2395 * config/sh/crti.S: Likewise.
2396 * config/sh/crtn.S: Likewise.
2397 * config/sh/lib1funcs-4-300.S: Likewise.
2398 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2399 * config/sh/lib1funcs.S: Likewise.
2400 * config/sh/linux-unwind.h: Likewise.
2401 * config/sh/t-sh64: Delete.
2403 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2405 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2407 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2408 Joern Rennecke <joern.rennecke@embecosm.com>
2410 * config/arc/crttls.S: New file.
2411 * config/arc/t-arc: New rule.
2412 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2414 2016-04-25 Nick Clifton <nickc@redhat.com>
2416 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2417 (__mspabi_cmpd): Likewise.
2418 * config/msp430/floathidf.c (__floathidf): Likewise.
2419 * config/msp430/floathisf.c (__floathisf): Likewise
2420 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2421 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2422 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2424 (__ashrsi3): Likewise.
2426 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2428 * config/m68k/linux-atomic.c: Do not include unistd.h
2430 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2432 * config/arm/ieee754-df.S: Fix typos in comments.
2434 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2437 * configure.ac (powerpc*-*-linux*): Rework tests to build
2438 __float128 emulation routines to not depend on using #pragma GCC
2439 target to enable -mfloat128.
2440 * configure: Regnerate.
2442 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2445 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2446 __MINGW32__ is defined.
2448 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2450 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2452 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2455 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2456 built with an assembler that does not support ISA 3.0
2457 instructions, rename __extendkftf2_sw to __extendkftf2.
2459 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2462 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2463 call-clobbered registers.
2464 (internal_mcount): Remove __i386__ handling.
2466 2016-02-26 Joel Sherrill <joel@rtems.org>
2468 * config.host: Add x86_64-*-rtems*.
2470 2016-02-26 Joel Sherrill <joel@rtems.org>
2472 * libgcc/config.host: Add aarch64-*-rtems*.
2474 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2475 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2477 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2478 union of u64 and double.
2479 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2480 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2482 (FP_ROUNDMODE): Update the usage of _fpscr.
2484 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2487 * Makefile.in (crtoffloadtable$(objext)): New rule.
2488 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2489 enable_offload_targets is not empty.
2490 * configure: Regenerate.
2491 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2494 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2496 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2497 .literal_position before the function.
2498 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2501 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2503 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2504 * config/s390/morestack.S: New file.
2505 * config/s390/t-stack-s390: New file.
2506 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2508 2016-02-12 Walter Lee <walt@tilera.com>
2510 * config.host (tilegx*-*-linux*): remove ti from
2511 softfp_int_modes for 32-bit configs.
2513 2016-02-10 Ian Lance Taylor <iant@google.com>
2516 * config/i386/morestack.S (__stack_split_initialize): Align
2519 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2522 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2523 __FLOAT128__ to compile only for __float128 capable targets.
2525 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2528 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2529 instead of ___NO_FPRS__.
2531 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2532 Steven Munroe <munroesj@linux.vnet.ibm.com>
2533 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2535 * config/rs6000/float128-sed: New files to convert TF names to KF
2536 names for PowerPC IEEE 128-bit floating point support.
2537 * config/rs6000/float128-sed-hw: Likewise.
2539 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2540 floating point hardware support.
2542 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2543 128-bit floating point software emulation or use ISA 3.0 hardware
2544 support if it is available.
2546 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2549 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2550 floating point to IBM extended double.
2552 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2553 double to IEEE 128-bit floating point.
2555 * config/rs6000/t-float128: New Makefile fragments to enable
2556 building __float128 emulation support.
2557 * config/rs6000/t-float128-hw: Likewise.
2559 * config/rs6000/sfp-exceptions.c: New file to provide exception
2560 support for IEEE 128-bit floating point.
2562 * config/rs6000/floattikf.c: New files for converting between IEEE
2563 128-bit floating point and signed/unsigned 128-bit integers.
2564 * config/rs6000/fixunskfti.c: Likewise.
2565 * config/rs6000/fixkfti.c: Likewise.
2566 * config/rs6000/floatuntikf.c: Likewise.
2568 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2569 when building on 64-bit systems, or when VSX is enabled.
2570 (_FP_W_TYPE): Likewise.
2571 (_FP_WS_TYPE): Likewise.
2572 (_FP_I_TYPE): Likewise.
2573 (TItype): Define on 64-bit systems.
2574 (UTItype): Likewise.
2575 (TI_BITS): Likewise.
2576 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2577 (_FP_MUL_MEAT_Q): Likewise.
2578 (_FP_DIV_MEAT_D): Likewise.
2579 (_FP_DIV_MEAT_Q): Likewise.
2580 (_FP_NANFRAC_D): Likewise.
2581 (_FP_NANFRAC_Q): Likewise.
2582 (ISA_BIT): Add exception support if we are being compiled on a
2583 machine with hardware floating point support to build the IEEE
2584 128-bit emulation functions.
2585 (FP_EX_INVALID): Likewise.
2586 (FP_EX_OVERFLOW): Likewise.
2587 (FP_EX_UNDERFLOW): Likewise.
2588 (FP_EX_DIVZERO): Likewise.
2589 (FP_EX_INEXACT): Likewise.
2590 (FP_EX_ALL): Likewise.
2591 (__sfp_handle_exceptions): Likewise.
2592 (FP_HANDLE_EXCEPTIONS): Likewise.
2593 (FP_RND_NEAREST): Likewise.
2594 (FP_RND_ZERO): Likewise.
2595 (FP_RND_PINF): Likewise.
2596 (FP_RND_MINF): Likewise.
2597 (FP_RND_MASK): Likewise.
2598 (_FP_DECL_EX): Likewise.
2599 (FP_INIT_ROUNDMODE): Likewise.
2600 (FP_ROUNDMODE): Likewise.
2602 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2603 VSX code, enable IEEE 128-bit floating point. If the compiler can
2604 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2605 floating point hardware instructions and it supports declaring
2606 functions with the ifunc attribute, enable ifunc functions to
2607 switch between software and hardware support.
2608 * configure.ac (powerpc*-*-linux*): Likewise.
2609 * configure: Regenerate.
2611 2016-01-15 Nick Clifton <nickc@redhat.com>
2613 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2614 dependency as the source file to be compiled.
2615 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2616 (lib2hw_mul_f5.o): Likewise.
2618 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2620 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2621 * libgcc/config/rs6000/fixkfti.c: Likewise.
2622 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2623 * libgcc/config/rs6000/float128-hw.c: Likewise.
2624 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2625 * libgcc/config/rs6000/float128-sed: Likewise.
2626 * libgcc/config/rs6000/floattikf.c: Likewise.
2627 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2628 * libgcc/config/rs6000/quad-float128.h: Likewise.
2629 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2630 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2631 * libgcc/config/rs6000/t-float128: Likewise.
2632 * libgcc/config/rs6000/t-float128-hw: Likewise.
2633 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2634 * libgcc/config.host: Likewise.
2635 * libgcc/configure: Likewise.
2636 * libgcc/configure.ac: Likewise.
2638 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2639 Steven Munroe <munroesj@linux.vnet.ibm.com>
2640 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2642 * config/rs6000/sfp-exceptions.c: New file to provide exception
2643 support for IEEE 128-bit floating point.
2645 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2646 floating point hardware support.
2648 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2650 * config/rs6000/fixunskfti.c: Likewise.
2651 * config/rs6000/fixkfti.c: Likewise.
2652 * config/rs6000/floatuntikf.c: Likewise.
2653 * config/rs6000/extendkftf2-sw.c: Likewise.
2654 * config/rs6000/trunctfkf2-sw.c: Likewise.
2656 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2657 128-bit floating point software emulation or use ISA 3.0 hardware
2658 support if it is available.
2660 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2663 * config/rs6000/t-float128: New Makefile fragments to enable
2664 building __float128 emulation support.
2665 * config/rs6000/t-float128-hw: Likewise.
2667 * config/rs6000/float128-sed: New file to convert TF names to KF
2668 names for PowerPC IEEE 128-bit floating point support.
2670 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2671 when building on 64-bit systems, or when VSX is enabled.
2672 (_FP_W_TYPE): Likewise.
2673 (_FP_WS_TYPE): Likewise.
2674 (_FP_I_TYPE): Likewise.
2675 (TItype): Define on 64-bit systems.
2676 (UTItype): Likewise.
2677 (TI_BITS): Likewise.
2678 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2679 (_FP_MUL_MEAT_Q): Likewise.
2680 (_FP_DIV_MEAT_D): Likewise.
2681 (_FP_DIV_MEAT_Q): Likewise.
2682 (_FP_NANFRAC_D): Likewise.
2683 (_FP_NANFRAC_Q): Likewise.
2684 (ISA_BIT): Add exception support if we are being compiled on a
2685 machine with hardware floating point support to build the IEEE
2686 128-bit emulation functions.
2687 (FP_EX_INVALID): Likewise.
2688 (FP_EX_OVERFLOW): Likewise.
2689 (FP_EX_UNDERFLOW): Likewise.
2690 (FP_EX_DIVZERO): Likewise.
2691 (FP_EX_INEXACT): Likewise.
2692 (FP_EX_ALL): Likewise.
2693 (__sfp_handle_exceptions): Likewise.
2694 (FP_HANDLE_EXCEPTIONS): Likewise.
2695 (FP_RND_NEAREST): Likewise.
2696 (FP_RND_ZERO): Likewise.
2697 (FP_RND_PINF): Likewise.
2698 (FP_RND_MINF): Likewise.
2699 (FP_RND_MASK): Likewise.
2700 (_FP_DECL_EX): Likewise.
2701 (FP_INIT_ROUNDMODE): Likewise.
2702 (FP_ROUNDMODE): Likewise.
2704 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2705 compiler can do __float128.
2706 * configure: Regenerate.
2708 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2709 VSX code, enable IEEE 128-bit floating point.
2711 2016-01-05 Olivier Hainque <hainque@adacore.com>
2713 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2716 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2718 Update copyright years.
2720 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2722 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2725 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2727 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2728 instead of abort to avoid dependency on stdlib.h.
2730 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2732 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2733 to initialize call to __dl_fixup once.
2735 2015-12-04 Nick Clifton <nickc@redhat.com>
2737 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2738 Allow for the second argument being negative.
2739 * config.host (extra_parts): Define for MSP430. Create separate
2740 libraries for each of the hardware multiply formats.
2741 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2743 * config/msp430/lib2mul.c: Likewise.
2744 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2745 Add rules to build hardware multiply libraries.
2746 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2747 __mspabi_divul function.
2748 (__mspabi_divllu): New stub function.
2750 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2752 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2753 fixup values if saved GOT address doesn't match runtime address.
2754 (fixup_branch_offset): Reorder list.
2756 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2758 * Makefile.in (VTV_CFLAGS): New variable.
2759 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2760 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2761 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2762 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2763 to extra_parts if $enable_vtable_verify = yes.
2765 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2768 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2769 (write): ...this and fix the return type.
2771 2015-11-19 DJ Delorie <dj@redhat.com>
2773 * config/msp430/lib2hw_mul.S: Fix alignment.
2775 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2777 * config/nvptx/reduction.c: New.
2778 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2780 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2782 * config/rs6000/on_exit.c: New file.
2783 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2784 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2786 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2788 * config/arc/dp-hack.h: Add support for ARCHS.
2789 * config/arc/ieee-754/divdf3.S: Likewise.
2790 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2791 * config/arc/ieee-754/muldf3.S: Likewise.
2792 * config/arc/ieee-754/mulsf3.S: Likewise
2793 * config/arc/lib1funcs.S: Likewise
2794 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2796 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2798 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2799 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2802 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2804 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2806 * config/ia64/crtend.S: Likewise.
2808 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2810 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2811 __CHAR_BIT__ instead of BITS_PER_UNIT.
2812 * fixed-bit.h: Likewise.
2813 * fp-bit.h: Likewise.
2814 * libgcc2.c (__popcountSI2): Likewise.
2815 (__popcountDI2): Likewise.
2816 * libgcc2.h: Likewise.
2817 * libgcov.h: Likewise.
2819 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2821 * config/rs6000/atexit.c: New file.
2822 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2823 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2824 * config/rs6000/cxa_finalize.c
2825 (catomic_compare_and_exchange_bool_acq): Negate return value.
2827 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2829 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2830 (processor_subtypes): Add znver1.
2831 (get_amd_cpu): Detect znver1.
2833 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2835 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2836 Include crtfastmath.o.
2838 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2841 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2843 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2845 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2846 * config/rl78/divmodsi.S: Update return register to r8.
2847 * config/rl78/divmodhi.S: Update return register to r8,r9.
2848 Branch to main_loop_done_himode to pop registers before return.
2850 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2852 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2853 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2855 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2857 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2859 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2861 * config.host (xtensa*-*-uclinux*): New configuration.
2863 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2865 * config/i386/cpuinfo.c (processor_features): Add
2866 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2868 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2870 * soft-fp/adddf3.c: Update from glibc.
2871 * soft-fp/addsf3.c: Likewise.
2872 * soft-fp/addtf3.c: Likewise.
2873 * soft-fp/divdf3.c: Likewise.
2874 * soft-fp/divsf3.c: Likewise.
2875 * soft-fp/divtf3.c: Likewise.
2876 * soft-fp/double.h: Likewise.
2877 * soft-fp/eqdf2.c: Likewise.
2878 * soft-fp/eqsf2.c: Likewise.
2879 * soft-fp/eqtf2.c: Likewise.
2880 * soft-fp/extenddftf2.c: Likewise.
2881 * soft-fp/extended.h: Likewise.
2882 * soft-fp/extendsfdf2.c: Likewise.
2883 * soft-fp/extendsftf2.c: Likewise.
2884 * soft-fp/extendxftf2.c: Likewise.
2885 * soft-fp/fixdfdi.c: Likewise.
2886 * soft-fp/fixdfsi.c: Likewise.
2887 * soft-fp/fixdfti.c: Likewise.
2888 * soft-fp/fixsfdi.c: Likewise.
2889 * soft-fp/fixsfsi.c: Likewise.
2890 * soft-fp/fixsfti.c: Likewise.
2891 * soft-fp/fixtfdi.c: Likewise.
2892 * soft-fp/fixtfsi.c: Likewise.
2893 * soft-fp/fixtfti.c: Likewise.
2894 * soft-fp/fixunsdfdi.c: Likewise.
2895 * soft-fp/fixunsdfsi.c: Likewise.
2896 * soft-fp/fixunsdfti.c: Likewise.
2897 * soft-fp/fixunssfdi.c: Likewise.
2898 * soft-fp/fixunssfsi.c: Likewise.
2899 * soft-fp/fixunssfti.c: Likewise.
2900 * soft-fp/fixunstfdi.c: Likewise.
2901 * soft-fp/fixunstfsi.c: Likewise.
2902 * soft-fp/fixunstfti.c: Likewise.
2903 * soft-fp/floatdidf.c: Likewise.
2904 * soft-fp/floatdisf.c: Likewise.
2905 * soft-fp/floatditf.c: Likewise.
2906 * soft-fp/floatsidf.c: Likewise.
2907 * soft-fp/floatsisf.c: Likewise.
2908 * soft-fp/floatsitf.c: Likewise.
2909 * soft-fp/floattidf.c: Likewise.
2910 * soft-fp/floattisf.c: Likewise.
2911 * soft-fp/floattitf.c: Likewise.
2912 * soft-fp/floatundidf.c: Likewise.
2913 * soft-fp/floatundisf.c: Likewise.
2914 * soft-fp/floatunditf.c: Likewise.
2915 * soft-fp/floatunsidf.c: Likewise.
2916 * soft-fp/floatunsisf.c: Likewise.
2917 * soft-fp/floatunsitf.c: Likewise.
2918 * soft-fp/floatuntidf.c: Likewise.
2919 * soft-fp/floatuntisf.c: Likewise.
2920 * soft-fp/floatuntitf.c: Likewise.
2921 * soft-fp/gedf2.c: Likewise.
2922 * soft-fp/gesf2.c: Likewise.
2923 * soft-fp/getf2.c: Likewise.
2924 * soft-fp/ledf2.c: Likewise.
2925 * soft-fp/lesf2.c: Likewise.
2926 * soft-fp/letf2.c: Likewise.
2927 * soft-fp/muldf3.c: Likewise.
2928 * soft-fp/mulsf3.c: Likewise.
2929 * soft-fp/multf3.c: Likewise.
2930 * soft-fp/negdf2.c: Likewise.
2931 * soft-fp/negsf2.c: Likewise.
2932 * soft-fp/negtf2.c: Likewise.
2933 * soft-fp/op-1.h: Likewise.
2934 * soft-fp/op-2.h: Likewise.
2935 * soft-fp/op-4.h: Likewise.
2936 * soft-fp/op-8.h: Likewise.
2937 * soft-fp/op-common.h: Likewise.
2938 * soft-fp/quad.h: Likewise.
2939 * soft-fp/single.h: Likewise.
2940 * soft-fp/soft-fp.h: Likewise.
2941 * soft-fp/subdf3.c: Likewise.
2942 * soft-fp/subsf3.c: Likewise.
2943 * soft-fp/subtf3.c: Likewise.
2944 * soft-fp/truncdfsf2.c: Likewise.
2945 * soft-fp/trunctfdf2.c: Likewise.
2946 * soft-fp/trunctfsf2.c: Likewise.
2947 * soft-fp/trunctfxf2.c: Likewise.
2948 * soft-fp/unorddf2.c: Likewise.
2949 * soft-fp/unordsf2.c: Likewise.
2950 * soft-fp/unordtf2.c: Likewise.
2952 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2955 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2957 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2959 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2960 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2961 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2963 (internal_mcount): Likewise.
2964 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2965 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2967 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2969 * configure.ac (libgcc_cv_solaris_crts): New test.
2970 * configure: Regenerate.
2971 * config.in: Regenerate.
2972 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2973 * config/gmon-sol2.c: Rename to ...
2974 * config/sol2/gmon.c: ... this.
2975 Include auto-target.h.
2976 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2977 * config/t-sol2: Rename to ...
2978 * config/sol2/t-sol2: ... this.
2979 (gmon.o): Reflect renaming.
2980 (crtp.o, crtpg.o): New rules.
2981 * config.host (*-*-solaris2*): Reflect renaming.
2982 Use system CRTs if present.
2983 Remove default CRT case.
2985 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2987 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2988 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2990 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2991 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2992 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2993 (__sync_lock_test_and_set_##WIDTH): Likewise.
2994 (__sync_lock_release_##WIDTH): Likewise.
2995 (__sync_fetch_and_##OP##_4): Change result to match type of
2997 (__sync_##OP##_and_fetch_4): Likewise.
2998 (__sync_val_compare_and_swap_4): Likewise.
2999 (__sync_bool_compare_and_swap_4): likewise.
3000 (__sync_lock_test_and_set_4): Likewise.
3001 (__sync_lock_release_4): Likewise.
3002 (FETCH_AND_OP_2): Add long long variants.
3003 (OP_AND_FETCH_2): Likewise.
3004 (COMPARE_AND_SWAP_2 ): Likewise.
3005 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3006 (SYNC_LOCK_RELEASE_2): Likewise.
3007 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3009 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3011 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3012 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3013 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3014 (get_available_features): Habdle new features.
3016 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3018 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3019 memory layout. Deal correctly with BSS region larger than 32K.
3020 Handle a watchdog reset like a power-on reset. Clean up unused
3023 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3024 David Edelsohn <dje.gcc@gmail.com>
3026 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3027 * config/rs6000/crtdbase.S: New file.
3028 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3030 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3032 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3033 Add support for call0 ABI.
3035 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3037 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3039 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3041 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3042 (__GTHREAD_HAS_COND): Likewise.
3043 (__gthread_t): Likewise.
3044 (__gthread_cond_t): Likewise.
3045 (__gthread_time_t): Likewise.
3046 (__GTHREAD_MUTEX_INIT): Likewise.
3047 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3048 (__GTHREAD_COND_INIT): Likewise.
3049 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3050 (__GTHREAD_TIME_INIT): Likewise.
3051 (__gthread_create): Likewise.
3052 (__gthread_join): Likewise.
3053 (__gthread_detach): Likewise.
3054 (__gthread_equal): Likewise.
3055 (__gthread_self): Likewise.
3056 (__gthread_yield): Likewise.
3057 (__gthread_cond_broadcast): Likewise.
3058 (__gthread_cond_signal): Likewise.
3059 (__gthread_cond_wait): Likewise.
3060 (__gthread_cond_timedwait): Likewise.
3061 (__gthread_cond_wait_recursive): Likewise.
3062 (__gthread_cond_destroy): Likewise.
3063 (rtems_gxx_once): Delete.
3064 (rtems_gxx_key_create): Likewise.
3065 (rtems_gxx_key_delete): Likewise.
3066 (rtems_gxx_getspecific): Likewise.
3067 (rtems_gxx_setspecific): Likewise.
3068 (rtems_gxx_mutex_init): Likewise.
3069 (rtems_gxx_mutex_destroy): Likewise.
3070 (rtems_gxx_mutex_lock): Likewise.
3071 (rtems_gxx_mutex_trylock): Likewise.
3072 (rtems_gxx_mutex_unlock): Likewise.
3073 (rtems_gxx_recursive_mutex_init): Likewise.
3074 (rtems_gxx_recursive_mutex_lock): Likewise.
3075 (rtems_gxx_recursive_mutex_trylock): Likewise.
3076 (rtems_gxx_recursive_mutex_unlock): Likewise.
3077 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3078 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3079 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3080 (__gthread_once): Likewise.
3081 (__gthread_key_create): Likewise.
3082 (__gthread_key_delete): Likewise.
3083 (__gthread_getspecific): Likewise.
3084 (__gthread_setspecific): Likewise.
3085 (__gthread_key_t): Use <pthread.h> type.
3086 (__gthread_once_t): Likewise
3087 (__gthread_mutex_t): Use <sys/lock.h> type.
3088 (__gthread_recursive_mutex_t): Likewise
3089 (__gthread_mutex_lock): Use <sys/lock.h> function.
3090 (__gthread_mutex_trylock): Likewise.
3091 (__gthread_mutex_timedlock): Likewise.
3092 (__gthread_mutex_unlock): Likewise.
3093 (__gthread_mutex_destroy): Likewise.
3094 (__gthread_recursive_mutex_lock): Likewise.
3095 (__gthread_recursive_mutex_trylock): Likewise.
3096 (__gthread_recursive_mutex_timedlock): Likewise.
3097 (__gthread_recursive_mutex_unlock): Likewise.
3098 (__gthread_recursive_mutex_destroy): Likewise.
3100 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3102 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3103 context->sp instead of context->cfa.
3105 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3107 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3108 with unwind-dw2-fde-dip.
3110 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3112 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3113 CALL12 followed by series of ENTRY to spill windowed registers.
3114 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3115 instead of making linux spill syscall.
3117 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3119 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3120 (get_intel_cpu): Likewise.
3122 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3124 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3125 (get_intel_cpu): Add Knights Landing support.
3127 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3130 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3131 (get_available_features): Handle FEATURE_PCLMUL.
3133 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3135 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3138 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3141 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3142 (get_available_features): Handle FEATURE_AES.
3144 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3146 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3147 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3149 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3151 * offloadstuff.c: Constify host data.
3153 2015-07-17 Jan Beulich <jbeulich@suse.com>
3155 * config/t-softfp: Split up "else ifneq".
3157 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3158 Cesar Philippidis <cesar@codesourcery.com>
3159 Chung-Lin Tang <cltang@codesourcery.com>
3161 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3162 for __nios2_arch__ level.
3164 2015-07-13 John Marino <gnugcc@marino.st>
3166 * config/i386/t-dragonfly: New.
3168 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3170 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3171 better match light-weight syscall argument order.
3172 (__kernel_cmpxchg2): Likewise.
3175 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3177 * config.host: Support i[34567]86-*-elfiamcu target.
3178 * config/t-softfp-sfdftf: New file.
3179 * config/i386/32/t-iamcu: Likewise.
3180 * configure: Regenerated.
3182 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3185 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3187 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3189 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3191 2015-05-27 John Marino <gnugcc@marino.st>
3193 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3195 * config/i386/freebsd-unwind.h: New.
3197 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3199 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3200 i386/t-crtfm to tmake_file.
3201 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3202 (set_fast_math): Use set_fast_math_sse for SSE targets.
3203 * config/i386/t-crtfm: Remove.
3205 2015-05-21 Alan Modra <amodra@gmail.com>
3208 * config/rs6000/morestack.S: Remove ".abiversion 1".
3210 2015-05-20 Alan Modra <amodra@gmail.com>
3212 * config/rs6000/morestack.S: New.
3213 * config/rs6000/t-stack-rs6000: New.
3214 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3216 * generic-morestack.c: Don't build for powerpc 32-bit.
3218 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3220 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3221 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3223 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3225 * config.host: FT32 target added.
3226 * config/ft32/*: New files for FT32 target.
3228 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3230 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3232 * config/arm/ieee754-df.S: Add CFI directives.
3233 * config/arm/ieee754-sf.S: Add CFI directives.
3235 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3237 * configure.ac: Include config/sjlj.m4.
3238 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3239 * config.in: Regenerate.
3240 * configure: Likewise.
3241 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3243 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3245 * libgcov-util.c: Add space between string literal and macro name.
3247 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3248 Chris Jones <chrisj@nvidia.com>
3249 Joshua Conner <jconner@nvidia.com>
3251 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3252 (arm*-*-uclinux*): Likewise.
3253 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3254 * config/arm/crtfastmath.c: New file.
3256 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3258 * Makefile.in (real_host_noncanonical): New variable.
3259 (libsubdir): Use it.
3260 * configure.ac (real_host_noncanonical): Compute. Remove special
3261 case for intelmicemul.
3262 * configure: Regenerate.
3264 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3266 * config/frv/elf-lib.h: New file.
3267 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3268 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3271 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3273 * config/frv/frvbengin.c: Do not include defaults.h
3274 * config/frv/frvend.c: Ditto.
3276 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3278 * config.host: Add h8300-*-linux
3279 * config/h8300/t-linux: New file.
3280 * config/h8300/lib1funs.s: Change symbol prefix.
3281 * config/h8300/sfp-machine.h: 64bit double support.
3283 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3284 Szabolcs Nagy <szabolcs.nagy@arm.com>
3286 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3287 Linux if target provides dl_iterate_phdr.
3289 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3292 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3293 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3294 (__cpu_indicator_init@GCC_4.8.0): New.
3295 (__cpu_model@GCC_4.8.0): Likewise.
3296 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3299 2015-04-16 Nick Clifton <nickc@redhat.com>
3301 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3302 and __modhi3 functions.
3303 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3304 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3306 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3308 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3309 do-while loop as macro body to avoid warnings.
3311 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3312 Iain Sandoe <iain@codesourcery.com>
3315 * configure: Regenerate.
3317 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3318 Iain Sandoe <iain@codesourcery.com>
3321 * configure: Regenerate.
3323 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3325 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3327 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3329 Implement call0 ABI for xtensa
3330 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3331 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3332 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3333 use ret in call0 ABI.
3334 * config/xtensa/t-windowed: New file.
3335 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3336 * libgcc/configure: Regenerated.
3337 * libgcc/configure.ac: Check if xtensa target is configured for
3338 windowed ABI and thus needs to use custom unwind code.
3340 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3343 * gthr-single.h: Use __unused__ attribute instead of unused.
3344 * config/gthr-vxworks.h: Likewise.
3345 * config/i386/gthr-win32.h: Likewise.
3347 2015-02-27 Kai Tietz <ktietz@redhat.com>
3350 * config.in: Regenerated.
3351 * configure: Likewise.
3352 * configure.ac (AC_HEADER_STDC): Added explicit.
3353 (AC_CHECK_HEADERS): Check for default headers plus
3355 * libgcov-util.c (gcov_read_profile_dir): Disable use
3356 of ftw-function, if header is not found.
3357 (ftw_read_file): Likewise.
3359 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3362 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3365 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3367 * config/arm/bpabi.S (test_div_by_zero): Make label names
3368 consistent between thumb2 and arm mode cases. Separate the
3369 signed comparison on the high word of the numerator from the
3370 unsigned comparison on the low word.
3371 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3374 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3376 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3378 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3380 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3382 PR gcov-profile/61889
3383 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3385 2015-02-02 Nick Clifton <nickc@redhat.com>
3387 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3388 rounding up the fraction.
3390 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3392 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3393 oldval and newval to const void *. Fix typo.
3394 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3395 (FETCH_AND_OP_WORD): Likewise.
3396 (OP_AND_FETCH_WORD): Likewise.
3397 (COMPARE_AND_SWAP_2): Likewise.
3398 (__sync_val_compare_and_swap_4): Likewise.
3399 (__sync_lock_test_and_set_4): Likewise.
3400 (SYNC_LOCK_RELEASE_2): Likewise.
3401 Remove support for long long atomic operations.
3403 2015-01-27 Caroline Tice <cmtice@google.com>
3405 Committing VTV Cywin/Ming patch for Patrick Wollgast
3406 * Makefile.in: Move rules to build vtv_*.o out of the check
3407 for CUSTOM_CRTSTUFF.
3408 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3409 i[34567]86-*-mingw*)
3410 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3411 enable_vtable_verify.
3413 2015-01-27 Nick Clifton <nickc@redhat.com>
3415 * config/rl78/cmpsi2.S: Use function start and end macros.
3416 (__gcc_bcmp): New function.
3417 * config/rl78/lshrsi3.S: Use function start and end macros.
3418 * config/rl78/mulsi3.S: Add support for G10.
3419 (__mulqi3): New function for G10.
3420 * config/rl78/signbit.S: Use function start and end macros.
3421 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3423 (LIB2FUNCS_EXCLUDE): Define.
3424 (LIB2FUNCS_ST): Define.
3425 * config/rl78/trampoline.S: Use function start and end macros.
3426 * config/rl78/vregs.h (START_FUNC): New macro.
3427 (START_ANOTHER_FUNC): New macro.
3428 (END_FUNC): New macro.
3429 (END_ANOTHER_FUNC): New macro.
3430 * config/rl78/bit-count.S: New file. Contains assembler
3431 implementations of the bit counting functions: ___clzhi2,
3432 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3433 __paritysi2, __popcounthi2 and __popcountsi2.
3434 * config/rl78/fpbit-sf.S: New file. Contains assembler
3435 implementationas of the math functions: __negsf2, __cmpsf2,
3436 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3437 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3438 * config/rl78/fpmath-sf.S: New file. Contains assembler
3439 implementations of the math functions: __subsf3, __addsf3,
3440 __mulsf3 and __divsf3
3442 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3444 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3445 Add i386/elf-lib.h to tm_file.
3446 * config/i386/elf-lib.h: Fix comment.
3447 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3448 && __sun__ && __svr4__]: Remove workaround.
3450 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3452 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3454 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3456 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3458 * config/i386/cpuinfo.c (processor_subtypes): Add
3459 INTEL_COREI7_BROADWELL.
3460 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3463 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3465 * config/i386/elf-lib.h: New file.
3466 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3467 Wrap definition in #ifdef __i386__.
3468 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3469 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3470 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3471 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3474 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3476 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3477 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3479 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3481 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3482 Update rt_sigframe format and address for current Nios II
3485 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3487 * config.host (arm*-*-freebsd*): Add new configuration for
3489 * config/arm/freebsd-atomic.c: New file.
3490 * config/arm/t-freebsd: Likewise.
3491 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3492 'PC-relative indirect' OS's.
3494 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3496 * config.host: Add Visium support.
3497 * config/visium: New directory.
3499 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3501 Update copyright years.
3503 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3505 * config.host: Support mipsisa32r6 and mipsisa64r6.
3506 * config/mips/mips16.S: Do not build for R6.
3508 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3510 * config/sh/crt.h: New.
3511 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3513 * config/sh/crt1.S: Likewise.
3515 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3518 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3519 func_ptr *dtor_list temporary variable to avoid "array subscript
3520 is above array bounds" warnings.
3522 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3524 * Makefile.in (with_aix_soname): Define.
3525 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3526 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3527 * configure: Recreate.
3529 2014-12-05 Olivier Hainque <hainque@adacore.com>
3531 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3532 now provided by defaults.h.
3534 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3537 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3538 whether it's defined.
3540 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3542 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3543 * config/i386/cpuinfo.c (get_available_features): Detect it.
3545 2014-11-27 Tony Wang <tony.wang@arm.com>
3547 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3548 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3549 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3551 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3553 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3555 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3557 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3560 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3561 John David Anglin <danglin@gcc.gnu.org>
3563 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3564 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3565 (OP_AND_FETCH_2): Likewise.
3566 (COMPARE_AND_SWAP_2): Likewise.
3567 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3568 (SYNC_LOCK_RELEASE_2): Likewise.
3569 (SUBWORD_SYNC_OP): Remove.
3570 (SUBWORD_VAL_CAS): Likewise.
3571 (SUBWORD_BOOL_CAS): Likewise.
3572 (FETCH_AND_OP_WORD): Update.
3573 Consistently use signed types.
3575 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3576 Thomas Schwinge <thomas@codesourcery.com>
3577 Ilya Verbin <ilya.verbin@intel.com>
3578 Andrey Turetskiy <andrey.turetskiy@intel.com>
3580 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3581 (crtoffloadend$(objext)): Likewise.
3582 * configure: Regenerate.
3583 * configure.ac (accel_dir_suffix): Compute new variable.
3584 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3585 if enable_offload_targets is not empty.
3586 * offloadstuff.c: New file.
3588 2014-11-13 Nick Clifton <nickc@redhat.com>
3590 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3591 Use START_FUNC and END_FUNC macros to enable linker garbage
3593 * config/rl78/divmodqi.S: Likewise.
3594 * config/rl78/divmodsi.S: Likewise.
3595 * config/rl78/mulsi3.S: Likewise.
3596 * config/rl78/lib2div.c: Remove G10 functions.
3597 * config/rl78/lib2muls.c: Likewise.
3598 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3599 * config/rl78/vregs.h (START_FUNC): New macro.
3600 (END_FUNC): New macro.
3602 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3604 * config/mips/mips16.S: Set .module when supported. Update O32
3605 FP64 calling convention and use for FPXX when possible. Add FPXX
3606 calling convention fallback case.
3608 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3610 * config.host: Handle nvptx-*-*.
3611 * shared-object.mk (as-flags-$o): Define.
3612 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3613 -xassembler-with-cpp.
3614 * static-object.mk: Identical changes.
3615 * config/nvptx/t-nvptx: New file.
3616 * config/nvptx/crt0.s: New file.
3617 * config/nvptx/free.asm: New file.
3618 * config/nvptx/malloc.asm: New file.
3619 * config/nvptx/realloc.c: New file.
3621 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3623 * Makefile.in (libgcc.map.in): New target.
3624 (libgcc.map): Use libgcc.map.in.
3625 * config/t-softfp (softfp_compat): New variable to be set by
3627 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3629 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3631 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3632 that use compat symbols and disable all code unless [SHARED].
3633 * config/t-softfp-compat: New file.
3634 * find-symver.awk: New file.
3635 * configure.ac (--with-glibc-version): New configure option.
3636 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3637 * configure: Regenerate.
3638 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3639 soft-float and e500.
3641 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3643 * config/t-hardfp (hardfp_exclusions): Document new variable for
3645 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3646 * config/t-softfp (softfp_extras): Document new variable for user
3648 (softfp_func_list): Add functions from $(softfp_extras).
3649 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3650 * config.host (powerpc*-*-linux*): For e500v1, use
3651 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3652 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3653 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3655 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3657 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3658 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3659 memory read accesses are ok.
3661 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3663 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3664 * configure: Regenerate.
3665 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3666 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3667 of soft-fp for 32-bit classic hard float. Do not use
3668 t-softfp-excl for soft float.
3670 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3672 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3674 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3677 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3679 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3680 introduced with 2014-10-21 trunk r216525.
3682 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3683 Vidya Praveen <vidya.praveen@atmel.com>
3684 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3685 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3686 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3688 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3691 Updated library functions for AVRTINY arch.
3692 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3693 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3694 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3695 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3697 (__mulsi3_helper): Update stack, preserve callee saved regs and
3698 argument from stack. Restore callee save registers.
3699 (__mulpsi3): Likewise.
3700 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3701 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3702 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3704 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3705 (__do_copy_data): Added new definition for AVRTINY.
3706 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3707 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3708 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3709 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3710 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3712 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3715 Fix broken long multiplication on tiny arch.
3717 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3719 * soft-fp/double.h: Update from glibc.
3720 * soft-fp/eqdf2.c: Likewise.
3721 * soft-fp/eqsf2.c: Likewise.
3722 * soft-fp/eqtf2.c: Likewise.
3723 * soft-fp/extenddftf2.c: Likewise.
3724 * soft-fp/extended.h: Likewise.
3725 * soft-fp/extendsfdf2.c: Likewise.
3726 * soft-fp/extendsftf2.c: Likewise.
3727 * soft-fp/extendxftf2.c: Likewise.
3728 * soft-fp/gedf2.c: Likewise.
3729 * soft-fp/gesf2.c: Likewise.
3730 * soft-fp/getf2.c: Likewise.
3731 * soft-fp/ledf2.c: Likewise.
3732 * soft-fp/lesf2.c: Likewise.
3733 * soft-fp/letf2.c: Likewise.
3734 * soft-fp/op-1.h: Likewise.
3735 * soft-fp/op-2.h: Likewise.
3736 * soft-fp/op-4.h: Likewise.
3737 * soft-fp/op-8.h: Likewise.
3738 * soft-fp/op-common.h: Likewise.
3739 * soft-fp/quad.h: Likewise.
3740 * soft-fp/single.h: Likewise.
3741 * soft-fp/soft-fp.h: Likewise.
3742 * soft-fp/unorddf2.c: Likewise.
3743 * soft-fp/unordsf2.c: Likewise.
3744 * soft-fp/unordtf2.c: Likewise.
3745 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3746 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3747 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3748 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3749 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3750 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3751 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3752 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3753 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3754 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3756 2014-10-08 Rong Xu <xur@google.com>
3758 * libgcov-util.c (read_gcda_file): Fix format.
3759 (find_match_gcov_info): Ditto.
3760 (calculate_2_entries): New.
3761 (compute_one_gcov): Ditto.
3762 (gcov_info_count_all_cold): Ditto.
3763 (gcov_info_count_all_zero): Ditto.
3764 (extract_file_basename): Ditto.
3765 (get_file_basename): Ditto.
3767 (matched_gcov_info): Ditto.
3768 (calculate_overlap): Ditto.
3769 (gcov_profile_overlap): Ditto.
3770 * libgcov-driver.c (compute_summary): Make
3771 it avavilable for external calls.
3773 2014-10-06 Rong Xu <xur@google.com>
3775 * Makefile.in: Ditto.
3776 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3777 (gcov_sort_icall_topn_counter): Ditto.
3778 (gcov_sort_topn_counter_arrays): Ditto.
3779 (dump_one_gcov): Sort indirect_call topn counters.
3780 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3782 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3784 (__gcov_indirect_call_topn_profiler): New profiler function.
3785 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3786 * libgcov.h: New decls.
3788 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3790 * config.host: Remove support for score-*.
3792 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3794 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3795 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3796 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3797 __LIBGCC_XF_MANT_DIG__.
3798 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3799 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3800 __LIBGCC_TF_MANT_DIG__.
3801 * libgcc2.c (NOTRUNC): Define in terms of
3802 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3803 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3805 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3808 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3811 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3813 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3814 override USE_PT_GNU_EH_FRAME.
3815 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3816 check USE_EH_FRAME_REGISTRY_ALWAYS against
3817 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3818 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3819 variable for substituted force_explicit_eh_registry.
3820 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3821 * configure.ac (explicit-exception-frame-registration):
3823 * configure: Regenerate.
3825 2014-09-19 Olivier Hainque <hainque@adacore.com>
3827 * config.host (powerpc-wrs-vxworksmils): New configuration,
3830 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3832 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3834 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3836 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3837 bits not set bits as indicating trapping exceptions.
3839 2014-09-17 Nathan sidwell <nathan@acm.org>
3841 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3842 (LIBGCOV_DRIVER): ... here.
3843 * libgcov-driver.c (gcov_master): New.
3844 (gcov_exit): Remove from master chain.
3845 (__gcov_init): Add to master chain if version compatible. Don't
3847 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3848 (gcov_reset_int): Clear master chain, if compatible.
3849 (gcov_dump_int): New internal interface. Dump master chain, if
3851 (gcov_dump): Alias for gcov_dump_int.
3852 * libgcov.h (struct gcov_root): Add next and prev fields.
3853 (struct gcov_master): New struct.
3854 (__gcov_master): New.
3855 (gcov_dump_int): Declare.
3857 2014-09-17 Olivier Hainque <hainque@adacore.com>
3859 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3860 and crtbegin.o + crtend.o to extra_parts.
3862 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3864 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3865 __LIBGCC_HAS_SF_MODE__.
3866 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3867 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3868 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3869 * config/libbid/bid_gcc_intrinsics.h
3870 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3871 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3872 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3873 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3874 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3875 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3877 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3880 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3881 and R24 as needed. Make work for all devices and .text locations.
3882 (__do_global_ctors, __do_global_dtors): Use word addresses.
3883 (__tablejump__, __tablejump_elpm__): Remove functions.
3884 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3886 (XICALL, XIJMP): New macros.
3888 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3889 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3891 * config.host (aarch64*): Include crtfastmath.o and
3893 * config/aarch64/crtfastmath.c: New file.
3895 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3897 * config.host: Remove picochip support.
3898 * config/picochip/adddi3.S: Remove.
3899 * config/picochip/ashlsi3.S: Remove.
3900 * config/picochip/ashlsi3.c: Remove.
3901 * config/picochip/ashrsi3.S: Remove.
3902 * config/picochip/ashrsi3.c: Remove.
3903 * config/picochip/clzsi2.S: Remove.
3904 * config/picochip/cmpsi2.S: Remove.
3905 * config/picochip/divmod15.S: Remove.
3906 * config/picochip/divmodhi4.S: Remove.
3907 * config/picochip/divmodsi4.S: Remove.
3908 * config/picochip/lib1funcs.S: Remove.
3909 * config/picochip/longjmp.S: Remove.
3910 * config/picochip/lshrsi3.S: Remove.
3911 * config/picochip/lshrsi3.c: Remove.
3912 * config/picochip/parityhi2.S: Remove.
3913 * config/picochip/popcounthi2.S: Remove.
3914 * config/picochip/setjmp.S: Remove.
3915 * config/picochip/subdi3.S: Remove.
3916 * config/picochip/t-picochip: Remove.
3917 * config/picochip/ucmpsi2.S: Remove.
3918 * config/picochip/udivmodhi4.S: Remove.
3919 * config/picochip/udivmodsi4.S: Remove.
3921 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3923 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3924 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3925 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3926 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3927 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3928 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3929 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3930 defined and LIBGCC2_HAS_DF_MODE is defined.
3931 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3932 defined and LIBGCC2_HAS_XF_MODE is defined.
3933 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3934 defined and LIBGCC2_HAS_TF_MODE is defined.
3936 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3938 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3939 and ROUND_TOWARDS_ZERO conditionals.
3941 2014-09-07 Nathan sidwell <nathan@acm.org>
3943 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3944 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3946 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3948 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3949 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3950 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3951 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3952 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3953 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3954 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3955 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3956 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3957 (DWARF_FRAME_REGISTERS): Change all uses to
3958 __LIBGCC_DWARF_FRAME_REGISTERS__.
3959 (EH_RETURN_STACKADJ_RTX): Change all uses to
3960 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3961 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3962 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3963 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3964 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3965 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3966 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3967 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3968 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3969 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3970 __LIBGCC_STACK_POINTER_REGNUM__.
3971 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3972 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3973 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3974 to __LIBGCC_STACK_POINTER_REGNUM__.
3975 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3976 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3977 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3978 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3979 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3980 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3981 (STACK_POINTER_REGNUM): Change all uses to
3982 __LIBGCC_STACK_POINTER_REGNUM__.
3983 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3984 use to __LIBGCC_STACK_POINTER_REGNUM__.
3985 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3986 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3987 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3988 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3989 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3990 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3991 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3992 to __LIBGCC_STACK_POINTER_REGNUM__.
3993 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3994 Remove conditional definition.
3995 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3996 __LIBGCC_TEXT_SECTION_ASM_OP__.
3997 (EH_FRAME_SECTION_NAME): Change all uses to
3998 __LIBGCC_EH_FRAME_SECTION_NAME__.
3999 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4000 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4001 (CTORS_SECTION_ASM_OP): Change all uses to
4002 __LIBGCC_CTORS_SECTION_ASM_OP__.
4003 (DTORS_SECTION_ASM_OP): Change all uses to
4004 __LIBGCC_DTORS_SECTION_ASM_OP__.
4005 (JCR_SECTION_NAME): Change all uses to
4006 __LIBGCC_JCR_SECTION_NAME__.
4007 (INIT_SECTION_ASM_OP): Change all uses to
4008 __LIBGCC_INIT_SECTION_ASM_OP__.
4009 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4010 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4011 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4012 __LIBGCC_STACK_GROWS_DOWNWARD__.
4013 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4014 __LIBGCC_INIT_SECTION_ASM_OP__.
4015 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4016 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4017 (EH_FRAME_SECTION_NAME): Change all uses to
4018 __LIBGCC_EH_FRAME_SECTION_NAME__.
4019 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4020 definitions. Change all uses to
4021 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4022 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4023 __LIBGCC_STACK_GROWS_DOWNWARD__.
4024 (DWARF_FRAME_REGISTERS): Change all uses to
4025 __LIBGCC_DWARF_FRAME_REGISTERS__.
4026 (EH_RETURN_STACKADJ_RTX): Change all uses to
4027 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4028 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4029 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4030 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4031 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4032 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4034 2014-09-02 Nathan sidwell <nathan@acm.org>
4036 * libgcov-interface.c (STRONG_ALIAS): New.
4037 (__gcov_flush): Call __gcov_reset_int.
4038 (__gcov_reset): Strong alias for ...
4039 (__gcov_reset_ing): ... this renamed hidden version.
4040 * libgcov.h (__gcov_reset_int): New declaration.
4042 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4044 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4046 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4047 (__dso_handle): Define on Cygwin.
4048 * config/i386/t-cygming (crtbeginS.o): New rule.
4049 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4051 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4054 2014-08-13 Steve Ellcey <sellcey@mips.com>
4056 * crtstuff.c: Undef caddr_t.
4058 2014-08-12 Steve Ellcey <sellcey@mips.com>
4060 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4062 2014-08-07 Nathan Sidwell <nathan@acm.org>
4064 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4065 (LIBGCOV_DRIVER): ... to here.
4066 * libgcov.h (gcov_do_dump): New #define.
4067 (struct gcov_root): New.
4068 (__gcov_root): New declaration.
4069 (__gcov_dump_one): Declare.
4070 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4071 run_accounted): Delete.
4072 (gcov_compute_histogram): Add LIST argument, adjust.
4073 (compute_summary): Adjust gcov_compute_histogram call.
4074 (gcov_do_dump): Not hidden, static in libgcov.
4075 (gcov_clear): Move to interface.c.
4076 (__gcov_dump_one): New, broken out of ...
4077 (gcov_exit): ... here. Make static.
4079 (__gcov_init): Adjust.
4080 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4082 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4083 (gcov_clear): Moved from driver.c. Add LIST argument.
4084 (__gcov_reset): Adjust for changed interfaces.
4085 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4087 2014-08-04 Rohit <rohitarulraj@freescale.com>
4090 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4091 based on change in SPE high register numbers and 3 HTM registers.
4093 2014-08-01 Nathan Sidwell <nathan@acm.org>
4095 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4096 LIBGCOV_INTERFACE): Reformat.
4097 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4099 * libgcov-interface.c: Reformat some comments.
4100 (__gcov_flush_mx): Add declaration. Tidy up definition.
4102 2014-07-31 Alan Modra <amodra@gmail.com>
4103 Peter Bergner <bergner@vnet.ibm.com>
4105 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4106 (pack_ldouble): New function.
4107 (__gcc_qadd): Use it.
4108 (__gcc_qmul): Likewise.
4109 (__gcc_qdiv): Likewise.
4110 (__gcc_qneg): Likewise.
4111 (__gcc_stoq): Likewise.
4112 (__gcc_dtoq): Likewise.
4114 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4116 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4117 (__tpf_eh_return): Add original return address as second parameter.
4118 Handle cases where unwinder routines were called directly, instead
4119 of from within the C++ library.
4121 2014-07-29 Nathan Sidwell <nathan@acm.org>
4123 * libgcov.h: Move renaming of entry points to lib gcov specific
4125 (gcov_do_dump): New rename.
4126 (gcov_rewrite): Remove inline, make HIDDEN.
4127 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4128 (gcov_exit_compute_summary): Rename to ...
4129 (compute_summary): ... here. Add LIST argument.
4130 (gcov_exit_merge_gcda): Rename to ...
4131 (merge_one_data): ... here.
4132 (gcov_exit_write_gcda): Rename to ...
4133 (write_one_data): ... here.
4134 (gcov_exit_merge_summary): Rename to ...
4135 (merge_summary): Add RUN_COUNTED argument.
4136 (gcov_exit_dump_gcov): Rename to ...
4137 (dump_one_gcov): Add RUN_COUNTED argument.
4138 (gcov_do_dump): New function, broken out of ...
4139 (gcov_exit): ... here. Call it.
4141 2014-07-27 Anthony Green <green@moxielogic.com>
4143 * config.host: Add moxiebox configuration suppport.
4145 2014-07-27 Nathan Sidwell <nathan@acm.org>
4147 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4148 (struct gcov_filename): ... here. Include buffer and max length
4150 (gcov_max_filename): Remove.
4151 (gi_filename): Remove.
4152 (gcov_exit_compute_summary): Compute max filename here.
4153 (gcov_exit_merge_gcda): Add filename parm, adjust.
4154 (gcov_exit_merge_summary): Likewise.
4155 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4156 (gcov_exit): Likewise.
4157 (__gcov_init): Don't calculate max length here.
4158 * libgcov_util.c (max_filename_len): Remove.
4159 (read_gcda_file): Don't calculate max length here.
4160 (gcov_read_profile_dir): Don't propagate here.
4161 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4162 struct gcov_filename changes.
4163 (gcov_exit_open_gcda_file): Likewise.
4165 2014-07-25 Nathan Sidwell <nathan@acm.org>
4167 * libgcov-driver.c (set_gcov_dump_complete,
4168 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4169 functions polluting user's namespace.
4170 (gcov_exit): Set variable directly.
4171 (gcov_clear): Reset variable directly.
4172 * libgcov-interface.c (get_gcov_dymp_complete,
4173 reset_gov_dump_complete): Remove declarations.
4174 (__gcov_reset, __gcov_dump): Don't call them.
4176 2014-07-24 DJ Delorie <dj@redhat.com>
4178 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4179 (__gcc_deregister_frame): Move logic to detect deregister function
4181 (__gcc_register_frame): here, so it's consistent with the register
4184 2014-07-23 Nathan Sidwell <nathan@acm.org>
4186 * libgcov-driver.c (set_gcov_list): Remove.
4187 (gcov_list): Make non-static in GCOV_TOOL.
4188 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4190 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4192 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4193 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4194 Don't use SYNC_LOCK_RELEASE for int type.
4196 2014-07-14 Richard Biener <rguenther@suse.de>
4198 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4200 2014-07-11 Rong Xu <xur@google.com>
4202 * libgcov-util.c (gcov_max_filename): Fix declartion.
4204 2014-07-10 Rong Xu <xur@google.com>
4206 Add gcov-tool: an offline gcda profile processing tool
4208 * libgcov-driver.c (gcov_max_filename): Make available
4210 * libgcov-merge.c (__gcov_merge_add): Replace
4211 gcov_read_counter() with a Macro.
4212 (__gcov_merge_ior): Ditto.
4213 (__gcov_merge_time_profile): Ditto.
4214 (__gcov_merge_single): Ditto.
4215 (__gcov_merge_delta): Ditto.
4216 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4217 in the utility functions.
4218 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4219 gcov_list object link lists.
4220 (tag_function): Ditto.
4221 (tag_blocks): Ditto.
4224 (tag_counters): Ditto.
4225 (tag_summary): Ditto.
4226 (read_gcda_finalize): Ditto.
4227 (read_gcda_file): Ditto.
4228 (ftw_read_file): Ditto.
4229 (read_profile_dir_init): Ditto.
4230 (gcov_read_profile_dir): Ditto.
4231 (gcov_read_counter_mem): Ditto.
4232 (gcov_get_merge_weight): Ditto.
4233 (merge_wrapper): A wrapper function that calls merging handler.
4234 (gcov_merge): Merge two gcov_info objects with weights.
4235 (find_match_gcov_info): Find the matched gcov_info in the list.
4236 (gcov_profile_merge): Merge two gcov_info object lists.
4237 (__gcov_add_counter_op): Process edge profile counter values.
4238 (__gcov_ior_counter_op): Process IOR profile counter values.
4239 (__gcov_delta_counter_op): Process delta profile counter values.
4240 (__gcov_single_counter_op): Process single profile counter values.
4241 (fp_scale): Callback function for float-point scaling.
4242 (int_scale): Callback function for integer fraction scaling.
4243 (gcov_profile_scale): Scaling profile counters.
4244 (gcov_profile_normalize): Normalize profile counters.
4245 * libgcov.h: Add headers and functions for gcov-tool use.
4246 (gcov_get_counter): New.
4247 (gcov_get_counter_target): Ditto.
4248 (struct gcov_info): Make the functions field mutable in gcov-tool
4251 2014-06-23 Kai Tietz <ktietz@redhat.com>
4254 * unwind-seh.c (_Unwind_GetGR): Check for proper
4256 (_Unwind_SetGR): Likewise.
4258 2014-05-22 Nick Clifton <nickc@redhat.com>
4260 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4263 2014-05-22 Teresa Johnson <tejohnson@google.com>
4265 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4268 2014-05-20 John Marino <gnugcc@marino.st>
4270 * config.host (*-*-dragonfly*): New target.
4271 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4272 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4273 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4274 * config/i386/dragonfly-unwind.h: New.
4276 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4279 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4280 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4282 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4284 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4287 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4289 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4291 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4294 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4297 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4299 Work around for current cygwin32 build problems.
4300 * config/i386/cygming-crtbegin.c (__register_frame_info,
4301 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4302 functions only for 64-bit systems.
4304 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4306 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4307 (sigill_caught, sigill_hdlr): Remove.
4309 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4311 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4313 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4314 Solaris 9 single-threaded support.
4315 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4316 Solaris 9 single-threaded support. Add call_user_handler code
4318 (sparc_is_sighandler): Likewise.
4320 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4322 * config.host: Append t-floattodi to tmake_file depending on
4325 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4327 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4329 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4332 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4333 variable to avoid "array subscript is above array bounds" warnings.
4334 Use __builtin_expect when checking *jcr_list for NULL.
4336 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4339 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4340 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4341 vtv_*.o to extra_parts if enable_vtable_verify.
4343 2014-03-06 Nick Clifton <nickc@redhat.com>
4345 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4346 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4348 2014-02-28 Joey Ye <joey.ye@arm.com>
4351 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4352 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4355 2014-02-24 Walter Lee <walt@tilera.com>
4357 * config.host: Support "tilegx*" and "tilepro*" triplets.
4358 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4359 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4361 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4362 Chung-Lin Tang <cltang@codesourcery.com>
4364 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4365 * config/nios2/crti.S: Remove .file directive.
4366 * config/nios2/crtn.S: Likewise.
4368 2014-02-18 Kai Tietz <ktietz@redhat.com>
4369 Jonathan Schleifer <js@webkeks.org>
4372 * unwind-seh.c (_GCC_specific_handler): Pass proper
4373 value to unwind-handler.
4375 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4377 * soft-fp/adddf3.c: Update from glibc.
4378 * soft-fp/addsf3.c: Likewise.
4379 * soft-fp/addtf3.c: Likewise.
4380 * soft-fp/divdf3.c: Likewise.
4381 * soft-fp/divsf3.c: Likewise.
4382 * soft-fp/divtf3.c: Likewise.
4383 * soft-fp/double.h: Likewise.
4384 * soft-fp/eqdf2.c: Likewise.
4385 * soft-fp/eqsf2.c: Likewise.
4386 * soft-fp/eqtf2.c: Likewise.
4387 * soft-fp/extenddftf2.c: Likewise.
4388 * soft-fp/extended.h: Likewise.
4389 * soft-fp/extendsfdf2.c: Likewise.
4390 * soft-fp/extendsftf2.c: Likewise.
4391 * soft-fp/extendxftf2.c: Likewise.
4392 * soft-fp/fixdfdi.c: Likewise.
4393 * soft-fp/fixdfsi.c: Likewise.
4394 * soft-fp/fixdfti.c: Likewise.
4395 * soft-fp/fixsfdi.c: Likewise.
4396 * soft-fp/fixsfsi.c: Likewise.
4397 * soft-fp/fixsfti.c: Likewise.
4398 * soft-fp/fixtfdi.c: Likewise.
4399 * soft-fp/fixtfsi.c: Likewise.
4400 * soft-fp/fixtfti.c: Likewise.
4401 * soft-fp/fixunsdfdi.c: Likewise.
4402 * soft-fp/fixunsdfsi.c: Likewise.
4403 * soft-fp/fixunsdfti.c: Likewise.
4404 * soft-fp/fixunssfdi.c: Likewise.
4405 * soft-fp/fixunssfsi.c: Likewise.
4406 * soft-fp/fixunssfti.c: Likewise.
4407 * soft-fp/fixunstfdi.c: Likewise.
4408 * soft-fp/fixunstfsi.c: Likewise.
4409 * soft-fp/fixunstfti.c: Likewise.
4410 * soft-fp/floatdidf.c: Likewise.
4411 * soft-fp/floatdisf.c: Likewise.
4412 * soft-fp/floatditf.c: Likewise.
4413 * soft-fp/floatsidf.c: Likewise.
4414 * soft-fp/floatsisf.c: Likewise.
4415 * soft-fp/floatsitf.c: Likewise.
4416 * soft-fp/floattidf.c: Likewise.
4417 * soft-fp/floattisf.c: Likewise.
4418 * soft-fp/floattitf.c: Likewise.
4419 * soft-fp/floatundidf.c: Likewise.
4420 * soft-fp/floatundisf.c: Likewise.
4421 * soft-fp/floatunditf.c: Likewise.
4422 * soft-fp/floatunsidf.c: Likewise.
4423 * soft-fp/floatunsisf.c: Likewise.
4424 * soft-fp/floatunsitf.c: Likewise.
4425 * soft-fp/floatuntidf.c: Likewise.
4426 * soft-fp/floatuntisf.c: Likewise.
4427 * soft-fp/floatuntitf.c: Likewise.
4428 * soft-fp/gedf2.c: Likewise.
4429 * soft-fp/gesf2.c: Likewise.
4430 * soft-fp/getf2.c: Likewise.
4431 * soft-fp/ledf2.c: Likewise.
4432 * soft-fp/lesf2.c: Likewise.
4433 * soft-fp/letf2.c: Likewise.
4434 * soft-fp/muldf3.c: Likewise.
4435 * soft-fp/mulsf3.c: Likewise.
4436 * soft-fp/multf3.c: Likewise.
4437 * soft-fp/negdf2.c: Likewise.
4438 * soft-fp/negsf2.c: Likewise.
4439 * soft-fp/negtf2.c: Likewise.
4440 * soft-fp/op-1.h: Likewise.
4441 * soft-fp/op-2.h: Likewise.
4442 * soft-fp/op-4.h: Likewise.
4443 * soft-fp/op-8.h: Likewise.
4444 * soft-fp/op-common.h: Likewise.
4445 * soft-fp/quad.h: Likewise.
4446 * soft-fp/single.h: Likewise.
4447 * soft-fp/soft-fp.h: Likewise.
4448 * soft-fp/subdf3.c: Likewise.
4449 * soft-fp/subsf3.c: Likewise.
4450 * soft-fp/subtf3.c: Likewise.
4451 * soft-fp/truncdfsf2.c: Likewise.
4452 * soft-fp/trunctfdf2.c: Likewise.
4453 * soft-fp/trunctfsf2.c: Likewise.
4454 * soft-fp/trunctfxf2.c: Likewise.
4455 * soft-fp/unorddf2.c: Likewise.
4456 * soft-fp/unordsf2.c: Likewise.
4457 * soft-fp/unordtf2.c: Likewise.
4458 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4460 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4462 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4464 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4466 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4468 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4470 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4472 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4474 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4476 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4478 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4480 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4482 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4484 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4486 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4488 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4491 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4493 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4494 cannot be represented.
4495 * config/s390/32/_fixsfdi.c: Likewise.
4496 * config/s390/32/_fixtfdi.c: Likewise.
4497 * config/s390/32/_fixunsdfdi.c: Likewise.
4498 * config/s390/32/_fixunssfdi.c: Likewise.
4499 * config/s390/32/_fixunstfdi.c: Likewise.
4501 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4503 * configure.ac (libgcc_cv_mips_hard_float): New.
4504 * configure: Regenerate.
4505 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4506 t-softfp-sfdf for hard-float targets.
4507 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4508 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4509 (softfp_truncations, softfp_exclude_libgcc2): New.
4510 * config/t-hardfp: New file.
4511 * config/t-hardfp-sfdf: Likewise.
4512 * config/hardfp.c: Likewise.
4514 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4516 * config.host: Include t-floattodi also for s390x.
4517 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4518 * config/s390/32/_fixsfdi.c: Likewise.
4519 * config/s390/32/_fixtfdi.c: Likewise.
4520 * config/s390/32/_fixunsdfdi.c: Likewise.
4521 * config/s390/32/_fixunssfdi.c: Likewise.
4522 * config/s390/32/_fixunstfdi.c: Likewise.
4524 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4527 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4528 (install-libgcc-unwind-map-forbuild): New target.
4529 (all): Depend on install-libgcc-unwind-map-forbuild.
4530 (install-libgcc-unwind-map): New target.
4531 (install): Depend on install-libgcc-unwind-map.
4533 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4535 * config/nios2/crti.S (_init): Initialize GOT pointer from
4536 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4538 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4540 * configure.ac: Check __mips64 when setting host_address.
4541 * configure: Regenerate.
4542 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4543 mips/t-mips64 and t-softfp.
4544 (mips*-*-linux*): Don't add mips/t-tpbit.
4545 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4546 (DPBIT, DPBIT_CFLAGS): Delete.
4547 * config/mips/sfp-machine.h: New file.
4548 * config/mips/t-mips64: Likewise.
4549 * config/mips/t-softfp-tf: Likewise.
4550 * config/mips/t-tpbit: Delete.
4552 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4554 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4557 2014-01-25 Walter Lee <walt@tilera.com>
4559 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4560 config.h or system.h.
4563 2014-01-25 Walter Lee <walt@tilera.com>
4565 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4566 (post_atomic_barrier): Ditto.
4567 (__fetch_and_do): New macro.
4568 (__atomic_fetch_and_do): Use __fetch_and_do.
4569 (__sync_fetch_and_do): New macro.
4570 (__sync_fetch_and_add_4): New function.
4571 (__sync_fetch_and_sub_4): New function.
4572 (__sync_fetch_and_or_4): New function.
4573 (__sync_fetch_and_and_4): New function.
4574 (__sync_fetch_and_xor_4): New function.
4575 (__sync_fetch_and_nand_4): New function.
4576 (__sync_fetch_and_add_8): New function.
4577 (__sync_fetch_and_sub_8): New function.
4578 (__sync_fetch_and_or_8): New function.
4579 (__sync_fetch_and_and_8): New function.
4580 (__sync_fetch_and_xor_8): New function.
4581 (__sync_fetch_and_nand_8): New function.
4582 (__do_and_fetch): New macro.
4583 (__atomic_do_and_fetch): Use __do_and_fetch.
4584 (__sync_do_and_fetch): New macro.
4585 (__sync_add_and_fetch_4): New function.
4586 (__sync_sub_and_fetch_4): New function.
4587 (__sync_or_and_fetch_4): New function.
4588 (__sync_and_and_fetch_4): New function.
4589 (__sync_xor_and_fetch_4): New function.
4590 (__sync_nand_and_fetch_4): New function.
4591 (__sync_add_and_fetch_8): New function.
4592 (__sync_sub_and_fetch_8): New function.
4593 (__sync_or_and_fetch_8): New function.
4594 (__sync_and_and_fetch_8): New function.
4595 (__sync_xor_and_fetch_8): New function.
4596 (__sync_nand_and_fetch_8): New function.
4597 (__sync_exchange_methods): New macro.
4598 (__sync_val_compare_and_swap_4): New function.
4599 (__sync_bool_compare_and_swap_4): New function.
4600 (__sync_lock_test_and_test_4): New function.
4601 (__sync_val_compare_and_swap_8): New function.
4602 (__sync_bool_compare_and_swap_8): New function.
4603 (__sync_lock_test_and_test_8): New function.
4604 (__subword_cmpxchg_body): New macro.
4605 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4606 (__atomic_compare_exchange_2): Ditto.
4607 (__sync_subword_cmpxchg): New macro.
4608 (__sync_val_compare_and_swap_1): New function.
4609 (__sync_bool_compare_and_swap_1): New function.
4610 (__sync_val_compare_and_swap_2): New function.
4611 (__sync_bool_compare_and_swap_2): New function.
4612 (__atomic_subword): Rename to ...
4613 (__subword): ... New name.
4614 (__atomic_subword_fetch): Use __subword.
4615 (__sync_subword_fetch): New macro.
4616 (__sync_fetch_and_add_1): New function.
4617 (__sync_fetch_and_sub_1): New function.
4618 (__sync_fetch_and_or_1): New function.
4619 (__sync_fetch_and_and_1): New function.
4620 (__sync_fetch_and_xor_1): New function.
4621 (__sync_fetch_and_nand_1): New function.
4622 (__sync_fetch_and_add_2): New function.
4623 (__sync_fetch_and_sub_2): New function.
4624 (__sync_fetch_and_or_2): New function.
4625 (__sync_fetch_and_and_2): New function.
4626 (__sync_fetch_and_xor_2): New function.
4627 (__sync_fetch_and_nand_2): New function.
4628 (__sync_add_and_fetch_1): New function.
4629 (__sync_sub_and_fetch_1): New function.
4630 (__sync_or_and_fetch_1): New function.
4631 (__sync_and_and_fetch_1): New function.
4632 (__sync_xor_and_fetch_1): New function.
4633 (__sync_nand_and_fetch_1): New function.
4634 (__sync_add_and_fetch_2): New function.
4635 (__sync_sub_and_fetch_2): New function.
4636 (__sync_or_and_fetch_2): New function.
4637 (__sync_and_and_fetch_2): New function.
4638 (__sync_xor_and_fetch_2): New function.
4639 (__sync_nand_and_fetch_2): New function.
4640 (__atomic_subword_lock): Use __subword.
4641 (__sync_subword_lock): New macro.
4642 (__sync_lock_test_and_set_1): New function.
4643 (__sync_lock_test_and_set_2): New function.
4645 2014-01-25 Walter Lee <walt@tilera.com>
4647 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4648 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4649 (__atomic_subword): Ditto.
4651 2014-01-25 Walter Lee <walt@tilera.com>
4653 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4654 a prefix op argument.
4655 (__atomic_nand_fetch_4): Add prefix op.
4656 (__atomic_nand_fetch_8): Ditto.
4658 2014-01-21 Baruch Siach <barch@tkos.co.il>
4660 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4662 2014-01-09 Rong Xu <xur@google.com>
4664 * libgcov-driver.c (this_prg): make it local to save
4666 (gcov_exit_compute_summary): Ditto.
4667 (gcov_exit_merge_gcda): Ditto.
4668 (gcov_exit_merge_summary): Ditto.
4669 (gcov_exit_dump_gcov): Ditto.
4671 2014-01-08 Rong Xu <xur@google.com>
4673 * libgcov-driver.c: Use libgcov.h.
4674 (buffer_fn_data): Use xmalloc instead of malloc.
4675 (gcov_exit_merge_gcda): Ditto.
4676 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4677 * libgcov.h: New common header files for libgcov-*.h.
4678 * libgcov-interface.c: Use libgcov.h
4679 * libgcov-merge.c: Ditto.
4680 * libgcov-profiler.c: Ditto.
4681 * Makefile.in: Add dependence to libgcov.h
4683 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4685 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4686 case of small numerator and finite nonzero result.
4688 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4690 Update copyright years
4692 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4694 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4695 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4696 config/arc/dp-hack.h, config/arc/fp-hack.h,
4697 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4698 config/arc/ieee-754/arc600-dsp/divdf3.S,
4699 config/arc/ieee-754/arc600-dsp/divsf3.S,
4700 config/arc/ieee-754/arc600-dsp/muldf3.S,
4701 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4702 config/arc/ieee-754/arc600-mul64/divdf3.S,
4703 config/arc/ieee-754/arc600-mul64/divsf3.S,
4704 config/arc/ieee-754/arc600-mul64/muldf3.S,
4705 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4706 config/arc/ieee-754/arc600/divsf3.S,
4707 config/arc/ieee-754/arc600/mulsf3.S,
4708 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4709 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4710 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4711 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4712 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4713 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4714 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4715 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4716 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4717 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4718 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4719 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4720 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4721 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4722 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4723 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4724 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4725 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4726 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4727 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4728 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4729 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4730 vtv_start_preinit.c: Use the standard form for the copyright notice.
4732 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4733 Chung-Lin Tang <cltang@codesourcery.com>
4734 Based on patches from Altera Corporation
4736 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4737 * config/nios2/lib2-nios2.h: New file.
4738 * config/nios2/lib2-divmod-hi.c: New file.
4739 * config/nios2/linux-unwind.h: New file.
4740 * config/nios2/lib2-divmod.c: New file.
4741 * config/nios2/linux-atomic.c: New file.
4742 * config/nios2/t-nios2: New file.
4743 * config/nios2/crti.asm: New file.
4744 * config/nios2/t-linux: New file.
4745 * config/nios2/lib2-divtable.c: New file.
4746 * config/nios2/lib2-mul.c: New file.
4747 * config/nios2/tramp.c: New file.
4748 * config/nios2/crtn.asm: New file.
4750 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4752 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4753 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4754 from cpuid.h to check vendor signatures.
4756 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4758 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4759 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4760 (get_amd_cpu): Likewise.
4762 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4764 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4767 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4768 H.J. Lu <hongjiu.lu@intel.com>
4771 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4773 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4774 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4775 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4776 FEATURE_XOP and FEATURE_FMA.
4777 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4779 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4780 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4781 FEATURE_FMA4 and FEATURE_XOP.
4783 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4785 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4786 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4787 (get_intel_cpu): Updated.
4789 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4791 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4793 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4795 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4796 instructions when __SSE_MATH__ is defined.
4798 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4800 * config.host (microblaze-*-rtems*): New.
4802 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4804 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4805 architectures that do not have hardware divide instruction.
4806 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4808 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4810 * longlong.h: Delete (moved to include/).
4812 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4815 of normal number and qNaN to not raise an inexact exception.
4817 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4819 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4821 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4823 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4824 for correct opcodes on BE.
4826 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4828 * soft-fp/op-4.h: Update from glibc.
4830 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4832 * libgcc2.c (__udivmoddi4): Define new implementation when
4833 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4834 divide instructions.
4836 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4838 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4840 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4842 * config/t-softfp (soft-fp-objects-base): New variable.
4843 (soft-fp-objects): Use it.
4845 2013-11-23 David Edelson <dje.gcc@gmail.com>
4846 Andrew Dixie <andrewd@gentrack.com>
4849 * config/rs6000/aixinitfini.c: New file.
4850 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4851 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4854 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4856 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4858 2013-11-18 Jan Hubicka <jh@suse.cz>
4860 * libgcov-driver.c (run_accounted): Make global level static.
4861 (gcov_exit_merge_summary): Silence warning; do not clear
4863 (gcov_exit): Clear it here.
4865 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4868 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4869 (all_prg, crc32): Remove static vars.
4870 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4872 (gcov_exit_merge_gcda): Add crc32 parameter.
4873 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4874 do not account run if it was already accounted.
4875 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4876 (gcov_exit): Initialize all_prg; update.
4878 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4880 * configure: Regenerate.
4882 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4883 Alan Modra <amodra@gmail.com>
4885 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4886 (frob_update_context): Use it.
4888 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4889 Alan Modra <amodra@gmail.com>
4891 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4892 (trampoline_initial): Provide ELFv2 variant.
4893 (__trampoline_setup): Likewise.
4895 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4896 check for AIX indirect function call sequence if _CALL_ELF == 2.
4898 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4899 Alan Modra <amodra@gmail.com>
4901 * config/rs6000/linux-unwind.h (get_regs): Do not support
4902 old kernel versions if _CALL_ELF == 2.
4903 (frob_update_context): Do not support PLT stub variants only
4904 generated by old linkers if _CALL_ELF == 2.
4906 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4907 Alan Modra <amodra@gmail.com>
4909 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4910 location of CR save area for 64-bit little-endian systems.
4912 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4914 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4916 * config/arm/t-vxworks: Delete.
4918 2013-11-10 Kai Tietz <ktietz@redhat.com>
4920 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4921 Increment load-count on use of LIBGCC_SONAME DLL.
4922 (hmod_libgcc): New static variable to hold handle of
4924 (__gcc_deregister_frame): Decrement load-count of
4927 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4929 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4931 * configure: Regenerate
4933 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4935 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4936 FP_EX_DENORM. Store result to volatile location after SSE division
4937 to close interrupt window. Remove unneeded fwait after x87
4938 division since interrupt window will be closed by emitted fstp.
4939 Rewrite FP_EX_INEXACT handling.
4941 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4943 * soft-fp/README: Update.
4944 * soft-fp/adddf3.c: Update from glibc.
4945 * soft-fp/addsf3.c: Likewise.
4946 * soft-fp/addtf3.c: Likewise.
4947 * soft-fp/divdf3.c: Likewise.
4948 * soft-fp/divsf3.c: Likewise.
4949 * soft-fp/divtf3.c: Likewise.
4950 * soft-fp/double.h: Likewise.
4951 * soft-fp/eqdf2.c: Likewise.
4952 * soft-fp/eqsf2.c: Likewise.
4953 * soft-fp/eqtf2.c: Likewise.
4954 * soft-fp/extenddftf2.c: Likewise.
4955 * soft-fp/extended.h: Likewise.
4956 * soft-fp/extendsfdf2.c: Likewise.
4957 * soft-fp/extendsftf2.c: Likewise.
4958 * soft-fp/extendxftf2.c: Likewise.
4959 * soft-fp/fixdfdi.c: Likewise.
4960 * soft-fp/fixdfsi.c: Likewise.
4961 * soft-fp/fixdfti.c: Likewise.
4962 * soft-fp/fixsfdi.c: Likewise.
4963 * soft-fp/fixsfsi.c: Likewise.
4964 * soft-fp/fixsfti.c: Likewise.
4965 * soft-fp/fixtfdi.c: Likewise.
4966 * soft-fp/fixtfsi.c: Likewise.
4967 * soft-fp/fixtfti.c: Likewise.
4968 * soft-fp/fixunsdfdi.c: Likewise.
4969 * soft-fp/fixunsdfsi.c: Likewise.
4970 * soft-fp/fixunsdfti.c: Likewise.
4971 * soft-fp/fixunssfdi.c: Likewise.
4972 * soft-fp/fixunssfsi.c: Likewise.
4973 * soft-fp/fixunssfti.c: Likewise.
4974 * soft-fp/fixunstfdi.c: Likewise.
4975 * soft-fp/fixunstfsi.c: Likewise.
4976 * soft-fp/fixunstfti.c: Likewise.
4977 * soft-fp/floatdidf.c: Likewise.
4978 * soft-fp/floatdisf.c: Likewise.
4979 * soft-fp/floatditf.c: Likewise.
4980 * soft-fp/floatsidf.c: Likewise.
4981 * soft-fp/floatsisf.c: Likewise.
4982 * soft-fp/floatsitf.c: Likewise.
4983 * soft-fp/floattidf.c: Likewise.
4984 * soft-fp/floattisf.c: Likewise.
4985 * soft-fp/floattitf.c: Likewise.
4986 * soft-fp/floatundidf.c: Likewise.
4987 * soft-fp/floatundisf.c: Likewise.
4988 * soft-fp/floatunditf.c: Likewise.
4989 * soft-fp/floatunsidf.c: Likewise.
4990 * soft-fp/floatunsisf.c: Likewise.
4991 * soft-fp/floatunsitf.c: Likewise.
4992 * soft-fp/floatuntidf.c: Likewise.
4993 * soft-fp/floatuntisf.c: Likewise.
4994 * soft-fp/floatuntitf.c: Likewise.
4995 * soft-fp/gedf2.c: Likewise.
4996 * soft-fp/gesf2.c: Likewise.
4997 * soft-fp/getf2.c: Likewise.
4998 * soft-fp/ledf2.c: Likewise.
4999 * soft-fp/lesf2.c: Likewise.
5000 * soft-fp/letf2.c: Likewise.
5001 * soft-fp/muldf3.c: Likewise.
5002 * soft-fp/mulsf3.c: Likewise.
5003 * soft-fp/multf3.c: Likewise.
5004 * soft-fp/negdf2.c: Likewise.
5005 * soft-fp/negsf2.c: Likewise.
5006 * soft-fp/negtf2.c: Likewise.
5007 * soft-fp/op-1.h: Likewise.
5008 * soft-fp/op-2.h: Likewise.
5009 * soft-fp/op-4.h: Likewise.
5010 * soft-fp/op-8.h: Likewise.
5011 * soft-fp/op-common.h: Likewise.
5012 * soft-fp/quad.h: Likewise.
5013 * soft-fp/single.h: Likewise.
5014 * soft-fp/soft-fp.h: Likewise.
5015 * soft-fp/subdf3.c: Likewise.
5016 * soft-fp/subsf3.c: Likewise.
5017 * soft-fp/subtf3.c: Likewise.
5018 * soft-fp/truncdfsf2.c: Likewise.
5019 * soft-fp/trunctfdf2.c: Likewise.
5020 * soft-fp/trunctfsf2.c: Likewise.
5021 * soft-fp/trunctfxf2.c: Likewise.
5022 * soft-fp/unorddf2.c: Likewise.
5023 * soft-fp/unordsf2.c: Likewise.
5024 * soft-fp/unordtf2.c: Likewise.
5026 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5028 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5029 (_FP_MUL_MEAT_D): Ditto.
5030 (_FP_DIV_MEAT_S): Ditto.
5031 (_FP_DIV_MEAT_D): Ditto.
5032 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5033 t-softfp-sfdf and t-softfp to tmake_file.
5035 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5037 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5038 * config/i386/crtprec.c: Ditto.
5040 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5041 Shiva Chen <shiva0217@gmail.com>
5043 * config.host (nds32*-elf*): Add nds32 target.
5044 * config/nds32 : New directory and files.
5046 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5048 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5049 * config.host (cpu_type) <Setting default>: Add entry for
5051 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5052 <crisv32-*-linux*>: Adjust.
5053 * longlong.h: Wrap the whole CRIS section in a single
5054 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5056 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5058 [__CRIS__] (__umulsidi3): Define.
5059 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5060 * config/cris/sfp-machine.h: New file.
5061 * config/cris/umulsidi3.S: New file.
5062 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5063 * config/cris/arit.c (SIGNMULT): New macro.
5064 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5065 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5066 saving 3 out of originally 33 cycles from the fastest
5067 path, 3 out of 54 from the medium path and one from the longest
5068 path. Improve comments.
5070 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5072 * sync.c: Remove static aliases and define each function directly
5073 under its real name.
5075 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5077 * config.host (hppa*64*-*-linux*): Define extra_parts.
5078 (hppa*-*-linux*): Likewise.
5080 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5082 * config/arc/crtgend.S: Add 2013 to Copyright years.
5083 * config/arc/gmon/atomic.h: Likewise.
5084 * config/arc/gmon/auxreg.h: Likewise.
5085 * config/arc/gmon/sys/gmon_out.h: Likewise.
5086 * config/arc/gmon/sys/gmon.h: Likewise.
5087 * config/arc/gmon/prof-freq.c: Likewise.
5088 * config/arc/gmon/mcount.c: Likewise.
5089 * config/arc/gmon/prof-freq-stub.S: Likewise.
5090 * config/arc/gmon/gmon.c: Likewise.
5091 * config/arc/gmon/machine-gmon.h: Likewise.
5092 * config/arc/gmon/profil.S: Likewise.
5093 * config/arc/gmon/dcache_linesz.S: Likewise.
5094 * config/arc/crtg.S: Likewise.
5095 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5096 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5097 * config/arc/ieee-754/adddf3.S: Likewise.
5098 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5099 * config/arc/ieee-754/fixsfsi.S: Likewise.
5100 * config/arc/ieee-754/gtsf2.S: Likewise.
5101 * config/arc/ieee-754/floatsisf.S: Likewise.
5102 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5103 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5104 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5105 * config/arc/ieee-754/fixdfsi.S: Likewise.
5106 * config/arc/ieee-754/addsf3.S: Likewise.
5107 * config/arc/ieee-754/gesf2.S: Likewise.
5108 * config/arc/ieee-754/floatsidf.S: Likewise.
5109 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5110 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5111 * config/arc/ieee-754/gtdf2.S: Likewise.
5112 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5113 * config/arc/ieee-754/uneqdf2.S: Likewise.
5114 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5115 * config/arc/ieee-754/uneqsf2.S: Likewise.
5116 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5117 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5118 * config/arc/ieee-754/eqdf2.S: Likewise.
5119 * config/arc/ieee-754/ordsf2.S: Likewise.
5120 * config/arc/ieee-754/divsf3.S: Likewise.
5121 * config/arc/ieee-754/divdf3.S: Likewise.
5122 * config/arc/ieee-754/floatunsidf.S: Likewise.
5123 * config/arc/ieee-754/orddf2.S: Likewise.
5124 * config/arc/ieee-754/eqsf2.S: Likewise.
5125 * config/arc/ieee-754/gedf2.S: Likewise.
5126 * config/arc/crtn.S: Likewise.
5127 * config/arc/crti.S: Likewise.
5128 * config/arc/t-arc700-uClibc: Likewise.
5129 * config/arc/asm.h: Likewise.
5130 * config/arc/libgcc-excl.ver: Likewise.
5131 * config/arc/t-arc-newlib: Likewise.
5132 * config/arc/divtab-arc700.c: Likewise.
5133 * config/arc/initfini.c: Likewise.
5134 * config/arc/fp-hack.h: Likewise.
5136 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5137 Diego Novillo <dnovillo@google.com>
5139 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5140 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5141 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5142 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5144 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5145 Brendan Kehoe <brendan@zen.org>
5146 Simon Cook <simon.cook@embecosm.com>
5148 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5149 * config/arc: New directory.
5150 * longlong.h [__arc__] (umul_ppmm): Remove.
5151 [__arc__] (__umulsidi3): Define.
5152 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5153 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5155 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5157 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5159 * config/i386/gthr-win32.h: Likewise.
5161 2013-09-16 DJ Delorie <dj@redhat.com>
5163 * config/rl78/vregs.h: Add G10 register definitions.
5164 * config/rl78/lib2mul.c: Enable for RL78/G10.
5165 * config/rl78/lib2div.c: Likewise.
5166 * config/rl78/lshrsi3.S: Use vregs.h.
5167 * config/rl78/cmpsi2.S: Likewise.
5168 * config/rl78/trampoline.S: Likewise.
5169 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5171 2013-09-14 DJ Delorie <dj@redhat.com>
5172 Nick Clifton <nickc@redhat.com>
5174 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5175 * config/rl78/vregs.h: New.
5176 * config/rl78/signbit.S: New file. Implements signbit function.
5177 * config/rl78/divmodsi.S: New.
5178 * config/rl78/divmodhi.S: New.
5179 * config/rl78/divmodqi.S: New.
5180 * config/rl78/t-rl78: Build them here...
5181 * config/rl78/lib2div.c: ...but not here.
5183 2013-09-12 DJ Delorie <dj@redhat.com>
5185 * config.host (msp*-*-elf): New.
5186 * config/msp430/: New port.
5188 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5190 PR gcov-profile/58127
5191 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5192 __thread var for emulated TLS.
5193 (__gcov_indirect_call_counters): Likewise.
5195 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5196 Catherine Moore <clm@codesourcery.com>
5197 Richard Sandiford <rdsandiford@googlemail.com>
5199 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5200 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5201 (CALL_STUB_NO_RET): Likewise.
5202 (CALL_STUB_RET): Likewise.
5203 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5204 __mips16_ret call/return stub symbols.
5205 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5208 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5210 * config.host <mips*-*-linux*>: Remove a stray comment.
5212 2013-08-10 Jan Hubicka <jh@suse.cz>
5214 Work around binutils PR14342
5215 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5216 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5217 (L_gcov_indirect_call_profiler_v2): New.
5219 2013-08-06 Jan Hubicka <jh@suse.cz>
5221 * libgcov.c (__gcov_indirect_call_callee,
5222 __gcov_indirect_call_counters): New global vars.
5223 (__gcov_indirect_call_profiler): replace by ...
5224 (__gcov_indirect_call_profiler_v2) ... this one.
5226 2013-08-06 Caroline Tice <cmtice@google.com>
5228 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5229 vtv_start_preinit.o and vtv_end_preinit.o.
5230 * configure.ac: Add code to check/set enable_vtable_verify.
5231 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5233 * vtv_start_preinit.c: New file.
5234 * vtv_end_preinit.c: New file.
5235 * vtv_start.c: New file.
5236 * vtv_end.c: New file.
5237 * configure: Regenerated.
5239 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5241 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5242 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5243 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5244 GPL-3.0-with-GCC-exception.
5246 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5248 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5251 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5253 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5254 mapping for FPRs when creating the fallback framestate.
5256 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5259 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5260 (__round_s2_const, __round_u2_const)
5261 (__round_s4_const, __round_u4_const, __round_x8):
5262 Saturate result if addition result cannot be represented.
5264 2013-07-15 Matthias Klose <doko@ubuntu.com>
5266 * libgcc2.c: Don't include <limits.h>.
5268 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5270 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5272 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5275 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5277 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5280 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5282 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5283 instead of table lookups.
5284 (__popcountDI2): Likewise.
5286 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5288 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5291 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5294 * soft-fp/adddf3.c: Update from glibc.
5295 * soft-fp/addsf3.c: Likewise.
5296 * soft-fp/addtf3.c: Likewise.
5297 * soft-fp/divdf3.c: Likewise.
5298 * soft-fp/divsf3.c: Likewise.
5299 * soft-fp/divtf3.c: Likewise.
5300 * soft-fp/double.h: Likewise.
5301 * soft-fp/eqdf2.c: Likewise.
5302 * soft-fp/eqsf2.c: Likewise.
5303 * soft-fp/eqtf2.c: Likewise.
5304 * soft-fp/extenddftf2.c: Likewise.
5305 * soft-fp/extended.h: Likewise.
5306 * soft-fp/extendsfdf2.c: Likewise.
5307 * soft-fp/extendsftf2.c: Likewise.
5308 * soft-fp/fixdfdi.c: Likewise.
5309 * soft-fp/fixdfsi.c: Likewise.
5310 * soft-fp/fixsfdi.c: Likewise.
5311 * soft-fp/fixsfsi.c: Likewise.
5312 * soft-fp/fixtfdi.c: Likewise.
5313 * soft-fp/fixtfsi.c: Likewise.
5314 * soft-fp/fixunsdfdi.c: Likewise.
5315 * soft-fp/fixunsdfsi.c: Likewise.
5316 * soft-fp/fixunssfdi.c: Likewise.
5317 * soft-fp/fixunssfsi.c: Likewise.
5318 * soft-fp/fixunstfdi.c: Likewise.
5319 * soft-fp/fixunstfsi.c: Likewise.
5320 * soft-fp/floatdidf.c: Likewise.
5321 * soft-fp/floatdisf.c: Likewise.
5322 * soft-fp/floatditf.c: Likewise.
5323 * soft-fp/floatsidf.c: Likewise.
5324 * soft-fp/floatsisf.c: Likewise.
5325 * soft-fp/floatsitf.c: Likewise.
5326 * soft-fp/floatundidf.c: Likewise.
5327 * soft-fp/floatundisf.c: Likewise.
5328 * soft-fp/floatunditf.c: Likewise.
5329 * soft-fp/floatunsidf.c: Likewise.
5330 * soft-fp/floatunsisf.c: Likewise.
5331 * soft-fp/floatunsitf.c: Likewise.
5332 * soft-fp/gedf2.c: Likewise.
5333 * soft-fp/gesf2.c: Likewise.
5334 * soft-fp/getf2.c: Likewise.
5335 * soft-fp/ledf2.c: Likewise.
5336 * soft-fp/lesf2.c: Likewise.
5337 * soft-fp/letf2.c: Likewise.
5338 * soft-fp/muldf3.c: Likewise.
5339 * soft-fp/mulsf3.c: Likewise.
5340 * soft-fp/multf3.c: Likewise.
5341 * soft-fp/negdf2.c: Likewise.
5342 * soft-fp/negsf2.c: Likewise.
5343 * soft-fp/negtf2.c: Likewise.
5344 * soft-fp/op-1.h: Likewise.
5345 * soft-fp/op-2.h: Likewise.
5346 * soft-fp/op-4.h: Likewise.
5347 * soft-fp/op-8.h: Likewise.
5348 * soft-fp/op-common.h: Likewise.
5349 * soft-fp/quad.h: Likewise.
5350 * soft-fp/single.h: Likewise.
5351 * soft-fp/soft-fp.h: Likewise.
5352 * soft-fp/subdf3.c: Likewise.
5353 * soft-fp/subsf3.c: Likewise.
5354 * soft-fp/subtf3.c: Likewise.
5355 * soft-fp/truncdfsf2.c: Likewise.
5356 * soft-fp/trunctfdf2.c: Likewise.
5357 * soft-fp/trunctfsf2.c: Likewise.
5358 * soft-fp/unorddf2.c: Likewise.
5359 * soft-fp/unordsf2.c: Likewise.
5360 * soft-fp/unordtf2.c: Likewise.
5361 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5362 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5363 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5364 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5365 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5366 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5367 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5368 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5369 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5370 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5371 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5372 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5374 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5376 * config/mips/lib2funcs.c: New file.
5377 * config/mips/t-mips (LIB2ADD_ST): Add it.
5379 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5382 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5383 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5385 2013-06-08 Walter Lee <walt@tilera.com>
5387 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5388 Replace int64_t with long long. Add __extension__ where
5390 * config/tilepro/atomic.c: Include config.h.
5392 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5394 * config.host (arm-wrs-vxworks): Configure with other soft float.
5396 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5398 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5399 (mips64r5900el-*-elf*): New configurations.
5401 2013-06-04 Alan Modra <amodra@gmail.com>
5403 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5405 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5407 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5409 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5411 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5412 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5413 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5415 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5417 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5418 (powerpc-wrs-vxworks): Likewise.
5420 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5422 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5423 signal frames as well.
5424 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5425 STACK_BIAS to the CFA offset.
5427 2013-05-17 Richard Henderson <rth@redhat.com>
5430 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5431 (execute_cfa_program): Use it when storing to fs->regs.
5433 2013-05-08 Kai Tietz <ktietz@redhat.com>
5435 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5436 (__deregister_frame_info): Likewise.
5438 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5440 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5443 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5445 2013-04-25 Alan Modra <amodra@gmail.com>
5447 * config.host: Match little-endian powerpc-linux.
5449 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5451 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5452 as 'unsigned long long' instead of 'unsigned long'.
5453 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5456 2013-04-10 Julian Brown <julian@codesourcery.com>
5458 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5459 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5460 unsigned char/unsigned short.
5461 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5463 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5466 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5468 2013-04-04 Meador Inge <meadori@codesourcery.com>
5470 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5471 computing the location of the link register.
5472 (aeabi_uldivmod): Ditto.
5474 2013-03-27 Kai Tietz <ktietz@redhat.com>
5476 * config.host: Add support for cygwin x64 target.
5477 * configure: Regenerated.
5479 2013-03-26 Walter Lee <walt@tilera.com>
5481 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5482 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5484 2013-03-25 Kai Tietz <ktietz@redhat.com>
5486 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5488 2013-03-20 Robert Mason <rbmj@verizon.net>
5490 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5491 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5492 (__gthread_leave_tsd_dtor_context): Add prototypes.
5493 (tls_delete_hook): Update.
5495 2013-03-20 Catherine Moore <clm@codesourcery.com>
5496 Joseph Myers <joseph@codesourcery.com>
5497 Chao-ying Fu <fu@mips.com>
5499 * config/mips/mips16.S: Don't build for microMIPS.
5500 * config/mips/linux-unwind.h: Handle microMIPS frame.
5501 * config/mips/crtn.S (fini, init): New labels.
5503 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5505 PR tree-optimization/53265
5506 * unwind-dw2.c (execute_cfa_program): Avoid
5507 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5508 on targets with DWARF_FRAME_REGISTERS < 32.
5510 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5513 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5514 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5516 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5518 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5519 sandybridge processors.
5521 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5524 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5527 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5529 * config/microblaze/crti.S: Setup stack protection at entry
5531 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5533 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5534 (__rotldi3): Shift bytewise if applicable.
5536 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5538 * config/aarch64/sync-cache.c
5539 (__aarch64_sync_cache_range): Silence warnings.
5541 2013-02-25 Catherine Moore <clm@codesourcery.com>
5544 2013-02-24 Catherine Moore <clm@codesourcery.com>
5545 Joseph Myers <joseph@codesourcery.com>
5546 Chao-ying Fu <fu@mips.com>
5548 * config/mips/mips16.S: Don't build for microMIPS.
5549 * config/mips/linux-unwind.h: Handle microMIPS frame.
5550 * config/mips/crtn.S (fini, init): New labels.
5552 2013-02-24 Catherine Moore <clm@codesourcery.com>
5553 Joseph Myers <joseph@codesourcery.com>
5554 Chao-ying Fu <fu@mips.com>
5556 * config/mips/mips16.S: Don't build for microMIPS.
5557 * config/mips/linux-unwind.h: Handle microMIPS frame.
5558 * config/mips/crtn.S (fini, init): New labels.
5560 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5561 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5564 2013-02-16 Alan Modra <amodra@gmail.com>
5567 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5568 (ppc_fallback_frame_state): Always set up save locations for fp
5569 and altivec. Don't bother with non-callee-saved regs, r0-r13
5570 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5572 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5575 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5577 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5578 _ssmulha3, _usmulusa3, _ssmulsa3.
5579 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5580 (__muldi3): XCALL __muldi3_6 instead of rcall.
5581 (__umulsidi3, __mulsidi3): New functions.
5582 (do_prologue_saves, do_epilogue_restores): New .macros.
5583 (__divdi3_moddi3): Use them.
5584 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5585 (__usmulusa3, __ssmulsa3): New functions.
5587 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5588 Jack Howarth <howarth@bromo.med.uc.edu>
5589 Patrick Marlier <patrick.marlier@gmail.com>
5592 * config/darwin-crt-tm.c: Remove dummy functions hack.
5594 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5597 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5598 * config/avr/lib2-object.mk: New iterator to build objects from it.
5599 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5601 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5602 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5603 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5604 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5605 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5606 * config/avr/lib1funcs-fixed.S: Implement them.
5608 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5610 Update copyright years.
5612 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5615 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5616 Add crtcxa to extra_parts.
5617 * config/rs6000/exit.h: New file.
5618 * config/rs6000/cxa_atexit.c: New file.
5619 * config/rs6000/cxa_finalize.c: New file.
5620 * config/rs6000/crtcxa.c: New file.
5621 * config/rs6000/t-aix-cxa: New file.
5622 * config/rs6000/libgcc-aix-cxa.ver: New file.
5624 2013-01-31 Nick Clifton <nickc@redhat.com>
5626 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5629 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5632 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5633 _mulQQ, _mulHQ, _mulHA, _mulSA,
5634 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5635 _divQQ, _divHQ, _divHA, _divSA,
5636 _divUQQ, _divUHQ, _divUHA, _divUSA.
5638 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5640 * config.host(microblaze*-linux*): tmake_file: Remove
5641 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5642 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5643 to exclude functions from being built with libgcc.c and use
5644 the microblaze assembly.
5646 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5648 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5651 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5653 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5654 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5655 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5656 alignment operation.
5658 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5660 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5661 loop start address for cache clearing.
5663 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5665 * config/avr/lib1funcs.S: Remove trailing blanks.
5666 * config/avr/lib1funcs-fixed.S: Ditto.
5668 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5670 * config/avr/avr-lib.h: Add GPL copyright notice.
5672 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5674 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5675 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5676 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5677 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5679 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5681 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5682 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5684 2013-01-04 Nick Clifton <nickc@redhat.com>
5686 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5687 the CALLT instruction is supported.
5689 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5691 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5692 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5694 2012-12-13 John Tytgat <John@bass-software.com>
5696 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5699 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5702 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5703 undefined signed overflows.
5705 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5708 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5710 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5712 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5713 (FP_TRAPPING_EXCEPTIONS): Define.
5714 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5715 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5717 2012-12-04 Richard Henderson <rth@redhat.com>
5720 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5722 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5724 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5725 (FP_EX_SHIFT): Define.
5726 (FP_TRAPPING_EXCEPTIONS): Define.
5728 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5730 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5731 (FP_ROUNDMODE): Use FP_RND_MASK.
5732 * config/aarch64/sfp-exceptions.c: New.
5733 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5734 Use __sfp_handle_exceptions.
5736 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5738 * config.host: (arm*-*-freebsd*): Remove.
5739 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5740 (arm*-*-elf*): Remove.
5741 (arm*-*-wince-pe*): Remove.
5742 * arm/unwind-arm.c (struct fpa_reg): Delete.
5743 (struct fpa_regs): Delete.
5744 (phase1_vrs): Remove fpa element.
5745 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5746 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5747 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5748 * ieee754-sf.S (floatundisf): Remove FPA support.
5749 (floatdisf): Likewise.
5750 * ieee75f-df.S (floatundidf): Likewise.
5751 (floatdidf): Likewise.
5753 2012-11-29 Kai Tietz <ktietz@redhat.com>
5756 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5757 * unwind-generic.h: Likewise.
5758 * unwind-seh.c: Likewise.
5760 2012-11-28 Richard Henderson <rth@redhat.com>
5763 * emutls.c (__emutls_get_address): Avoid race condition between
5764 obj->loc.offset read and emutls_key initialization.
5766 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5768 Adjust decimal point of signed accum mode to GCC default.
5771 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5773 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5774 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5775 (__mulha3, __mulsa3)
5776 (__divqq3, __divha3, __divsa3): Adjust to new position of
5777 decimal point of signed accum types.
5779 (__mulusa3_round): New function.
5780 (__mulusa3): Use it.
5781 (__divqq_helper): New function.
5782 (__udivuqq3): Use it.
5784 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5787 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5789 2012-11-18 Teresa Johnson <tejohnson@google.com>
5792 * libgcov.c (gcov_exit): Remove merged program summary
5793 comparison unless !GCOV_LOCKED.
5795 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5797 * soft-fp: Updated from glibc upstream.
5799 2012-11-06 Ian Lance Taylor <iant@google.com>
5801 * generic-morestack.c (__generic_morestack): Align the returned
5802 stack pointer to a 32 byte boundary.
5803 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5804 increment the return address until we have decided that we don't
5805 have a varargs function.
5806 (__morestack) [32-bit]: Align stack correctly when calling C
5808 (__morestack) [64-bit]: Likewise.
5810 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5812 * configure: Regenerate.
5814 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5817 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5818 * config/i386/sfp-machine.h: Guard exception handling
5819 code with _SOFT_FLOAT.
5820 * config/i386/32/sfp-machine.h: Guard rounding handling
5821 code with _SOFT_FLOAT.
5822 * config/i386/64/sfp-machine.h: Ditto.
5824 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5826 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5829 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5831 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5832 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5833 when appropriate. Correct structure element types.
5834 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5835 -minline-all-stringops from compile flags.
5837 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5839 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5841 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5843 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5845 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5847 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5850 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5851 Jim MacArthur <jim.macarthur@arm.com>
5852 Marcus Shawcroft <marcus.shawcroft@arm.com>
5853 Nigel Stephens <nigel.stephens@arm.com>
5854 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5855 Richard Earnshaw <rearnsha@arm.com>
5856 Sofiane Naci <sofiane.naci@arm.com>
5857 Stephen Thomas <stephen.thomas@arm.com>
5858 Tejas Belagod <tejas.belagod@arm.com>
5859 Yufeng Zhang <yufeng.zhang@arm.com>
5861 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5862 * config/aarch64/crti.S: New file.
5863 * config/aarch64/crtn.S: New file.
5864 * config/aarch64/linux-unwind.h: New file.
5865 * config/aarch64/sfp-machine.h: New file.
5866 * config/aarch64/sync-cache.c: New file.
5867 * config/aarch64/t-aarch64: New file.
5868 * config/aarch64/t-softfp: New file.
5870 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5872 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5873 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5874 no-longer-needed LDBU insns.
5876 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5879 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5880 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5882 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5884 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5886 2012-10-15 Matthias Klose <doko@ubuntu.com>
5888 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5890 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5892 * configure: Regenerate.
5893 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5895 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5897 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5898 instructions for 64bit targets only.
5900 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5902 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5903 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5904 * config/i386/32/sfp-machine.h: ... here.
5905 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5906 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5909 2012-10-07 Matthias Klose <doko@ubuntu.com>
5911 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5913 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5915 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5917 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5918 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5919 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5922 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5925 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5926 Fix parameter names.
5928 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5931 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5932 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5933 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5935 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5938 * config/sh/linux-atomic.S: Delete.
5939 * config/sh/linux-atomic.c: New.
5940 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5941 linux-atomic.c. Add cflags to disable warnings.
5943 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5946 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5948 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5949 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5950 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5951 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5952 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5954 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5956 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5958 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5959 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5961 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5963 * config.host (hppa-*-openbsd*): New target.
5964 * config/pa/t-openbsd: New file.
5966 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5969 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5970 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5971 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5972 (__divsa3): Use __negsi2 to negate r_quoL.
5973 * config/avr/lib1funcs.S (FALIAS): New macro.
5974 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5975 (__negsi2): ...this new function.
5976 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5977 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5978 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5979 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5980 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5981 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5983 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5986 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5987 (lshrsi3): Reimplement as lshrsi3_r0.
5989 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5992 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5995 2012-09-07 Teresa Johnson <tejohnson@google.com>
5997 PR gcov-profile/54487
5998 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6001 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6004 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6005 not configured --with-avrlibc=no.
6006 * config/avr/t-avrlibc: New file.
6007 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6008 (DPBIT_FUNCS): Ditto.
6009 (TPBIT_FUNCS): Ditto.
6011 2012-09-04 Teresa Johnson <tejohnson@google.com>
6013 * libgcov.c (struct gcov_summary_buffer): New structure.
6014 (gcov_histogram_insert): New function.
6015 (gcov_compute_histogram): Ditto.
6016 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6017 histograms during summary merging.
6019 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6021 * config.host (x86_64-*-openbsd*): New target.
6023 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6025 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6028 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6031 * config/avr/t-avr (conv_X): Rename to func_X.
6033 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6036 * config/avr/lib1funcs-fixed.S: New file.
6037 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6038 after they are used.
6039 (neg2, neg4): New macros.
6040 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6041 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6042 (__umulhisi3): Speed up MUL variant if there is enough flash.
6043 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6045 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6046 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6047 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6048 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6049 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6050 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6051 (LIB2FUNCS_EXCLUDE): Add supported functions.
6053 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6055 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6056 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6058 * fixed-obj.mk: Only expand dependency if $o is not in
6061 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6063 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6065 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6067 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6068 depend on --enable-shared.
6069 ($(lib1asmfuncs-o)): Use %.vis files independent of
6071 * static-object.mk ($(base)$(objext), $(base).vis)
6072 ($(base)_s$(objext)): Use same rules for visibility handling as in
6075 2012-08-21 Ian Lance Taylor <iant@google.com>
6077 * config/i386/morestack.S (__morestack_non_split): Increase amount
6078 of space allocated for non-split code stack.
6080 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6082 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6083 even if inhibit_libc.
6085 2012-08-17 Julian Brown <julian@codesourcery.com>
6087 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6088 -fexceptions -fnon-call-exceptions if not defined.
6089 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6090 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6092 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6094 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6097 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6099 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6100 rs6000/t-slibgcc-aix.
6102 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6104 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6106 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6108 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6110 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6113 * Makefile.in (version): Replace top_srcdir with srcdir.
6115 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6117 * Makefile.in (version): set to BASE-VER file from gcc directory.
6119 2012-08-01 Nick Clifton <nickc@redhat.com>
6121 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6122 Implements __clrsb for an HImode argument.
6124 2012-07-31 Nick Clifton <nickc@redhat.com>
6126 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6127 Implements __clrsb for an HImode argument.
6128 * config/stormy16/clrsbhi2.c: New file:
6129 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6131 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6133 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6135 2012-07-19 Tristan Gingold <gingold@adacore.com>
6136 Richard Henderson <rth@redhat.com>
6138 * unwind-seh.c: New file.
6139 * unwind-generic.h: Include windows.h for SEH.
6140 (_Unwind_Exception): Use 6 private fields for SEH.
6141 (_GCC_specific_handler): Declare.
6142 * unwind-c.c (__gcc_personality_seh0): New function.
6144 * config/i386/libgcc-cygming.ver: New file.
6145 * config/i386/t-seh-eh: New file.
6146 * config.host (x86_64-*-mingw*): Default to seh.
6148 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6150 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6152 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6154 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6155 __builtin_expect when checking for exceptions.
6156 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6158 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6160 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6161 function declaration.
6162 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6164 * config/ia64/sfp-exceptions.c: New.
6165 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6167 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6169 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6170 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6171 * config/i386/64/sfp-machine: ... (delete here) ...
6172 * config/i386/sfp-machine.h: ... to here.
6173 (FP_EX_MASK): Remove.
6175 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6177 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6179 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6180 * config/i386/libgcc-sol2.ver: Ditto.
6181 * config/i386/libgcc-glibc.ver: Ditto.
6183 2012-06-11 Roland McGrath <mcgrathr@google.com>
6185 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6186 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6189 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6191 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6192 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6193 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6194 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6195 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6196 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6197 * config/i386/64/sfp-machine: ... (delete here) ...
6198 * config/i386/sfp-machine.h: ... to here.
6200 (__sfp_handle_exceptions): New function declaration.
6201 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6202 * config/i386/sfp-exceptions.c: New.
6203 * config/i386/t-softfp: New.
6204 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6205 i386/t-softfp to tmake_file.
6207 2012-06-03 David S. Miller <davem@davemloft.net>
6209 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6212 2012-05-31 David S. Miller <davem@davemloft.net>
6214 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6215 multiply and divide instructions on 32-bit when V9.
6216 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6218 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6220 * config/arm/ieee754-df.S: Fix typos.
6221 * config/arm/ieee754-sf.S: Fix typos.
6222 * config/c6x/libunwind.S: Fix typos.
6223 * config/epiphany/udivsi3-float.c: Fix typos.
6224 * config/microblaze/muldi3_hard.S: Fix typos.
6225 * config/picochip/adddi3.S: Fix typos.
6226 * config/picochip/ashlsi3.S: Fix typos.
6227 * config/picochip/ashrsi3.S: Fix typos.
6228 * config/picochip/clzsi2.S: Fix typos.
6229 * config/picochip/cmpsi2.S: Fix typos.
6230 * config/picochip/divmod15.S: Fix typos.
6231 * config/picochip/divmodhi4.S: Fix typos.
6232 * config/picochip/divmodsi4.S: Fix typos.
6233 * config/picochip/longjmp.S: Fix typos.
6234 * config/picochip/lshrsi3.S: Fix typos.
6235 * config/picochip/parityhi2.S: Fix typos.
6236 * config/picochip/popcounthi2.S: Fix typos.
6237 * config/picochip/setjmp.S: Fix typos.
6238 * config/picochip/subdi3.S: Fix typos.
6239 * config/picochip/ucmpsi2.S: Fix typos.
6240 * config/picochip/udivmodhi4.S: Fix typos.
6241 * config/picochip/udivmodsi4.S: Fix typos.
6242 * config/spu/divv2df3.c: Fix typos.
6243 * config/spu/mfc_multi_tag_release.c: Fix typos.
6244 * config/spu/mfc_tag_release.c: Fix typos.
6245 * configure.ac: Fix typos.
6246 * configure: Regenerate.
6248 2012-05-25 Ian Lance Taylor <iant@google.com>
6250 * config/i386/morestack.S (__morestack_non_split): Check whether
6251 caller is varargs and needs %bp to hold the stack frame on return.
6253 2012-05-25 Olivier Hainque <hainque@adacore.com>
6255 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6256 sequence in the non pic case on VxWorks.
6258 2012-05-24 Olivier Hainque <hainque@adacore.com>
6260 * Makefile.in: Move dependency on install-unwind_h from
6261 "install-leaf" to "install".
6263 2012-05-24 Olivier Hainque <hainque@adacore.com>
6265 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6266 Use a separate command for stamp removals.
6268 2012-05-21 Andrew Pinski <apinski@cavium.com>
6271 * configure.ac: Define the default includes to being none.
6272 * configure: Regenerate.
6274 2012-05-16 Olivier Hainque <hainque@adacore.com>
6276 * Makefile.in (install-unwind_h): Rename into ...
6277 (install-unwind_h-forbuild): New target.
6278 (all): Use it instead of the former install-unwind_h.
6279 (install-unwind_h): Reinstate, copy to user install destination
6280 for include files, not to the internal gcc object directory one.
6281 (install-leaf): Depend on it.
6283 2012-05-15 Olivier Hainque <hainque@adacore.com>
6285 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6286 register numbers. LR_REGNO replaces R_LR.
6287 (ucontext_for): New, helper for ...
6288 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6290 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6292 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6294 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6295 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6296 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6298 (i[34567]86-*-*, x86_64-*-*): ... here.
6300 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6301 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6303 * config/i386/i386-cpuinfo.c: Rename to ...
6304 * config/i386/cpuinfo.c: ... this.
6305 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6307 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6308 (libgcc_cv_init_priority): New test.
6309 * configure: Regenerate.
6310 * config.in: New file.
6311 * Makefile.in (clean): Rename config.h to auto-target.h.
6312 (config.h): Likewise.
6313 (stamp-h): Likewise.
6315 * config/i386/cpuinfo.c (auto-target.h): Include.
6316 (CONSTRUCTOR_PRIORITY): Define.
6317 (__cpu_indicator_init): Use it.
6319 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6321 * longlong.h: Use a URL instead of an FSF postal address.
6322 Replace spaces with tab.
6324 2012-05-08 Teresa Johnson <tejohnson@google.com>
6326 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6327 (__gcov_dump): Ditto.
6328 (gcov_dump_complete): New global variable.
6329 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6330 (__gcov_flush): Outline functionality now in gcov_clear.
6331 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6333 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6335 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6336 (mips*-*-linux*): Include mips/t-tpbit when long double is
6339 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6341 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6342 (get_available_features): New argument. Check for AVX2.
6343 (__cpu_indicator_init): Modify call to get_available_features.
6345 2012-04-25 Alan Modra <amodra@gmail.com>
6347 * config/rs6000/crtsavevr.S: New file.
6348 * config/rs6000/crtrestvr.S: New file.
6349 * config/rs6000/t-savresfgpr: Build the above.
6350 * config/rs6000/t-netbsd: Likewise.
6352 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6354 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6356 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6358 * libgcc/config/i386/i386-cpuinfo.c: New file.
6359 * libgcc/config/i386/t-cpuinfo: New file.
6360 * libgcc/config.host: Include t-cpuinfo.
6361 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6363 2012-04-24 Chao-ying Fu <fu@mips.com>
6365 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6367 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6369 struct siginfo vs. siginfo_t
6371 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6372 siginfo_t instead of struct siginfo.
6373 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6374 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6375 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6376 (ia64_handle_unwabi): Likewise.
6377 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6378 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6379 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6380 (sh_fallback_frame_state): Likewise.
6381 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6382 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6384 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6386 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6389 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6391 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6392 if it hasn't been previously saved.
6394 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6396 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6399 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6402 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6403 instead of __AVR_HAVE_8BIT_SP__.
6405 2012-03-26 Tristan Gingold <gingold@adacore.com>
6407 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6408 (unw_table_entry): Use unw_word instead of unsigned long.
6409 (_Unwind_FindTableEntry): Likewise.
6410 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6411 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6412 (_Unwind_FindTableEntry): Likewise.
6413 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6414 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6415 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6416 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6417 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6418 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6419 (uw_init_context_1, uw_install_context): Likewise.
6420 (unw_word): Move to unwind-ia64.h
6422 2012-03-26 Tristan Gingold <gingold@adacore.com>
6424 * config/vms/vms-ucrt0.c: Update copyright years.
6426 (___gcc_main_flags): Declare.
6427 (__main): Check flags to remap argv and exit code.
6428 * config.host (*-*-*vms*): Adjust extra_parts.
6429 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6432 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6434 * arm/lib1funcs.asm (ctzsi2): New function.
6435 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6436 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6437 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6438 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6439 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6440 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6442 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6444 * config.host: Add bits to support powerpc64-*-freebsd*.
6445 * config/rs6000/freebsd-unwind.h: New file.
6446 * config/rs6000/t-freebsd64: New file.
6448 2012-03-20 Richard Guenther <rguenther@suse.de>
6450 PR gcov-profile/52627
6451 * libgcov.c (init_mx): Fix mutex name.
6453 2012-03-16 Tristan Gingold <gingold@adacore.com>
6455 * config/ia64/vms-unwind.h: Remove ulong (and replace
6456 it by unw_reg where used). Define unw_reg with __int64.
6458 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6460 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6462 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6464 (sparc_is_sighandler): Likewise.
6466 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6468 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6471 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6473 * config/arm/crtn.S: Fix typo.
6475 2012-03-13 Richard Guenther <rguenther@suse.de>
6477 * libgcov.c: Remove stdio.h include and NULL un-define.
6479 2012-03-13 Richard Guenther <rguenther@suse.de>
6482 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6484 2012-03-13 Richard Guenther <rguenther@suse.de>
6486 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6488 2012-03-13 Richard Guenther <rguenther@suse.de>
6490 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6491 and __gthread_mutex_init_function definitions.
6493 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6495 * config.host (mips*-*-openbsd*): Remove.
6497 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6499 * config.host: Remove alpha*-dec-osf5.1* handling.
6500 * config/alpha/gthr-posix.c: Remove.
6501 * config/alpha/libgcc-osf5.ver: Remove.
6502 * config/alpha/osf5-unwind.h: Remove.
6503 * config/alpha/t-osf-pthread: Remove.
6504 * config/alpha/t-slibgcc-osf: Remove.
6505 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6506 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6507 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6508 * mkmap-flat.awk: Remove osf_export handling.
6510 2012-03-12 Richard Guenther <rguenther@suse.de>
6512 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6513 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6514 (__gthread_mutex_init_function): New function.
6515 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6518 * libgcov.c: Include gthr.h.
6519 (__gcov_flush_mx): New global variable.
6520 (init_mx, init_mx_once): New functions.
6521 (__gcov_flush): Protect self with a mutex.
6522 (__gcov_fork): Re-initialize mutex after forking.
6523 * unwind-dw2-fde.c: Change condition under which to use
6524 __GTHREAD_MUTEX_INIT_FUNCTION.
6526 2012-03-12 Tristan Gingold <gingold@adacore.com>
6528 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6529 * config/ia64/t-vms: Likewise.
6531 2012-03-11 Michael Hope <michael.hope@linaro.org>
6533 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6536 2012-03-07 Walter Lee <walt@tilera.com>
6538 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6540 (atomic_xor): Rename and move definition to
6541 config/tilepro/atomic.h.
6542 (atomic_nand): Ditto.
6543 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6545 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6546 (arch_atomic_nand): Ditto.
6548 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6551 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6553 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6556 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6559 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6563 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6564 if RAMPZ affects reading from RAM.
6565 (__tablejump_elpm__): Ditto.
6567 (__movmemx_hi): Ditto.
6568 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6569 (__do_global_dtors): Ditto.
6570 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6571 (__movmemx_hi): Ditto.
6573 2012-03-05 Richard Henderson <rth@redhat.com>
6575 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6576 [ARM] (count_trailing_zeros): Use the builtin.
6578 2012-03-01 Kai Tietz <ktietz@redhat.com>
6580 * soft-fp: Imported from glibc upstream.
6582 2012-02-28 Kai Tietz <ktietz@redhat.com>
6584 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6585 for mingw-targets as attribute gcc_struct.
6587 2012-02-28 Ian Lance Taylor <iant@google.com>
6589 * generic-morestack.c (__splitstack_releasecontext): Correct call
6590 to __morestack_release_segments.
6592 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6595 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6596 for __linux__ when removing signals from __morestack_fullmask.
6598 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6601 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6603 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6605 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6606 instead of HAVE_INITFINI_ARRAY.
6607 * config/ia64/crtend.S: Likewise.
6609 2012-02-20 Kai Tietz <ktietz@redhat.com>
6612 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6614 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6615 to w32-unwind.h header.
6617 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6619 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6620 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6621 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6622 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6624 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6626 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6628 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6631 * config/darwin-crt-tm.c: Correct typo.
6633 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6634 Patrick Marlier <patrick.marlier@gmail.com>
6637 * config/darwin-crt-tm.c: Generate dummy functions.
6639 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6640 Patrick Marlier <patrick.marlier@gmail.com>
6643 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6644 (__doTMRegistrations): Call it.
6645 (__doTMdeRegistrations): Likewise.
6647 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6648 Anatoly Sokolov <aesok@post.ru>
6649 Eric Weddington <eric.weddington@atmel.com>
6652 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6653 (__epilogue_restores__): Ditto.
6655 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6659 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6660 Solaris 11 and slightly reformat.
6661 (sparc_is_sighandler): Likewise.
6663 2012-02-14 Walter Lee <walt@tilera.com>
6665 * config.host: Handle tilegx and tilepro.
6666 * config/tilegx/sfp-machine.h: New file.
6667 * config/tilegx/sfp-machine32.h: New file.
6668 * config/tilegx/sfp-machine64.h: New file.
6669 * config/tilegx/t-crtstuff: New file.
6670 * config/tilegx/t-softfp: New file.
6671 * config/tilegx/t-tilegx: New file.
6672 * config/tilepro/atomic.c: New file.
6673 * config/tilepro/atomic.h: New file.
6674 * config/tilepro/linux-unwind.h: New file.
6675 * config/tilepro/sfp-machine.h: New file.
6676 * config/tilepro/softdivide.c: New file.
6677 * config/tilepro/softmpy.S: New file.
6678 * config/tilepro/t-crtstuff: New file.
6679 * config/tilepro/t-tilepro: New file.
6681 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6685 * gthr-posix.h: Allow static initializer macros to be disabled.
6686 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6688 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6690 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6691 Add t-slibgcc-libgcc to tmake_file.
6692 * config/mips/libgcc-mips16.ver: Revert previous patch.
6693 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6695 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6696 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6698 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6699 * config/cr16/crti.S: New file.
6700 * config/cr16/crtlibid.S: New file.
6701 * config/cr16/crtn.S: New file.
6702 * config/cr16/lib1funcs.S: New file.
6703 * config/cr16/t-cr16: New file.
6704 * config/cr16/t-crtlibid: New file.
6705 * config/cr16/unwind-dw2.h: New file.
6706 * config/cr16/unwind-cr16.c: New file.
6707 * config/cr16/divmodhi3.c: New file.
6709 2012-01-25 Alan Modra <amodra@gmail.com>
6711 * config/rs6000/t-linux64: Delete. Move..
6712 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6713 * config/rs6000/t-linux: ..and libgcc flags to here.
6715 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6717 * config.host (i[34567]86-*-interix3*):
6718 Change triplet to i[34567]86-*-interix[3-9]*.
6719 * configure: Regenerate.
6721 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6722 Richard Sandiford <rdsandiford@googlemail.com>
6724 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6725 * config/mips/mips16.S (__mips16_rdhwr): New function.
6726 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6728 2012-01-11 Nathan Sidwell <nathan@acm.org>
6730 * libgcov.c (__gcov_init): Ignore objects with no functions.
6732 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6735 Extend __pgmx semantics to linearize memory.
6736 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6737 * config/avr/lib1funcs.S (__xload_1): New function.
6738 (__movmemx_qi, __movmemx_hi): New functions.
6739 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6742 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6744 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6745 purported sigacthandler address isn't null before dereferencing it.
6746 (sparc_is_sighandler): Likewise.
6748 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6751 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6752 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6753 (sparc_is_sighandler): Likewise.
6754 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6756 2012-01-06 Tristan Gingold <gingold@adacore.com>
6758 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6759 compatibility thunks...
6760 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6761 (crtbeginS.o, crtendS.o): ... and these to ...
6762 * config/ia64/t-ia64-elf: ... this new file.
6763 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6764 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6766 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6768 * configure: Regenerate.
6769 * config/s390/t-crtstuff: Remove -fPIC.
6771 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6774 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6777 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6780 * config/avr/lib1funcs.S: Remove FIXME comments.
6781 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6783 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6785 Implement light-weight DImode support.
6786 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6787 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6788 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6789 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6791 2011-12-30 Nathan Sidwell <nathan@acm.org>
6793 * libgcov.c (gcov_crc32): Remove global var.
6794 (free_fn_data): New function.
6795 (buffer_fn_data): Pass in filename, more robust error recovery.
6796 (crc32_unsigned): New function.
6797 (gcov_exit): More robust detection of new program. More robust
6799 (__gcov_init): Do not update program's crc here.
6801 2011-12-21 Tristan Gingold <gingold@adacore.com>
6803 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6805 2011-12-21 Ian Lance Taylor <iant@google.com>
6807 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6809 2011-12-20 Ian Lance Taylor <iant@google.com>
6811 * config/i386/morestack.S (__morestack_non_split): If there is
6812 enough stack space already, don't split. Ask for more stack space
6815 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6817 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6819 (_Unwind_DebugHook): New function.
6820 (uw_restore_core_regs): New define.
6821 (unwind_phase2): Use uw_restore_core_regs instead of
6823 (unwind_phase2_forced): Likewise.
6824 (__gnu_Unwind_Resume): Likewise.
6826 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6828 * config/alpha/linux-unwind.h: Update copyright years.
6829 (MD_FROB_UPDATE_CONTEXT): New define.
6830 (alpha_frob_update_context): New function.
6832 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6834 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6835 tmake_file rather replacing it.
6837 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6839 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6840 function is not used for PPC64.
6841 (save_world): Amend comments. Update the VRsave mask to reflect the
6843 (rest_world): Update comments, do not clobber r10, do not use r8.
6844 (eh_rest_world_r10): Amend comments, do not use r8.
6845 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6846 no longer used, move restore of CR and target address to the end of
6849 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6851 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6852 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6854 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6857 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6858 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6860 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6862 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6864 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6867 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6868 * config/avr/lib1funcs.S (__muldi3): New function.
6870 2011-12-06 Andrew Pinski <apinski@cavium.com>
6872 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6874 (__frame_dummy_init_array_entry): Likewise.
6876 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6878 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6882 * config/avr/lib1funcs.S (__prologue_saves__,
6883 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6884 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6886 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6888 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6890 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6893 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6894 (_ITM_deregisterTMCloneTable): Likewise.
6895 (__register_frame_info): Fix unused warning.
6896 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6897 pthread_default_stacksize_np): Likewise.
6898 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6900 2011-11-29 DJ Delorie <dj@redhat.com>
6902 * config.host (rl78-*-elf): New case.
6903 * config/rl78: New directory for the Renesas RL78.
6905 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6907 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6910 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6913 * config/rs6000/t-savresfgpr: New file.
6914 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6915 $(srcdir)/config/rs6000/eabi.S.
6916 * config/rs6000/t-ppccomm-ldbl: Remove.
6917 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6919 (powerpc-*-eabispe*): Likewise.
6920 (powerpc-*-eabi*): Likewise.
6921 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6922 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6923 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6924 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6926 (powerpc-*-eabisim*): Likewise.
6927 (powerpc-*-elf*): Likewise.
6928 (powerpc-*-eabialtivec*): Likewise.
6929 (powerpc-xilinx-eabi*): Likewise.
6930 (powerpc-*-rtems*): Likewise.
6931 (powerpcle-*-elf*): Likewise.
6932 (powerpcle-*-eabisim*): Likewise.
6933 (powerpcle-*-eabi*): Likewise.
6935 2011-11-27 Ian Lance Taylor <iant@google.com>
6937 * generic-morestack.c (__splitstack_find): Check for NULL old
6939 (__splitstack_resetcontext): New function.
6940 (__splitstack_releasecontext): New function.
6941 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6943 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6945 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6947 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6949 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6951 2011-11-26 Richard Henderson <rth@redhat.com>
6953 * config/m68k/linux-atomic.c: New file.
6954 * config/m68k/t-linux: New file.
6955 * config.host (m68k-uclinux, m68k-linux): Use it.
6957 2011-11-26 Richard Henderson <rth@redhat.com>
6959 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6960 (__TMC_END__): Only declare if hidden is available; in the definition,
6961 if hidden is unavailable add a null record.
6962 (deregister_tm_clones, register_tm_clones): New.
6963 (__do_global_dtors_aux, frame_dummy): Use them.
6964 (__do_global_dtors, __do_global_ctors_1): Likewise.
6966 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6968 * config/darwin-crt-tm.c: New file.
6969 * config.host (darwin): Build crttms.o crttme.o to provide
6970 startup and shutdown for tm clones.
6971 * config/t-darwin (crttms.o): New build rule.
6972 (crttme.o): Likewise.
6974 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6976 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6979 2011-11-21 Richard Henderson <rth@redhat.com>
6981 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6982 (__TMC_LIST__, __TMC_END__): New.
6983 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6984 (__do_global_dtors): Likewise.
6985 (frame_dummy): Call _ITM_registerTMCloneTable.
6986 (__do_global_ctors_1): Likewise.
6988 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6990 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6991 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6992 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6993 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6994 * config/i386/t-darwin64: Remove.
6995 * config/sh/t-netbsd (LIB2ADD): Remove.
6997 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7000 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7001 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7002 * config/avr/lib1funcs.S (wmov): New assembler macro.
7003 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7004 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7005 (__udivmod64): New function.
7006 (__negdi2): New function.
7008 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7010 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7011 *-*-freebsd*aout*): Remove.
7013 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7015 * static-object.mk (c_flags-$o): Save c_flags.
7016 ($(base)$(objext)): Use it.
7018 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7020 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7022 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7025 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7026 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7029 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7031 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7033 (aeabi_uidivmod): Likewise.
7034 (umodsi3): Likewise.
7036 (aeabi_idivmod): Likewise.
7039 2011-11-16 Tristan Gingold <gingold@adacore.com>
7041 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7043 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7046 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7047 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7049 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7051 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7053 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7054 * config/pa/t-stublib64: Delete.
7056 2011-11-12 Richard Henderson <rth@redhat.com>
7058 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7059 cast the pointer argument to _Unwind_SetGRPtr.
7061 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7063 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7065 2011-11-09 Ian Lance Taylor <iant@google.com>
7067 * generic-morestack.c: Include <string.h>.
7068 (uintptr_type): Define.
7069 (struct initial_sp): Add dont_block_signals field. Reduce size of
7071 (allocate_segment): Set prev field to NULL. Don't set
7072 __morestack_current_segment or __morestack_segments.
7073 (__generic_morestack): Update current->prev and *pp after calling
7075 (__morestack_block_signals): Don't do anything if
7076 dont_block_signals is set.
7077 (__morestack_unblock_signals): Likewise.
7078 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7080 (__splitstack_block_signals): New function.
7081 (enum __splitstack_content_offsets): Define.
7082 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7083 (__splitstack_makecontext): New function.
7084 (__splitstack_block_signals_context): New function.
7085 (__splitstack_find_context): New function.
7086 * config/i386/morestack.S (__morestack_get_guard): New function.
7087 (__morestack_set_guard, __morestack_make_guard): New functions.
7088 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7090 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7092 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7093 (i[34567]86-*-mingw*): ... here.
7094 (x86_64-*-mingw*): ... here.
7096 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7098 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7100 2011-11-07 Nathan Sidwell <nathan@acm.org>
7102 * libgcov.c (struct gcov_fn_buffer): New struct.
7103 (buffer_fn_data): New helper.
7104 (gcov_exit): Rework for new gcov data structures.
7106 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7109 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7111 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7113 * config.host (tmake_file): Correct comment.
7114 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7116 (bfin*-uclinux*): Likewise.
7117 (bfin*-linux-uclibc*): Likewise.
7118 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7120 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7122 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7123 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7124 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7125 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7126 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7127 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7128 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7129 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7130 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7131 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7132 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7133 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7134 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7136 * config/bfin/t-elf: Remove.
7137 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7139 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7141 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7142 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7143 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7144 (lm32-*-elf*): ... this.
7145 (lm32-*-rtems*): ... and this.
7147 (m32r-*-rtems*): Add to tmake_file.
7148 (moxie-*-rtems*): Likewise.
7149 (sparc-*-rtems*): Likewise.
7150 Remove t-rtems from tmake_file.
7151 (sparc64-*-rtems*): Likewise.
7152 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7155 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7158 * config/gthr-posix.h: Move ...
7159 * gthr-posix.h: ... here.
7160 * config/gthr-lynx.h: Reflect this.
7161 * config/gthr-vxworks.h: Likewise.
7162 * config/rs6000/gthr-aix.h: Likewise.
7163 * configure.ac (target_thread_file): Likewise.
7164 * configure: Regenerate.
7166 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7168 * config.host (arm*-*-rtemseabi*): New target.
7170 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7173 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7176 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7178 * config.host (epiphany-*-elf*): New configuration.
7179 * config/epiphany: New Directory.
7181 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7183 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7184 * config/avr/t-rtems: New.
7185 Filter out _exit from LIB1ASMFUNCS.
7187 2011-11-04 David S. Miller <davem@davemloft.net>
7189 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7190 * configure: Rebuild.
7192 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7194 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7197 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7200 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7201 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7203 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7206 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7208 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7210 * config/c6x/t-elf (LIB2ADDEH): Set.
7211 * config/c6x/t-c6x-elf: Remove.
7213 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7215 * config/i386/sol2-ci.S: Rename to ...
7216 * config/i386/crti.S: ... this.
7217 * config/i386/sol2-cn.S: Rename to ...
7218 * config/i386/crtn.S: ... this.
7219 * config/sparc/sol2-ci.S: Rename to ...
7220 * config/sparc/crti.S: ... this.
7221 * config/sparc/sol2-cn.S: Rename to ...
7222 * config/sparc/crtn.S: ... this.
7223 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7224 (crti.o, crtn.o): Remove.
7226 2011-11-04 Tristan Gingold <gingold@adacore.com>
7228 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7230 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7232 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7234 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7236 * config.host (crisv32-*-none, cris-*-none): Remove.
7237 (crisv32-*-elf): Append to tmake_file, don't just set it.
7238 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7240 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7242 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7243 (ecrtn$(objext)): Likewise.
7244 (ncrti$(objext)): Likewise.
7245 (ncrtn$(objext)): Likewise.
7247 2011-11-03 Andreas Schwab <schwab@redhat.com>
7249 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7251 2011-11-02 David S. Miller <davem@davemloft.net>
7253 * configure.ac: Set host_address on sparc too.
7254 * configure: Regenerate.
7255 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7256 based upon host_address.
7257 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7259 2011-11-02 Jason Merrill <jason@redhat.com>
7261 * config/rs6000/t-ppccomm: Add missing \.
7263 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7265 * gthr-single.h, gthr.h: New files.
7266 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7267 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7268 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7269 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7270 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7271 * configure.ac (thread_header): New variable.
7272 Set it depending on target_thread_file.
7273 (gthr-default.h): Link from $thread_header.
7274 * configure: Regenerate.
7275 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7277 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7279 * configure.ac (tm_file_): New variable.
7280 Determine from tm_file.
7281 (tm_file, tm_defines): Substitute.
7282 * configure: Regenerate.
7283 * mkheader.sh: New file.
7284 * Makefile.in (clean): Remove libgcc_tm.h.
7285 ($(objects)): Depend on libgcc_tm.h.
7286 (libgcc_tm_defines, libgcc_tm_file): New variables.
7287 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7288 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7289 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7290 ($(extra-parts)): Depend on libgcc_tm.h.
7291 * config.host (tm_defines, tm_file): New variable.
7292 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7293 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7294 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7295 (avr-*-rtems*): Likewise.
7296 (avr-*-*): Likewise.
7297 (frv-*-elf): Likewise.
7298 (frv-*-*linux*): Likewise.
7299 (h8300-*-rtems*): Likewise.
7300 (h8300-*-elf*): Likewise.
7301 (i[34567]86-*-darwin*): Likewise.
7302 (x86_64-*-darwin*): Likewise.
7303 (rx-*-elf): Likewise.
7304 (tic6x-*-uclinux): Likewise.
7305 (tic6x-*-elf): Likewise.
7306 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7307 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7308 * config/i386/cygming-crtbegin.c: Likewise.
7309 * config/i386/cygming-crtend.c: Likewise.
7310 * config/ia64/fde-vms.c: Likewise.
7311 * config/ia64/unwind-ia64.c: Likewise.
7312 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7313 * config/rs6000/darwin-fallback.c: Likewise.
7314 * config/stormy16/lib2funcs.c: Likewise.
7315 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7316 * crtstuff.c: Likewise.
7317 * dfp-bit.h: Likewise.
7318 * emutls.c: Likewise.
7319 * fixed-bit.c: Likewise.
7320 * fp-bit.c: Likewise.
7321 * generic-morestack-thread.c: Likewise.
7322 * generic-morestack.c: Likewise.
7323 * libgcc2.c: Likewise.
7324 * libgcov.c: Likewise.
7325 * unwind-dw2-fde-dip.c: Likewise.
7326 * unwind-dw2-fde.c: Likewise.
7327 * unwind-dw2.c: Likewise.
7328 * unwind-sjlj.c: Likewise.
7330 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7332 * configure.ac: Include ../config/picflag.m4.
7333 (GCC_PICFLAG): Call it.
7335 * configure: Regenerate.
7336 * Makefile.in (gcc_srcdir): Remove.
7337 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7338 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7339 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7340 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7341 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7344 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7345 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7346 to refer to libgcc2.c.
7348 * config/darwin-64.c: New file.
7349 * config/darwin-crt3.c: Remove comment.
7350 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7351 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7352 config/udivmodsi4.c: New files.
7353 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7354 config/memset.c: New files.
7355 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7356 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7357 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7358 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7359 * config/t-openbsd-thread: New file.
7360 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7361 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7362 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7363 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7366 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7367 to refer to gthr-posix.c.
7368 * config/alpha/t-vms (LIB2ADD): Set.
7369 * config/alpha/vms-gcc_shell_handler.c: New file.
7370 * config/arm/bpabi.c, config/arm/fp16.c,
7371 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7372 config/arm/unaligned-funcs.c: New files.
7373 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7374 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7375 * config/arm/t-linux: Likewise.
7376 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7377 * config/arm/t-netbsd: New file.
7378 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7379 * config/arm/t-symbian (LIB2ADD_ST): Set.
7380 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7381 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7382 * config/bfin/t-elf: New file.
7383 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7384 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7385 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7386 config/c6x/ltf.c: New files.
7387 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7388 (HOST_LIBGCC2_CFLAGS): Set.
7389 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7390 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7391 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7393 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7394 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7395 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7396 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7397 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7399 * config/frv/t-frv (LIB2ADD): Set.
7400 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7401 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7402 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7403 config/h8300/popcounthi2.c: New files.
7404 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7405 * config/i386/gthr-win32.c: New file.
7406 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7407 * config/i386/t-cygwin: Likewise.
7408 * config/i386/t-darwin, config/i386/t-darwin64,
7409 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7410 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7411 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7412 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7413 * config/ia64/quadlib.c: New file.
7414 * config/ia64/t-hpux (LIB2ADD): Set.
7415 * config/ia64/t-ia64: Add comment.
7416 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7417 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7418 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7419 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7420 * config/m32c/t-m32c (LIB2ADD): Set.
7421 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7422 * config/m32r/t-m32r: Likewise.
7423 * config/m68k/fpgnulib.c: New file.
7424 * config/m68k/t-floatlib (LIB2ADD): Set.
7425 (xfgnulib.c): New target.
7426 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7427 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7428 * config/mep/t-mep (LIB2ADD): Set.
7429 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7430 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7431 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7432 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7433 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7434 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7435 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7436 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7437 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7438 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7440 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7441 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7442 * config/pa/fptr.c, config/pa/lib2funcs.S,
7443 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7444 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7445 (LIB2ADD, LIB2ADD_ST): Set.
7446 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7447 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7449 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7450 * config/pdp11/t-pdp11: New file.
7451 * config/picochip/libgccExtras/adddi3.S,
7452 config/picochip/libgccExtras/ashlsi3.S,
7453 config/picochip/libgccExtras/ashrsi3.S,
7454 config/picochip/libgccExtras/clzsi2.S,
7455 config/picochip/libgccExtras/cmpsi2.S,
7456 config/picochip/libgccExtras/divmod15.S,
7457 config/picochip/libgccExtras/divmodhi4.S,
7458 config/picochip/libgccExtras/divmodsi4.S,
7459 config/picochip/libgccExtras/lshrsi3.S,
7460 config/picochip/libgccExtras/parityhi2.S,
7461 config/picochip/libgccExtras/popcounthi2.S,
7462 config/picochip/libgccExtras/subdi3.S,
7463 config/picochip/libgccExtras/ucmpsi2.S,
7464 config/picochip/libgccExtras/udivmodhi4.S,
7465 config/picochip/libgccExtras/udivmodsi4.S: New files.
7466 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7467 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7468 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7469 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7470 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7471 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7472 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7473 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7475 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7476 (HOST_LIBGCC2_CFLAGS): Set.
7477 * config/rs6000/t-darwin64: New file.
7478 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7479 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7480 * config/rs6000/t-ppccomm (LIB2ADD): Add
7481 $(srcdir)/config/rs6000/tramp.S.
7482 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7483 Add $(srcdir)/config/rs6000/eabi.S.
7484 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7485 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7486 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7487 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7488 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7489 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7490 * config/rs6000/tramp.S: New file.
7491 * config/s390/t-tpf: Remove.
7492 * config/sh/linux-atomic.S: New file.
7493 * config/sh/t-linux (LIB2ADD): Set.
7494 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7495 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7496 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7498 (HOST_LIBGCC2_CFLAGS): Set.
7499 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7500 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7501 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7502 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7503 config/spu/mfc_multi_tag_release.c,
7504 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7505 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7506 config/spu/multi3.c: New files.
7507 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7508 (HOST_LIBGCC2_CFLAGS): Set.
7509 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7510 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7511 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7512 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7513 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7514 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7515 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7516 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7517 config/stormy16/umodsi3.c: New files.
7518 * config/xtensa/lib2funcs.S: New file.
7519 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7520 * config/xtensa/t-xtensa (LIB2ADD): Set.
7521 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7522 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7523 Add t-freebsd-thread to tmake_file for posix threads.
7524 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7525 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7526 (*-*-lynxos*): Likewise.
7527 (*-*-netbsd*): Likewise.
7528 (*-*-openbsd*): Likewise.
7529 Add t-openbsd-thread to tmake_file for posix threads.
7530 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7531 (*-*-vxworks*): Set tmake_file.
7532 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7533 (alpha*-*-freebsd*): Likewise.
7534 (alpha*-*-netbsd*): Likewise.
7535 (alpha*-*-openbsd*): Likewise.
7536 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7537 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7538 (alpha*-dec-*vms*): Likewise.
7539 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7540 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7541 (bfin*-uclinux*): Likewise.
7542 (bfin*-linux-uclibc*): Likewise.
7543 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7544 (crisv32-*-none): Likewise.
7545 (cris-*-elf): Likewise.
7546 (cris-*-none): Likewise.
7547 (cris-*-linux*, crisv32-*-linux*): Likewise.
7548 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7550 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7552 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7553 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7554 (x86_64-*-elf*): Likewise.
7555 (i[34567]86-*-nto-qnx*): Likewise.
7556 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7558 (x86_64-*-mingw*): Likewise.
7559 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7560 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7561 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7562 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7563 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7565 (mipsisa64sr71k-*-elf*): Likewise.
7566 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7567 (mips-*-elf*, mipsel-*-elf*): Likewise.
7568 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7569 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7570 (mips*-*-rtems*): Likewise.
7571 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7573 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7574 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7575 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7576 (spu-*-elf*): Likewise.
7577 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7579 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7581 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7582 $(srcdir) to refer to $(LIB1ASMSRC).
7584 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7585 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7586 config/arm/lib1funcs.S: New files.
7587 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7588 * config/arm/t-arm: New file.
7589 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7590 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7591 config/arm/t-strongarm-elf: New files.
7592 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7593 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7594 * config/avr/lib1funcs.S: New file.
7595 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7596 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7597 * config/c6x/lib1funcs.S: New file.
7598 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7599 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7600 * config/frv/lib1funcs.S: New file.
7601 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7602 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7603 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7604 * config/ia64/__divxf3.asm: Rename to ...
7605 * config/ia64/__divxf3.S: ... this.
7606 Adapt lib1funcs.asm filename.
7607 * config/ia64/_fixtfdi.asm: Rename to ...
7608 * config/ia64/_fixtfdi.S: ... this.
7609 Adapt lib1funcs.asm filename.
7610 * config/ia64/_fixunstfdi.asm: Rename to ...
7611 * config/ia64/_fixunstfdi.S: ... this.
7612 Adapt lib1funcs.asm filename.
7613 * config/ia64/_floatditf.asm: Rename to ...
7614 * config/ia64/_floatditf.S: ... this.
7615 Adapt lib1funcs.asm filename.
7616 * config/ia64/lib1funcs.S: New file.
7617 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7618 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7619 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7620 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7621 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7622 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7623 * config/mep/lib1funcs.S: New file.
7624 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7625 * config/mips/mips16.S: New file.
7626 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7627 * config/pa/milli64.S: New file.
7628 * config/pa/t-linux, config/pa/t-linux64: New files.
7629 * config/picochip/lib1funcs.S: New file.
7630 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7631 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7632 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7633 * config/sh/t-netbsd: New file.
7634 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7635 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7636 * config/sh/t-sh64: New file.
7637 * config/sparc/lb1spc.S: New file.
7638 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7640 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7641 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7642 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7643 config/xtensa/lib1funcs.S: New files.
7644 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7645 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7647 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7648 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7649 (arm*-*-linux*): Likewise.
7650 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7651 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7652 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7653 (arm*-*-ecos-elf): Likewise.
7654 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7655 (arm*-*-rtems*): Likewise.
7656 (arm*-*-elf): Likewise.
7657 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7658 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7659 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7660 (bfin*-uclinux*): Likewise.
7661 (bfin*-linux-uclibc*): Likewise.
7662 (bfin*-rtems*): Likewise.
7663 (bfin*-*): Likewise.
7664 (fido-*-elf): Merge into m68k-*-elf*.
7665 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7666 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7667 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7668 (h8300-*-elf*): Likewise.
7669 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7670 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7671 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7672 (i[34567]86-*-mingw*): Likewise.
7673 (x86_64-*-mingw*): Likewise.
7674 (i[34567]86-*-interix3*): Likewise.
7675 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7676 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7677 (m68k-*-elf*): Also handle fido-*-elf.
7678 Add m68k/t-floatlib to tmake_file.
7679 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7680 (m68k-*-linux*): Likewise.
7681 (m68k-*-rtems*): Likewise.
7682 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7683 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7685 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7686 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7687 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7688 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7689 sh/t-netbsd to tmake_file.
7690 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7691 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7692 (sh-wrs-vxworks): Likewise.
7693 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7695 (v850*-*-*): Add v850/t-v850 to tmake_file.
7696 (vax-*-linux*): Add vax/t-linux to tmake_file.
7697 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7699 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7701 * crtstuff.c: New file.
7702 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7703 (CRTSTUFF_T_CFLAGS): Define.
7704 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7705 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7706 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7709 (crtbeginT.o): Use $(objext).
7710 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7711 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7712 (gcc-extra-parts): Remove.
7713 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7715 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7716 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7717 Add t-crtstuff-pic to tmake_file.
7718 (*-*-lynxos*): New case.
7719 Set tmake_file, extra_parts.
7720 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7721 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7722 *-*-netbsdelf[2-9]*.
7723 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7724 (*-*-rtems*): Set extra_parts.
7725 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7726 (*-*-uclinux*): New case.
7728 (*-*-vms*): New case.
7729 Set tmake_file, extra_parts.
7730 (*-*-elf): Set extra_parts.
7731 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7732 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7735 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7737 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7738 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7739 (arm-wrs-vxworks): Append to tmake_file.
7741 (arm*-*-uclinux*): Set extra_parts.
7742 (arm*-*-ecos-elf): Likewise.
7743 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7745 (arm*-*-rtems*): Set extra_parts.
7746 (arm*-*-elf): Likewise.
7747 (avr-*-rtems*): Clear extra_parts.
7748 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7750 (bfin*-uclinux*): Likewise.
7751 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7752 (bfin*-rtems*): Append to tmake_file.
7754 (bfin*-*): Likewise.
7755 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7756 (crisv32-*-elf): ... this.
7757 (crisv32-*-none): ... this.
7758 (cris-*-elf, cris-*-none): New cases.
7759 Add cris/t-elfmulti to tmake_file.
7760 (fr30-*-elf): Append to tmake_file.
7762 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7764 (h8300-*-rtems*): Append to tmake_file.
7766 (h8300-*-elf*): Likewise.
7767 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7769 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7771 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7772 (x86_64-*-elf*): Likewise.
7773 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7774 (x86_64-*-freebsd*): Likewise.
7775 (x86_64-*-netbsd*): Likewise.
7776 (i[34567]86-*-linux*): Likewise.
7777 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7778 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7779 (x86_64-*-linux*): Likewise.
7780 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7781 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7784 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7785 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7786 Append to extra_parts, remove crtbegin.o, crtend.o.
7787 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7788 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7789 crtend.o, crtbeginS.o, crtendS.o.
7790 (ia64*-*-linux*): Comment extra_parts.
7791 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7793 (iq2000*-*-elf*): Clear extra_parts.
7794 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7795 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7796 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7797 (m32r-*-rtems*): ... this.
7798 Add m32r/t-m32r to tmake_file.
7799 (m68k-*-elf*): Add t-crtin to tmake_file.
7800 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7801 (mcore-*-elf): Likewise.
7802 (microblaze*-*-*): Set extra_parts.
7803 (mips*-sde-elf*): New case.
7804 Set tmake_file, extra_parts.
7805 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7806 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7807 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7810 (mipsisa64sr71k-*-elf*): Likewise.
7811 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7812 (mips-*-elf*, mipsel-*-elf*): Likewise.
7813 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7814 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7815 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7816 (mips*-*-rtems*): Likewise.
7817 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7818 (moxie-*-*): Split into ...
7819 (moxie-*-elf, moxie-*-uclinux*): ... this.
7820 Add to extra_parts, remove crtbegin.o, crtend.o.
7821 (moxie-*-rtems*): New case.
7824 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7826 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7827 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7830 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7831 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7833 (powerpc-*-eabisim*): Likewise.
7834 (powerpc-*-elf*): Likewise.
7835 (powerpc-*-eabialtivec*): Likewise.
7836 (powerpc-xilinx-eabi*): Likewise.
7837 (powerpc-*-eabi*): Likewise.
7838 (powerpc-*-rtems*): Likewise.
7839 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7842 (powerpc-*-lynxos*): Add to tmake_file.
7843 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7844 rs6000/t-crtstuff, t-crtstuff-pic.
7846 (powerpcle-*-eabisim*): Likewise.
7847 (powerpcle-*-eabi*): Likewise.
7848 (rx-*-elf): Remove extra_parts.
7849 (s390x-ibm-tpf*): Set extra_parts.
7850 (score-*-elf): Set extra_parts.
7851 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7852 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7853 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7854 (sh64l*-*-netbsd*): Split into ...
7855 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7856 Add t-crtstuff-pic to tmake_file.
7858 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7860 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7861 (sparc-*-elf*): Remove t-crtin from tmake_file.
7862 Add to extra_parts, remove crtbegin.o, crtend.o.
7863 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7864 (sparc64-*-linux*): Likewise.
7865 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7866 Add to extra_parts, remove crtbegin.o, crtend.o.
7867 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7868 Add to extra_parts, remove crtbegin.o, crtend.o.
7869 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7870 Add to extra_parts, remove crtbegin.o, crtend.o.
7871 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7872 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7873 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7875 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7877 (tic6x-*-*): Change to ...
7878 (tic6x-*-elf): ... this.
7880 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7882 (am33_2.0-*-linux*): Add comment.
7883 (mep*-*-*): Add mep/t-mep to tmake_file.
7885 * config/alpha/t-vms: New file.
7886 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7887 * config/arm/crti.S, config/arm/crtn.S: New files.
7888 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7889 * config/bfin/crtlibid.S: New file.
7890 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7891 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7892 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7893 (crti.o, crtin.o): New rules.
7894 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7895 * config/c6x/t-uclinux: New file.
7896 * config/cris/t-elfmulti: New file.
7897 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7898 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7899 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7900 * config/frv/t-frv: New file.
7901 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7902 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7903 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7905 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7906 refer to cygming-crtbegin.c, cygming-crtend.c.
7908 * config/i386/t-nto: New file.
7909 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7910 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7911 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7912 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7915 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7916 (crtinitS.o): New rule.
7917 * config/ia64/vms-crtinit.S: New file.
7918 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7919 * config/m32r/initfini.c: New file.
7920 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7921 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7922 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7923 * config/mep/t-mep: New file.
7924 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7925 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7926 * config/mips/crti.S, config/mips/crtn.S: New files.
7927 * config/mips/t-crtstuff: New file.
7928 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7929 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7930 (CUSTOM_CRTIN): Set.
7931 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7933 Use $(srcdir) to refer to crti.S, crtn.S.
7934 Use .S extension, $<.
7935 * config/moxie/crti.asm: Rename to ...
7936 * config/moxie/crti.S: ... this.
7937 * config/moxie/crtn.asm: Rename to ...
7938 * config/moxie/crtn.S: ... this.
7939 * config/moxie/t-moxie: Remove.
7940 * config/pa/stublib.c: New file.
7941 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7942 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7943 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7944 * config/rs6000/t-crtstuff: New file.
7945 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7946 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7947 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7948 Make output file explicit.
7949 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7950 Make output file explicit.
7951 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7952 Make output file explicit.
7953 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7954 Make output file explicit.
7955 * config/score/crti.S, config/score/crtn.S: New files.
7956 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7957 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7959 * config/sh/t-sh, config/sh/t-superh: New files.
7960 * config/sparc/t-linux64: New file.
7961 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7962 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7963 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7964 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7965 * config/t-crtin: Remove.
7966 * config/t-crtstuff-pic: New file.
7967 * config/t-sol2 (CUSTOM_CRTIN): Set.
7968 (crti.o, crtn.o): New rules.
7969 * config/vms/t-vms: New file.
7970 * config/vms/vms-ucrt0.c: New file.
7971 * config/xtensa/t-elf: New file.
7973 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7975 * Makefile.in (SHLIB_NM_FLAGS): Set.
7976 * mkmap-flat.awk, mkmap-symver.awk: New files.
7977 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7979 * configure: Regenerate.
7980 * config/libgcc-glibc.ver: New file.
7981 * config/libgcc-libsystem.ver: New file.
7982 * config/t-libunwind (SHLIB_LC): Set.
7983 * config/t-linux: New file.
7984 * config/t-slibgcc (INSTALL_SHLIB): New.
7985 (SHLIB_INSTALL): Use it.
7986 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7987 to mkmap-symver.awk.
7988 (SHLIB_MAPFILES): Don't append, adapt pathname.
7989 (SHLIB_VERPFX): Set.
7990 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7991 to mkmap-symver.awk.
7992 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7993 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7994 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7995 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7997 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7998 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7999 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8000 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8001 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8002 * config/i386/libgcc-darwin.10.4.ver,
8003 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8005 * config/i386/t-darwin: Remove.
8006 * config/i386/t-darwin64: Likewise.
8007 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8008 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8009 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8010 * config/i386/t-linux: New file.
8011 * config/i386/t-mingw32: New file.
8012 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8013 * config/ia64/t-glibc: Rename to ...
8014 * config/ia64/t-linux: ... this.
8015 (SHLIB_MAPFILES): Set.
8016 * config/ia64/t-glibc-libunwind: Rename to ...
8017 * config/ia64/t-linux-libunwind: ... this.
8018 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8019 * config/ia64/t-slibgcc-hpux: New file.
8020 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8021 * config/m68k/t-slibgcc-elf-ver: New file.
8022 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8023 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8025 * config/pa/t-slibgcc-hpux: New file.
8026 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8028 * config/rs6000/libgcc-darwin.10.4.ver,
8029 config/rs6000/libgcc-darwin.10.5.ver: New files.
8030 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8031 config/rs6000/libgcc-glibc.ver.
8032 * config/rs6000/libgcc-ppc64.ver: Rename to
8033 config/rs6000/libgcc-ibm-ldouble.ver.
8034 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8035 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8036 * config/rs6000/t-ldbl128: Rename to ...
8037 * config/rs6000/t-linux: ... this.
8038 (SHLIB_MAPFILES): Adapt filename.
8039 * config/rs6000/t-slibgcc-aix: New file.
8040 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8041 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8042 libgcc-excl.ver, libgcc-glibc.ver.
8043 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8044 * config/sparc/libgcc-glibc.ver: New file.
8045 * config/sparc/t-linux: New file.
8046 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8047 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8048 t-slibgcc-elf-ver to tmake_file.
8049 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8051 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8052 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8053 t-slibgcc-elf-ver, t-linux to tmake_file.
8054 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8056 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8057 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8058 (alpha*-dec-*vms*): Likewise.
8059 (arm*-*-freebsd*): Append to tmake_file.
8060 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8061 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8063 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8064 tmake_file for arm*-*-symbianelf*.
8065 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8066 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8068 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8069 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8070 pa/t-slibgcc-dwarf-ver to tmake_file.
8071 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8072 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8073 (hppa*64*-*-hpux11*): Likewise.
8074 (hppa[12]*-*-hpux11*): Likewise.
8075 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8076 i386/t-crtpc, i386/t-crtfm.
8077 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8078 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8080 Add i386/t-cygwin to tmake_file.
8081 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8082 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8083 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8085 Add i386/t-mingw32 to tmake_file.
8086 (x86_64-*-mingw*): Likewise.
8087 (ia64*-*-freebsd*): Append to tmake_file.
8088 (ia64*-*-linux*): Append to tmake_file.
8089 Replace ia64/t-glibc by ia64/t-linux.
8090 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8092 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8093 t-slibgcc-hpux to tmake_file.
8094 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8095 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8096 (m32rle-*-linux*): Likewise.
8097 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8099 (microblaze*-linux*): New case.
8100 Append to tmake_file, add t-slibgcc-nolc-override.
8101 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8102 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8103 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8104 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8105 rs6000/t-slibgcc-aix to tmake_file.
8106 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8107 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8108 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8109 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8110 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8111 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8113 (sparc-*-linux*): Append to tmake_file for *-leon*.
8114 Add sparc/t-linux to tmake_file for non-Leon targets.
8115 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8116 (tic6x-*-uclinux): New case.
8117 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8118 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8119 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8120 (am33_2.0-*-linux*): Append to tmake_file.
8121 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8122 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8123 x86_64-*-kfreebsd*-gnu.
8124 Add i386/t-linux to tmake_file.
8126 2011-10-28 Ian Lance Taylor <iant@google.com>
8128 * config/i386/morestack.S: Correct CFI information to do proper
8129 returns throughout function. In 32-bit mode, save %ebx so that it
8130 is restored on unwind.
8132 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8134 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8135 case where B3 isn't the return register.
8137 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8138 logic for doubleword pops.
8140 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8142 * config/rs6000/t-freebsd: Add wildcard.
8144 2011-10-21 Paul Brook <paul@codesourcery.com>
8146 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8148 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8149 Eric Botcazou <ebotcazou@adacore.com>
8152 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8153 fs->signal_frame to 1.
8155 2011-10-07 Ian Lance Taylor <iant@google.com>
8157 * generic-morestack-thread.c: #include <errno.h>.
8159 2011-10-07 Ian Lance Taylor <iant@google.com>
8162 * generic-morestack.c (__generic_morestack): Make sure the segment
8163 is large enough for both the stack frame and the copied
8166 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8169 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8172 2011-09-28 Nick Clifton <nickc@redhat.com>
8174 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8175 64-bit doubles are not enabled.
8176 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8177 and floatunsisf functions.
8179 2011-09-13 Paul Brook <paul@codesourcery.com>
8181 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8182 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8183 * unwind-arm-common.inc: New file.
8184 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8185 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8186 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8187 * config/c6x/libunwind.S: New file.
8188 * config/c6x/pr-support.c: New file.
8189 * config/c6x/unwind-c6x.c: New file.
8190 * config/c6x/unwind-c6x.h: New file.
8191 * config/c6x/t-c6x-elf: New file.
8193 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8195 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8196 (ASM_DIVZERO): Ditto.
8197 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8199 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8201 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8203 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8206 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8207 instead of an assembly one.
8209 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8212 * Makefile.in (install-unwind_h): Create
8213 $(gcc_objdir)/include/unwind.h atomically.
8215 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8217 * Makefile.in (install-unwind_h): Remove destination file first.
8219 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8222 * config/mips/t-mips16: New file.
8223 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8224 (mips*-*-linux*): Likewise.
8225 (mips*-sde-elf*): Likewise.
8226 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8227 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8228 Add mips/t-mips16 to tmake_file.
8229 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8230 (mips-*-elf*): Likewise.
8231 (mips64-*-elf*): Likewise.
8232 (mips64orion-*-elf*): Likewise.
8233 (mips*-*-rtems*): Likewise.
8234 (mipstx39-*-elf*): Likewise.
8235 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8236 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8238 Use $(srcdir) to refer to sync.c.
8240 ($(libgcc-sync-funcs-o)): Likewise.
8241 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8242 ($(libgcc-sync-funcs-s-o)): Likewise.
8244 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8246 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8249 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8252 * config/i386/value-unwind.h: New.
8254 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8256 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8257 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8258 Add to tmake_file rather than overriding it.
8260 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8262 * config/t-softfp: Remove.
8263 * soft-fp: Moved from ../gcc/config.
8264 * soft-fp/README: Remove t-softfp reference.
8265 * soft-fp/t-softfp: Move to config/t-softfp.
8266 (softfp_machine_header): Remove.
8267 (softfp_file_list): Remove config subdir.
8268 (soft-fp-objects): New variable.
8269 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8270 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8271 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8272 * config/t-softfp-excl: New file.
8273 * config/t-softfp-sfdf: New file.
8274 * config/t-softfp-tf: New file.
8275 * config/no-sfp-machine.h: New file.
8276 * config/arm/sfp-machine.h: New file.
8277 * config/arm/t-softfp: New file.
8278 * config/c6x/sfp-machine.h: New file.
8279 * config/i386/32/t-fprules-softfp: Rename to ...
8280 * config/i386/32/t-softfp: ... this.
8281 (tifunctions, LIB2ADD): Remove.
8282 (softfp_int_modes): Override.
8283 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8285 * config/i386/64/eqtf2.c: Likewise.
8286 * config/i386/64/getf2.c: Likewise.
8287 * config/i386/64/letf2.c: Likewise.
8288 * config/ia64/sft-machine.h: New file.
8289 * config/ia64/t-fprules-softfp: Rename to ...
8290 * config/ia64/t-softfp: ... this.
8291 * config/lm32/sfp-machine.h: New file.
8292 * config/moxie/t-moxie-softfp: Remove.
8293 * config/rs6000/ibm-ldouble-format: New file.
8294 * config/rs6000/ibm-ldouble.c: New file.
8295 * config/rs6000/libgcc-ppc-glibc.ver: New file
8296 * config/rs6000/libgcc-ppc64.ver: New file
8297 * config/rs6000/sfp-machine.h: New file.
8298 * config/rs6000/t-freebsd: New file.
8299 * config/rs6000/t-ibm-ldouble: New file.
8300 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8301 libgcc-ppc-glibc.ver.
8302 * config/rs6000/t-linux64: New file.
8303 * config/rs6000/t-ppccomm (LIB2ADD): Add
8304 $(srcdir)/config/rs6000/ibm-ldouble.c.
8305 * config/rs6000/t-ppccomm-ldbl: New file.
8306 * config/score/sfp-machine.h: New file.
8307 * config.host (sfp_machine_header): Explain.
8308 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8309 t-softfp to tmake_file.
8310 (arm*-*-uclinux*): Likewise.
8311 (arm*-*-ecos-elf): Likewise.
8312 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8313 (arm*-*-rtems*): Likewise.
8314 (arm*-*-elf): Likewise.
8315 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8317 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8318 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8319 (lm32-*-uclinux*): Likewise.
8320 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8321 t-softfp-excl, t-softfp.
8322 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8323 (powerpc64-*-darwin*): Likewise.
8324 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8326 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8328 (powerpc-*-eabisim*): Likewise.
8329 (powerpc-*-elf*): Likewise.
8330 (powerpc-*-eabialtivec*): Likewise.
8331 (powerpc-xilinx-eabi*): Likewise.
8332 (powerpc-*-rtems*): Likewise.
8333 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8334 t-softfp-excl, t-softfp to tmake_file.
8335 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8336 rs6000/t-ppccomm-ldbl to tmake_file.
8337 (powerpcle-*-elf*): Likewise.
8338 (powerpcle-*-eabisim*): Likewise.
8339 (powerpcle-*-eabi*): Likewise.
8340 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8341 rs6000/t-ibm-ldouble to tmake_file.
8342 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8343 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8344 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8345 (tic6x-*-*): Likewise.
8346 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8347 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8348 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8349 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8350 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8351 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8352 t-softfp to tmake_file.
8353 * configure.ac (sfp_machine_header): Provide default if unset.
8355 Link sfp-machine.h to config/$sfp_machine_header.
8356 * configure: Regenerate.
8358 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8360 * Makefile.in (double_type_size, long_double_type_size): Set.
8361 Remove $(fpbit-in-libgcc) support.
8362 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8363 (fpbit-src): New variable.
8364 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8365 Compile with -DFLOAT $(FPBIT_CFLAGS).
8367 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8368 Compile with $(FPBIT_CFLAGS).
8370 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8371 Compile with -DFLOAT $(TPBIT_CFLAGS).
8373 * configure.ac (double_type_size, long_double_type_size):
8374 Determine and substitute.
8375 * configure: Regenerate.
8376 * fp-bit.c, fp-bit.h: New files.
8377 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8378 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8379 * config/mips/t-mips: New file.
8380 * config/mips/t-sdemtk: New file.
8381 * config/rs6000/ppc64-fp.c: New file.
8382 * config/rs6000/t-darwin (LIB2ADD): Add
8383 $(srcdir)/config/rs6000/ppc64-fp.c.
8384 * config/rs6000/t-ppc64-fp: New file.
8385 * config/rx/rx-lib.h: New file.
8386 * config/rx/t-rx (FPBIT): Set to true.
8387 ($(gcc_objdir)/fp-bit.c): Remove.
8388 (DPBIT): Set to true only with -m64bit-doubles.
8389 ($(gcc_objdir)/dp-bit.c): Remove.
8390 * config/sparc/t-softfp: Remove.
8391 * config/spu/t-elf: New file.
8392 * config/t-fdpbit, config/t-fpbit: New files.
8393 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8394 (mips*-*-*): Likewise.
8395 (arm-wrs-vxworks): Likewise.
8396 (arm*-*-freebsd*): Likewise.
8397 (avr-*-rtems*): Add t-fpbit to tmake_file.
8398 (avr-*-*): Likewise.
8399 (bfin*-elf*): Add t-fdpbit to tmake_file.
8400 (bfin*-uclinux*): Likewise.
8401 (bfin*-linux-uclibc*): Likewise.
8402 (bfin*-rtems*): New case.
8403 Add t-fdpbit to tmake_file.
8404 (bfin*-*): Add t-fdpbit to tmake_file.
8405 (crisv32-*-elf): Likewise.
8406 (cris-*-linux*): Likewise.
8407 (fr30-*-elf): Likewise.
8408 (frv-*-elf, frv-*-*linux*): Likewise.
8409 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8410 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8411 (m32r-*-elf*): Likewise.
8412 (m32rle-*-elf*): Likewise.
8413 (m32r-*-linux*): Likewise.
8414 (m32rle-*-linux*): Likewise.
8415 (mcore-*-elf): Add t-fdpbit to tmake_file.
8416 (microblaze*-*-*): Likewise.
8417 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8418 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8419 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8421 Add mips/t-tpbit to tmake-file.
8422 (mips*-*-linux*): Fix typo.
8423 (mips*-sde-elf*): New case
8424 Add mips/t-sdemtk unless using newlib.
8425 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8426 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8427 (mn10300-*-*): Likewise.
8428 (pdp11-*-*): Likewise.
8429 (picochip-*-*): Add t-fpbit to tmake_file.
8430 (powerpc-*-eabisimaltivec*): Likewise.
8431 (powerpc-*-eabisim*): Likewise.
8432 (powerpc-*-elf*): Likewise.
8433 (powerpc-*-eabialtivec*): Likewise.
8434 (powerpc-xilinx-eabi*): New case.
8435 Add t-fdpbit to tmake_file.
8436 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8437 (powerpc-*-rtems*): Likewise.
8438 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8440 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8442 (powerpc-*-lynxos*): Likewise.
8443 (powerpcle-*-elf*): Likewise.
8444 (powerpcle-*-eabisim*): Likewise.
8445 (powerpcle-*-eabi*): Likewise.
8446 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8447 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8448 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8449 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8450 (rx-*-elf): Add t-fdpbit to tmake_file.
8451 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8452 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8453 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8454 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8456 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8457 (sh-wrs-vxworks): Likewise.
8458 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8459 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8460 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8461 (sparc64-*-rtems*): ... new case.
8462 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8463 (spu-*-elf*): Likewise.
8464 Add spu/t-elf to tmake_file.
8465 (v850*-*-*): Add t-fdpbit to tmake_file.
8466 (xstormy16-*-elf): Likewise.
8467 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8468 (mep*-*-*): Likewise.
8470 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8472 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8474 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8475 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8476 (install-unwind_h): New target.
8477 (all): Depend on it.
8478 * config.host (unwind_header): New variable.
8479 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8480 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8481 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8482 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8483 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8485 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8487 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8489 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8491 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8492 (ia64*-*-freebsd*): Likewise.
8493 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8495 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8496 $with_system_libunwind.
8497 (ia64*-*-hpux*): Set tmake_file.
8498 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8499 (picochip-*-*): Set tmake_file.
8500 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8502 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8503 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8504 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8505 (xtensa*-*-elf*): Set tmake_file.
8506 (xtensa*-*-linux*): Likewise.
8507 * configure.ac: Include ../config/unwind_ipinfo.m4.
8508 Call GCC_CHECK_UNWIND_GETIPINFO.
8509 Link unwind.h to $unwind_header.
8510 * configure: Regenerate.
8511 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8512 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8513 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8514 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8515 * config/unwind-dw2-fde-darwin.c: New file.
8516 * config/arm/libunwind.S, config/arm/pr-support.c,
8517 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8518 config/arm/unwind-arm.h,: New files.
8519 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8520 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8521 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8522 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8523 config/ia64/unwind-ia64.h: New files.
8524 * config/picochip/t-picochip: New file.
8525 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8527 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8528 * config/s390/t-tpf (LIB2ADDEH): Remove.
8529 * config/t-darwin (LIB2ADDEH): Set.
8530 * config/t-eh-dw2-dip: New file.
8531 * config/t-libunwind, config/t-libunwind-elf: New files.
8532 * config/t-sol2 (LIB2ADDEH): Remove.
8533 * config/xtensa/t-xtensa: New file.
8535 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8537 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8538 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8539 long long to check rt_sigreturn syscall.
8541 2011-08-02 Alan Modra <amodra@gmail.com>
8543 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8544 Restore for indirect call bcrtl from correct stack slot, and only
8545 if cfa+40 isn't valid.
8547 2011-08-01 Julian Brown <julian@codesourcery.com>
8549 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8550 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8551 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8553 2011-08-01 Julian Brown <julian@codesourcery.com>
8555 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8556 (libgcc-std.ver.in): Use above.
8557 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8558 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8560 * config/t-fixedpoint-gnu-prefix: New file.
8561 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8562 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8565 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8567 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8568 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8569 for x86-64. Properly check __x86_64__ and __LP64__.
8571 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8573 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8575 (_FP_WS_TYPE): Likewise.
8576 (_FP_I_TYPE): Likewise.
8578 2011-07-28 Alan Modra <amodra@gmail.com>
8580 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8581 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8582 in a plt call stub. Do restore r2 if stopped on bctrl.
8584 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8586 * config.host (i[3456x]86-*-netware*): Remove.
8587 * config/i386/netware-crt0.c, config/i386/t-nwld,
8588 config/i386/t-slibgcc-nwld: Remove.
8590 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8592 * config.host: Handle tic6x-*-*.
8593 * config/c6x/c6x-abi.h: New file.
8595 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8597 * config/i386/crtprec.c: New file.
8598 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8599 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8600 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8601 (x86_64-*-darwin*): Likewise.
8602 (i[34567]86-*-solaris2*: Likewise.
8604 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8606 * config/alpha/crtfastmath.c: New file.
8607 * config/i386/crtfastmath.c: New file.
8608 * config/ia64/crtfastmath.c: New file.
8609 * config/mips/crtfastmath.c: New file.
8610 * config/sparc/crtfastmath.c: New file.
8612 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8614 Add -frandom-seed=gcc-crtfastmath.
8615 * config/alpha/t-crtfm: Remove.
8616 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8617 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8619 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8620 (alpha*-dec-osf5.1*): Likewise.
8621 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8622 Add crtfastmath.o to extra_parts.
8623 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8624 Add crtfastmath.o to extra_parts.
8625 (x86_64-*-darwin*): Likewise.
8626 (x86_64-*-mingw*): Likewise.
8627 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8628 (ia64*-*-freebsd*): Likewise.
8629 (ia64*-*-linux*): Likewise.
8630 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8631 Add crtfastmath.o to extra_parts.
8633 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8635 * config/darwin-crt3.o: New file.
8636 * config/rs6000/darwin-crt2.c: New file.
8637 * config/t-darwin: New file.
8638 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8640 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8641 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8642 (powerpc64-*-darwin*): Likewise.
8644 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8646 * config/i386/netware-crt0.c: New file.
8647 * config/i386/t-nwld: Rename to ...
8648 * config/i386/t-slibgcc-nwld: ... this.
8649 * config/i386/t-nwld: New file.
8650 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8652 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8655 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8657 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8659 * configure: Regenerate.
8661 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8663 * dfp-bit.c, dfp-bit.h: New files.
8664 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8666 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8667 ($(d64pbit-o)): Likewise.
8668 ($(d128pbit-o)): Likewise.
8669 * config/t-dfprules: New file.
8670 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8671 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8672 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8673 (x86_64-*-linux*): Likewise.
8674 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8675 (i[34567]86-*-cygwin*): Likewise.
8676 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8677 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8679 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8681 * Makfile.in (LIBGCOV): New variable.
8682 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8683 * libgcov.c: New file.
8685 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8687 * fixed-bit.c, fixed-bit.h: New files.
8688 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8689 refer to fixed-bit.c.
8691 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8693 * config.host (*local*): Remove.
8695 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8698 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8699 like i?86-*-solaris2.1[0-9]*.
8700 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8701 * configure.ac (i?86-*-solaris2*): Likewise.
8702 * configure: Regenerate.
8704 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8706 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8707 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8708 md_unwind_header by splitting out of...
8709 (i[34567]86-*-linux*): ... this.
8710 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8711 Remove md_unwind_header by splitting out of...
8712 (x86_64-*-linux*): ... this.
8714 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8716 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8718 2011-06-28 Nick Clifton <nickc@redhat.com>
8720 * config.host: Recognize all V850 variants.
8722 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8724 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8726 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8728 * shared-object.mk (c_flags-$o): Save c_flags.
8729 ($(base)$(objext)): Use it.
8730 ($(base)_s$(objext)): Likewise.
8732 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8734 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8735 * libgcc-std.ver.in (GCC_4.7.0): New section.
8737 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8741 * config/avr/t-avr: Fix line endings.
8742 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8745 2011-06-14 Olivier Hainque <hainque@adacore.com>
8746 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8748 * config/mips/irix6-unwind.h: New file.
8749 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8751 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8753 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8754 (sparc64_fallback_frame_state): Use it.
8755 (sparc64_frob_update_context): Further adjust context.
8756 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8757 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8758 * config/sparc/sol2-cn.S: Likewise.
8760 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8762 * enable-execute-stack-empty.c: New file.
8763 * enable-execute-stack-mprotect.c: New file.
8764 * config/i386/enable-execute-stack-mingw32.c: New file.
8765 * config.host (enable_execute_stack): New variable.
8766 Select appropriate variants.
8767 * configure.ac: Link enable-execute-stack.c to
8768 $enable_execute_stack.
8769 * configure: Regenerate.
8770 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8771 (lib2funcs): Remove _enable_execute_stack.
8773 2011-06-09 David S. Miller <davem@davemloft.net>
8774 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8776 * config.host (sparc-*-linux*): Correct md_unwind_header
8778 (s390x-ibm-tpf*): Fix typo.
8780 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8782 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8783 Add crtfastmath.o to extra_parts.
8784 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8786 * config/mips/t-crtfm: Remove.
8788 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8790 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8792 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8794 * config.host (sh*-*-linux*): Fix typo.
8796 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8798 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8799 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8800 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8801 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8802 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8803 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8804 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8805 Wrap in !__MINGW64__.
8806 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8807 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8808 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8809 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8810 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8811 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8812 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8814 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8815 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8816 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8817 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8818 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8819 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8820 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8821 * config/no-unwind.h: New file.
8822 * config.host (md_unwind_header): Document.
8824 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8825 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8826 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8827 hppa[12]*-*-hpux11*): Set md_unwind_header.
8828 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8829 Set md_unwind_header.
8830 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8831 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8832 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8833 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8834 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8835 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8836 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8838 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8839 * configure: Regenerate.
8841 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8843 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8844 Set tmake_file, extra_parts.
8845 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8847 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8849 * config/mips/t-irix6: New file.
8850 * config/mips/t-slibgcc-irix: New file.
8852 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8854 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8855 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8857 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8859 * configure.ac (target_thread_file): Determine thread model.
8860 * configure: Regenerate.
8861 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8862 * config/alpha/t-alpha: New file.
8863 * config/alpha/t-crtfm: Use $<.
8864 * config/alpha/t-ieee: New file.
8865 * config/alpha/t-osf-pthread: New file.
8866 * config/alpha/t-slibgcc-osf: New file.
8867 * config/alpha/libgcc-osf5.ver: New file.
8869 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8871 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8873 Add crtfastmath.o to extra_parts.
8875 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8877 * config/gmon-sol2.c: Reindent.
8879 Remove, correct casts.
8880 Use STDERR_FILENO, NULL.
8881 (BASEADDRESS): Remove.
8883 (errno, sbrk): Remove declarations.
8884 (monstartup) [hp300]: Remove.
8887 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8889 * Makefile.in (cpu_type): Define.
8890 * config.host (i[34567]86-*-rtems*): Handle it.
8891 (i[34567]86-*-solaris2*): Move body ...
8892 (*-*-solaris2*): ... here.
8893 New case, generalize.
8894 (sparc-*-elf*): Handle it.
8895 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8896 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8897 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8899 (sparc*-*-solaris2*): ... this.
8901 (sparc64-*-elf*): Handle it.
8902 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8903 Merge ../gcc/config/i386/gmon-sol2.c.
8904 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8906 Merge ../gcc/config/i386/sol2-gc1.asm.
8907 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8909 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8911 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8912 * config/i386/t-crtstuff: New file.
8913 * config/i386/t-softfp: New file.
8914 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8915 $(T)crti.o, $(T)crtn.o): Remove.
8916 (gcrt1.o): New rule.
8917 (TARGET_LIBGCC2_CFLAGS): Remove.
8918 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8919 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8920 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8921 * config/sparc/t-sol2: New file.
8922 * config/sparc/t-crtfm: Move to ...
8923 * config/t-crtfm: ... this.
8924 Use $(cpu_type), $<.
8925 * config/t-crtin: New file.
8926 * config/sparc/t-softfp: New file.
8927 * config/sparc/t-softmul: New file.
8928 * config/t-rtems: New file.
8929 * config/t-slibgcc: New file.
8930 * config/t-slibgcc-elf-ver: New file.
8931 * config/t-slibgcc-gld: New file.
8932 * config/t-slibgcc-sld: New file.
8933 * config/t-sol2: New file.
8934 * configure.ac: Include ../config/lib-ld.m4.
8935 Call AC_LIB_PROG_LD_GNU.
8936 Substitute cpu_type.
8937 * configure: Regenerate.
8939 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8942 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8943 libgcc-std.ver in the build directory.
8944 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8945 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8947 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8949 * libgcc-std.ver.in: New file.
8950 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8952 (libgcc-std.ver): New rule.
8953 * config/t-gnu-prefix: New file.
8955 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8957 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8959 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8961 * config/i386/darwin-lib.h: New file.
8963 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8965 * config/arm/symbian-lib.h: New.
8967 2011-05-04 Chris Demetriou <cgd@google.com>
8969 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8970 (__x86.get_pc_thunk.bx): ...this.
8971 (__morestack): Adjust for rename, remove undef of __i686.
8973 2011-05-03 Chris Demetriou <cgd@google.com>
8975 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8977 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8979 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8980 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8981 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8982 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8983 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8986 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8988 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8989 Adjust copyright year.
8991 2011-03-07 Ian Lance Taylor <iant@google.com>
8993 * generic-morestack.c (__splitstack_find): Adjust returned stack
8994 pointer to include all registers pushed by __morestack.
8996 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8999 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9000 (toolexecdir): Calculate and AC_SUBST.
9001 (toolexeclibdir): Likewise.
9002 * Makefile.in (target_noncanonical): Import.
9003 (toolexecdir): Likewise.
9004 (toolexeclibdir): Likewise.
9005 * configure: Regenerate.
9007 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9010 * config/arm/bpabi.h: Rename to...
9011 * config/arm/bpabi-lib.h: ...this.
9013 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9015 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9017 * configure: Regenerate.
9019 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9021 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9022 __FLOAT_WORD_ORDER__.
9023 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9026 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9029 * Makefile.in (install-strip): New phony target.
9031 2010-11-07 Ian Lance Taylor <iant@google.com>
9034 * config/i386/morestack.S (__morestack_large_model): New
9037 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9039 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9041 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9043 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9045 * config/arm/bpabi.h: New file.
9046 * config/frv/frv-abi.h: New file.
9048 2010-10-01 Ian Lance Taylor <iant@google.com>
9050 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9051 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9053 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9056 * config.host: Add the missing `$'.
9058 2010-09-30 Michael Eager <eager@eagercon.com>
9060 * config.host: Add microblaze*-*-*.
9061 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9062 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9063 udivsi3.asm,umodsi3.asm}: New.
9065 2010-09-28 Ian Lance Taylor <iant@google.com>
9067 * configure.ac: Adjust CFI test to test assembler directly rather
9068 than checking gcc preprocessor macro.
9069 * configure: Rebuild.
9071 2010-09-27 Ian Lance Taylor <iant@google.com>
9073 * configure.ac: Test whether assembler supports CFI directives.
9074 * config.host: Only add t-stack and i386/t-stack-i386 to
9075 tmake_file if libgcc_cv_cfi is "yes".
9076 * configure: Rebuild.
9078 2010-09-27 Ian Lance Taylor <iant@google.com>
9080 * generic-morestack.h: New file.
9081 * generic-morestack.c: New file.
9082 * generic-morestack-thread.c: New file.
9083 * config/i386/morestack.S: New file.
9084 * config/t-stack: New file.
9085 * config/i386/t-stack-i386: New file.
9086 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9087 i386/t-stack-i386 to tmake_file.
9089 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9091 * Makefile.in (libgcc-extra-parts): Check for static archives and
9092 invoke ranlib after installing them.
9093 (gcc-extra-parts): Likewise.
9094 (install-leaf): Likewise.
9096 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9098 * configure: Regenerated.
9100 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9102 * configure: Regenerated.
9104 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9105 Andrew Pinski <pinskia@gmail.com>
9108 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9110 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9113 * configure: Regenerated.
9115 2010-09-06 Andreas Schwab <schwab@redhat.com>
9117 * configure: Regenerate.
9119 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9121 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9123 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9126 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9127 Iain Sandoe <iains@gcc.gnu.org>
9130 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9131 LIB2FUNCS_EXCLUDE functions.
9133 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9135 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9137 * configure: Regenerate.
9139 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9141 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9142 i386/t-freebsd to tmake_file.
9143 * config/i386/t-freebsd: New file.
9144 * config/i386/libgcc-bsd.ver: New file.
9146 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9148 * config.host (powerpc*-eabispe*): Set tmake_file.
9149 (powerpc*-eabi*): Likewise.
9150 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9151 crtbeginS, crtendS, crtbeginT.
9153 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9155 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9156 to tmake_file. Add crtfastmath.o to extra_parts.
9157 * config/mips/t-crtfm: New.
9159 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9161 * config.host (sparc64-*-rtems*): New target.
9163 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9165 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9168 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9170 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9172 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9174 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9175 alpha-dec-osf5.0* support.
9177 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9179 * config.host: Add lm32-*-rtems*.
9181 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9182 Uros Bizjak <ubizjak@gmail.com>
9185 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9186 like other remaining 32-bit x86 OSes.
9187 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9189 * config/i386/libgcc-sol2.ver: New file.
9190 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9192 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9195 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9196 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9197 is used and substitute set_use_emutls.
9198 * configure: Regenerated.
9200 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9202 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9204 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9207 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9209 ($(T)gcrt1.o): Likewise.
9210 ($(T)crt1.o): Likewise.
9211 ($(T)crti.o): Likewise.
9212 ($(T)crtn.o): Likewise.
9214 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9217 * Makefile.in (install): Use $(MAKE) string in rule, for
9220 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9222 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9223 * config/mmix/t-mmix: New file.
9224 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9226 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9229 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9232 2010-01-04 Anthony Green <green@moxielogic.com>
9234 * config/moxie/crti.asm, config/moxie/crtn.asm,
9235 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9236 config/moxie/t-moxie: New files.
9237 * config.host: Add t-moxie-softfp reference.
9239 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9242 * config/t-slibgcc-darwin: Fix embedded rpaths for
9243 --enable-version-specific-runtime-libs, build extension stub
9244 libs exposing features available from current libgcc_s.
9246 2009-11-11 Jon Beniston <jon@beniston.com>
9248 * config.host: Add lm32 targets.
9249 * config/lm32: New directory.
9250 * config/lm32/libgcc_lm32.h: New file.
9251 * config/lm32/_mulsi3.c: New file.
9252 * config/lm32/_udivmodsi4.c: New file.
9253 * config/lm32/_divsi3.c: New file.
9254 * config/lm32/_modsi3.c: New file.
9255 * config/lm32/_udivsi3.c: New file.
9256 * config/lm32/_umodsi3.c: New file.
9257 * config/lm32/_lshrsi3.S: New file.
9258 * config/lm32/_ashrsi3.S: New file.
9259 * config/lm32/_ashlsi3.S: New file.
9260 * config/lm32/crti.S: New file.
9261 * config/lm32/crtn.S: New file.
9262 * config/lm32/t-lm32: New file.
9263 * config/lm32/t-elf: New file.
9264 * config/lm32/t-uclinux: New file.
9266 2009-10-26 Nick Clifton <nickc@redhat.com>
9268 * config.host: Add support for RX target.
9269 * config/rx: New directory.
9270 * config/rx/rx-abi-functions.c: New file. Supplementary
9271 functions for libgcc to support the RX ABI.
9272 * config/rx/rx-abi.h: New file. Supplementary header file for
9273 libgcc RX ABI functions.
9274 * config/rx/t-rx: New file: Makefile fragment for building
9277 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9279 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9280 constraint of y0 to "g".
9282 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9284 * config.host: Include the s390 makefile fragments.
9285 * config/s390/32/_fixdfdi.c: New file.
9286 * config/s390/32/_fixsfdi.c: New file.
9287 * config/s390/32/_fixtfdi.c: New file.
9288 * config/s390/32/_fixunsdfdi.c: New file.
9289 * config/s390/32/_fixunssfdi.c: New file.
9290 * config/s390/32/_fixunstfdi.c: New file.
9291 * config/s390/32/t-floattodi: New file.
9292 * config/s390/libgcc-glibc.ver: New file.
9293 * config/s390/t-crtstuff: New file.
9294 * config/s390/t-linux: New file.
9295 * config/s390/t-tpf: New file.
9297 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9299 * configure.ac (AC_PREREQ): Bump to 2.64.
9301 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9303 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9305 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9307 * configure: Regenerate.
9309 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9311 * config.host (ia64-hp-*vms*): New target.
9312 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9315 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9317 * configure.ac: Add snippet for maintainer-mode.
9318 * configure: Regenerate.
9319 * Makefile.in (AUTOCONF, configure_deps): New variables.
9320 ($(srcdir)/configure)): New rule, active only with maintainer
9323 2009-06-23 DJ Delorie <dj@redhat.com>
9326 * config.host: Add mep support.
9328 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9330 * config.host: Add i386/${host_address}/t-fprules-softfp and
9331 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9333 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9335 * config/i386/64/_multc3.c: Likewise.
9336 * config/i386/64/_powitf2.c: Likewise.
9337 * config/i386/64/eqtf2.c: Likewise.
9338 * config/i386/64/getf2.c: Likewise.
9339 * config/i386/64/letf2.c: Likewise.
9340 * config/i386/64/letf2.c: Likewise.
9341 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9342 unsigned long long for x64 mingw targets.
9343 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9344 (_FP_I_TYPE): Define as long long for x64 mingw target.
9346 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9348 * config.host (vax-*-linux*): New.
9350 2009-05-31 Anthony Green <green@moxielogic.com>
9352 * config.host: Add moxie support.
9353 * config/moxie/t-moxie: New file.
9355 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9357 * config.host: Add i386/${host_address}/t-fprules-softfp and
9358 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9360 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9362 * config.host: Add i386/${host_address}/t-fprules-softfp to
9363 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9365 2009-04-09 Nick Clifton <nickc@redhat.com>
9367 * config/ia64/tf-signs.c: Change copyright header to refer to
9368 version 3 of the GNU General Public License with version 3.1
9369 of the GCC Runtime Library Exception and to point readers at
9370 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9372 * config/i386/32/tf-signs.c: Likewise.
9373 * config/libbid/_addsub_dd.c: Likewise.
9374 * config/libbid/_addsub_sd.c: Likewise.
9375 * config/libbid/_addsub_td.c: Likewise.
9376 * config/libbid/_dd_to_df.c: Likewise.
9377 * config/libbid/_dd_to_di.c: Likewise.
9378 * config/libbid/_dd_to_sd.c: Likewise.
9379 * config/libbid/_dd_to_sf.c: Likewise.
9380 * config/libbid/_dd_to_si.c: Likewise.
9381 * config/libbid/_dd_to_td.c: Likewise.
9382 * config/libbid/_dd_to_tf.c: Likewise.
9383 * config/libbid/_dd_to_udi.c: Likewise.
9384 * config/libbid/_dd_to_usi.c: Likewise.
9385 * config/libbid/_dd_to_xf.c: Likewise.
9386 * config/libbid/_df_to_dd.c: Likewise.
9387 * config/libbid/_df_to_sd.c: Likewise.
9388 * config/libbid/_df_to_td.c: Likewise.
9389 * config/libbid/_di_to_dd.c: Likewise.
9390 * config/libbid/_di_to_sd.c: Likewise.
9391 * config/libbid/_di_to_td.c: Likewise.
9392 * config/libbid/_div_dd.c: Likewise.
9393 * config/libbid/_div_sd.c: Likewise.
9394 * config/libbid/_div_td.c: Likewise.
9395 * config/libbid/_eq_dd.c: Likewise.
9396 * config/libbid/_eq_sd.c: Likewise.
9397 * config/libbid/_eq_td.c: Likewise.
9398 * config/libbid/_ge_dd.c: Likewise.
9399 * config/libbid/_ge_sd.c: Likewise.
9400 * config/libbid/_ge_td.c: Likewise.
9401 * config/libbid/_gt_dd.c: Likewise.
9402 * config/libbid/_gt_sd.c: Likewise.
9403 * config/libbid/_gt_td.c: Likewise.
9404 * config/libbid/_isinfd128.c: Likewise.
9405 * config/libbid/_isinfd32.c: Likewise.
9406 * config/libbid/_isinfd64.c: Likewise.
9407 * config/libbid/_le_dd.c: Likewise.
9408 * config/libbid/_le_sd.c: Likewise.
9409 * config/libbid/_le_td.c: Likewise.
9410 * config/libbid/_lt_dd.c: Likewise.
9411 * config/libbid/_lt_sd.c: Likewise.
9412 * config/libbid/_lt_td.c: Likewise.
9413 * config/libbid/_mul_dd.c: Likewise.
9414 * config/libbid/_mul_sd.c: Likewise.
9415 * config/libbid/_mul_td.c: Likewise.
9416 * config/libbid/_ne_dd.c: Likewise.
9417 * config/libbid/_ne_sd.c: Likewise.
9418 * config/libbid/_ne_td.c: Likewise.
9419 * config/libbid/_sd_to_dd.c: Likewise.
9420 * config/libbid/_sd_to_df.c: Likewise.
9421 * config/libbid/_sd_to_di.c: Likewise.
9422 * config/libbid/_sd_to_sf.c: Likewise.
9423 * config/libbid/_sd_to_si.c: Likewise.
9424 * config/libbid/_sd_to_td.c: Likewise.
9425 * config/libbid/_sd_to_tf.c: Likewise.
9426 * config/libbid/_sd_to_udi.c: Likewise.
9427 * config/libbid/_sd_to_usi.c: Likewise.
9428 * config/libbid/_sd_to_xf.c: Likewise.
9429 * config/libbid/_sf_to_dd.c: Likewise.
9430 * config/libbid/_sf_to_sd.c: Likewise.
9431 * config/libbid/_sf_to_td.c: Likewise.
9432 * config/libbid/_si_to_dd.c: Likewise.
9433 * config/libbid/_si_to_sd.c: Likewise.
9434 * config/libbid/_si_to_td.c: Likewise.
9435 * config/libbid/_td_to_dd.c: Likewise.
9436 * config/libbid/_td_to_df.c: Likewise.
9437 * config/libbid/_td_to_di.c: Likewise.
9438 * config/libbid/_td_to_sd.c: Likewise.
9439 * config/libbid/_td_to_sf.c: Likewise.
9440 * config/libbid/_td_to_si.c: Likewise.
9441 * config/libbid/_td_to_tf.c: Likewise.
9442 * config/libbid/_td_to_udi.c: Likewise.
9443 * config/libbid/_td_to_usi.c: Likewise.
9444 * config/libbid/_td_to_xf.c: Likewise.
9445 * config/libbid/_tf_to_dd.c: Likewise.
9446 * config/libbid/_tf_to_sd.c: Likewise.
9447 * config/libbid/_tf_to_td.c: Likewise.
9448 * config/libbid/_udi_to_dd.c: Likewise.
9449 * config/libbid/_udi_to_sd.c: Likewise.
9450 * config/libbid/_udi_to_td.c: Likewise.
9451 * config/libbid/_unord_dd.c: Likewise.
9452 * config/libbid/_unord_sd.c: Likewise.
9453 * config/libbid/_unord_td.c: Likewise.
9454 * config/libbid/_usi_to_dd.c: Likewise.
9455 * config/libbid/_usi_to_sd.c: Likewise.
9456 * config/libbid/_usi_to_td.c: Likewise.
9457 * config/libbid/_xf_to_dd.c: Likewise.
9458 * config/libbid/_xf_to_sd.c: Likewise.
9459 * config/libbid/_xf_to_td.c: Likewise.
9460 * config/libbid/bid128.c: Likewise.
9461 * config/libbid/bid128_2_str.h: Likewise.
9462 * config/libbid/bid128_2_str_macros.h: Likewise.
9463 * config/libbid/bid128_2_str_tables.c: Likewise.
9464 * config/libbid/bid128_add.c: Likewise.
9465 * config/libbid/bid128_compare.c: Likewise.
9466 * config/libbid/bid128_div.c: Likewise.
9467 * config/libbid/bid128_fma.c: Likewise.
9468 * config/libbid/bid128_logb.c: Likewise.
9469 * config/libbid/bid128_minmax.c: Likewise.
9470 * config/libbid/bid128_mul.c: Likewise.
9471 * config/libbid/bid128_next.c: Likewise.
9472 * config/libbid/bid128_noncomp.c: Likewise.
9473 * config/libbid/bid128_quantize.c: Likewise.
9474 * config/libbid/bid128_rem.c: Likewise.
9475 * config/libbid/bid128_round_integral.c: Likewise.
9476 * config/libbid/bid128_scalb.c: Likewise.
9477 * config/libbid/bid128_sqrt.c: Likewise.
9478 * config/libbid/bid128_string.c: Likewise.
9479 * config/libbid/bid128_to_int16.c: Likewise.
9480 * config/libbid/bid128_to_int32.c: Likewise.
9481 * config/libbid/bid128_to_int64.c: Likewise.
9482 * config/libbid/bid128_to_int8.c: Likewise.
9483 * config/libbid/bid128_to_uint16.c: Likewise.
9484 * config/libbid/bid128_to_uint32.c: Likewise.
9485 * config/libbid/bid128_to_uint64.c: Likewise.
9486 * config/libbid/bid128_to_uint8.c: Likewise.
9487 * config/libbid/bid32_to_bid128.c: Likewise.
9488 * config/libbid/bid32_to_bid64.c: Likewise.
9489 * config/libbid/bid64_add.c: Likewise.
9490 * config/libbid/bid64_compare.c: Likewise.
9491 * config/libbid/bid64_div.c: Likewise.
9492 * config/libbid/bid64_fma.c: Likewise.
9493 * config/libbid/bid64_logb.c: Likewise.
9494 * config/libbid/bid64_minmax.c: Likewise.
9495 * config/libbid/bid64_mul.c: Likewise.
9496 * config/libbid/bid64_next.c: Likewise.
9497 * config/libbid/bid64_noncomp.c: Likewise.
9498 * config/libbid/bid64_quantize.c: Likewise.
9499 * config/libbid/bid64_rem.c: Likewise.
9500 * config/libbid/bid64_round_integral.c: Likewise.
9501 * config/libbid/bid64_scalb.c: Likewise.
9502 * config/libbid/bid64_sqrt.c: Likewise.
9503 * config/libbid/bid64_string.c: Likewise.
9504 * config/libbid/bid64_to_bid128.c: Likewise.
9505 * config/libbid/bid64_to_int16.c: Likewise.
9506 * config/libbid/bid64_to_int32.c: Likewise.
9507 * config/libbid/bid64_to_int64.c: Likewise.
9508 * config/libbid/bid64_to_int8.c: Likewise.
9509 * config/libbid/bid64_to_uint16.c: Likewise.
9510 * config/libbid/bid64_to_uint32.c: Likewise.
9511 * config/libbid/bid64_to_uint64.c: Likewise.
9512 * config/libbid/bid64_to_uint8.c: Likewise.
9513 * config/libbid/bid_b2d.h: Likewise.
9514 * config/libbid/bid_binarydecimal.c: Likewise.
9515 * config/libbid/bid_conf.h: Likewise.
9516 * config/libbid/bid_convert_data.c: Likewise.
9517 * config/libbid/bid_decimal_data.c: Likewise.
9518 * config/libbid/bid_decimal_globals.c: Likewise.
9519 * config/libbid/bid_div_macros.h: Likewise.
9520 * config/libbid/bid_dpd.c: Likewise.
9521 * config/libbid/bid_flag_operations.c: Likewise.
9522 * config/libbid/bid_from_int.c: Likewise.
9523 * config/libbid/bid_functions.h: Likewise.
9524 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9525 * config/libbid/bid_inline_add.h: Likewise.
9526 * config/libbid/bid_internal.h: Likewise.
9527 * config/libbid/bid_round.c: Likewise.
9528 * config/libbid/bid_sqrt_macros.h: Likewise.
9530 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9532 * Makefile.in: Change copyright header to refer to version
9533 3 of the GNU General Public License and to point readers at the
9534 COPYING3 file and the FSF's license web page.
9535 * config.host: Likewise.
9537 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9539 * config.host: Reorder and merge to match config.gcc change.
9541 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9543 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9545 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9547 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9548 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9549 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9550 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9552 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9554 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9555 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9557 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9559 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9560 ia64/t-softfp-compat to tmake_file.
9562 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9564 * config/ia64/__divxf3.asm: New.
9565 * config/ia64/_fixtfdi.asm: Likewise.
9566 * config/ia64/_fixunstfdi.asm: Likewise.
9567 * config/ia64/_floatditf.asm: Likewise.
9568 * config/ia64/t-fprules-softfp: Likewise.
9569 * config/ia64/t-softfp-compat: Likewise.
9570 * config/ia64/tf-signs.c: Likewise.
9572 2009-01-18 Ben Elliston <bje@au.ibm.com>
9574 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9576 2009-01-16 Ben Elliston <bje@au.ibm.com>
9578 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9581 2009-01-13 Ben Elliston <bje@au.ibm.com>
9583 * config/t-softfp: New file.
9584 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9585 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9587 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9589 * config.host: Add m32r*-*-rtems*.
9591 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9593 * config.host: Add m32c*-*-rtems*.
9595 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9598 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9599 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9600 * configure: Regenerate.
9601 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9602 tmake_file here from gcc/config.gcc.
9603 Move extra_parts here from gcc/config.gcc.
9604 * config/i386/t-sol2: Move here from gcc/config/i386.
9605 Use gcc_srcdir instead of srcdir.
9607 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9609 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9612 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9614 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9616 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9618 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9620 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9623 * config.host: Add picochip-*-*.
9625 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9627 * config.host: Match more processor names for Xtensa.
9629 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9631 * config/i386/64/t-softfp-compat: Update comments.
9633 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9635 * config/i386/64/_divtc3-compat.c: Moved to ...
9636 * config/i386/64/_divtc3.c: Here.
9638 * config/i386/64/_multc3-compat.c: Moved to ...
9639 * config/i386/64/_multc3.c: Here.
9641 * config/i386/64/_powitf2-compat.c: Moved to ...
9642 * config/i386/64/_powitf2.c: Here.
9644 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9645 .c suffix instead of -compat.c.
9647 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9649 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9650 (_FP_MUL_MEAT_D): Ditto.
9651 (_FP_DIV_MEAT_S): Ditto.
9652 (_FP_DIV_MEAT_D): Ditto.
9654 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9656 * Makefile.in: Add support for __sync_* libgcc functions.
9658 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9660 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9662 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9665 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9666 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9668 * config/i386/64/t-fprules-softfp: Moved to ...
9669 * config/i386/64/t-softfp-compat: This. New.
9671 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9673 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9674 Initialize f with 0.0.
9676 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9679 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9681 * config/i386/64/_divtc3-compat.c: New.
9682 * config/i386/64/_multc3-compat.c: Likewise.
9683 * config/i386/64/_powitf2-compat.c: Likewise.
9684 * config/i386/64/eqtf2.c: Likewise.
9685 * config/i386/64/getf2.c: Likewise.
9686 * config/i386/64/letf2.c: Likewise.
9687 * config/i386/64/t-fprules-softfp: Likewise.
9689 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9691 * config.host: Add i386/${host_address}/t-fprules-softfp to
9692 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9693 i[34567]86-*-linux*, x86_64-*-linux*.
9695 * configure.ac: Set host_address to 64 or 32 for x86.
9696 * configure: Regenerated.
9698 * Makefile.in (config.status): Also depend on
9699 $(srcdir)/config.host.
9701 * config/i386/32/t-fprules-softfp: New.
9702 * config/i386/32/tf-signs.c: Likewise.
9704 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9706 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9707 Uros Bizjak <ubizjak@gmail.com>
9709 * config/i386/32/sfp-machine.h: New.
9711 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9713 * config/rs6000/t-ppccomm: Remove rules that conflict with
9714 auto-generated rules.
9716 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9718 * configure.ac: sinclude override.m4.
9719 * configure: Regenerate.
9721 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9723 * configure: Regenerate.
9725 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9727 * Makefile.in (DECNUMINC): Remove
9728 -I$(MULTIBUILDTOP)../../libdecnumber.
9731 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9733 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9734 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9735 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9736 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9737 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9738 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9739 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9740 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9741 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9742 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9743 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9744 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9745 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9746 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9748 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9750 * config.host (sh2[lbe]*-*-linux*): Allow target.
9752 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9754 * config/rs6000/t-ppccomm: Add build rules for new files.
9755 (LIB2ADD_ST): New variable.
9757 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9761 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9762 * config/t-avr: New file. Build 16bit libgcc functions.
9764 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9767 * config/t-slibgcc-darwin: Make install-leaf dependent on
9768 install-darwin-libgcc-stubs instead of install.
9770 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9772 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9773 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9774 sh-*-rtemscoff*): Remove cases.
9776 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9778 * Makefile.in (all): Use install-leaf rather than install.
9779 (install): Split most of the rule into...
9780 (install-leaf): ...this new one.
9782 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9783 Paolo Bonzini <bonzini@gnu.org>
9786 * Makefile.in: Use @shlib_slibdir@ substitution to get
9787 correct install name on darwin.
9788 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9790 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9792 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9793 cris-*-elf and cris-*-none.
9794 (crisv32-*-linux*): Similar, as cris-*-linux*.
9796 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9798 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9800 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9803 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9804 * configure: Regenerated.
9806 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9808 * Makefile.in (dfp-filenames): Replace decimal_globals,
9809 decimal_data, binarydecimal and convert_data with
9810 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9811 and bid_convert_data, respectively.
9813 2007-09-17 Chao-ying Fu <fu@mips.com>
9814 Nigel Stephens <nigel@mips.com>
9816 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9817 * Makefile.in (fixed_point): Define.
9818 Check if fixed_point is yes to build support functions.
9819 * configure.ac: Check for fixed_point support.
9820 * configure: Regenerated.
9821 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9822 funcs, modes, from, to.
9824 2007-09-11 Janis Johnson <janis187@us.ibm.com
9826 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9828 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9830 * Makefile.in (dfp-filenames): Remove decUtility, add
9831 decDouble, decPacked, decQuad, decSingle.
9833 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9835 * config.host : Add x86_64-elf target.
9837 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9839 * configure.ac (set_have_cc_tls): Add a missing =.
9840 * configure: Regenerated.
9842 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9844 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9845 and x86_64-*-linux*.
9847 * config/t-tls: New file.
9849 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9851 * configure.ac: Include ../config/enable.m4 and
9852 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9853 supports TLS and substitute set_have_cc_tls.
9854 * configure: Regenerated.
9856 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9858 * Makefile.in: Use libbid for DFP when BID is enabled.
9860 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9862 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9863 extra_parts. Add config/i386/t-cygming to tmake_file.
9864 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9866 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9867 Danny Smith <dannysmith@users.sourceforge.net>
9870 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9871 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9872 * config/i386/t-crtfm: Compile crtfastmath.o with
9873 -minline-all-stringops.
9875 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9877 * config.host (sparc-wrs-vxworks): New target.
9879 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9881 * config.host: Recognize fido.
9883 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9885 * configure: Check host, not target, for decimal float support.
9887 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9889 * config/i386/t-crtpc: New file.
9890 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9891 (x86_64-*-linux*): Ditto.
9893 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9895 * config.host (x86_64-*-mingw*): New target.
9897 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9898 H.J. Lu <hongjiu.lu@intel.com>
9900 * Makefile.in (enable_decimal_float): New.
9902 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9903 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9904 (decbits-filenames): This.
9905 (decbits-objects): New.
9906 (libgcc-objects): Add $(decbits-objects).
9908 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9909 Substitute enable_decimal_float.
9910 * configure: Regenerated.
9912 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9914 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9916 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9918 * Makefile.in (install-info): New dummy target.
9920 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9922 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9924 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9926 * Makefile.in: Add install-html and install-pdf dummy
9929 2007-02-05 Roger Sayle <roger@eyesopen.com>
9930 Daniel Jacobowitz <dan@codesourcery.com>
9932 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9933 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9934 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9936 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9938 * Makefile.in (dec-filenames): Add decExcept.
9940 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9943 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9946 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9948 * configure.ac: Add --enable-version-specific-runtime-libs.
9949 Correct $slibdir default.
9950 * configure: Regenerated.
9952 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9954 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9956 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9959 * config.host (alpha*-*-linux*): Set extra_parts.
9961 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9963 * config/sh/t-linux: New.
9964 * config.host (sh*-*-linux*): Set tmake_file.
9966 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9968 * Makefile.in (install): Handle multilibs.
9970 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9972 * Makefile.in: Added .PHONY entry for documentation targets.
9974 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9976 * Makefile.in: Add empty info, html, dvi, pdf targets.
9978 2007-01-04 Mike Stump <mrs@apple.com>
9980 * Makefile.in (MAKEINFO): Remove.
9983 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9985 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9986 * configure: Regenerate.
9987 * Makefile.in (host_subdir): Substitute it.
9988 (gcc_objdir): Use it.
9990 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9992 * config.host (ia64*-*-linux*): Set tmake_file.
9994 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9996 * Makefile.in (version): Define.
9998 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9999 Paolo Bonzini <bonzini@gnu.org>
10001 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10002 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10003 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10004 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10005 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10006 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10007 * configure: Generated.
10009 Copyright (C) 2007-2019 Free Software Foundation, Inc.
10011 Copying and distribution of this file, with or without modification,
10012 are permitted in any medium without royalty provided the copyright
10013 notice and this notice are preserved.