1 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
3 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
4 volatile void *. Remove trap check.
5 (__kernel_cmpxchg2): Likewise.
6 (FETCH_AND_OP_2): Adjust operand types.
7 (OP_AND_FETCH_2): Likewise.
8 (FETCH_AND_OP_WORD): Likewise.
9 (OP_AND_FETCH_WORD): Likewise.
10 (COMPARE_AND_SWAP_2): Likewise.
11 (__sync_val_compare_and_swap_4): Likewise.
12 (__sync_bool_compare_and_swap_4): Likewise.
13 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
14 (__sync_lock_test_and_set_4): Likewise.
15 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
16 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
18 (__sync_lock_release_8): Remove.
20 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
22 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
25 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
26 Doug Rupp <rupp@adacore.com>
27 Olivier Hainque <hainque@adacore.com>
29 * config.host: Collapse the arm-vxworks entries into
30 a single arm-wrs-vxworks7* one.
31 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
32 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
33 kernel modules, to be overriden by libstdc++ when we link with
34 it. Rely on externally provided __exidx_start/end.
36 2019-11-14 Doug Rupp <rupp@adacore.com>
37 Olivier Hainque <hainque@adacore.com>
39 * config.host: Handle aarch64*-wrs-vxworks7*.
41 2019-11-12 Olivier Hainque <hainque@adacore.com>
43 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
44 sources except the cxx0x support to LIB2ADDEH. We don't support
46 * config/t-vxworksae: New file.
47 * config.host: Handle *-*-vxworksae: Add the two aforementioned
48 Makefile fragment files at their expected position in the tmake_file
49 list, in accordance with what is done for other VxWorks variants.
51 2019-11-12 Corentin Gay <gay@adacore.com>
52 Jerome Lambourg <lambourg@adacore.com>
53 Olivier Hainque <hainque@adacore.com>
55 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
57 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
58 * config/t-vxworks7: Likewise.
60 * config.host: Append a block at the end of the file to add the
61 t-gthr files to the tmake_file list for VxWorks after everything
64 * config/vxlib.c: Rename as gthr-vxworks.c.
65 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
67 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
68 API and a basic error checking API, both internal. Simplify the
69 __gthread_once_t type definition and initializers. Add sections
70 for condition variables support and for the C++0x thread support,
71 conditioned against Vx653 for the latter.
73 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
74 implementation, leveraging the TAS internal API.
75 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
76 API, leveraging the general availability of TLS services in VxWorks7
78 (__gthread_setspecific, __gthread_setspecific): Use it.
79 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
80 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
81 support based on VxWorks primitives.
82 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
83 based on VxWorks primitives.
85 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
86 Olivier Hainque <hainque@adacore.com>
88 * config/vxcrtstuff.c: New file.
89 * config/t-vxcrtstuff: New Makefile fragment.
90 * config.host: Append t-vxcrtstuff to the tmake_file list
91 on all VxWorks ports using dwarf for table based EH.
93 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
95 Support 64-bit double and 64-bit long double configurations.
98 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
99 long double is a 32-bit type.
100 * config/avr/t-avrlibc: Copy double64 and long-double64
101 multilib(s) from the vanilla one.
102 * config/avr/t-copy-libgcc: New Makefile snip.
104 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
106 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
107 the target output object format is not ELF.
108 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
110 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
113 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
114 * fp-bit.c (pack_d, unpack_d): Remove special cases for
115 FLOAT_BIT_ORDER_MISMATCH.
116 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
118 2019-11-01 Jim Wilson <jimw@sifive.com>
120 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
122 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
124 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
125 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
126 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
127 Define symbols for 32-bit and f5series hardware multiply
129 Replace hard-coded register addresses with symbols.
132 * config/msp430/lib2mul.c: Add comment.
134 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
136 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
137 unsigned int. Adjust callers.
138 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
139 unsigned int *. Load relocation offset before function pointer.
140 Add barrier to ensure ordering.
142 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
144 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
145 Load PIC register after branch target. Fix white space.
146 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
147 implementations. Load PIC register after branch target. Don't
148 clobber function pointer when it points to function descriptor.
149 Use nullification instead of branch in LINUX implementation.
151 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
153 * config/pa/fptr.c: Disable -Warray-bounds warning.
155 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
157 * config.in, configure: Re-rebuild with stock autoconf 2.69,
158 not the ubuntu modified 2.69.
161 * config/aarch64/lse-init.c: Include auto-target.h. Disable
162 initialization if !HAVE_SYS_AUXV_H.
163 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
164 * config.in, configure: Rebuild.
167 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
170 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
172 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
173 CTR_EL0.IDC and CTR_EL0.DIC.
175 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
178 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
179 Mickaël Guêné <mickael.guene@st.com>
181 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
184 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
186 * config/aarch64/lse-init.c: New file.
187 * config/aarch64/lse.S: New file.
188 * config/aarch64/t-lse: New file.
189 * config.host: Add t-lse to all aarch64 tuples.
191 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
192 Mickaël Guêné <mickael.guene@st.com>
194 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
197 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
198 Mickaël Guêné <mickael.guene@st.com>
200 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
201 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
202 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
203 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
204 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
205 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
206 (__gnu_personality_sigframe_fdpic): New.
207 (get_eit_entry): Add FDPIC signal frame support.
209 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
210 Mickaël Guêné <mickael.guene@st.com>
212 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
213 (__kernel_dmb): Likewise.
214 (__fdpic_cmpxchg): New function.
215 (__fdpic_dmb): New function.
216 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
217 (gnu_Unwind_Find_got): New function.
218 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
219 * unwind-arm-common.inc (UCB_PR_GOT): New.
220 (funcdesc_t): New struct.
221 (get_eit_entry): Add FDPIC support.
222 (unwind_phase2): Likewise.
223 (unwind_phase2_forced): Likewise.
224 (__gnu_Unwind_RaiseException): Likewise.
225 (__gnu_Unwind_Resume): Likewise.
226 (__gnu_Unwind_Backtrace): Likewise.
227 * unwind-pe.h (read_encoded_value_with_base): Likewise.
229 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
230 Mickaël Guêné <mickael.guene@st.com>
232 * libgcc/crtstuff.c: Add support for FDPIC.
234 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
236 * config.host: Handle *-*-uclinuxfdpiceabi.
238 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
240 * config.host: Set cpu_type for bpf-*-* targets.
241 * config/bpf/t-bpf: Likewise.
242 * config/bpf/crtn.S: Likewise.
243 * config/bpf/crti.S: New file.
245 2019-09-06 Jim Wilson <jimw@sifive.com>
247 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
248 (riscv*-*-freebsd*): Likewise.
250 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
252 * config.host: Remove references to spu.
253 * config/spu/: Remove directory.
255 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
258 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
259 element type, instead of "sizeof" the element type.
260 (__DTOR_LIST__): Likewise.
261 (__TMC_LIST__): Likewise.
262 (__do_global_dtors_aux_fini_array_entry): Likewise.
263 (__frame_dummy_init_array_entry): Likewise.
264 (__CTOR_END__): Likewise.
265 (__DTOR_END__): Likweise.
266 (__FRAME_END__): Likewise.
267 (__TMC_END__): Likewise.
269 2019-08-20 Lili Cui <lilicui@intel.com>
271 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
272 INTEL_COREI7_COOPERLAKE.
274 2019-07-31 Matt Thomas <matt@3am-software.com>
275 Nick Hudson <nick@nthcliff.demon.co.uk>
276 Matthew Green <mrg@eterna.com.au>
277 Maya Rashish <coypu@sdf.org>
279 * config.host (hppa*-*-netbsd*): New case.
280 * config/pa/t-netbsd: New file.
282 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
284 * config/arm/cmse.c (cmse_check_address_range): Add
285 warn_unused_result attribute.
287 2019-07-22 Martin Liska <mliska@suse.cz>
289 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
290 * config/pa/t-stublib: Likewise.
292 2019-07-22 Stafford Horne <shorne@gmail.com>
295 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
296 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
297 instructions are not available on every processor. Change a
298 l.bnf to l.bf to fix logic issue.
300 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
302 * config.host: Remove reference to t-darwin8.
304 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
306 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
308 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
309 mmacosx-version-min for crts to run across all system versions.
310 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
311 * config/t-darwin: Revise mmacosx-version-min for crts to run across
312 system versions >= 10.4.
314 2019-07-03 Martin Liska <mliska@suse.cz>
316 * Makefile.in: Use topn_values instead of one_value names.
317 * libgcov-merge.c (__gcov_merge_single): Move to ...
318 (__gcov_merge_topn): ... this.
319 (merge_single_value_set): Move to ...
320 (merge_topn_values_set): ... this.
321 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
323 (__gcov_topn_values_profiler_body): ... this.
324 (__gcov_one_value_profiler_v2): Move to ...
325 (__gcov_topn_values_profiler): ... this.
326 (__gcov_one_value_profiler_v2_atomic): Move to ...
327 (__gcov_topn_values_profiler_atomic): ... this.
328 (__gcov_indirect_call_profiler_v4): Remove.
329 * libgcov-util.c (__gcov_single_counter_op): Move to ...
330 (__gcov_topn_counter_op): ... this.
331 * libgcov.h (L_gcov_merge_single): Remove.
332 (L_gcov_merge_topn): New.
333 (__gcov_merge_single): Remove.
334 (__gcov_merge_topn): New.
335 (__gcov_one_value_profiler_v2): Move to ..
336 (__gcov_topn_values_profiler): ... this.
337 (__gcov_one_value_profiler_v2_atomic): Move to ...
338 (__gcov_topn_values_profiler_atomic): ... this.
340 2019-07-03 Martin Liska <mliska@suse.cz>
342 * libgcov-merge.c (merge_single_value_set): Support N values.
343 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
345 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
347 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
348 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
349 * configure.ac: Add --disable-tm-clone-registry option.
350 * configure: Regenerate.
352 2019-06-27 Martin Liska <mliska@suse.cz>
354 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
356 * libgcov-util.c: Likewise.
358 2019-06-27 Martin Liska <mliska@suse.cz>
360 * libgcov-util.c (gcov_profile_merge): Release allocated
362 (calculate_overlap): Likewise.
364 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
366 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
367 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
368 Build objects for the out of line save/restore register functions
369 so that they can be used for any supported Darwin version.
370 * config/t-darwin: Default the build Darwin version to Darwin8
373 2019-06-25 Martin Liska <mliska@suse.cz>
375 * libgcov-driver-system.c (replace_filename_variables): Do not
376 call strlen with NULL argument.
378 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
380 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
381 * config/gcn/unwind-gcn.c: New file.
383 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
384 Andrew Stubbs <ams@codesourcery.com>
386 * configure: Regenerate.
387 * config/gcn/gthr-gcn.h: New.
389 2019-06-18 Tom de Vries <tdevries@suse.de>
391 * config/nvptx/crt0.c (__main): Declare.
393 2019-06-17 Matthew Green <mrg@eterna.com.au>
394 Maya Rashish <coypu@sdf.org>
396 * config.host (aarch64*-*-netbsd*): New case.
398 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
400 * config/msp430/slli.S (__mspabi_sllll): New library function for
401 performing a logical left shift of a 64-bit value.
402 * config/msp430/srai.S (__mspabi_srall): New library function for
403 performing a arithmetic right shift of a 64-bit value.
404 * config/msp430/srll.S (__mspabi_srlll): New library function for
405 performing a logical right shift of a 64-bit value.
407 2019-06-14 Matt Thomas <matt@3am-software.com>
408 Matthew Green <mrg@eterna.com.au>
409 Nick Hudson <skrll@netbsd.org>
410 Maya Rashish <coypu@sdf.org>
412 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
413 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
415 * config/arm/t-netbsd-eabi: New file.
417 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
419 * config.host: Add PRU target.
420 * config/pru/asri.c: New file.
421 * config/pru/eqd.c: New file.
422 * config/pru/eqf.c: New file.
423 * config/pru/ged.c: New file.
424 * config/pru/gef.c: New file.
425 * config/pru/gtd.c: New file.
426 * config/pru/gtf.c: New file.
427 * config/pru/led.c: New file.
428 * config/pru/lef.c: New file.
429 * config/pru/lib2bitcountHI.c: New file.
430 * config/pru/lib2divHI.c: New file.
431 * config/pru/lib2divQI.c: New file.
432 * config/pru/lib2divSI.c: New file.
433 * config/pru/libgcc-eabi.ver: New file.
434 * config/pru/ltd.c: New file.
435 * config/pru/ltf.c: New file.
436 * config/pru/mpyll.S: New file.
437 * config/pru/pru-abi.h: New file.
438 * config/pru/pru-asm.h: New file.
439 * config/pru/pru-divmod.h: New file.
440 * config/pru/sfp-machine.h: New file.
441 * config/pru/t-pru: New file.
443 2019-06-11 Jakub Jelinek <jakub@redhat.com>
445 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
447 2019-06-10 Martin Liska <mliska@suse.cz>
450 * libgcov.h: Add ATTRIBUTE_UNUSED.
452 2019-06-10 Martin Liska <mliska@suse.cz>
454 * Makefile.in: Add __gcov_one_value_profiler_v2,
455 __gcov_one_value_profiler_v2_atomic and
456 __gcov_indirect_call_profiler_v4.
457 * libgcov-merge.c (__gcov_merge_single): Change
459 (merge_single_value_set): New.
460 * libgcov-profiler.c (__gcov_one_value_profiler_body):
461 Update functionality.
462 (__gcov_one_value_profiler): Remove.
463 (__gcov_one_value_profiler_v2): ... this.
464 (__gcov_one_value_profiler_atomic): Rename to ...
465 (__gcov_one_value_profiler_v2_atomic): this.
466 (__gcov_indirect_call_profiler_v3): Rename to ...
467 (__gcov_indirect_call_profiler_v4): ... this.
468 * libgcov.h (__gcov_one_value_profiler): Remove.
469 (__gcov_one_value_profiler_atomic): Remove.
470 (__gcov_one_value_profiler_v2_atomic): New.
471 (__gcov_indirect_call_profiler_v3): Remove.
472 (__gcov_one_value_profiler_v2): New.
473 (__gcov_indirect_call_profiler_v4): New.
474 (gcov_get_counter_ignore_scaling): New function.
476 2019-06-07 Martin Liska <mliska@suse.cz>
478 * Makefile.in: Remove usage of
479 _gcov_merge_icall_topn.
480 * libgcov-driver.c (gcov_sort_n_vals): Remove.
481 (gcov_sort_icall_topn_counter): Likewise.
482 (gcov_sort_topn_counter_arrays): Likewise.
483 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
484 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
485 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
487 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
488 (struct indirect_call_tuple): Remove.
489 (__gcov_indirect_call_topn_profiler): Remove.
490 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
491 * libgcov.h (gcov_sort_n_vals): Remove.
492 (L_gcov_merge_icall_topn): Likewise.
493 (__gcov_merge_icall_topn): Likewise.
494 (__gcov_indirect_call_topn_profiler): Likewise.
496 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
498 * config/rs6000/t-darwin: Ensure that the unwinder is built with
501 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
503 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
505 (__mspabi_slli): Likewise.
506 (__mspabi_slll_n): Likewise.
507 (__mspabi_slll): Likewise.
508 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
509 (__mspabi_srai): Likewise.
510 (__mspabi_sral_n): Likewise.
511 (__mspabi_sral): Likewise.
512 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
513 (__mspabi_srli): Likewise.
514 (__mspabi_srll_n): Likewise.
515 (__mspabi_srll): Likewise.
517 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
519 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
520 Add appropriate tm_file clause as well.
521 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
523 2019-06-05 James Clarke <jrtc27@jrtc27.com>
525 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
526 rather than .data/.bss so it can be accessed via gp-relative
529 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
531 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
532 (CR2_REGNO): Rename to R_CR2.
533 (XER_REGNO): Rename to R_XER.
534 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
535 (VRSAVE_REGNO): Rename to R_VRSAVE.
536 (VSCR_REGNO): R_VSCR.
538 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
540 * config.host (rx-*-linux*): Add new case.
541 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
543 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
545 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
547 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
548 aarch64_post_frob_eh_handler_addr): Add check for b-key.
549 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
550 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
551 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
552 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
554 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
556 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
558 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
560 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
561 Remove Solaris 9 and 10 support.
562 (sparc_is_sighandler): Likewise.
564 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
566 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
568 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
570 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
571 4_FP_W_TYPEs are used for IEEE quad precision.
572 * soft-fp/extendhftf2.c: Likewise.
573 * soft-fp/extendsftf2.c: Likewise.
574 * soft-fp/extendxftf2.c: Likewise.
575 * soft-fp/trunctfdf2.c: Likewise.
576 * soft-fp/trunctfhf2.c: Likewise.
577 * soft-fp/trunctfsf2.c: Likewise.
578 * soft-fp/trunctfxf2.c: Likewise.
579 * config/rs6000/ibm-ldouble.c: Likewise.
581 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
583 * config.host: Simplify various *-*-solaris2.1[0-9]* to
585 * configure.ac: Likewise.
586 * configure: Regenerate.
588 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
589 Solaris 10 and Solaris 11 < snv_125 handling.
591 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
593 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
595 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
597 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
598 * config/i386/cpuinfo.h (enum processor_features): Add
601 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
602 Bernd Edlinger <bernd.edlinger@hotmail.de>
603 Jakub Jelinek <jakub@redhat.com>
606 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
607 * config/arm/unwind-arm.c: Likewise.
608 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
611 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
613 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
614 (RT_SIGRETURN): Update.
615 (nds32_fallback_frame_state): Update.
617 2019-02-21 Martin Sebor <msebor@redhat.com>
619 * libgcc2.h (__clear_cache): Correct signature.
620 * libgcc2.c (__clear_cache): Same.
622 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
624 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
625 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
627 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
629 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
630 regno instead of index to DWARF_ZERO_REG.
632 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
634 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
635 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
637 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
639 * config/alpha/t-linux: Add -mfp-rounding-mode=d
640 to HOST_LIBGCC2_CFLAGS.
642 2019-01-23 Joseph Myers <joseph@codesourcery.com>
645 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
647 2019-01-18 Martin Liska <mliska@suse.cz>
649 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
651 (__gcov_indirect_call_profiler_v3): ... this.
652 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
653 (__gcov_indirect_call_profiler_v3): Likewise.
654 * Makefile.in: Bump function name.
656 2019-01-18 Martin Liska <mliska@suse.cz>
658 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
659 (gcov_version): Use in gcov_error.
660 (merge_one_data): Likewise.
661 (dump_one_gcov): Likewise.
663 2019-01-18 Martin Liska <mliska@suse.cz>
665 * libgcov-driver.c (gcov_version_string): New function.
666 (gcov_version): Convert version integer into string.
668 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
669 Kwok Cheung Yeung <kcy@codesourcery.com>
670 Julian Brown <julian@codesourcery.com>
671 Tom de Vries <tom@codesourcery.com>
673 * config.host: Recognize amdgcn*-*-amdhsa.
674 * config/gcn/crt0.c: New file.
675 * config/gcn/lib2-divmod-hi.c: New file.
676 * config/gcn/lib2-divmod.c: New file.
677 * config/gcn/lib2-gcn.h: New file.
678 * config/gcn/sfp-machine.h: New file.
679 * config/gcn/t-amdgcn: New file.
681 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
685 * config/c6x/libunwind.S: Mechanically replace "can not" with
687 * config/tilepro/atomic.h: Likewise.
688 * config/vxlib-tls.c: Likewise.
689 * generic-morestack-thread.c: Likewise.
690 * generic-morestack.c: Likewise.
691 * mkmap-symver.awk: Likewise.
693 2019-01-01 Jakub Jelinek <jakub@redhat.com>
695 Update copyright years.
697 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
699 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
700 to ignore -Waddress-of-packed-member.
702 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
704 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
705 parameter and corresponding code.
706 (ARM_FUNC_START): Likewise in both definitions.
707 Also update footer comment about condition that need to match with
708 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
709 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
710 defined. Weakly define it in this case.
711 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
712 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
713 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
714 comment to keep condition in sync with the one in
715 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
717 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
719 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
720 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
722 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
724 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
725 and .cfi_endproc directives for VxWorks targets.
727 2018-12-05 Paul Koning <ni1d@arrl.net>
729 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
731 2018-11-27 Alan Modra <amodra@gmail.com>
733 * config/rs6000/morestack.S (__stack_split_initialize),
734 (__morestack_get_guard, __morestack_set_guard),
735 (__morestack_make_guard): Provide CFI covering these functions.
736 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
738 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
740 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
741 (sc_pt_regs_lr): Update for kernel.
742 (sc_pt_regs_tls): Update for kernel.
744 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
746 * config/csky/linux-unwind.h: Fix coding style.
748 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
750 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
751 (csky_fallback_frame_state): Modify the check of the
752 instructions to adapt to changes in the kernel
754 2018-11-09 Stafford Horne <shorne@gmail.com>
755 Richard Henderson <rth@twiddle.net>
757 * config.host: Add OpenRISC support.
758 * config/or1k/*: New.
760 2018-11-08 Kito Cheng <kito@andestech.com>
762 * soft-fp/adddf3.c: Update from glibc.
763 * soft-fp/addsf3.c: Likewise.
764 * soft-fp/addtf3.c: Likewise.
765 * soft-fp/divdf3.c: Likewise.
766 * soft-fp/divsf3.c: Likewise.
767 * soft-fp/divtf3.c: Likewise.
768 * soft-fp/double.h: Likewise.
769 * soft-fp/eqdf2.c: Likewise.
770 * soft-fp/eqsf2.c: Likewise.
771 * soft-fp/eqtf2.c: Likewise.
772 * soft-fp/extenddftf2.c: Likewise.
773 * soft-fp/extended.h: Likewise.
774 * soft-fp/extendhftf2.c: Likewise.
775 * soft-fp/extendsfdf2.c: Likewise.
776 * soft-fp/extendsftf2.c: Likewise.
777 * soft-fp/extendxftf2.c: Likewise.
778 * soft-fp/fixdfdi.c: Likewise.
779 * soft-fp/fixdfsi.c: Likewise.
780 * soft-fp/fixdfti.c: Likewise.
781 * soft-fp/fixhfti.c: Likewise.
782 * soft-fp/fixsfdi.c: Likewise.
783 * soft-fp/fixsfsi.c: Likewise.
784 * soft-fp/fixsfti.c: Likewise.
785 * soft-fp/fixtfdi.c: Likewise.
786 * soft-fp/fixtfsi.c: Likewise.
787 * soft-fp/fixtfti.c: Likewise.
788 * soft-fp/fixunsdfdi.c: Likewise.
789 * soft-fp/fixunsdfsi.c: Likewise.
790 * soft-fp/fixunsdfti.c: Likewise.
791 * soft-fp/fixunshfti.c: Likewise.
792 * soft-fp/fixunssfdi.c: Likewise.
793 * soft-fp/fixunssfsi.c: Likewise.
794 * soft-fp/fixunssfti.c: Likewise.
795 * soft-fp/fixunstfdi.c: Likewise.
796 * soft-fp/fixunstfsi.c: Likewise.
797 * soft-fp/fixunstfti.c: Likewise.
798 * soft-fp/floatdidf.c: Likewise.
799 * soft-fp/floatdisf.c: Likewise.
800 * soft-fp/floatditf.c: Likewise.
801 * soft-fp/floatsidf.c: Likewise.
802 * soft-fp/floatsisf.c: Likewise.
803 * soft-fp/floatsitf.c: Likewise.
804 * soft-fp/floattidf.c: Likewise.
805 * soft-fp/floattihf.c: Likewise.
806 * soft-fp/floattisf.c: Likewise.
807 * soft-fp/floattitf.c: Likewise.
808 * soft-fp/floatundidf.c: Likewise.
809 * soft-fp/floatundisf.c: Likewise.
810 * soft-fp/floatunditf.c: Likewise.
811 * soft-fp/floatunsidf.c: Likewise.
812 * soft-fp/floatunsisf.c: Likewise.
813 * soft-fp/floatunsitf.c: Likewise.
814 * soft-fp/floatuntidf.c: Likewise.
815 * soft-fp/floatuntihf.c: Likewise.
816 * soft-fp/floatuntisf.c: Likewise.
817 * soft-fp/floatuntitf.c: Likewise.
818 * soft-fp/gedf2.c: Likewise.
819 * soft-fp/gesf2.c: Likewise.
820 * soft-fp/getf2.c: Likewise.
821 * soft-fp/half.h: Likewise.
822 * soft-fp/ledf2.c: Likewise.
823 * soft-fp/lesf2.c: Likewise.
824 * soft-fp/letf2.c: Likewise.
825 * soft-fp/muldf3.c: Likewise.
826 * soft-fp/mulsf3.c: Likewise.
827 * soft-fp/multf3.c: Likewise.
828 * soft-fp/negdf2.c: Likewise.
829 * soft-fp/negsf2.c: Likewise.
830 * soft-fp/negtf2.c: Likewise.
831 * soft-fp/op-1.h: Likewise.
832 * soft-fp/op-2.h: Likewise.
833 * soft-fp/op-4.h: Likewise.
834 * soft-fp/op-8.h: Likewise.
835 * soft-fp/op-common.h: Likewise.
836 * soft-fp/quad.h: Likewise.
837 * soft-fp/single.h: Likewise.
838 * soft-fp/soft-fp.h: Likewise.
839 * soft-fp/subdf3.c: Likewise.
840 * soft-fp/subsf3.c: Likewise.
841 * soft-fp/subtf3.c: Likewise.
842 * soft-fp/truncdfsf2.c: Likewise.
843 * soft-fp/trunctfdf2.c: Likewise.
844 * soft-fp/trunctfhf2.c: Likewise.
845 * soft-fp/trunctfsf2.c: Likewise.
846 * soft-fp/trunctfxf2.c: Likewise.
847 * soft-fp/unorddf2.c: Likewise.
848 * soft-fp/unordsf2.c: Likewise.
849 * soft-fp/unordtf2.c: Likewise.
851 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
853 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
854 * config/i386/cpuinfo.h (processor_types): Add znver2.
856 2018-11-01 Paul Koning <ni1d@arrl.net>
858 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
859 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
861 2018-10-31 Joseph Myers <joseph@codesourcery.com>
864 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
865 * configure: Regenerate.
867 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
869 * config/arc/lib1funcs.S (_muldi3): New function.
870 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
872 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
874 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
876 2018-10-25 Martin Liska <mliska@suse.cz>
879 * libgcov-profiler.c: Revert.
881 2018-10-24 Martin Liska <mliska@suse.cz>
883 * libgcov-profiler.c: Start from 1 in order to distinguish
884 functions which were seen and these that were not.
886 2018-10-18 Paul Koning <ni1d@arrl.net>
888 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
890 * divmod.c: Update references to __udivmodsi4.
892 * udivhi3.c: New file.
893 * udivmodhi4.c: New file.
894 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
896 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
898 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
900 2018-10-12 Olivier Hainque <hainque@adacore.com>
902 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
903 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
905 2018-10-08 Paul Koning <ni1d@arrl.net>
907 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
909 2018-10-04 Martin Liska <mliska@suse.cz>
911 PR gcov-profile/84107
912 * libgcov-profiler.c (__gcov_indirect_call):
913 Change type to indirect_call_tuple.
914 (struct indirect_call_tuple): New struct.
915 (__gcov_indirect_call_topn_profiler): Change type.
916 (__gcov_indirect_call_profiler_v2): Use the new
918 * libgcov.h (struct indirect_call_tuple): New struct
921 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
923 * libgcc2.c (isnan): Use __builtin_isnan.
924 (isfinite): Use __builtin_isfinite.
925 (isinf): Use __builtin_isinf.
927 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
929 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
931 2018-09-21 Alexandre Oliva <oliva@adacore.com>
933 * config/vxcache.c: New file. Provide __clear_cache, based on
934 the cacheTextUpdate VxWorks service.
935 * config/t-vxworks (LIB2ADD): Add vxcache.c.
936 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
937 * config/t-vxwoks7: Likewise.
939 2018-09-21 Martin Liska <mliska@suse.cz>
941 * libgcov-driver.c (crc32_unsigned): Remove.
942 (gcov_histogram_insert): Likewise.
943 (gcov_compute_histogram): Likewise.
944 (compute_summary): Simplify rapidly.
945 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
946 (merge_summary): Rapidly simplify.
947 (dump_one_gcov): Ignore gcov_summary.
948 (gcov_do_dump): Do not handle program summary, it's not
950 * libgcov-util.c (tag_summary): Remove.
951 (read_gcda_finalize): Fix coding style.
952 (read_gcda_file): Initialize curr_object_summary.
953 (compute_summary): Remove.
954 (calculate_overlap): Remove settings of run_max.
956 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
958 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
959 ucontext_t type instead.
960 (nds32_fallback_frame_state): Remove struct _sigframe statement.
962 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
964 * config/nds32/t-nds32-glibc: New file.
966 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
968 * configure.ac (solaris_ld_v2_maps): New test.
969 * configure: Regenerate.
970 * Makefile.in (solaris_ld_v2_maps): New variable.
971 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
974 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
977 * config/arm/lib1funcs.asm (speculation_barrier): New function.
978 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
981 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
983 * config/unwind-dw2-fde-darwin.c
984 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
985 * config/darwin10-unwind-find-enc-func.c: … to here.
986 * config/t-darwin: Build Darwin10 unwinder shim crt.
987 * libgcc/config.host: Add the Darwin10 unwinder shim.
989 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
991 * config.host: Add crtbegin.o and crtend.o for
992 powerpc-wrs-vxworks target.
994 2018-08-17 Jojo <jijie_rong@c-sky.com>
995 Huibin Wang <huibin_wang@c-sky.com>
996 Sandra Loosemore <sandra@codesourcery.com>
997 Chung-Lin Tang <cltang@codesourcery.com>
1001 * config.host: Add C-SKY support.
1002 * config/csky/*: New.
1004 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1006 * config/nds32/t-nds32-isr: Rearrange object dependency.
1007 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1008 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1009 and registers usage.
1010 * config/nds32/isr-library/excp_isr.S: Ditto.
1011 * config/nds32/isr-library/intr_isr.S: Ditto.
1012 * config/nds32/isr-library/reset.S: Ditto.
1013 * config/nds32/isr-library/restore_all.inc: Ditto.
1014 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1015 * config/nds32/isr-library/restore_partial.inc: Ditto.
1016 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1017 * config/nds32/isr-library/save_all.inc: Ditto.
1018 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1019 * config/nds32/isr-library/save_partial.inc: Ditto.
1020 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1021 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1023 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1025 * config/pa/linux-atomic.c: Update comment.
1026 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1027 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1028 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1029 __ATOMIC_RELAXED for atomic loads.
1030 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1031 unordered store to release lock.
1032 (__sync_lock_release_8): Likewise.
1033 (SYNC_LOCK_RELEASE_2): Remove define.
1035 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1038 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1039 exponent goes negative. Update my email address.
1040 * config/arm/ieee754-sf.S: Likewise.
1042 2018-08-01 Martin Liska <mliska@suse.cz>
1044 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1045 check that __gcov_indirect_call_callee is non-null.
1047 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1049 * config/arm/ieee754-df.S: Fix comment for code working on
1051 * config/arm/ieee754-sf.S: Likewise.
1053 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1056 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1059 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1061 * configure: Regenerated.
1063 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1065 * Makefile.in (install_leaf): Use enable_gcov instead of
1068 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1070 * configure.ac: Add --disable-gcov option.
1071 * configure: Regenerate.
1072 * Makefile.in: Honour @enable_gcov@.
1074 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1076 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1077 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1078 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1079 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1081 * config/arm/ieee754-sf.S: Likewise.
1082 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1084 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1086 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1088 * config/arm/ieee754-sf.S: Likewise.
1090 2018-06-20 Than McIntosh <thanm@google.com>
1093 * generic-morestack.c (allocate_segment): Move calls to getenv and
1094 getpagesize to __morestack_load_mmap.
1095 (__morestack_load_mmap) Initialize static_pagesize and
1096 use_guard_page here so as to avoid clobbering SSE regs during a
1099 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1101 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1102 support modules with -mno-gnu-attribute.
1103 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1105 2018-06-07 Olivier Hainque <hainque@adacore.com>
1107 * config/t-vxworks (LIBGCC_INCLUDES): Add
1108 -I$(MULTIBUILDTOP)../../gcc/include.
1109 * config/t-vxworks7: Likewise. Reformat a bit to match
1110 the t-vxworks layout.
1112 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1114 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1116 2018-06-07 Martin Liska <mliska@suse.cz>
1118 * libgcov-driver.c: Rename cs_all to all and assign it from
1121 2018-06-07 Martin Liska <mliska@suse.cz>
1124 * libgcov-driver-system.c (replace_filename_variables): Use
1125 memcpy instead of mempcpy.
1126 (allocate_filename_struct): Do not allocate filename, allocate
1128 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1129 here and properly copy content into it.
1130 * libgcov-driver.c (struct gcov_filename): Remove max_length
1131 field, change prefix from size_t into char *.
1132 (compute_summary): Do not calculate longest filename.
1133 (gcov_do_dump): Release memory of gf.filename after each file.
1134 * libgcov-util.c (compute_summary): Use new signature of
1136 (calculate_overlap): Likewise.
1138 2018-06-05 Martin Liska <mliska@suse.cz>
1140 PR gcov-profile/47618
1141 * libgcov-driver-system.c (replace_filename_variables): New
1143 (gcov_exit_open_gcda_file): Use it.
1145 2018-06-05 Martin Liska <mliska@suse.cz>
1147 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1148 of gcov_ctr_summary.
1149 (compute_summary): Do it just for a single summary.
1150 (merge_one_data): Likewise.
1151 (merge_summary): Simplify as we read just single summary.
1152 (dump_one_gcov): Pass proper argument.
1153 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1155 (gcov_info_count_all_cold): Likewise.
1156 (calculate_overlap): Likewise.
1158 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1159 Monk Chiang <sh.chiang04@gmail.com>
1161 * config.host (nds32*-linux*): New.
1162 * config/nds32/linux-atomic.c: New file.
1163 * config/nds32/linux-unwind.h: New file.
1165 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1168 * config/i386/cpuinfo.c (get_amd_cpu): Return
1169 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1171 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1173 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1175 2018-05-29 Martin Liska <mliska@suse.cz>
1177 PR gcov-profile/85759
1178 * libgcov-driver-system.c (gcov_error): Introduce usage of
1179 GCOV_EXIT_AT_ERROR env. variable.
1180 * libgcov-driver.c (merge_one_data): Print error that we
1181 overwrite a gcov file with a different timestamp.
1183 2018-05-23 Kalamatee <kalamatee@gmail.com>
1185 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1188 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1189 Monk Chiang <sh.chiang04@gmail.com>
1190 Jim Wilson <jimw@sifive.com>
1192 * config/riscv/save-restore.S: Add support for rv32e.
1194 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1196 * config/arm/libunwind.S: Update comment relating to armv5.
1198 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1200 * config/arm/cmse.c (cmse_check_address_range): Replace
1201 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1203 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1205 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1206 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1208 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1210 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1211 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1213 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1215 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1217 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1218 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1221 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1222 op_and_fetch to return the right result.
1224 2018-04-27 Alan Modra <amodra@gmail.com>
1227 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1228 -fno-asynchronous-unwind-tables.
1230 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1232 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1233 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1235 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1237 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1238 when including "config/i386/shadow-stack-unwind.h".
1240 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1242 * configure: Regenerated.
1244 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1247 * config/rs6000/_powikf2.c: New file. Add support for the
1248 __builtin_powil function when long double is IEEE 128-bit floating
1250 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1252 (__powikf2): Likewise.
1253 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1254 (__powikf2_hw): Likewise.
1255 (__powikf2): Likewise.
1256 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1257 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1258 (_powikf2-hw.c): Likewise.
1260 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1263 * unwind-generic.h (_Unwind_Frames_Increment): New.
1264 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1266 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1267 count with _Unwind_Frames_Increment.
1268 (_Unwind_ForcedUnwind_Phase2): Likewise.
1270 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1273 * config/i386/morestack.S (__stack_split_initialize): Add
1276 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1278 * configure: Regenerated.
1280 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1283 * configure: Regenerate.
1285 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1288 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1289 -Wdangling-else warnings. Mask shift counts to avoid
1290 -Wshift-count-negative and -Wshift-count-overflow false positives.
1292 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1294 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1296 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1299 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1300 (XSTATE_FP): Likewise.
1301 (XSTATE_SSE): Likewise.
1302 (XSTATE_YMM): Likewise.
1303 (XSTATE_OPMASK): Likewise.
1304 (XSTATE_ZMM): Likewise.
1305 (XSTATE_HI_ZMM): Likewise.
1306 (XCR_AVX_ENABLED_MASK): Likewise.
1307 (XCR_AVX512F_ENABLED_MASK): Likewise.
1308 (get_available_features): Enable AVX and AVX512 features only
1309 if their states are supported by OSXSAVE.
1311 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1314 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1315 Fix a typo, tmp => 255.
1317 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1320 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1321 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1323 (set_feature): Define.
1324 (get_available_features): Use set_feature macro. Set __cpu_features2
1325 to the second word of features ifndef SHARED.
1327 2018-03-15 Julia Koval <julia.koval@intel.com>
1329 * config/i386/cpuinfo.c (get_available_features): Add
1330 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1331 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1332 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1333 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1334 FEATURE_AVX512BITALG.
1336 2018-03-14 Julia Koval <julia.koval@intel.com>
1338 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1339 icelake client and icelake server.
1341 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1343 * config/pa/fptr.c (_dl_read_access_allowed): New.
1344 (__canonicalize_funcptr_for_compare): Use it.
1346 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1349 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1350 $asm_hidden_op if visibility ("hidden") attribute works.
1351 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1352 * config/i386/i386-asm.h: Don't include auto-host.h.
1353 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1354 PACKAGE_URL): Don't undefine.
1355 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1356 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1357 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1358 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1359 definition instead of hardcoded .hidden.
1360 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1361 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1362 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1363 (USE_GAS_CFI_DIRECTIVES): Don't define.
1364 * configure: Regenerated.
1365 * config.in: Likewise.
1367 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1370 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1371 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1372 inclusion of auto-target.h and auto-host.h.
1373 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1374 __GCC_HAVE_DWARF2_CFI_ASM.
1375 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1376 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1378 * config/i386/cygwin.S: Don't include auto-host.h here, just
1379 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1380 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1381 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1382 * config/i386/resms64fx.h: Add cfi_* directives.
1383 * config/i386/resms64x.h: Likewise.
1385 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1387 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1388 .literal_position directive.
1389 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1391 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1394 * configure: Regenerate.
1396 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1399 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1400 Include cetintrin.h not x86intrin.h.
1402 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1405 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1406 Use new _get_ssp and _inc_ssp intrinsics.
1408 2018-02-02 Julia Koval <julia.koval@intel.com>
1410 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1412 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1414 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1416 (__divsi3): Use RF16 safe registers.
1417 (__modsi3): Likewise.
1419 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1421 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1422 (__divsf3): Make NaN return value quiet.
1423 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1424 (__divdf3): Make NaN return value quiet.
1426 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1428 * config/rl78/anddi3.S: New assembly file.
1429 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1431 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1433 * config/rl78/umindi3.S: New assembly file.
1434 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1436 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1438 * config/rl78/smindi3.S: New assembly file.
1439 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1441 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1443 * config/rl78/smaxdi3.S: New assembly file.
1444 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1446 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1448 * config/rl78/umaxdi3.S: New assembly file.
1449 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1451 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1454 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1455 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1457 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1459 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1460 (DWARF_LAZY_REGISTER_VALUE): Define.
1461 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1462 to provide a fallback register value.
1464 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1466 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1467 __ibm128, instead of trying to use long double.
1468 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1469 accomidate -mabi=ieeelongdouble multilibs.
1470 (CVT_IBM128_TO_FLOAT128): Likewise.
1471 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1472 the appropriate IBM extended double type.
1473 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1474 (__gcc_qsub): Likewise.
1475 (__gcc_qmul): Likewise.
1476 (__gcc_qdiv): Likewise.
1477 (pack_ldouble): Likewise.
1478 (__gcc_qneg): Likewise.
1479 (__gcc_qeq): Likewise.
1480 (__gcc_qne): Likewise.
1481 (__gcc_qge): Likewise.
1482 (__gcc_qle): Likewise.
1483 (__gcc_stoq): Likewise.
1484 (__gcc_dtoq): Likewise.
1485 (__gcc_itoq): Likewise.
1486 (__gcc_utoq): Likewise.
1487 (__gcc_qunord): Likewise.
1488 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1489 quad-float128.h for the definitions.
1490 (COPYSIGN): Use the f128 version instead of the q version.
1491 (INFINITY): Likewise.
1492 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1493 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1494 quad-float128.h for the definitions.
1495 (COPYSIGN): Use the f128 version instead of the q version.
1496 (INFINITY): Likewise.
1498 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1499 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1500 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1502 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1504 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1507 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1509 Update copyright years.
1511 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1513 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1514 * config/riscv/multi3.c: New file.
1515 * config/riscv/multi3.S: Remove.
1517 2017-12-08 Jim Wilson <jimw@sifive.com>
1519 * config/riscv/div.S: Use FUNC_* macros.
1520 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1521 * config/riscv/save-restore.S: Likewise.
1522 * config/riscv/riscv-asm.h: New.
1524 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1526 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1527 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1530 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1531 correct type for all ifunc resolvers to silence -Wattribute-alias
1532 warnings. Eliminate the forward declaration of the resolver
1533 functions which is no longer needed.
1534 (__subkf3_resolve): Likewise.
1535 (__mulkf3_resolve): Likewise.
1536 (__divkf3_resolve): Likewise.
1537 (__negkf2_resolve): Likewise.
1538 (__eqkf2_resolve): Likewise.
1539 (__nekf2_resolve): Likewise.
1540 (__gekf2_resolve): Likewise.
1541 (__gtkf2_resolve): Likewise.
1542 (__lekf2_resolve): Likewise.
1543 (__ltkf2_resolve): Likewise.
1544 (__unordkf2_resolve): Likewise.
1545 (__extendsfkf2_resolve): Likewise.
1546 (__extenddfkf2_resolve): Likewise.
1547 (__trunckfsf2_resolve): Likewise.
1548 (__trunckfdf2_resolve): Likewise.
1549 (__fixkfsi_resolve): Likewise.
1550 (__fixkfdi_resolve): Likewise.
1551 (__fixunskfsi_resolve): Likewise.
1552 (__fixunskfdi_resolve): Likewise.
1553 (__floatsikf_resolve): Likewise.
1554 (__floatdikf_resolve): Likewise.
1555 (__floatunsikf_resolve): Likewise.
1556 (__floatundikf_resolve): Likewise.
1557 (__extendkftf2_resolve): Likewise.
1558 (__trunctfkf2_resolve): Likewise.
1561 * config/rs6000/quad-float128.h (TF): Don't define if long double
1562 is IEEE 128-bit floating point.
1563 (TCtype): Define as either TCmode or KCmode, depending on whether
1564 long double is IEEE 128-bit floating point.
1565 (__mulkc3_sw): Add declarations for software/hardware versions of
1566 complex multiply/divide.
1567 (__divkc3_sw): Likewise.
1568 (__mulkc3_hw): Likewise.
1569 (__divkc3_hw): Likewise.
1570 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1571 handlers to switch between using software emulation and hardware
1572 float128 instructions, build the complex multiply/divide functions
1573 for both software and hardware support.
1574 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1575 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1576 (__divkc3_resolve): Likewise.
1577 (__mulkc3): Likewise.
1578 (__divkc3): Likewise.
1579 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1580 (fp128_hw_src): Likewise.
1581 (fp128_hw_static_obj): Likewise.
1582 (fp128_hw_shared_obj): Likewise.
1583 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1584 _mulkc3.c and _divkc3.c, changing the function name.
1585 (_divkc3-hw.c): Likewise.
1586 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1589 2017-11-26 Julia Koval <julia.koval@intel.com>
1591 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1592 * config/i386/cpuinfo.h (processor_subtypes): Add
1593 INTEL_COREI7_CANNONLAKE.
1595 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1598 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1600 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1601 * config/ia64/unwind-ia64.c: Add frames parameter.
1602 * unwind-sjlj.c: Likewise.
1604 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1606 * config/i386/linux-unwind.h: Include
1607 config/i386/shadow-stack-unwind.h.
1608 * config/i386/shadow-stack-unwind.h: New file.
1609 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1610 pass it to _Unwind_Frames_Extra.
1611 * unwind-generic.h (_Unwind_Frames_Extra): New.
1612 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1613 parameter. Add local variable frames to count number of frames.
1614 (_Unwind_ForcedUnwind_Phase2): Likewise.
1615 (_Unwind_RaiseException): Add local variable frames to count
1616 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1618 (_Unwind_ForcedUnwind): Likewise.
1619 (_Unwind_Resume): Likewise.
1620 (_Unwind_Resume_or_Rethrow): Likewise.
1622 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1624 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1626 * config/i386/morestack.S: Include <cet.h>.
1627 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1628 * config/i386/resms64.h: Include <cet.h>.
1629 * config/i386/resms64f.h: Likewise.
1630 * config/i386/resms64fx.h: Likewise.
1631 * config/i386/resms64x.h: Likewise.
1632 * config/i386/savms64.h: Likewise.
1633 * config/i386/savms64f.h: Likewise.
1634 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1635 (CRTSTUFF_T_CFLAGS): Likewise.
1636 * configure.ac: Include ../config/cet.m4.
1637 Set and substitute CET_FLAGS.
1638 * configure: Regenerated.
1640 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1642 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1644 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1645 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1646 * configure: Regenerate.
1648 2017-11-07 Tom de Vries <tom@codesourcery.com>
1650 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1651 after "do {} while (0)".
1653 2017-11-07 Tom de Vries <tom@codesourcery.com>
1656 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1657 semicolon after "do {} while (0)".
1658 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1659 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1660 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1661 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1663 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1666 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1667 sysctl to determine whether we're in a trampoline.
1668 Keep the pattern matching method for systems without
1669 KERN_PROC_SIGTRAMP sysctl.
1671 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1672 Vineet Gupta <vgupta@synopsys.com>
1674 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1675 * config/arc/linux-unwind-reg.def: New file.
1676 * config/arc/linux-unwind-reg.h: Likewise.
1678 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1680 * config/rl78/subdi3.S: New assembly file.
1681 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1683 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1685 * config/rl78/adddi3.S: New assembly file.
1686 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1688 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1691 * libgcc2.c (__mulvDI3): If both operands have
1692 the same highpart of -1 and the topmost bit of lowpart is 0,
1693 multiplication overflows even if both lowparts are 0.
1695 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1697 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1699 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1701 * config/microblaze/crti.S, config/microblaze/crtn.S,
1702 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1703 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1704 config/microblaze/mulsi3.S,
1705 config/microblaze/stack_overflow_exit.S,
1706 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1707 config/pa/milli64.S: Add .note.GNU-stack section.
1709 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1711 * configure.ac: Add Check for HAVE_AS_AVX.
1712 * config.in: Regenerate.
1713 * configure: Likewise.
1714 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1715 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1716 Correct out-of-date comments.
1718 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1720 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1721 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1723 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1725 * config/i386/i386-asm.h (PASTE2): New macro.
1726 (ASMNAME): Modify to use PASTE2.
1727 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1728 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1729 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1730 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1731 * config/i386/resms64f.S: Likewise.
1732 * config/i386/resms64fx.S: Likewise.
1733 * config/i386/resms64x.S: Likewise.
1734 * config/i386/savms64.S: Likewise.
1735 * config/i386/savms64f.S: Likewise.
1736 * config/i386/avx_resms64.S: New file that only defines a macro and
1737 includes it's corresponding header file.
1738 * config/i386/avx_resms64f.S: Likewise.
1739 * config/i386/avx_resms64fx.S: Likewise.
1740 * config/i386/avx_resms64x.S: Likewise.
1741 * config/i386/avx_savms64.S: Likewise.
1742 * config/i386/avx_savms64f.S: Likewise.
1743 * config/i386/sse_resms64.S: Likewise.
1744 * config/i386/sse_resms64f.S: Likewise.
1745 * config/i386/sse_resms64fx.S: Likewise.
1746 * config/i386/sse_resms64x.S: Likewise.
1747 * config/i386/sse_savms64.S: Likewise.
1748 * config/i386/sse_savms64f.S: Likewise.
1749 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1751 2017-09-01 Olivier Hainque <hainque@adacore.com>
1752 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1754 2017-08-31 Olivier Hainque <hainque@adacore.com>
1756 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1757 match as powerpc-wrs-vxworks*.
1759 2017-08-07 Jonathan Yong <10walls@gmail.com>
1761 * config.host (*-cygwin): Include file from mingw
1762 config/i386/enable-execute-stack-mingw32.c
1764 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1765 Doug Rupp <rupp@adacore.com>
1766 Olivier Hainque <hainque@adacore.com>
1768 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1769 as well as arm-wrs-vxworks.
1770 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1772 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1773 __exidx_start and __exidx_end for downloadable modules.
1775 2017-08-01 Olivier Hainque <hainque@adacore.com>
1777 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1778 * config/t-vxworks7: Likewise.
1780 2017-08-01 Olivier Hainque <hainque@adacore.com>
1782 * config/t-vxworks: Instead of redefining LIB2ADD,
1783 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1785 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1787 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1789 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1792 * config.host: include i386/t-msabi for darwin and solaris.
1793 * config/i386/i386-asm.h
1794 (ELFFN): Rename to FN_TYPE.
1795 (FN_SIZE): New macro.
1796 (FN_HIDDEN): Likewise.
1797 (ASMNAME): Likewise.
1798 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1800 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1801 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1802 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1804 * config/i386/resms64f.S: Likewise.
1805 * config/i386/resms64fx.S: Likewise.
1806 * config/i386/resms64x.S: Likewise.
1807 * config/i386/savms64.S: Likewise.
1808 * config/i386/savms64f.S: Likewise.
1810 2017-07-19 John Marino <gnugcc@marino.st>
1812 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1814 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1817 * configure.ac (PowerPC float128 hardware support): Test whether
1818 we can use __builtin_cpu_supports before enabling the ifunc
1820 * configure: Regenerate.
1822 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1824 * config.host: Remove uclibc from arc target spec.
1826 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1828 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1830 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1832 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1833 (have_ieee_hw_p): Delete function.
1834 (SW_OR_HW) Use __builtin_cpu_supports().
1836 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1838 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1840 2017-07-03 Olivier Hainque <hainque@adacore.com>
1842 * config/t-vxworks7: New file, really.
1844 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1846 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1847 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1848 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1849 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1850 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1851 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1852 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1853 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1854 config/sh/linux-unwind.h (sh_fallback_frame_state),
1855 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1856 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1857 ucontext_t instead of struct ucontext.
1859 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1861 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1862 (x86_64-wrs-vxworks7): Likewise.
1864 2017-06-27 Olivier Hainque <hainque@adacore.com>
1866 * config/t-vxworks7: New file.
1867 * config.host (*-*-vxworks7): Use it.
1869 2017-06-22 Matt Turner <mattst88@gmail.com>
1871 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1874 2017-06-21 Richard Biener <rguenther@suse.de>
1876 PR gcov-profile/81080
1877 * configure.ac: Add AC_SYS_LARGEFILE.
1878 * libgcov.h: Include auto-target.h before tsystem.h to pick
1879 up _FILE_OFFSET_BITS which might differ for multilibs.
1880 * config.in: Regenerate.
1881 * configure: Likewise.
1883 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1885 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1887 2017-06-09 Martin Liska <mliska@suse.cz>
1889 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1890 Reset __gcov_indirect_call_callee to NULL.
1892 2017-06-08 Olivier Hainque <hainque@adacore.com>
1894 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1895 the set of -I options, support for direct inclusions of net/uio.h
1896 by VxWorks header files via ioLib.h.
1898 2017-06-07 Tony Reix <tony.reix@atos.net>
1899 Matthieu Sarter <matthieu.sarter.external@atos.net>
1900 David Edelsohn <dje.gcc@gmail.com>
1902 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1904 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1907 2017-06-02 Olivier Hainque <hainque@adacore.com>
1909 * config/vxlib.c (__gthread_once): Add missing value to
1912 2017-05-30 Olivier Hainque <hainque@adacore.com>
1914 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1915 dollar sign before $(MULTIDIR).
1917 2017-05-26 Richard Henderson <rth@redhat.com>
1920 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1922 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1924 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1925 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1926 * config/arm/unwind-arm.c: Implement the above.
1928 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1930 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1931 section for a non-executable stack.
1933 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1936 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1938 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1940 * config.host: Add i386/t-msabi to i386/t-linux file list.
1941 * config/i386/i386-asm.h: New file.
1942 * config/i386/resms64.S: New file.
1943 * config/i386/resms64f.S: New file.
1944 * config/i386/resms64fx.S: New file.
1945 * config/i386/resms64x.S: New file.
1946 * config/i386/savms64.S: New file.
1947 * config/i386/savms64f.S: New file.
1948 * config/i386/t-msabi: New file.
1950 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1952 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1953 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1955 2017-05-05 Joshua Conner <joshconner@google.com>
1957 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1958 pc-relative indirect handling for fuchsia.
1959 * config/t-slibgcc-fuchsia: New file.
1960 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1961 x86_64-*-fuchsia*): Add definitions.
1963 2017-04-19 Martin Liska <mliska@suse.cz>
1965 PR gcov-profile/80435
1966 * Makefile.in: Install gcov.h.
1968 * libgcov.h: Use the header and make __gcov_flush publicly
1971 2017-04-18 Martin Liska <mliska@suse.cz>
1973 PR gcov-profile/78783
1974 * libgcov-driver.c (gcov_get_filename): New function.
1976 2017-04-07 Jeff Law <law@redhat.com>
1978 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1979 target makefile fragment.
1980 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1982 2017-04-07 Alan Modra <amodra@gmail.com>
1985 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1987 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1989 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1991 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1993 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1995 2017-03-10 John Marino <gnugcc@marino.st>
1997 * config/aarch64/freebsd-unwind.h: New file.
1998 * config.host: Add aarch64-*-freebsd unwinder.
2000 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2002 * config/rs6000/crtrestvr.s: Use .machine altivec.
2003 * config/rs6000/crtsavevr.s: Ditto.
2005 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2007 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2008 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2009 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2010 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2011 * configure: Regenerate.
2012 * config.in: Regenerate.
2014 2017-03-02 Jonathan Yong <10walls@gmail.com>
2016 * config/i386/gthr-win32.h: Define NOGDI before
2017 windows.h include to prevent w32api CC_NONE macro
2018 clash with libgfortran.
2020 2017-03-02 Jonathan Yong <10walls@gmail.com>
2022 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2024 2017-02-16 Andrew Pinski <apinski@cavium.com>
2026 * config/aarch64/value-unwind.h: New file.
2027 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2030 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2032 * config.host: Add RISC-V tuples.
2033 * config/riscv/atomic.c: New file.
2034 * config/riscv/crti.S: Likewise.
2035 * config/riscv/crtn.S: Likewise.
2036 * config/riscv/div.S: Likewise.
2037 * config/riscv/linux-unwind.h: Likewise.
2038 * config/riscv/muldi3.S: Likewise.
2039 * config/riscv/multi3.S: Likewise.
2040 * config/riscv/save-restore.S: Likewise.
2041 * config/riscv/sfp-machine.h: Likewise.
2042 * config/riscv/t-elf: Likewise.
2043 * config/riscv/t-elf32: Likewise.
2044 * config/riscv/t-elf64: Likewise.
2045 * config/riscv/t-softfp32: Likewise.
2046 * config/riscv/t-softfp64: Likewise.
2048 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2050 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2051 /* FALLTHRU */ comments.
2053 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2055 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2057 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2059 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2060 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2061 DW_CFA_GNU_window_save for AArch64 and LP64.
2063 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2065 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2067 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2069 * config/aarch64/aarch64-unwind.h: New file.
2070 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2071 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2072 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2073 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2074 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2075 (aarch64_post_extract_frame_addr): New function.
2076 (aarch64_post_frob_eh_handler_addr): New function.
2077 (aarch64_frob_update_context): New function.
2078 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2079 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2080 aarch64*-*-freebsd*):
2081 Initialize md_unwind_header to include aarch64-unwind.h.
2082 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2083 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2085 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2086 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2087 (uw_frob_return_addr): New function.
2088 (uw_install_context): Use uw_frob_return_addr.
2090 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2093 * configure.ac: Add GCC_BASE_VER.
2094 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2095 version from BASE-VER file.
2096 * configure: Regenerated.
2098 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2100 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2101 libmul_f5.a): Filter archived prerequisites.
2103 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2105 * config/i386/cpuinfo.h (processor_features): Add
2106 FEATURE_AVX512VPOPCNTDQ.
2107 * config/i386/cpuinfo.c (get_available_features): Habdle new
2110 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2112 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2113 payload if [__mips_nan2008].
2115 2017-01-04 Alan Modra <amodra@gmail.com>
2117 * Makefile.in (configure_deps): Update.
2118 * configure: Regenerate.
2120 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2122 Update copyright years.
2124 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2126 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2127 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2128 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2130 2016-12-17 Matthias Klose <doko@ubuntu.com>
2132 * config/arc/gmon: Remove empty directory.
2134 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2136 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2138 (arc*-*-elf*): Likewise.
2139 * config/arc/t-arc: Remove old gmon lib targets.
2140 * config/arc/crtg.S: Remove.
2141 * config/arc/crtgend.S: Likewise.
2142 * config/arc/gmon/atomic.h: Likewise.
2143 * config/arc/gmon/auxreg.h: Likewise.
2144 * config/arc/gmon/dcache_linesz.S: Likewise.
2145 * config/arc/gmon/gmon.c: Likewise.
2146 * config/arc/gmon/machine-gmon.h: Likewise.
2147 * config/arc/gmon/mcount.c: Likewise.
2148 * config/arc/gmon/prof-freq-stub.S: Likewise.
2149 * config/arc/gmon/prof-freq.c: Likewise.
2150 * config/arc/gmon/profil.S: Likewise.
2151 * config/arc/gmon/sys/gmon.h: Likewise.
2152 * config/arc/gmon/sys/gmon_out.h: Likewise.
2153 * config/arc/t-arc-newlib: Likewise.
2154 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2156 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2158 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2160 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2162 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2163 R16 instead of push + pop.
2164 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2166 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2168 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2171 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2173 * config.host (arc*-*-linux-uclibc*): Use default extra
2174 objects. Include linux-android header.
2175 * config/arc/crti.S (_init): Declare symbol as function.
2178 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2181 * config/i386/cpuinfo.c: Move denums for processor vendors,
2182 processor type, processor subtypes and declaration of
2183 struct __processor_model into
2184 * config/i386/cpuinfo.h: New header file.
2186 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2187 Thomas Preud'homme <thomas.preudhomme@arm.com>
2189 * config/arm/cmse_nonsecure_call.S: New.
2190 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2192 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2193 Thomas Preud'homme <thomas.preudhomme@arm.com>
2195 * config/arm/t-arm (HAVE_CMSE): New.
2196 * config/arm/cmse.c: New.
2198 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2201 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2202 use generic linker version information on Blackfin.
2205 * libgcc/mkmap-symver.awk: add support for skip_underscore
2207 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2208 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2211 * config/t-darwin: Default builds to 10.5 codegen.
2213 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2215 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2216 (_FP_NANSIGN_H): Likewise.
2217 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2218 (softfp_truncations): Add tfhf.
2219 (softfp_extras): Add required conversion functions.
2221 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2222 Matthew Wahab <matthew.wahab@arm.com>
2224 * config/arm/fp16.c (binary64): New.
2225 (__gnu_d2h_internal): New.
2226 (__gnu_d2h_ieee): New.
2227 (__gnu_d2h_alternative): New.
2229 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2230 Matthew Wahab <matthew.wahab@arm.com>
2232 * config/arm/fp16.c (struct format): New.
2234 (__gnu_float2h_internal): New. Body moved from
2235 __gnu_f2h_internal and generalize.
2236 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2237 Call it with binary32.
2239 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2241 * soft-fp/extendhftf2.c: Update from glibc.
2242 * soft-fp/fixhfti.c: Likewise.
2243 * soft-fp/fixunshfti.c: Likewise.
2244 * soft-fp/floattihf.c: Likewise.
2245 * soft-fp/floatuntihf.c: Likewise.
2246 * soft-fp/half.h: Likewise.
2247 * soft-fp/trunctfhf2.c: Likewise.
2249 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2252 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2253 __TMC_END__ behind a passthrough asm.
2255 2016-11-18 Walter Lee <walt@tilera.com>
2257 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2259 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2261 * config/i386/cpuinfo.c (processor_features): Add
2262 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2264 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2266 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2267 (__ARC_NORM__): Use instead ARC_OPTFPE.
2268 * config/arc/fp-hack.h: Likewise.
2269 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2270 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2272 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2274 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2275 * config/nvptx/mgomp.c: New file.
2276 * config/nvptx/t-nvptx: Add mgomp.c
2278 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2281 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2283 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2285 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2286 of checking for cpus.
2287 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2288 (__modsi3, __clzsi2): Likewise.
2290 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2292 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2293 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2294 * config/i386/t-cpuinfo-static: New.
2296 2016-11-03 Martin Liska <mliska@suse.cz>
2298 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2299 (__gcov_time_profiler_atomic): Likewise.
2301 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2304 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2305 count_leading_zeros.
2307 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2309 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2310 * libgcc2.c (__divmoddi4): New function.
2311 * libgcc2.h (__divmoddi4): Declare.
2312 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2313 and __PFX_divmodti4.
2315 2016-10-24 Florian Weimer <fweimer@redhat.com>
2318 * unwind-c.c: Include auto-target.h.
2320 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2322 * config/pa/pa64-hpux-lib.h: New file.
2323 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2324 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2325 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2328 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2330 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2332 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2334 * config/xtensa/t-windowed (LIB2ADDEH): Use
2335 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2338 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2340 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2341 __ieee754_sqrt): New functions.
2342 (__divdf3): Add implementation with new FPU instructions under
2343 #if XCHAL_HAVE_DFP_DIV.
2344 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2345 __ieee754_sqrtf): New functions.
2346 (__divsf3): Add implementation with new FPU instructions under
2347 #if XCHAL_HAVE_FP_DIV.
2348 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2349 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2351 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2353 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2355 * config/tilepro/atomic.c: Likewise and stop casting model to
2358 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2361 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2364 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2366 * config.host: Add support for aarch64-*-freebsd*.
2368 2016-10-05 Andreas Schwab <schwab@suse.de>
2370 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2371 (.section .init_array): Don't call __do_jv_register_classes.
2372 (.section .init): Likewise.
2374 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2376 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2377 (__JCR_LIST__): Remove.
2378 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2379 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2380 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2381 * config/ia64/crtend.S (__JCR_END__): Remove.
2382 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2384 (__JCR_LIST__, __JCR_END__): Remove.
2385 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2386 (__do_global_ctors_1): Likewise.
2388 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2390 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2391 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2393 2016-09-27 Martin Liska <mliska@suse.cz>
2395 PR gcov-profile/7970
2396 PR gcov-profile/16855
2397 PR gcov-profile/44779
2398 * libgcov-driver.c (__gcov_init): Do not register a atexit
2400 (__gcov_exit): Rename from gcov_exit.
2401 * libgcov.h (__gcov_exit): Declare.
2403 2016-09-27 Martin Liska <mliska@suse.cz>
2406 * Makefile.in: Remove _gcov_merge_delta.
2407 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2408 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2409 * libgcov.h: Remove declaration of __gcov_merge_delta.
2411 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2413 * configure.ac: Do not create links, only substitute the filenames.
2414 * configure: Regenerate.
2415 * Makefile.in: Assign the substitution results to variables.
2416 (LIBGCC_LINKS): Define.
2417 (enable-execute-stack.c): New rule.
2418 (unwind.h): Likewise.
2419 (md-unwind-support.h): Likewise.
2420 (sfp-machine.h): Likewise.
2421 (gthr-default.h): Likewise.
2422 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2423 unwind.h as prerequisite of install-unwind_h-forbuild.
2425 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2428 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2429 is not the primary registry and atomics are available.
2430 (any_objects_registered): New variable.
2431 (__register_frame_info_bases, __register_frame_info_table_bases):
2432 Atomically store 1 to any_objects_registered after registering first
2434 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2436 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2439 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2440 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2443 (__divhc3): Likewise.
2444 (__mulhc3): Likewise.
2445 * libgcc2.c: Support _mulhc3 and _divhc3.
2447 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2450 * libgcc2.c (NOTRUNC): Invert settings.
2452 2016-09-06 Martin Liska <mliska@suse.cz>
2454 PR gcov-profile/77378
2455 PR gcov-profile/77466
2456 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2457 conditionaly enable/disable *_atomic functions.
2459 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2461 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2462 where not already enabled.
2464 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2466 * config/mips/linux-unwind.h: Use sys/syscall.h.
2468 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2471 * soft-fp/adddf3.c: Update from glibc.
2472 * soft-fp/addsf3.c: Likewise.
2473 * soft-fp/addtf3.c: Likewise.
2474 * soft-fp/divdf3.c: Likewise.
2475 * soft-fp/divsf3.c: Likewise.
2476 * soft-fp/divtf3.c: Likewise.
2477 * soft-fp/double.h: Likewise.
2478 * soft-fp/eqdf2.c: Likewise.
2479 * soft-fp/eqsf2.c: Likewise.
2480 * soft-fp/eqtf2.c: Likewise.
2481 * soft-fp/extenddftf2.c: Likewise.
2482 * soft-fp/extended.h: Likewise.
2483 * soft-fp/extendsfdf2.c: Likewise.
2484 * soft-fp/extendsftf2.c: Likewise.
2485 * soft-fp/extendxftf2.c: Likewise.
2486 * soft-fp/fixdfdi.c: Likewise.
2487 * soft-fp/fixdfsi.c: Likewise.
2488 * soft-fp/fixdfti.c: Likewise.
2489 * soft-fp/fixsfdi.c: Likewise.
2490 * soft-fp/fixsfsi.c: Likewise.
2491 * soft-fp/fixsfti.c: Likewise.
2492 * soft-fp/fixtfdi.c: Likewise.
2493 * soft-fp/fixtfsi.c: Likewise.
2494 * soft-fp/fixtfti.c: Likewise.
2495 * soft-fp/fixunsdfdi.c: Likewise.
2496 * soft-fp/fixunsdfsi.c: Likewise.
2497 * soft-fp/fixunsdfti.c: Likewise.
2498 * soft-fp/fixunssfdi.c: Likewise.
2499 * soft-fp/fixunssfsi.c: Likewise.
2500 * soft-fp/fixunssfti.c: Likewise.
2501 * soft-fp/fixunstfdi.c: Likewise.
2502 * soft-fp/fixunstfsi.c: Likewise.
2503 * soft-fp/fixunstfti.c: Likewise.
2504 * soft-fp/floatdidf.c: Likewise.
2505 * soft-fp/floatdisf.c: Likewise.
2506 * soft-fp/floatditf.c: Likewise.
2507 * soft-fp/floatsidf.c: Likewise.
2508 * soft-fp/floatsisf.c: Likewise.
2509 * soft-fp/floatsitf.c: Likewise.
2510 * soft-fp/floattidf.c: Likewise.
2511 * soft-fp/floattisf.c: Likewise.
2512 * soft-fp/floattitf.c: Likewise.
2513 * soft-fp/floatundidf.c: Likewise.
2514 * soft-fp/floatundisf.c: Likewise.
2515 * soft-fp/floatunditf.c: Likewise.
2516 * soft-fp/floatunsidf.c: Likewise.
2517 * soft-fp/floatunsisf.c: Likewise.
2518 * soft-fp/floatunsitf.c: Likewise.
2519 * soft-fp/floatuntidf.c: Likewise.
2520 * soft-fp/floatuntisf.c: Likewise.
2521 * soft-fp/floatuntitf.c: Likewise.
2522 * soft-fp/gedf2.c: Likewise.
2523 * soft-fp/gesf2.c: Likewise.
2524 * soft-fp/getf2.c: Likewise.
2525 * soft-fp/ledf2.c: Likewise.
2526 * soft-fp/lesf2.c: Likewise.
2527 * soft-fp/letf2.c: Likewise.
2528 * soft-fp/muldf3.c: Likewise.
2529 * soft-fp/mulsf3.c: Likewise.
2530 * soft-fp/multf3.c: Likewise.
2531 * soft-fp/negdf2.c: Likewise.
2532 * soft-fp/negsf2.c: Likewise.
2533 * soft-fp/negtf2.c: Likewise.
2534 * soft-fp/op-1.h: Likewise.
2535 * soft-fp/op-2.h: Likewise.
2536 * soft-fp/op-4.h: Likewise.
2537 * soft-fp/op-8.h: Likewise.
2538 * soft-fp/op-common.h: Likewise.
2539 * soft-fp/quad.h: Likewise.
2540 * soft-fp/single.h: Likewise.
2541 * soft-fp/soft-fp.h: Likewise.
2542 * soft-fp/subdf3.c: Likewise.
2543 * soft-fp/subsf3.c: Likewise.
2544 * soft-fp/subtf3.c: Likewise.
2545 * soft-fp/truncdfsf2.c: Likewise.
2546 * soft-fp/trunctfdf2.c: Likewise.
2547 * soft-fp/trunctfsf2.c: Likewise.
2548 * soft-fp/trunctfxf2.c: Likewise.
2549 * soft-fp/unorddf2.c: Likewise.
2550 * soft-fp/unordsf2.c: Likewise.
2551 * soft-fp/unordtf2.c: Likewise.
2553 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2555 PR gcov-profile/67097
2556 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2558 2016-08-10 Martin Liska <mliska@suse.cz>
2560 PR gcov-profile/58306
2561 * Makefile.in: New functions (modules) are added.
2562 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2564 (__gcov_pow2_profiler_atomic): New function.
2565 (__gcov_one_value_profiler_body): New argument is instroduced.
2566 (__gcov_one_value_profiler): Call with the new argument.
2567 (__gcov_one_value_profiler_atomic): Likewise.
2568 (__gcov_indirect_call_profiler_v2): Likewise.
2569 (__gcov_time_profiler_atomic): New function.
2570 (__gcov_average_profiler_atomic): Likewise.
2571 (__gcov_ior_profiler_atomic): Likewise.
2572 * libgcov.h: Declare the aforementioned functions.
2574 2016-08-09 Martin Liska <mliska@suse.cz>
2576 * libgcov-util.c: Fix typo and GNU coding style.
2578 2016-08-09 Martin Liska <mliska@suse.cz>
2580 * Makefile.in: Remove __gcov_indirect_call_profiler.
2581 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2583 * libgcov.h: And the declaration of the function.
2585 2016-08-09 Martin Liska <mliska@suse.cz>
2587 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2590 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2592 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2593 * config/rs6000/_mulkc3.c: Likewise.
2595 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2597 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2598 zero_reg as previous call to __umulhisi3 already cleared it.
2600 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2603 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2605 2016-07-19 Nick Clifton <nickc@redhat.com>
2607 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2608 Add crtinit.o and crtfini.o to extra_parts.
2610 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2612 * config/rs6000/_divkc3.c: New.
2613 * config/rs6000/_mulkc3.c: New.
2614 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2616 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2619 2016-07-11 Hale Wang <hale.wang@arm.com>
2620 Andre Vieira <andre.simoesdiasvieira@arm.com>
2622 * config/arm/lib1funcs.S: Add new wrapper.
2624 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2626 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2628 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2630 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2631 and ARMv5t* rather than for a fixed list of architectures.
2633 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2635 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2636 implementation suitable for.
2637 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2638 for all Thumb-1 only targets.
2639 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2640 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2643 (ARM_FUNC_ALIAS): Likewise.
2644 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2647 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2650 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2651 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2652 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2653 __ARM_ARCH_6M__ and add comment to indicate the connection between
2654 this condition and the one in gcc/config/arm/elf.h.
2655 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2656 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2657 * config/arm/t-softfp: Likewise.
2659 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2661 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2662 CTOR_LISTS_DEFINED_EXTERNALLY.
2664 2016-06-28 Walter Lee <walt@tilera.com>
2666 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2668 (SPR_CMPEXCH_VALUE): Define for tilegx.
2669 (__NR_FAST_cmpxchg): Define for tilepro.
2670 (__NR_FAST_atomic_update): Define for tilepro.
2671 (__NR_FAST_cmpxchg64): Define for tilepro.
2673 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2675 * config.host: Add suport for arm*-*-phoenix* targets.
2677 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2679 * config.host: Remove support for mep-*.
2680 * config/mep/lib1funcs.S: Remove.
2681 * config/mep/lib2funcs.c: Remove.
2682 * config/mep/t-mep: Remove.
2683 * config/mep/tramp.c: Remove.
2685 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2687 * config.host: Remove support for avr-rtems.
2688 * config/avr/t-rtems: Remove.
2690 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2692 * config.host: Remove m32r-rtems support.
2694 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2696 * config.host: Remove h8300-rtems support.
2698 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2700 * config.host: Remove support for knetbsd.
2702 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2704 * config.host: Remove support for openbsd 2 and 3.
2706 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2708 * config.host: Remove interix support.
2709 * config/i386/t-interix: Remove.
2711 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2713 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2714 least-significant bit in function pointer for fixup.
2716 2016-06-05 Aaron Conole <aconole@redhat.com>
2717 Nathan Sidwell <nathan@acm.org>
2720 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2721 (get_gcov_error_file): Check __gcov_error_file before trying to
2723 (gcov_error): Always use get_gcov_error_file.
2725 2016-06-02 Aaron Conole <aconole@redhat.com>
2727 * libgcov-driver-system.c (__gcov_error_file): New.
2728 (get_gcov_error_file): New.
2729 (gcov_error): Use and set __gcov_error_file.
2730 (gcov_error_exit): New.
2731 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2733 2016-05-26 Nathan Sidwell <nathan@acm.org>
2735 * config/nvptx/free.asm: Delete.
2736 * config/nvptx/malloc.asm: Delete.
2737 * config/nvptx/realloc.c: Delete.
2740 2016-05-25 Nathan Sidwell <nathan@acm.org>
2742 * config/nvptx/crt0.s: Delete.
2743 * config/nvptx/crt0.c: New.
2746 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2748 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2749 dw2/seh configuration.
2750 [x86_64-*-mingw*]: Likewise.
2752 2016-05-10 Joel Sherrill <joel@rtems.org>
2755 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2756 targets so the same extra_parts are built. Also have tmake_file add
2757 on to its value rather than override.
2759 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2761 * config.host: Remove SH5 support.
2762 * configure: Likewise.
2764 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2766 * config/sh/crt1.S: Remove SH5 support.
2767 * config/sh/crti.S: Likewise.
2768 * config/sh/crtn.S: Likewise.
2769 * config/sh/lib1funcs-4-300.S: Likewise.
2770 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2771 * config/sh/lib1funcs.S: Likewise.
2772 * config/sh/linux-unwind.h: Likewise.
2773 * config/sh/t-sh64: Delete.
2775 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2777 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2779 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2780 Joern Rennecke <joern.rennecke@embecosm.com>
2782 * config/arc/crttls.S: New file.
2783 * config/arc/t-arc: New rule.
2784 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2786 2016-04-25 Nick Clifton <nickc@redhat.com>
2788 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2789 (__mspabi_cmpd): Likewise.
2790 * config/msp430/floathidf.c (__floathidf): Likewise.
2791 * config/msp430/floathisf.c (__floathisf): Likewise
2792 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2793 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2794 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2796 (__ashrsi3): Likewise.
2798 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2800 * config/m68k/linux-atomic.c: Do not include unistd.h
2802 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2804 * config/arm/ieee754-df.S: Fix typos in comments.
2806 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2809 * configure.ac (powerpc*-*-linux*): Rework tests to build
2810 __float128 emulation routines to not depend on using #pragma GCC
2811 target to enable -mfloat128.
2812 * configure: Regnerate.
2814 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2817 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2818 __MINGW32__ is defined.
2820 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2822 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2824 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2827 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2828 built with an assembler that does not support ISA 3.0
2829 instructions, rename __extendkftf2_sw to __extendkftf2.
2831 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2834 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2835 call-clobbered registers.
2836 (internal_mcount): Remove __i386__ handling.
2838 2016-02-26 Joel Sherrill <joel@rtems.org>
2840 * config.host: Add x86_64-*-rtems*.
2842 2016-02-26 Joel Sherrill <joel@rtems.org>
2844 * libgcc/config.host: Add aarch64-*-rtems*.
2846 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2847 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2849 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2850 union of u64 and double.
2851 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2852 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2854 (FP_ROUNDMODE): Update the usage of _fpscr.
2856 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2859 * Makefile.in (crtoffloadtable$(objext)): New rule.
2860 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2861 enable_offload_targets is not empty.
2862 * configure: Regenerate.
2863 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2866 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2868 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2869 .literal_position before the function.
2870 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2873 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2875 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2876 * config/s390/morestack.S: New file.
2877 * config/s390/t-stack-s390: New file.
2878 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2880 2016-02-12 Walter Lee <walt@tilera.com>
2882 * config.host (tilegx*-*-linux*): remove ti from
2883 softfp_int_modes for 32-bit configs.
2885 2016-02-10 Ian Lance Taylor <iant@google.com>
2888 * config/i386/morestack.S (__stack_split_initialize): Align
2891 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2894 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2895 __FLOAT128__ to compile only for __float128 capable targets.
2897 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2900 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2901 instead of ___NO_FPRS__.
2903 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2904 Steven Munroe <munroesj@linux.vnet.ibm.com>
2905 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2907 * config/rs6000/float128-sed: New files to convert TF names to KF
2908 names for PowerPC IEEE 128-bit floating point support.
2909 * config/rs6000/float128-sed-hw: Likewise.
2911 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2912 floating point hardware support.
2914 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2915 128-bit floating point software emulation or use ISA 3.0 hardware
2916 support if it is available.
2918 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2921 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2922 floating point to IBM extended double.
2924 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2925 double to IEEE 128-bit floating point.
2927 * config/rs6000/t-float128: New Makefile fragments to enable
2928 building __float128 emulation support.
2929 * config/rs6000/t-float128-hw: Likewise.
2931 * config/rs6000/sfp-exceptions.c: New file to provide exception
2932 support for IEEE 128-bit floating point.
2934 * config/rs6000/floattikf.c: New files for converting between IEEE
2935 128-bit floating point and signed/unsigned 128-bit integers.
2936 * config/rs6000/fixunskfti.c: Likewise.
2937 * config/rs6000/fixkfti.c: Likewise.
2938 * config/rs6000/floatuntikf.c: Likewise.
2940 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2941 when building on 64-bit systems, or when VSX is enabled.
2942 (_FP_W_TYPE): Likewise.
2943 (_FP_WS_TYPE): Likewise.
2944 (_FP_I_TYPE): Likewise.
2945 (TItype): Define on 64-bit systems.
2946 (UTItype): Likewise.
2947 (TI_BITS): Likewise.
2948 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2949 (_FP_MUL_MEAT_Q): Likewise.
2950 (_FP_DIV_MEAT_D): Likewise.
2951 (_FP_DIV_MEAT_Q): Likewise.
2952 (_FP_NANFRAC_D): Likewise.
2953 (_FP_NANFRAC_Q): Likewise.
2954 (ISA_BIT): Add exception support if we are being compiled on a
2955 machine with hardware floating point support to build the IEEE
2956 128-bit emulation functions.
2957 (FP_EX_INVALID): Likewise.
2958 (FP_EX_OVERFLOW): Likewise.
2959 (FP_EX_UNDERFLOW): Likewise.
2960 (FP_EX_DIVZERO): Likewise.
2961 (FP_EX_INEXACT): Likewise.
2962 (FP_EX_ALL): Likewise.
2963 (__sfp_handle_exceptions): Likewise.
2964 (FP_HANDLE_EXCEPTIONS): Likewise.
2965 (FP_RND_NEAREST): Likewise.
2966 (FP_RND_ZERO): Likewise.
2967 (FP_RND_PINF): Likewise.
2968 (FP_RND_MINF): Likewise.
2969 (FP_RND_MASK): Likewise.
2970 (_FP_DECL_EX): Likewise.
2971 (FP_INIT_ROUNDMODE): Likewise.
2972 (FP_ROUNDMODE): Likewise.
2974 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2975 VSX code, enable IEEE 128-bit floating point. If the compiler can
2976 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2977 floating point hardware instructions and it supports declaring
2978 functions with the ifunc attribute, enable ifunc functions to
2979 switch between software and hardware support.
2980 * configure.ac (powerpc*-*-linux*): Likewise.
2981 * configure: Regenerate.
2983 2016-01-15 Nick Clifton <nickc@redhat.com>
2985 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2986 dependency as the source file to be compiled.
2987 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2988 (lib2hw_mul_f5.o): Likewise.
2990 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2992 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2993 * libgcc/config/rs6000/fixkfti.c: Likewise.
2994 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2995 * libgcc/config/rs6000/float128-hw.c: Likewise.
2996 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2997 * libgcc/config/rs6000/float128-sed: Likewise.
2998 * libgcc/config/rs6000/floattikf.c: Likewise.
2999 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3000 * libgcc/config/rs6000/quad-float128.h: Likewise.
3001 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3002 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3003 * libgcc/config/rs6000/t-float128: Likewise.
3004 * libgcc/config/rs6000/t-float128-hw: Likewise.
3005 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3006 * libgcc/config.host: Likewise.
3007 * libgcc/configure: Likewise.
3008 * libgcc/configure.ac: Likewise.
3010 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3011 Steven Munroe <munroesj@linux.vnet.ibm.com>
3012 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3014 * config/rs6000/sfp-exceptions.c: New file to provide exception
3015 support for IEEE 128-bit floating point.
3017 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3018 floating point hardware support.
3020 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3022 * config/rs6000/fixunskfti.c: Likewise.
3023 * config/rs6000/fixkfti.c: Likewise.
3024 * config/rs6000/floatuntikf.c: Likewise.
3025 * config/rs6000/extendkftf2-sw.c: Likewise.
3026 * config/rs6000/trunctfkf2-sw.c: Likewise.
3028 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3029 128-bit floating point software emulation or use ISA 3.0 hardware
3030 support if it is available.
3032 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3035 * config/rs6000/t-float128: New Makefile fragments to enable
3036 building __float128 emulation support.
3037 * config/rs6000/t-float128-hw: Likewise.
3039 * config/rs6000/float128-sed: New file to convert TF names to KF
3040 names for PowerPC IEEE 128-bit floating point support.
3042 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3043 when building on 64-bit systems, or when VSX is enabled.
3044 (_FP_W_TYPE): Likewise.
3045 (_FP_WS_TYPE): Likewise.
3046 (_FP_I_TYPE): Likewise.
3047 (TItype): Define on 64-bit systems.
3048 (UTItype): Likewise.
3049 (TI_BITS): Likewise.
3050 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3051 (_FP_MUL_MEAT_Q): Likewise.
3052 (_FP_DIV_MEAT_D): Likewise.
3053 (_FP_DIV_MEAT_Q): Likewise.
3054 (_FP_NANFRAC_D): Likewise.
3055 (_FP_NANFRAC_Q): Likewise.
3056 (ISA_BIT): Add exception support if we are being compiled on a
3057 machine with hardware floating point support to build the IEEE
3058 128-bit emulation functions.
3059 (FP_EX_INVALID): Likewise.
3060 (FP_EX_OVERFLOW): Likewise.
3061 (FP_EX_UNDERFLOW): Likewise.
3062 (FP_EX_DIVZERO): Likewise.
3063 (FP_EX_INEXACT): Likewise.
3064 (FP_EX_ALL): Likewise.
3065 (__sfp_handle_exceptions): Likewise.
3066 (FP_HANDLE_EXCEPTIONS): Likewise.
3067 (FP_RND_NEAREST): Likewise.
3068 (FP_RND_ZERO): Likewise.
3069 (FP_RND_PINF): Likewise.
3070 (FP_RND_MINF): Likewise.
3071 (FP_RND_MASK): Likewise.
3072 (_FP_DECL_EX): Likewise.
3073 (FP_INIT_ROUNDMODE): Likewise.
3074 (FP_ROUNDMODE): Likewise.
3076 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3077 compiler can do __float128.
3078 * configure: Regenerate.
3080 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3081 VSX code, enable IEEE 128-bit floating point.
3083 2016-01-05 Olivier Hainque <hainque@adacore.com>
3085 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3088 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3090 Update copyright years.
3092 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3094 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3097 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3099 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3100 instead of abort to avoid dependency on stdlib.h.
3102 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3104 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3105 to initialize call to __dl_fixup once.
3107 2015-12-04 Nick Clifton <nickc@redhat.com>
3109 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3110 Allow for the second argument being negative.
3111 * config.host (extra_parts): Define for MSP430. Create separate
3112 libraries for each of the hardware multiply formats.
3113 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3115 * config/msp430/lib2mul.c: Likewise.
3116 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3117 Add rules to build hardware multiply libraries.
3118 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3119 __mspabi_divul function.
3120 (__mspabi_divllu): New stub function.
3122 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3124 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3125 fixup values if saved GOT address doesn't match runtime address.
3126 (fixup_branch_offset): Reorder list.
3128 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3130 * Makefile.in (VTV_CFLAGS): New variable.
3131 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3132 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3133 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3134 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3135 to extra_parts if $enable_vtable_verify = yes.
3137 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3140 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3141 (write): ...this and fix the return type.
3143 2015-11-19 DJ Delorie <dj@redhat.com>
3145 * config/msp430/lib2hw_mul.S: Fix alignment.
3147 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3149 * config/nvptx/reduction.c: New.
3150 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3152 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3154 * config/rs6000/on_exit.c: New file.
3155 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3156 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3158 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3160 * config/arc/dp-hack.h: Add support for ARCHS.
3161 * config/arc/ieee-754/divdf3.S: Likewise.
3162 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3163 * config/arc/ieee-754/muldf3.S: Likewise.
3164 * config/arc/ieee-754/mulsf3.S: Likewise
3165 * config/arc/lib1funcs.S: Likewise
3166 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3168 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3170 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3171 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3174 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3176 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3178 * config/ia64/crtend.S: Likewise.
3180 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3182 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3183 __CHAR_BIT__ instead of BITS_PER_UNIT.
3184 * fixed-bit.h: Likewise.
3185 * fp-bit.h: Likewise.
3186 * libgcc2.c (__popcountSI2): Likewise.
3187 (__popcountDI2): Likewise.
3188 * libgcc2.h: Likewise.
3189 * libgcov.h: Likewise.
3191 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3193 * config/rs6000/atexit.c: New file.
3194 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3195 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3196 * config/rs6000/cxa_finalize.c
3197 (catomic_compare_and_exchange_bool_acq): Negate return value.
3199 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3201 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3202 (processor_subtypes): Add znver1.
3203 (get_amd_cpu): Detect znver1.
3205 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3207 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3208 Include crtfastmath.o.
3210 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3213 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3215 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3217 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3218 * config/rl78/divmodsi.S: Update return register to r8.
3219 * config/rl78/divmodhi.S: Update return register to r8,r9.
3220 Branch to main_loop_done_himode to pop registers before return.
3222 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3224 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3225 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3227 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3229 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3231 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3233 * config.host (xtensa*-*-uclinux*): New configuration.
3235 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3237 * config/i386/cpuinfo.c (processor_features): Add
3238 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3240 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3242 * soft-fp/adddf3.c: Update from glibc.
3243 * soft-fp/addsf3.c: Likewise.
3244 * soft-fp/addtf3.c: Likewise.
3245 * soft-fp/divdf3.c: Likewise.
3246 * soft-fp/divsf3.c: Likewise.
3247 * soft-fp/divtf3.c: Likewise.
3248 * soft-fp/double.h: Likewise.
3249 * soft-fp/eqdf2.c: Likewise.
3250 * soft-fp/eqsf2.c: Likewise.
3251 * soft-fp/eqtf2.c: Likewise.
3252 * soft-fp/extenddftf2.c: Likewise.
3253 * soft-fp/extended.h: Likewise.
3254 * soft-fp/extendsfdf2.c: Likewise.
3255 * soft-fp/extendsftf2.c: Likewise.
3256 * soft-fp/extendxftf2.c: Likewise.
3257 * soft-fp/fixdfdi.c: Likewise.
3258 * soft-fp/fixdfsi.c: Likewise.
3259 * soft-fp/fixdfti.c: Likewise.
3260 * soft-fp/fixsfdi.c: Likewise.
3261 * soft-fp/fixsfsi.c: Likewise.
3262 * soft-fp/fixsfti.c: Likewise.
3263 * soft-fp/fixtfdi.c: Likewise.
3264 * soft-fp/fixtfsi.c: Likewise.
3265 * soft-fp/fixtfti.c: Likewise.
3266 * soft-fp/fixunsdfdi.c: Likewise.
3267 * soft-fp/fixunsdfsi.c: Likewise.
3268 * soft-fp/fixunsdfti.c: Likewise.
3269 * soft-fp/fixunssfdi.c: Likewise.
3270 * soft-fp/fixunssfsi.c: Likewise.
3271 * soft-fp/fixunssfti.c: Likewise.
3272 * soft-fp/fixunstfdi.c: Likewise.
3273 * soft-fp/fixunstfsi.c: Likewise.
3274 * soft-fp/fixunstfti.c: Likewise.
3275 * soft-fp/floatdidf.c: Likewise.
3276 * soft-fp/floatdisf.c: Likewise.
3277 * soft-fp/floatditf.c: Likewise.
3278 * soft-fp/floatsidf.c: Likewise.
3279 * soft-fp/floatsisf.c: Likewise.
3280 * soft-fp/floatsitf.c: Likewise.
3281 * soft-fp/floattidf.c: Likewise.
3282 * soft-fp/floattisf.c: Likewise.
3283 * soft-fp/floattitf.c: Likewise.
3284 * soft-fp/floatundidf.c: Likewise.
3285 * soft-fp/floatundisf.c: Likewise.
3286 * soft-fp/floatunditf.c: Likewise.
3287 * soft-fp/floatunsidf.c: Likewise.
3288 * soft-fp/floatunsisf.c: Likewise.
3289 * soft-fp/floatunsitf.c: Likewise.
3290 * soft-fp/floatuntidf.c: Likewise.
3291 * soft-fp/floatuntisf.c: Likewise.
3292 * soft-fp/floatuntitf.c: Likewise.
3293 * soft-fp/gedf2.c: Likewise.
3294 * soft-fp/gesf2.c: Likewise.
3295 * soft-fp/getf2.c: Likewise.
3296 * soft-fp/ledf2.c: Likewise.
3297 * soft-fp/lesf2.c: Likewise.
3298 * soft-fp/letf2.c: Likewise.
3299 * soft-fp/muldf3.c: Likewise.
3300 * soft-fp/mulsf3.c: Likewise.
3301 * soft-fp/multf3.c: Likewise.
3302 * soft-fp/negdf2.c: Likewise.
3303 * soft-fp/negsf2.c: Likewise.
3304 * soft-fp/negtf2.c: Likewise.
3305 * soft-fp/op-1.h: Likewise.
3306 * soft-fp/op-2.h: Likewise.
3307 * soft-fp/op-4.h: Likewise.
3308 * soft-fp/op-8.h: Likewise.
3309 * soft-fp/op-common.h: Likewise.
3310 * soft-fp/quad.h: Likewise.
3311 * soft-fp/single.h: Likewise.
3312 * soft-fp/soft-fp.h: Likewise.
3313 * soft-fp/subdf3.c: Likewise.
3314 * soft-fp/subsf3.c: Likewise.
3315 * soft-fp/subtf3.c: Likewise.
3316 * soft-fp/truncdfsf2.c: Likewise.
3317 * soft-fp/trunctfdf2.c: Likewise.
3318 * soft-fp/trunctfsf2.c: Likewise.
3319 * soft-fp/trunctfxf2.c: Likewise.
3320 * soft-fp/unorddf2.c: Likewise.
3321 * soft-fp/unordsf2.c: Likewise.
3322 * soft-fp/unordtf2.c: Likewise.
3324 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3327 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3329 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3331 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3332 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3333 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3335 (internal_mcount): Likewise.
3336 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3337 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3339 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3341 * configure.ac (libgcc_cv_solaris_crts): New test.
3342 * configure: Regenerate.
3343 * config.in: Regenerate.
3344 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3345 * config/gmon-sol2.c: Rename to ...
3346 * config/sol2/gmon.c: ... this.
3347 Include auto-target.h.
3348 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3349 * config/t-sol2: Rename to ...
3350 * config/sol2/t-sol2: ... this.
3351 (gmon.o): Reflect renaming.
3352 (crtp.o, crtpg.o): New rules.
3353 * config.host (*-*-solaris2*): Reflect renaming.
3354 Use system CRTs if present.
3355 Remove default CRT case.
3357 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3359 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3360 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3362 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3363 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3364 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3365 (__sync_lock_test_and_set_##WIDTH): Likewise.
3366 (__sync_lock_release_##WIDTH): Likewise.
3367 (__sync_fetch_and_##OP##_4): Change result to match type of
3369 (__sync_##OP##_and_fetch_4): Likewise.
3370 (__sync_val_compare_and_swap_4): Likewise.
3371 (__sync_bool_compare_and_swap_4): likewise.
3372 (__sync_lock_test_and_set_4): Likewise.
3373 (__sync_lock_release_4): Likewise.
3374 (FETCH_AND_OP_2): Add long long variants.
3375 (OP_AND_FETCH_2): Likewise.
3376 (COMPARE_AND_SWAP_2 ): Likewise.
3377 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3378 (SYNC_LOCK_RELEASE_2): Likewise.
3379 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3381 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3383 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3384 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3385 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3386 (get_available_features): Habdle new features.
3388 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3390 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3391 memory layout. Deal correctly with BSS region larger than 32K.
3392 Handle a watchdog reset like a power-on reset. Clean up unused
3395 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3396 David Edelsohn <dje.gcc@gmail.com>
3398 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3399 * config/rs6000/crtdbase.S: New file.
3400 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3402 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3404 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3405 Add support for call0 ABI.
3407 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3409 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3411 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3413 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3414 (__GTHREAD_HAS_COND): Likewise.
3415 (__gthread_t): Likewise.
3416 (__gthread_cond_t): Likewise.
3417 (__gthread_time_t): Likewise.
3418 (__GTHREAD_MUTEX_INIT): Likewise.
3419 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3420 (__GTHREAD_COND_INIT): Likewise.
3421 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3422 (__GTHREAD_TIME_INIT): Likewise.
3423 (__gthread_create): Likewise.
3424 (__gthread_join): Likewise.
3425 (__gthread_detach): Likewise.
3426 (__gthread_equal): Likewise.
3427 (__gthread_self): Likewise.
3428 (__gthread_yield): Likewise.
3429 (__gthread_cond_broadcast): Likewise.
3430 (__gthread_cond_signal): Likewise.
3431 (__gthread_cond_wait): Likewise.
3432 (__gthread_cond_timedwait): Likewise.
3433 (__gthread_cond_wait_recursive): Likewise.
3434 (__gthread_cond_destroy): Likewise.
3435 (rtems_gxx_once): Delete.
3436 (rtems_gxx_key_create): Likewise.
3437 (rtems_gxx_key_delete): Likewise.
3438 (rtems_gxx_getspecific): Likewise.
3439 (rtems_gxx_setspecific): Likewise.
3440 (rtems_gxx_mutex_init): Likewise.
3441 (rtems_gxx_mutex_destroy): Likewise.
3442 (rtems_gxx_mutex_lock): Likewise.
3443 (rtems_gxx_mutex_trylock): Likewise.
3444 (rtems_gxx_mutex_unlock): Likewise.
3445 (rtems_gxx_recursive_mutex_init): Likewise.
3446 (rtems_gxx_recursive_mutex_lock): Likewise.
3447 (rtems_gxx_recursive_mutex_trylock): Likewise.
3448 (rtems_gxx_recursive_mutex_unlock): Likewise.
3449 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3450 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3451 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3452 (__gthread_once): Likewise.
3453 (__gthread_key_create): Likewise.
3454 (__gthread_key_delete): Likewise.
3455 (__gthread_getspecific): Likewise.
3456 (__gthread_setspecific): Likewise.
3457 (__gthread_key_t): Use <pthread.h> type.
3458 (__gthread_once_t): Likewise
3459 (__gthread_mutex_t): Use <sys/lock.h> type.
3460 (__gthread_recursive_mutex_t): Likewise
3461 (__gthread_mutex_lock): Use <sys/lock.h> function.
3462 (__gthread_mutex_trylock): Likewise.
3463 (__gthread_mutex_timedlock): Likewise.
3464 (__gthread_mutex_unlock): Likewise.
3465 (__gthread_mutex_destroy): Likewise.
3466 (__gthread_recursive_mutex_lock): Likewise.
3467 (__gthread_recursive_mutex_trylock): Likewise.
3468 (__gthread_recursive_mutex_timedlock): Likewise.
3469 (__gthread_recursive_mutex_unlock): Likewise.
3470 (__gthread_recursive_mutex_destroy): Likewise.
3472 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3474 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3475 context->sp instead of context->cfa.
3477 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3479 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3480 with unwind-dw2-fde-dip.
3482 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3484 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3485 CALL12 followed by series of ENTRY to spill windowed registers.
3486 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3487 instead of making linux spill syscall.
3489 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3491 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3492 (get_intel_cpu): Likewise.
3494 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3496 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3497 (get_intel_cpu): Add Knights Landing support.
3499 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3502 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3503 (get_available_features): Handle FEATURE_PCLMUL.
3505 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3507 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3510 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3513 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3514 (get_available_features): Handle FEATURE_AES.
3516 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3518 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3519 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3521 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3523 * offloadstuff.c: Constify host data.
3525 2015-07-17 Jan Beulich <jbeulich@suse.com>
3527 * config/t-softfp: Split up "else ifneq".
3529 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3530 Cesar Philippidis <cesar@codesourcery.com>
3531 Chung-Lin Tang <cltang@codesourcery.com>
3533 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3534 for __nios2_arch__ level.
3536 2015-07-13 John Marino <gnugcc@marino.st>
3538 * config/i386/t-dragonfly: New.
3540 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3542 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3543 better match light-weight syscall argument order.
3544 (__kernel_cmpxchg2): Likewise.
3547 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3549 * config.host: Support i[34567]86-*-elfiamcu target.
3550 * config/t-softfp-sfdftf: New file.
3551 * config/i386/32/t-iamcu: Likewise.
3552 * configure: Regenerated.
3554 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3557 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3559 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3561 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3563 2015-05-27 John Marino <gnugcc@marino.st>
3565 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3567 * config/i386/freebsd-unwind.h: New.
3569 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3571 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3572 i386/t-crtfm to tmake_file.
3573 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3574 (set_fast_math): Use set_fast_math_sse for SSE targets.
3575 * config/i386/t-crtfm: Remove.
3577 2015-05-21 Alan Modra <amodra@gmail.com>
3580 * config/rs6000/morestack.S: Remove ".abiversion 1".
3582 2015-05-20 Alan Modra <amodra@gmail.com>
3584 * config/rs6000/morestack.S: New.
3585 * config/rs6000/t-stack-rs6000: New.
3586 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3588 * generic-morestack.c: Don't build for powerpc 32-bit.
3590 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3592 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3593 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3595 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3597 * config.host: FT32 target added.
3598 * config/ft32/*: New files for FT32 target.
3600 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3602 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3604 * config/arm/ieee754-df.S: Add CFI directives.
3605 * config/arm/ieee754-sf.S: Add CFI directives.
3607 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3609 * configure.ac: Include config/sjlj.m4.
3610 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3611 * config.in: Regenerate.
3612 * configure: Likewise.
3613 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3615 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3617 * libgcov-util.c: Add space between string literal and macro name.
3619 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3620 Chris Jones <chrisj@nvidia.com>
3621 Joshua Conner <jconner@nvidia.com>
3623 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3624 (arm*-*-uclinux*): Likewise.
3625 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3626 * config/arm/crtfastmath.c: New file.
3628 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3630 * Makefile.in (real_host_noncanonical): New variable.
3631 (libsubdir): Use it.
3632 * configure.ac (real_host_noncanonical): Compute. Remove special
3633 case for intelmicemul.
3634 * configure: Regenerate.
3636 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3638 * config/frv/elf-lib.h: New file.
3639 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3640 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3643 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3645 * config/frv/frvbengin.c: Do not include defaults.h
3646 * config/frv/frvend.c: Ditto.
3648 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3650 * config.host: Add h8300-*-linux
3651 * config/h8300/t-linux: New file.
3652 * config/h8300/lib1funs.s: Change symbol prefix.
3653 * config/h8300/sfp-machine.h: 64bit double support.
3655 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3656 Szabolcs Nagy <szabolcs.nagy@arm.com>
3658 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3659 Linux if target provides dl_iterate_phdr.
3661 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3664 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3665 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3666 (__cpu_indicator_init@GCC_4.8.0): New.
3667 (__cpu_model@GCC_4.8.0): Likewise.
3668 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3671 2015-04-16 Nick Clifton <nickc@redhat.com>
3673 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3674 and __modhi3 functions.
3675 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3676 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3678 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3680 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3681 do-while loop as macro body to avoid warnings.
3683 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3684 Iain Sandoe <iain@codesourcery.com>
3687 * configure: Regenerate.
3689 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3690 Iain Sandoe <iain@codesourcery.com>
3693 * configure: Regenerate.
3695 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3697 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3699 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3701 Implement call0 ABI for xtensa
3702 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3703 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3704 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3705 use ret in call0 ABI.
3706 * config/xtensa/t-windowed: New file.
3707 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3708 * libgcc/configure: Regenerated.
3709 * libgcc/configure.ac: Check if xtensa target is configured for
3710 windowed ABI and thus needs to use custom unwind code.
3712 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3715 * gthr-single.h: Use __unused__ attribute instead of unused.
3716 * config/gthr-vxworks.h: Likewise.
3717 * config/i386/gthr-win32.h: Likewise.
3719 2015-02-27 Kai Tietz <ktietz@redhat.com>
3722 * config.in: Regenerated.
3723 * configure: Likewise.
3724 * configure.ac (AC_HEADER_STDC): Added explicit.
3725 (AC_CHECK_HEADERS): Check for default headers plus
3727 * libgcov-util.c (gcov_read_profile_dir): Disable use
3728 of ftw-function, if header is not found.
3729 (ftw_read_file): Likewise.
3731 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3734 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3737 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3739 * config/arm/bpabi.S (test_div_by_zero): Make label names
3740 consistent between thumb2 and arm mode cases. Separate the
3741 signed comparison on the high word of the numerator from the
3742 unsigned comparison on the low word.
3743 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3746 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3748 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3750 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3752 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3754 PR gcov-profile/61889
3755 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3757 2015-02-02 Nick Clifton <nickc@redhat.com>
3759 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3760 rounding up the fraction.
3762 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3764 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3765 oldval and newval to const void *. Fix typo.
3766 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3767 (FETCH_AND_OP_WORD): Likewise.
3768 (OP_AND_FETCH_WORD): Likewise.
3769 (COMPARE_AND_SWAP_2): Likewise.
3770 (__sync_val_compare_and_swap_4): Likewise.
3771 (__sync_lock_test_and_set_4): Likewise.
3772 (SYNC_LOCK_RELEASE_2): Likewise.
3773 Remove support for long long atomic operations.
3775 2015-01-27 Caroline Tice <cmtice@google.com>
3777 Committing VTV Cywin/Ming patch for Patrick Wollgast
3778 * Makefile.in: Move rules to build vtv_*.o out of the check
3779 for CUSTOM_CRTSTUFF.
3780 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3781 i[34567]86-*-mingw*)
3782 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3783 enable_vtable_verify.
3785 2015-01-27 Nick Clifton <nickc@redhat.com>
3787 * config/rl78/cmpsi2.S: Use function start and end macros.
3788 (__gcc_bcmp): New function.
3789 * config/rl78/lshrsi3.S: Use function start and end macros.
3790 * config/rl78/mulsi3.S: Add support for G10.
3791 (__mulqi3): New function for G10.
3792 * config/rl78/signbit.S: Use function start and end macros.
3793 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3795 (LIB2FUNCS_EXCLUDE): Define.
3796 (LIB2FUNCS_ST): Define.
3797 * config/rl78/trampoline.S: Use function start and end macros.
3798 * config/rl78/vregs.h (START_FUNC): New macro.
3799 (START_ANOTHER_FUNC): New macro.
3800 (END_FUNC): New macro.
3801 (END_ANOTHER_FUNC): New macro.
3802 * config/rl78/bit-count.S: New file. Contains assembler
3803 implementations of the bit counting functions: ___clzhi2,
3804 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3805 __paritysi2, __popcounthi2 and __popcountsi2.
3806 * config/rl78/fpbit-sf.S: New file. Contains assembler
3807 implementationas of the math functions: __negsf2, __cmpsf2,
3808 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3809 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3810 * config/rl78/fpmath-sf.S: New file. Contains assembler
3811 implementations of the math functions: __subsf3, __addsf3,
3812 __mulsf3 and __divsf3
3814 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3816 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3817 Add i386/elf-lib.h to tm_file.
3818 * config/i386/elf-lib.h: Fix comment.
3819 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3820 && __sun__ && __svr4__]: Remove workaround.
3822 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3824 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3826 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3828 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3830 * config/i386/cpuinfo.c (processor_subtypes): Add
3831 INTEL_COREI7_BROADWELL.
3832 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3835 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3837 * config/i386/elf-lib.h: New file.
3838 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3839 Wrap definition in #ifdef __i386__.
3840 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3841 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3842 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3843 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3846 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3848 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3849 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3851 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3853 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3854 Update rt_sigframe format and address for current Nios II
3857 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3859 * config.host (arm*-*-freebsd*): Add new configuration for
3861 * config/arm/freebsd-atomic.c: New file.
3862 * config/arm/t-freebsd: Likewise.
3863 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3864 'PC-relative indirect' OS's.
3866 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3868 * config.host: Add Visium support.
3869 * config/visium: New directory.
3871 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3873 Update copyright years.
3875 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3877 * config.host: Support mipsisa32r6 and mipsisa64r6.
3878 * config/mips/mips16.S: Do not build for R6.
3880 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3882 * config/sh/crt.h: New.
3883 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3885 * config/sh/crt1.S: Likewise.
3887 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3890 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3891 func_ptr *dtor_list temporary variable to avoid "array subscript
3892 is above array bounds" warnings.
3894 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3896 * Makefile.in (with_aix_soname): Define.
3897 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3898 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3899 * configure: Recreate.
3901 2014-12-05 Olivier Hainque <hainque@adacore.com>
3903 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3904 now provided by defaults.h.
3906 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3909 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3910 whether it's defined.
3912 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3914 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3915 * config/i386/cpuinfo.c (get_available_features): Detect it.
3917 2014-11-27 Tony Wang <tony.wang@arm.com>
3919 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3920 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3921 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3923 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3925 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3927 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3929 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3932 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3933 John David Anglin <danglin@gcc.gnu.org>
3935 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3936 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3937 (OP_AND_FETCH_2): Likewise.
3938 (COMPARE_AND_SWAP_2): Likewise.
3939 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3940 (SYNC_LOCK_RELEASE_2): Likewise.
3941 (SUBWORD_SYNC_OP): Remove.
3942 (SUBWORD_VAL_CAS): Likewise.
3943 (SUBWORD_BOOL_CAS): Likewise.
3944 (FETCH_AND_OP_WORD): Update.
3945 Consistently use signed types.
3947 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3948 Thomas Schwinge <thomas@codesourcery.com>
3949 Ilya Verbin <ilya.verbin@intel.com>
3950 Andrey Turetskiy <andrey.turetskiy@intel.com>
3952 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3953 (crtoffloadend$(objext)): Likewise.
3954 * configure: Regenerate.
3955 * configure.ac (accel_dir_suffix): Compute new variable.
3956 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3957 if enable_offload_targets is not empty.
3958 * offloadstuff.c: New file.
3960 2014-11-13 Nick Clifton <nickc@redhat.com>
3962 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3963 Use START_FUNC and END_FUNC macros to enable linker garbage
3965 * config/rl78/divmodqi.S: Likewise.
3966 * config/rl78/divmodsi.S: Likewise.
3967 * config/rl78/mulsi3.S: Likewise.
3968 * config/rl78/lib2div.c: Remove G10 functions.
3969 * config/rl78/lib2muls.c: Likewise.
3970 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3971 * config/rl78/vregs.h (START_FUNC): New macro.
3972 (END_FUNC): New macro.
3974 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3976 * config/mips/mips16.S: Set .module when supported. Update O32
3977 FP64 calling convention and use for FPXX when possible. Add FPXX
3978 calling convention fallback case.
3980 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3982 * config.host: Handle nvptx-*-*.
3983 * shared-object.mk (as-flags-$o): Define.
3984 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3985 -xassembler-with-cpp.
3986 * static-object.mk: Identical changes.
3987 * config/nvptx/t-nvptx: New file.
3988 * config/nvptx/crt0.s: New file.
3989 * config/nvptx/free.asm: New file.
3990 * config/nvptx/malloc.asm: New file.
3991 * config/nvptx/realloc.c: New file.
3993 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3995 * Makefile.in (libgcc.map.in): New target.
3996 (libgcc.map): Use libgcc.map.in.
3997 * config/t-softfp (softfp_compat): New variable to be set by
3999 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4001 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4003 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4004 that use compat symbols and disable all code unless [SHARED].
4005 * config/t-softfp-compat: New file.
4006 * find-symver.awk: New file.
4007 * configure.ac (--with-glibc-version): New configure option.
4008 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4009 * configure: Regenerate.
4010 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4011 soft-float and e500.
4013 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4015 * config/t-hardfp (hardfp_exclusions): Document new variable for
4017 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4018 * config/t-softfp (softfp_extras): Document new variable for user
4020 (softfp_func_list): Add functions from $(softfp_extras).
4021 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4022 * config.host (powerpc*-*-linux*): For e500v1, use
4023 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4024 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4025 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4027 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4029 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4030 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4031 memory read accesses are ok.
4033 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4035 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4036 * configure: Regenerate.
4037 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4038 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4039 of soft-fp for 32-bit classic hard float. Do not use
4040 t-softfp-excl for soft float.
4042 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4044 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4046 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4049 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4051 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4052 introduced with 2014-10-21 trunk r216525.
4054 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4055 Vidya Praveen <vidya.praveen@atmel.com>
4056 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4057 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4058 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4060 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4063 Updated library functions for AVRTINY arch.
4064 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4065 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4066 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4067 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4069 (__mulsi3_helper): Update stack, preserve callee saved regs and
4070 argument from stack. Restore callee save registers.
4071 (__mulpsi3): Likewise.
4072 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4073 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4074 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4076 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4077 (__do_copy_data): Added new definition for AVRTINY.
4078 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4079 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4080 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4081 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4082 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4084 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4087 Fix broken long multiplication on tiny arch.
4089 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4091 * soft-fp/double.h: Update from glibc.
4092 * soft-fp/eqdf2.c: Likewise.
4093 * soft-fp/eqsf2.c: Likewise.
4094 * soft-fp/eqtf2.c: Likewise.
4095 * soft-fp/extenddftf2.c: Likewise.
4096 * soft-fp/extended.h: Likewise.
4097 * soft-fp/extendsfdf2.c: Likewise.
4098 * soft-fp/extendsftf2.c: Likewise.
4099 * soft-fp/extendxftf2.c: Likewise.
4100 * soft-fp/gedf2.c: Likewise.
4101 * soft-fp/gesf2.c: Likewise.
4102 * soft-fp/getf2.c: Likewise.
4103 * soft-fp/ledf2.c: Likewise.
4104 * soft-fp/lesf2.c: Likewise.
4105 * soft-fp/letf2.c: Likewise.
4106 * soft-fp/op-1.h: Likewise.
4107 * soft-fp/op-2.h: Likewise.
4108 * soft-fp/op-4.h: Likewise.
4109 * soft-fp/op-8.h: Likewise.
4110 * soft-fp/op-common.h: Likewise.
4111 * soft-fp/quad.h: Likewise.
4112 * soft-fp/single.h: Likewise.
4113 * soft-fp/soft-fp.h: Likewise.
4114 * soft-fp/unorddf2.c: Likewise.
4115 * soft-fp/unordsf2.c: Likewise.
4116 * soft-fp/unordtf2.c: Likewise.
4117 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4118 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4119 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4120 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4121 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4122 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4123 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4124 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4125 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4126 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4128 2014-10-08 Rong Xu <xur@google.com>
4130 * libgcov-util.c (read_gcda_file): Fix format.
4131 (find_match_gcov_info): Ditto.
4132 (calculate_2_entries): New.
4133 (compute_one_gcov): Ditto.
4134 (gcov_info_count_all_cold): Ditto.
4135 (gcov_info_count_all_zero): Ditto.
4136 (extract_file_basename): Ditto.
4137 (get_file_basename): Ditto.
4139 (matched_gcov_info): Ditto.
4140 (calculate_overlap): Ditto.
4141 (gcov_profile_overlap): Ditto.
4142 * libgcov-driver.c (compute_summary): Make
4143 it avavilable for external calls.
4145 2014-10-06 Rong Xu <xur@google.com>
4147 * Makefile.in: Ditto.
4148 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4149 (gcov_sort_icall_topn_counter): Ditto.
4150 (gcov_sort_topn_counter_arrays): Ditto.
4151 (dump_one_gcov): Sort indirect_call topn counters.
4152 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4154 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4156 (__gcov_indirect_call_topn_profiler): New profiler function.
4157 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4158 * libgcov.h: New decls.
4160 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4162 * config.host: Remove support for score-*.
4164 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4166 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4167 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4168 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4169 __LIBGCC_XF_MANT_DIG__.
4170 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4171 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4172 __LIBGCC_TF_MANT_DIG__.
4173 * libgcc2.c (NOTRUNC): Define in terms of
4174 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4175 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4177 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4180 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4183 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4185 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4186 override USE_PT_GNU_EH_FRAME.
4187 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4188 check USE_EH_FRAME_REGISTRY_ALWAYS against
4189 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4190 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4191 variable for substituted force_explicit_eh_registry.
4192 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4193 * configure.ac (explicit-exception-frame-registration):
4195 * configure: Regenerate.
4197 2014-09-19 Olivier Hainque <hainque@adacore.com>
4199 * config.host (powerpc-wrs-vxworksmils): New configuration,
4202 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4204 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4206 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4208 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4209 bits not set bits as indicating trapping exceptions.
4211 2014-09-17 Nathan sidwell <nathan@acm.org>
4213 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4214 (LIBGCOV_DRIVER): ... here.
4215 * libgcov-driver.c (gcov_master): New.
4216 (gcov_exit): Remove from master chain.
4217 (__gcov_init): Add to master chain if version compatible. Don't
4219 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4220 (gcov_reset_int): Clear master chain, if compatible.
4221 (gcov_dump_int): New internal interface. Dump master chain, if
4223 (gcov_dump): Alias for gcov_dump_int.
4224 * libgcov.h (struct gcov_root): Add next and prev fields.
4225 (struct gcov_master): New struct.
4226 (__gcov_master): New.
4227 (gcov_dump_int): Declare.
4229 2014-09-17 Olivier Hainque <hainque@adacore.com>
4231 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4232 and crtbegin.o + crtend.o to extra_parts.
4234 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4236 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4237 __LIBGCC_HAS_SF_MODE__.
4238 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4239 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4240 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4241 * config/libbid/bid_gcc_intrinsics.h
4242 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4243 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4244 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4245 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4246 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4247 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4249 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4252 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4253 and R24 as needed. Make work for all devices and .text locations.
4254 (__do_global_ctors, __do_global_dtors): Use word addresses.
4255 (__tablejump__, __tablejump_elpm__): Remove functions.
4256 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4258 (XICALL, XIJMP): New macros.
4260 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4261 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4263 * config.host (aarch64*): Include crtfastmath.o and
4265 * config/aarch64/crtfastmath.c: New file.
4267 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4269 * config.host: Remove picochip support.
4270 * config/picochip/adddi3.S: Remove.
4271 * config/picochip/ashlsi3.S: Remove.
4272 * config/picochip/ashlsi3.c: Remove.
4273 * config/picochip/ashrsi3.S: Remove.
4274 * config/picochip/ashrsi3.c: Remove.
4275 * config/picochip/clzsi2.S: Remove.
4276 * config/picochip/cmpsi2.S: Remove.
4277 * config/picochip/divmod15.S: Remove.
4278 * config/picochip/divmodhi4.S: Remove.
4279 * config/picochip/divmodsi4.S: Remove.
4280 * config/picochip/lib1funcs.S: Remove.
4281 * config/picochip/longjmp.S: Remove.
4282 * config/picochip/lshrsi3.S: Remove.
4283 * config/picochip/lshrsi3.c: Remove.
4284 * config/picochip/parityhi2.S: Remove.
4285 * config/picochip/popcounthi2.S: Remove.
4286 * config/picochip/setjmp.S: Remove.
4287 * config/picochip/subdi3.S: Remove.
4288 * config/picochip/t-picochip: Remove.
4289 * config/picochip/ucmpsi2.S: Remove.
4290 * config/picochip/udivmodhi4.S: Remove.
4291 * config/picochip/udivmodsi4.S: Remove.
4293 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4295 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4296 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4297 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4298 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4299 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4300 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4301 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4302 defined and LIBGCC2_HAS_DF_MODE is defined.
4303 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4304 defined and LIBGCC2_HAS_XF_MODE is defined.
4305 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4306 defined and LIBGCC2_HAS_TF_MODE is defined.
4308 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4310 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4311 and ROUND_TOWARDS_ZERO conditionals.
4313 2014-09-07 Nathan sidwell <nathan@acm.org>
4315 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4316 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4318 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4320 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4321 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4322 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4323 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4324 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4325 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4326 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4327 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4328 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4329 (DWARF_FRAME_REGISTERS): Change all uses to
4330 __LIBGCC_DWARF_FRAME_REGISTERS__.
4331 (EH_RETURN_STACKADJ_RTX): Change all uses to
4332 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4333 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4334 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4335 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4336 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4337 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4338 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4339 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4340 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4341 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4342 __LIBGCC_STACK_POINTER_REGNUM__.
4343 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4344 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4345 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4346 to __LIBGCC_STACK_POINTER_REGNUM__.
4347 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4348 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4349 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4350 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4351 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4352 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4353 (STACK_POINTER_REGNUM): Change all uses to
4354 __LIBGCC_STACK_POINTER_REGNUM__.
4355 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4356 use to __LIBGCC_STACK_POINTER_REGNUM__.
4357 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4358 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4359 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4360 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4361 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4362 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4363 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4364 to __LIBGCC_STACK_POINTER_REGNUM__.
4365 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4366 Remove conditional definition.
4367 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4368 __LIBGCC_TEXT_SECTION_ASM_OP__.
4369 (EH_FRAME_SECTION_NAME): Change all uses to
4370 __LIBGCC_EH_FRAME_SECTION_NAME__.
4371 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4372 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4373 (CTORS_SECTION_ASM_OP): Change all uses to
4374 __LIBGCC_CTORS_SECTION_ASM_OP__.
4375 (DTORS_SECTION_ASM_OP): Change all uses to
4376 __LIBGCC_DTORS_SECTION_ASM_OP__.
4377 (JCR_SECTION_NAME): Change all uses to
4378 __LIBGCC_JCR_SECTION_NAME__.
4379 (INIT_SECTION_ASM_OP): Change all uses to
4380 __LIBGCC_INIT_SECTION_ASM_OP__.
4381 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4382 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4383 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4384 __LIBGCC_STACK_GROWS_DOWNWARD__.
4385 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4386 __LIBGCC_INIT_SECTION_ASM_OP__.
4387 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4388 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4389 (EH_FRAME_SECTION_NAME): Change all uses to
4390 __LIBGCC_EH_FRAME_SECTION_NAME__.
4391 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4392 definitions. Change all uses to
4393 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4394 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4395 __LIBGCC_STACK_GROWS_DOWNWARD__.
4396 (DWARF_FRAME_REGISTERS): Change all uses to
4397 __LIBGCC_DWARF_FRAME_REGISTERS__.
4398 (EH_RETURN_STACKADJ_RTX): Change all uses to
4399 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4400 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4401 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4402 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4403 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4404 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4406 2014-09-02 Nathan sidwell <nathan@acm.org>
4408 * libgcov-interface.c (STRONG_ALIAS): New.
4409 (__gcov_flush): Call __gcov_reset_int.
4410 (__gcov_reset): Strong alias for ...
4411 (__gcov_reset_ing): ... this renamed hidden version.
4412 * libgcov.h (__gcov_reset_int): New declaration.
4414 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4416 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4418 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4419 (__dso_handle): Define on Cygwin.
4420 * config/i386/t-cygming (crtbeginS.o): New rule.
4421 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4423 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4426 2014-08-13 Steve Ellcey <sellcey@mips.com>
4428 * crtstuff.c: Undef caddr_t.
4430 2014-08-12 Steve Ellcey <sellcey@mips.com>
4432 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4434 2014-08-07 Nathan Sidwell <nathan@acm.org>
4436 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4437 (LIBGCOV_DRIVER): ... to here.
4438 * libgcov.h (gcov_do_dump): New #define.
4439 (struct gcov_root): New.
4440 (__gcov_root): New declaration.
4441 (__gcov_dump_one): Declare.
4442 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4443 run_accounted): Delete.
4444 (gcov_compute_histogram): Add LIST argument, adjust.
4445 (compute_summary): Adjust gcov_compute_histogram call.
4446 (gcov_do_dump): Not hidden, static in libgcov.
4447 (gcov_clear): Move to interface.c.
4448 (__gcov_dump_one): New, broken out of ...
4449 (gcov_exit): ... here. Make static.
4451 (__gcov_init): Adjust.
4452 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4454 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4455 (gcov_clear): Moved from driver.c. Add LIST argument.
4456 (__gcov_reset): Adjust for changed interfaces.
4457 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4459 2014-08-04 Rohit <rohitarulraj@freescale.com>
4462 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4463 based on change in SPE high register numbers and 3 HTM registers.
4465 2014-08-01 Nathan Sidwell <nathan@acm.org>
4467 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4468 LIBGCOV_INTERFACE): Reformat.
4469 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4471 * libgcov-interface.c: Reformat some comments.
4472 (__gcov_flush_mx): Add declaration. Tidy up definition.
4474 2014-07-31 Alan Modra <amodra@gmail.com>
4475 Peter Bergner <bergner@vnet.ibm.com>
4477 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4478 (pack_ldouble): New function.
4479 (__gcc_qadd): Use it.
4480 (__gcc_qmul): Likewise.
4481 (__gcc_qdiv): Likewise.
4482 (__gcc_qneg): Likewise.
4483 (__gcc_stoq): Likewise.
4484 (__gcc_dtoq): Likewise.
4486 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4488 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4489 (__tpf_eh_return): Add original return address as second parameter.
4490 Handle cases where unwinder routines were called directly, instead
4491 of from within the C++ library.
4493 2014-07-29 Nathan Sidwell <nathan@acm.org>
4495 * libgcov.h: Move renaming of entry points to lib gcov specific
4497 (gcov_do_dump): New rename.
4498 (gcov_rewrite): Remove inline, make HIDDEN.
4499 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4500 (gcov_exit_compute_summary): Rename to ...
4501 (compute_summary): ... here. Add LIST argument.
4502 (gcov_exit_merge_gcda): Rename to ...
4503 (merge_one_data): ... here.
4504 (gcov_exit_write_gcda): Rename to ...
4505 (write_one_data): ... here.
4506 (gcov_exit_merge_summary): Rename to ...
4507 (merge_summary): Add RUN_COUNTED argument.
4508 (gcov_exit_dump_gcov): Rename to ...
4509 (dump_one_gcov): Add RUN_COUNTED argument.
4510 (gcov_do_dump): New function, broken out of ...
4511 (gcov_exit): ... here. Call it.
4513 2014-07-27 Anthony Green <green@moxielogic.com>
4515 * config.host: Add moxiebox configuration suppport.
4517 2014-07-27 Nathan Sidwell <nathan@acm.org>
4519 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4520 (struct gcov_filename): ... here. Include buffer and max length
4522 (gcov_max_filename): Remove.
4523 (gi_filename): Remove.
4524 (gcov_exit_compute_summary): Compute max filename here.
4525 (gcov_exit_merge_gcda): Add filename parm, adjust.
4526 (gcov_exit_merge_summary): Likewise.
4527 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4528 (gcov_exit): Likewise.
4529 (__gcov_init): Don't calculate max length here.
4530 * libgcov_util.c (max_filename_len): Remove.
4531 (read_gcda_file): Don't calculate max length here.
4532 (gcov_read_profile_dir): Don't propagate here.
4533 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4534 struct gcov_filename changes.
4535 (gcov_exit_open_gcda_file): Likewise.
4537 2014-07-25 Nathan Sidwell <nathan@acm.org>
4539 * libgcov-driver.c (set_gcov_dump_complete,
4540 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4541 functions polluting user's namespace.
4542 (gcov_exit): Set variable directly.
4543 (gcov_clear): Reset variable directly.
4544 * libgcov-interface.c (get_gcov_dymp_complete,
4545 reset_gov_dump_complete): Remove declarations.
4546 (__gcov_reset, __gcov_dump): Don't call them.
4548 2014-07-24 DJ Delorie <dj@redhat.com>
4550 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4551 (__gcc_deregister_frame): Move logic to detect deregister function
4553 (__gcc_register_frame): here, so it's consistent with the register
4556 2014-07-23 Nathan Sidwell <nathan@acm.org>
4558 * libgcov-driver.c (set_gcov_list): Remove.
4559 (gcov_list): Make non-static in GCOV_TOOL.
4560 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4562 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4564 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4565 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4566 Don't use SYNC_LOCK_RELEASE for int type.
4568 2014-07-14 Richard Biener <rguenther@suse.de>
4570 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4572 2014-07-11 Rong Xu <xur@google.com>
4574 * libgcov-util.c (gcov_max_filename): Fix declartion.
4576 2014-07-10 Rong Xu <xur@google.com>
4578 Add gcov-tool: an offline gcda profile processing tool
4580 * libgcov-driver.c (gcov_max_filename): Make available
4582 * libgcov-merge.c (__gcov_merge_add): Replace
4583 gcov_read_counter() with a Macro.
4584 (__gcov_merge_ior): Ditto.
4585 (__gcov_merge_time_profile): Ditto.
4586 (__gcov_merge_single): Ditto.
4587 (__gcov_merge_delta): Ditto.
4588 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4589 in the utility functions.
4590 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4591 gcov_list object link lists.
4592 (tag_function): Ditto.
4593 (tag_blocks): Ditto.
4596 (tag_counters): Ditto.
4597 (tag_summary): Ditto.
4598 (read_gcda_finalize): Ditto.
4599 (read_gcda_file): Ditto.
4600 (ftw_read_file): Ditto.
4601 (read_profile_dir_init): Ditto.
4602 (gcov_read_profile_dir): Ditto.
4603 (gcov_read_counter_mem): Ditto.
4604 (gcov_get_merge_weight): Ditto.
4605 (merge_wrapper): A wrapper function that calls merging handler.
4606 (gcov_merge): Merge two gcov_info objects with weights.
4607 (find_match_gcov_info): Find the matched gcov_info in the list.
4608 (gcov_profile_merge): Merge two gcov_info object lists.
4609 (__gcov_add_counter_op): Process edge profile counter values.
4610 (__gcov_ior_counter_op): Process IOR profile counter values.
4611 (__gcov_delta_counter_op): Process delta profile counter values.
4612 (__gcov_single_counter_op): Process single profile counter values.
4613 (fp_scale): Callback function for float-point scaling.
4614 (int_scale): Callback function for integer fraction scaling.
4615 (gcov_profile_scale): Scaling profile counters.
4616 (gcov_profile_normalize): Normalize profile counters.
4617 * libgcov.h: Add headers and functions for gcov-tool use.
4618 (gcov_get_counter): New.
4619 (gcov_get_counter_target): Ditto.
4620 (struct gcov_info): Make the functions field mutable in gcov-tool
4623 2014-06-23 Kai Tietz <ktietz@redhat.com>
4626 * unwind-seh.c (_Unwind_GetGR): Check for proper
4628 (_Unwind_SetGR): Likewise.
4630 2014-05-22 Nick Clifton <nickc@redhat.com>
4632 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4635 2014-05-22 Teresa Johnson <tejohnson@google.com>
4637 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4640 2014-05-20 John Marino <gnugcc@marino.st>
4642 * config.host (*-*-dragonfly*): New target.
4643 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4644 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4645 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4646 * config/i386/dragonfly-unwind.h: New.
4648 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4651 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4652 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4654 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4656 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4659 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4661 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4663 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4666 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4669 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4671 Work around for current cygwin32 build problems.
4672 * config/i386/cygming-crtbegin.c (__register_frame_info,
4673 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4674 functions only for 64-bit systems.
4676 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4678 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4679 (sigill_caught, sigill_hdlr): Remove.
4681 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4683 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4685 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4686 Solaris 9 single-threaded support.
4687 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4688 Solaris 9 single-threaded support. Add call_user_handler code
4690 (sparc_is_sighandler): Likewise.
4692 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4694 * config.host: Append t-floattodi to tmake_file depending on
4697 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4699 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4701 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4704 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4705 variable to avoid "array subscript is above array bounds" warnings.
4706 Use __builtin_expect when checking *jcr_list for NULL.
4708 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4711 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4712 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4713 vtv_*.o to extra_parts if enable_vtable_verify.
4715 2014-03-06 Nick Clifton <nickc@redhat.com>
4717 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4718 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4720 2014-02-28 Joey Ye <joey.ye@arm.com>
4723 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4724 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4727 2014-02-24 Walter Lee <walt@tilera.com>
4729 * config.host: Support "tilegx*" and "tilepro*" triplets.
4730 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4731 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4733 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4734 Chung-Lin Tang <cltang@codesourcery.com>
4736 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4737 * config/nios2/crti.S: Remove .file directive.
4738 * config/nios2/crtn.S: Likewise.
4740 2014-02-18 Kai Tietz <ktietz@redhat.com>
4741 Jonathan Schleifer <js@webkeks.org>
4744 * unwind-seh.c (_GCC_specific_handler): Pass proper
4745 value to unwind-handler.
4747 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4749 * soft-fp/adddf3.c: Update from glibc.
4750 * soft-fp/addsf3.c: Likewise.
4751 * soft-fp/addtf3.c: Likewise.
4752 * soft-fp/divdf3.c: Likewise.
4753 * soft-fp/divsf3.c: Likewise.
4754 * soft-fp/divtf3.c: Likewise.
4755 * soft-fp/double.h: Likewise.
4756 * soft-fp/eqdf2.c: Likewise.
4757 * soft-fp/eqsf2.c: Likewise.
4758 * soft-fp/eqtf2.c: Likewise.
4759 * soft-fp/extenddftf2.c: Likewise.
4760 * soft-fp/extended.h: Likewise.
4761 * soft-fp/extendsfdf2.c: Likewise.
4762 * soft-fp/extendsftf2.c: Likewise.
4763 * soft-fp/extendxftf2.c: Likewise.
4764 * soft-fp/fixdfdi.c: Likewise.
4765 * soft-fp/fixdfsi.c: Likewise.
4766 * soft-fp/fixdfti.c: Likewise.
4767 * soft-fp/fixsfdi.c: Likewise.
4768 * soft-fp/fixsfsi.c: Likewise.
4769 * soft-fp/fixsfti.c: Likewise.
4770 * soft-fp/fixtfdi.c: Likewise.
4771 * soft-fp/fixtfsi.c: Likewise.
4772 * soft-fp/fixtfti.c: Likewise.
4773 * soft-fp/fixunsdfdi.c: Likewise.
4774 * soft-fp/fixunsdfsi.c: Likewise.
4775 * soft-fp/fixunsdfti.c: Likewise.
4776 * soft-fp/fixunssfdi.c: Likewise.
4777 * soft-fp/fixunssfsi.c: Likewise.
4778 * soft-fp/fixunssfti.c: Likewise.
4779 * soft-fp/fixunstfdi.c: Likewise.
4780 * soft-fp/fixunstfsi.c: Likewise.
4781 * soft-fp/fixunstfti.c: Likewise.
4782 * soft-fp/floatdidf.c: Likewise.
4783 * soft-fp/floatdisf.c: Likewise.
4784 * soft-fp/floatditf.c: Likewise.
4785 * soft-fp/floatsidf.c: Likewise.
4786 * soft-fp/floatsisf.c: Likewise.
4787 * soft-fp/floatsitf.c: Likewise.
4788 * soft-fp/floattidf.c: Likewise.
4789 * soft-fp/floattisf.c: Likewise.
4790 * soft-fp/floattitf.c: Likewise.
4791 * soft-fp/floatundidf.c: Likewise.
4792 * soft-fp/floatundisf.c: Likewise.
4793 * soft-fp/floatunditf.c: Likewise.
4794 * soft-fp/floatunsidf.c: Likewise.
4795 * soft-fp/floatunsisf.c: Likewise.
4796 * soft-fp/floatunsitf.c: Likewise.
4797 * soft-fp/floatuntidf.c: Likewise.
4798 * soft-fp/floatuntisf.c: Likewise.
4799 * soft-fp/floatuntitf.c: Likewise.
4800 * soft-fp/gedf2.c: Likewise.
4801 * soft-fp/gesf2.c: Likewise.
4802 * soft-fp/getf2.c: Likewise.
4803 * soft-fp/ledf2.c: Likewise.
4804 * soft-fp/lesf2.c: Likewise.
4805 * soft-fp/letf2.c: Likewise.
4806 * soft-fp/muldf3.c: Likewise.
4807 * soft-fp/mulsf3.c: Likewise.
4808 * soft-fp/multf3.c: Likewise.
4809 * soft-fp/negdf2.c: Likewise.
4810 * soft-fp/negsf2.c: Likewise.
4811 * soft-fp/negtf2.c: Likewise.
4812 * soft-fp/op-1.h: Likewise.
4813 * soft-fp/op-2.h: Likewise.
4814 * soft-fp/op-4.h: Likewise.
4815 * soft-fp/op-8.h: Likewise.
4816 * soft-fp/op-common.h: Likewise.
4817 * soft-fp/quad.h: Likewise.
4818 * soft-fp/single.h: Likewise.
4819 * soft-fp/soft-fp.h: Likewise.
4820 * soft-fp/subdf3.c: Likewise.
4821 * soft-fp/subsf3.c: Likewise.
4822 * soft-fp/subtf3.c: Likewise.
4823 * soft-fp/truncdfsf2.c: Likewise.
4824 * soft-fp/trunctfdf2.c: Likewise.
4825 * soft-fp/trunctfsf2.c: Likewise.
4826 * soft-fp/trunctfxf2.c: Likewise.
4827 * soft-fp/unorddf2.c: Likewise.
4828 * soft-fp/unordsf2.c: Likewise.
4829 * soft-fp/unordtf2.c: Likewise.
4830 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4832 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4834 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4836 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4838 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4840 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4842 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4844 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4846 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4848 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4850 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4852 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4854 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4856 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4858 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4860 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4863 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4865 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4866 cannot be represented.
4867 * config/s390/32/_fixsfdi.c: Likewise.
4868 * config/s390/32/_fixtfdi.c: Likewise.
4869 * config/s390/32/_fixunsdfdi.c: Likewise.
4870 * config/s390/32/_fixunssfdi.c: Likewise.
4871 * config/s390/32/_fixunstfdi.c: Likewise.
4873 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4875 * configure.ac (libgcc_cv_mips_hard_float): New.
4876 * configure: Regenerate.
4877 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4878 t-softfp-sfdf for hard-float targets.
4879 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4880 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4881 (softfp_truncations, softfp_exclude_libgcc2): New.
4882 * config/t-hardfp: New file.
4883 * config/t-hardfp-sfdf: Likewise.
4884 * config/hardfp.c: Likewise.
4886 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4888 * config.host: Include t-floattodi also for s390x.
4889 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4890 * config/s390/32/_fixsfdi.c: Likewise.
4891 * config/s390/32/_fixtfdi.c: Likewise.
4892 * config/s390/32/_fixunsdfdi.c: Likewise.
4893 * config/s390/32/_fixunssfdi.c: Likewise.
4894 * config/s390/32/_fixunstfdi.c: Likewise.
4896 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4899 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4900 (install-libgcc-unwind-map-forbuild): New target.
4901 (all): Depend on install-libgcc-unwind-map-forbuild.
4902 (install-libgcc-unwind-map): New target.
4903 (install): Depend on install-libgcc-unwind-map.
4905 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4907 * config/nios2/crti.S (_init): Initialize GOT pointer from
4908 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4910 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4912 * configure.ac: Check __mips64 when setting host_address.
4913 * configure: Regenerate.
4914 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4915 mips/t-mips64 and t-softfp.
4916 (mips*-*-linux*): Don't add mips/t-tpbit.
4917 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4918 (DPBIT, DPBIT_CFLAGS): Delete.
4919 * config/mips/sfp-machine.h: New file.
4920 * config/mips/t-mips64: Likewise.
4921 * config/mips/t-softfp-tf: Likewise.
4922 * config/mips/t-tpbit: Delete.
4924 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4926 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4929 2014-01-25 Walter Lee <walt@tilera.com>
4931 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4932 config.h or system.h.
4935 2014-01-25 Walter Lee <walt@tilera.com>
4937 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4938 (post_atomic_barrier): Ditto.
4939 (__fetch_and_do): New macro.
4940 (__atomic_fetch_and_do): Use __fetch_and_do.
4941 (__sync_fetch_and_do): New macro.
4942 (__sync_fetch_and_add_4): New function.
4943 (__sync_fetch_and_sub_4): New function.
4944 (__sync_fetch_and_or_4): New function.
4945 (__sync_fetch_and_and_4): New function.
4946 (__sync_fetch_and_xor_4): New function.
4947 (__sync_fetch_and_nand_4): New function.
4948 (__sync_fetch_and_add_8): New function.
4949 (__sync_fetch_and_sub_8): New function.
4950 (__sync_fetch_and_or_8): New function.
4951 (__sync_fetch_and_and_8): New function.
4952 (__sync_fetch_and_xor_8): New function.
4953 (__sync_fetch_and_nand_8): New function.
4954 (__do_and_fetch): New macro.
4955 (__atomic_do_and_fetch): Use __do_and_fetch.
4956 (__sync_do_and_fetch): New macro.
4957 (__sync_add_and_fetch_4): New function.
4958 (__sync_sub_and_fetch_4): New function.
4959 (__sync_or_and_fetch_4): New function.
4960 (__sync_and_and_fetch_4): New function.
4961 (__sync_xor_and_fetch_4): New function.
4962 (__sync_nand_and_fetch_4): New function.
4963 (__sync_add_and_fetch_8): New function.
4964 (__sync_sub_and_fetch_8): New function.
4965 (__sync_or_and_fetch_8): New function.
4966 (__sync_and_and_fetch_8): New function.
4967 (__sync_xor_and_fetch_8): New function.
4968 (__sync_nand_and_fetch_8): New function.
4969 (__sync_exchange_methods): New macro.
4970 (__sync_val_compare_and_swap_4): New function.
4971 (__sync_bool_compare_and_swap_4): New function.
4972 (__sync_lock_test_and_test_4): New function.
4973 (__sync_val_compare_and_swap_8): New function.
4974 (__sync_bool_compare_and_swap_8): New function.
4975 (__sync_lock_test_and_test_8): New function.
4976 (__subword_cmpxchg_body): New macro.
4977 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4978 (__atomic_compare_exchange_2): Ditto.
4979 (__sync_subword_cmpxchg): New macro.
4980 (__sync_val_compare_and_swap_1): New function.
4981 (__sync_bool_compare_and_swap_1): New function.
4982 (__sync_val_compare_and_swap_2): New function.
4983 (__sync_bool_compare_and_swap_2): New function.
4984 (__atomic_subword): Rename to ...
4985 (__subword): ... New name.
4986 (__atomic_subword_fetch): Use __subword.
4987 (__sync_subword_fetch): New macro.
4988 (__sync_fetch_and_add_1): New function.
4989 (__sync_fetch_and_sub_1): New function.
4990 (__sync_fetch_and_or_1): New function.
4991 (__sync_fetch_and_and_1): New function.
4992 (__sync_fetch_and_xor_1): New function.
4993 (__sync_fetch_and_nand_1): New function.
4994 (__sync_fetch_and_add_2): New function.
4995 (__sync_fetch_and_sub_2): New function.
4996 (__sync_fetch_and_or_2): New function.
4997 (__sync_fetch_and_and_2): New function.
4998 (__sync_fetch_and_xor_2): New function.
4999 (__sync_fetch_and_nand_2): New function.
5000 (__sync_add_and_fetch_1): New function.
5001 (__sync_sub_and_fetch_1): New function.
5002 (__sync_or_and_fetch_1): New function.
5003 (__sync_and_and_fetch_1): New function.
5004 (__sync_xor_and_fetch_1): New function.
5005 (__sync_nand_and_fetch_1): New function.
5006 (__sync_add_and_fetch_2): New function.
5007 (__sync_sub_and_fetch_2): New function.
5008 (__sync_or_and_fetch_2): New function.
5009 (__sync_and_and_fetch_2): New function.
5010 (__sync_xor_and_fetch_2): New function.
5011 (__sync_nand_and_fetch_2): New function.
5012 (__atomic_subword_lock): Use __subword.
5013 (__sync_subword_lock): New macro.
5014 (__sync_lock_test_and_set_1): New function.
5015 (__sync_lock_test_and_set_2): New function.
5017 2014-01-25 Walter Lee <walt@tilera.com>
5019 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5020 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5021 (__atomic_subword): Ditto.
5023 2014-01-25 Walter Lee <walt@tilera.com>
5025 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5026 a prefix op argument.
5027 (__atomic_nand_fetch_4): Add prefix op.
5028 (__atomic_nand_fetch_8): Ditto.
5030 2014-01-21 Baruch Siach <barch@tkos.co.il>
5032 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5034 2014-01-09 Rong Xu <xur@google.com>
5036 * libgcov-driver.c (this_prg): make it local to save
5038 (gcov_exit_compute_summary): Ditto.
5039 (gcov_exit_merge_gcda): Ditto.
5040 (gcov_exit_merge_summary): Ditto.
5041 (gcov_exit_dump_gcov): Ditto.
5043 2014-01-08 Rong Xu <xur@google.com>
5045 * libgcov-driver.c: Use libgcov.h.
5046 (buffer_fn_data): Use xmalloc instead of malloc.
5047 (gcov_exit_merge_gcda): Ditto.
5048 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5049 * libgcov.h: New common header files for libgcov-*.h.
5050 * libgcov-interface.c: Use libgcov.h
5051 * libgcov-merge.c: Ditto.
5052 * libgcov-profiler.c: Ditto.
5053 * Makefile.in: Add dependence to libgcov.h
5055 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5057 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5058 case of small numerator and finite nonzero result.
5060 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5062 Update copyright years
5064 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5066 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5067 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5068 config/arc/dp-hack.h, config/arc/fp-hack.h,
5069 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5070 config/arc/ieee-754/arc600-dsp/divdf3.S,
5071 config/arc/ieee-754/arc600-dsp/divsf3.S,
5072 config/arc/ieee-754/arc600-dsp/muldf3.S,
5073 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5074 config/arc/ieee-754/arc600-mul64/divdf3.S,
5075 config/arc/ieee-754/arc600-mul64/divsf3.S,
5076 config/arc/ieee-754/arc600-mul64/muldf3.S,
5077 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5078 config/arc/ieee-754/arc600/divsf3.S,
5079 config/arc/ieee-754/arc600/mulsf3.S,
5080 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5081 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5082 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5083 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5084 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5085 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5086 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5087 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5088 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5089 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5090 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5091 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5092 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5093 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5094 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5095 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5096 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5097 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5098 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5099 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5100 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5101 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5102 vtv_start_preinit.c: Use the standard form for the copyright notice.
5104 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5105 Chung-Lin Tang <cltang@codesourcery.com>
5106 Based on patches from Altera Corporation
5108 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5109 * config/nios2/lib2-nios2.h: New file.
5110 * config/nios2/lib2-divmod-hi.c: New file.
5111 * config/nios2/linux-unwind.h: New file.
5112 * config/nios2/lib2-divmod.c: New file.
5113 * config/nios2/linux-atomic.c: New file.
5114 * config/nios2/t-nios2: New file.
5115 * config/nios2/crti.asm: New file.
5116 * config/nios2/t-linux: New file.
5117 * config/nios2/lib2-divtable.c: New file.
5118 * config/nios2/lib2-mul.c: New file.
5119 * config/nios2/tramp.c: New file.
5120 * config/nios2/crtn.asm: New file.
5122 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5124 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5125 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5126 from cpuid.h to check vendor signatures.
5128 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5130 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5131 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5132 (get_amd_cpu): Likewise.
5134 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5136 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5139 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5140 H.J. Lu <hongjiu.lu@intel.com>
5143 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5145 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5146 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5147 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5148 FEATURE_XOP and FEATURE_FMA.
5149 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5151 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5152 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5153 FEATURE_FMA4 and FEATURE_XOP.
5155 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5157 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5158 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5159 (get_intel_cpu): Updated.
5161 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5163 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5165 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5167 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5168 instructions when __SSE_MATH__ is defined.
5170 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5172 * config.host (microblaze-*-rtems*): New.
5174 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5176 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5177 architectures that do not have hardware divide instruction.
5178 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5180 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5182 * longlong.h: Delete (moved to include/).
5184 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5186 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5187 of normal number and qNaN to not raise an inexact exception.
5189 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5191 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5193 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5195 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5196 for correct opcodes on BE.
5198 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5200 * soft-fp/op-4.h: Update from glibc.
5202 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5204 * libgcc2.c (__udivmoddi4): Define new implementation when
5205 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5206 divide instructions.
5208 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5210 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5212 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5214 * config/t-softfp (soft-fp-objects-base): New variable.
5215 (soft-fp-objects): Use it.
5217 2013-11-23 David Edelson <dje.gcc@gmail.com>
5218 Andrew Dixie <andrewd@gentrack.com>
5221 * config/rs6000/aixinitfini.c: New file.
5222 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5223 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5226 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5228 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5230 2013-11-18 Jan Hubicka <jh@suse.cz>
5232 * libgcov-driver.c (run_accounted): Make global level static.
5233 (gcov_exit_merge_summary): Silence warning; do not clear
5235 (gcov_exit): Clear it here.
5237 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5240 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5241 (all_prg, crc32): Remove static vars.
5242 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5244 (gcov_exit_merge_gcda): Add crc32 parameter.
5245 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5246 do not account run if it was already accounted.
5247 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5248 (gcov_exit): Initialize all_prg; update.
5250 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5252 * configure: Regenerate.
5254 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5255 Alan Modra <amodra@gmail.com>
5257 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5258 (frob_update_context): Use it.
5260 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5261 Alan Modra <amodra@gmail.com>
5263 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5264 (trampoline_initial): Provide ELFv2 variant.
5265 (__trampoline_setup): Likewise.
5267 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5268 check for AIX indirect function call sequence if _CALL_ELF == 2.
5270 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5271 Alan Modra <amodra@gmail.com>
5273 * config/rs6000/linux-unwind.h (get_regs): Do not support
5274 old kernel versions if _CALL_ELF == 2.
5275 (frob_update_context): Do not support PLT stub variants only
5276 generated by old linkers if _CALL_ELF == 2.
5278 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5279 Alan Modra <amodra@gmail.com>
5281 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5282 location of CR save area for 64-bit little-endian systems.
5284 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5286 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5288 * config/arm/t-vxworks: Delete.
5290 2013-11-10 Kai Tietz <ktietz@redhat.com>
5292 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5293 Increment load-count on use of LIBGCC_SONAME DLL.
5294 (hmod_libgcc): New static variable to hold handle of
5296 (__gcc_deregister_frame): Decrement load-count of
5299 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5301 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5303 * configure: Regenerate
5305 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5307 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5308 FP_EX_DENORM. Store result to volatile location after SSE division
5309 to close interrupt window. Remove unneeded fwait after x87
5310 division since interrupt window will be closed by emitted fstp.
5311 Rewrite FP_EX_INEXACT handling.
5313 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5315 * soft-fp/README: Update.
5316 * soft-fp/adddf3.c: Update from glibc.
5317 * soft-fp/addsf3.c: Likewise.
5318 * soft-fp/addtf3.c: Likewise.
5319 * soft-fp/divdf3.c: Likewise.
5320 * soft-fp/divsf3.c: Likewise.
5321 * soft-fp/divtf3.c: Likewise.
5322 * soft-fp/double.h: Likewise.
5323 * soft-fp/eqdf2.c: Likewise.
5324 * soft-fp/eqsf2.c: Likewise.
5325 * soft-fp/eqtf2.c: Likewise.
5326 * soft-fp/extenddftf2.c: Likewise.
5327 * soft-fp/extended.h: Likewise.
5328 * soft-fp/extendsfdf2.c: Likewise.
5329 * soft-fp/extendsftf2.c: Likewise.
5330 * soft-fp/extendxftf2.c: Likewise.
5331 * soft-fp/fixdfdi.c: Likewise.
5332 * soft-fp/fixdfsi.c: Likewise.
5333 * soft-fp/fixdfti.c: Likewise.
5334 * soft-fp/fixsfdi.c: Likewise.
5335 * soft-fp/fixsfsi.c: Likewise.
5336 * soft-fp/fixsfti.c: Likewise.
5337 * soft-fp/fixtfdi.c: Likewise.
5338 * soft-fp/fixtfsi.c: Likewise.
5339 * soft-fp/fixtfti.c: Likewise.
5340 * soft-fp/fixunsdfdi.c: Likewise.
5341 * soft-fp/fixunsdfsi.c: Likewise.
5342 * soft-fp/fixunsdfti.c: Likewise.
5343 * soft-fp/fixunssfdi.c: Likewise.
5344 * soft-fp/fixunssfsi.c: Likewise.
5345 * soft-fp/fixunssfti.c: Likewise.
5346 * soft-fp/fixunstfdi.c: Likewise.
5347 * soft-fp/fixunstfsi.c: Likewise.
5348 * soft-fp/fixunstfti.c: Likewise.
5349 * soft-fp/floatdidf.c: Likewise.
5350 * soft-fp/floatdisf.c: Likewise.
5351 * soft-fp/floatditf.c: Likewise.
5352 * soft-fp/floatsidf.c: Likewise.
5353 * soft-fp/floatsisf.c: Likewise.
5354 * soft-fp/floatsitf.c: Likewise.
5355 * soft-fp/floattidf.c: Likewise.
5356 * soft-fp/floattisf.c: Likewise.
5357 * soft-fp/floattitf.c: Likewise.
5358 * soft-fp/floatundidf.c: Likewise.
5359 * soft-fp/floatundisf.c: Likewise.
5360 * soft-fp/floatunditf.c: Likewise.
5361 * soft-fp/floatunsidf.c: Likewise.
5362 * soft-fp/floatunsisf.c: Likewise.
5363 * soft-fp/floatunsitf.c: Likewise.
5364 * soft-fp/floatuntidf.c: Likewise.
5365 * soft-fp/floatuntisf.c: Likewise.
5366 * soft-fp/floatuntitf.c: Likewise.
5367 * soft-fp/gedf2.c: Likewise.
5368 * soft-fp/gesf2.c: Likewise.
5369 * soft-fp/getf2.c: Likewise.
5370 * soft-fp/ledf2.c: Likewise.
5371 * soft-fp/lesf2.c: Likewise.
5372 * soft-fp/letf2.c: Likewise.
5373 * soft-fp/muldf3.c: Likewise.
5374 * soft-fp/mulsf3.c: Likewise.
5375 * soft-fp/multf3.c: Likewise.
5376 * soft-fp/negdf2.c: Likewise.
5377 * soft-fp/negsf2.c: Likewise.
5378 * soft-fp/negtf2.c: Likewise.
5379 * soft-fp/op-1.h: Likewise.
5380 * soft-fp/op-2.h: Likewise.
5381 * soft-fp/op-4.h: Likewise.
5382 * soft-fp/op-8.h: Likewise.
5383 * soft-fp/op-common.h: Likewise.
5384 * soft-fp/quad.h: Likewise.
5385 * soft-fp/single.h: Likewise.
5386 * soft-fp/soft-fp.h: Likewise.
5387 * soft-fp/subdf3.c: Likewise.
5388 * soft-fp/subsf3.c: Likewise.
5389 * soft-fp/subtf3.c: Likewise.
5390 * soft-fp/truncdfsf2.c: Likewise.
5391 * soft-fp/trunctfdf2.c: Likewise.
5392 * soft-fp/trunctfsf2.c: Likewise.
5393 * soft-fp/trunctfxf2.c: Likewise.
5394 * soft-fp/unorddf2.c: Likewise.
5395 * soft-fp/unordsf2.c: Likewise.
5396 * soft-fp/unordtf2.c: Likewise.
5398 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5400 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5401 (_FP_MUL_MEAT_D): Ditto.
5402 (_FP_DIV_MEAT_S): Ditto.
5403 (_FP_DIV_MEAT_D): Ditto.
5404 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5405 t-softfp-sfdf and t-softfp to tmake_file.
5407 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5409 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5410 * config/i386/crtprec.c: Ditto.
5412 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5413 Shiva Chen <shiva0217@gmail.com>
5415 * config.host (nds32*-elf*): Add nds32 target.
5416 * config/nds32 : New directory and files.
5418 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5420 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5421 * config.host (cpu_type) <Setting default>: Add entry for
5423 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5424 <crisv32-*-linux*>: Adjust.
5425 * longlong.h: Wrap the whole CRIS section in a single
5426 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5428 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5430 [__CRIS__] (__umulsidi3): Define.
5431 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5432 * config/cris/sfp-machine.h: New file.
5433 * config/cris/umulsidi3.S: New file.
5434 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5435 * config/cris/arit.c (SIGNMULT): New macro.
5436 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5437 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5438 saving 3 out of originally 33 cycles from the fastest
5439 path, 3 out of 54 from the medium path and one from the longest
5440 path. Improve comments.
5442 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5444 * sync.c: Remove static aliases and define each function directly
5445 under its real name.
5447 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5449 * config.host (hppa*64*-*-linux*): Define extra_parts.
5450 (hppa*-*-linux*): Likewise.
5452 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5454 * config/arc/crtgend.S: Add 2013 to Copyright years.
5455 * config/arc/gmon/atomic.h: Likewise.
5456 * config/arc/gmon/auxreg.h: Likewise.
5457 * config/arc/gmon/sys/gmon_out.h: Likewise.
5458 * config/arc/gmon/sys/gmon.h: Likewise.
5459 * config/arc/gmon/prof-freq.c: Likewise.
5460 * config/arc/gmon/mcount.c: Likewise.
5461 * config/arc/gmon/prof-freq-stub.S: Likewise.
5462 * config/arc/gmon/gmon.c: Likewise.
5463 * config/arc/gmon/machine-gmon.h: Likewise.
5464 * config/arc/gmon/profil.S: Likewise.
5465 * config/arc/gmon/dcache_linesz.S: Likewise.
5466 * config/arc/crtg.S: Likewise.
5467 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5468 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5469 * config/arc/ieee-754/adddf3.S: Likewise.
5470 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5471 * config/arc/ieee-754/fixsfsi.S: Likewise.
5472 * config/arc/ieee-754/gtsf2.S: Likewise.
5473 * config/arc/ieee-754/floatsisf.S: Likewise.
5474 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5475 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5476 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5477 * config/arc/ieee-754/fixdfsi.S: Likewise.
5478 * config/arc/ieee-754/addsf3.S: Likewise.
5479 * config/arc/ieee-754/gesf2.S: Likewise.
5480 * config/arc/ieee-754/floatsidf.S: Likewise.
5481 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5482 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5483 * config/arc/ieee-754/gtdf2.S: Likewise.
5484 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5485 * config/arc/ieee-754/uneqdf2.S: Likewise.
5486 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5487 * config/arc/ieee-754/uneqsf2.S: Likewise.
5488 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5489 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5490 * config/arc/ieee-754/eqdf2.S: Likewise.
5491 * config/arc/ieee-754/ordsf2.S: Likewise.
5492 * config/arc/ieee-754/divsf3.S: Likewise.
5493 * config/arc/ieee-754/divdf3.S: Likewise.
5494 * config/arc/ieee-754/floatunsidf.S: Likewise.
5495 * config/arc/ieee-754/orddf2.S: Likewise.
5496 * config/arc/ieee-754/eqsf2.S: Likewise.
5497 * config/arc/ieee-754/gedf2.S: Likewise.
5498 * config/arc/crtn.S: Likewise.
5499 * config/arc/crti.S: Likewise.
5500 * config/arc/t-arc700-uClibc: Likewise.
5501 * config/arc/asm.h: Likewise.
5502 * config/arc/libgcc-excl.ver: Likewise.
5503 * config/arc/t-arc-newlib: Likewise.
5504 * config/arc/divtab-arc700.c: Likewise.
5505 * config/arc/initfini.c: Likewise.
5506 * config/arc/fp-hack.h: Likewise.
5508 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5509 Diego Novillo <dnovillo@google.com>
5511 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5512 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5513 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5514 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5516 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5517 Brendan Kehoe <brendan@zen.org>
5518 Simon Cook <simon.cook@embecosm.com>
5520 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5521 * config/arc: New directory.
5522 * longlong.h [__arc__] (umul_ppmm): Remove.
5523 [__arc__] (__umulsidi3): Define.
5524 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5525 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5527 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5529 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5531 * config/i386/gthr-win32.h: Likewise.
5533 2013-09-16 DJ Delorie <dj@redhat.com>
5535 * config/rl78/vregs.h: Add G10 register definitions.
5536 * config/rl78/lib2mul.c: Enable for RL78/G10.
5537 * config/rl78/lib2div.c: Likewise.
5538 * config/rl78/lshrsi3.S: Use vregs.h.
5539 * config/rl78/cmpsi2.S: Likewise.
5540 * config/rl78/trampoline.S: Likewise.
5541 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5543 2013-09-14 DJ Delorie <dj@redhat.com>
5544 Nick Clifton <nickc@redhat.com>
5546 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5547 * config/rl78/vregs.h: New.
5548 * config/rl78/signbit.S: New file. Implements signbit function.
5549 * config/rl78/divmodsi.S: New.
5550 * config/rl78/divmodhi.S: New.
5551 * config/rl78/divmodqi.S: New.
5552 * config/rl78/t-rl78: Build them here...
5553 * config/rl78/lib2div.c: ...but not here.
5555 2013-09-12 DJ Delorie <dj@redhat.com>
5557 * config.host (msp*-*-elf): New.
5558 * config/msp430/: New port.
5560 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5562 PR gcov-profile/58127
5563 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5564 __thread var for emulated TLS.
5565 (__gcov_indirect_call_counters): Likewise.
5567 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5568 Catherine Moore <clm@codesourcery.com>
5569 Richard Sandiford <rdsandiford@googlemail.com>
5571 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5572 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5573 (CALL_STUB_NO_RET): Likewise.
5574 (CALL_STUB_RET): Likewise.
5575 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5576 __mips16_ret call/return stub symbols.
5577 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5580 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5582 * config.host <mips*-*-linux*>: Remove a stray comment.
5584 2013-08-10 Jan Hubicka <jh@suse.cz>
5586 Work around binutils PR14342
5587 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5588 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5589 (L_gcov_indirect_call_profiler_v2): New.
5591 2013-08-06 Jan Hubicka <jh@suse.cz>
5593 * libgcov.c (__gcov_indirect_call_callee,
5594 __gcov_indirect_call_counters): New global vars.
5595 (__gcov_indirect_call_profiler): replace by ...
5596 (__gcov_indirect_call_profiler_v2) ... this one.
5598 2013-08-06 Caroline Tice <cmtice@google.com>
5600 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5601 vtv_start_preinit.o and vtv_end_preinit.o.
5602 * configure.ac: Add code to check/set enable_vtable_verify.
5603 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5605 * vtv_start_preinit.c: New file.
5606 * vtv_end_preinit.c: New file.
5607 * vtv_start.c: New file.
5608 * vtv_end.c: New file.
5609 * configure: Regenerated.
5611 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5613 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5614 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5615 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5616 GPL-3.0-with-GCC-exception.
5618 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5620 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5623 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5625 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5626 mapping for FPRs when creating the fallback framestate.
5628 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5631 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5632 (__round_s2_const, __round_u2_const)
5633 (__round_s4_const, __round_u4_const, __round_x8):
5634 Saturate result if addition result cannot be represented.
5636 2013-07-15 Matthias Klose <doko@ubuntu.com>
5638 * libgcc2.c: Don't include <limits.h>.
5640 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5642 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5644 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5647 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5649 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5652 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5654 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5655 instead of table lookups.
5656 (__popcountDI2): Likewise.
5658 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5660 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5663 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5666 * soft-fp/adddf3.c: Update from glibc.
5667 * soft-fp/addsf3.c: Likewise.
5668 * soft-fp/addtf3.c: Likewise.
5669 * soft-fp/divdf3.c: Likewise.
5670 * soft-fp/divsf3.c: Likewise.
5671 * soft-fp/divtf3.c: Likewise.
5672 * soft-fp/double.h: Likewise.
5673 * soft-fp/eqdf2.c: Likewise.
5674 * soft-fp/eqsf2.c: Likewise.
5675 * soft-fp/eqtf2.c: Likewise.
5676 * soft-fp/extenddftf2.c: Likewise.
5677 * soft-fp/extended.h: Likewise.
5678 * soft-fp/extendsfdf2.c: Likewise.
5679 * soft-fp/extendsftf2.c: Likewise.
5680 * soft-fp/fixdfdi.c: Likewise.
5681 * soft-fp/fixdfsi.c: Likewise.
5682 * soft-fp/fixsfdi.c: Likewise.
5683 * soft-fp/fixsfsi.c: Likewise.
5684 * soft-fp/fixtfdi.c: Likewise.
5685 * soft-fp/fixtfsi.c: Likewise.
5686 * soft-fp/fixunsdfdi.c: Likewise.
5687 * soft-fp/fixunsdfsi.c: Likewise.
5688 * soft-fp/fixunssfdi.c: Likewise.
5689 * soft-fp/fixunssfsi.c: Likewise.
5690 * soft-fp/fixunstfdi.c: Likewise.
5691 * soft-fp/fixunstfsi.c: Likewise.
5692 * soft-fp/floatdidf.c: Likewise.
5693 * soft-fp/floatdisf.c: Likewise.
5694 * soft-fp/floatditf.c: Likewise.
5695 * soft-fp/floatsidf.c: Likewise.
5696 * soft-fp/floatsisf.c: Likewise.
5697 * soft-fp/floatsitf.c: Likewise.
5698 * soft-fp/floatundidf.c: Likewise.
5699 * soft-fp/floatundisf.c: Likewise.
5700 * soft-fp/floatunditf.c: Likewise.
5701 * soft-fp/floatunsidf.c: Likewise.
5702 * soft-fp/floatunsisf.c: Likewise.
5703 * soft-fp/floatunsitf.c: Likewise.
5704 * soft-fp/gedf2.c: Likewise.
5705 * soft-fp/gesf2.c: Likewise.
5706 * soft-fp/getf2.c: Likewise.
5707 * soft-fp/ledf2.c: Likewise.
5708 * soft-fp/lesf2.c: Likewise.
5709 * soft-fp/letf2.c: Likewise.
5710 * soft-fp/muldf3.c: Likewise.
5711 * soft-fp/mulsf3.c: Likewise.
5712 * soft-fp/multf3.c: Likewise.
5713 * soft-fp/negdf2.c: Likewise.
5714 * soft-fp/negsf2.c: Likewise.
5715 * soft-fp/negtf2.c: Likewise.
5716 * soft-fp/op-1.h: Likewise.
5717 * soft-fp/op-2.h: Likewise.
5718 * soft-fp/op-4.h: Likewise.
5719 * soft-fp/op-8.h: Likewise.
5720 * soft-fp/op-common.h: Likewise.
5721 * soft-fp/quad.h: Likewise.
5722 * soft-fp/single.h: Likewise.
5723 * soft-fp/soft-fp.h: Likewise.
5724 * soft-fp/subdf3.c: Likewise.
5725 * soft-fp/subsf3.c: Likewise.
5726 * soft-fp/subtf3.c: Likewise.
5727 * soft-fp/truncdfsf2.c: Likewise.
5728 * soft-fp/trunctfdf2.c: Likewise.
5729 * soft-fp/trunctfsf2.c: Likewise.
5730 * soft-fp/unorddf2.c: Likewise.
5731 * soft-fp/unordsf2.c: Likewise.
5732 * soft-fp/unordtf2.c: Likewise.
5733 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5734 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5735 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5736 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5737 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5738 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5739 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5740 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5741 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5742 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5743 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5744 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5746 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5748 * config/mips/lib2funcs.c: New file.
5749 * config/mips/t-mips (LIB2ADD_ST): Add it.
5751 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5754 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5755 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5757 2013-06-08 Walter Lee <walt@tilera.com>
5759 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5760 Replace int64_t with long long. Add __extension__ where
5762 * config/tilepro/atomic.c: Include config.h.
5764 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5766 * config.host (arm-wrs-vxworks): Configure with other soft float.
5768 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5770 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5771 (mips64r5900el-*-elf*): New configurations.
5773 2013-06-04 Alan Modra <amodra@gmail.com>
5775 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5777 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5779 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5781 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5783 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5784 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5785 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5787 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5789 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5790 (powerpc-wrs-vxworks): Likewise.
5792 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5794 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5795 signal frames as well.
5796 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5797 STACK_BIAS to the CFA offset.
5799 2013-05-17 Richard Henderson <rth@redhat.com>
5802 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5803 (execute_cfa_program): Use it when storing to fs->regs.
5805 2013-05-08 Kai Tietz <ktietz@redhat.com>
5807 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5808 (__deregister_frame_info): Likewise.
5810 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5812 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5815 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5817 2013-04-25 Alan Modra <amodra@gmail.com>
5819 * config.host: Match little-endian powerpc-linux.
5821 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5823 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5824 as 'unsigned long long' instead of 'unsigned long'.
5825 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5828 2013-04-10 Julian Brown <julian@codesourcery.com>
5830 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5831 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5832 unsigned char/unsigned short.
5833 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5835 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5838 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5840 2013-04-04 Meador Inge <meadori@codesourcery.com>
5842 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5843 computing the location of the link register.
5844 (aeabi_uldivmod): Ditto.
5846 2013-03-27 Kai Tietz <ktietz@redhat.com>
5848 * config.host: Add support for cygwin x64 target.
5849 * configure: Regenerated.
5851 2013-03-26 Walter Lee <walt@tilera.com>
5853 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5854 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5856 2013-03-25 Kai Tietz <ktietz@redhat.com>
5858 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5860 2013-03-20 Robert Mason <rbmj@verizon.net>
5862 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5863 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5864 (__gthread_leave_tsd_dtor_context): Add prototypes.
5865 (tls_delete_hook): Update.
5867 2013-03-20 Catherine Moore <clm@codesourcery.com>
5868 Joseph Myers <joseph@codesourcery.com>
5869 Chao-ying Fu <fu@mips.com>
5871 * config/mips/mips16.S: Don't build for microMIPS.
5872 * config/mips/linux-unwind.h: Handle microMIPS frame.
5873 * config/mips/crtn.S (fini, init): New labels.
5875 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5877 PR tree-optimization/53265
5878 * unwind-dw2.c (execute_cfa_program): Avoid
5879 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5880 on targets with DWARF_FRAME_REGISTERS < 32.
5882 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5885 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5886 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5888 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5890 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5891 sandybridge processors.
5893 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5896 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5899 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5901 * config/microblaze/crti.S: Setup stack protection at entry
5903 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5905 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5906 (__rotldi3): Shift bytewise if applicable.
5908 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5910 * config/aarch64/sync-cache.c
5911 (__aarch64_sync_cache_range): Silence warnings.
5913 2013-02-25 Catherine Moore <clm@codesourcery.com>
5916 2013-02-24 Catherine Moore <clm@codesourcery.com>
5917 Joseph Myers <joseph@codesourcery.com>
5918 Chao-ying Fu <fu@mips.com>
5920 * config/mips/mips16.S: Don't build for microMIPS.
5921 * config/mips/linux-unwind.h: Handle microMIPS frame.
5922 * config/mips/crtn.S (fini, init): New labels.
5924 2013-02-24 Catherine Moore <clm@codesourcery.com>
5925 Joseph Myers <joseph@codesourcery.com>
5926 Chao-ying Fu <fu@mips.com>
5928 * config/mips/mips16.S: Don't build for microMIPS.
5929 * config/mips/linux-unwind.h: Handle microMIPS frame.
5930 * config/mips/crtn.S (fini, init): New labels.
5932 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5933 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5936 2013-02-16 Alan Modra <amodra@gmail.com>
5939 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5940 (ppc_fallback_frame_state): Always set up save locations for fp
5941 and altivec. Don't bother with non-callee-saved regs, r0-r13
5942 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5944 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5947 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5949 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5950 _ssmulha3, _usmulusa3, _ssmulsa3.
5951 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5952 (__muldi3): XCALL __muldi3_6 instead of rcall.
5953 (__umulsidi3, __mulsidi3): New functions.
5954 (do_prologue_saves, do_epilogue_restores): New .macros.
5955 (__divdi3_moddi3): Use them.
5956 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5957 (__usmulusa3, __ssmulsa3): New functions.
5959 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5960 Jack Howarth <howarth@bromo.med.uc.edu>
5961 Patrick Marlier <patrick.marlier@gmail.com>
5964 * config/darwin-crt-tm.c: Remove dummy functions hack.
5966 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5969 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5970 * config/avr/lib2-object.mk: New iterator to build objects from it.
5971 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5973 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5974 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5975 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5976 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5977 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5978 * config/avr/lib1funcs-fixed.S: Implement them.
5980 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5982 Update copyright years.
5984 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5987 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5988 Add crtcxa to extra_parts.
5989 * config/rs6000/exit.h: New file.
5990 * config/rs6000/cxa_atexit.c: New file.
5991 * config/rs6000/cxa_finalize.c: New file.
5992 * config/rs6000/crtcxa.c: New file.
5993 * config/rs6000/t-aix-cxa: New file.
5994 * config/rs6000/libgcc-aix-cxa.ver: New file.
5996 2013-01-31 Nick Clifton <nickc@redhat.com>
5998 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6001 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6004 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6005 _mulQQ, _mulHQ, _mulHA, _mulSA,
6006 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6007 _divQQ, _divHQ, _divHA, _divSA,
6008 _divUQQ, _divUHQ, _divUHA, _divUSA.
6010 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6012 * config.host(microblaze*-linux*): tmake_file: Remove
6013 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6014 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6015 to exclude functions from being built with libgcc.c and use
6016 the microblaze assembly.
6018 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6020 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6023 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6025 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6026 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6027 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6028 alignment operation.
6030 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6032 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6033 loop start address for cache clearing.
6035 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6037 * config/avr/lib1funcs.S: Remove trailing blanks.
6038 * config/avr/lib1funcs-fixed.S: Ditto.
6040 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6042 * config/avr/avr-lib.h: Add GPL copyright notice.
6044 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6046 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6047 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6048 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6049 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6051 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6053 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6054 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6056 2013-01-04 Nick Clifton <nickc@redhat.com>
6058 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6059 the CALLT instruction is supported.
6061 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6063 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6064 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6066 2012-12-13 John Tytgat <John@bass-software.com>
6068 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6071 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6074 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6075 undefined signed overflows.
6077 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6080 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6082 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6084 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6085 (FP_TRAPPING_EXCEPTIONS): Define.
6086 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6087 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6089 2012-12-04 Richard Henderson <rth@redhat.com>
6092 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6094 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6096 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6097 (FP_EX_SHIFT): Define.
6098 (FP_TRAPPING_EXCEPTIONS): Define.
6100 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6102 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6103 (FP_ROUNDMODE): Use FP_RND_MASK.
6104 * config/aarch64/sfp-exceptions.c: New.
6105 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6106 Use __sfp_handle_exceptions.
6108 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6110 * config.host: (arm*-*-freebsd*): Remove.
6111 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6112 (arm*-*-elf*): Remove.
6113 (arm*-*-wince-pe*): Remove.
6114 * arm/unwind-arm.c (struct fpa_reg): Delete.
6115 (struct fpa_regs): Delete.
6116 (phase1_vrs): Remove fpa element.
6117 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6118 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6119 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6120 * ieee754-sf.S (floatundisf): Remove FPA support.
6121 (floatdisf): Likewise.
6122 * ieee75f-df.S (floatundidf): Likewise.
6123 (floatdidf): Likewise.
6125 2012-11-29 Kai Tietz <ktietz@redhat.com>
6128 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6129 * unwind-generic.h: Likewise.
6130 * unwind-seh.c: Likewise.
6132 2012-11-28 Richard Henderson <rth@redhat.com>
6135 * emutls.c (__emutls_get_address): Avoid race condition between
6136 obj->loc.offset read and emutls_key initialization.
6138 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6140 Adjust decimal point of signed accum mode to GCC default.
6143 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6145 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6146 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6147 (__mulha3, __mulsa3)
6148 (__divqq3, __divha3, __divsa3): Adjust to new position of
6149 decimal point of signed accum types.
6151 (__mulusa3_round): New function.
6152 (__mulusa3): Use it.
6153 (__divqq_helper): New function.
6154 (__udivuqq3): Use it.
6156 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6159 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6161 2012-11-18 Teresa Johnson <tejohnson@google.com>
6164 * libgcov.c (gcov_exit): Remove merged program summary
6165 comparison unless !GCOV_LOCKED.
6167 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6169 * soft-fp: Updated from glibc upstream.
6171 2012-11-06 Ian Lance Taylor <iant@google.com>
6173 * generic-morestack.c (__generic_morestack): Align the returned
6174 stack pointer to a 32 byte boundary.
6175 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6176 increment the return address until we have decided that we don't
6177 have a varargs function.
6178 (__morestack) [32-bit]: Align stack correctly when calling C
6180 (__morestack) [64-bit]: Likewise.
6182 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6184 * configure: Regenerate.
6186 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6189 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6190 * config/i386/sfp-machine.h: Guard exception handling
6191 code with _SOFT_FLOAT.
6192 * config/i386/32/sfp-machine.h: Guard rounding handling
6193 code with _SOFT_FLOAT.
6194 * config/i386/64/sfp-machine.h: Ditto.
6196 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6198 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6201 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6203 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6204 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6205 when appropriate. Correct structure element types.
6206 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6207 -minline-all-stringops from compile flags.
6209 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6211 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6213 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6215 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6217 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6219 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6222 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6223 Jim MacArthur <jim.macarthur@arm.com>
6224 Marcus Shawcroft <marcus.shawcroft@arm.com>
6225 Nigel Stephens <nigel.stephens@arm.com>
6226 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6227 Richard Earnshaw <rearnsha@arm.com>
6228 Sofiane Naci <sofiane.naci@arm.com>
6229 Stephen Thomas <stephen.thomas@arm.com>
6230 Tejas Belagod <tejas.belagod@arm.com>
6231 Yufeng Zhang <yufeng.zhang@arm.com>
6233 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6234 * config/aarch64/crti.S: New file.
6235 * config/aarch64/crtn.S: New file.
6236 * config/aarch64/linux-unwind.h: New file.
6237 * config/aarch64/sfp-machine.h: New file.
6238 * config/aarch64/sync-cache.c: New file.
6239 * config/aarch64/t-aarch64: New file.
6240 * config/aarch64/t-softfp: New file.
6242 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6244 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6245 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6246 no-longer-needed LDBU insns.
6248 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6251 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6252 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6254 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6256 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6258 2012-10-15 Matthias Klose <doko@ubuntu.com>
6260 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6262 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6264 * configure: Regenerate.
6265 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6267 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6269 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6270 instructions for 64bit targets only.
6272 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6274 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6275 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6276 * config/i386/32/sfp-machine.h: ... here.
6277 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6278 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6281 2012-10-07 Matthias Klose <doko@ubuntu.com>
6283 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6285 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6287 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6289 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6290 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6291 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6294 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6297 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6298 Fix parameter names.
6300 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6303 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6304 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6305 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6307 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6310 * config/sh/linux-atomic.S: Delete.
6311 * config/sh/linux-atomic.c: New.
6312 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6313 linux-atomic.c. Add cflags to disable warnings.
6315 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6318 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6320 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6321 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6322 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6323 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6324 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6326 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6328 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6330 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6331 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6333 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6335 * config.host (hppa-*-openbsd*): New target.
6336 * config/pa/t-openbsd: New file.
6338 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6341 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6342 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6343 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6344 (__divsa3): Use __negsi2 to negate r_quoL.
6345 * config/avr/lib1funcs.S (FALIAS): New macro.
6346 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6347 (__negsi2): ...this new function.
6348 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6349 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6350 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6351 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6352 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6353 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6355 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6358 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6359 (lshrsi3): Reimplement as lshrsi3_r0.
6361 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6364 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6367 2012-09-07 Teresa Johnson <tejohnson@google.com>
6369 PR gcov-profile/54487
6370 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6373 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6376 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6377 not configured --with-avrlibc=no.
6378 * config/avr/t-avrlibc: New file.
6379 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6380 (DPBIT_FUNCS): Ditto.
6381 (TPBIT_FUNCS): Ditto.
6383 2012-09-04 Teresa Johnson <tejohnson@google.com>
6385 * libgcov.c (struct gcov_summary_buffer): New structure.
6386 (gcov_histogram_insert): New function.
6387 (gcov_compute_histogram): Ditto.
6388 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6389 histograms during summary merging.
6391 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6393 * config.host (x86_64-*-openbsd*): New target.
6395 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6397 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6400 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6403 * config/avr/t-avr (conv_X): Rename to func_X.
6405 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6408 * config/avr/lib1funcs-fixed.S: New file.
6409 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6410 after they are used.
6411 (neg2, neg4): New macros.
6412 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6413 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6414 (__umulhisi3): Speed up MUL variant if there is enough flash.
6415 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6417 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6418 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6419 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6420 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6421 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6422 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6423 (LIB2FUNCS_EXCLUDE): Add supported functions.
6425 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6427 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6428 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6430 * fixed-obj.mk: Only expand dependency if $o is not in
6433 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6435 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6437 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6439 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6440 depend on --enable-shared.
6441 ($(lib1asmfuncs-o)): Use %.vis files independent of
6443 * static-object.mk ($(base)$(objext), $(base).vis)
6444 ($(base)_s$(objext)): Use same rules for visibility handling as in
6447 2012-08-21 Ian Lance Taylor <iant@google.com>
6449 * config/i386/morestack.S (__morestack_non_split): Increase amount
6450 of space allocated for non-split code stack.
6452 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6454 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6455 even if inhibit_libc.
6457 2012-08-17 Julian Brown <julian@codesourcery.com>
6459 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6460 -fexceptions -fnon-call-exceptions if not defined.
6461 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6462 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6464 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6466 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6469 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6471 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6472 rs6000/t-slibgcc-aix.
6474 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6476 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6478 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6480 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6482 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6485 * Makefile.in (version): Replace top_srcdir with srcdir.
6487 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6489 * Makefile.in (version): set to BASE-VER file from gcc directory.
6491 2012-08-01 Nick Clifton <nickc@redhat.com>
6493 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6494 Implements __clrsb for an HImode argument.
6496 2012-07-31 Nick Clifton <nickc@redhat.com>
6498 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6499 Implements __clrsb for an HImode argument.
6500 * config/stormy16/clrsbhi2.c: New file:
6501 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6503 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6505 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6507 2012-07-19 Tristan Gingold <gingold@adacore.com>
6508 Richard Henderson <rth@redhat.com>
6510 * unwind-seh.c: New file.
6511 * unwind-generic.h: Include windows.h for SEH.
6512 (_Unwind_Exception): Use 6 private fields for SEH.
6513 (_GCC_specific_handler): Declare.
6514 * unwind-c.c (__gcc_personality_seh0): New function.
6516 * config/i386/libgcc-cygming.ver: New file.
6517 * config/i386/t-seh-eh: New file.
6518 * config.host (x86_64-*-mingw*): Default to seh.
6520 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6522 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6524 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6526 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6527 __builtin_expect when checking for exceptions.
6528 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6530 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6532 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6533 function declaration.
6534 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6536 * config/ia64/sfp-exceptions.c: New.
6537 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6539 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6541 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6542 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6543 * config/i386/64/sfp-machine: ... (delete here) ...
6544 * config/i386/sfp-machine.h: ... to here.
6545 (FP_EX_MASK): Remove.
6547 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6549 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6551 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6552 * config/i386/libgcc-sol2.ver: Ditto.
6553 * config/i386/libgcc-glibc.ver: Ditto.
6555 2012-06-11 Roland McGrath <mcgrathr@google.com>
6557 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6558 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6561 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6563 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6564 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6565 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6566 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6567 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6568 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6569 * config/i386/64/sfp-machine: ... (delete here) ...
6570 * config/i386/sfp-machine.h: ... to here.
6572 (__sfp_handle_exceptions): New function declaration.
6573 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6574 * config/i386/sfp-exceptions.c: New.
6575 * config/i386/t-softfp: New.
6576 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6577 i386/t-softfp to tmake_file.
6579 2012-06-03 David S. Miller <davem@davemloft.net>
6581 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6584 2012-05-31 David S. Miller <davem@davemloft.net>
6586 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6587 multiply and divide instructions on 32-bit when V9.
6588 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6590 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6592 * config/arm/ieee754-df.S: Fix typos.
6593 * config/arm/ieee754-sf.S: Fix typos.
6594 * config/c6x/libunwind.S: Fix typos.
6595 * config/epiphany/udivsi3-float.c: Fix typos.
6596 * config/microblaze/muldi3_hard.S: Fix typos.
6597 * config/picochip/adddi3.S: Fix typos.
6598 * config/picochip/ashlsi3.S: Fix typos.
6599 * config/picochip/ashrsi3.S: Fix typos.
6600 * config/picochip/clzsi2.S: Fix typos.
6601 * config/picochip/cmpsi2.S: Fix typos.
6602 * config/picochip/divmod15.S: Fix typos.
6603 * config/picochip/divmodhi4.S: Fix typos.
6604 * config/picochip/divmodsi4.S: Fix typos.
6605 * config/picochip/longjmp.S: Fix typos.
6606 * config/picochip/lshrsi3.S: Fix typos.
6607 * config/picochip/parityhi2.S: Fix typos.
6608 * config/picochip/popcounthi2.S: Fix typos.
6609 * config/picochip/setjmp.S: Fix typos.
6610 * config/picochip/subdi3.S: Fix typos.
6611 * config/picochip/ucmpsi2.S: Fix typos.
6612 * config/picochip/udivmodhi4.S: Fix typos.
6613 * config/picochip/udivmodsi4.S: Fix typos.
6614 * config/spu/divv2df3.c: Fix typos.
6615 * config/spu/mfc_multi_tag_release.c: Fix typos.
6616 * config/spu/mfc_tag_release.c: Fix typos.
6617 * configure.ac: Fix typos.
6618 * configure: Regenerate.
6620 2012-05-25 Ian Lance Taylor <iant@google.com>
6622 * config/i386/morestack.S (__morestack_non_split): Check whether
6623 caller is varargs and needs %bp to hold the stack frame on return.
6625 2012-05-25 Olivier Hainque <hainque@adacore.com>
6627 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6628 sequence in the non pic case on VxWorks.
6630 2012-05-24 Olivier Hainque <hainque@adacore.com>
6632 * Makefile.in: Move dependency on install-unwind_h from
6633 "install-leaf" to "install".
6635 2012-05-24 Olivier Hainque <hainque@adacore.com>
6637 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6638 Use a separate command for stamp removals.
6640 2012-05-21 Andrew Pinski <apinski@cavium.com>
6643 * configure.ac: Define the default includes to being none.
6644 * configure: Regenerate.
6646 2012-05-16 Olivier Hainque <hainque@adacore.com>
6648 * Makefile.in (install-unwind_h): Rename into ...
6649 (install-unwind_h-forbuild): New target.
6650 (all): Use it instead of the former install-unwind_h.
6651 (install-unwind_h): Reinstate, copy to user install destination
6652 for include files, not to the internal gcc object directory one.
6653 (install-leaf): Depend on it.
6655 2012-05-15 Olivier Hainque <hainque@adacore.com>
6657 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6658 register numbers. LR_REGNO replaces R_LR.
6659 (ucontext_for): New, helper for ...
6660 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6662 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6664 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6666 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6667 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6668 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6670 (i[34567]86-*-*, x86_64-*-*): ... here.
6672 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6673 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6675 * config/i386/i386-cpuinfo.c: Rename to ...
6676 * config/i386/cpuinfo.c: ... this.
6677 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6679 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6680 (libgcc_cv_init_priority): New test.
6681 * configure: Regenerate.
6682 * config.in: New file.
6683 * Makefile.in (clean): Rename config.h to auto-target.h.
6684 (config.h): Likewise.
6685 (stamp-h): Likewise.
6687 * config/i386/cpuinfo.c (auto-target.h): Include.
6688 (CONSTRUCTOR_PRIORITY): Define.
6689 (__cpu_indicator_init): Use it.
6691 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6693 * longlong.h: Use a URL instead of an FSF postal address.
6694 Replace spaces with tab.
6696 2012-05-08 Teresa Johnson <tejohnson@google.com>
6698 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6699 (__gcov_dump): Ditto.
6700 (gcov_dump_complete): New global variable.
6701 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6702 (__gcov_flush): Outline functionality now in gcov_clear.
6703 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6705 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6707 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6708 (mips*-*-linux*): Include mips/t-tpbit when long double is
6711 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6713 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6714 (get_available_features): New argument. Check for AVX2.
6715 (__cpu_indicator_init): Modify call to get_available_features.
6717 2012-04-25 Alan Modra <amodra@gmail.com>
6719 * config/rs6000/crtsavevr.S: New file.
6720 * config/rs6000/crtrestvr.S: New file.
6721 * config/rs6000/t-savresfgpr: Build the above.
6722 * config/rs6000/t-netbsd: Likewise.
6724 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6726 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6728 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6730 * libgcc/config/i386/i386-cpuinfo.c: New file.
6731 * libgcc/config/i386/t-cpuinfo: New file.
6732 * libgcc/config.host: Include t-cpuinfo.
6733 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6735 2012-04-24 Chao-ying Fu <fu@mips.com>
6737 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6739 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6741 struct siginfo vs. siginfo_t
6743 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6744 siginfo_t instead of struct siginfo.
6745 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6746 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6747 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6748 (ia64_handle_unwabi): Likewise.
6749 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6750 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6751 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6752 (sh_fallback_frame_state): Likewise.
6753 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6754 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6756 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6758 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6761 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6763 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6764 if it hasn't been previously saved.
6766 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6768 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6771 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6774 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6775 instead of __AVR_HAVE_8BIT_SP__.
6777 2012-03-26 Tristan Gingold <gingold@adacore.com>
6779 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6780 (unw_table_entry): Use unw_word instead of unsigned long.
6781 (_Unwind_FindTableEntry): Likewise.
6782 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6783 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6784 (_Unwind_FindTableEntry): Likewise.
6785 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6786 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6787 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6788 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6789 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6790 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6791 (uw_init_context_1, uw_install_context): Likewise.
6792 (unw_word): Move to unwind-ia64.h
6794 2012-03-26 Tristan Gingold <gingold@adacore.com>
6796 * config/vms/vms-ucrt0.c: Update copyright years.
6798 (___gcc_main_flags): Declare.
6799 (__main): Check flags to remap argv and exit code.
6800 * config.host (*-*-*vms*): Adjust extra_parts.
6801 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6804 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6806 * arm/lib1funcs.asm (ctzsi2): New function.
6807 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6808 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6809 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6810 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6811 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6812 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6814 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6816 * config.host: Add bits to support powerpc64-*-freebsd*.
6817 * config/rs6000/freebsd-unwind.h: New file.
6818 * config/rs6000/t-freebsd64: New file.
6820 2012-03-20 Richard Guenther <rguenther@suse.de>
6822 PR gcov-profile/52627
6823 * libgcov.c (init_mx): Fix mutex name.
6825 2012-03-16 Tristan Gingold <gingold@adacore.com>
6827 * config/ia64/vms-unwind.h: Remove ulong (and replace
6828 it by unw_reg where used). Define unw_reg with __int64.
6830 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6832 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6834 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6836 (sparc_is_sighandler): Likewise.
6838 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6840 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6843 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6845 * config/arm/crtn.S: Fix typo.
6847 2012-03-13 Richard Guenther <rguenther@suse.de>
6849 * libgcov.c: Remove stdio.h include and NULL un-define.
6851 2012-03-13 Richard Guenther <rguenther@suse.de>
6854 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6856 2012-03-13 Richard Guenther <rguenther@suse.de>
6858 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6860 2012-03-13 Richard Guenther <rguenther@suse.de>
6862 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6863 and __gthread_mutex_init_function definitions.
6865 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6867 * config.host (mips*-*-openbsd*): Remove.
6869 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6871 * config.host: Remove alpha*-dec-osf5.1* handling.
6872 * config/alpha/gthr-posix.c: Remove.
6873 * config/alpha/libgcc-osf5.ver: Remove.
6874 * config/alpha/osf5-unwind.h: Remove.
6875 * config/alpha/t-osf-pthread: Remove.
6876 * config/alpha/t-slibgcc-osf: Remove.
6877 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6878 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6879 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6880 * mkmap-flat.awk: Remove osf_export handling.
6882 2012-03-12 Richard Guenther <rguenther@suse.de>
6884 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6885 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6886 (__gthread_mutex_init_function): New function.
6887 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6890 * libgcov.c: Include gthr.h.
6891 (__gcov_flush_mx): New global variable.
6892 (init_mx, init_mx_once): New functions.
6893 (__gcov_flush): Protect self with a mutex.
6894 (__gcov_fork): Re-initialize mutex after forking.
6895 * unwind-dw2-fde.c: Change condition under which to use
6896 __GTHREAD_MUTEX_INIT_FUNCTION.
6898 2012-03-12 Tristan Gingold <gingold@adacore.com>
6900 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6901 * config/ia64/t-vms: Likewise.
6903 2012-03-11 Michael Hope <michael.hope@linaro.org>
6905 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6908 2012-03-07 Walter Lee <walt@tilera.com>
6910 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6912 (atomic_xor): Rename and move definition to
6913 config/tilepro/atomic.h.
6914 (atomic_nand): Ditto.
6915 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6917 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6918 (arch_atomic_nand): Ditto.
6920 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6923 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6925 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6928 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6931 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6935 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6936 if RAMPZ affects reading from RAM.
6937 (__tablejump_elpm__): Ditto.
6939 (__movmemx_hi): Ditto.
6940 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6941 (__do_global_dtors): Ditto.
6942 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6943 (__movmemx_hi): Ditto.
6945 2012-03-05 Richard Henderson <rth@redhat.com>
6947 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6948 [ARM] (count_trailing_zeros): Use the builtin.
6950 2012-03-01 Kai Tietz <ktietz@redhat.com>
6952 * soft-fp: Imported from glibc upstream.
6954 2012-02-28 Kai Tietz <ktietz@redhat.com>
6956 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6957 for mingw-targets as attribute gcc_struct.
6959 2012-02-28 Ian Lance Taylor <iant@google.com>
6961 * generic-morestack.c (__splitstack_releasecontext): Correct call
6962 to __morestack_release_segments.
6964 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6967 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6968 for __linux__ when removing signals from __morestack_fullmask.
6970 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6973 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6975 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6977 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6978 instead of HAVE_INITFINI_ARRAY.
6979 * config/ia64/crtend.S: Likewise.
6981 2012-02-20 Kai Tietz <ktietz@redhat.com>
6984 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6986 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6987 to w32-unwind.h header.
6989 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6991 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6992 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6993 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6994 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6996 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6998 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7000 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7003 * config/darwin-crt-tm.c: Correct typo.
7005 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7006 Patrick Marlier <patrick.marlier@gmail.com>
7009 * config/darwin-crt-tm.c: Generate dummy functions.
7011 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7012 Patrick Marlier <patrick.marlier@gmail.com>
7015 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7016 (__doTMRegistrations): Call it.
7017 (__doTMdeRegistrations): Likewise.
7019 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7020 Anatoly Sokolov <aesok@post.ru>
7021 Eric Weddington <eric.weddington@atmel.com>
7024 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7025 (__epilogue_restores__): Ditto.
7027 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7031 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7032 Solaris 11 and slightly reformat.
7033 (sparc_is_sighandler): Likewise.
7035 2012-02-14 Walter Lee <walt@tilera.com>
7037 * config.host: Handle tilegx and tilepro.
7038 * config/tilegx/sfp-machine.h: New file.
7039 * config/tilegx/sfp-machine32.h: New file.
7040 * config/tilegx/sfp-machine64.h: New file.
7041 * config/tilegx/t-crtstuff: New file.
7042 * config/tilegx/t-softfp: New file.
7043 * config/tilegx/t-tilegx: New file.
7044 * config/tilepro/atomic.c: New file.
7045 * config/tilepro/atomic.h: New file.
7046 * config/tilepro/linux-unwind.h: New file.
7047 * config/tilepro/sfp-machine.h: New file.
7048 * config/tilepro/softdivide.c: New file.
7049 * config/tilepro/softmpy.S: New file.
7050 * config/tilepro/t-crtstuff: New file.
7051 * config/tilepro/t-tilepro: New file.
7053 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7057 * gthr-posix.h: Allow static initializer macros to be disabled.
7058 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7060 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7062 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7063 Add t-slibgcc-libgcc to tmake_file.
7064 * config/mips/libgcc-mips16.ver: Revert previous patch.
7065 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7067 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7068 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7070 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7071 * config/cr16/crti.S: New file.
7072 * config/cr16/crtlibid.S: New file.
7073 * config/cr16/crtn.S: New file.
7074 * config/cr16/lib1funcs.S: New file.
7075 * config/cr16/t-cr16: New file.
7076 * config/cr16/t-crtlibid: New file.
7077 * config/cr16/unwind-dw2.h: New file.
7078 * config/cr16/unwind-cr16.c: New file.
7079 * config/cr16/divmodhi3.c: New file.
7081 2012-01-25 Alan Modra <amodra@gmail.com>
7083 * config/rs6000/t-linux64: Delete. Move..
7084 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7085 * config/rs6000/t-linux: ..and libgcc flags to here.
7087 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7089 * config.host (i[34567]86-*-interix3*):
7090 Change triplet to i[34567]86-*-interix[3-9]*.
7091 * configure: Regenerate.
7093 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7094 Richard Sandiford <rdsandiford@googlemail.com>
7096 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7097 * config/mips/mips16.S (__mips16_rdhwr): New function.
7098 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7100 2012-01-11 Nathan Sidwell <nathan@acm.org>
7102 * libgcov.c (__gcov_init): Ignore objects with no functions.
7104 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7107 Extend __pgmx semantics to linearize memory.
7108 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7109 * config/avr/lib1funcs.S (__xload_1): New function.
7110 (__movmemx_qi, __movmemx_hi): New functions.
7111 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7114 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7116 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7117 purported sigacthandler address isn't null before dereferencing it.
7118 (sparc_is_sighandler): Likewise.
7120 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7123 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7124 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7125 (sparc_is_sighandler): Likewise.
7126 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7128 2012-01-06 Tristan Gingold <gingold@adacore.com>
7130 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7131 compatibility thunks...
7132 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7133 (crtbeginS.o, crtendS.o): ... and these to ...
7134 * config/ia64/t-ia64-elf: ... this new file.
7135 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7136 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7138 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7140 * configure: Regenerate.
7141 * config/s390/t-crtstuff: Remove -fPIC.
7143 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7146 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7149 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7152 * config/avr/lib1funcs.S: Remove FIXME comments.
7153 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7155 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7157 Implement light-weight DImode support.
7158 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7159 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7160 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7161 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7163 2011-12-30 Nathan Sidwell <nathan@acm.org>
7165 * libgcov.c (gcov_crc32): Remove global var.
7166 (free_fn_data): New function.
7167 (buffer_fn_data): Pass in filename, more robust error recovery.
7168 (crc32_unsigned): New function.
7169 (gcov_exit): More robust detection of new program. More robust
7171 (__gcov_init): Do not update program's crc here.
7173 2011-12-21 Tristan Gingold <gingold@adacore.com>
7175 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7177 2011-12-21 Ian Lance Taylor <iant@google.com>
7179 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7181 2011-12-20 Ian Lance Taylor <iant@google.com>
7183 * config/i386/morestack.S (__morestack_non_split): If there is
7184 enough stack space already, don't split. Ask for more stack space
7187 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7189 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7191 (_Unwind_DebugHook): New function.
7192 (uw_restore_core_regs): New define.
7193 (unwind_phase2): Use uw_restore_core_regs instead of
7195 (unwind_phase2_forced): Likewise.
7196 (__gnu_Unwind_Resume): Likewise.
7198 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7200 * config/alpha/linux-unwind.h: Update copyright years.
7201 (MD_FROB_UPDATE_CONTEXT): New define.
7202 (alpha_frob_update_context): New function.
7204 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7206 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7207 tmake_file rather replacing it.
7209 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7211 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7212 function is not used for PPC64.
7213 (save_world): Amend comments. Update the VRsave mask to reflect the
7215 (rest_world): Update comments, do not clobber r10, do not use r8.
7216 (eh_rest_world_r10): Amend comments, do not use r8.
7217 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7218 no longer used, move restore of CR and target address to the end of
7221 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7223 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7224 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7226 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7229 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7230 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7232 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7234 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7236 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7239 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7240 * config/avr/lib1funcs.S (__muldi3): New function.
7242 2011-12-06 Andrew Pinski <apinski@cavium.com>
7244 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7246 (__frame_dummy_init_array_entry): Likewise.
7248 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7250 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7254 * config/avr/lib1funcs.S (__prologue_saves__,
7255 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7256 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7258 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7260 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7262 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7265 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7266 (_ITM_deregisterTMCloneTable): Likewise.
7267 (__register_frame_info): Fix unused warning.
7268 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7269 pthread_default_stacksize_np): Likewise.
7270 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7272 2011-11-29 DJ Delorie <dj@redhat.com>
7274 * config.host (rl78-*-elf): New case.
7275 * config/rl78: New directory for the Renesas RL78.
7277 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7279 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7282 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7285 * config/rs6000/t-savresfgpr: New file.
7286 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7287 $(srcdir)/config/rs6000/eabi.S.
7288 * config/rs6000/t-ppccomm-ldbl: Remove.
7289 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7291 (powerpc-*-eabispe*): Likewise.
7292 (powerpc-*-eabi*): Likewise.
7293 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7294 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7295 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7296 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7298 (powerpc-*-eabisim*): Likewise.
7299 (powerpc-*-elf*): Likewise.
7300 (powerpc-*-eabialtivec*): Likewise.
7301 (powerpc-xilinx-eabi*): Likewise.
7302 (powerpc-*-rtems*): Likewise.
7303 (powerpcle-*-elf*): Likewise.
7304 (powerpcle-*-eabisim*): Likewise.
7305 (powerpcle-*-eabi*): Likewise.
7307 2011-11-27 Ian Lance Taylor <iant@google.com>
7309 * generic-morestack.c (__splitstack_find): Check for NULL old
7311 (__splitstack_resetcontext): New function.
7312 (__splitstack_releasecontext): New function.
7313 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7315 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7317 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7319 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7321 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7323 2011-11-26 Richard Henderson <rth@redhat.com>
7325 * config/m68k/linux-atomic.c: New file.
7326 * config/m68k/t-linux: New file.
7327 * config.host (m68k-uclinux, m68k-linux): Use it.
7329 2011-11-26 Richard Henderson <rth@redhat.com>
7331 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7332 (__TMC_END__): Only declare if hidden is available; in the definition,
7333 if hidden is unavailable add a null record.
7334 (deregister_tm_clones, register_tm_clones): New.
7335 (__do_global_dtors_aux, frame_dummy): Use them.
7336 (__do_global_dtors, __do_global_ctors_1): Likewise.
7338 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7340 * config/darwin-crt-tm.c: New file.
7341 * config.host (darwin): Build crttms.o crttme.o to provide
7342 startup and shutdown for tm clones.
7343 * config/t-darwin (crttms.o): New build rule.
7344 (crttme.o): Likewise.
7346 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7348 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7351 2011-11-21 Richard Henderson <rth@redhat.com>
7353 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7354 (__TMC_LIST__, __TMC_END__): New.
7355 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7356 (__do_global_dtors): Likewise.
7357 (frame_dummy): Call _ITM_registerTMCloneTable.
7358 (__do_global_ctors_1): Likewise.
7360 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7362 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7363 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7364 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7365 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7366 * config/i386/t-darwin64: Remove.
7367 * config/sh/t-netbsd (LIB2ADD): Remove.
7369 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7372 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7373 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7374 * config/avr/lib1funcs.S (wmov): New assembler macro.
7375 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7376 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7377 (__udivmod64): New function.
7378 (__negdi2): New function.
7380 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7382 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7383 *-*-freebsd*aout*): Remove.
7385 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7387 * static-object.mk (c_flags-$o): Save c_flags.
7388 ($(base)$(objext)): Use it.
7390 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7392 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7394 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7397 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7398 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7401 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7403 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7405 (aeabi_uidivmod): Likewise.
7406 (umodsi3): Likewise.
7408 (aeabi_idivmod): Likewise.
7411 2011-11-16 Tristan Gingold <gingold@adacore.com>
7413 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7415 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7418 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7419 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7421 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7423 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7425 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7426 * config/pa/t-stublib64: Delete.
7428 2011-11-12 Richard Henderson <rth@redhat.com>
7430 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7431 cast the pointer argument to _Unwind_SetGRPtr.
7433 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7435 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7437 2011-11-09 Ian Lance Taylor <iant@google.com>
7439 * generic-morestack.c: Include <string.h>.
7440 (uintptr_type): Define.
7441 (struct initial_sp): Add dont_block_signals field. Reduce size of
7443 (allocate_segment): Set prev field to NULL. Don't set
7444 __morestack_current_segment or __morestack_segments.
7445 (__generic_morestack): Update current->prev and *pp after calling
7447 (__morestack_block_signals): Don't do anything if
7448 dont_block_signals is set.
7449 (__morestack_unblock_signals): Likewise.
7450 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7452 (__splitstack_block_signals): New function.
7453 (enum __splitstack_content_offsets): Define.
7454 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7455 (__splitstack_makecontext): New function.
7456 (__splitstack_block_signals_context): New function.
7457 (__splitstack_find_context): New function.
7458 * config/i386/morestack.S (__morestack_get_guard): New function.
7459 (__morestack_set_guard, __morestack_make_guard): New functions.
7460 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7462 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7464 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7465 (i[34567]86-*-mingw*): ... here.
7466 (x86_64-*-mingw*): ... here.
7468 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7470 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7472 2011-11-07 Nathan Sidwell <nathan@acm.org>
7474 * libgcov.c (struct gcov_fn_buffer): New struct.
7475 (buffer_fn_data): New helper.
7476 (gcov_exit): Rework for new gcov data structures.
7478 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7481 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7483 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7485 * config.host (tmake_file): Correct comment.
7486 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7488 (bfin*-uclinux*): Likewise.
7489 (bfin*-linux-uclibc*): Likewise.
7490 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7492 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7494 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7495 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7496 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7497 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7498 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7499 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7500 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7501 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7502 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7503 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7504 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7505 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7506 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7508 * config/bfin/t-elf: Remove.
7509 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7511 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7513 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7514 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7515 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7516 (lm32-*-elf*): ... this.
7517 (lm32-*-rtems*): ... and this.
7519 (m32r-*-rtems*): Add to tmake_file.
7520 (moxie-*-rtems*): Likewise.
7521 (sparc-*-rtems*): Likewise.
7522 Remove t-rtems from tmake_file.
7523 (sparc64-*-rtems*): Likewise.
7524 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7527 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7530 * config/gthr-posix.h: Move ...
7531 * gthr-posix.h: ... here.
7532 * config/gthr-lynx.h: Reflect this.
7533 * config/gthr-vxworks.h: Likewise.
7534 * config/rs6000/gthr-aix.h: Likewise.
7535 * configure.ac (target_thread_file): Likewise.
7536 * configure: Regenerate.
7538 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7540 * config.host (arm*-*-rtemseabi*): New target.
7542 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7545 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7548 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7550 * config.host (epiphany-*-elf*): New configuration.
7551 * config/epiphany: New Directory.
7553 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7555 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7556 * config/avr/t-rtems: New.
7557 Filter out _exit from LIB1ASMFUNCS.
7559 2011-11-04 David S. Miller <davem@davemloft.net>
7561 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7562 * configure: Rebuild.
7564 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7566 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7569 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7572 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7573 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7575 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7578 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7580 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7582 * config/c6x/t-elf (LIB2ADDEH): Set.
7583 * config/c6x/t-c6x-elf: Remove.
7585 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7587 * config/i386/sol2-ci.S: Rename to ...
7588 * config/i386/crti.S: ... this.
7589 * config/i386/sol2-cn.S: Rename to ...
7590 * config/i386/crtn.S: ... this.
7591 * config/sparc/sol2-ci.S: Rename to ...
7592 * config/sparc/crti.S: ... this.
7593 * config/sparc/sol2-cn.S: Rename to ...
7594 * config/sparc/crtn.S: ... this.
7595 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7596 (crti.o, crtn.o): Remove.
7598 2011-11-04 Tristan Gingold <gingold@adacore.com>
7600 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7602 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7604 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7606 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7608 * config.host (crisv32-*-none, cris-*-none): Remove.
7609 (crisv32-*-elf): Append to tmake_file, don't just set it.
7610 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7612 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7614 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7615 (ecrtn$(objext)): Likewise.
7616 (ncrti$(objext)): Likewise.
7617 (ncrtn$(objext)): Likewise.
7619 2011-11-03 Andreas Schwab <schwab@redhat.com>
7621 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7623 2011-11-02 David S. Miller <davem@davemloft.net>
7625 * configure.ac: Set host_address on sparc too.
7626 * configure: Regenerate.
7627 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7628 based upon host_address.
7629 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7631 2011-11-02 Jason Merrill <jason@redhat.com>
7633 * config/rs6000/t-ppccomm: Add missing \.
7635 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7637 * gthr-single.h, gthr.h: New files.
7638 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7639 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7640 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7641 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7642 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7643 * configure.ac (thread_header): New variable.
7644 Set it depending on target_thread_file.
7645 (gthr-default.h): Link from $thread_header.
7646 * configure: Regenerate.
7647 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7649 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7651 * configure.ac (tm_file_): New variable.
7652 Determine from tm_file.
7653 (tm_file, tm_defines): Substitute.
7654 * configure: Regenerate.
7655 * mkheader.sh: New file.
7656 * Makefile.in (clean): Remove libgcc_tm.h.
7657 ($(objects)): Depend on libgcc_tm.h.
7658 (libgcc_tm_defines, libgcc_tm_file): New variables.
7659 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7660 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7661 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7662 ($(extra-parts)): Depend on libgcc_tm.h.
7663 * config.host (tm_defines, tm_file): New variable.
7664 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7665 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7666 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7667 (avr-*-rtems*): Likewise.
7668 (avr-*-*): Likewise.
7669 (frv-*-elf): Likewise.
7670 (frv-*-*linux*): Likewise.
7671 (h8300-*-rtems*): Likewise.
7672 (h8300-*-elf*): Likewise.
7673 (i[34567]86-*-darwin*): Likewise.
7674 (x86_64-*-darwin*): Likewise.
7675 (rx-*-elf): Likewise.
7676 (tic6x-*-uclinux): Likewise.
7677 (tic6x-*-elf): Likewise.
7678 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7679 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7680 * config/i386/cygming-crtbegin.c: Likewise.
7681 * config/i386/cygming-crtend.c: Likewise.
7682 * config/ia64/fde-vms.c: Likewise.
7683 * config/ia64/unwind-ia64.c: Likewise.
7684 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7685 * config/rs6000/darwin-fallback.c: Likewise.
7686 * config/stormy16/lib2funcs.c: Likewise.
7687 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7688 * crtstuff.c: Likewise.
7689 * dfp-bit.h: Likewise.
7690 * emutls.c: Likewise.
7691 * fixed-bit.c: Likewise.
7692 * fp-bit.c: Likewise.
7693 * generic-morestack-thread.c: Likewise.
7694 * generic-morestack.c: Likewise.
7695 * libgcc2.c: Likewise.
7696 * libgcov.c: Likewise.
7697 * unwind-dw2-fde-dip.c: Likewise.
7698 * unwind-dw2-fde.c: Likewise.
7699 * unwind-dw2.c: Likewise.
7700 * unwind-sjlj.c: Likewise.
7702 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7704 * configure.ac: Include ../config/picflag.m4.
7705 (GCC_PICFLAG): Call it.
7707 * configure: Regenerate.
7708 * Makefile.in (gcc_srcdir): Remove.
7709 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7710 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7711 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7712 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7713 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7716 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7717 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7718 to refer to libgcc2.c.
7720 * config/darwin-64.c: New file.
7721 * config/darwin-crt3.c: Remove comment.
7722 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7723 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7724 config/udivmodsi4.c: New files.
7725 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7726 config/memset.c: New files.
7727 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7728 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7729 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7730 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7731 * config/t-openbsd-thread: New file.
7732 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7733 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7734 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7735 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7738 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7739 to refer to gthr-posix.c.
7740 * config/alpha/t-vms (LIB2ADD): Set.
7741 * config/alpha/vms-gcc_shell_handler.c: New file.
7742 * config/arm/bpabi.c, config/arm/fp16.c,
7743 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7744 config/arm/unaligned-funcs.c: New files.
7745 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7746 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7747 * config/arm/t-linux: Likewise.
7748 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7749 * config/arm/t-netbsd: New file.
7750 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7751 * config/arm/t-symbian (LIB2ADD_ST): Set.
7752 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7753 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7754 * config/bfin/t-elf: New file.
7755 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7756 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7757 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7758 config/c6x/ltf.c: New files.
7759 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7760 (HOST_LIBGCC2_CFLAGS): Set.
7761 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7762 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7763 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7765 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7766 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7767 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7768 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7769 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7771 * config/frv/t-frv (LIB2ADD): Set.
7772 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7773 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7774 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7775 config/h8300/popcounthi2.c: New files.
7776 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7777 * config/i386/gthr-win32.c: New file.
7778 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7779 * config/i386/t-cygwin: Likewise.
7780 * config/i386/t-darwin, config/i386/t-darwin64,
7781 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7782 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7783 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7784 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7785 * config/ia64/quadlib.c: New file.
7786 * config/ia64/t-hpux (LIB2ADD): Set.
7787 * config/ia64/t-ia64: Add comment.
7788 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7789 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7790 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7791 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7792 * config/m32c/t-m32c (LIB2ADD): Set.
7793 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7794 * config/m32r/t-m32r: Likewise.
7795 * config/m68k/fpgnulib.c: New file.
7796 * config/m68k/t-floatlib (LIB2ADD): Set.
7797 (xfgnulib.c): New target.
7798 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7799 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7800 * config/mep/t-mep (LIB2ADD): Set.
7801 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7802 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7803 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7804 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7805 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7806 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7807 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7808 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7809 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7810 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7812 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7813 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7814 * config/pa/fptr.c, config/pa/lib2funcs.S,
7815 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7816 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7817 (LIB2ADD, LIB2ADD_ST): Set.
7818 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7819 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7821 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7822 * config/pdp11/t-pdp11: New file.
7823 * config/picochip/libgccExtras/adddi3.S,
7824 config/picochip/libgccExtras/ashlsi3.S,
7825 config/picochip/libgccExtras/ashrsi3.S,
7826 config/picochip/libgccExtras/clzsi2.S,
7827 config/picochip/libgccExtras/cmpsi2.S,
7828 config/picochip/libgccExtras/divmod15.S,
7829 config/picochip/libgccExtras/divmodhi4.S,
7830 config/picochip/libgccExtras/divmodsi4.S,
7831 config/picochip/libgccExtras/lshrsi3.S,
7832 config/picochip/libgccExtras/parityhi2.S,
7833 config/picochip/libgccExtras/popcounthi2.S,
7834 config/picochip/libgccExtras/subdi3.S,
7835 config/picochip/libgccExtras/ucmpsi2.S,
7836 config/picochip/libgccExtras/udivmodhi4.S,
7837 config/picochip/libgccExtras/udivmodsi4.S: New files.
7838 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7839 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7840 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7841 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7842 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7843 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7844 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7845 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7847 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7848 (HOST_LIBGCC2_CFLAGS): Set.
7849 * config/rs6000/t-darwin64: New file.
7850 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7851 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7852 * config/rs6000/t-ppccomm (LIB2ADD): Add
7853 $(srcdir)/config/rs6000/tramp.S.
7854 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7855 Add $(srcdir)/config/rs6000/eabi.S.
7856 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7857 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7858 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7859 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7860 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7861 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7862 * config/rs6000/tramp.S: New file.
7863 * config/s390/t-tpf: Remove.
7864 * config/sh/linux-atomic.S: New file.
7865 * config/sh/t-linux (LIB2ADD): Set.
7866 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7867 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7868 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7870 (HOST_LIBGCC2_CFLAGS): Set.
7871 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7872 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7873 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7874 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7875 config/spu/mfc_multi_tag_release.c,
7876 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7877 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7878 config/spu/multi3.c: New files.
7879 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7880 (HOST_LIBGCC2_CFLAGS): Set.
7881 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7882 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7883 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7884 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7885 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7886 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7887 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7888 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7889 config/stormy16/umodsi3.c: New files.
7890 * config/xtensa/lib2funcs.S: New file.
7891 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7892 * config/xtensa/t-xtensa (LIB2ADD): Set.
7893 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7894 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7895 Add t-freebsd-thread to tmake_file for posix threads.
7896 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7897 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7898 (*-*-lynxos*): Likewise.
7899 (*-*-netbsd*): Likewise.
7900 (*-*-openbsd*): Likewise.
7901 Add t-openbsd-thread to tmake_file for posix threads.
7902 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7903 (*-*-vxworks*): Set tmake_file.
7904 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7905 (alpha*-*-freebsd*): Likewise.
7906 (alpha*-*-netbsd*): Likewise.
7907 (alpha*-*-openbsd*): Likewise.
7908 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7909 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7910 (alpha*-dec-*vms*): Likewise.
7911 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7912 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7913 (bfin*-uclinux*): Likewise.
7914 (bfin*-linux-uclibc*): Likewise.
7915 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7916 (crisv32-*-none): Likewise.
7917 (cris-*-elf): Likewise.
7918 (cris-*-none): Likewise.
7919 (cris-*-linux*, crisv32-*-linux*): Likewise.
7920 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7922 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7924 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7925 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7926 (x86_64-*-elf*): Likewise.
7927 (i[34567]86-*-nto-qnx*): Likewise.
7928 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7930 (x86_64-*-mingw*): Likewise.
7931 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7932 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7933 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7934 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7935 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7937 (mipsisa64sr71k-*-elf*): Likewise.
7938 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7939 (mips-*-elf*, mipsel-*-elf*): Likewise.
7940 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7941 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7942 (mips*-*-rtems*): Likewise.
7943 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7945 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7946 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7947 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7948 (spu-*-elf*): Likewise.
7949 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7951 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7953 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7954 $(srcdir) to refer to $(LIB1ASMSRC).
7956 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7957 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7958 config/arm/lib1funcs.S: New files.
7959 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7960 * config/arm/t-arm: New file.
7961 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7962 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7963 config/arm/t-strongarm-elf: New files.
7964 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7965 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7966 * config/avr/lib1funcs.S: New file.
7967 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7968 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7969 * config/c6x/lib1funcs.S: New file.
7970 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7971 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7972 * config/frv/lib1funcs.S: New file.
7973 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7974 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7975 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7976 * config/ia64/__divxf3.asm: Rename to ...
7977 * config/ia64/__divxf3.S: ... this.
7978 Adapt lib1funcs.asm filename.
7979 * config/ia64/_fixtfdi.asm: Rename to ...
7980 * config/ia64/_fixtfdi.S: ... this.
7981 Adapt lib1funcs.asm filename.
7982 * config/ia64/_fixunstfdi.asm: Rename to ...
7983 * config/ia64/_fixunstfdi.S: ... this.
7984 Adapt lib1funcs.asm filename.
7985 * config/ia64/_floatditf.asm: Rename to ...
7986 * config/ia64/_floatditf.S: ... this.
7987 Adapt lib1funcs.asm filename.
7988 * config/ia64/lib1funcs.S: New file.
7989 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7990 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7991 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7992 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7993 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7994 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7995 * config/mep/lib1funcs.S: New file.
7996 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7997 * config/mips/mips16.S: New file.
7998 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7999 * config/pa/milli64.S: New file.
8000 * config/pa/t-linux, config/pa/t-linux64: New files.
8001 * config/picochip/lib1funcs.S: New file.
8002 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8003 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8004 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8005 * config/sh/t-netbsd: New file.
8006 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8007 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8008 * config/sh/t-sh64: New file.
8009 * config/sparc/lb1spc.S: New file.
8010 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8012 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8013 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8014 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8015 config/xtensa/lib1funcs.S: New files.
8016 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8017 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8019 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8020 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8021 (arm*-*-linux*): Likewise.
8022 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8023 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8024 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8025 (arm*-*-ecos-elf): Likewise.
8026 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8027 (arm*-*-rtems*): Likewise.
8028 (arm*-*-elf): Likewise.
8029 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8030 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8031 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8032 (bfin*-uclinux*): Likewise.
8033 (bfin*-linux-uclibc*): Likewise.
8034 (bfin*-rtems*): Likewise.
8035 (bfin*-*): Likewise.
8036 (fido-*-elf): Merge into m68k-*-elf*.
8037 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8038 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8039 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8040 (h8300-*-elf*): Likewise.
8041 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8042 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8043 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8044 (i[34567]86-*-mingw*): Likewise.
8045 (x86_64-*-mingw*): Likewise.
8046 (i[34567]86-*-interix3*): Likewise.
8047 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8048 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8049 (m68k-*-elf*): Also handle fido-*-elf.
8050 Add m68k/t-floatlib to tmake_file.
8051 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8052 (m68k-*-linux*): Likewise.
8053 (m68k-*-rtems*): Likewise.
8054 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8055 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8057 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8058 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8059 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8060 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8061 sh/t-netbsd to tmake_file.
8062 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8063 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8064 (sh-wrs-vxworks): Likewise.
8065 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8067 (v850*-*-*): Add v850/t-v850 to tmake_file.
8068 (vax-*-linux*): Add vax/t-linux to tmake_file.
8069 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8071 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8073 * crtstuff.c: New file.
8074 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8075 (CRTSTUFF_T_CFLAGS): Define.
8076 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8077 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8078 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8081 (crtbeginT.o): Use $(objext).
8082 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8083 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8084 (gcc-extra-parts): Remove.
8085 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8087 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8088 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8089 Add t-crtstuff-pic to tmake_file.
8090 (*-*-lynxos*): New case.
8091 Set tmake_file, extra_parts.
8092 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8093 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8094 *-*-netbsdelf[2-9]*.
8095 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8096 (*-*-rtems*): Set extra_parts.
8097 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8098 (*-*-uclinux*): New case.
8100 (*-*-vms*): New case.
8101 Set tmake_file, extra_parts.
8102 (*-*-elf): Set extra_parts.
8103 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8104 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8107 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8109 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8110 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8111 (arm-wrs-vxworks): Append to tmake_file.
8113 (arm*-*-uclinux*): Set extra_parts.
8114 (arm*-*-ecos-elf): Likewise.
8115 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8117 (arm*-*-rtems*): Set extra_parts.
8118 (arm*-*-elf): Likewise.
8119 (avr-*-rtems*): Clear extra_parts.
8120 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8122 (bfin*-uclinux*): Likewise.
8123 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8124 (bfin*-rtems*): Append to tmake_file.
8126 (bfin*-*): Likewise.
8127 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8128 (crisv32-*-elf): ... this.
8129 (crisv32-*-none): ... this.
8130 (cris-*-elf, cris-*-none): New cases.
8131 Add cris/t-elfmulti to tmake_file.
8132 (fr30-*-elf): Append to tmake_file.
8134 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8136 (h8300-*-rtems*): Append to tmake_file.
8138 (h8300-*-elf*): Likewise.
8139 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8141 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8143 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8144 (x86_64-*-elf*): Likewise.
8145 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8146 (x86_64-*-freebsd*): Likewise.
8147 (x86_64-*-netbsd*): Likewise.
8148 (i[34567]86-*-linux*): Likewise.
8149 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8150 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8151 (x86_64-*-linux*): Likewise.
8152 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8153 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8156 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8157 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8158 Append to extra_parts, remove crtbegin.o, crtend.o.
8159 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8160 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8161 crtend.o, crtbeginS.o, crtendS.o.
8162 (ia64*-*-linux*): Comment extra_parts.
8163 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8165 (iq2000*-*-elf*): Clear extra_parts.
8166 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8167 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8168 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8169 (m32r-*-rtems*): ... this.
8170 Add m32r/t-m32r to tmake_file.
8171 (m68k-*-elf*): Add t-crtin to tmake_file.
8172 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8173 (mcore-*-elf): Likewise.
8174 (microblaze*-*-*): Set extra_parts.
8175 (mips*-sde-elf*): New case.
8176 Set tmake_file, extra_parts.
8177 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8178 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8179 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8182 (mipsisa64sr71k-*-elf*): Likewise.
8183 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8184 (mips-*-elf*, mipsel-*-elf*): Likewise.
8185 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8186 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8187 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8188 (mips*-*-rtems*): Likewise.
8189 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8190 (moxie-*-*): Split into ...
8191 (moxie-*-elf, moxie-*-uclinux*): ... this.
8192 Add to extra_parts, remove crtbegin.o, crtend.o.
8193 (moxie-*-rtems*): New case.
8196 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8198 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8199 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8202 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8203 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8205 (powerpc-*-eabisim*): Likewise.
8206 (powerpc-*-elf*): Likewise.
8207 (powerpc-*-eabialtivec*): Likewise.
8208 (powerpc-xilinx-eabi*): Likewise.
8209 (powerpc-*-eabi*): Likewise.
8210 (powerpc-*-rtems*): Likewise.
8211 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8214 (powerpc-*-lynxos*): Add to tmake_file.
8215 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8216 rs6000/t-crtstuff, t-crtstuff-pic.
8218 (powerpcle-*-eabisim*): Likewise.
8219 (powerpcle-*-eabi*): Likewise.
8220 (rx-*-elf): Remove extra_parts.
8221 (s390x-ibm-tpf*): Set extra_parts.
8222 (score-*-elf): Set extra_parts.
8223 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8224 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8225 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8226 (sh64l*-*-netbsd*): Split into ...
8227 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8228 Add t-crtstuff-pic to tmake_file.
8230 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8232 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8233 (sparc-*-elf*): Remove t-crtin from tmake_file.
8234 Add to extra_parts, remove crtbegin.o, crtend.o.
8235 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8236 (sparc64-*-linux*): Likewise.
8237 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8238 Add to extra_parts, remove crtbegin.o, crtend.o.
8239 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8240 Add to extra_parts, remove crtbegin.o, crtend.o.
8241 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8242 Add to extra_parts, remove crtbegin.o, crtend.o.
8243 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8244 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8245 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8247 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8249 (tic6x-*-*): Change to ...
8250 (tic6x-*-elf): ... this.
8252 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8254 (am33_2.0-*-linux*): Add comment.
8255 (mep*-*-*): Add mep/t-mep to tmake_file.
8257 * config/alpha/t-vms: New file.
8258 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8259 * config/arm/crti.S, config/arm/crtn.S: New files.
8260 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8261 * config/bfin/crtlibid.S: New file.
8262 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8263 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8264 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8265 (crti.o, crtin.o): New rules.
8266 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8267 * config/c6x/t-uclinux: New file.
8268 * config/cris/t-elfmulti: New file.
8269 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8270 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8271 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8272 * config/frv/t-frv: New file.
8273 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8274 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8275 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8277 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8278 refer to cygming-crtbegin.c, cygming-crtend.c.
8280 * config/i386/t-nto: New file.
8281 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8282 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8283 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8284 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8287 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8288 (crtinitS.o): New rule.
8289 * config/ia64/vms-crtinit.S: New file.
8290 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8291 * config/m32r/initfini.c: New file.
8292 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8293 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8294 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8295 * config/mep/t-mep: New file.
8296 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8297 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8298 * config/mips/crti.S, config/mips/crtn.S: New files.
8299 * config/mips/t-crtstuff: New file.
8300 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8301 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8302 (CUSTOM_CRTIN): Set.
8303 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8305 Use $(srcdir) to refer to crti.S, crtn.S.
8306 Use .S extension, $<.
8307 * config/moxie/crti.asm: Rename to ...
8308 * config/moxie/crti.S: ... this.
8309 * config/moxie/crtn.asm: Rename to ...
8310 * config/moxie/crtn.S: ... this.
8311 * config/moxie/t-moxie: Remove.
8312 * config/pa/stublib.c: New file.
8313 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8314 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8315 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8316 * config/rs6000/t-crtstuff: New file.
8317 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8318 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8319 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8320 Make output file explicit.
8321 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8322 Make output file explicit.
8323 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8324 Make output file explicit.
8325 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8326 Make output file explicit.
8327 * config/score/crti.S, config/score/crtn.S: New files.
8328 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8329 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8331 * config/sh/t-sh, config/sh/t-superh: New files.
8332 * config/sparc/t-linux64: New file.
8333 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8334 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8335 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8336 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8337 * config/t-crtin: Remove.
8338 * config/t-crtstuff-pic: New file.
8339 * config/t-sol2 (CUSTOM_CRTIN): Set.
8340 (crti.o, crtn.o): New rules.
8341 * config/vms/t-vms: New file.
8342 * config/vms/vms-ucrt0.c: New file.
8343 * config/xtensa/t-elf: New file.
8345 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8347 * Makefile.in (SHLIB_NM_FLAGS): Set.
8348 * mkmap-flat.awk, mkmap-symver.awk: New files.
8349 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8351 * configure: Regenerate.
8352 * config/libgcc-glibc.ver: New file.
8353 * config/libgcc-libsystem.ver: New file.
8354 * config/t-libunwind (SHLIB_LC): Set.
8355 * config/t-linux: New file.
8356 * config/t-slibgcc (INSTALL_SHLIB): New.
8357 (SHLIB_INSTALL): Use it.
8358 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8359 to mkmap-symver.awk.
8360 (SHLIB_MAPFILES): Don't append, adapt pathname.
8361 (SHLIB_VERPFX): Set.
8362 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8363 to mkmap-symver.awk.
8364 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8365 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8366 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8367 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8369 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8370 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8371 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8372 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8373 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8374 * config/i386/libgcc-darwin.10.4.ver,
8375 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8377 * config/i386/t-darwin: Remove.
8378 * config/i386/t-darwin64: Likewise.
8379 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8380 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8381 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8382 * config/i386/t-linux: New file.
8383 * config/i386/t-mingw32: New file.
8384 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8385 * config/ia64/t-glibc: Rename to ...
8386 * config/ia64/t-linux: ... this.
8387 (SHLIB_MAPFILES): Set.
8388 * config/ia64/t-glibc-libunwind: Rename to ...
8389 * config/ia64/t-linux-libunwind: ... this.
8390 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8391 * config/ia64/t-slibgcc-hpux: New file.
8392 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8393 * config/m68k/t-slibgcc-elf-ver: New file.
8394 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8395 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8397 * config/pa/t-slibgcc-hpux: New file.
8398 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8400 * config/rs6000/libgcc-darwin.10.4.ver,
8401 config/rs6000/libgcc-darwin.10.5.ver: New files.
8402 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8403 config/rs6000/libgcc-glibc.ver.
8404 * config/rs6000/libgcc-ppc64.ver: Rename to
8405 config/rs6000/libgcc-ibm-ldouble.ver.
8406 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8407 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8408 * config/rs6000/t-ldbl128: Rename to ...
8409 * config/rs6000/t-linux: ... this.
8410 (SHLIB_MAPFILES): Adapt filename.
8411 * config/rs6000/t-slibgcc-aix: New file.
8412 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8413 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8414 libgcc-excl.ver, libgcc-glibc.ver.
8415 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8416 * config/sparc/libgcc-glibc.ver: New file.
8417 * config/sparc/t-linux: New file.
8418 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8419 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8420 t-slibgcc-elf-ver to tmake_file.
8421 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8423 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8424 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8425 t-slibgcc-elf-ver, t-linux to tmake_file.
8426 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8428 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8429 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8430 (alpha*-dec-*vms*): Likewise.
8431 (arm*-*-freebsd*): Append to tmake_file.
8432 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8433 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8435 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8436 tmake_file for arm*-*-symbianelf*.
8437 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8438 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8440 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8441 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8442 pa/t-slibgcc-dwarf-ver to tmake_file.
8443 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8444 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8445 (hppa*64*-*-hpux11*): Likewise.
8446 (hppa[12]*-*-hpux11*): Likewise.
8447 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8448 i386/t-crtpc, i386/t-crtfm.
8449 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8450 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8452 Add i386/t-cygwin to tmake_file.
8453 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8454 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8455 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8457 Add i386/t-mingw32 to tmake_file.
8458 (x86_64-*-mingw*): Likewise.
8459 (ia64*-*-freebsd*): Append to tmake_file.
8460 (ia64*-*-linux*): Append to tmake_file.
8461 Replace ia64/t-glibc by ia64/t-linux.
8462 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8464 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8465 t-slibgcc-hpux to tmake_file.
8466 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8467 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8468 (m32rle-*-linux*): Likewise.
8469 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8471 (microblaze*-linux*): New case.
8472 Append to tmake_file, add t-slibgcc-nolc-override.
8473 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8474 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8475 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8476 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8477 rs6000/t-slibgcc-aix to tmake_file.
8478 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8479 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8480 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8481 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8482 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8483 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8485 (sparc-*-linux*): Append to tmake_file for *-leon*.
8486 Add sparc/t-linux to tmake_file for non-Leon targets.
8487 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8488 (tic6x-*-uclinux): New case.
8489 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8490 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8491 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8492 (am33_2.0-*-linux*): Append to tmake_file.
8493 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8494 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8495 x86_64-*-kfreebsd*-gnu.
8496 Add i386/t-linux to tmake_file.
8498 2011-10-28 Ian Lance Taylor <iant@google.com>
8500 * config/i386/morestack.S: Correct CFI information to do proper
8501 returns throughout function. In 32-bit mode, save %ebx so that it
8502 is restored on unwind.
8504 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8506 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8507 case where B3 isn't the return register.
8509 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8510 logic for doubleword pops.
8512 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8514 * config/rs6000/t-freebsd: Add wildcard.
8516 2011-10-21 Paul Brook <paul@codesourcery.com>
8518 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8520 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8521 Eric Botcazou <ebotcazou@adacore.com>
8524 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8525 fs->signal_frame to 1.
8527 2011-10-07 Ian Lance Taylor <iant@google.com>
8529 * generic-morestack-thread.c: #include <errno.h>.
8531 2011-10-07 Ian Lance Taylor <iant@google.com>
8534 * generic-morestack.c (__generic_morestack): Make sure the segment
8535 is large enough for both the stack frame and the copied
8538 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8541 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8544 2011-09-28 Nick Clifton <nickc@redhat.com>
8546 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8547 64-bit doubles are not enabled.
8548 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8549 and floatunsisf functions.
8551 2011-09-13 Paul Brook <paul@codesourcery.com>
8553 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8554 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8555 * unwind-arm-common.inc: New file.
8556 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8557 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8558 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8559 * config/c6x/libunwind.S: New file.
8560 * config/c6x/pr-support.c: New file.
8561 * config/c6x/unwind-c6x.c: New file.
8562 * config/c6x/unwind-c6x.h: New file.
8563 * config/c6x/t-c6x-elf: New file.
8565 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8567 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8568 (ASM_DIVZERO): Ditto.
8569 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8571 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8573 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8575 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8578 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8579 instead of an assembly one.
8581 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8584 * Makefile.in (install-unwind_h): Create
8585 $(gcc_objdir)/include/unwind.h atomically.
8587 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8589 * Makefile.in (install-unwind_h): Remove destination file first.
8591 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8594 * config/mips/t-mips16: New file.
8595 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8596 (mips*-*-linux*): Likewise.
8597 (mips*-sde-elf*): Likewise.
8598 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8599 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8600 Add mips/t-mips16 to tmake_file.
8601 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8602 (mips-*-elf*): Likewise.
8603 (mips64-*-elf*): Likewise.
8604 (mips64orion-*-elf*): Likewise.
8605 (mips*-*-rtems*): Likewise.
8606 (mipstx39-*-elf*): Likewise.
8607 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8608 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8610 Use $(srcdir) to refer to sync.c.
8612 ($(libgcc-sync-funcs-o)): Likewise.
8613 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8614 ($(libgcc-sync-funcs-s-o)): Likewise.
8616 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8618 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8621 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8624 * config/i386/value-unwind.h: New.
8626 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8628 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8629 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8630 Add to tmake_file rather than overriding it.
8632 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8634 * config/t-softfp: Remove.
8635 * soft-fp: Moved from ../gcc/config.
8636 * soft-fp/README: Remove t-softfp reference.
8637 * soft-fp/t-softfp: Move to config/t-softfp.
8638 (softfp_machine_header): Remove.
8639 (softfp_file_list): Remove config subdir.
8640 (soft-fp-objects): New variable.
8641 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8642 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8643 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8644 * config/t-softfp-excl: New file.
8645 * config/t-softfp-sfdf: New file.
8646 * config/t-softfp-tf: New file.
8647 * config/no-sfp-machine.h: New file.
8648 * config/arm/sfp-machine.h: New file.
8649 * config/arm/t-softfp: New file.
8650 * config/c6x/sfp-machine.h: New file.
8651 * config/i386/32/t-fprules-softfp: Rename to ...
8652 * config/i386/32/t-softfp: ... this.
8653 (tifunctions, LIB2ADD): Remove.
8654 (softfp_int_modes): Override.
8655 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8657 * config/i386/64/eqtf2.c: Likewise.
8658 * config/i386/64/getf2.c: Likewise.
8659 * config/i386/64/letf2.c: Likewise.
8660 * config/ia64/sft-machine.h: New file.
8661 * config/ia64/t-fprules-softfp: Rename to ...
8662 * config/ia64/t-softfp: ... this.
8663 * config/lm32/sfp-machine.h: New file.
8664 * config/moxie/t-moxie-softfp: Remove.
8665 * config/rs6000/ibm-ldouble-format: New file.
8666 * config/rs6000/ibm-ldouble.c: New file.
8667 * config/rs6000/libgcc-ppc-glibc.ver: New file
8668 * config/rs6000/libgcc-ppc64.ver: New file
8669 * config/rs6000/sfp-machine.h: New file.
8670 * config/rs6000/t-freebsd: New file.
8671 * config/rs6000/t-ibm-ldouble: New file.
8672 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8673 libgcc-ppc-glibc.ver.
8674 * config/rs6000/t-linux64: New file.
8675 * config/rs6000/t-ppccomm (LIB2ADD): Add
8676 $(srcdir)/config/rs6000/ibm-ldouble.c.
8677 * config/rs6000/t-ppccomm-ldbl: New file.
8678 * config/score/sfp-machine.h: New file.
8679 * config.host (sfp_machine_header): Explain.
8680 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8681 t-softfp to tmake_file.
8682 (arm*-*-uclinux*): Likewise.
8683 (arm*-*-ecos-elf): Likewise.
8684 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8685 (arm*-*-rtems*): Likewise.
8686 (arm*-*-elf): Likewise.
8687 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8689 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8690 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8691 (lm32-*-uclinux*): Likewise.
8692 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8693 t-softfp-excl, t-softfp.
8694 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8695 (powerpc64-*-darwin*): Likewise.
8696 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8698 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8700 (powerpc-*-eabisim*): Likewise.
8701 (powerpc-*-elf*): Likewise.
8702 (powerpc-*-eabialtivec*): Likewise.
8703 (powerpc-xilinx-eabi*): Likewise.
8704 (powerpc-*-rtems*): Likewise.
8705 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8706 t-softfp-excl, t-softfp to tmake_file.
8707 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8708 rs6000/t-ppccomm-ldbl to tmake_file.
8709 (powerpcle-*-elf*): Likewise.
8710 (powerpcle-*-eabisim*): Likewise.
8711 (powerpcle-*-eabi*): Likewise.
8712 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8713 rs6000/t-ibm-ldouble to tmake_file.
8714 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8715 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8716 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8717 (tic6x-*-*): Likewise.
8718 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8719 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8720 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8721 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8722 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8723 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8724 t-softfp to tmake_file.
8725 * configure.ac (sfp_machine_header): Provide default if unset.
8727 Link sfp-machine.h to config/$sfp_machine_header.
8728 * configure: Regenerate.
8730 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8732 * Makefile.in (double_type_size, long_double_type_size): Set.
8733 Remove $(fpbit-in-libgcc) support.
8734 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8735 (fpbit-src): New variable.
8736 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8737 Compile with -DFLOAT $(FPBIT_CFLAGS).
8739 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8740 Compile with $(FPBIT_CFLAGS).
8742 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8743 Compile with -DFLOAT $(TPBIT_CFLAGS).
8745 * configure.ac (double_type_size, long_double_type_size):
8746 Determine and substitute.
8747 * configure: Regenerate.
8748 * fp-bit.c, fp-bit.h: New files.
8749 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8750 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8751 * config/mips/t-mips: New file.
8752 * config/mips/t-sdemtk: New file.
8753 * config/rs6000/ppc64-fp.c: New file.
8754 * config/rs6000/t-darwin (LIB2ADD): Add
8755 $(srcdir)/config/rs6000/ppc64-fp.c.
8756 * config/rs6000/t-ppc64-fp: New file.
8757 * config/rx/rx-lib.h: New file.
8758 * config/rx/t-rx (FPBIT): Set to true.
8759 ($(gcc_objdir)/fp-bit.c): Remove.
8760 (DPBIT): Set to true only with -m64bit-doubles.
8761 ($(gcc_objdir)/dp-bit.c): Remove.
8762 * config/sparc/t-softfp: Remove.
8763 * config/spu/t-elf: New file.
8764 * config/t-fdpbit, config/t-fpbit: New files.
8765 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8766 (mips*-*-*): Likewise.
8767 (arm-wrs-vxworks): Likewise.
8768 (arm*-*-freebsd*): Likewise.
8769 (avr-*-rtems*): Add t-fpbit to tmake_file.
8770 (avr-*-*): Likewise.
8771 (bfin*-elf*): Add t-fdpbit to tmake_file.
8772 (bfin*-uclinux*): Likewise.
8773 (bfin*-linux-uclibc*): Likewise.
8774 (bfin*-rtems*): New case.
8775 Add t-fdpbit to tmake_file.
8776 (bfin*-*): Add t-fdpbit to tmake_file.
8777 (crisv32-*-elf): Likewise.
8778 (cris-*-linux*): Likewise.
8779 (fr30-*-elf): Likewise.
8780 (frv-*-elf, frv-*-*linux*): Likewise.
8781 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8782 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8783 (m32r-*-elf*): Likewise.
8784 (m32rle-*-elf*): Likewise.
8785 (m32r-*-linux*): Likewise.
8786 (m32rle-*-linux*): Likewise.
8787 (mcore-*-elf): Add t-fdpbit to tmake_file.
8788 (microblaze*-*-*): Likewise.
8789 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8790 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8791 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8793 Add mips/t-tpbit to tmake-file.
8794 (mips*-*-linux*): Fix typo.
8795 (mips*-sde-elf*): New case
8796 Add mips/t-sdemtk unless using newlib.
8797 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8798 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8799 (mn10300-*-*): Likewise.
8800 (pdp11-*-*): Likewise.
8801 (picochip-*-*): Add t-fpbit to tmake_file.
8802 (powerpc-*-eabisimaltivec*): Likewise.
8803 (powerpc-*-eabisim*): Likewise.
8804 (powerpc-*-elf*): Likewise.
8805 (powerpc-*-eabialtivec*): Likewise.
8806 (powerpc-xilinx-eabi*): New case.
8807 Add t-fdpbit to tmake_file.
8808 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8809 (powerpc-*-rtems*): Likewise.
8810 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8812 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8814 (powerpc-*-lynxos*): Likewise.
8815 (powerpcle-*-elf*): Likewise.
8816 (powerpcle-*-eabisim*): Likewise.
8817 (powerpcle-*-eabi*): Likewise.
8818 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8819 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8820 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8821 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8822 (rx-*-elf): Add t-fdpbit to tmake_file.
8823 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8824 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8825 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8826 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8828 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8829 (sh-wrs-vxworks): Likewise.
8830 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8831 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8832 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8833 (sparc64-*-rtems*): ... new case.
8834 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8835 (spu-*-elf*): Likewise.
8836 Add spu/t-elf to tmake_file.
8837 (v850*-*-*): Add t-fdpbit to tmake_file.
8838 (xstormy16-*-elf): Likewise.
8839 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8840 (mep*-*-*): Likewise.
8842 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8844 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8846 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8847 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8848 (install-unwind_h): New target.
8849 (all): Depend on it.
8850 * config.host (unwind_header): New variable.
8851 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8852 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8853 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8854 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8855 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8857 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8859 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8861 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8863 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8864 (ia64*-*-freebsd*): Likewise.
8865 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8867 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8868 $with_system_libunwind.
8869 (ia64*-*-hpux*): Set tmake_file.
8870 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8871 (picochip-*-*): Set tmake_file.
8872 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8874 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8875 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8876 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8877 (xtensa*-*-elf*): Set tmake_file.
8878 (xtensa*-*-linux*): Likewise.
8879 * configure.ac: Include ../config/unwind_ipinfo.m4.
8880 Call GCC_CHECK_UNWIND_GETIPINFO.
8881 Link unwind.h to $unwind_header.
8882 * configure: Regenerate.
8883 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8884 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8885 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8886 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8887 * config/unwind-dw2-fde-darwin.c: New file.
8888 * config/arm/libunwind.S, config/arm/pr-support.c,
8889 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8890 config/arm/unwind-arm.h,: New files.
8891 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8892 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8893 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8894 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8895 config/ia64/unwind-ia64.h: New files.
8896 * config/picochip/t-picochip: New file.
8897 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8899 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8900 * config/s390/t-tpf (LIB2ADDEH): Remove.
8901 * config/t-darwin (LIB2ADDEH): Set.
8902 * config/t-eh-dw2-dip: New file.
8903 * config/t-libunwind, config/t-libunwind-elf: New files.
8904 * config/t-sol2 (LIB2ADDEH): Remove.
8905 * config/xtensa/t-xtensa: New file.
8907 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8909 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8910 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8911 long long to check rt_sigreturn syscall.
8913 2011-08-02 Alan Modra <amodra@gmail.com>
8915 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8916 Restore for indirect call bcrtl from correct stack slot, and only
8917 if cfa+40 isn't valid.
8919 2011-08-01 Julian Brown <julian@codesourcery.com>
8921 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8922 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8923 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8925 2011-08-01 Julian Brown <julian@codesourcery.com>
8927 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8928 (libgcc-std.ver.in): Use above.
8929 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8930 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8932 * config/t-fixedpoint-gnu-prefix: New file.
8933 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8934 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8937 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8939 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8940 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8941 for x86-64. Properly check __x86_64__ and __LP64__.
8943 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8945 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8947 (_FP_WS_TYPE): Likewise.
8948 (_FP_I_TYPE): Likewise.
8950 2011-07-28 Alan Modra <amodra@gmail.com>
8952 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8953 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8954 in a plt call stub. Do restore r2 if stopped on bctrl.
8956 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8958 * config.host (i[3456x]86-*-netware*): Remove.
8959 * config/i386/netware-crt0.c, config/i386/t-nwld,
8960 config/i386/t-slibgcc-nwld: Remove.
8962 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8964 * config.host: Handle tic6x-*-*.
8965 * config/c6x/c6x-abi.h: New file.
8967 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8969 * config/i386/crtprec.c: New file.
8970 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8971 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8972 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8973 (x86_64-*-darwin*): Likewise.
8974 (i[34567]86-*-solaris2*: Likewise.
8976 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8978 * config/alpha/crtfastmath.c: New file.
8979 * config/i386/crtfastmath.c: New file.
8980 * config/ia64/crtfastmath.c: New file.
8981 * config/mips/crtfastmath.c: New file.
8982 * config/sparc/crtfastmath.c: New file.
8984 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8986 Add -frandom-seed=gcc-crtfastmath.
8987 * config/alpha/t-crtfm: Remove.
8988 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8989 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8991 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8992 (alpha*-dec-osf5.1*): Likewise.
8993 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8994 Add crtfastmath.o to extra_parts.
8995 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8996 Add crtfastmath.o to extra_parts.
8997 (x86_64-*-darwin*): Likewise.
8998 (x86_64-*-mingw*): Likewise.
8999 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9000 (ia64*-*-freebsd*): Likewise.
9001 (ia64*-*-linux*): Likewise.
9002 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9003 Add crtfastmath.o to extra_parts.
9005 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9007 * config/darwin-crt3.o: New file.
9008 * config/rs6000/darwin-crt2.c: New file.
9009 * config/t-darwin: New file.
9010 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9012 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9013 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9014 (powerpc64-*-darwin*): Likewise.
9016 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9018 * config/i386/netware-crt0.c: New file.
9019 * config/i386/t-nwld: Rename to ...
9020 * config/i386/t-slibgcc-nwld: ... this.
9021 * config/i386/t-nwld: New file.
9022 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9024 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9027 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9029 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9031 * configure: Regenerate.
9033 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9035 * dfp-bit.c, dfp-bit.h: New files.
9036 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9038 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9039 ($(d64pbit-o)): Likewise.
9040 ($(d128pbit-o)): Likewise.
9041 * config/t-dfprules: New file.
9042 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9043 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9044 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9045 (x86_64-*-linux*): Likewise.
9046 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9047 (i[34567]86-*-cygwin*): Likewise.
9048 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9049 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9051 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9053 * Makfile.in (LIBGCOV): New variable.
9054 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9055 * libgcov.c: New file.
9057 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9059 * fixed-bit.c, fixed-bit.h: New files.
9060 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9061 refer to fixed-bit.c.
9063 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9065 * config.host (*local*): Remove.
9067 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9070 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9071 like i?86-*-solaris2.1[0-9]*.
9072 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9073 * configure.ac (i?86-*-solaris2*): Likewise.
9074 * configure: Regenerate.
9076 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9078 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9079 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9080 md_unwind_header by splitting out of...
9081 (i[34567]86-*-linux*): ... this.
9082 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9083 Remove md_unwind_header by splitting out of...
9084 (x86_64-*-linux*): ... this.
9086 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9088 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9090 2011-06-28 Nick Clifton <nickc@redhat.com>
9092 * config.host: Recognize all V850 variants.
9094 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9096 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9098 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9100 * shared-object.mk (c_flags-$o): Save c_flags.
9101 ($(base)$(objext)): Use it.
9102 ($(base)_s$(objext)): Likewise.
9104 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9106 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9107 * libgcc-std.ver.in (GCC_4.7.0): New section.
9109 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9113 * config/avr/t-avr: Fix line endings.
9114 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9117 2011-06-14 Olivier Hainque <hainque@adacore.com>
9118 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9120 * config/mips/irix6-unwind.h: New file.
9121 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9123 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9125 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9126 (sparc64_fallback_frame_state): Use it.
9127 (sparc64_frob_update_context): Further adjust context.
9128 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9129 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9130 * config/sparc/sol2-cn.S: Likewise.
9132 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9134 * enable-execute-stack-empty.c: New file.
9135 * enable-execute-stack-mprotect.c: New file.
9136 * config/i386/enable-execute-stack-mingw32.c: New file.
9137 * config.host (enable_execute_stack): New variable.
9138 Select appropriate variants.
9139 * configure.ac: Link enable-execute-stack.c to
9140 $enable_execute_stack.
9141 * configure: Regenerate.
9142 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9143 (lib2funcs): Remove _enable_execute_stack.
9145 2011-06-09 David S. Miller <davem@davemloft.net>
9146 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9148 * config.host (sparc-*-linux*): Correct md_unwind_header
9150 (s390x-ibm-tpf*): Fix typo.
9152 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9154 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9155 Add crtfastmath.o to extra_parts.
9156 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9158 * config/mips/t-crtfm: Remove.
9160 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9162 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9164 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9166 * config.host (sh*-*-linux*): Fix typo.
9168 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9170 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9171 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9172 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9173 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9174 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9175 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9176 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9177 Wrap in !__MINGW64__.
9178 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9179 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9180 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9181 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9182 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9183 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9184 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9186 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9187 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9188 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9189 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9190 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9191 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9192 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9193 * config/no-unwind.h: New file.
9194 * config.host (md_unwind_header): Document.
9196 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9197 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9198 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9199 hppa[12]*-*-hpux11*): Set md_unwind_header.
9200 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9201 Set md_unwind_header.
9202 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9203 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9204 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9205 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9206 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9207 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9208 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9210 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9211 * configure: Regenerate.
9213 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9215 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9216 Set tmake_file, extra_parts.
9217 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9219 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9221 * config/mips/t-irix6: New file.
9222 * config/mips/t-slibgcc-irix: New file.
9224 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9226 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9227 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9229 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9231 * configure.ac (target_thread_file): Determine thread model.
9232 * configure: Regenerate.
9233 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9234 * config/alpha/t-alpha: New file.
9235 * config/alpha/t-crtfm: Use $<.
9236 * config/alpha/t-ieee: New file.
9237 * config/alpha/t-osf-pthread: New file.
9238 * config/alpha/t-slibgcc-osf: New file.
9239 * config/alpha/libgcc-osf5.ver: New file.
9241 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9243 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9245 Add crtfastmath.o to extra_parts.
9247 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9249 * config/gmon-sol2.c: Reindent.
9251 Remove, correct casts.
9252 Use STDERR_FILENO, NULL.
9253 (BASEADDRESS): Remove.
9255 (errno, sbrk): Remove declarations.
9256 (monstartup) [hp300]: Remove.
9259 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9261 * Makefile.in (cpu_type): Define.
9262 * config.host (i[34567]86-*-rtems*): Handle it.
9263 (i[34567]86-*-solaris2*): Move body ...
9264 (*-*-solaris2*): ... here.
9265 New case, generalize.
9266 (sparc-*-elf*): Handle it.
9267 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9268 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9269 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9271 (sparc*-*-solaris2*): ... this.
9273 (sparc64-*-elf*): Handle it.
9274 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9275 Merge ../gcc/config/i386/gmon-sol2.c.
9276 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9278 Merge ../gcc/config/i386/sol2-gc1.asm.
9279 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9281 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9283 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9284 * config/i386/t-crtstuff: New file.
9285 * config/i386/t-softfp: New file.
9286 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9287 $(T)crti.o, $(T)crtn.o): Remove.
9288 (gcrt1.o): New rule.
9289 (TARGET_LIBGCC2_CFLAGS): Remove.
9290 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9291 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9292 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9293 * config/sparc/t-sol2: New file.
9294 * config/sparc/t-crtfm: Move to ...
9295 * config/t-crtfm: ... this.
9296 Use $(cpu_type), $<.
9297 * config/t-crtin: New file.
9298 * config/sparc/t-softfp: New file.
9299 * config/sparc/t-softmul: New file.
9300 * config/t-rtems: New file.
9301 * config/t-slibgcc: New file.
9302 * config/t-slibgcc-elf-ver: New file.
9303 * config/t-slibgcc-gld: New file.
9304 * config/t-slibgcc-sld: New file.
9305 * config/t-sol2: New file.
9306 * configure.ac: Include ../config/lib-ld.m4.
9307 Call AC_LIB_PROG_LD_GNU.
9308 Substitute cpu_type.
9309 * configure: Regenerate.
9311 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9314 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9315 libgcc-std.ver in the build directory.
9316 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9317 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9319 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9321 * libgcc-std.ver.in: New file.
9322 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9324 (libgcc-std.ver): New rule.
9325 * config/t-gnu-prefix: New file.
9327 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9329 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9331 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9333 * config/i386/darwin-lib.h: New file.
9335 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9337 * config/arm/symbian-lib.h: New.
9339 2011-05-04 Chris Demetriou <cgd@google.com>
9341 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9342 (__x86.get_pc_thunk.bx): ...this.
9343 (__morestack): Adjust for rename, remove undef of __i686.
9345 2011-05-03 Chris Demetriou <cgd@google.com>
9347 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9349 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9351 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9352 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9353 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9354 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9355 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9358 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9360 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9361 Adjust copyright year.
9363 2011-03-07 Ian Lance Taylor <iant@google.com>
9365 * generic-morestack.c (__splitstack_find): Adjust returned stack
9366 pointer to include all registers pushed by __morestack.
9368 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9371 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9372 (toolexecdir): Calculate and AC_SUBST.
9373 (toolexeclibdir): Likewise.
9374 * Makefile.in (target_noncanonical): Import.
9375 (toolexecdir): Likewise.
9376 (toolexeclibdir): Likewise.
9377 * configure: Regenerate.
9379 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9382 * config/arm/bpabi.h: Rename to...
9383 * config/arm/bpabi-lib.h: ...this.
9385 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9387 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9389 * configure: Regenerate.
9391 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9393 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9394 __FLOAT_WORD_ORDER__.
9395 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9398 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9401 * Makefile.in (install-strip): New phony target.
9403 2010-11-07 Ian Lance Taylor <iant@google.com>
9406 * config/i386/morestack.S (__morestack_large_model): New
9409 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9411 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9413 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9415 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9417 * config/arm/bpabi.h: New file.
9418 * config/frv/frv-abi.h: New file.
9420 2010-10-01 Ian Lance Taylor <iant@google.com>
9422 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9423 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9425 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9428 * config.host: Add the missing `$'.
9430 2010-09-30 Michael Eager <eager@eagercon.com>
9432 * config.host: Add microblaze*-*-*.
9433 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9434 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9435 udivsi3.asm,umodsi3.asm}: New.
9437 2010-09-28 Ian Lance Taylor <iant@google.com>
9439 * configure.ac: Adjust CFI test to test assembler directly rather
9440 than checking gcc preprocessor macro.
9441 * configure: Rebuild.
9443 2010-09-27 Ian Lance Taylor <iant@google.com>
9445 * configure.ac: Test whether assembler supports CFI directives.
9446 * config.host: Only add t-stack and i386/t-stack-i386 to
9447 tmake_file if libgcc_cv_cfi is "yes".
9448 * configure: Rebuild.
9450 2010-09-27 Ian Lance Taylor <iant@google.com>
9452 * generic-morestack.h: New file.
9453 * generic-morestack.c: New file.
9454 * generic-morestack-thread.c: New file.
9455 * config/i386/morestack.S: New file.
9456 * config/t-stack: New file.
9457 * config/i386/t-stack-i386: New file.
9458 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9459 i386/t-stack-i386 to tmake_file.
9461 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9463 * Makefile.in (libgcc-extra-parts): Check for static archives and
9464 invoke ranlib after installing them.
9465 (gcc-extra-parts): Likewise.
9466 (install-leaf): Likewise.
9468 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9470 * configure: Regenerated.
9472 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9474 * configure: Regenerated.
9476 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9477 Andrew Pinski <pinskia@gmail.com>
9480 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9482 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9485 * configure: Regenerated.
9487 2010-09-06 Andreas Schwab <schwab@redhat.com>
9489 * configure: Regenerate.
9491 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9493 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9495 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9498 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9499 Iain Sandoe <iains@gcc.gnu.org>
9502 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9503 LIB2FUNCS_EXCLUDE functions.
9505 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9507 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9509 * configure: Regenerate.
9511 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9513 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9514 i386/t-freebsd to tmake_file.
9515 * config/i386/t-freebsd: New file.
9516 * config/i386/libgcc-bsd.ver: New file.
9518 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9520 * config.host (powerpc*-eabispe*): Set tmake_file.
9521 (powerpc*-eabi*): Likewise.
9522 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9523 crtbeginS, crtendS, crtbeginT.
9525 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9527 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9528 to tmake_file. Add crtfastmath.o to extra_parts.
9529 * config/mips/t-crtfm: New.
9531 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9533 * config.host (sparc64-*-rtems*): New target.
9535 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9537 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9540 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9542 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9544 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9546 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9547 alpha-dec-osf5.0* support.
9549 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9551 * config.host: Add lm32-*-rtems*.
9553 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9554 Uros Bizjak <ubizjak@gmail.com>
9557 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9558 like other remaining 32-bit x86 OSes.
9559 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9561 * config/i386/libgcc-sol2.ver: New file.
9562 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9564 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9567 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9568 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9569 is used and substitute set_use_emutls.
9570 * configure: Regenerated.
9572 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9574 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9576 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9579 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9581 ($(T)gcrt1.o): Likewise.
9582 ($(T)crt1.o): Likewise.
9583 ($(T)crti.o): Likewise.
9584 ($(T)crtn.o): Likewise.
9586 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9589 * Makefile.in (install): Use $(MAKE) string in rule, for
9592 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9594 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9595 * config/mmix/t-mmix: New file.
9596 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9598 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9601 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9604 2010-01-04 Anthony Green <green@moxielogic.com>
9606 * config/moxie/crti.asm, config/moxie/crtn.asm,
9607 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9608 config/moxie/t-moxie: New files.
9609 * config.host: Add t-moxie-softfp reference.
9611 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9614 * config/t-slibgcc-darwin: Fix embedded rpaths for
9615 --enable-version-specific-runtime-libs, build extension stub
9616 libs exposing features available from current libgcc_s.
9618 2009-11-11 Jon Beniston <jon@beniston.com>
9620 * config.host: Add lm32 targets.
9621 * config/lm32: New directory.
9622 * config/lm32/libgcc_lm32.h: New file.
9623 * config/lm32/_mulsi3.c: New file.
9624 * config/lm32/_udivmodsi4.c: New file.
9625 * config/lm32/_divsi3.c: New file.
9626 * config/lm32/_modsi3.c: New file.
9627 * config/lm32/_udivsi3.c: New file.
9628 * config/lm32/_umodsi3.c: New file.
9629 * config/lm32/_lshrsi3.S: New file.
9630 * config/lm32/_ashrsi3.S: New file.
9631 * config/lm32/_ashlsi3.S: New file.
9632 * config/lm32/crti.S: New file.
9633 * config/lm32/crtn.S: New file.
9634 * config/lm32/t-lm32: New file.
9635 * config/lm32/t-elf: New file.
9636 * config/lm32/t-uclinux: New file.
9638 2009-10-26 Nick Clifton <nickc@redhat.com>
9640 * config.host: Add support for RX target.
9641 * config/rx: New directory.
9642 * config/rx/rx-abi-functions.c: New file. Supplementary
9643 functions for libgcc to support the RX ABI.
9644 * config/rx/rx-abi.h: New file. Supplementary header file for
9645 libgcc RX ABI functions.
9646 * config/rx/t-rx: New file: Makefile fragment for building
9649 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9651 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9652 constraint of y0 to "g".
9654 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9656 * config.host: Include the s390 makefile fragments.
9657 * config/s390/32/_fixdfdi.c: New file.
9658 * config/s390/32/_fixsfdi.c: New file.
9659 * config/s390/32/_fixtfdi.c: New file.
9660 * config/s390/32/_fixunsdfdi.c: New file.
9661 * config/s390/32/_fixunssfdi.c: New file.
9662 * config/s390/32/_fixunstfdi.c: New file.
9663 * config/s390/32/t-floattodi: New file.
9664 * config/s390/libgcc-glibc.ver: New file.
9665 * config/s390/t-crtstuff: New file.
9666 * config/s390/t-linux: New file.
9667 * config/s390/t-tpf: New file.
9669 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9671 * configure.ac (AC_PREREQ): Bump to 2.64.
9673 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9675 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9677 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9679 * configure: Regenerate.
9681 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9683 * config.host (ia64-hp-*vms*): New target.
9684 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9687 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9689 * configure.ac: Add snippet for maintainer-mode.
9690 * configure: Regenerate.
9691 * Makefile.in (AUTOCONF, configure_deps): New variables.
9692 ($(srcdir)/configure)): New rule, active only with maintainer
9695 2009-06-23 DJ Delorie <dj@redhat.com>
9698 * config.host: Add mep support.
9700 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9702 * config.host: Add i386/${host_address}/t-fprules-softfp and
9703 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9705 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9707 * config/i386/64/_multc3.c: Likewise.
9708 * config/i386/64/_powitf2.c: Likewise.
9709 * config/i386/64/eqtf2.c: Likewise.
9710 * config/i386/64/getf2.c: Likewise.
9711 * config/i386/64/letf2.c: Likewise.
9712 * config/i386/64/letf2.c: Likewise.
9713 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9714 unsigned long long for x64 mingw targets.
9715 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9716 (_FP_I_TYPE): Define as long long for x64 mingw target.
9718 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9720 * config.host (vax-*-linux*): New.
9722 2009-05-31 Anthony Green <green@moxielogic.com>
9724 * config.host: Add moxie support.
9725 * config/moxie/t-moxie: New file.
9727 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9729 * config.host: Add i386/${host_address}/t-fprules-softfp and
9730 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9732 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9734 * config.host: Add i386/${host_address}/t-fprules-softfp to
9735 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9737 2009-04-09 Nick Clifton <nickc@redhat.com>
9739 * config/ia64/tf-signs.c: Change copyright header to refer to
9740 version 3 of the GNU General Public License with version 3.1
9741 of the GCC Runtime Library Exception and to point readers at
9742 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9744 * config/i386/32/tf-signs.c: Likewise.
9745 * config/libbid/_addsub_dd.c: Likewise.
9746 * config/libbid/_addsub_sd.c: Likewise.
9747 * config/libbid/_addsub_td.c: Likewise.
9748 * config/libbid/_dd_to_df.c: Likewise.
9749 * config/libbid/_dd_to_di.c: Likewise.
9750 * config/libbid/_dd_to_sd.c: Likewise.
9751 * config/libbid/_dd_to_sf.c: Likewise.
9752 * config/libbid/_dd_to_si.c: Likewise.
9753 * config/libbid/_dd_to_td.c: Likewise.
9754 * config/libbid/_dd_to_tf.c: Likewise.
9755 * config/libbid/_dd_to_udi.c: Likewise.
9756 * config/libbid/_dd_to_usi.c: Likewise.
9757 * config/libbid/_dd_to_xf.c: Likewise.
9758 * config/libbid/_df_to_dd.c: Likewise.
9759 * config/libbid/_df_to_sd.c: Likewise.
9760 * config/libbid/_df_to_td.c: Likewise.
9761 * config/libbid/_di_to_dd.c: Likewise.
9762 * config/libbid/_di_to_sd.c: Likewise.
9763 * config/libbid/_di_to_td.c: Likewise.
9764 * config/libbid/_div_dd.c: Likewise.
9765 * config/libbid/_div_sd.c: Likewise.
9766 * config/libbid/_div_td.c: Likewise.
9767 * config/libbid/_eq_dd.c: Likewise.
9768 * config/libbid/_eq_sd.c: Likewise.
9769 * config/libbid/_eq_td.c: Likewise.
9770 * config/libbid/_ge_dd.c: Likewise.
9771 * config/libbid/_ge_sd.c: Likewise.
9772 * config/libbid/_ge_td.c: Likewise.
9773 * config/libbid/_gt_dd.c: Likewise.
9774 * config/libbid/_gt_sd.c: Likewise.
9775 * config/libbid/_gt_td.c: Likewise.
9776 * config/libbid/_isinfd128.c: Likewise.
9777 * config/libbid/_isinfd32.c: Likewise.
9778 * config/libbid/_isinfd64.c: Likewise.
9779 * config/libbid/_le_dd.c: Likewise.
9780 * config/libbid/_le_sd.c: Likewise.
9781 * config/libbid/_le_td.c: Likewise.
9782 * config/libbid/_lt_dd.c: Likewise.
9783 * config/libbid/_lt_sd.c: Likewise.
9784 * config/libbid/_lt_td.c: Likewise.
9785 * config/libbid/_mul_dd.c: Likewise.
9786 * config/libbid/_mul_sd.c: Likewise.
9787 * config/libbid/_mul_td.c: Likewise.
9788 * config/libbid/_ne_dd.c: Likewise.
9789 * config/libbid/_ne_sd.c: Likewise.
9790 * config/libbid/_ne_td.c: Likewise.
9791 * config/libbid/_sd_to_dd.c: Likewise.
9792 * config/libbid/_sd_to_df.c: Likewise.
9793 * config/libbid/_sd_to_di.c: Likewise.
9794 * config/libbid/_sd_to_sf.c: Likewise.
9795 * config/libbid/_sd_to_si.c: Likewise.
9796 * config/libbid/_sd_to_td.c: Likewise.
9797 * config/libbid/_sd_to_tf.c: Likewise.
9798 * config/libbid/_sd_to_udi.c: Likewise.
9799 * config/libbid/_sd_to_usi.c: Likewise.
9800 * config/libbid/_sd_to_xf.c: Likewise.
9801 * config/libbid/_sf_to_dd.c: Likewise.
9802 * config/libbid/_sf_to_sd.c: Likewise.
9803 * config/libbid/_sf_to_td.c: Likewise.
9804 * config/libbid/_si_to_dd.c: Likewise.
9805 * config/libbid/_si_to_sd.c: Likewise.
9806 * config/libbid/_si_to_td.c: Likewise.
9807 * config/libbid/_td_to_dd.c: Likewise.
9808 * config/libbid/_td_to_df.c: Likewise.
9809 * config/libbid/_td_to_di.c: Likewise.
9810 * config/libbid/_td_to_sd.c: Likewise.
9811 * config/libbid/_td_to_sf.c: Likewise.
9812 * config/libbid/_td_to_si.c: Likewise.
9813 * config/libbid/_td_to_tf.c: Likewise.
9814 * config/libbid/_td_to_udi.c: Likewise.
9815 * config/libbid/_td_to_usi.c: Likewise.
9816 * config/libbid/_td_to_xf.c: Likewise.
9817 * config/libbid/_tf_to_dd.c: Likewise.
9818 * config/libbid/_tf_to_sd.c: Likewise.
9819 * config/libbid/_tf_to_td.c: Likewise.
9820 * config/libbid/_udi_to_dd.c: Likewise.
9821 * config/libbid/_udi_to_sd.c: Likewise.
9822 * config/libbid/_udi_to_td.c: Likewise.
9823 * config/libbid/_unord_dd.c: Likewise.
9824 * config/libbid/_unord_sd.c: Likewise.
9825 * config/libbid/_unord_td.c: Likewise.
9826 * config/libbid/_usi_to_dd.c: Likewise.
9827 * config/libbid/_usi_to_sd.c: Likewise.
9828 * config/libbid/_usi_to_td.c: Likewise.
9829 * config/libbid/_xf_to_dd.c: Likewise.
9830 * config/libbid/_xf_to_sd.c: Likewise.
9831 * config/libbid/_xf_to_td.c: Likewise.
9832 * config/libbid/bid128.c: Likewise.
9833 * config/libbid/bid128_2_str.h: Likewise.
9834 * config/libbid/bid128_2_str_macros.h: Likewise.
9835 * config/libbid/bid128_2_str_tables.c: Likewise.
9836 * config/libbid/bid128_add.c: Likewise.
9837 * config/libbid/bid128_compare.c: Likewise.
9838 * config/libbid/bid128_div.c: Likewise.
9839 * config/libbid/bid128_fma.c: Likewise.
9840 * config/libbid/bid128_logb.c: Likewise.
9841 * config/libbid/bid128_minmax.c: Likewise.
9842 * config/libbid/bid128_mul.c: Likewise.
9843 * config/libbid/bid128_next.c: Likewise.
9844 * config/libbid/bid128_noncomp.c: Likewise.
9845 * config/libbid/bid128_quantize.c: Likewise.
9846 * config/libbid/bid128_rem.c: Likewise.
9847 * config/libbid/bid128_round_integral.c: Likewise.
9848 * config/libbid/bid128_scalb.c: Likewise.
9849 * config/libbid/bid128_sqrt.c: Likewise.
9850 * config/libbid/bid128_string.c: Likewise.
9851 * config/libbid/bid128_to_int16.c: Likewise.
9852 * config/libbid/bid128_to_int32.c: Likewise.
9853 * config/libbid/bid128_to_int64.c: Likewise.
9854 * config/libbid/bid128_to_int8.c: Likewise.
9855 * config/libbid/bid128_to_uint16.c: Likewise.
9856 * config/libbid/bid128_to_uint32.c: Likewise.
9857 * config/libbid/bid128_to_uint64.c: Likewise.
9858 * config/libbid/bid128_to_uint8.c: Likewise.
9859 * config/libbid/bid32_to_bid128.c: Likewise.
9860 * config/libbid/bid32_to_bid64.c: Likewise.
9861 * config/libbid/bid64_add.c: Likewise.
9862 * config/libbid/bid64_compare.c: Likewise.
9863 * config/libbid/bid64_div.c: Likewise.
9864 * config/libbid/bid64_fma.c: Likewise.
9865 * config/libbid/bid64_logb.c: Likewise.
9866 * config/libbid/bid64_minmax.c: Likewise.
9867 * config/libbid/bid64_mul.c: Likewise.
9868 * config/libbid/bid64_next.c: Likewise.
9869 * config/libbid/bid64_noncomp.c: Likewise.
9870 * config/libbid/bid64_quantize.c: Likewise.
9871 * config/libbid/bid64_rem.c: Likewise.
9872 * config/libbid/bid64_round_integral.c: Likewise.
9873 * config/libbid/bid64_scalb.c: Likewise.
9874 * config/libbid/bid64_sqrt.c: Likewise.
9875 * config/libbid/bid64_string.c: Likewise.
9876 * config/libbid/bid64_to_bid128.c: Likewise.
9877 * config/libbid/bid64_to_int16.c: Likewise.
9878 * config/libbid/bid64_to_int32.c: Likewise.
9879 * config/libbid/bid64_to_int64.c: Likewise.
9880 * config/libbid/bid64_to_int8.c: Likewise.
9881 * config/libbid/bid64_to_uint16.c: Likewise.
9882 * config/libbid/bid64_to_uint32.c: Likewise.
9883 * config/libbid/bid64_to_uint64.c: Likewise.
9884 * config/libbid/bid64_to_uint8.c: Likewise.
9885 * config/libbid/bid_b2d.h: Likewise.
9886 * config/libbid/bid_binarydecimal.c: Likewise.
9887 * config/libbid/bid_conf.h: Likewise.
9888 * config/libbid/bid_convert_data.c: Likewise.
9889 * config/libbid/bid_decimal_data.c: Likewise.
9890 * config/libbid/bid_decimal_globals.c: Likewise.
9891 * config/libbid/bid_div_macros.h: Likewise.
9892 * config/libbid/bid_dpd.c: Likewise.
9893 * config/libbid/bid_flag_operations.c: Likewise.
9894 * config/libbid/bid_from_int.c: Likewise.
9895 * config/libbid/bid_functions.h: Likewise.
9896 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9897 * config/libbid/bid_inline_add.h: Likewise.
9898 * config/libbid/bid_internal.h: Likewise.
9899 * config/libbid/bid_round.c: Likewise.
9900 * config/libbid/bid_sqrt_macros.h: Likewise.
9902 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9904 * Makefile.in: Change copyright header to refer to version
9905 3 of the GNU General Public License and to point readers at the
9906 COPYING3 file and the FSF's license web page.
9907 * config.host: Likewise.
9909 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9911 * config.host: Reorder and merge to match config.gcc change.
9913 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9915 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9917 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9919 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9920 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9921 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9922 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9924 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9926 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9927 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9929 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9931 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9932 ia64/t-softfp-compat to tmake_file.
9934 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9936 * config/ia64/__divxf3.asm: New.
9937 * config/ia64/_fixtfdi.asm: Likewise.
9938 * config/ia64/_fixunstfdi.asm: Likewise.
9939 * config/ia64/_floatditf.asm: Likewise.
9940 * config/ia64/t-fprules-softfp: Likewise.
9941 * config/ia64/t-softfp-compat: Likewise.
9942 * config/ia64/tf-signs.c: Likewise.
9944 2009-01-18 Ben Elliston <bje@au.ibm.com>
9946 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9948 2009-01-16 Ben Elliston <bje@au.ibm.com>
9950 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9953 2009-01-13 Ben Elliston <bje@au.ibm.com>
9955 * config/t-softfp: New file.
9956 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9957 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9959 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9961 * config.host: Add m32r*-*-rtems*.
9963 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9965 * config.host: Add m32c*-*-rtems*.
9967 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9970 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9971 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9972 * configure: Regenerate.
9973 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9974 tmake_file here from gcc/config.gcc.
9975 Move extra_parts here from gcc/config.gcc.
9976 * config/i386/t-sol2: Move here from gcc/config/i386.
9977 Use gcc_srcdir instead of srcdir.
9979 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9981 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9984 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9986 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9988 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9990 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9992 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9995 * config.host: Add picochip-*-*.
9997 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9999 * config.host: Match more processor names for Xtensa.
10001 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10003 * config/i386/64/t-softfp-compat: Update comments.
10005 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10007 * config/i386/64/_divtc3-compat.c: Moved to ...
10008 * config/i386/64/_divtc3.c: Here.
10010 * config/i386/64/_multc3-compat.c: Moved to ...
10011 * config/i386/64/_multc3.c: Here.
10013 * config/i386/64/_powitf2-compat.c: Moved to ...
10014 * config/i386/64/_powitf2.c: Here.
10016 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10017 .c suffix instead of -compat.c.
10019 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10021 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10022 (_FP_MUL_MEAT_D): Ditto.
10023 (_FP_DIV_MEAT_S): Ditto.
10024 (_FP_DIV_MEAT_D): Ditto.
10026 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10028 * Makefile.in: Add support for __sync_* libgcc functions.
10030 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10032 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10034 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10037 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10038 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10040 * config/i386/64/t-fprules-softfp: Moved to ...
10041 * config/i386/64/t-softfp-compat: This. New.
10043 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10045 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10046 Initialize f with 0.0.
10048 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10051 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10053 * config/i386/64/_divtc3-compat.c: New.
10054 * config/i386/64/_multc3-compat.c: Likewise.
10055 * config/i386/64/_powitf2-compat.c: Likewise.
10056 * config/i386/64/eqtf2.c: Likewise.
10057 * config/i386/64/getf2.c: Likewise.
10058 * config/i386/64/letf2.c: Likewise.
10059 * config/i386/64/t-fprules-softfp: Likewise.
10061 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10063 * config.host: Add i386/${host_address}/t-fprules-softfp to
10064 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10065 i[34567]86-*-linux*, x86_64-*-linux*.
10067 * configure.ac: Set host_address to 64 or 32 for x86.
10068 * configure: Regenerated.
10070 * Makefile.in (config.status): Also depend on
10071 $(srcdir)/config.host.
10073 * config/i386/32/t-fprules-softfp: New.
10074 * config/i386/32/tf-signs.c: Likewise.
10076 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10078 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10079 Uros Bizjak <ubizjak@gmail.com>
10081 * config/i386/32/sfp-machine.h: New.
10083 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10085 * config/rs6000/t-ppccomm: Remove rules that conflict with
10086 auto-generated rules.
10088 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10090 * configure.ac: sinclude override.m4.
10091 * configure: Regenerate.
10093 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10095 * configure: Regenerate.
10097 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10099 * Makefile.in (DECNUMINC): Remove
10100 -I$(MULTIBUILDTOP)../../libdecnumber.
10103 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10105 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10106 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10107 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10108 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10109 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10110 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10111 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10112 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10113 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10114 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10115 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10116 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10117 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10118 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10120 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10122 * config.host (sh2[lbe]*-*-linux*): Allow target.
10124 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10126 * config/rs6000/t-ppccomm: Add build rules for new files.
10127 (LIB2ADD_ST): New variable.
10129 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10133 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10134 * config/t-avr: New file. Build 16bit libgcc functions.
10136 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10139 * config/t-slibgcc-darwin: Make install-leaf dependent on
10140 install-darwin-libgcc-stubs instead of install.
10142 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10144 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10145 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10146 sh-*-rtemscoff*): Remove cases.
10148 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10150 * Makefile.in (all): Use install-leaf rather than install.
10151 (install): Split most of the rule into...
10152 (install-leaf): ...this new one.
10154 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10155 Paolo Bonzini <bonzini@gnu.org>
10158 * Makefile.in: Use @shlib_slibdir@ substitution to get
10159 correct install name on darwin.
10160 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10162 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10164 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10165 cris-*-elf and cris-*-none.
10166 (crisv32-*-linux*): Similar, as cris-*-linux*.
10168 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10170 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10172 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10174 PR regression/33926
10175 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10176 * configure: Regenerated.
10178 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10180 * Makefile.in (dfp-filenames): Replace decimal_globals,
10181 decimal_data, binarydecimal and convert_data with
10182 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10183 and bid_convert_data, respectively.
10185 2007-09-17 Chao-ying Fu <fu@mips.com>
10186 Nigel Stephens <nigel@mips.com>
10188 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10189 * Makefile.in (fixed_point): Define.
10190 Check if fixed_point is yes to build support functions.
10191 * configure.ac: Check for fixed_point support.
10192 * configure: Regenerated.
10193 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10194 funcs, modes, from, to.
10196 2007-09-11 Janis Johnson <janis187@us.ibm.com
10198 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10200 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10202 * Makefile.in (dfp-filenames): Remove decUtility, add
10203 decDouble, decPacked, decQuad, decSingle.
10205 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10207 * config.host : Add x86_64-elf target.
10209 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10211 * configure.ac (set_have_cc_tls): Add a missing =.
10212 * configure: Regenerated.
10214 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10216 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10217 and x86_64-*-linux*.
10219 * config/t-tls: New file.
10221 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10223 * configure.ac: Include ../config/enable.m4 and
10224 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10225 supports TLS and substitute set_have_cc_tls.
10226 * configure: Regenerated.
10228 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10230 * Makefile.in: Use libbid for DFP when BID is enabled.
10232 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10234 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10235 extra_parts. Add config/i386/t-cygming to tmake_file.
10236 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10238 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10239 Danny Smith <dannysmith@users.sourceforge.net>
10242 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10243 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10244 * config/i386/t-crtfm: Compile crtfastmath.o with
10245 -minline-all-stringops.
10247 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10249 * config.host (sparc-wrs-vxworks): New target.
10251 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10253 * config.host: Recognize fido.
10255 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10257 * configure: Check host, not target, for decimal float support.
10259 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10261 * config/i386/t-crtpc: New file.
10262 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10263 (x86_64-*-linux*): Ditto.
10265 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10267 * config.host (x86_64-*-mingw*): New target.
10269 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10270 H.J. Lu <hongjiu.lu@intel.com>
10272 * Makefile.in (enable_decimal_float): New.
10274 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10275 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10276 (decbits-filenames): This.
10277 (decbits-objects): New.
10278 (libgcc-objects): Add $(decbits-objects).
10280 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10281 Substitute enable_decimal_float.
10282 * configure: Regenerated.
10284 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10286 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10288 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10290 * Makefile.in (install-info): New dummy target.
10292 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10294 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10296 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10298 * Makefile.in: Add install-html and install-pdf dummy
10301 2007-02-05 Roger Sayle <roger@eyesopen.com>
10302 Daniel Jacobowitz <dan@codesourcery.com>
10304 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10305 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10306 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10308 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10310 * Makefile.in (dec-filenames): Add decExcept.
10312 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10315 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10318 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10320 * configure.ac: Add --enable-version-specific-runtime-libs.
10321 Correct $slibdir default.
10322 * configure: Regenerated.
10324 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10326 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10328 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10331 * config.host (alpha*-*-linux*): Set extra_parts.
10333 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10335 * config/sh/t-linux: New.
10336 * config.host (sh*-*-linux*): Set tmake_file.
10338 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10340 * Makefile.in (install): Handle multilibs.
10342 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10344 * Makefile.in: Added .PHONY entry for documentation targets.
10346 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10348 * Makefile.in: Add empty info, html, dvi, pdf targets.
10350 2007-01-04 Mike Stump <mrs@apple.com>
10352 * Makefile.in (MAKEINFO): Remove.
10355 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10357 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10358 * configure: Regenerate.
10359 * Makefile.in (host_subdir): Substitute it.
10360 (gcc_objdir): Use it.
10362 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10364 * config.host (ia64*-*-linux*): Set tmake_file.
10366 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10368 * Makefile.in (version): Define.
10370 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10371 Paolo Bonzini <bonzini@gnu.org>
10373 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10374 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10375 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10376 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10377 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10378 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10379 * configure: Generated.
10381 Copyright (C) 2007-2019 Free Software Foundation, Inc.
10383 Copying and distribution of this file, with or without modification,
10384 are permitted in any medium without royalty provided the copyright
10385 notice and this notice are preserved.