ec225d1cb5a53f74ef769f8736a6e3e3d7b712ac
[gcc.git] / libgcc / ChangeLog
1 2020-04-04 Ian Lance Taylor <iant@golang.org>
2
3 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
4
5 2020-04-03 Ian Lance Taylor <iant@golang.org>
6
7 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
8 than mmap/munmap, to avoid hooks.
9
10 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
11
12 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
13 (TPFRA_OFFSET): Macros removed.
14 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
15 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
16 (PG3_SKIPPING_OFFSET): New macros.
17 (__isPATrange): Use cinfc_fast for the check.
18 (__isSkipResetAddr): New function.
19 (s390_fallback_frame_state): Check for skip trace addresses. Use
20 either ICST_CRET or ICST_SRET to calculate return address
21 location.
22 (__tpf_eh_return): Handle skip trace addresses.
23
24 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
25
26 PR target/94220
27 * config/arm/lib1funcs.asm (COND): Use a single definition for
28 unified syntax.
29 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
30 (aeabi_idivmod): Likewise.
31 (divsi3_skip_div0_test): Likewise.
32
33 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
34
35 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
36
37 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
38
39 * config.host: Include the new makefile fragment.
40 * config/s390/t-tpf: New file.
41
42 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
43
44 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
45 syntax.
46 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
47 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
48 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
49 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
50 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
51 syntax.
52 (divsi3, modsi3): Likewise.
53 (clzdi2, ctzsi2): Likewise.
54 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
55 unified syntax.
56 (UNWIND_WRAPPER): Likewise.
57
58 2020-03-02 Martin Liska <mliska@suse.cz>
59
60 * libgcov-interface.c: Remove duplicate
61 declaration of __gcov_flush_mx.
62
63 2020-02-18 Martin Liska <mliska@suse.cz>
64
65 PR ipa/92924
66 * libgcov-merge.c (merge_topn_values_set): Record
67 when a TOP N counter becomes invalid. When merging
68 remove a smallest value if the space is needed.
69
70 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
71
72 PR libstdc++/79193
73 PR libstdc++/88999
74
75 * configure: Regenerated.
76
77 2020-02-10 Jeff Law <law@redhat.com>
78
79 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
80 sections.
81 * config/frv/frvend.c: Similarly.
82
83 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
84
85 PR libgcc/85334
86 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
87 New.
88
89 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
90
91 PR target/93615
92 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
93 _Unwind_gnu_Find_got.
94 * unwind-pe.h: Likewise.
95
96 2020-02-07 Jakub Jelinek <jakub@redhat.com>
97
98 PR target/93615
99 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
100 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
101 trailing :s in asm. Formatting fixes.
102 (_Unwind_decode_typeinfo_ptr): Adjust caller.
103
104 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
105
106 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
107
108 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
109 * config/nios2-elf-lib.h: New.
110 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
111 code for finding GOT base for nios2.
112
113 2020-01-27 Martin Liska <mliska@suse.cz>
114
115 PR gcov-profile/93403
116 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
117 Call __gcov_indirect_call_profiler_body.
118 (__gcov_indirect_call_profiler_body): New.
119 (__gcov_indirect_call_profiler_v4_atomic): New.
120 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
121 New declaration.
122
123 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
124
125 * config/arc/crti.S: Add RF16 object attribute.
126 * config/arc/crtn.S: Likewise.
127 * config/arc/crttls.S: Likewise.
128 * config/arc/lib1funcs.S: Likewise.
129 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
130 * config/arc/lib2funcs.c: New file.
131 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
132
133 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
134
135 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
136 * configure.ac: Handle `--with-toolexeclibdir='.
137 * configure: Regenerate.
138
139 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
140
141 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
142
143 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
144
145 * config/mips/gnustack.h: New file.
146 * config/mips/crti.S: Include gnustack.h.
147 * config/mips/crtn.S: Likewise.
148 * config/mips/mips16.S: Likewise.
149 * config/mips/vr4120-div.S: Likewise.
150
151 2020-01-23 Martin Liska <mliska@suse.cz>
152
153 * libgcov-driver.c (prune_topn_counter): Remove
154 check for -1 as we only prune run-time counters
155 that do not generate an invalid state.
156
157 2020-01-22 Martin Liska <mliska@suse.cz>
158
159 PR tree-optimization/92924
160 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
161 try to find an existing value, then find an empty slot
162 if not found.
163
164 2020-01-22 Martin Liska <mliska@suse.cz>
165
166 PR tree-optimization/92924
167 * libgcov-driver.c (prune_topn_counter): New.
168 (prune_counters): Likewise.
169 (dump_one_gcov): Prune a run-time counter.
170 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
171 For a known value, add GCOV_TOPN_VALUES to value.
172 Otherwise, decrement all counters by one.
173
174 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
175
176 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
177
178 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
179
180 PR libgcc/92988
181 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
182 DEFAULT_USE_CXA_ATEXIT is true.
183
184 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
185 Thomas Preud'homme <thomas.preudhomme@arm.com>
186
187 * config/arm/t-arm: Check return value of gcc rather than lack of
188 output.
189
190 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
191
192 * config/avr/lib1funcs.S (skip): Simplify.
193
194 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
195
196 * config/gcn/atomic.c: Remove include of stdint.h.
197 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
198 __UINTPTR_TYPE__.
199
200 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
201
202 * config/gcn/atomic.c: New.
203 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
204
205 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
206
207 Implement 64-bit double functions.
208
209 PR target/92055
210 * config.host (tmake_file) [target=avr]: Add t-libf7,
211 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
212 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
213 depending on sizeof (double) or sizeof (long double).
214 * config/avr/libf7: New folder.
215
216 2020-01-05 Olivier Hainque <hainque@adacore.com>
217
218 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
219 by IN_LIBGCC2.
220
221 2020-01-01 Jakub Jelinek <jakub@redhat.com>
222
223 Update copyright years.
224
225 2019-12-30 Olivier Hainque <hainque@adacore.com>
226
227 * config/gthr-vxworks.h: Use _vxworks-versions.h.
228 * config/gthr-vxworks-tls.c: Likewise.
229
230 2019-12-30 Olivier Hainque <hainque@adacore.com>
231
232 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
233 standard zero-initializer syntax.
234
235 2019-12-30 Olivier Hainque <hainque@adacore.com>
236
237 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
238 reference to the internal VX_GET_TLS_DATA interface.
239
240 2019-12-30 Olivier Hainque <hainque@adacore.com>
241
242 * config/vxcrtstuff.c: Fix incorrect spelling of
243 USE_INITFINI_ARRAY in guard.
244
245 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
246
247 * config.host: s/msp430*-*-elf/msp430-*-elf*.
248 Override default "extra_parts" variable.
249 * configure: Regenerate.
250 * configure.ac: Disable TM clone registry by default for
251 msp430-elfbare.
252
253 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
254
255 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
256 "extra_parts".
257 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
258
259 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
260
261 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
262 true.
263
264 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
265
266 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
267 defined instead of its value.
268
269 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
270
271 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
272 if it will have contents.
273
274 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
275
276 PR target/92055
277 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
278
279 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
280
281 PR libgcc/91737
282 * config.host: Add t-gthr-noweak on *-*-musl*.
283 * config/t-gthr-noweak: New file.
284
285 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
286
287 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
288 volatile void *. Remove trap check.
289 (__kernel_cmpxchg2): Likewise.
290 (FETCH_AND_OP_2): Adjust operand types.
291 (OP_AND_FETCH_2): Likewise.
292 (FETCH_AND_OP_WORD): Likewise.
293 (OP_AND_FETCH_WORD): Likewise.
294 (COMPARE_AND_SWAP_2): Likewise.
295 (__sync_val_compare_and_swap_4): Likewise.
296 (__sync_bool_compare_and_swap_4): Likewise.
297 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
298 (__sync_lock_test_and_set_4): Likewise.
299 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
300 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
301 for release.
302 (__sync_lock_release_8): Remove.
303
304 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
305
306 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
307 of __sigset_t.
308
309 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
310 Doug Rupp <rupp@adacore.com>
311 Olivier Hainque <hainque@adacore.com>
312
313 * config.host: Collapse the arm-vxworks entries into
314 a single arm-wrs-vxworks7* one.
315 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
316 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
317 kernel modules, to be overriden by libstdc++ when we link with
318 it. Rely on externally provided __exidx_start/end.
319
320 2019-11-14 Doug Rupp <rupp@adacore.com>
321 Olivier Hainque <hainque@adacore.com>
322
323 * config.host: Handle aarch64*-wrs-vxworks7*.
324
325 2019-11-12 Olivier Hainque <hainque@adacore.com>
326
327 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
328 sources except the cxx0x support to LIB2ADDEH. We don't support
329 cxx0x on AE/653.
330 * config/t-vxworksae: New file.
331 * config.host: Handle *-*-vxworksae: Add the two aforementioned
332 Makefile fragment files at their expected position in the tmake_file
333 list, in accordance with what is done for other VxWorks variants.
334
335 2019-11-12 Corentin Gay <gay@adacore.com>
336 Jerome Lambourg <lambourg@adacore.com>
337 Olivier Hainque <hainque@adacore.com>
338
339 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
340 sources to LIB2ADDEH.
341 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
342 * config/t-vxworks7: Likewise.
343
344 * config.host: Append a block at the end of the file to add the
345 t-gthr files to the tmake_file list for VxWorks after everything
346 else.
347
348 * config/vxlib.c: Rename as gthr-vxworks.c.
349 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
350
351 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
352 API and a basic error checking API, both internal. Simplify the
353 __gthread_once_t type definition and initializers. Add sections
354 for condition variables support and for the C++0x thread support,
355 conditioned against Vx653 for the latter.
356
357 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
358 implementation, leveraging the TAS internal API.
359 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
360 API, leveraging the general availability of TLS services in VxWorks7
361 post SR6xxx.
362 (__gthread_setspecific, __gthread_setspecific): Use it.
363 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
364 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
365 support based on VxWorks primitives.
366 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
367 based on VxWorks primitives.
368
369 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
370 Olivier Hainque <hainque@adacore.com>
371
372 * config/vxcrtstuff.c: New file.
373 * config/t-vxcrtstuff: New Makefile fragment.
374 * config.host: Append t-vxcrtstuff to the tmake_file list
375 on all VxWorks ports using dwarf for table based EH.
376
377 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
378
379 Support 64-bit double and 64-bit long double configurations.
380
381 PR target/92055
382 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
383 long double is a 32-bit type.
384 * config/avr/t-avrlibc: Copy double64 and long-double64
385 multilib(s) from the vanilla one.
386 * config/avr/t-copy-libgcc: New Makefile snip.
387
388 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
389
390 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
391 the target output object format is not ELF.
392 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
393
394 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
395
396 PR libgcc/78804
397 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
398 * fp-bit.c (pack_d, unpack_d): Remove special cases for
399 FLOAT_BIT_ORDER_MISMATCH.
400 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
401
402 2019-11-01 Jim Wilson <jimw@sifive.com>
403
404 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
405
406 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
407
408 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
409 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
410 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
411 Define symbols for 32-bit and f5series hardware multiply
412 register addresses.
413 Replace hard-coded register addresses with symbols.
414 Fix "_mspabi*" typo.
415 Fix whitespace.
416 * config/msp430/lib2mul.c: Add comment.
417
418 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
419
420 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
421 unsigned int. Adjust callers.
422 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
423 unsigned int *. Load relocation offset before function pointer.
424 Add barrier to ensure ordering.
425
426 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
427
428 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
429 Load PIC register after branch target. Fix white space.
430 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
431 implementations. Load PIC register after branch target. Don't
432 clobber function pointer when it points to function descriptor.
433 Use nullification instead of branch in LINUX implementation.
434
435 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
436
437 * config/pa/fptr.c: Disable -Warray-bounds warning.
438
439 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
440
441 * config.in, configure: Re-rebuild with stock autoconf 2.69,
442 not the ubuntu modified 2.69.
443
444 PR target/91833
445 * config/aarch64/lse-init.c: Include auto-target.h. Disable
446 initialization if !HAVE_SYS_AUXV_H.
447 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
448 * config.in, configure: Rebuild.
449
450 PR target/91834
451 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
452 overlap the inputs.
453
454 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
455
456 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
457 CTR_EL0.IDC and CTR_EL0.DIC.
458
459 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
460
461 Revert:
462 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
463 Mickaël Guêné <mickael.guene@st.com>
464
465 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
466 architecture.
467
468 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
469
470 * config/aarch64/lse-init.c: New file.
471 * config/aarch64/lse.S: New file.
472 * config/aarch64/t-lse: New file.
473 * config.host: Add t-lse to all aarch64 tuples.
474
475 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
476 Mickaël Guêné <mickael.guene@st.com>
477
478 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
479 architecture.
480
481 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
482 Mickaël Guêné <mickael.guene@st.com>
483
484 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
485 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
486 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
487 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
488 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
489 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
490 (__gnu_personality_sigframe_fdpic): New.
491 (get_eit_entry): Add FDPIC signal frame support.
492
493 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
494 Mickaël Guêné <mickael.guene@st.com>
495
496 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
497 (__kernel_dmb): Likewise.
498 (__fdpic_cmpxchg): New function.
499 (__fdpic_dmb): New function.
500 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
501 (gnu_Unwind_Find_got): New function.
502 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
503 * unwind-arm-common.inc (UCB_PR_GOT): New.
504 (funcdesc_t): New struct.
505 (get_eit_entry): Add FDPIC support.
506 (unwind_phase2): Likewise.
507 (unwind_phase2_forced): Likewise.
508 (__gnu_Unwind_RaiseException): Likewise.
509 (__gnu_Unwind_Resume): Likewise.
510 (__gnu_Unwind_Backtrace): Likewise.
511 * unwind-pe.h (read_encoded_value_with_base): Likewise.
512
513 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
514 Mickaël Guêné <mickael.guene@st.com>
515
516 * libgcc/crtstuff.c: Add support for FDPIC.
517
518 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
519
520 * config.host: Handle *-*-uclinuxfdpiceabi.
521
522 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
523
524 * config.host: Set cpu_type for bpf-*-* targets.
525 * config/bpf/t-bpf: Likewise.
526 * config/bpf/crtn.S: Likewise.
527 * config/bpf/crti.S: New file.
528
529 2019-09-06 Jim Wilson <jimw@sifive.com>
530
531 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
532 (riscv*-*-freebsd*): Likewise.
533
534 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
535
536 * config.host: Remove references to spu.
537 * config/spu/: Remove directory.
538
539 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
540
541 PR target/91306
542 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
543 element type, instead of "sizeof" the element type.
544 (__DTOR_LIST__): Likewise.
545 (__TMC_LIST__): Likewise.
546 (__do_global_dtors_aux_fini_array_entry): Likewise.
547 (__frame_dummy_init_array_entry): Likewise.
548 (__CTOR_END__): Likewise.
549 (__DTOR_END__): Likweise.
550 (__FRAME_END__): Likewise.
551 (__TMC_END__): Likewise.
552
553 2019-08-20 Lili Cui <lilicui@intel.com>
554
555 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
556 INTEL_COREI7_COOPERLAKE.
557
558 2019-07-31 Matt Thomas <matt@3am-software.com>
559 Nick Hudson <nick@nthcliff.demon.co.uk>
560 Matthew Green <mrg@eterna.com.au>
561 Maya Rashish <coypu@sdf.org>
562
563 * config.host (hppa*-*-netbsd*): New case.
564 * config/pa/t-netbsd: New file.
565
566 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
567
568 * config/arm/cmse.c (cmse_check_address_range): Add
569 warn_unused_result attribute.
570
571 2019-07-22 Martin Liska <mliska@suse.cz>
572
573 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
574 * config/pa/t-stublib: Likewise.
575
576 2019-07-22 Stafford Horne <shorne@gmail.com>
577
578 PR target/90362
579 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
580 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
581 instructions are not available on every processor. Change a
582 l.bnf to l.bf to fix logic issue.
583
584 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
585
586 * config.host: Remove reference to t-darwin8.
587
588 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
589
590 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
591 list.
592 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
593 mmacosx-version-min for crts to run across all system versions.
594 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
595 * config/t-darwin: Revise mmacosx-version-min for crts to run across
596 system versions >= 10.4.
597
598 2019-07-03 Martin Liska <mliska@suse.cz>
599
600 * Makefile.in: Use topn_values instead of one_value names.
601 * libgcov-merge.c (__gcov_merge_single): Move to ...
602 (__gcov_merge_topn): ... this.
603 (merge_single_value_set): Move to ...
604 (merge_topn_values_set): ... this.
605 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
606 ...
607 (__gcov_topn_values_profiler_body): ... this.
608 (__gcov_one_value_profiler_v2): Move to ...
609 (__gcov_topn_values_profiler): ... this.
610 (__gcov_one_value_profiler_v2_atomic): Move to ...
611 (__gcov_topn_values_profiler_atomic): ... this.
612 (__gcov_indirect_call_profiler_v4): Remove.
613 * libgcov-util.c (__gcov_single_counter_op): Move to ...
614 (__gcov_topn_counter_op): ... this.
615 * libgcov.h (L_gcov_merge_single): Remove.
616 (L_gcov_merge_topn): New.
617 (__gcov_merge_single): Remove.
618 (__gcov_merge_topn): New.
619 (__gcov_one_value_profiler_v2): Move to ..
620 (__gcov_topn_values_profiler): ... this.
621 (__gcov_one_value_profiler_v2_atomic): Move to ...
622 (__gcov_topn_values_profiler_atomic): ... this.
623
624 2019-07-03 Martin Liska <mliska@suse.cz>
625
626 * libgcov-merge.c (merge_single_value_set): Support N values.
627 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
628
629 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
630
631 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
632 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
633 * configure.ac: Add --disable-tm-clone-registry option.
634 * configure: Regenerate.
635
636 2019-06-27 Martin Liska <mliska@suse.cz>
637
638 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
639 dead assignments.
640 * libgcov-util.c: Likewise.
641
642 2019-06-27 Martin Liska <mliska@suse.cz>
643
644 * libgcov-util.c (gcov_profile_merge): Release allocated
645 memory.
646 (calculate_overlap): Likewise.
647
648 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
649
650 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
651 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
652 Build objects for the out of line save/restore register functions
653 so that they can be used for any supported Darwin version.
654 * config/t-darwin: Default the build Darwin version to Darwin8
655 (MacOS 10.4).
656
657 2019-06-25 Martin Liska <mliska@suse.cz>
658
659 * libgcov-driver-system.c (replace_filename_variables): Do not
660 call strlen with NULL argument.
661
662 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
663
664 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
665 * config/gcn/unwind-gcn.c: New file.
666
667 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
668 Andrew Stubbs <ams@codesourcery.com>
669
670 * configure: Regenerate.
671 * config/gcn/gthr-gcn.h: New.
672
673 2019-06-18 Tom de Vries <tdevries@suse.de>
674
675 * config/nvptx/crt0.c (__main): Declare.
676
677 2019-06-17 Matthew Green <mrg@eterna.com.au>
678 Maya Rashish <coypu@sdf.org>
679
680 * config.host (aarch64*-*-netbsd*): New case.
681
682 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
683
684 * config/msp430/slli.S (__mspabi_sllll): New library function for
685 performing a logical left shift of a 64-bit value.
686 * config/msp430/srai.S (__mspabi_srall): New library function for
687 performing a arithmetic right shift of a 64-bit value.
688 * config/msp430/srll.S (__mspabi_srlll): New library function for
689 performing a logical right shift of a 64-bit value.
690
691 2019-06-14 Matt Thomas <matt@3am-software.com>
692 Matthew Green <mrg@eterna.com.au>
693 Nick Hudson <skrll@netbsd.org>
694 Maya Rashish <coypu@sdf.org>
695
696 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
697 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
698 functions to build.
699 * config/arm/t-netbsd-eabi: New file.
700
701 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
702
703 * config.host: Add PRU target.
704 * config/pru/asri.c: New file.
705 * config/pru/eqd.c: New file.
706 * config/pru/eqf.c: New file.
707 * config/pru/ged.c: New file.
708 * config/pru/gef.c: New file.
709 * config/pru/gtd.c: New file.
710 * config/pru/gtf.c: New file.
711 * config/pru/led.c: New file.
712 * config/pru/lef.c: New file.
713 * config/pru/lib2bitcountHI.c: New file.
714 * config/pru/lib2divHI.c: New file.
715 * config/pru/lib2divQI.c: New file.
716 * config/pru/lib2divSI.c: New file.
717 * config/pru/libgcc-eabi.ver: New file.
718 * config/pru/ltd.c: New file.
719 * config/pru/ltf.c: New file.
720 * config/pru/mpyll.S: New file.
721 * config/pru/pru-abi.h: New file.
722 * config/pru/pru-asm.h: New file.
723 * config/pru/pru-divmod.h: New file.
724 * config/pru/sfp-machine.h: New file.
725 * config/pru/t-pru: New file.
726
727 2019-06-11 Jakub Jelinek <jakub@redhat.com>
728
729 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
730
731 2019-06-10 Martin Liska <mliska@suse.cz>
732
733 PR bootstrap/90808
734 * libgcov.h: Add ATTRIBUTE_UNUSED.
735
736 2019-06-10 Martin Liska <mliska@suse.cz>
737
738 * Makefile.in: Add __gcov_one_value_profiler_v2,
739 __gcov_one_value_profiler_v2_atomic and
740 __gcov_indirect_call_profiler_v4.
741 * libgcov-merge.c (__gcov_merge_single): Change
742 function signature.
743 (merge_single_value_set): New.
744 * libgcov-profiler.c (__gcov_one_value_profiler_body):
745 Update functionality.
746 (__gcov_one_value_profiler): Remove.
747 (__gcov_one_value_profiler_v2): ... this.
748 (__gcov_one_value_profiler_atomic): Rename to ...
749 (__gcov_one_value_profiler_v2_atomic): this.
750 (__gcov_indirect_call_profiler_v3): Rename to ...
751 (__gcov_indirect_call_profiler_v4): ... this.
752 * libgcov.h (__gcov_one_value_profiler): Remove.
753 (__gcov_one_value_profiler_atomic): Remove.
754 (__gcov_one_value_profiler_v2_atomic): New.
755 (__gcov_indirect_call_profiler_v3): Remove.
756 (__gcov_one_value_profiler_v2): New.
757 (__gcov_indirect_call_profiler_v4): New.
758 (gcov_get_counter_ignore_scaling): New function.
759
760 2019-06-07 Martin Liska <mliska@suse.cz>
761
762 * Makefile.in: Remove usage of
763 _gcov_merge_icall_topn.
764 * libgcov-driver.c (gcov_sort_n_vals): Remove.
765 (gcov_sort_icall_topn_counter): Likewise.
766 (gcov_sort_topn_counter_arrays): Likewise.
767 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
768 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
769 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
770 Likewise.
771 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
772 (struct indirect_call_tuple): Remove.
773 (__gcov_indirect_call_topn_profiler): Remove.
774 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
775 * libgcov.h (gcov_sort_n_vals): Remove.
776 (L_gcov_merge_icall_topn): Likewise.
777 (__gcov_merge_icall_topn): Likewise.
778 (__gcov_indirect_call_topn_profiler): Likewise.
779
780 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
781
782 * config/rs6000/t-darwin: Ensure that the unwinder is built with
783 altivec enabled.
784
785 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
786
787 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
788 section.
789 (__mspabi_slli): Likewise.
790 (__mspabi_slll_n): Likewise.
791 (__mspabi_slll): Likewise.
792 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
793 (__mspabi_srai): Likewise.
794 (__mspabi_sral_n): Likewise.
795 (__mspabi_sral): Likewise.
796 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
797 (__mspabi_srli): Likewise.
798 (__mspabi_srll_n): Likewise.
799 (__mspabi_srll): Likewise.
800
801 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
802
803 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
804 Add appropriate tm_file clause as well.
805 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
806
807 2019-06-05 James Clarke <jrtc27@jrtc27.com>
808
809 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
810 rather than .data/.bss so it can be accessed via gp-relative
811 addressing.
812
813 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
814
815 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
816 (CR2_REGNO): Rename to R_CR2.
817 (XER_REGNO): Rename to R_XER.
818 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
819 (VRSAVE_REGNO): Rename to R_VRSAVE.
820 (VSCR_REGNO): R_VSCR.
821
822 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
823
824 * config.host (rx-*-linux*): Add new case.
825 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
826
827 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
828
829 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
830 function.
831 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
832 aarch64_post_frob_eh_handler_addr): Add check for b-key.
833 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
834 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
835 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
836 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
837 string.
838 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
839 string.
840 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
841
842 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
843
844 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
845 Remove Solaris 9 and 10 support.
846 (sparc_is_sighandler): Likewise.
847
848 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
849
850 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
851
852 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
853
854 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
855 4_FP_W_TYPEs are used for IEEE quad precision.
856 * soft-fp/extendhftf2.c: Likewise.
857 * soft-fp/extendsftf2.c: Likewise.
858 * soft-fp/extendxftf2.c: Likewise.
859 * soft-fp/trunctfdf2.c: Likewise.
860 * soft-fp/trunctfhf2.c: Likewise.
861 * soft-fp/trunctfsf2.c: Likewise.
862 * soft-fp/trunctfxf2.c: Likewise.
863 * config/rs6000/ibm-ldouble.c: Likewise.
864
865 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
866
867 * config.host: Simplify various *-*-solaris2.1[0-9]* to
868 *-*-solaris2*.
869 * configure.ac: Likewise.
870 * configure: Regenerate.
871
872 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
873 Solaris 10 and Solaris 11 < snv_125 handling.
874
875 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
876
877 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
878
879 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
880
881 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
882 * config/i386/cpuinfo.h (enum processor_features): Add
883 FEATURE_AVX512BF16.
884
885 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
886 Bernd Edlinger <bernd.edlinger@hotmail.de>
887 Jakub Jelinek <jakub@redhat.com>
888
889 PR target/89093
890 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
891 * config/arm/unwind-arm.c: Likewise.
892 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
893 attribute for ARM.
894
895 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
896
897 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
898 (RT_SIGRETURN): Update.
899 (nds32_fallback_frame_state): Update.
900
901 2019-02-21 Martin Sebor <msebor@redhat.com>
902
903 * libgcc2.h (__clear_cache): Correct signature.
904 * libgcc2.c (__clear_cache): Same.
905
906 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
907
908 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
909 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
910
911 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
912
913 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
914 regno instead of index to DWARF_ZERO_REG.
915
916 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
917
918 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
919 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
920
921 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
922
923 * config/alpha/t-linux: Add -mfp-rounding-mode=d
924 to HOST_LIBGCC2_CFLAGS.
925
926 2019-01-23 Joseph Myers <joseph@codesourcery.com>
927
928 PR libgcc/88931
929 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
930
931 2019-01-18 Martin Liska <mliska@suse.cz>
932
933 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
934 to ...
935 (__gcov_indirect_call_profiler_v3): ... this.
936 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
937 (__gcov_indirect_call_profiler_v3): Likewise.
938 * Makefile.in: Bump function name.
939
940 2019-01-18 Martin Liska <mliska@suse.cz>
941
942 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
943 (gcov_version): Use in gcov_error.
944 (merge_one_data): Likewise.
945 (dump_one_gcov): Likewise.
946
947 2019-01-18 Martin Liska <mliska@suse.cz>
948
949 * libgcov-driver.c (gcov_version_string): New function.
950 (gcov_version): Convert version integer into string.
951
952 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
953 Kwok Cheung Yeung <kcy@codesourcery.com>
954 Julian Brown <julian@codesourcery.com>
955 Tom de Vries <tom@codesourcery.com>
956
957 * config.host: Recognize amdgcn*-*-amdhsa.
958 * config/gcn/crt0.c: New file.
959 * config/gcn/lib2-divmod-hi.c: New file.
960 * config/gcn/lib2-divmod.c: New file.
961 * config/gcn/lib2-gcn.h: New file.
962 * config/gcn/sfp-machine.h: New file.
963 * config/gcn/t-amdgcn: New file.
964
965 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
966
967 PR other/16615
968
969 * config/c6x/libunwind.S: Mechanically replace "can not" with
970 "cannot".
971 * config/tilepro/atomic.h: Likewise.
972 * config/vxlib-tls.c: Likewise.
973 * generic-morestack-thread.c: Likewise.
974 * generic-morestack.c: Likewise.
975 * mkmap-symver.awk: Likewise.
976
977 2019-01-01 Jakub Jelinek <jakub@redhat.com>
978
979 Update copyright years.
980
981 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
982
983 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
984 to ignore -Waddress-of-packed-member.
985
986 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
987
988 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
989 parameter and corresponding code.
990 (ARM_FUNC_START): Likewise in both definitions.
991 Also update footer comment about condition that need to match with
992 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
993 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
994 defined. Weakly define it in this case.
995 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
996 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
997 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
998 comment to keep condition in sync with the one in
999 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1000
1001 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1002
1003 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1004 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1005
1006 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1007
1008 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1009 and .cfi_endproc directives for VxWorks targets.
1010
1011 2018-12-05 Paul Koning <ni1d@arrl.net>
1012
1013 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1014
1015 2018-11-27 Alan Modra <amodra@gmail.com>
1016
1017 * config/rs6000/morestack.S (__stack_split_initialize),
1018 (__morestack_get_guard, __morestack_set_guard),
1019 (__morestack_make_guard): Provide CFI covering these functions.
1020 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1021
1022 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1023
1024 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1025 (sc_pt_regs_lr): Update for kernel.
1026 (sc_pt_regs_tls): Update for kernel.
1027
1028 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1029
1030 * config/csky/linux-unwind.h: Fix coding style.
1031
1032 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1033
1034 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1035 (csky_fallback_frame_state): Modify the check of the
1036 instructions to adapt to changes in the kernel
1037
1038 2018-11-09 Stafford Horne <shorne@gmail.com>
1039 Richard Henderson <rth@twiddle.net>
1040
1041 * config.host: Add OpenRISC support.
1042 * config/or1k/*: New.
1043
1044 2018-11-08 Kito Cheng <kito@andestech.com>
1045
1046 * soft-fp/adddf3.c: Update from glibc.
1047 * soft-fp/addsf3.c: Likewise.
1048 * soft-fp/addtf3.c: Likewise.
1049 * soft-fp/divdf3.c: Likewise.
1050 * soft-fp/divsf3.c: Likewise.
1051 * soft-fp/divtf3.c: Likewise.
1052 * soft-fp/double.h: Likewise.
1053 * soft-fp/eqdf2.c: Likewise.
1054 * soft-fp/eqsf2.c: Likewise.
1055 * soft-fp/eqtf2.c: Likewise.
1056 * soft-fp/extenddftf2.c: Likewise.
1057 * soft-fp/extended.h: Likewise.
1058 * soft-fp/extendhftf2.c: Likewise.
1059 * soft-fp/extendsfdf2.c: Likewise.
1060 * soft-fp/extendsftf2.c: Likewise.
1061 * soft-fp/extendxftf2.c: Likewise.
1062 * soft-fp/fixdfdi.c: Likewise.
1063 * soft-fp/fixdfsi.c: Likewise.
1064 * soft-fp/fixdfti.c: Likewise.
1065 * soft-fp/fixhfti.c: Likewise.
1066 * soft-fp/fixsfdi.c: Likewise.
1067 * soft-fp/fixsfsi.c: Likewise.
1068 * soft-fp/fixsfti.c: Likewise.
1069 * soft-fp/fixtfdi.c: Likewise.
1070 * soft-fp/fixtfsi.c: Likewise.
1071 * soft-fp/fixtfti.c: Likewise.
1072 * soft-fp/fixunsdfdi.c: Likewise.
1073 * soft-fp/fixunsdfsi.c: Likewise.
1074 * soft-fp/fixunsdfti.c: Likewise.
1075 * soft-fp/fixunshfti.c: Likewise.
1076 * soft-fp/fixunssfdi.c: Likewise.
1077 * soft-fp/fixunssfsi.c: Likewise.
1078 * soft-fp/fixunssfti.c: Likewise.
1079 * soft-fp/fixunstfdi.c: Likewise.
1080 * soft-fp/fixunstfsi.c: Likewise.
1081 * soft-fp/fixunstfti.c: Likewise.
1082 * soft-fp/floatdidf.c: Likewise.
1083 * soft-fp/floatdisf.c: Likewise.
1084 * soft-fp/floatditf.c: Likewise.
1085 * soft-fp/floatsidf.c: Likewise.
1086 * soft-fp/floatsisf.c: Likewise.
1087 * soft-fp/floatsitf.c: Likewise.
1088 * soft-fp/floattidf.c: Likewise.
1089 * soft-fp/floattihf.c: Likewise.
1090 * soft-fp/floattisf.c: Likewise.
1091 * soft-fp/floattitf.c: Likewise.
1092 * soft-fp/floatundidf.c: Likewise.
1093 * soft-fp/floatundisf.c: Likewise.
1094 * soft-fp/floatunditf.c: Likewise.
1095 * soft-fp/floatunsidf.c: Likewise.
1096 * soft-fp/floatunsisf.c: Likewise.
1097 * soft-fp/floatunsitf.c: Likewise.
1098 * soft-fp/floatuntidf.c: Likewise.
1099 * soft-fp/floatuntihf.c: Likewise.
1100 * soft-fp/floatuntisf.c: Likewise.
1101 * soft-fp/floatuntitf.c: Likewise.
1102 * soft-fp/gedf2.c: Likewise.
1103 * soft-fp/gesf2.c: Likewise.
1104 * soft-fp/getf2.c: Likewise.
1105 * soft-fp/half.h: Likewise.
1106 * soft-fp/ledf2.c: Likewise.
1107 * soft-fp/lesf2.c: Likewise.
1108 * soft-fp/letf2.c: Likewise.
1109 * soft-fp/muldf3.c: Likewise.
1110 * soft-fp/mulsf3.c: Likewise.
1111 * soft-fp/multf3.c: Likewise.
1112 * soft-fp/negdf2.c: Likewise.
1113 * soft-fp/negsf2.c: Likewise.
1114 * soft-fp/negtf2.c: Likewise.
1115 * soft-fp/op-1.h: Likewise.
1116 * soft-fp/op-2.h: Likewise.
1117 * soft-fp/op-4.h: Likewise.
1118 * soft-fp/op-8.h: Likewise.
1119 * soft-fp/op-common.h: Likewise.
1120 * soft-fp/quad.h: Likewise.
1121 * soft-fp/single.h: Likewise.
1122 * soft-fp/soft-fp.h: Likewise.
1123 * soft-fp/subdf3.c: Likewise.
1124 * soft-fp/subsf3.c: Likewise.
1125 * soft-fp/subtf3.c: Likewise.
1126 * soft-fp/truncdfsf2.c: Likewise.
1127 * soft-fp/trunctfdf2.c: Likewise.
1128 * soft-fp/trunctfhf2.c: Likewise.
1129 * soft-fp/trunctfsf2.c: Likewise.
1130 * soft-fp/trunctfxf2.c: Likewise.
1131 * soft-fp/unorddf2.c: Likewise.
1132 * soft-fp/unordsf2.c: Likewise.
1133 * soft-fp/unordtf2.c: Likewise.
1134
1135 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1136
1137 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1138 * config/i386/cpuinfo.h (processor_types): Add znver2.
1139
1140 2018-11-01 Paul Koning <ni1d@arrl.net>
1141
1142 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1143 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1144
1145 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1146
1147 PR bootstrap/82856
1148 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1149 * configure: Regenerate.
1150
1151 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1152
1153 * config/arc/lib1funcs.S (_muldi3): New function.
1154 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1155
1156 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1157
1158 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1159
1160 2018-10-25 Martin Liska <mliska@suse.cz>
1161
1162 PR other/87735
1163 * libgcov-profiler.c: Revert.
1164
1165 2018-10-24 Martin Liska <mliska@suse.cz>
1166
1167 * libgcov-profiler.c: Start from 1 in order to distinguish
1168 functions which were seen and these that were not.
1169
1170 2018-10-18 Paul Koning <ni1d@arrl.net>
1171
1172 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1173 standard.
1174 * divmod.c: Update references to __udivmodsi4.
1175 * udivmod.c: Ditto.
1176 * udivhi3.c: New file.
1177 * udivmodhi4.c: New file.
1178 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1179
1180 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1181
1182 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1183
1184 2018-10-12 Olivier Hainque <hainque@adacore.com>
1185
1186 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1187 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1188
1189 2018-10-08 Paul Koning <ni1d@arrl.net>
1190
1191 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1192
1193 2018-10-04 Martin Liska <mliska@suse.cz>
1194
1195 PR gcov-profile/84107
1196 * libgcov-profiler.c (__gcov_indirect_call):
1197 Change type to indirect_call_tuple.
1198 (struct indirect_call_tuple): New struct.
1199 (__gcov_indirect_call_topn_profiler): Change type.
1200 (__gcov_indirect_call_profiler_v2): Use the new
1201 variables.
1202 * libgcov.h (struct indirect_call_tuple): New struct
1203 definition.
1204
1205 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1206
1207 * libgcc2.c (isnan): Use __builtin_isnan.
1208 (isfinite): Use __builtin_isfinite.
1209 (isinf): Use __builtin_isinf.
1210
1211 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1212
1213 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1214
1215 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1216
1217 * config/vxcache.c: New file. Provide __clear_cache, based on
1218 the cacheTextUpdate VxWorks service.
1219 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1220 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1221 * config/t-vxwoks7: Likewise.
1222
1223 2018-09-21 Martin Liska <mliska@suse.cz>
1224
1225 * libgcov-driver.c (crc32_unsigned): Remove.
1226 (gcov_histogram_insert): Likewise.
1227 (gcov_compute_histogram): Likewise.
1228 (compute_summary): Simplify rapidly.
1229 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1230 (merge_summary): Rapidly simplify.
1231 (dump_one_gcov): Ignore gcov_summary.
1232 (gcov_do_dump): Do not handle program summary, it's not
1233 used.
1234 * libgcov-util.c (tag_summary): Remove.
1235 (read_gcda_finalize): Fix coding style.
1236 (read_gcda_file): Initialize curr_object_summary.
1237 (compute_summary): Remove.
1238 (calculate_overlap): Remove settings of run_max.
1239
1240 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1241
1242 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1243 ucontext_t type instead.
1244 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1245
1246 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1247
1248 * config/nds32/t-nds32-glibc: New file.
1249
1250 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1251
1252 * configure.ac (solaris_ld_v2_maps): New test.
1253 * configure: Regenerate.
1254 * Makefile.in (solaris_ld_v2_maps): New variable.
1255 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1256 if supported.
1257
1258 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1259
1260 PR target/86951
1261 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1262 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1263 to build.
1264
1265 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1266
1267 * config/unwind-dw2-fde-darwin.c
1268 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1269 * config/darwin10-unwind-find-enc-func.c: … to here.
1270 * config/t-darwin: Build Darwin10 unwinder shim crt.
1271 * libgcc/config.host: Add the Darwin10 unwinder shim.
1272
1273 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1274
1275 * config.host: Add crtbegin.o and crtend.o for
1276 powerpc-wrs-vxworks target.
1277
1278 2018-08-17 Jojo <jijie_rong@c-sky.com>
1279 Huibin Wang <huibin_wang@c-sky.com>
1280 Sandra Loosemore <sandra@codesourcery.com>
1281 Chung-Lin Tang <cltang@codesourcery.com>
1282
1283 C-SKY port: libgcc
1284
1285 * config.host: Add C-SKY support.
1286 * config/csky/*: New.
1287
1288 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1289
1290 * config/nds32/t-nds32-isr: Rearrange object dependency.
1291 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1292 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1293 and registers usage.
1294 * config/nds32/isr-library/excp_isr.S: Ditto.
1295 * config/nds32/isr-library/intr_isr.S: Ditto.
1296 * config/nds32/isr-library/reset.S: Ditto.
1297 * config/nds32/isr-library/restore_all.inc: Ditto.
1298 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1299 * config/nds32/isr-library/restore_partial.inc: Ditto.
1300 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1301 * config/nds32/isr-library/save_all.inc: Ditto.
1302 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1303 * config/nds32/isr-library/save_partial.inc: Ditto.
1304 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1305 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1306
1307 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1308
1309 * config/pa/linux-atomic.c: Update comment.
1310 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1311 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1312 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1313 __ATOMIC_RELAXED for atomic loads.
1314 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1315 unordered store to release lock.
1316 (__sync_lock_release_8): Likewise.
1317 (SYNC_LOCK_RELEASE_2): Remove define.
1318
1319 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1320
1321 PR libgcc/86512
1322 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1323 exponent goes negative. Update my email address.
1324 * config/arm/ieee754-sf.S: Likewise.
1325
1326 2018-08-01 Martin Liska <mliska@suse.cz>
1327
1328 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1329 check that __gcov_indirect_call_callee is non-null.
1330
1331 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1332
1333 * config/arm/ieee754-df.S: Fix comment for code working on
1334 architectures >= 4.
1335 * config/arm/ieee754-sf.S: Likewise.
1336
1337 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1338
1339 PR libgcc/85334
1340 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1341 Removed.
1342
1343 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1344
1345 * configure: Regenerated.
1346
1347 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1348
1349 * Makefile.in (install_leaf): Use enable_gcov instead of
1350 enable_libgcov.
1351
1352 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1353
1354 * configure.ac: Add --disable-gcov option.
1355 * configure: Regenerate.
1356 * Makefile.in: Honour @enable_gcov@.
1357
1358 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1359
1360 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1361 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1362 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1363 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1364 __ARM_ARCH__.
1365 * config/arm/ieee754-sf.S: Likewise.
1366 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1367
1368 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1369
1370 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1371 longer supported.
1372 * config/arm/ieee754-sf.S: Likewise.
1373
1374 2018-06-20 Than McIntosh <thanm@google.com>
1375
1376 PR libgcc/86213
1377 * generic-morestack.c (allocate_segment): Move calls to getenv and
1378 getpagesize to __morestack_load_mmap.
1379 (__morestack_load_mmap) Initialize static_pagesize and
1380 use_guard_page here so as to avoid clobbering SSE regs during a
1381 __morestack call.
1382
1383 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1384
1385 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1386 support modules with -mno-gnu-attribute.
1387 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1388
1389 2018-06-07 Olivier Hainque <hainque@adacore.com>
1390
1391 * config/t-vxworks (LIBGCC_INCLUDES): Add
1392 -I$(MULTIBUILDTOP)../../gcc/include.
1393 * config/t-vxworks7: Likewise. Reformat a bit to match
1394 the t-vxworks layout.
1395
1396 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1397
1398 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1399
1400 2018-06-07 Martin Liska <mliska@suse.cz>
1401
1402 * libgcov-driver.c: Rename cs_all to all and assign it from
1403 all_prg.
1404
1405 2018-06-07 Martin Liska <mliska@suse.cz>
1406
1407 PR bootstrap/86057
1408 * libgcov-driver-system.c (replace_filename_variables): Use
1409 memcpy instead of mempcpy.
1410 (allocate_filename_struct): Do not allocate filename, allocate
1411 prefix and set it.
1412 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1413 here and properly copy content into it.
1414 * libgcov-driver.c (struct gcov_filename): Remove max_length
1415 field, change prefix from size_t into char *.
1416 (compute_summary): Do not calculate longest filename.
1417 (gcov_do_dump): Release memory of gf.filename after each file.
1418 * libgcov-util.c (compute_summary): Use new signature of
1419 compute_summary.
1420 (calculate_overlap): Likewise.
1421
1422 2018-06-05 Martin Liska <mliska@suse.cz>
1423
1424 PR gcov-profile/47618
1425 * libgcov-driver-system.c (replace_filename_variables): New
1426 function.
1427 (gcov_exit_open_gcda_file): Use it.
1428
1429 2018-06-05 Martin Liska <mliska@suse.cz>
1430
1431 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1432 of gcov_ctr_summary.
1433 (compute_summary): Do it just for a single summary.
1434 (merge_one_data): Likewise.
1435 (merge_summary): Simplify as we read just single summary.
1436 (dump_one_gcov): Pass proper argument.
1437 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1438 single summary.
1439 (gcov_info_count_all_cold): Likewise.
1440 (calculate_overlap): Likewise.
1441
1442 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1443 Monk Chiang <sh.chiang04@gmail.com>
1444
1445 * config.host (nds32*-linux*): New.
1446 * config/nds32/linux-atomic.c: New file.
1447 * config/nds32/linux-unwind.h: New file.
1448
1449 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1450
1451 PR target/85591
1452 * config/i386/cpuinfo.c (get_amd_cpu): Return
1453 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1454
1455 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1456
1457 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1458
1459 2018-05-29 Martin Liska <mliska@suse.cz>
1460
1461 PR gcov-profile/85759
1462 * libgcov-driver-system.c (gcov_error): Introduce usage of
1463 GCOV_EXIT_AT_ERROR env. variable.
1464 * libgcov-driver.c (merge_one_data): Print error that we
1465 overwrite a gcov file with a different timestamp.
1466
1467 2018-05-23 Kalamatee <kalamatee@gmail.com>
1468
1469 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1470 path to Lf$finfty.
1471
1472 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1473 Monk Chiang <sh.chiang04@gmail.com>
1474 Jim Wilson <jimw@sifive.com>
1475
1476 * config/riscv/save-restore.S: Add support for rv32e.
1477
1478 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1479
1480 * config/arm/libunwind.S: Update comment relating to armv5.
1481
1482 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1483
1484 * config/arm/cmse.c (cmse_check_address_range): Replace
1485 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1486
1487 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1488
1489 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1490 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1491
1492 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1493
1494 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1495 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1496
1497 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1498
1499 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1500
1501 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1502 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1503
1504 PR libgcc/84292
1505 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1506 op_and_fetch to return the right result.
1507
1508 2018-04-27 Alan Modra <amodra@gmail.com>
1509
1510 PR libgcc/85532
1511 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1512 -fno-asynchronous-unwind-tables.
1513
1514 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1515
1516 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1517 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1518
1519 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1520
1521 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1522 when including "config/i386/shadow-stack-unwind.h".
1523
1524 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1525
1526 * configure: Regenerated.
1527
1528 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1529
1530 PR target/85456
1531 * config/rs6000/_powikf2.c: New file. Add support for the
1532 __builtin_powil function when long double is IEEE 128-bit floating
1533 point.
1534 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1535 __powikf2 support.
1536 (__powikf2): Likewise.
1537 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1538 (__powikf2_hw): Likewise.
1539 (__powikf2): Likewise.
1540 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1541 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1542 (_powikf2-hw.c): Likewise.
1543
1544 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 PR libgcc/85334
1547 * unwind-generic.h (_Unwind_Frames_Increment): New.
1548 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1549 Likewise.
1550 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1551 count with _Unwind_Frames_Increment.
1552 (_Unwind_ForcedUnwind_Phase2): Likewise.
1553
1554 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1555
1556 PR libgcc/85379
1557 * config/i386/morestack.S (__stack_split_initialize): Add
1558 _CET_ENDBR.
1559
1560 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1561
1562 * configure: Regenerated.
1563
1564 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1565
1566 PR jit/85384
1567 * configure: Regenerate.
1568
1569 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1570
1571 PR target/84945
1572 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1573 -Wdangling-else warnings. Mask shift counts to avoid
1574 -Wshift-count-negative and -Wshift-count-overflow false positives.
1575
1576 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1577
1578 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1579
1580 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1581
1582 PR target/85100
1583 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1584 (XSTATE_FP): Likewise.
1585 (XSTATE_SSE): Likewise.
1586 (XSTATE_YMM): Likewise.
1587 (XSTATE_OPMASK): Likewise.
1588 (XSTATE_ZMM): Likewise.
1589 (XSTATE_HI_ZMM): Likewise.
1590 (XCR_AVX_ENABLED_MASK): Likewise.
1591 (XCR_AVX512F_ENABLED_MASK): Likewise.
1592 (get_available_features): Enable AVX and AVX512 features only
1593 if their states are supported by OSXSAVE.
1594
1595 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1596
1597 PR target/85025
1598 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1599 Fix a typo, tmp => 255.
1600
1601 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1602
1603 PR target/84945
1604 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1605 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1606 ifndef SHARED only.
1607 (set_feature): Define.
1608 (get_available_features): Use set_feature macro. Set __cpu_features2
1609 to the second word of features ifndef SHARED.
1610
1611 2018-03-15 Julia Koval <julia.koval@intel.com>
1612
1613 * config/i386/cpuinfo.c (get_available_features): Add
1614 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1615 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1616 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1617 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1618 FEATURE_AVX512BITALG.
1619
1620 2018-03-14 Julia Koval <julia.koval@intel.com>
1621
1622 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1623 icelake client and icelake server.
1624
1625 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1626
1627 * config/pa/fptr.c (_dl_read_access_allowed): New.
1628 (__canonicalize_funcptr_for_compare): Use it.
1629
1630 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1631
1632 PR debug/83917
1633 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1634 $asm_hidden_op if visibility ("hidden") attribute works.
1635 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1636 * config/i386/i386-asm.h: Don't include auto-host.h.
1637 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1638 PACKAGE_URL): Don't undefine.
1639 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1640 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1641 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1642 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1643 definition instead of hardcoded .hidden.
1644 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1645 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1646 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1647 (USE_GAS_CFI_DIRECTIVES): Don't define.
1648 * configure: Regenerated.
1649 * config.in: Likewise.
1650
1651 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1652
1653 PR debug/83917
1654 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1655 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1656 inclusion of auto-target.h and auto-host.h.
1657 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1658 __GCC_HAVE_DWARF2_CFI_ASM.
1659 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1660 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1661 cfi_pop): Define.
1662 * config/i386/cygwin.S: Don't include auto-host.h here, just
1663 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1664 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1665 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1666 * config/i386/resms64fx.h: Add cfi_* directives.
1667 * config/i386/resms64x.h: Likewise.
1668
1669 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1670
1671 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1672 .literal_position directive.
1673 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1674
1675 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1676
1677 PR target/84148
1678 * configure: Regenerate.
1679
1680 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1681
1682 PR target/84239
1683 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1684 Include cetintrin.h not x86intrin.h.
1685
1686 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1687
1688 PR target/84239
1689 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1690 Use new _get_ssp and _inc_ssp intrinsics.
1691
1692 2018-02-02 Julia Koval <julia.koval@intel.com>
1693
1694 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1695
1696 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1697
1698 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1699 option.
1700 (__divsi3): Use RF16 safe registers.
1701 (__modsi3): Likewise.
1702
1703 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1704
1705 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1706 (__divsf3): Make NaN return value quiet.
1707 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1708 (__divdf3): Make NaN return value quiet.
1709
1710 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1711
1712 * config/rl78/anddi3.S: New assembly file.
1713 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1714
1715 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1716
1717 * config/rl78/umindi3.S: New assembly file.
1718 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1719
1720 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1721
1722 * config/rl78/smindi3.S: New assembly file.
1723 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1724
1725 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1726
1727 * config/rl78/smaxdi3.S: New assembly file.
1728 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1729
1730 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1731
1732 * config/rl78/umaxdi3.S: New assembly file.
1733 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1734
1735 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1736
1737 PR lto/83452
1738 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1739 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1740
1741 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1742
1743 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1744 (DWARF_LAZY_REGISTER_VALUE): Define.
1745 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1746 to provide a fallback register value.
1747
1748 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1749
1750 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1751 __ibm128, instead of trying to use long double.
1752 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1753 accomidate -mabi=ieeelongdouble multilibs.
1754 (CVT_IBM128_TO_FLOAT128): Likewise.
1755 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1756 the appropriate IBM extended double type.
1757 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1758 (__gcc_qsub): Likewise.
1759 (__gcc_qmul): Likewise.
1760 (__gcc_qdiv): Likewise.
1761 (pack_ldouble): Likewise.
1762 (__gcc_qneg): Likewise.
1763 (__gcc_qeq): Likewise.
1764 (__gcc_qne): Likewise.
1765 (__gcc_qge): Likewise.
1766 (__gcc_qle): Likewise.
1767 (__gcc_stoq): Likewise.
1768 (__gcc_dtoq): Likewise.
1769 (__gcc_itoq): Likewise.
1770 (__gcc_utoq): Likewise.
1771 (__gcc_qunord): Likewise.
1772 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1773 quad-float128.h for the definitions.
1774 (COPYSIGN): Use the f128 version instead of the q version.
1775 (INFINITY): Likewise.
1776 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1777 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1778 quad-float128.h for the definitions.
1779 (COPYSIGN): Use the f128 version instead of the q version.
1780 (INFINITY): Likewise.
1781 (FABS): Likewise.
1782 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1783 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1784 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1785
1786 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1787
1788 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1789 configuration.
1790
1791 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1792
1793 Update copyright years.
1794
1795 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1796
1797 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1798 * config/riscv/multi3.c: New file.
1799 * config/riscv/multi3.S: Remove.
1800
1801 2017-12-08 Jim Wilson <jimw@sifive.com>
1802
1803 * config/riscv/div.S: Use FUNC_* macros.
1804 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1805 * config/riscv/save-restore.S: Likewise.
1806 * config/riscv/riscv-asm.h: New.
1807
1808 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1809
1810 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1811 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1812
1813 PR libgcc/83112
1814 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1815 correct type for all ifunc resolvers to silence -Wattribute-alias
1816 warnings. Eliminate the forward declaration of the resolver
1817 functions which is no longer needed.
1818 (__subkf3_resolve): Likewise.
1819 (__mulkf3_resolve): Likewise.
1820 (__divkf3_resolve): Likewise.
1821 (__negkf2_resolve): Likewise.
1822 (__eqkf2_resolve): Likewise.
1823 (__nekf2_resolve): Likewise.
1824 (__gekf2_resolve): Likewise.
1825 (__gtkf2_resolve): Likewise.
1826 (__lekf2_resolve): Likewise.
1827 (__ltkf2_resolve): Likewise.
1828 (__unordkf2_resolve): Likewise.
1829 (__extendsfkf2_resolve): Likewise.
1830 (__extenddfkf2_resolve): Likewise.
1831 (__trunckfsf2_resolve): Likewise.
1832 (__trunckfdf2_resolve): Likewise.
1833 (__fixkfsi_resolve): Likewise.
1834 (__fixkfdi_resolve): Likewise.
1835 (__fixunskfsi_resolve): Likewise.
1836 (__fixunskfdi_resolve): Likewise.
1837 (__floatsikf_resolve): Likewise.
1838 (__floatdikf_resolve): Likewise.
1839 (__floatunsikf_resolve): Likewise.
1840 (__floatundikf_resolve): Likewise.
1841 (__extendkftf2_resolve): Likewise.
1842 (__trunctfkf2_resolve): Likewise.
1843
1844 PR libgcc/83103
1845 * config/rs6000/quad-float128.h (TF): Don't define if long double
1846 is IEEE 128-bit floating point.
1847 (TCtype): Define as either TCmode or KCmode, depending on whether
1848 long double is IEEE 128-bit floating point.
1849 (__mulkc3_sw): Add declarations for software/hardware versions of
1850 complex multiply/divide.
1851 (__divkc3_sw): Likewise.
1852 (__mulkc3_hw): Likewise.
1853 (__divkc3_hw): Likewise.
1854 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1855 handlers to switch between using software emulation and hardware
1856 float128 instructions, build the complex multiply/divide functions
1857 for both software and hardware support.
1858 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1859 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1860 (__divkc3_resolve): Likewise.
1861 (__mulkc3): Likewise.
1862 (__divkc3): Likewise.
1863 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1864 (fp128_hw_src): Likewise.
1865 (fp128_hw_static_obj): Likewise.
1866 (fp128_hw_shared_obj): Likewise.
1867 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1868 _mulkc3.c and _divkc3.c, changing the function name.
1869 (_divkc3-hw.c): Likewise.
1870 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1871 and _divkc3-hw.c.
1872
1873 2017-11-26 Julia Koval <julia.koval@intel.com>
1874
1875 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1876 * config/i386/cpuinfo.h (processor_subtypes): Add
1877 INTEL_COREI7_CANNONLAKE.
1878
1879 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1880
1881 PR bootstrap/83015
1882 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1883 parameter.
1884 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1885 * config/ia64/unwind-ia64.c: Add frames parameter.
1886 * unwind-sjlj.c: Likewise.
1887
1888 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1889
1890 * config/i386/linux-unwind.h: Include
1891 config/i386/shadow-stack-unwind.h.
1892 * config/i386/shadow-stack-unwind.h: New file.
1893 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1894 pass it to _Unwind_Frames_Extra.
1895 * unwind-generic.h (_Unwind_Frames_Extra): New.
1896 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1897 parameter. Add local variable frames to count number of frames.
1898 (_Unwind_ForcedUnwind_Phase2): Likewise.
1899 (_Unwind_RaiseException): Add local variable frames to count
1900 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1901 uw_install_context.
1902 (_Unwind_ForcedUnwind): Likewise.
1903 (_Unwind_Resume): Likewise.
1904 (_Unwind_Resume_or_Rethrow): Likewise.
1905
1906 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1907
1908 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1909 (CET_FLAGS): New.
1910 * config/i386/morestack.S: Include <cet.h>.
1911 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1912 * config/i386/resms64.h: Include <cet.h>.
1913 * config/i386/resms64f.h: Likewise.
1914 * config/i386/resms64fx.h: Likewise.
1915 * config/i386/resms64x.h: Likewise.
1916 * config/i386/savms64.h: Likewise.
1917 * config/i386/savms64f.h: Likewise.
1918 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1919 (CRTSTUFF_T_CFLAGS): Likewise.
1920 * configure.ac: Include ../config/cet.m4.
1921 Set and substitute CET_FLAGS.
1922 * configure: Regenerated.
1923
1924 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1925
1926 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1927 renaming.
1928 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1929 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1930 * configure: Regenerate.
1931
1932 2017-11-07 Tom de Vries <tom@codesourcery.com>
1933
1934 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1935 after "do {} while (0)".
1936
1937 2017-11-07 Tom de Vries <tom@codesourcery.com>
1938
1939 PR other/82784
1940 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1941 semicolon after "do {} while (0)".
1942 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1943 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1944 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1945 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1946
1947 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1948
1949 PR libgcc/82635
1950 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1951 sysctl to determine whether we're in a trampoline.
1952 Keep the pattern matching method for systems without
1953 KERN_PROC_SIGTRAMP sysctl.
1954
1955 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1956 Vineet Gupta <vgupta@synopsys.com>
1957
1958 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1959 * config/arc/linux-unwind-reg.def: New file.
1960 * config/arc/linux-unwind-reg.h: Likewise.
1961
1962 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1963
1964 * config/rl78/subdi3.S: New assembly file.
1965 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1966
1967 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1968
1969 * config/rl78/adddi3.S: New assembly file.
1970 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1971
1972 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1973
1974 PR target/82274
1975 * libgcc2.c (__mulvDI3): If both operands have
1976 the same highpart of -1 and the topmost bit of lowpart is 0,
1977 multiplication overflows even if both lowparts are 0.
1978
1979 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1980
1981 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1982
1983 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1984
1985 * config/microblaze/crti.S, config/microblaze/crtn.S,
1986 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1987 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1988 config/microblaze/mulsi3.S,
1989 config/microblaze/stack_overflow_exit.S,
1990 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1991 config/pa/milli64.S: Add .note.GNU-stack section.
1992
1993 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1994
1995 * configure.ac: Add Check for HAVE_AS_AVX.
1996 * config.in: Regenerate.
1997 * configure: Likewise.
1998 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1999 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2000 Correct out-of-date comments.
2001
2002 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2003
2004 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2005 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2006
2007 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2008
2009 * config/i386/i386-asm.h (PASTE2): New macro.
2010 (ASMNAME): Modify to use PASTE2.
2011 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2012 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2013 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2014 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2015 * config/i386/resms64f.S: Likewise.
2016 * config/i386/resms64fx.S: Likewise.
2017 * config/i386/resms64x.S: Likewise.
2018 * config/i386/savms64.S: Likewise.
2019 * config/i386/savms64f.S: Likewise.
2020 * config/i386/avx_resms64.S: New file that only defines a macro and
2021 includes it's corresponding header file.
2022 * config/i386/avx_resms64f.S: Likewise.
2023 * config/i386/avx_resms64fx.S: Likewise.
2024 * config/i386/avx_resms64x.S: Likewise.
2025 * config/i386/avx_savms64.S: Likewise.
2026 * config/i386/avx_savms64f.S: Likewise.
2027 * config/i386/sse_resms64.S: Likewise.
2028 * config/i386/sse_resms64f.S: Likewise.
2029 * config/i386/sse_resms64fx.S: Likewise.
2030 * config/i386/sse_resms64x.S: Likewise.
2031 * config/i386/sse_savms64.S: Likewise.
2032 * config/i386/sse_savms64f.S: Likewise.
2033 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2034
2035 2017-09-01 Olivier Hainque <hainque@adacore.com>
2036 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2037
2038 2017-08-31 Olivier Hainque <hainque@adacore.com>
2039
2040 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2041 match as powerpc-wrs-vxworks*.
2042
2043 2017-08-07 Jonathan Yong <10walls@gmail.com>
2044
2045 * config.host (*-cygwin): Include file from mingw
2046 config/i386/enable-execute-stack-mingw32.c
2047
2048 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2049 Doug Rupp <rupp@adacore.com>
2050 Olivier Hainque <hainque@adacore.com>
2051
2052 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2053 as well as arm-wrs-vxworks.
2054 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2055 LIB2ADDEH.
2056 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2057 __exidx_start and __exidx_end for downloadable modules.
2058
2059 2017-08-01 Olivier Hainque <hainque@adacore.com>
2060
2061 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2062 * config/t-vxworks7: Likewise.
2063
2064 2017-08-01 Olivier Hainque <hainque@adacore.com>
2065
2066 * config/t-vxworks: Instead of redefining LIB2ADD,
2067 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2068
2069 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2070
2071 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2072
2073 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2074
2075 PR testsuite/80759
2076 * config.host: include i386/t-msabi for darwin and solaris.
2077 * config/i386/i386-asm.h
2078 (ELFFN): Rename to FN_TYPE.
2079 (FN_SIZE): New macro.
2080 (FN_HIDDEN): Likewise.
2081 (ASMNAME): Likewise.
2082 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2083 .globl.
2084 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2085 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2086 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2087 .macro.
2088 * config/i386/resms64f.S: Likewise.
2089 * config/i386/resms64fx.S: Likewise.
2090 * config/i386/resms64x.S: Likewise.
2091 * config/i386/savms64.S: Likewise.
2092 * config/i386/savms64f.S: Likewise.
2093
2094 2017-07-19 John Marino <gnugcc@marino.st>
2095
2096 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2097
2098 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2099
2100 PR target/81193
2101 * configure.ac (PowerPC float128 hardware support): Test whether
2102 we can use __builtin_cpu_supports before enabling the ifunc
2103 handler.
2104 * configure: Regenerate.
2105
2106 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2107
2108 * config.host: Remove uclibc from arc target spec.
2109
2110 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2111
2112 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2113
2114 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2115
2116 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2117 (have_ieee_hw_p): Delete function.
2118 (SW_OR_HW) Use __builtin_cpu_supports().
2119
2120 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2121
2122 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2123
2124 2017-07-03 Olivier Hainque <hainque@adacore.com>
2125
2126 * config/t-vxworks7: New file, really.
2127
2128 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2129
2130 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2131 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2132 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2133 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2134 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2135 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2136 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2137 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2138 config/sh/linux-unwind.h (sh_fallback_frame_state),
2139 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2140 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2141 ucontext_t instead of struct ucontext.
2142
2143 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2144
2145 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2146 (x86_64-wrs-vxworks7): Likewise.
2147
2148 2017-06-27 Olivier Hainque <hainque@adacore.com>
2149
2150 * config/t-vxworks7: New file.
2151 * config.host (*-*-vxworks7): Use it.
2152
2153 2017-06-22 Matt Turner <mattst88@gmail.com>
2154
2155 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2156 skylake case.
2157
2158 2017-06-21 Richard Biener <rguenther@suse.de>
2159
2160 PR gcov-profile/81080
2161 * configure.ac: Add AC_SYS_LARGEFILE.
2162 * libgcov.h: Include auto-target.h before tsystem.h to pick
2163 up _FILE_OFFSET_BITS which might differ for multilibs.
2164 * config.in: Regenerate.
2165 * configure: Likewise.
2166
2167 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2168
2169 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2170
2171 2017-06-09 Martin Liska <mliska@suse.cz>
2172
2173 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2174 Reset __gcov_indirect_call_callee to NULL.
2175
2176 2017-06-08 Olivier Hainque <hainque@adacore.com>
2177
2178 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2179 the set of -I options, support for direct inclusions of net/uio.h
2180 by VxWorks header files via ioLib.h.
2181
2182 2017-06-07 Tony Reix <tony.reix@atos.net>
2183 Matthieu Sarter <matthieu.sarter.external@atos.net>
2184 David Edelsohn <dje.gcc@gmail.com>
2185
2186 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2187 unconditionally.
2188 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2189 AIX 7.2 support.
2190
2191 2017-06-02 Olivier Hainque <hainque@adacore.com>
2192
2193 * config/vxlib.c (__gthread_once): Add missing value to
2194 return statement.
2195
2196 2017-05-30 Olivier Hainque <hainque@adacore.com>
2197
2198 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2199 dollar sign before $(MULTIDIR).
2200
2201 2017-05-26 Richard Henderson <rth@redhat.com>
2202
2203 PR libgcc/80037
2204 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2205
2206 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2207
2208 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2209 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2210 * config/arm/unwind-arm.c: Implement the above.
2211
2212 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2213
2214 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2215 section for a non-executable stack.
2216
2217 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2218
2219 PR target/80600
2220 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2221
2222 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2223
2224 * config.host: Add i386/t-msabi to i386/t-linux file list.
2225 * config/i386/i386-asm.h: New file.
2226 * config/i386/resms64.S: New file.
2227 * config/i386/resms64f.S: New file.
2228 * config/i386/resms64fx.S: New file.
2229 * config/i386/resms64x.S: New file.
2230 * config/i386/savms64.S: New file.
2231 * config/i386/savms64f.S: New file.
2232 * config/i386/t-msabi: New file.
2233
2234 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2235
2236 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2237 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2238
2239 2017-05-05 Joshua Conner <joshconner@google.com>
2240
2241 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2242 pc-relative indirect handling for fuchsia.
2243 * config/t-slibgcc-fuchsia: New file.
2244 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2245 x86_64-*-fuchsia*): Add definitions.
2246
2247 2017-04-19 Martin Liska <mliska@suse.cz>
2248
2249 PR gcov-profile/80435
2250 * Makefile.in: Install gcov.h.
2251 * gcov.h: New file.
2252 * libgcov.h: Use the header and make __gcov_flush publicly
2253 visible.
2254
2255 2017-04-18 Martin Liska <mliska@suse.cz>
2256
2257 PR gcov-profile/78783
2258 * libgcov-driver.c (gcov_get_filename): New function.
2259
2260 2017-04-07 Jeff Law <law@redhat.com>
2261
2262 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2263 target makefile fragment.
2264 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2265
2266 2017-04-07 Alan Modra <amodra@gmail.com>
2267
2268 PR target/45053
2269 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2270
2271 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2272
2273 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2274
2275 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2276
2277 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2278
2279 2017-03-10 John Marino <gnugcc@marino.st>
2280
2281 * config/aarch64/freebsd-unwind.h: New file.
2282 * config.host: Add aarch64-*-freebsd unwinder.
2283
2284 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2285
2286 * config/rs6000/crtrestvr.s: Use .machine altivec.
2287 * config/rs6000/crtsavevr.s: Ditto.
2288
2289 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2290
2291 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2292 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2293 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2294 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2295 * configure: Regenerate.
2296 * config.in: Regenerate.
2297
2298 2017-03-02 Jonathan Yong <10walls@gmail.com>
2299
2300 * config/i386/gthr-win32.h: Define NOGDI before
2301 windows.h include to prevent w32api CC_NONE macro
2302 clash with libgfortran.
2303
2304 2017-03-02 Jonathan Yong <10walls@gmail.com>
2305
2306 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2307
2308 2017-02-16 Andrew Pinski <apinski@cavium.com>
2309
2310 * config/aarch64/value-unwind.h: New file.
2311 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2312 to tm_file.
2313
2314 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2315
2316 * config.host: Add RISC-V tuples.
2317 * config/riscv/atomic.c: New file.
2318 * config/riscv/crti.S: Likewise.
2319 * config/riscv/crtn.S: Likewise.
2320 * config/riscv/div.S: Likewise.
2321 * config/riscv/linux-unwind.h: Likewise.
2322 * config/riscv/muldi3.S: Likewise.
2323 * config/riscv/multi3.S: Likewise.
2324 * config/riscv/save-restore.S: Likewise.
2325 * config/riscv/sfp-machine.h: Likewise.
2326 * config/riscv/t-elf: Likewise.
2327 * config/riscv/t-elf32: Likewise.
2328 * config/riscv/t-elf64: Likewise.
2329 * config/riscv/t-softfp32: Likewise.
2330 * config/riscv/t-softfp64: Likewise.
2331
2332 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2333
2334 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2335 /* FALLTHRU */ comments.
2336
2337 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2338
2339 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2340
2341 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2342
2343 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2344 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2345 DW_CFA_GNU_window_save for AArch64 and LP64.
2346
2347 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2348
2349 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2350
2351 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2352
2353 * config/aarch64/aarch64-unwind.h: New file.
2354 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2355 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2356 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2357 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2358 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2359 (aarch64_post_extract_frame_addr): New function.
2360 (aarch64_post_frob_eh_handler_addr): New function.
2361 (aarch64_frob_update_context): New function.
2362 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2363 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2364 aarch64*-*-freebsd*):
2365 Initialize md_unwind_header to include aarch64-unwind.h.
2366 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2367 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2368 __aarch64__.
2369 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2370 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2371 (uw_frob_return_addr): New function.
2372 (uw_install_context): Use uw_frob_return_addr.
2373
2374 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2375
2376 PR other/79046
2377 * configure.ac: Add GCC_BASE_VER.
2378 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2379 version from BASE-VER file.
2380 * configure: Regenerated.
2381
2382 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2383
2384 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2385 libmul_f5.a): Filter archived prerequisites.
2386
2387 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2388
2389 * config/i386/cpuinfo.h (processor_features): Add
2390 FEATURE_AVX512VPOPCNTDQ.
2391 * config/i386/cpuinfo.c (get_available_features): Habdle new
2392 feature.
2393
2394 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2395
2396 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2397 payload if [__mips_nan2008].
2398
2399 2017-01-04 Alan Modra <amodra@gmail.com>
2400
2401 * Makefile.in (configure_deps): Update.
2402 * configure: Regenerate.
2403
2404 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2405
2406 Update copyright years.
2407
2408 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2409
2410 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2411 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2412 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2413
2414 2016-12-17 Matthias Klose <doko@ubuntu.com>
2415
2416 * config/arc/gmon: Remove empty directory.
2417
2418 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2419
2420 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2421 crtgend.
2422 (arc*-*-elf*): Likewise.
2423 * config/arc/t-arc: Remove old gmon lib targets.
2424 * config/arc/crtg.S: Remove.
2425 * config/arc/crtgend.S: Likewise.
2426 * config/arc/gmon/atomic.h: Likewise.
2427 * config/arc/gmon/auxreg.h: Likewise.
2428 * config/arc/gmon/dcache_linesz.S: Likewise.
2429 * config/arc/gmon/gmon.c: Likewise.
2430 * config/arc/gmon/machine-gmon.h: Likewise.
2431 * config/arc/gmon/mcount.c: Likewise.
2432 * config/arc/gmon/prof-freq-stub.S: Likewise.
2433 * config/arc/gmon/prof-freq.c: Likewise.
2434 * config/arc/gmon/profil.S: Likewise.
2435 * config/arc/gmon/sys/gmon.h: Likewise.
2436 * config/arc/gmon/sys/gmon_out.h: Likewise.
2437 * config/arc/t-arc-newlib: Likewise.
2438 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2439
2440 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2441
2442 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2443
2444 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2445
2446 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2447 R16 instead of push + pop.
2448 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2449
2450 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2451
2452 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2453 tmake_file.
2454
2455 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2456
2457 * config.host (arc*-*-linux-uclibc*): Use default extra
2458 objects. Include linux-android header.
2459 * config/arc/crti.S (_init): Declare symbol as function.
2460 (_fini): Likewise.
2461
2462 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2463
2464 PR fortran/78379
2465 * config/i386/cpuinfo.c: Move denums for processor vendors,
2466 processor type, processor subtypes and declaration of
2467 struct __processor_model into
2468 * config/i386/cpuinfo.h: New header file.
2469
2470 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2471 Thomas Preud'homme <thomas.preudhomme@arm.com>
2472
2473 * config/arm/cmse_nonsecure_call.S: New.
2474 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2475
2476 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2477 Thomas Preud'homme <thomas.preudhomme@arm.com>
2478
2479 * config/arm/t-arm (HAVE_CMSE): New.
2480 * config/arm/cmse.c: New.
2481
2482 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2483
2484 PR gcc/74748
2485 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2486 use generic linker version information on Blackfin.
2487
2488 PR gcc/74748
2489 * libgcc/mkmap-symver.awk: add support for skip_underscore
2490
2491 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2492 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2493
2494 PR target/67710
2495 * config/t-darwin: Default builds to 10.5 codegen.
2496
2497 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2498
2499 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2500 (_FP_NANSIGN_H): Likewise.
2501 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2502 (softfp_truncations): Add tfhf.
2503 (softfp_extras): Add required conversion functions.
2504
2505 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2506 Matthew Wahab <matthew.wahab@arm.com>
2507
2508 * config/arm/fp16.c (binary64): New.
2509 (__gnu_d2h_internal): New.
2510 (__gnu_d2h_ieee): New.
2511 (__gnu_d2h_alternative): New.
2512
2513 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2514 Matthew Wahab <matthew.wahab@arm.com>
2515
2516 * config/arm/fp16.c (struct format): New.
2517 (binary32): New.
2518 (__gnu_float2h_internal): New. Body moved from
2519 __gnu_f2h_internal and generalize.
2520 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2521 Call it with binary32.
2522
2523 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2524
2525 * soft-fp/extendhftf2.c: Update from glibc.
2526 * soft-fp/fixhfti.c: Likewise.
2527 * soft-fp/fixunshfti.c: Likewise.
2528 * soft-fp/floattihf.c: Likewise.
2529 * soft-fp/floatuntihf.c: Likewise.
2530 * soft-fp/half.h: Likewise.
2531 * soft-fp/trunctfhf2.c: Likewise.
2532
2533 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2534
2535 PR libgcc/77813
2536 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2537 __TMC_END__ behind a passthrough asm.
2538
2539 2016-11-18 Walter Lee <walt@tilera.com>
2540
2541 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2542
2543 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2544
2545 * config/i386/cpuinfo.c (processor_features): Add
2546 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2547
2548 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2549
2550 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2551 (__ARC_NORM__): Use instead ARC_OPTFPE.
2552 * config/arc/fp-hack.h: Likewise.
2553 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2554 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2555
2556 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2557
2558 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2559 * config/nvptx/mgomp.c: New file.
2560 * config/nvptx/t-nvptx: Add mgomp.c
2561
2562 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2563
2564 PR libgcc/68468
2565 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2566
2567 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2568
2569 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2570 of checking for cpus.
2571 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2572 (__modsi3, __clzsi2): Likewise.
2573
2574 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2575
2576 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2577 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2578 * config/i386/t-cpuinfo-static: New.
2579
2580 2016-11-03 Martin Liska <mliska@suse.cz>
2581
2582 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2583 (__gcov_time_profiler_atomic): Likewise.
2584
2585 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2586
2587 PR libgcc/78067
2588 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2589 count_leading_zeros.
2590
2591 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2592
2593 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2594 * libgcc2.c (__divmoddi4): New function.
2595 * libgcc2.h (__divmoddi4): Declare.
2596 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2597 and __PFX_divmodti4.
2598
2599 2016-10-24 Florian Weimer <fweimer@redhat.com>
2600
2601 PR libgcc/78064
2602 * unwind-c.c: Include auto-target.h.
2603
2604 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2605
2606 * config/pa/pa64-hpux-lib.h: New file.
2607 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2608 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2609 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2610 hppa*64*-*-hpux11*.
2611
2612 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2613
2614 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2615 definition.
2616 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2617 definition.
2618 * config/xtensa/t-windowed (LIB2ADDEH): Use
2619 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2620 or xtensa/t-linux.
2621
2622 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2623
2624 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2625 __ieee754_sqrt): New functions.
2626 (__divdf3): Add implementation with new FPU instructions under
2627 #if XCHAL_HAVE_DFP_DIV.
2628 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2629 __ieee754_sqrtf): New functions.
2630 (__divsf3): Add implementation with new FPU instructions under
2631 #if XCHAL_HAVE_FP_DIV.
2632 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2633 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2634
2635 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2636
2637 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2638 equivalent.
2639 * config/tilepro/atomic.c: Likewise and stop casting model to
2640 enum memmodel.
2641
2642 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2643
2644 PR target/77586
2645 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2646 soft-fp.
2647
2648 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2649
2650 * config.host: Add support for aarch64-*-freebsd*.
2651
2652 2016-10-05 Andreas Schwab <schwab@suse.de>
2653
2654 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2655 (.section .init_array): Don't call __do_jv_register_classes.
2656 (.section .init): Likewise.
2657
2658 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2659
2660 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2661 (__JCR_LIST__): Remove.
2662 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2663 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2664 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2665 * config/ia64/crtend.S (__JCR_END__): Remove.
2666 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2667 conditionals.
2668 (__JCR_LIST__, __JCR_END__): Remove.
2669 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2670 (__do_global_ctors_1): Likewise.
2671
2672 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2673
2674 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2675 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2676
2677 2016-09-27 Martin Liska <mliska@suse.cz>
2678
2679 PR gcov-profile/7970
2680 PR gcov-profile/16855
2681 PR gcov-profile/44779
2682 * libgcov-driver.c (__gcov_init): Do not register a atexit
2683 handler.
2684 (__gcov_exit): Rename from gcov_exit.
2685 * libgcov.h (__gcov_exit): Declare.
2686
2687 2016-09-27 Martin Liska <mliska@suse.cz>
2688
2689 PR bootstrap/77749
2690 * Makefile.in: Remove _gcov_merge_delta.
2691 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2692 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2693 * libgcov.h: Remove declaration of __gcov_merge_delta.
2694
2695 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2696
2697 * configure.ac: Do not create links, only substitute the filenames.
2698 * configure: Regenerate.
2699 * Makefile.in: Assign the substitution results to variables.
2700 (LIBGCC_LINKS): Define.
2701 (enable-execute-stack.c): New rule.
2702 (unwind.h): Likewise.
2703 (md-unwind-support.h): Likewise.
2704 (sfp-machine.h): Likewise.
2705 (gthr-default.h): Likewise.
2706 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2707 unwind.h as prerequisite of install-unwind_h-forbuild.
2708
2709 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2710
2711 PR libgcc/71744
2712 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2713 is not the primary registry and atomics are available.
2714 (any_objects_registered): New variable.
2715 (__register_frame_info_bases, __register_frame_info_table_bases):
2716 Atomically store 1 to any_objects_registered after registering first
2717 unwind info.
2718 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2719
2720 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2721
2722 PR target/63250
2723 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2724 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2725 (HFtype): Likewise.
2726 (HCtype): Likewise.
2727 (__divhc3): Likewise.
2728 (__mulhc3): Likewise.
2729 * libgcc2.c: Support _mulhc3 and _divhc3.
2730
2731 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2732
2733 PR libgcc/77519
2734 * libgcc2.c (NOTRUNC): Invert settings.
2735
2736 2016-09-06 Martin Liska <mliska@suse.cz>
2737
2738 PR gcov-profile/77378
2739 PR gcov-profile/77466
2740 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2741 conditionaly enable/disable *_atomic functions.
2742
2743 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2744
2745 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2746 where not already enabled.
2747
2748 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2749
2750 * config/mips/linux-unwind.h: Use sys/syscall.h.
2751
2752 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2753
2754 PR libgcc/77265
2755 * soft-fp/adddf3.c: Update from glibc.
2756 * soft-fp/addsf3.c: Likewise.
2757 * soft-fp/addtf3.c: Likewise.
2758 * soft-fp/divdf3.c: Likewise.
2759 * soft-fp/divsf3.c: Likewise.
2760 * soft-fp/divtf3.c: Likewise.
2761 * soft-fp/double.h: Likewise.
2762 * soft-fp/eqdf2.c: Likewise.
2763 * soft-fp/eqsf2.c: Likewise.
2764 * soft-fp/eqtf2.c: Likewise.
2765 * soft-fp/extenddftf2.c: Likewise.
2766 * soft-fp/extended.h: Likewise.
2767 * soft-fp/extendsfdf2.c: Likewise.
2768 * soft-fp/extendsftf2.c: Likewise.
2769 * soft-fp/extendxftf2.c: Likewise.
2770 * soft-fp/fixdfdi.c: Likewise.
2771 * soft-fp/fixdfsi.c: Likewise.
2772 * soft-fp/fixdfti.c: Likewise.
2773 * soft-fp/fixsfdi.c: Likewise.
2774 * soft-fp/fixsfsi.c: Likewise.
2775 * soft-fp/fixsfti.c: Likewise.
2776 * soft-fp/fixtfdi.c: Likewise.
2777 * soft-fp/fixtfsi.c: Likewise.
2778 * soft-fp/fixtfti.c: Likewise.
2779 * soft-fp/fixunsdfdi.c: Likewise.
2780 * soft-fp/fixunsdfsi.c: Likewise.
2781 * soft-fp/fixunsdfti.c: Likewise.
2782 * soft-fp/fixunssfdi.c: Likewise.
2783 * soft-fp/fixunssfsi.c: Likewise.
2784 * soft-fp/fixunssfti.c: Likewise.
2785 * soft-fp/fixunstfdi.c: Likewise.
2786 * soft-fp/fixunstfsi.c: Likewise.
2787 * soft-fp/fixunstfti.c: Likewise.
2788 * soft-fp/floatdidf.c: Likewise.
2789 * soft-fp/floatdisf.c: Likewise.
2790 * soft-fp/floatditf.c: Likewise.
2791 * soft-fp/floatsidf.c: Likewise.
2792 * soft-fp/floatsisf.c: Likewise.
2793 * soft-fp/floatsitf.c: Likewise.
2794 * soft-fp/floattidf.c: Likewise.
2795 * soft-fp/floattisf.c: Likewise.
2796 * soft-fp/floattitf.c: Likewise.
2797 * soft-fp/floatundidf.c: Likewise.
2798 * soft-fp/floatundisf.c: Likewise.
2799 * soft-fp/floatunditf.c: Likewise.
2800 * soft-fp/floatunsidf.c: Likewise.
2801 * soft-fp/floatunsisf.c: Likewise.
2802 * soft-fp/floatunsitf.c: Likewise.
2803 * soft-fp/floatuntidf.c: Likewise.
2804 * soft-fp/floatuntisf.c: Likewise.
2805 * soft-fp/floatuntitf.c: Likewise.
2806 * soft-fp/gedf2.c: Likewise.
2807 * soft-fp/gesf2.c: Likewise.
2808 * soft-fp/getf2.c: Likewise.
2809 * soft-fp/ledf2.c: Likewise.
2810 * soft-fp/lesf2.c: Likewise.
2811 * soft-fp/letf2.c: Likewise.
2812 * soft-fp/muldf3.c: Likewise.
2813 * soft-fp/mulsf3.c: Likewise.
2814 * soft-fp/multf3.c: Likewise.
2815 * soft-fp/negdf2.c: Likewise.
2816 * soft-fp/negsf2.c: Likewise.
2817 * soft-fp/negtf2.c: Likewise.
2818 * soft-fp/op-1.h: Likewise.
2819 * soft-fp/op-2.h: Likewise.
2820 * soft-fp/op-4.h: Likewise.
2821 * soft-fp/op-8.h: Likewise.
2822 * soft-fp/op-common.h: Likewise.
2823 * soft-fp/quad.h: Likewise.
2824 * soft-fp/single.h: Likewise.
2825 * soft-fp/soft-fp.h: Likewise.
2826 * soft-fp/subdf3.c: Likewise.
2827 * soft-fp/subsf3.c: Likewise.
2828 * soft-fp/subtf3.c: Likewise.
2829 * soft-fp/truncdfsf2.c: Likewise.
2830 * soft-fp/trunctfdf2.c: Likewise.
2831 * soft-fp/trunctfsf2.c: Likewise.
2832 * soft-fp/trunctfxf2.c: Likewise.
2833 * soft-fp/unorddf2.c: Likewise.
2834 * soft-fp/unordsf2.c: Likewise.
2835 * soft-fp/unordtf2.c: Likewise.
2836
2837 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2838
2839 PR gcov-profile/67097
2840 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2841
2842 2016-08-10 Martin Liska <mliska@suse.cz>
2843
2844 PR gcov-profile/58306
2845 * Makefile.in: New functions (modules) are added.
2846 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2847 function.
2848 (__gcov_pow2_profiler_atomic): New function.
2849 (__gcov_one_value_profiler_body): New argument is instroduced.
2850 (__gcov_one_value_profiler): Call with the new argument.
2851 (__gcov_one_value_profiler_atomic): Likewise.
2852 (__gcov_indirect_call_profiler_v2): Likewise.
2853 (__gcov_time_profiler_atomic): New function.
2854 (__gcov_average_profiler_atomic): Likewise.
2855 (__gcov_ior_profiler_atomic): Likewise.
2856 * libgcov.h: Declare the aforementioned functions.
2857
2858 2016-08-09 Martin Liska <mliska@suse.cz>
2859
2860 * libgcov-util.c: Fix typo and GNU coding style.
2861
2862 2016-08-09 Martin Liska <mliska@suse.cz>
2863
2864 * Makefile.in: Remove __gcov_indirect_call_profiler.
2865 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2866 function.
2867 * libgcov.h: And the declaration of the function.
2868
2869 2016-08-09 Martin Liska <mliska@suse.cz>
2870
2871 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2872 power of two.
2873
2874 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2875
2876 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2877 * config/rs6000/_mulkc3.c: Likewise.
2878
2879 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2880
2881 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2882 zero_reg as previous call to __umulhisi3 already cleared it.
2883
2884 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2885
2886 PR target/59833
2887 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2888
2889 2016-07-19 Nick Clifton <nickc@redhat.com>
2890
2891 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2892 Add crtinit.o and crtfini.o to extra_parts.
2893
2894 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2895
2896 * config/rs6000/_divkc3.c: New.
2897 * config/rs6000/_mulkc3.c: New.
2898 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2899 and _divkc3.
2900 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2901 fp128_ppc_funcs.
2902
2903 2016-07-11 Hale Wang <hale.wang@arm.com>
2904 Andre Vieira <andre.simoesdiasvieira@arm.com>
2905
2906 * config/arm/lib1funcs.S: Add new wrapper.
2907
2908 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2909
2910 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2911
2912 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2913
2914 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2915 and ARMv5t* rather than for a fixed list of architectures.
2916
2917 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2918
2919 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2920 implementation suitable for.
2921 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2922 for all Thumb-1 only targets.
2923 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2924 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2925 __ARM_ARCH_6M__.
2926 (EQUIV): Likewise.
2927 (ARM_FUNC_ALIAS): Likewise.
2928 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2929 version.
2930 (modsi3): Likewise.
2931 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2932 (clzdi2): Likewise.
2933 (ctzsi2): Likewise.
2934 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2935 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2936 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2937 __ARM_ARCH_6M__ and add comment to indicate the connection between
2938 this condition and the one in gcc/config/arm/elf.h.
2939 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2940 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2941 * config/arm/t-softfp: Likewise.
2942
2943 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2944
2945 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2946 CTOR_LISTS_DEFINED_EXTERNALLY.
2947
2948 2016-06-28 Walter Lee <walt@tilera.com>
2949
2950 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2951 asm/unistd.h.
2952 (SPR_CMPEXCH_VALUE): Define for tilegx.
2953 (__NR_FAST_cmpxchg): Define for tilepro.
2954 (__NR_FAST_atomic_update): Define for tilepro.
2955 (__NR_FAST_cmpxchg64): Define for tilepro.
2956
2957 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2958
2959 * config.host: Add suport for arm*-*-phoenix* targets.
2960
2961 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2962
2963 * config.host: Remove support for mep-*.
2964 * config/mep/lib1funcs.S: Remove.
2965 * config/mep/lib2funcs.c: Remove.
2966 * config/mep/t-mep: Remove.
2967 * config/mep/tramp.c: Remove.
2968
2969 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2970
2971 * config.host: Remove support for avr-rtems.
2972 * config/avr/t-rtems: Remove.
2973
2974 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2975
2976 * config.host: Remove m32r-rtems support.
2977
2978 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2979
2980 * config.host: Remove h8300-rtems support.
2981
2982 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2983
2984 * config.host: Remove support for knetbsd.
2985
2986 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2987
2988 * config.host: Remove support for openbsd 2 and 3.
2989
2990 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2991
2992 * config.host: Remove interix support.
2993 * config/i386/t-interix: Remove.
2994
2995 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2996
2997 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2998 least-significant bit in function pointer for fixup.
2999
3000 2016-06-05 Aaron Conole <aconole@redhat.com>
3001 Nathan Sidwell <nathan@acm.org>
3002
3003 PR libgcc/71400
3004 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3005 (get_gcov_error_file): Check __gcov_error_file before trying to
3006 initialize it.
3007 (gcov_error): Always use get_gcov_error_file.
3008
3009 2016-06-02 Aaron Conole <aconole@redhat.com>
3010
3011 * libgcov-driver-system.c (__gcov_error_file): New.
3012 (get_gcov_error_file): New.
3013 (gcov_error): Use and set __gcov_error_file.
3014 (gcov_error_exit): New.
3015 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3016
3017 2016-05-26 Nathan Sidwell <nathan@acm.org>
3018
3019 * config/nvptx/free.asm: Delete.
3020 * config/nvptx/malloc.asm: Delete.
3021 * config/nvptx/realloc.c: Delete.
3022 * t-nvptx: Update.
3023
3024 2016-05-25 Nathan Sidwell <nathan@acm.org>
3025
3026 * config/nvptx/crt0.s: Delete.
3027 * config/nvptx/crt0.c: New.
3028 * t-nvptx: Update.
3029
3030 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3031
3032 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3033 dw2/seh configuration.
3034 [x86_64-*-mingw*]: Likewise.
3035
3036 2016-05-10 Joel Sherrill <joel@rtems.org>
3037
3038 PR libgcc/70720
3039 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3040 targets so the same extra_parts are built. Also have tmake_file add
3041 on to its value rather than override.
3042
3043 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3044
3045 * config.host: Remove SH5 support.
3046 * configure: Likewise.
3047
3048 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3049
3050 * config/sh/crt1.S: Remove SH5 support.
3051 * config/sh/crti.S: Likewise.
3052 * config/sh/crtn.S: Likewise.
3053 * config/sh/lib1funcs-4-300.S: Likewise.
3054 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3055 * config/sh/lib1funcs.S: Likewise.
3056 * config/sh/linux-unwind.h: Likewise.
3057 * config/sh/t-sh64: Delete.
3058
3059 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3060
3061 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3062
3063 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3064 Joern Rennecke <joern.rennecke@embecosm.com>
3065
3066 * config/arc/crttls.S: New file.
3067 * config/arc/t-arc: New rule.
3068 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3069
3070 2016-04-25 Nick Clifton <nickc@redhat.com>
3071
3072 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3073 (__mspabi_cmpd): Likewise.
3074 * config/msp430/floathidf.c (__floathidf): Likewise.
3075 * config/msp430/floathisf.c (__floathisf): Likewise
3076 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3077 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3078 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3079 second parameter.
3080 (__ashrsi3): Likewise.
3081
3082 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3083
3084 * config/m68k/linux-atomic.c: Do not include unistd.h
3085
3086 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3087
3088 * config/arm/ieee754-df.S: Fix typos in comments.
3089
3090 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3091
3092 PR target/70381
3093 * configure.ac (powerpc*-*-linux*): Rework tests to build
3094 __float128 emulation routines to not depend on using #pragma GCC
3095 target to enable -mfloat128.
3096 * configure: Regnerate.
3097
3098 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3099
3100 PR target/67172
3101 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3102 __MINGW32__ is defined.
3103
3104 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3105
3106 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3107
3108 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3109
3110 PR libgcc/70363
3111 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3112 built with an assembler that does not support ISA 3.0
3113 instructions, rename __extendkftf2_sw to __extendkftf2.
3114
3115 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3116
3117 PR target/38239
3118 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3119 call-clobbered registers.
3120 (internal_mcount): Remove __i386__ handling.
3121
3122 2016-02-26 Joel Sherrill <joel@rtems.org>
3123
3124 * config.host: Add x86_64-*-rtems*.
3125
3126 2016-02-26 Joel Sherrill <joel@rtems.org>
3127
3128 * libgcc/config.host: Add aarch64-*-rtems*.
3129
3130 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3131 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3132
3133 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3134 union of u64 and double.
3135 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3136 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3137 value.
3138 (FP_ROUNDMODE): Update the usage of _fpscr.
3139
3140 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3141
3142 PR driver/68463
3143 * Makefile.in (crtoffloadtable$(objext)): New rule.
3144 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3145 enable_offload_targets is not empty.
3146 * configure: Regenerate.
3147 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3148 crtoffloadtable.
3149
3150 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3151
3152 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3153 .literal_position before the function.
3154 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3155 Likewise.
3156
3157 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3158
3159 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3160 * config/s390/morestack.S: New file.
3161 * config/s390/t-stack-s390: New file.
3162 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3163
3164 2016-02-12 Walter Lee <walt@tilera.com>
3165
3166 * config.host (tilegx*-*-linux*): remove ti from
3167 softfp_int_modes for 32-bit configs.
3168
3169 2016-02-10 Ian Lance Taylor <iant@google.com>
3170
3171 PR go/68562
3172 * config/i386/morestack.S (__stack_split_initialize): Align
3173 stack.
3174
3175 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3176
3177 PR bootstrap/69611
3178 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3179 __FLOAT128__ to compile only for __float128 capable targets.
3180
3181 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3182
3183 PR target/69444
3184 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3185 instead of ___NO_FPRS__.
3186
3187 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3188 Steven Munroe <munroesj@linux.vnet.ibm.com>
3189 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3190
3191 * config/rs6000/float128-sed: New files to convert TF names to KF
3192 names for PowerPC IEEE 128-bit floating point support.
3193 * config/rs6000/float128-sed-hw: Likewise.
3194
3195 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3196 floating point hardware support.
3197
3198 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3199 128-bit floating point software emulation or use ISA 3.0 hardware
3200 support if it is available.
3201
3202 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3203 floating point.
3204
3205 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3206 floating point to IBM extended double.
3207
3208 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3209 double to IEEE 128-bit floating point.
3210
3211 * config/rs6000/t-float128: New Makefile fragments to enable
3212 building __float128 emulation support.
3213 * config/rs6000/t-float128-hw: Likewise.
3214
3215 * config/rs6000/sfp-exceptions.c: New file to provide exception
3216 support for IEEE 128-bit floating point.
3217
3218 * config/rs6000/floattikf.c: New files for converting between IEEE
3219 128-bit floating point and signed/unsigned 128-bit integers.
3220 * config/rs6000/fixunskfti.c: Likewise.
3221 * config/rs6000/fixkfti.c: Likewise.
3222 * config/rs6000/floatuntikf.c: Likewise.
3223
3224 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3225 when building on 64-bit systems, or when VSX is enabled.
3226 (_FP_W_TYPE): Likewise.
3227 (_FP_WS_TYPE): Likewise.
3228 (_FP_I_TYPE): Likewise.
3229 (TItype): Define on 64-bit systems.
3230 (UTItype): Likewise.
3231 (TI_BITS): Likewise.
3232 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3233 (_FP_MUL_MEAT_Q): Likewise.
3234 (_FP_DIV_MEAT_D): Likewise.
3235 (_FP_DIV_MEAT_Q): Likewise.
3236 (_FP_NANFRAC_D): Likewise.
3237 (_FP_NANFRAC_Q): Likewise.
3238 (ISA_BIT): Add exception support if we are being compiled on a
3239 machine with hardware floating point support to build the IEEE
3240 128-bit emulation functions.
3241 (FP_EX_INVALID): Likewise.
3242 (FP_EX_OVERFLOW): Likewise.
3243 (FP_EX_UNDERFLOW): Likewise.
3244 (FP_EX_DIVZERO): Likewise.
3245 (FP_EX_INEXACT): Likewise.
3246 (FP_EX_ALL): Likewise.
3247 (__sfp_handle_exceptions): Likewise.
3248 (FP_HANDLE_EXCEPTIONS): Likewise.
3249 (FP_RND_NEAREST): Likewise.
3250 (FP_RND_ZERO): Likewise.
3251 (FP_RND_PINF): Likewise.
3252 (FP_RND_MINF): Likewise.
3253 (FP_RND_MASK): Likewise.
3254 (_FP_DECL_EX): Likewise.
3255 (FP_INIT_ROUNDMODE): Likewise.
3256 (FP_ROUNDMODE): Likewise.
3257
3258 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3259 VSX code, enable IEEE 128-bit floating point. If the compiler can
3260 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3261 floating point hardware instructions and it supports declaring
3262 functions with the ifunc attribute, enable ifunc functions to
3263 switch between software and hardware support.
3264 * configure.ac (powerpc*-*-linux*): Likewise.
3265 * configure: Regenerate.
3266
3267 2016-01-15 Nick Clifton <nickc@redhat.com>
3268
3269 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3270 dependency as the source file to be compiled.
3271 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3272 (lib2hw_mul_f5.o): Likewise.
3273
3274 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3275
3276 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3277 * libgcc/config/rs6000/fixkfti.c: Likewise.
3278 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3279 * libgcc/config/rs6000/float128-hw.c: Likewise.
3280 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3281 * libgcc/config/rs6000/float128-sed: Likewise.
3282 * libgcc/config/rs6000/floattikf.c: Likewise.
3283 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3284 * libgcc/config/rs6000/quad-float128.h: Likewise.
3285 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3286 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3287 * libgcc/config/rs6000/t-float128: Likewise.
3288 * libgcc/config/rs6000/t-float128-hw: Likewise.
3289 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3290 * libgcc/config.host: Likewise.
3291 * libgcc/configure: Likewise.
3292 * libgcc/configure.ac: Likewise.
3293
3294 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3295 Steven Munroe <munroesj@linux.vnet.ibm.com>
3296 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3297
3298 * config/rs6000/sfp-exceptions.c: New file to provide exception
3299 support for IEEE 128-bit floating point.
3300
3301 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3302 floating point hardware support.
3303
3304 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3305 point conversions.
3306 * config/rs6000/fixunskfti.c: Likewise.
3307 * config/rs6000/fixkfti.c: Likewise.
3308 * config/rs6000/floatuntikf.c: Likewise.
3309 * config/rs6000/extendkftf2-sw.c: Likewise.
3310 * config/rs6000/trunctfkf2-sw.c: Likewise.
3311
3312 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3313 128-bit floating point software emulation or use ISA 3.0 hardware
3314 support if it is available.
3315
3316 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3317 floating point.
3318
3319 * config/rs6000/t-float128: New Makefile fragments to enable
3320 building __float128 emulation support.
3321 * config/rs6000/t-float128-hw: Likewise.
3322
3323 * config/rs6000/float128-sed: New file to convert TF names to KF
3324 names for PowerPC IEEE 128-bit floating point support.
3325
3326 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3327 when building on 64-bit systems, or when VSX is enabled.
3328 (_FP_W_TYPE): Likewise.
3329 (_FP_WS_TYPE): Likewise.
3330 (_FP_I_TYPE): Likewise.
3331 (TItype): Define on 64-bit systems.
3332 (UTItype): Likewise.
3333 (TI_BITS): Likewise.
3334 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3335 (_FP_MUL_MEAT_Q): Likewise.
3336 (_FP_DIV_MEAT_D): Likewise.
3337 (_FP_DIV_MEAT_Q): Likewise.
3338 (_FP_NANFRAC_D): Likewise.
3339 (_FP_NANFRAC_Q): Likewise.
3340 (ISA_BIT): Add exception support if we are being compiled on a
3341 machine with hardware floating point support to build the IEEE
3342 128-bit emulation functions.
3343 (FP_EX_INVALID): Likewise.
3344 (FP_EX_OVERFLOW): Likewise.
3345 (FP_EX_UNDERFLOW): Likewise.
3346 (FP_EX_DIVZERO): Likewise.
3347 (FP_EX_INEXACT): Likewise.
3348 (FP_EX_ALL): Likewise.
3349 (__sfp_handle_exceptions): Likewise.
3350 (FP_HANDLE_EXCEPTIONS): Likewise.
3351 (FP_RND_NEAREST): Likewise.
3352 (FP_RND_ZERO): Likewise.
3353 (FP_RND_PINF): Likewise.
3354 (FP_RND_MINF): Likewise.
3355 (FP_RND_MASK): Likewise.
3356 (_FP_DECL_EX): Likewise.
3357 (FP_INIT_ROUNDMODE): Likewise.
3358 (FP_ROUNDMODE): Likewise.
3359
3360 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3361 compiler can do __float128.
3362 * configure: Regenerate.
3363
3364 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3365 VSX code, enable IEEE 128-bit floating point.
3366
3367 2016-01-05 Olivier Hainque <hainque@adacore.com>
3368
3369 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3370 specificities.
3371
3372 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3373
3374 Update copyright years.
3375
3376 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3377
3378 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3379 soft-fp targets.
3380
3381 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3382
3383 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3384 instead of abort to avoid dependency on stdlib.h.
3385
3386 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3387
3388 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3389 to initialize call to __dl_fixup once.
3390
3391 2015-12-04 Nick Clifton <nickc@redhat.com>
3392
3393 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3394 Allow for the second argument being negative.
3395 * config.host (extra_parts): Define for MSP430. Create separate
3396 libraries for each of the hardware multiply formats.
3397 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3398 that are needed.
3399 * config/msp430/lib2mul.c: Likewise.
3400 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3401 Add rules to build hardware multiply libraries.
3402 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3403 __mspabi_divul function.
3404 (__mspabi_divllu): New stub function.
3405
3406 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3407
3408 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3409 fixup values if saved GOT address doesn't match runtime address.
3410 (fixup_branch_offset): Reorder list.
3411
3412 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3413
3414 * Makefile.in (VTV_CFLAGS): New variable.
3415 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3416 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3417 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3418 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3419 to extra_parts if $enable_vtable_verify = yes.
3420
3421 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3422
3423 PR target/68059
3424 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3425 (write): ...this and fix the return type.
3426
3427 2015-11-19 DJ Delorie <dj@redhat.com>
3428
3429 * config/msp430/lib2hw_mul.S: Fix alignment.
3430
3431 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3432
3433 * config/nvptx/reduction.c: New.
3434 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3435
3436 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3437
3438 * config/rs6000/on_exit.c: New file.
3439 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3440 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3441
3442 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3443
3444 * config/arc/dp-hack.h: Add support for ARCHS.
3445 * config/arc/ieee-754/divdf3.S: Likewise.
3446 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3447 * config/arc/ieee-754/muldf3.S: Likewise.
3448 * config/arc/ieee-754/mulsf3.S: Likewise
3449 * config/arc/lib1funcs.S: Likewise
3450 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3451 for ARCv2 cores.
3452 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3453 for ARCv2 cores.
3454 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3455 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3456 cores.
3457
3458 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3459
3460 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3461 value.
3462 * config/ia64/crtend.S: Likewise.
3463
3464 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3465
3466 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3467 __CHAR_BIT__ instead of BITS_PER_UNIT.
3468 * fixed-bit.h: Likewise.
3469 * fp-bit.h: Likewise.
3470 * libgcc2.c (__popcountSI2): Likewise.
3471 (__popcountDI2): Likewise.
3472 * libgcc2.h: Likewise.
3473 * libgcov.h: Likewise.
3474
3475 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3476
3477 * config/rs6000/atexit.c: New file.
3478 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3479 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3480 * config/rs6000/cxa_finalize.c
3481 (catomic_compare_and_exchange_bool_acq): Negate return value.
3482
3483 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3484
3485 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3486 (processor_subtypes): Add znver1.
3487 (get_amd_cpu): Detect znver1.
3488
3489 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3490
3491 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3492 Include crtfastmath.o.
3493
3494 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3495
3496 PR libgcc/66883
3497 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3498
3499 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3500
3501 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3502 * config/rl78/divmodsi.S: Update return register to r8.
3503 * config/rl78/divmodhi.S: Update return register to r8,r9.
3504 Branch to main_loop_done_himode to pop registers before return.
3505
3506 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3507
3508 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3509 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3510
3511 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3512
3513 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3514
3515 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3516
3517 * config.host (xtensa*-*-uclinux*): New configuration.
3518
3519 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3520
3521 * config/i386/cpuinfo.c (processor_features): Add
3522 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3523
3524 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3525
3526 * soft-fp/adddf3.c: Update from glibc.
3527 * soft-fp/addsf3.c: Likewise.
3528 * soft-fp/addtf3.c: Likewise.
3529 * soft-fp/divdf3.c: Likewise.
3530 * soft-fp/divsf3.c: Likewise.
3531 * soft-fp/divtf3.c: Likewise.
3532 * soft-fp/double.h: Likewise.
3533 * soft-fp/eqdf2.c: Likewise.
3534 * soft-fp/eqsf2.c: Likewise.
3535 * soft-fp/eqtf2.c: Likewise.
3536 * soft-fp/extenddftf2.c: Likewise.
3537 * soft-fp/extended.h: Likewise.
3538 * soft-fp/extendsfdf2.c: Likewise.
3539 * soft-fp/extendsftf2.c: Likewise.
3540 * soft-fp/extendxftf2.c: Likewise.
3541 * soft-fp/fixdfdi.c: Likewise.
3542 * soft-fp/fixdfsi.c: Likewise.
3543 * soft-fp/fixdfti.c: Likewise.
3544 * soft-fp/fixsfdi.c: Likewise.
3545 * soft-fp/fixsfsi.c: Likewise.
3546 * soft-fp/fixsfti.c: Likewise.
3547 * soft-fp/fixtfdi.c: Likewise.
3548 * soft-fp/fixtfsi.c: Likewise.
3549 * soft-fp/fixtfti.c: Likewise.
3550 * soft-fp/fixunsdfdi.c: Likewise.
3551 * soft-fp/fixunsdfsi.c: Likewise.
3552 * soft-fp/fixunsdfti.c: Likewise.
3553 * soft-fp/fixunssfdi.c: Likewise.
3554 * soft-fp/fixunssfsi.c: Likewise.
3555 * soft-fp/fixunssfti.c: Likewise.
3556 * soft-fp/fixunstfdi.c: Likewise.
3557 * soft-fp/fixunstfsi.c: Likewise.
3558 * soft-fp/fixunstfti.c: Likewise.
3559 * soft-fp/floatdidf.c: Likewise.
3560 * soft-fp/floatdisf.c: Likewise.
3561 * soft-fp/floatditf.c: Likewise.
3562 * soft-fp/floatsidf.c: Likewise.
3563 * soft-fp/floatsisf.c: Likewise.
3564 * soft-fp/floatsitf.c: Likewise.
3565 * soft-fp/floattidf.c: Likewise.
3566 * soft-fp/floattisf.c: Likewise.
3567 * soft-fp/floattitf.c: Likewise.
3568 * soft-fp/floatundidf.c: Likewise.
3569 * soft-fp/floatundisf.c: Likewise.
3570 * soft-fp/floatunditf.c: Likewise.
3571 * soft-fp/floatunsidf.c: Likewise.
3572 * soft-fp/floatunsisf.c: Likewise.
3573 * soft-fp/floatunsitf.c: Likewise.
3574 * soft-fp/floatuntidf.c: Likewise.
3575 * soft-fp/floatuntisf.c: Likewise.
3576 * soft-fp/floatuntitf.c: Likewise.
3577 * soft-fp/gedf2.c: Likewise.
3578 * soft-fp/gesf2.c: Likewise.
3579 * soft-fp/getf2.c: Likewise.
3580 * soft-fp/ledf2.c: Likewise.
3581 * soft-fp/lesf2.c: Likewise.
3582 * soft-fp/letf2.c: Likewise.
3583 * soft-fp/muldf3.c: Likewise.
3584 * soft-fp/mulsf3.c: Likewise.
3585 * soft-fp/multf3.c: Likewise.
3586 * soft-fp/negdf2.c: Likewise.
3587 * soft-fp/negsf2.c: Likewise.
3588 * soft-fp/negtf2.c: Likewise.
3589 * soft-fp/op-1.h: Likewise.
3590 * soft-fp/op-2.h: Likewise.
3591 * soft-fp/op-4.h: Likewise.
3592 * soft-fp/op-8.h: Likewise.
3593 * soft-fp/op-common.h: Likewise.
3594 * soft-fp/quad.h: Likewise.
3595 * soft-fp/single.h: Likewise.
3596 * soft-fp/soft-fp.h: Likewise.
3597 * soft-fp/subdf3.c: Likewise.
3598 * soft-fp/subsf3.c: Likewise.
3599 * soft-fp/subtf3.c: Likewise.
3600 * soft-fp/truncdfsf2.c: Likewise.
3601 * soft-fp/trunctfdf2.c: Likewise.
3602 * soft-fp/trunctfsf2.c: Likewise.
3603 * soft-fp/trunctfxf2.c: Likewise.
3604 * soft-fp/unorddf2.c: Likewise.
3605 * soft-fp/unordsf2.c: Likewise.
3606 * soft-fp/unordtf2.c: Likewise.
3607
3608 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3609
3610 PR libgcc/67624
3611 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3612
3613 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3614
3615 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3616 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3617 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3618 messages.
3619 (internal_mcount): Likewise.
3620 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3621 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3622
3623 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3624
3625 * configure.ac (libgcc_cv_solaris_crts): New test.
3626 * configure: Regenerate.
3627 * config.in: Regenerate.
3628 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3629 * config/gmon-sol2.c: Rename to ...
3630 * config/sol2/gmon.c: ... this.
3631 Include auto-target.h.
3632 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3633 * config/t-sol2: Rename to ...
3634 * config/sol2/t-sol2: ... this.
3635 (gmon.o): Reflect renaming.
3636 (crtp.o, crtpg.o): New rules.
3637 * config.host (*-*-solaris2*): Reflect renaming.
3638 Use system CRTs if present.
3639 Remove default CRT case.
3640
3641 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3642
3643 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3644 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3645 __kernel_cmpxchg2.
3646 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3647 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3648 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3649 (__sync_lock_test_and_set_##WIDTH): Likewise.
3650 (__sync_lock_release_##WIDTH): Likewise.
3651 (__sync_fetch_and_##OP##_4): Change result to match type of
3652 __kernel_cmpxchg.
3653 (__sync_##OP##_and_fetch_4): Likewise.
3654 (__sync_val_compare_and_swap_4): Likewise.
3655 (__sync_bool_compare_and_swap_4): likewise.
3656 (__sync_lock_test_and_set_4): Likewise.
3657 (__sync_lock_release_4): Likewise.
3658 (FETCH_AND_OP_2): Add long long variants.
3659 (OP_AND_FETCH_2): Likewise.
3660 (COMPARE_AND_SWAP_2 ): Likewise.
3661 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3662 (SYNC_LOCK_RELEASE_2): Likewise.
3663 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3664
3665 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3666
3667 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3668 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3669 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3670 (get_available_features): Habdle new features.
3671
3672 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3673
3674 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3675 memory layout. Deal correctly with BSS region larger than 32K.
3676 Handle a watchdog reset like a power-on reset. Clean up unused
3677 code.
3678
3679 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3680 David Edelsohn <dje.gcc@gmail.com>
3681
3682 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3683 * config/rs6000/crtdbase.S: New file.
3684 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3685
3686 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3687
3688 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3689 Add support for call0 ABI.
3690
3691 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3692
3693 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3694
3695 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3696
3697 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3698 (__GTHREAD_HAS_COND): Likewise.
3699 (__gthread_t): Likewise.
3700 (__gthread_cond_t): Likewise.
3701 (__gthread_time_t): Likewise.
3702 (__GTHREAD_MUTEX_INIT): Likewise.
3703 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3704 (__GTHREAD_COND_INIT): Likewise.
3705 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3706 (__GTHREAD_TIME_INIT): Likewise.
3707 (__gthread_create): Likewise.
3708 (__gthread_join): Likewise.
3709 (__gthread_detach): Likewise.
3710 (__gthread_equal): Likewise.
3711 (__gthread_self): Likewise.
3712 (__gthread_yield): Likewise.
3713 (__gthread_cond_broadcast): Likewise.
3714 (__gthread_cond_signal): Likewise.
3715 (__gthread_cond_wait): Likewise.
3716 (__gthread_cond_timedwait): Likewise.
3717 (__gthread_cond_wait_recursive): Likewise.
3718 (__gthread_cond_destroy): Likewise.
3719 (rtems_gxx_once): Delete.
3720 (rtems_gxx_key_create): Likewise.
3721 (rtems_gxx_key_delete): Likewise.
3722 (rtems_gxx_getspecific): Likewise.
3723 (rtems_gxx_setspecific): Likewise.
3724 (rtems_gxx_mutex_init): Likewise.
3725 (rtems_gxx_mutex_destroy): Likewise.
3726 (rtems_gxx_mutex_lock): Likewise.
3727 (rtems_gxx_mutex_trylock): Likewise.
3728 (rtems_gxx_mutex_unlock): Likewise.
3729 (rtems_gxx_recursive_mutex_init): Likewise.
3730 (rtems_gxx_recursive_mutex_lock): Likewise.
3731 (rtems_gxx_recursive_mutex_trylock): Likewise.
3732 (rtems_gxx_recursive_mutex_unlock): Likewise.
3733 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3734 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3735 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3736 (__gthread_once): Likewise.
3737 (__gthread_key_create): Likewise.
3738 (__gthread_key_delete): Likewise.
3739 (__gthread_getspecific): Likewise.
3740 (__gthread_setspecific): Likewise.
3741 (__gthread_key_t): Use <pthread.h> type.
3742 (__gthread_once_t): Likewise
3743 (__gthread_mutex_t): Use <sys/lock.h> type.
3744 (__gthread_recursive_mutex_t): Likewise
3745 (__gthread_mutex_lock): Use <sys/lock.h> function.
3746 (__gthread_mutex_trylock): Likewise.
3747 (__gthread_mutex_timedlock): Likewise.
3748 (__gthread_mutex_unlock): Likewise.
3749 (__gthread_mutex_destroy): Likewise.
3750 (__gthread_recursive_mutex_lock): Likewise.
3751 (__gthread_recursive_mutex_trylock): Likewise.
3752 (__gthread_recursive_mutex_timedlock): Likewise.
3753 (__gthread_recursive_mutex_unlock): Likewise.
3754 (__gthread_recursive_mutex_destroy): Likewise.
3755
3756 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3757
3758 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3759 context->sp instead of context->cfa.
3760
3761 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3762
3763 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3764 with unwind-dw2-fde-dip.
3765
3766 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3767
3768 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3769 CALL12 followed by series of ENTRY to spill windowed registers.
3770 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3771 instead of making linux spill syscall.
3772
3773 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3774
3775 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3776 (get_intel_cpu): Likewise.
3777
3778 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3781 (get_intel_cpu): Add Knights Landing support.
3782
3783 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3784
3785 PR target/66954
3786 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3787 (get_available_features): Handle FEATURE_PCLMUL.
3788
3789 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3790
3791 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3792 Broadwell.
3793
3794 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3795
3796 PR target/66954
3797 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3798 (get_available_features): Handle FEATURE_AES.
3799
3800 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3801
3802 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3803 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3804
3805 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3806
3807 * offloadstuff.c: Constify host data.
3808
3809 2015-07-17 Jan Beulich <jbeulich@suse.com>
3810
3811 * config/t-softfp: Split up "else ifneq".
3812
3813 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3814 Cesar Philippidis <cesar@codesourcery.com>
3815 Chung-Lin Tang <cltang@codesourcery.com>
3816
3817 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3818 for __nios2_arch__ level.
3819
3820 2015-07-13 John Marino <gnugcc@marino.st>
3821
3822 * config/i386/t-dragonfly: New.
3823
3824 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3825
3826 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3827 better match light-weight syscall argument order.
3828 (__kernel_cmpxchg2): Likewise.
3829 Adjust callers.
3830
3831 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3832
3833 * config.host: Support i[34567]86-*-elfiamcu target.
3834 * config/t-softfp-sfdftf: New file.
3835 * config/i386/32/t-iamcu: Likewise.
3836 * configure: Regenerated.
3837
3838 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3839
3840 libgcc/config/arm/
3841 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3842
3843 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3844
3845 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3846
3847 2015-05-27 John Marino <gnugcc@marino.st>
3848
3849 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3850 md_unwind_header
3851 * config/i386/freebsd-unwind.h: New.
3852
3853 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3854
3855 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3856 i386/t-crtfm to tmake_file.
3857 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3858 (set_fast_math): Use set_fast_math_sse for SSE targets.
3859 * config/i386/t-crtfm: Remove.
3860
3861 2015-05-21 Alan Modra <amodra@gmail.com>
3862
3863 PR libgcc/66225
3864 * config/rs6000/morestack.S: Remove ".abiversion 1".
3865
3866 2015-05-20 Alan Modra <amodra@gmail.com>
3867
3868 * config/rs6000/morestack.S: New.
3869 * config/rs6000/t-stack-rs6000: New.
3870 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3871 to tmake_file.
3872 * generic-morestack.c: Don't build for powerpc 32-bit.
3873
3874 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3875
3876 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3877 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3878
3879 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3880
3881 * config.host: FT32 target added.
3882 * config/ft32/*: New files for FT32 target.
3883
3884 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3885
3886 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3887 New macros.
3888 * config/arm/ieee754-df.S: Add CFI directives.
3889 * config/arm/ieee754-sf.S: Add CFI directives.
3890
3891 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3892
3893 * configure.ac: Include config/sjlj.m4.
3894 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3895 * config.in: Regenerate.
3896 * configure: Likewise.
3897 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3898
3899 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3900
3901 * libgcov-util.c: Add space between string literal and macro name.
3902
3903 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3904 Chris Jones <chrisj@nvidia.com>
3905 Joshua Conner <jconner@nvidia.com>
3906
3907 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3908 (arm*-*-uclinux*): Likewise.
3909 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3910 * config/arm/crtfastmath.c: New file.
3911
3912 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3913
3914 * Makefile.in (real_host_noncanonical): New variable.
3915 (libsubdir): Use it.
3916 * configure.ac (real_host_noncanonical): Compute. Remove special
3917 case for intelmicemul.
3918 * configure: Regenerate.
3919
3920 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3921
3922 * config/frv/elf-lib.h: New file.
3923 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3924 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3925 to tm_file.
3926
3927 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3928
3929 * config/frv/frvbengin.c: Do not include defaults.h
3930 * config/frv/frvend.c: Ditto.
3931
3932 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3933
3934 * config.host: Add h8300-*-linux
3935 * config/h8300/t-linux: New file.
3936 * config/h8300/lib1funs.s: Change symbol prefix.
3937 * config/h8300/sfp-machine.h: 64bit double support.
3938
3939 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3940 Szabolcs Nagy <szabolcs.nagy@arm.com>
3941
3942 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3943 Linux if target provides dl_iterate_phdr.
3944
3945 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3946
3947 PR target/65612
3948 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3949 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3950 (__cpu_indicator_init@GCC_4.8.0): New.
3951 (__cpu_model@GCC_4.8.0): Likewise.
3952 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3953 -DUSE_ELF_SYMVER.
3954
3955 2015-04-16 Nick Clifton <nickc@redhat.com>
3956
3957 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3958 and __modhi3 functions.
3959 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3960 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3961
3962 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3963
3964 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3965 do-while loop as macro body to avoid warnings.
3966
3967 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3968 Iain Sandoe <iain@codesourcery.com>
3969
3970 PR target/65351
3971 * configure: Regenerate.
3972
3973 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3974 Iain Sandoe <iain@codesourcery.com>
3975
3976 PR target/65351
3977 * configure: Regenerate.
3978
3979 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3980
3981 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3982
3983 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3984
3985 Implement call0 ABI for xtensa
3986 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3987 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3988 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3989 use ret in call0 ABI.
3990 * config/xtensa/t-windowed: New file.
3991 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3992 * libgcc/configure: Regenerated.
3993 * libgcc/configure.ac: Check if xtensa target is configured for
3994 windowed ABI and thus needs to use custom unwind code.
3995
3996 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3997
3998 PR libgcc/64885
3999 * gthr-single.h: Use __unused__ attribute instead of unused.
4000 * config/gthr-vxworks.h: Likewise.
4001 * config/i386/gthr-win32.h: Likewise.
4002
4003 2015-02-27 Kai Tietz <ktietz@redhat.com>
4004
4005 PR target/65038
4006 * config.in: Regenerated.
4007 * configure: Likewise.
4008 * configure.ac (AC_HEADER_STDC): Added explicit.
4009 (AC_CHECK_HEADERS): Check for default headers plus
4010 for ftw.h header.
4011 * libgcov-util.c (gcov_read_profile_dir): Disable use
4012 of ftw-function, if header is not found.
4013 (ftw_read_file): Likewise.
4014
4015 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4016
4017 PR target/65181
4018 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4019 -Dinhibit_libc.
4020
4021 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4022
4023 * config/arm/bpabi.S (test_div_by_zero): Make label names
4024 consistent between thumb2 and arm mode cases. Separate the
4025 signed comparison on the high word of the numerator from the
4026 unsigned comparison on the low word.
4027 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4028 signed comparison.
4029
4030 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4031
4032 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4033 and <string.h>.
4034 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4035
4036 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4037
4038 PR gcov-profile/61889
4039 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4040
4041 2015-02-02 Nick Clifton <nickc@redhat.com>
4042
4043 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4044 rounding up the fraction.
4045
4046 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4047
4048 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4049 oldval and newval to const void *. Fix typo.
4050 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4051 (FETCH_AND_OP_WORD): Likewise.
4052 (OP_AND_FETCH_WORD): Likewise.
4053 (COMPARE_AND_SWAP_2): Likewise.
4054 (__sync_val_compare_and_swap_4): Likewise.
4055 (__sync_lock_test_and_set_4): Likewise.
4056 (SYNC_LOCK_RELEASE_2): Likewise.
4057 Remove support for long long atomic operations.
4058
4059 2015-01-27 Caroline Tice <cmtice@google.com>
4060
4061 Committing VTV Cywin/Ming patch for Patrick Wollgast
4062 * Makefile.in: Move rules to build vtv_*.o out of the check
4063 for CUSTOM_CRTSTUFF.
4064 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4065 i[34567]86-*-mingw*)
4066 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4067 enable_vtable_verify.
4068
4069 2015-01-27 Nick Clifton <nickc@redhat.com>
4070
4071 * config/rl78/cmpsi2.S: Use function start and end macros.
4072 (__gcc_bcmp): New function.
4073 * config/rl78/lshrsi3.S: Use function start and end macros.
4074 * config/rl78/mulsi3.S: Add support for G10.
4075 (__mulqi3): New function for G10.
4076 * config/rl78/signbit.S: Use function start and end macros.
4077 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4078 fpmath-sf.S.
4079 (LIB2FUNCS_EXCLUDE): Define.
4080 (LIB2FUNCS_ST): Define.
4081 * config/rl78/trampoline.S: Use function start and end macros.
4082 * config/rl78/vregs.h (START_FUNC): New macro.
4083 (START_ANOTHER_FUNC): New macro.
4084 (END_FUNC): New macro.
4085 (END_ANOTHER_FUNC): New macro.
4086 * config/rl78/bit-count.S: New file. Contains assembler
4087 implementations of the bit counting functions: ___clzhi2,
4088 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4089 __paritysi2, __popcounthi2 and __popcountsi2.
4090 * config/rl78/fpbit-sf.S: New file. Contains assembler
4091 implementationas of the math functions: __negsf2, __cmpsf2,
4092 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4093 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4094 * config/rl78/fpmath-sf.S: New file. Contains assembler
4095 implementations of the math functions: __subsf3, __addsf3,
4096 __mulsf3 and __divsf3
4097
4098 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4099
4100 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4101 Add i386/elf-lib.h to tm_file.
4102 * config/i386/elf-lib.h: Fix comment.
4103 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4104 && __sun__ && __svr4__]: Remove workaround.
4105
4106 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4107
4108 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4109 FEATURE_BMI2.
4110 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4111
4112 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4113
4114 * config/i386/cpuinfo.c (processor_subtypes): Add
4115 INTEL_COREI7_BROADWELL.
4116 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4117 model numbers.
4118
4119 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4120
4121 * config/i386/elf-lib.h: New file.
4122 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4123 Wrap definition in #ifdef __i386__.
4124 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4125 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4126 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4127 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4128 to tm_file.
4129
4130 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4131
4132 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4133 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4134
4135 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4136
4137 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4138 Update rt_sigframe format and address for current Nios II
4139 Linux conventions.
4140
4141 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4142
4143 * config.host (arm*-*-freebsd*): Add new configuration for
4144 arm*-*-freebsd*.
4145 * config/arm/freebsd-atomic.c: New file.
4146 * config/arm/t-freebsd: Likewise.
4147 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4148 'PC-relative indirect' OS's.
4149
4150 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4151
4152 * config.host: Add Visium support.
4153 * config/visium: New directory.
4154
4155 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4156
4157 Update copyright years.
4158
4159 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4160
4161 * config.host: Support mipsisa32r6 and mipsisa64r6.
4162 * config/mips/mips16.S: Do not build for R6.
4163
4164 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4165
4166 * config/sh/crt.h: New.
4167 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4168 symbols.
4169 * config/sh/crt1.S: Likewise.
4170
4171 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4172
4173 PR libgcc/63832
4174 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4175 func_ptr *dtor_list temporary variable to avoid "array subscript
4176 is above array bounds" warnings.
4177
4178 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4179
4180 * Makefile.in (with_aix_soname): Define.
4181 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4182 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4183 * configure: Recreate.
4184
4185 2014-12-05 Olivier Hainque <hainque@adacore.com>
4186
4187 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4188 now provided by defaults.h.
4189
4190 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4191
4192 PR target/55351
4193 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4194 whether it's defined.
4195
4196 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4197
4198 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4199 * config/i386/cpuinfo.c (get_available_features): Detect it.
4200
4201 2014-11-27 Tony Wang <tony.wang@arm.com>
4202
4203 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4204 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4205 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4206
4207 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4208
4209 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4210
4211 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4212
4213 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4214 instead.
4215
4216 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4217 John David Anglin <danglin@gcc.gnu.org>
4218
4219 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4220 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4221 (OP_AND_FETCH_2): Likewise.
4222 (COMPARE_AND_SWAP_2): Likewise.
4223 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4224 (SYNC_LOCK_RELEASE_2): Likewise.
4225 (SUBWORD_SYNC_OP): Remove.
4226 (SUBWORD_VAL_CAS): Likewise.
4227 (SUBWORD_BOOL_CAS): Likewise.
4228 (FETCH_AND_OP_WORD): Update.
4229 Consistently use signed types.
4230
4231 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4232 Thomas Schwinge <thomas@codesourcery.com>
4233 Ilya Verbin <ilya.verbin@intel.com>
4234 Andrey Turetskiy <andrey.turetskiy@intel.com>
4235
4236 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4237 (crtoffloadend$(objext)): Likewise.
4238 * configure: Regenerate.
4239 * configure.ac (accel_dir_suffix): Compute new variable.
4240 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4241 if enable_offload_targets is not empty.
4242 * offloadstuff.c: New file.
4243
4244 2014-11-13 Nick Clifton <nickc@redhat.com>
4245
4246 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4247 Use START_FUNC and END_FUNC macros to enable linker garbage
4248 collection.
4249 * config/rl78/divmodqi.S: Likewise.
4250 * config/rl78/divmodsi.S: Likewise.
4251 * config/rl78/mulsi3.S: Likewise.
4252 * config/rl78/lib2div.c: Remove G10 functions.
4253 * config/rl78/lib2muls.c: Likewise.
4254 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4255 * config/rl78/vregs.h (START_FUNC): New macro.
4256 (END_FUNC): New macro.
4257
4258 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4259
4260 * config/mips/mips16.S: Set .module when supported. Update O32
4261 FP64 calling convention and use for FPXX when possible. Add FPXX
4262 calling convention fallback case.
4263
4264 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4265
4266 * config.host: Handle nvptx-*-*.
4267 * shared-object.mk (as-flags-$o): Define.
4268 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4269 -xassembler-with-cpp.
4270 * static-object.mk: Identical changes.
4271 * config/nvptx/t-nvptx: New file.
4272 * config/nvptx/crt0.s: New file.
4273 * config/nvptx/free.asm: New file.
4274 * config/nvptx/malloc.asm: New file.
4275 * config/nvptx/realloc.c: New file.
4276
4277 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4278
4279 * Makefile.in (libgcc.map.in): New target.
4280 (libgcc.map): Use libgcc.map.in.
4281 * config/t-softfp (softfp_compat): New variable to be set by
4282 users.
4283 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4284 variables.
4285 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4286 directory.
4287 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4288 that use compat symbols and disable all code unless [SHARED].
4289 * config/t-softfp-compat: New file.
4290 * find-symver.awk: New file.
4291 * configure.ac (--with-glibc-version): New configure option.
4292 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4293 * configure: Regenerate.
4294 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4295 soft-float and e500.
4296
4297 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4298
4299 * config/t-hardfp (hardfp_exclusions): Document new variable for
4300 user to define.
4301 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4302 * config/t-softfp (softfp_extras): Document new variable for user
4303 to define.
4304 (softfp_func_list): Add functions from $(softfp_extras).
4305 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4306 * config.host (powerpc*-*-linux*): For e500v1, use
4307 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4308 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4309 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4310
4311 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4312
4313 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4314 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4315 memory read accesses are ok.
4316
4317 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4318
4319 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4320 * configure: Regenerate.
4321 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4322 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4323 of soft-fp for 32-bit classic hard float. Do not use
4324 t-softfp-excl for soft float.
4325
4326 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4327
4328 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4329 configurations.
4330 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4331 Remove variables.
4332
4333 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4334
4335 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4336 introduced with 2014-10-21 trunk r216525.
4337
4338 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4339 Vidya Praveen <vidya.praveen@atmel.com>
4340 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4341 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4342 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4343
4344 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4345 order.
4346
4347 Updated library functions for AVRTINY arch.
4348 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4349 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4350 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4351 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4352 wsubi/wadi macors.
4353 (__mulsi3_helper): Update stack, preserve callee saved regs and
4354 argument from stack. Restore callee save registers.
4355 (__mulpsi3): Likewise.
4356 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4357 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4358 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4359 AVRTINY.
4360 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4361 (__do_copy_data): Added new definition for AVRTINY.
4362 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4363 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4364 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4365 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4366 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4367 macors.
4368 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4369 AVRTINY.
4370
4371 Fix broken long multiplication on tiny arch.
4372
4373 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4374
4375 * soft-fp/double.h: Update from glibc.
4376 * soft-fp/eqdf2.c: Likewise.
4377 * soft-fp/eqsf2.c: Likewise.
4378 * soft-fp/eqtf2.c: Likewise.
4379 * soft-fp/extenddftf2.c: Likewise.
4380 * soft-fp/extended.h: Likewise.
4381 * soft-fp/extendsfdf2.c: Likewise.
4382 * soft-fp/extendsftf2.c: Likewise.
4383 * soft-fp/extendxftf2.c: Likewise.
4384 * soft-fp/gedf2.c: Likewise.
4385 * soft-fp/gesf2.c: Likewise.
4386 * soft-fp/getf2.c: Likewise.
4387 * soft-fp/ledf2.c: Likewise.
4388 * soft-fp/lesf2.c: Likewise.
4389 * soft-fp/letf2.c: Likewise.
4390 * soft-fp/op-1.h: Likewise.
4391 * soft-fp/op-2.h: Likewise.
4392 * soft-fp/op-4.h: Likewise.
4393 * soft-fp/op-8.h: Likewise.
4394 * soft-fp/op-common.h: Likewise.
4395 * soft-fp/quad.h: Likewise.
4396 * soft-fp/single.h: Likewise.
4397 * soft-fp/soft-fp.h: Likewise.
4398 * soft-fp/unorddf2.c: Likewise.
4399 * soft-fp/unordsf2.c: Likewise.
4400 * soft-fp/unordtf2.c: Likewise.
4401 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4402 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4403 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4404 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4405 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4406 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4407 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4408 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4409 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4410 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4411
4412 2014-10-08 Rong Xu <xur@google.com>
4413
4414 * libgcov-util.c (read_gcda_file): Fix format.
4415 (find_match_gcov_info): Ditto.
4416 (calculate_2_entries): New.
4417 (compute_one_gcov): Ditto.
4418 (gcov_info_count_all_cold): Ditto.
4419 (gcov_info_count_all_zero): Ditto.
4420 (extract_file_basename): Ditto.
4421 (get_file_basename): Ditto.
4422 (set_flag): Ditto.
4423 (matched_gcov_info): Ditto.
4424 (calculate_overlap): Ditto.
4425 (gcov_profile_overlap): Ditto.
4426 * libgcov-driver.c (compute_summary): Make
4427 it avavilable for external calls.
4428
4429 2014-10-06 Rong Xu <xur@google.com>
4430
4431 * Makefile.in: Ditto.
4432 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4433 (gcov_sort_icall_topn_counter): Ditto.
4434 (gcov_sort_topn_counter_arrays): Ditto.
4435 (dump_one_gcov): Sort indirect_call topn counters.
4436 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4437 function.
4438 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4439 utility function.
4440 (__gcov_indirect_call_topn_profiler): New profiler function.
4441 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4442 * libgcov.h: New decls.
4443
4444 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4445
4446 * config.host: Remove support for score-*.
4447
4448 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4449
4450 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4451 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4452 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4453 __LIBGCC_XF_MANT_DIG__.
4454 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4455 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4456 __LIBGCC_TF_MANT_DIG__.
4457 * libgcc2.c (NOTRUNC): Define in terms of
4458 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4459 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4460
4461 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4462
4463 PR target/63312
4464 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4465 New macros.
4466
4467 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4468
4469 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4470 override USE_PT_GNU_EH_FRAME.
4471 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4472 check USE_EH_FRAME_REGISTRY_ALWAYS against
4473 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4474 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4475 variable for substituted force_explicit_eh_registry.
4476 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4477 * configure.ac (explicit-exception-frame-registration):
4478 New AC_ARG_ENABLE.
4479 * configure: Regenerate.
4480
4481 2014-09-19 Olivier Hainque <hainque@adacore.com>
4482
4483 * config.host (powerpc-wrs-vxworksmils): New configuration,
4484 same as vxworksae.
4485
4486 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4487
4488 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4489
4490 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4491
4492 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4493 bits not set bits as indicating trapping exceptions.
4494
4495 2014-09-17 Nathan sidwell <nathan@acm.org>
4496
4497 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4498 (LIBGCOV_DRIVER): ... here.
4499 * libgcov-driver.c (gcov_master): New.
4500 (gcov_exit): Remove from master chain.
4501 (__gcov_init): Add to master chain if version compatible. Don't
4502 clear the version.
4503 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4504 (gcov_reset_int): Clear master chain, if compatible.
4505 (gcov_dump_int): New internal interface. Dump master chain, if
4506 compatible.
4507 (gcov_dump): Alias for gcov_dump_int.
4508 * libgcov.h (struct gcov_root): Add next and prev fields.
4509 (struct gcov_master): New struct.
4510 (__gcov_master): New.
4511 (gcov_dump_int): Declare.
4512
4513 2014-09-17 Olivier Hainque <hainque@adacore.com>
4514
4515 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4516 and crtbegin.o + crtend.o to extra_parts.
4517
4518 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4519
4520 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4521 __LIBGCC_HAS_SF_MODE__.
4522 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4523 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4524 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4525 * config/libbid/bid_gcc_intrinsics.h
4526 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4527 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4528 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4529 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4530 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4531 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4532
4533 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4534
4535 PR target/63223
4536 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4537 and R24 as needed. Make work for all devices and .text locations.
4538 (__do_global_ctors, __do_global_dtors): Use word addresses.
4539 (__tablejump__, __tablejump_elpm__): Remove functions.
4540 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4541 Add _tablejump2.
4542 (XICALL, XIJMP): New macros.
4543
4544 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4545 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4546
4547 * config.host (aarch64*): Include crtfastmath.o and
4548 t-crtfm.
4549 * config/aarch64/crtfastmath.c: New file.
4550
4551 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4552
4553 * config.host: Remove picochip support.
4554 * config/picochip/adddi3.S: Remove.
4555 * config/picochip/ashlsi3.S: Remove.
4556 * config/picochip/ashlsi3.c: Remove.
4557 * config/picochip/ashrsi3.S: Remove.
4558 * config/picochip/ashrsi3.c: Remove.
4559 * config/picochip/clzsi2.S: Remove.
4560 * config/picochip/cmpsi2.S: Remove.
4561 * config/picochip/divmod15.S: Remove.
4562 * config/picochip/divmodhi4.S: Remove.
4563 * config/picochip/divmodsi4.S: Remove.
4564 * config/picochip/lib1funcs.S: Remove.
4565 * config/picochip/longjmp.S: Remove.
4566 * config/picochip/lshrsi3.S: Remove.
4567 * config/picochip/lshrsi3.c: Remove.
4568 * config/picochip/parityhi2.S: Remove.
4569 * config/picochip/popcounthi2.S: Remove.
4570 * config/picochip/setjmp.S: Remove.
4571 * config/picochip/subdi3.S: Remove.
4572 * config/picochip/t-picochip: Remove.
4573 * config/picochip/ucmpsi2.S: Remove.
4574 * config/picochip/udivmodhi4.S: Remove.
4575 * config/picochip/udivmodsi4.S: Remove.
4576
4577 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4578
4579 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4580 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4581 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4582 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4583 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4584 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4585 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4586 defined and LIBGCC2_HAS_DF_MODE is defined.
4587 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4588 defined and LIBGCC2_HAS_XF_MODE is defined.
4589 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4590 defined and LIBGCC2_HAS_TF_MODE is defined.
4591
4592 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4593
4594 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4595 and ROUND_TOWARDS_ZERO conditionals.
4596
4597 2014-09-07 Nathan sidwell <nathan@acm.org>
4598
4599 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4600 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4601
4602 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4603
4604 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4605 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4606 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4607 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4608 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4609 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4610 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4611 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4612 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4613 (DWARF_FRAME_REGISTERS): Change all uses to
4614 __LIBGCC_DWARF_FRAME_REGISTERS__.
4615 (EH_RETURN_STACKADJ_RTX): Change all uses to
4616 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4617 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4618 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4619 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4620 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4621 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4622 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4623 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4624 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4625 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4626 __LIBGCC_STACK_POINTER_REGNUM__.
4627 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4628 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4629 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4630 to __LIBGCC_STACK_POINTER_REGNUM__.
4631 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4632 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4633 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4634 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4635 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4636 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4637 (STACK_POINTER_REGNUM): Change all uses to
4638 __LIBGCC_STACK_POINTER_REGNUM__.
4639 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4640 use to __LIBGCC_STACK_POINTER_REGNUM__.
4641 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4642 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4643 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4644 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4645 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4646 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4647 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4648 to __LIBGCC_STACK_POINTER_REGNUM__.
4649 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4650 Remove conditional definition.
4651 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4652 __LIBGCC_TEXT_SECTION_ASM_OP__.
4653 (EH_FRAME_SECTION_NAME): Change all uses to
4654 __LIBGCC_EH_FRAME_SECTION_NAME__.
4655 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4656 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4657 (CTORS_SECTION_ASM_OP): Change all uses to
4658 __LIBGCC_CTORS_SECTION_ASM_OP__.
4659 (DTORS_SECTION_ASM_OP): Change all uses to
4660 __LIBGCC_DTORS_SECTION_ASM_OP__.
4661 (JCR_SECTION_NAME): Change all uses to
4662 __LIBGCC_JCR_SECTION_NAME__.
4663 (INIT_SECTION_ASM_OP): Change all uses to
4664 __LIBGCC_INIT_SECTION_ASM_OP__.
4665 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4666 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4667 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4668 __LIBGCC_STACK_GROWS_DOWNWARD__.
4669 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4670 __LIBGCC_INIT_SECTION_ASM_OP__.
4671 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4672 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4673 (EH_FRAME_SECTION_NAME): Change all uses to
4674 __LIBGCC_EH_FRAME_SECTION_NAME__.
4675 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4676 definitions. Change all uses to
4677 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4678 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4679 __LIBGCC_STACK_GROWS_DOWNWARD__.
4680 (DWARF_FRAME_REGISTERS): Change all uses to
4681 __LIBGCC_DWARF_FRAME_REGISTERS__.
4682 (EH_RETURN_STACKADJ_RTX): Change all uses to
4683 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4684 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4685 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4686 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4687 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4688 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4689
4690 2014-09-02 Nathan sidwell <nathan@acm.org>
4691
4692 * libgcov-interface.c (STRONG_ALIAS): New.
4693 (__gcov_flush): Call __gcov_reset_int.
4694 (__gcov_reset): Strong alias for ...
4695 (__gcov_reset_ing): ... this renamed hidden version.
4696 * libgcov.h (__gcov_reset_int): New declaration.
4697
4698 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4699
4700 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4701 call from here...
4702 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4703 (__dso_handle): Define on Cygwin.
4704 * config/i386/t-cygming (crtbeginS.o): New rule.
4705 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4706
4707 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4708 declaration syntax.
4709
4710 2014-08-13 Steve Ellcey <sellcey@mips.com>
4711
4712 * crtstuff.c: Undef caddr_t.
4713
4714 2014-08-12 Steve Ellcey <sellcey@mips.com>
4715
4716 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4717
4718 2014-08-07 Nathan Sidwell <nathan@acm.org>
4719
4720 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4721 (LIBGCOV_DRIVER): ... to here.
4722 * libgcov.h (gcov_do_dump): New #define.
4723 (struct gcov_root): New.
4724 (__gcov_root): New declaration.
4725 (__gcov_dump_one): Declare.
4726 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4727 run_accounted): Delete.
4728 (gcov_compute_histogram): Add LIST argument, adjust.
4729 (compute_summary): Adjust gcov_compute_histogram call.
4730 (gcov_do_dump): Not hidden, static in libgcov.
4731 (gcov_clear): Move to interface.c.
4732 (__gcov_dump_one): New, broken out of ...
4733 (gcov_exit): ... here. Make static.
4734 (__gcov_root): New.
4735 (__gcov_init): Adjust.
4736 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4737 declarations.
4738 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4739 (gcov_clear): Moved from driver.c. Add LIST argument.
4740 (__gcov_reset): Adjust for changed interfaces.
4741 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4742
4743 2014-08-04 Rohit <rohitarulraj@freescale.com>
4744
4745 PR target/60102
4746 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4747 based on change in SPE high register numbers and 3 HTM registers.
4748
4749 2014-08-01 Nathan Sidwell <nathan@acm.org>
4750
4751 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4752 LIBGCOV_INTERFACE): Reformat.
4753 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4754 IN_GCOV_TOOL.
4755 * libgcov-interface.c: Reformat some comments.
4756 (__gcov_flush_mx): Add declaration. Tidy up definition.
4757
4758 2014-07-31 Alan Modra <amodra@gmail.com>
4759 Peter Bergner <bergner@vnet.ibm.com>
4760
4761 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4762 (pack_ldouble): New function.
4763 (__gcc_qadd): Use it.
4764 (__gcc_qmul): Likewise.
4765 (__gcc_qdiv): Likewise.
4766 (__gcc_qneg): Likewise.
4767 (__gcc_stoq): Likewise.
4768 (__gcc_dtoq): Likewise.
4769
4770 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4771
4772 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4773 (__tpf_eh_return): Add original return address as second parameter.
4774 Handle cases where unwinder routines were called directly, instead
4775 of from within the C++ library.
4776
4777 2014-07-29 Nathan Sidwell <nathan@acm.org>
4778
4779 * libgcov.h: Move renaming of entry points to lib gcov specific
4780 portion.
4781 (gcov_do_dump): New rename.
4782 (gcov_rewrite): Remove inline, make HIDDEN.
4783 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4784 (gcov_exit_compute_summary): Rename to ...
4785 (compute_summary): ... here. Add LIST argument.
4786 (gcov_exit_merge_gcda): Rename to ...
4787 (merge_one_data): ... here.
4788 (gcov_exit_write_gcda): Rename to ...
4789 (write_one_data): ... here.
4790 (gcov_exit_merge_summary): Rename to ...
4791 (merge_summary): Add RUN_COUNTED argument.
4792 (gcov_exit_dump_gcov): Rename to ...
4793 (dump_one_gcov): Add RUN_COUNTED argument.
4794 (gcov_do_dump): New function, broken out of ...
4795 (gcov_exit): ... here. Call it.
4796
4797 2014-07-27 Anthony Green <green@moxielogic.com>
4798
4799 * config.host: Add moxiebox configuration suppport.
4800
4801 2014-07-27 Nathan Sidwell <nathan@acm.org>
4802
4803 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4804 (struct gcov_filename): ... here. Include buffer and max length
4805 fields.
4806 (gcov_max_filename): Remove.
4807 (gi_filename): Remove.
4808 (gcov_exit_compute_summary): Compute max filename here.
4809 (gcov_exit_merge_gcda): Add filename parm, adjust.
4810 (gcov_exit_merge_summary): Likewise.
4811 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4812 (gcov_exit): Likewise.
4813 (__gcov_init): Don't calculate max length here.
4814 * libgcov_util.c (max_filename_len): Remove.
4815 (read_gcda_file): Don't calculate max length here.
4816 (gcov_read_profile_dir): Don't propagate here.
4817 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4818 struct gcov_filename changes.
4819 (gcov_exit_open_gcda_file): Likewise.
4820
4821 2014-07-25 Nathan Sidwell <nathan@acm.org>
4822
4823 * libgcov-driver.c (set_gcov_dump_complete,
4824 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4825 functions polluting user's namespace.
4826 (gcov_exit): Set variable directly.
4827 (gcov_clear): Reset variable directly.
4828 * libgcov-interface.c (get_gcov_dymp_complete,
4829 reset_gov_dump_complete): Remove declarations.
4830 (__gcov_reset, __gcov_dump): Don't call them.
4831
4832 2014-07-24 DJ Delorie <dj@redhat.com>
4833
4834 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4835 (__gcc_deregister_frame): Move logic to detect deregister function
4836 to ...
4837 (__gcc_register_frame): here, so it's consistent with the register
4838 logic.
4839
4840 2014-07-23 Nathan Sidwell <nathan@acm.org>
4841
4842 * libgcov-driver.c (set_gcov_list): Remove.
4843 (gcov_list): Make non-static in GCOV_TOOL.
4844 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4845
4846 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4847
4848 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4849 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4850 Don't use SYNC_LOCK_RELEASE for int type.
4851
4852 2014-07-14 Richard Biener <rguenther@suse.de>
4853
4854 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4855
4856 2014-07-11 Rong Xu <xur@google.com>
4857
4858 * libgcov-util.c (gcov_max_filename): Fix declartion.
4859
4860 2014-07-10 Rong Xu <xur@google.com>
4861
4862 Add gcov-tool: an offline gcda profile processing tool
4863 Support.
4864 * libgcov-driver.c (gcov_max_filename): Make available
4865 to gcov-tool.
4866 * libgcov-merge.c (__gcov_merge_add): Replace
4867 gcov_read_counter() with a Macro.
4868 (__gcov_merge_ior): Ditto.
4869 (__gcov_merge_time_profile): Ditto.
4870 (__gcov_merge_single): Ditto.
4871 (__gcov_merge_delta): Ditto.
4872 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4873 in the utility functions.
4874 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4875 gcov_list object link lists.
4876 (tag_function): Ditto.
4877 (tag_blocks): Ditto.
4878 (tag_arcs): Ditto.
4879 (tag_lines): Ditto.
4880 (tag_counters): Ditto.
4881 (tag_summary): Ditto.
4882 (read_gcda_finalize): Ditto.
4883 (read_gcda_file): Ditto.
4884 (ftw_read_file): Ditto.
4885 (read_profile_dir_init): Ditto.
4886 (gcov_read_profile_dir): Ditto.
4887 (gcov_read_counter_mem): Ditto.
4888 (gcov_get_merge_weight): Ditto.
4889 (merge_wrapper): A wrapper function that calls merging handler.
4890 (gcov_merge): Merge two gcov_info objects with weights.
4891 (find_match_gcov_info): Find the matched gcov_info in the list.
4892 (gcov_profile_merge): Merge two gcov_info object lists.
4893 (__gcov_add_counter_op): Process edge profile counter values.
4894 (__gcov_ior_counter_op): Process IOR profile counter values.
4895 (__gcov_delta_counter_op): Process delta profile counter values.
4896 (__gcov_single_counter_op): Process single profile counter values.
4897 (fp_scale): Callback function for float-point scaling.
4898 (int_scale): Callback function for integer fraction scaling.
4899 (gcov_profile_scale): Scaling profile counters.
4900 (gcov_profile_normalize): Normalize profile counters.
4901 * libgcov.h: Add headers and functions for gcov-tool use.
4902 (gcov_get_counter): New.
4903 (gcov_get_counter_target): Ditto.
4904 (struct gcov_info): Make the functions field mutable in gcov-tool
4905 compilation.
4906
4907 2014-06-23 Kai Tietz <ktietz@redhat.com>
4908
4909 PR libgcc/61585
4910 * unwind-seh.c (_Unwind_GetGR): Check for proper
4911 index range.
4912 (_Unwind_SetGR): Likewise.
4913
4914 2014-05-22 Nick Clifton <nickc@redhat.com>
4915
4916 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4917 -mhwmult=none.
4918
4919 2014-05-22 Teresa Johnson <tejohnson@google.com>
4920
4921 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4922 include.
4923
4924 2014-05-20 John Marino <gnugcc@marino.st>
4925
4926 * config.host (*-*-dragonfly*): New target.
4927 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4928 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4929 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4930 * config/i386/dragonfly-unwind.h: New.
4931
4932 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4933
4934 PR libgcc/60166
4935 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4936 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4937
4938 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4939
4940 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4941 implementation.
4942
4943 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4944
4945 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4946
4947 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4948
4949 PR libgcc/61097
4950 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4951 if --enable-shared.
4952
4953 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4954
4955 Work around for current cygwin32 build problems.
4956 * config/i386/cygming-crtbegin.c (__register_frame_info,
4957 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4958 functions only for 64-bit systems.
4959
4960 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4961
4962 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4963 (sigill_caught, sigill_hdlr): Remove.
4964
4965 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4966
4967 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4968 check.
4969 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4970 Solaris 9 single-threaded support.
4971 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4972 Solaris 9 single-threaded support. Add call_user_handler code
4973 sequences.
4974 (sparc_is_sighandler): Likewise.
4975
4976 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4977
4978 * config.host: Append t-floattodi to tmake_file depending on
4979 host_address.
4980
4981 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4982
4983 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4984
4985 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4986
4987 PR libgcc/60472
4988 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4989 variable to avoid "array subscript is above array bounds" warnings.
4990 Use __builtin_expect when checking *jcr_list for NULL.
4991
4992 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4993
4994 PR libgcc/59339
4995 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4996 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4997 vtv_*.o to extra_parts if enable_vtable_verify.
4998
4999 2014-03-06 Nick Clifton <nickc@redhat.com>
5000
5001 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5002 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5003
5004 2014-02-28 Joey Ye <joey.ye@arm.com>
5005
5006 PR libgcc/60166
5007 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5008 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5009 Set to zero.
5010
5011 2014-02-24 Walter Lee <walt@tilera.com>
5012
5013 * config.host: Support "tilegx*" and "tilepro*" triplets.
5014 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5015 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5016
5017 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5018 Chung-Lin Tang <cltang@codesourcery.com>
5019
5020 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5021 * config/nios2/crti.S: Remove .file directive.
5022 * config/nios2/crtn.S: Likewise.
5023
5024 2014-02-18 Kai Tietz <ktietz@redhat.com>
5025 Jonathan Schleifer <js@webkeks.org>
5026
5027 PR objc/56870
5028 * unwind-seh.c (_GCC_specific_handler): Pass proper
5029 value to unwind-handler.
5030
5031 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5032
5033 * soft-fp/adddf3.c: Update from glibc.
5034 * soft-fp/addsf3.c: Likewise.
5035 * soft-fp/addtf3.c: Likewise.
5036 * soft-fp/divdf3.c: Likewise.
5037 * soft-fp/divsf3.c: Likewise.
5038 * soft-fp/divtf3.c: Likewise.
5039 * soft-fp/double.h: Likewise.
5040 * soft-fp/eqdf2.c: Likewise.
5041 * soft-fp/eqsf2.c: Likewise.
5042 * soft-fp/eqtf2.c: Likewise.
5043 * soft-fp/extenddftf2.c: Likewise.
5044 * soft-fp/extended.h: Likewise.
5045 * soft-fp/extendsfdf2.c: Likewise.
5046 * soft-fp/extendsftf2.c: Likewise.
5047 * soft-fp/extendxftf2.c: Likewise.
5048 * soft-fp/fixdfdi.c: Likewise.
5049 * soft-fp/fixdfsi.c: Likewise.
5050 * soft-fp/fixdfti.c: Likewise.
5051 * soft-fp/fixsfdi.c: Likewise.
5052 * soft-fp/fixsfsi.c: Likewise.
5053 * soft-fp/fixsfti.c: Likewise.
5054 * soft-fp/fixtfdi.c: Likewise.
5055 * soft-fp/fixtfsi.c: Likewise.
5056 * soft-fp/fixtfti.c: Likewise.
5057 * soft-fp/fixunsdfdi.c: Likewise.
5058 * soft-fp/fixunsdfsi.c: Likewise.
5059 * soft-fp/fixunsdfti.c: Likewise.
5060 * soft-fp/fixunssfdi.c: Likewise.
5061 * soft-fp/fixunssfsi.c: Likewise.
5062 * soft-fp/fixunssfti.c: Likewise.
5063 * soft-fp/fixunstfdi.c: Likewise.
5064 * soft-fp/fixunstfsi.c: Likewise.
5065 * soft-fp/fixunstfti.c: Likewise.
5066 * soft-fp/floatdidf.c: Likewise.
5067 * soft-fp/floatdisf.c: Likewise.
5068 * soft-fp/floatditf.c: Likewise.
5069 * soft-fp/floatsidf.c: Likewise.
5070 * soft-fp/floatsisf.c: Likewise.
5071 * soft-fp/floatsitf.c: Likewise.
5072 * soft-fp/floattidf.c: Likewise.
5073 * soft-fp/floattisf.c: Likewise.
5074 * soft-fp/floattitf.c: Likewise.
5075 * soft-fp/floatundidf.c: Likewise.
5076 * soft-fp/floatundisf.c: Likewise.
5077 * soft-fp/floatunditf.c: Likewise.
5078 * soft-fp/floatunsidf.c: Likewise.
5079 * soft-fp/floatunsisf.c: Likewise.
5080 * soft-fp/floatunsitf.c: Likewise.
5081 * soft-fp/floatuntidf.c: Likewise.
5082 * soft-fp/floatuntisf.c: Likewise.
5083 * soft-fp/floatuntitf.c: Likewise.
5084 * soft-fp/gedf2.c: Likewise.
5085 * soft-fp/gesf2.c: Likewise.
5086 * soft-fp/getf2.c: Likewise.
5087 * soft-fp/ledf2.c: Likewise.
5088 * soft-fp/lesf2.c: Likewise.
5089 * soft-fp/letf2.c: Likewise.
5090 * soft-fp/muldf3.c: Likewise.
5091 * soft-fp/mulsf3.c: Likewise.
5092 * soft-fp/multf3.c: Likewise.
5093 * soft-fp/negdf2.c: Likewise.
5094 * soft-fp/negsf2.c: Likewise.
5095 * soft-fp/negtf2.c: Likewise.
5096 * soft-fp/op-1.h: Likewise.
5097 * soft-fp/op-2.h: Likewise.
5098 * soft-fp/op-4.h: Likewise.
5099 * soft-fp/op-8.h: Likewise.
5100 * soft-fp/op-common.h: Likewise.
5101 * soft-fp/quad.h: Likewise.
5102 * soft-fp/single.h: Likewise.
5103 * soft-fp/soft-fp.h: Likewise.
5104 * soft-fp/subdf3.c: Likewise.
5105 * soft-fp/subsf3.c: Likewise.
5106 * soft-fp/subtf3.c: Likewise.
5107 * soft-fp/truncdfsf2.c: Likewise.
5108 * soft-fp/trunctfdf2.c: Likewise.
5109 * soft-fp/trunctfsf2.c: Likewise.
5110 * soft-fp/trunctfxf2.c: Likewise.
5111 * soft-fp/unorddf2.c: Likewise.
5112 * soft-fp/unordsf2.c: Likewise.
5113 * soft-fp/unordtf2.c: Likewise.
5114 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5115 macro.
5116 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5117 Likewise.
5118 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5119 Likewise.
5120 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5121 Likewise.
5122 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5123 Likewise.
5124 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5125 Likewise.
5126 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5127 Likewise.
5128 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5129 Likewise.
5130 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5131 Likewise.
5132 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5133 Likewise.
5134 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5135 Likewise.
5136 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5137 Likewise.
5138 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5139 Likewise.
5140 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5141 Likewise.
5142 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5143 Likewise.
5144 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5145 Likewise.
5146
5147 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5148
5149 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5150 cannot be represented.
5151 * config/s390/32/_fixsfdi.c: Likewise.
5152 * config/s390/32/_fixtfdi.c: Likewise.
5153 * config/s390/32/_fixunsdfdi.c: Likewise.
5154 * config/s390/32/_fixunssfdi.c: Likewise.
5155 * config/s390/32/_fixunstfdi.c: Likewise.
5156
5157 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5158
5159 * configure.ac (libgcc_cv_mips_hard_float): New.
5160 * configure: Regenerate.
5161 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5162 t-softfp-sfdf for hard-float targets.
5163 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5164 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5165 (softfp_truncations, softfp_exclude_libgcc2): New.
5166 * config/t-hardfp: New file.
5167 * config/t-hardfp-sfdf: Likewise.
5168 * config/hardfp.c: Likewise.
5169
5170 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5171
5172 * config.host: Include t-floattodi also for s390x.
5173 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5174 * config/s390/32/_fixsfdi.c: Likewise.
5175 * config/s390/32/_fixtfdi.c: Likewise.
5176 * config/s390/32/_fixunsdfdi.c: Likewise.
5177 * config/s390/32/_fixunssfdi.c: Likewise.
5178 * config/s390/32/_fixunstfdi.c: Likewise.
5179
5180 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5181
5182 PR target/59788
5183 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5184 (install-libgcc-unwind-map-forbuild): New target.
5185 (all): Depend on install-libgcc-unwind-map-forbuild.
5186 (install-libgcc-unwind-map): New target.
5187 (install): Depend on install-libgcc-unwind-map.
5188
5189 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5190
5191 * config/nios2/crti.S (_init): Initialize GOT pointer from
5192 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5193
5194 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5195
5196 * configure.ac: Check __mips64 when setting host_address.
5197 * configure: Regenerate.
5198 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5199 mips/t-mips64 and t-softfp.
5200 (mips*-*-linux*): Don't add mips/t-tpbit.
5201 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5202 (DPBIT, DPBIT_CFLAGS): Delete.
5203 * config/mips/sfp-machine.h: New file.
5204 * config/mips/t-mips64: Likewise.
5205 * config/mips/t-softfp-tf: Likewise.
5206 * config/mips/t-tpbit: Delete.
5207
5208 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5209
5210 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5211 as long long.
5212
5213 2014-01-25 Walter Lee <walt@tilera.com>
5214
5215 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5216 config.h or system.h.
5217 (bool) Define.
5218
5219 2014-01-25 Walter Lee <walt@tilera.com>
5220
5221 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5222 (post_atomic_barrier): Ditto.
5223 (__fetch_and_do): New macro.
5224 (__atomic_fetch_and_do): Use __fetch_and_do.
5225 (__sync_fetch_and_do): New macro.
5226 (__sync_fetch_and_add_4): New function.
5227 (__sync_fetch_and_sub_4): New function.
5228 (__sync_fetch_and_or_4): New function.
5229 (__sync_fetch_and_and_4): New function.
5230 (__sync_fetch_and_xor_4): New function.
5231 (__sync_fetch_and_nand_4): New function.
5232 (__sync_fetch_and_add_8): New function.
5233 (__sync_fetch_and_sub_8): New function.
5234 (__sync_fetch_and_or_8): New function.
5235 (__sync_fetch_and_and_8): New function.
5236 (__sync_fetch_and_xor_8): New function.
5237 (__sync_fetch_and_nand_8): New function.
5238 (__do_and_fetch): New macro.
5239 (__atomic_do_and_fetch): Use __do_and_fetch.
5240 (__sync_do_and_fetch): New macro.
5241 (__sync_add_and_fetch_4): New function.
5242 (__sync_sub_and_fetch_4): New function.
5243 (__sync_or_and_fetch_4): New function.
5244 (__sync_and_and_fetch_4): New function.
5245 (__sync_xor_and_fetch_4): New function.
5246 (__sync_nand_and_fetch_4): New function.
5247 (__sync_add_and_fetch_8): New function.
5248 (__sync_sub_and_fetch_8): New function.
5249 (__sync_or_and_fetch_8): New function.
5250 (__sync_and_and_fetch_8): New function.
5251 (__sync_xor_and_fetch_8): New function.
5252 (__sync_nand_and_fetch_8): New function.
5253 (__sync_exchange_methods): New macro.
5254 (__sync_val_compare_and_swap_4): New function.
5255 (__sync_bool_compare_and_swap_4): New function.
5256 (__sync_lock_test_and_test_4): New function.
5257 (__sync_val_compare_and_swap_8): New function.
5258 (__sync_bool_compare_and_swap_8): New function.
5259 (__sync_lock_test_and_test_8): New function.
5260 (__subword_cmpxchg_body): New macro.
5261 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5262 (__atomic_compare_exchange_2): Ditto.
5263 (__sync_subword_cmpxchg): New macro.
5264 (__sync_val_compare_and_swap_1): New function.
5265 (__sync_bool_compare_and_swap_1): New function.
5266 (__sync_val_compare_and_swap_2): New function.
5267 (__sync_bool_compare_and_swap_2): New function.
5268 (__atomic_subword): Rename to ...
5269 (__subword): ... New name.
5270 (__atomic_subword_fetch): Use __subword.
5271 (__sync_subword_fetch): New macro.
5272 (__sync_fetch_and_add_1): New function.
5273 (__sync_fetch_and_sub_1): New function.
5274 (__sync_fetch_and_or_1): New function.
5275 (__sync_fetch_and_and_1): New function.
5276 (__sync_fetch_and_xor_1): New function.
5277 (__sync_fetch_and_nand_1): New function.
5278 (__sync_fetch_and_add_2): New function.
5279 (__sync_fetch_and_sub_2): New function.
5280 (__sync_fetch_and_or_2): New function.
5281 (__sync_fetch_and_and_2): New function.
5282 (__sync_fetch_and_xor_2): New function.
5283 (__sync_fetch_and_nand_2): New function.
5284 (__sync_add_and_fetch_1): New function.
5285 (__sync_sub_and_fetch_1): New function.
5286 (__sync_or_and_fetch_1): New function.
5287 (__sync_and_and_fetch_1): New function.
5288 (__sync_xor_and_fetch_1): New function.
5289 (__sync_nand_and_fetch_1): New function.
5290 (__sync_add_and_fetch_2): New function.
5291 (__sync_sub_and_fetch_2): New function.
5292 (__sync_or_and_fetch_2): New function.
5293 (__sync_and_and_fetch_2): New function.
5294 (__sync_xor_and_fetch_2): New function.
5295 (__sync_nand_and_fetch_2): New function.
5296 (__atomic_subword_lock): Use __subword.
5297 (__sync_subword_lock): New macro.
5298 (__sync_lock_test_and_set_1): New function.
5299 (__sync_lock_test_and_set_2): New function.
5300
5301 2014-01-25 Walter Lee <walt@tilera.com>
5302
5303 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5304 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5305 (__atomic_subword): Ditto.
5306
5307 2014-01-25 Walter Lee <walt@tilera.com>
5308
5309 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5310 a prefix op argument.
5311 (__atomic_nand_fetch_4): Add prefix op.
5312 (__atomic_nand_fetch_8): Ditto.
5313
5314 2014-01-21 Baruch Siach <barch@tkos.co.il>
5315
5316 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5317
5318 2014-01-09 Rong Xu <xur@google.com>
5319
5320 * libgcov-driver.c (this_prg): make it local to save
5321 bss space.
5322 (gcov_exit_compute_summary): Ditto.
5323 (gcov_exit_merge_gcda): Ditto.
5324 (gcov_exit_merge_summary): Ditto.
5325 (gcov_exit_dump_gcov): Ditto.
5326
5327 2014-01-08 Rong Xu <xur@google.com>
5328
5329 * libgcov-driver.c: Use libgcov.h.
5330 (buffer_fn_data): Use xmalloc instead of malloc.
5331 (gcov_exit_merge_gcda): Ditto.
5332 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5333 * libgcov.h: New common header files for libgcov-*.h.
5334 * libgcov-interface.c: Use libgcov.h
5335 * libgcov-merge.c: Ditto.
5336 * libgcov-profiler.c: Ditto.
5337 * Makefile.in: Add dependence to libgcov.h
5338
5339 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5340
5341 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5342 case of small numerator and finite nonzero result.
5343
5344 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5345
5346 Update copyright years
5347
5348 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5349
5350 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5351 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5352 config/arc/dp-hack.h, config/arc/fp-hack.h,
5353 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5354 config/arc/ieee-754/arc600-dsp/divdf3.S,
5355 config/arc/ieee-754/arc600-dsp/divsf3.S,
5356 config/arc/ieee-754/arc600-dsp/muldf3.S,
5357 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5358 config/arc/ieee-754/arc600-mul64/divdf3.S,
5359 config/arc/ieee-754/arc600-mul64/divsf3.S,
5360 config/arc/ieee-754/arc600-mul64/muldf3.S,
5361 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5362 config/arc/ieee-754/arc600/divsf3.S,
5363 config/arc/ieee-754/arc600/mulsf3.S,
5364 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5365 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5366 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5367 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5368 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5369 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5370 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5371 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5372 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5373 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5374 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5375 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5376 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5377 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5378 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5379 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5380 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5381 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5382 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5383 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5384 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5385 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5386 vtv_start_preinit.c: Use the standard form for the copyright notice.
5387
5388 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5389 Chung-Lin Tang <cltang@codesourcery.com>
5390 Based on patches from Altera Corporation
5391
5392 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5393 * config/nios2/lib2-nios2.h: New file.
5394 * config/nios2/lib2-divmod-hi.c: New file.
5395 * config/nios2/linux-unwind.h: New file.
5396 * config/nios2/lib2-divmod.c: New file.
5397 * config/nios2/linux-atomic.c: New file.
5398 * config/nios2/t-nios2: New file.
5399 * config/nios2/crti.asm: New file.
5400 * config/nios2/t-linux: New file.
5401 * config/nios2/lib2-divtable.c: New file.
5402 * config/nios2/lib2-mul.c: New file.
5403 * config/nios2/tramp.c: New file.
5404 * config/nios2/crtn.asm: New file.
5405
5406 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5407
5408 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5409 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5410 from cpuid.h to check vendor signatures.
5411
5412 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5413
5414 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5415 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5416 (get_amd_cpu): Likewise.
5417
5418 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5419
5420 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5421 Haswell.
5422
5423 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5424 H.J. Lu <hongjiu.lu@intel.com>
5425
5426 PR target/59422
5427 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5428 and AMD_JAGUAR.
5429 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5430 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5431 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5432 FEATURE_XOP and FEATURE_FMA.
5433 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5434 AMDFAM15H_BDVER3.
5435 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5436 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5437 FEATURE_FMA4 and FEATURE_XOP.
5438
5439 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5440
5441 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5442 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5443 (get_intel_cpu): Updated.
5444
5445 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5446
5447 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5448
5449 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5450
5451 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5452 instructions when __SSE_MATH__ is defined.
5453
5454 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5455
5456 * config.host (microblaze-*-rtems*): New.
5457
5458 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5459
5460 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5461 architectures that do not have hardware divide instruction.
5462 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5463
5464 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5465
5466 * longlong.h: Delete (moved to include/).
5467
5468 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5469
5470 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5471 of normal number and qNaN to not raise an inexact exception.
5472
5473 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5474
5475 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5476
5477 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5478
5479 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5480 for correct opcodes on BE.
5481
5482 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5483
5484 * soft-fp/op-4.h: Update from glibc.
5485
5486 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5487
5488 * libgcc2.c (__udivmoddi4): Define new implementation when
5489 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5490 divide instructions.
5491
5492 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5493
5494 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5495
5496 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5497
5498 * config/t-softfp (soft-fp-objects-base): New variable.
5499 (soft-fp-objects): Use it.
5500
5501 2013-11-23 David Edelson <dje.gcc@gmail.com>
5502 Andrew Dixie <andrewd@gentrack.com>
5503
5504 PR target/33704
5505 * config/rs6000/aixinitfini.c: New file.
5506 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5507 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5508 symbols.
5509
5510 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5511
5512 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5513
5514 2013-11-18 Jan Hubicka <jh@suse.cz>
5515
5516 * libgcov-driver.c (run_accounted): Make global level static.
5517 (gcov_exit_merge_summary): Silence warning; do not clear
5518 run_accounted here.
5519 (gcov_exit): Clear it here.
5520
5521 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5522 run_accounted.
5523
5524 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5525 (all_prg, crc32): Remove static vars.
5526 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5527 all_prg.
5528 (gcov_exit_merge_gcda): Add crc32 parameter.
5529 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5530 do not account run if it was already accounted.
5531 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5532 (gcov_exit): Initialize all_prg; update.
5533
5534 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5535
5536 * configure: Regenerate.
5537
5538 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5539 Alan Modra <amodra@gmail.com>
5540
5541 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5542 (frob_update_context): Use it.
5543
5544 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5545 Alan Modra <amodra@gmail.com>
5546
5547 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5548 (trampoline_initial): Provide ELFv2 variant.
5549 (__trampoline_setup): Likewise.
5550
5551 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5552 check for AIX indirect function call sequence if _CALL_ELF == 2.
5553
5554 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5555 Alan Modra <amodra@gmail.com>
5556
5557 * config/rs6000/linux-unwind.h (get_regs): Do not support
5558 old kernel versions if _CALL_ELF == 2.
5559 (frob_update_context): Do not support PLT stub variants only
5560 generated by old linkers if _CALL_ELF == 2.
5561
5562 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5563 Alan Modra <amodra@gmail.com>
5564
5565 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5566 location of CR save area for 64-bit little-endian systems.
5567
5568 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5569
5570 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5571 in tmake_file.
5572 * config/arm/t-vxworks: Delete.
5573
5574 2013-11-10 Kai Tietz <ktietz@redhat.com>
5575
5576 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5577 Increment load-count on use of LIBGCC_SONAME DLL.
5578 (hmod_libgcc): New static variable to hold handle of
5579 LIBGCC_SONAME DLL.
5580 (__gcc_deregister_frame): Decrement load-count of
5581 LIBGCC_SONAME DLL.
5582
5583 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5584
5585 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5586 availability.
5587 * configure: Regenerate
5588
5589 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5590
5591 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5592 FP_EX_DENORM. Store result to volatile location after SSE division
5593 to close interrupt window. Remove unneeded fwait after x87
5594 division since interrupt window will be closed by emitted fstp.
5595 Rewrite FP_EX_INEXACT handling.
5596
5597 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5598
5599 * soft-fp/README: Update.
5600 * soft-fp/adddf3.c: Update from glibc.
5601 * soft-fp/addsf3.c: Likewise.
5602 * soft-fp/addtf3.c: Likewise.
5603 * soft-fp/divdf3.c: Likewise.
5604 * soft-fp/divsf3.c: Likewise.
5605 * soft-fp/divtf3.c: Likewise.
5606 * soft-fp/double.h: Likewise.
5607 * soft-fp/eqdf2.c: Likewise.
5608 * soft-fp/eqsf2.c: Likewise.
5609 * soft-fp/eqtf2.c: Likewise.
5610 * soft-fp/extenddftf2.c: Likewise.
5611 * soft-fp/extended.h: Likewise.
5612 * soft-fp/extendsfdf2.c: Likewise.
5613 * soft-fp/extendsftf2.c: Likewise.
5614 * soft-fp/extendxftf2.c: Likewise.
5615 * soft-fp/fixdfdi.c: Likewise.
5616 * soft-fp/fixdfsi.c: Likewise.
5617 * soft-fp/fixdfti.c: Likewise.
5618 * soft-fp/fixsfdi.c: Likewise.
5619 * soft-fp/fixsfsi.c: Likewise.
5620 * soft-fp/fixsfti.c: Likewise.
5621 * soft-fp/fixtfdi.c: Likewise.
5622 * soft-fp/fixtfsi.c: Likewise.
5623 * soft-fp/fixtfti.c: Likewise.
5624 * soft-fp/fixunsdfdi.c: Likewise.
5625 * soft-fp/fixunsdfsi.c: Likewise.
5626 * soft-fp/fixunsdfti.c: Likewise.
5627 * soft-fp/fixunssfdi.c: Likewise.
5628 * soft-fp/fixunssfsi.c: Likewise.
5629 * soft-fp/fixunssfti.c: Likewise.
5630 * soft-fp/fixunstfdi.c: Likewise.
5631 * soft-fp/fixunstfsi.c: Likewise.
5632 * soft-fp/fixunstfti.c: Likewise.
5633 * soft-fp/floatdidf.c: Likewise.
5634 * soft-fp/floatdisf.c: Likewise.
5635 * soft-fp/floatditf.c: Likewise.
5636 * soft-fp/floatsidf.c: Likewise.
5637 * soft-fp/floatsisf.c: Likewise.
5638 * soft-fp/floatsitf.c: Likewise.
5639 * soft-fp/floattidf.c: Likewise.
5640 * soft-fp/floattisf.c: Likewise.
5641 * soft-fp/floattitf.c: Likewise.
5642 * soft-fp/floatundidf.c: Likewise.
5643 * soft-fp/floatundisf.c: Likewise.
5644 * soft-fp/floatunditf.c: Likewise.
5645 * soft-fp/floatunsidf.c: Likewise.
5646 * soft-fp/floatunsisf.c: Likewise.
5647 * soft-fp/floatunsitf.c: Likewise.
5648 * soft-fp/floatuntidf.c: Likewise.
5649 * soft-fp/floatuntisf.c: Likewise.
5650 * soft-fp/floatuntitf.c: Likewise.
5651 * soft-fp/gedf2.c: Likewise.
5652 * soft-fp/gesf2.c: Likewise.
5653 * soft-fp/getf2.c: Likewise.
5654 * soft-fp/ledf2.c: Likewise.
5655 * soft-fp/lesf2.c: Likewise.
5656 * soft-fp/letf2.c: Likewise.
5657 * soft-fp/muldf3.c: Likewise.
5658 * soft-fp/mulsf3.c: Likewise.
5659 * soft-fp/multf3.c: Likewise.
5660 * soft-fp/negdf2.c: Likewise.
5661 * soft-fp/negsf2.c: Likewise.
5662 * soft-fp/negtf2.c: Likewise.
5663 * soft-fp/op-1.h: Likewise.
5664 * soft-fp/op-2.h: Likewise.
5665 * soft-fp/op-4.h: Likewise.
5666 * soft-fp/op-8.h: Likewise.
5667 * soft-fp/op-common.h: Likewise.
5668 * soft-fp/quad.h: Likewise.
5669 * soft-fp/single.h: Likewise.
5670 * soft-fp/soft-fp.h: Likewise.
5671 * soft-fp/subdf3.c: Likewise.
5672 * soft-fp/subsf3.c: Likewise.
5673 * soft-fp/subtf3.c: Likewise.
5674 * soft-fp/truncdfsf2.c: Likewise.
5675 * soft-fp/trunctfdf2.c: Likewise.
5676 * soft-fp/trunctfsf2.c: Likewise.
5677 * soft-fp/trunctfxf2.c: Likewise.
5678 * soft-fp/unorddf2.c: Likewise.
5679 * soft-fp/unordsf2.c: Likewise.
5680 * soft-fp/unordtf2.c: Likewise.
5681
5682 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5683
5684 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5685 (_FP_MUL_MEAT_D): Ditto.
5686 (_FP_DIV_MEAT_S): Ditto.
5687 (_FP_DIV_MEAT_D): Ditto.
5688 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5689 t-softfp-sfdf and t-softfp to tmake_file.
5690
5691 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5692
5693 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5694 * config/i386/crtprec.c: Ditto.
5695
5696 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5697 Shiva Chen <shiva0217@gmail.com>
5698
5699 * config.host (nds32*-elf*): Add nds32 target.
5700 * config/nds32 : New directory and files.
5701
5702 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5703
5704 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5705 * config.host (cpu_type) <Setting default>: Add entry for
5706 crisv32-*-*.
5707 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5708 <crisv32-*-linux*>: Adjust.
5709 * longlong.h: Wrap the whole CRIS section in a single
5710 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5711 and sub_ddmmss.
5712 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5713 defined.
5714 [__CRIS__] (__umulsidi3): Define.
5715 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5716 * config/cris/sfp-machine.h: New file.
5717 * config/cris/umulsidi3.S: New file.
5718 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5719 * config/cris/arit.c (SIGNMULT): New macro.
5720 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5721 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5722 saving 3 out of originally 33 cycles from the fastest
5723 path, 3 out of 54 from the medium path and one from the longest
5724 path. Improve comments.
5725
5726 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5727
5728 * sync.c: Remove static aliases and define each function directly
5729 under its real name.
5730
5731 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5732
5733 * config.host (hppa*64*-*-linux*): Define extra_parts.
5734 (hppa*-*-linux*): Likewise.
5735
5736 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5737
5738 * config/arc/crtgend.S: Add 2013 to Copyright years.
5739 * config/arc/gmon/atomic.h: Likewise.
5740 * config/arc/gmon/auxreg.h: Likewise.
5741 * config/arc/gmon/sys/gmon_out.h: Likewise.
5742 * config/arc/gmon/sys/gmon.h: Likewise.
5743 * config/arc/gmon/prof-freq.c: Likewise.
5744 * config/arc/gmon/mcount.c: Likewise.
5745 * config/arc/gmon/prof-freq-stub.S: Likewise.
5746 * config/arc/gmon/gmon.c: Likewise.
5747 * config/arc/gmon/machine-gmon.h: Likewise.
5748 * config/arc/gmon/profil.S: Likewise.
5749 * config/arc/gmon/dcache_linesz.S: Likewise.
5750 * config/arc/crtg.S: Likewise.
5751 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5752 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5753 * config/arc/ieee-754/adddf3.S: Likewise.
5754 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5755 * config/arc/ieee-754/fixsfsi.S: Likewise.
5756 * config/arc/ieee-754/gtsf2.S: Likewise.
5757 * config/arc/ieee-754/floatsisf.S: Likewise.
5758 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5759 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5760 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5761 * config/arc/ieee-754/fixdfsi.S: Likewise.
5762 * config/arc/ieee-754/addsf3.S: Likewise.
5763 * config/arc/ieee-754/gesf2.S: Likewise.
5764 * config/arc/ieee-754/floatsidf.S: Likewise.
5765 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5766 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5767 * config/arc/ieee-754/gtdf2.S: Likewise.
5768 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5769 * config/arc/ieee-754/uneqdf2.S: Likewise.
5770 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5771 * config/arc/ieee-754/uneqsf2.S: Likewise.
5772 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5773 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5774 * config/arc/ieee-754/eqdf2.S: Likewise.
5775 * config/arc/ieee-754/ordsf2.S: Likewise.
5776 * config/arc/ieee-754/divsf3.S: Likewise.
5777 * config/arc/ieee-754/divdf3.S: Likewise.
5778 * config/arc/ieee-754/floatunsidf.S: Likewise.
5779 * config/arc/ieee-754/orddf2.S: Likewise.
5780 * config/arc/ieee-754/eqsf2.S: Likewise.
5781 * config/arc/ieee-754/gedf2.S: Likewise.
5782 * config/arc/crtn.S: Likewise.
5783 * config/arc/crti.S: Likewise.
5784 * config/arc/t-arc700-uClibc: Likewise.
5785 * config/arc/asm.h: Likewise.
5786 * config/arc/libgcc-excl.ver: Likewise.
5787 * config/arc/t-arc-newlib: Likewise.
5788 * config/arc/divtab-arc700.c: Likewise.
5789 * config/arc/initfini.c: Likewise.
5790 * config/arc/fp-hack.h: Likewise.
5791
5792 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5793 Diego Novillo <dnovillo@google.com>
5794
5795 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5796 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5797 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5798 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5799
5800 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5801 Brendan Kehoe <brendan@zen.org>
5802 Simon Cook <simon.cook@embecosm.com>
5803
5804 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5805 * config/arc: New directory.
5806 * longlong.h [__arc__] (umul_ppmm): Remove.
5807 [__arc__] (__umulsidi3): Define.
5808 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5809 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5810
5811 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5812
5813 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5814 CreateSemaphoreA.
5815 * config/i386/gthr-win32.h: Likewise.
5816
5817 2013-09-16 DJ Delorie <dj@redhat.com>
5818
5819 * config/rl78/vregs.h: Add G10 register definitions.
5820 * config/rl78/lib2mul.c: Enable for RL78/G10.
5821 * config/rl78/lib2div.c: Likewise.
5822 * config/rl78/lshrsi3.S: Use vregs.h.
5823 * config/rl78/cmpsi2.S: Likewise.
5824 * config/rl78/trampoline.S: Likewise.
5825 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5826
5827 2013-09-14 DJ Delorie <dj@redhat.com>
5828 Nick Clifton <nickc@redhat.com>
5829
5830 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5831 * config/rl78/vregs.h: New.
5832 * config/rl78/signbit.S: New file. Implements signbit function.
5833 * config/rl78/divmodsi.S: New.
5834 * config/rl78/divmodhi.S: New.
5835 * config/rl78/divmodqi.S: New.
5836 * config/rl78/t-rl78: Build them here...
5837 * config/rl78/lib2div.c: ...but not here.
5838
5839 2013-09-12 DJ Delorie <dj@redhat.com>
5840
5841 * config.host (msp*-*-elf): New.
5842 * config/msp430/: New port.
5843
5844 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5845
5846 PR gcov-profile/58127
5847 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5848 __thread var for emulated TLS.
5849 (__gcov_indirect_call_counters): Likewise.
5850
5851 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5852 Catherine Moore <clm@codesourcery.com>
5853 Richard Sandiford <rdsandiford@googlemail.com>
5854
5855 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5856 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5857 (CALL_STUB_NO_RET): Likewise.
5858 (CALL_STUB_RET): Likewise.
5859 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5860 __mips16_ret call/return stub symbols.
5861 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5862 to tmake_file.
5863
5864 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5865
5866 * config.host <mips*-*-linux*>: Remove a stray comment.
5867
5868 2013-08-10 Jan Hubicka <jh@suse.cz>
5869
5870 Work around binutils PR14342
5871 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5872 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5873 (L_gcov_indirect_call_profiler_v2): New.
5874
5875 2013-08-06 Jan Hubicka <jh@suse.cz>
5876
5877 * libgcov.c (__gcov_indirect_call_callee,
5878 __gcov_indirect_call_counters): New global vars.
5879 (__gcov_indirect_call_profiler): replace by ...
5880 (__gcov_indirect_call_profiler_v2) ... this one.
5881
5882 2013-08-06 Caroline Tice <cmtice@google.com>
5883
5884 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5885 vtv_start_preinit.o and vtv_end_preinit.o.
5886 * configure.ac: Add code to check/set enable_vtable_verify.
5887 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5888 true.
5889 * vtv_start_preinit.c: New file.
5890 * vtv_end_preinit.c: New file.
5891 * vtv_start.c: New file.
5892 * vtv_end.c: New file.
5893 * configure: Regenerated.
5894
5895 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5896
5897 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5898 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5899 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5900 GPL-3.0-with-GCC-exception.
5901
5902 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5903
5904 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5905 ISA and up.
5906
5907 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5908
5909 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5910 mapping for FPRs when creating the fallback framestate.
5911
5912 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5913
5914 PR target/57516
5915 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5916 (__round_s2_const, __round_u2_const)
5917 (__round_s4_const, __round_u4_const, __round_x8):
5918 Saturate result if addition result cannot be represented.
5919
5920 2013-07-15 Matthias Klose <doko@ubuntu.com>
5921
5922 * libgcc2.c: Don't include <limits.h>.
5923
5924 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5925
5926 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5927
5928 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5929
5930 PR target/29776
5931 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5932
5933 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5934
5935 PR middle-end/36041
5936 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5937 Define.
5938 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5939 instead of table lookups.
5940 (__popcountDI2): Likewise.
5941
5942 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5943
5944 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5945 correctly.
5946
5947 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5948
5949 PR other/53317
5950 * soft-fp/adddf3.c: Update from glibc.
5951 * soft-fp/addsf3.c: Likewise.
5952 * soft-fp/addtf3.c: Likewise.
5953 * soft-fp/divdf3.c: Likewise.
5954 * soft-fp/divsf3.c: Likewise.
5955 * soft-fp/divtf3.c: Likewise.
5956 * soft-fp/double.h: Likewise.
5957 * soft-fp/eqdf2.c: Likewise.
5958 * soft-fp/eqsf2.c: Likewise.
5959 * soft-fp/eqtf2.c: Likewise.
5960 * soft-fp/extenddftf2.c: Likewise.
5961 * soft-fp/extended.h: Likewise.
5962 * soft-fp/extendsfdf2.c: Likewise.
5963 * soft-fp/extendsftf2.c: Likewise.
5964 * soft-fp/fixdfdi.c: Likewise.
5965 * soft-fp/fixdfsi.c: Likewise.
5966 * soft-fp/fixsfdi.c: Likewise.
5967 * soft-fp/fixsfsi.c: Likewise.
5968 * soft-fp/fixtfdi.c: Likewise.
5969 * soft-fp/fixtfsi.c: Likewise.
5970 * soft-fp/fixunsdfdi.c: Likewise.
5971 * soft-fp/fixunsdfsi.c: Likewise.
5972 * soft-fp/fixunssfdi.c: Likewise.
5973 * soft-fp/fixunssfsi.c: Likewise.
5974 * soft-fp/fixunstfdi.c: Likewise.
5975 * soft-fp/fixunstfsi.c: Likewise.
5976 * soft-fp/floatdidf.c: Likewise.
5977 * soft-fp/floatdisf.c: Likewise.
5978 * soft-fp/floatditf.c: Likewise.
5979 * soft-fp/floatsidf.c: Likewise.
5980 * soft-fp/floatsisf.c: Likewise.
5981 * soft-fp/floatsitf.c: Likewise.
5982 * soft-fp/floatundidf.c: Likewise.
5983 * soft-fp/floatundisf.c: Likewise.
5984 * soft-fp/floatunditf.c: Likewise.
5985 * soft-fp/floatunsidf.c: Likewise.
5986 * soft-fp/floatunsisf.c: Likewise.
5987 * soft-fp/floatunsitf.c: Likewise.
5988 * soft-fp/gedf2.c: Likewise.
5989 * soft-fp/gesf2.c: Likewise.
5990 * soft-fp/getf2.c: Likewise.
5991 * soft-fp/ledf2.c: Likewise.
5992 * soft-fp/lesf2.c: Likewise.
5993 * soft-fp/letf2.c: Likewise.
5994 * soft-fp/muldf3.c: Likewise.
5995 * soft-fp/mulsf3.c: Likewise.
5996 * soft-fp/multf3.c: Likewise.
5997 * soft-fp/negdf2.c: Likewise.
5998 * soft-fp/negsf2.c: Likewise.
5999 * soft-fp/negtf2.c: Likewise.
6000 * soft-fp/op-1.h: Likewise.
6001 * soft-fp/op-2.h: Likewise.
6002 * soft-fp/op-4.h: Likewise.
6003 * soft-fp/op-8.h: Likewise.
6004 * soft-fp/op-common.h: Likewise.
6005 * soft-fp/quad.h: Likewise.
6006 * soft-fp/single.h: Likewise.
6007 * soft-fp/soft-fp.h: Likewise.
6008 * soft-fp/subdf3.c: Likewise.
6009 * soft-fp/subsf3.c: Likewise.
6010 * soft-fp/subtf3.c: Likewise.
6011 * soft-fp/truncdfsf2.c: Likewise.
6012 * soft-fp/trunctfdf2.c: Likewise.
6013 * soft-fp/trunctfsf2.c: Likewise.
6014 * soft-fp/unorddf2.c: Likewise.
6015 * soft-fp/unordsf2.c: Likewise.
6016 * soft-fp/unordtf2.c: Likewise.
6017 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6018 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6019 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6020 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6021 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6022 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6023 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6024 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6025 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6026 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6027 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6028 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6029
6030 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6031
6032 * config/mips/lib2funcs.c: New file.
6033 * config/mips/t-mips (LIB2ADD_ST): Add it.
6034
6035 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6036
6037 PR target/6526
6038 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6039 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6040
6041 2013-06-08 Walter Lee <walt@tilera.com>
6042
6043 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6044 Replace int64_t with long long. Add __extension__ where
6045 appropriate.
6046 * config/tilepro/atomic.c: Include config.h.
6047
6048 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6049
6050 * config.host (arm-wrs-vxworks): Configure with other soft float.
6051
6052 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6053
6054 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6055 (mips64r5900el-*-elf*): New configurations.
6056
6057 2013-06-04 Alan Modra <amodra@gmail.com>
6058
6059 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6060
6061 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6062
6063 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6064
6065 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6066
6067 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6068 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6069 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6070
6071 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6072
6073 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6074 (powerpc-wrs-vxworks): Likewise.
6075
6076 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6077
6078 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6079 signal frames as well.
6080 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6081 STACK_BIAS to the CFA offset.
6082
6083 2013-05-17 Richard Henderson <rth@redhat.com>
6084
6085 PR target/49146
6086 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6087 (execute_cfa_program): Use it when storing to fs->regs.
6088
6089 2013-05-08 Kai Tietz <ktietz@redhat.com>
6090
6091 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6092 (__deregister_frame_info): Likewise.
6093
6094 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6095
6096 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6097 NaN's payload.
6098
6099 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6100
6101 2013-04-25 Alan Modra <amodra@gmail.com>
6102
6103 * config.host: Match little-endian powerpc-linux.
6104
6105 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6106
6107 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6108 as 'unsigned long long' instead of 'unsigned long'.
6109 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6110 'signed long'.
6111
6112 2013-04-10 Julian Brown <julian@codesourcery.com>
6113
6114 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6115 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6116 unsigned char/unsigned short.
6117 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6118
6119 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6120
6121 PR other/55274
6122 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6123
6124 2013-04-04 Meador Inge <meadori@codesourcery.com>
6125
6126 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6127 computing the location of the link register.
6128 (aeabi_uldivmod): Ditto.
6129
6130 2013-03-27 Kai Tietz <ktietz@redhat.com>
6131
6132 * config.host: Add support for cygwin x64 target.
6133 * configure: Regenerated.
6134
6135 2013-03-26 Walter Lee <walt@tilera.com>
6136
6137 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6138 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6139
6140 2013-03-25 Kai Tietz <ktietz@redhat.com>
6141
6142 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6143
6144 2013-03-20 Robert Mason <rbmj@verizon.net>
6145
6146 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6147 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6148 (__gthread_leave_tsd_dtor_context): Add prototypes.
6149 (tls_delete_hook): Update.
6150
6151 2013-03-20 Catherine Moore <clm@codesourcery.com>
6152 Joseph Myers <joseph@codesourcery.com>
6153 Chao-ying Fu <fu@mips.com>
6154
6155 * config/mips/mips16.S: Don't build for microMIPS.
6156 * config/mips/linux-unwind.h: Handle microMIPS frame.
6157 * config/mips/crtn.S (fini, init): New labels.
6158
6159 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6160
6161 PR tree-optimization/53265
6162 * unwind-dw2.c (execute_cfa_program): Avoid
6163 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6164 on targets with DWARF_FRAME_REGISTERS < 32.
6165
6166 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6167
6168 PR target/49880
6169 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6170 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6171
6172 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6173
6174 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6175 sandybridge processors.
6176
6177 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6178
6179 PR target/56529
6180 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6181 inclusion list.
6182
6183 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6184
6185 * config/microblaze/crti.S: Setup stack protection at entry
6186
6187 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6188
6189 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6190 (__rotldi3): Shift bytewise if applicable.
6191
6192 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6193
6194 * config/aarch64/sync-cache.c
6195 (__aarch64_sync_cache_range): Silence warnings.
6196
6197 2013-02-25 Catherine Moore <clm@codesourcery.com>
6198
6199 Revert:
6200 2013-02-24 Catherine Moore <clm@codesourcery.com>
6201 Joseph Myers <joseph@codesourcery.com>
6202 Chao-ying Fu <fu@mips.com>
6203
6204 * config/mips/mips16.S: Don't build for microMIPS.
6205 * config/mips/linux-unwind.h: Handle microMIPS frame.
6206 * config/mips/crtn.S (fini, init): New labels.
6207
6208 2013-02-24 Catherine Moore <clm@codesourcery.com>
6209 Joseph Myers <joseph@codesourcery.com>
6210 Chao-ying Fu <fu@mips.com>
6211
6212 * config/mips/mips16.S: Don't build for microMIPS.
6213 * config/mips/linux-unwind.h: Handle microMIPS frame.
6214 * config/mips/crtn.S (fini, init): New labels.
6215
6216 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6217 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6218 as dividend.
6219
6220 2013-02-16 Alan Modra <amodra@gmail.com>
6221
6222 PR target/55431
6223 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6224 (ppc_fallback_frame_state): Always set up save locations for fp
6225 and altivec. Don't bother with non-callee-saved regs, r0-r13
6226 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6227
6228 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6229
6230 PR target/54222
6231 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6232 _ssmulHA, _ssmulSA.
6233 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6234 _ssmulha3, _usmulusa3, _ssmulsa3.
6235 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6236 (__muldi3): XCALL __muldi3_6 instead of rcall.
6237 (__umulsidi3, __mulsidi3): New functions.
6238 (do_prologue_saves, do_epilogue_restores): New .macros.
6239 (__divdi3_moddi3): Use them.
6240 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6241 (__usmulusa3, __ssmulsa3): New functions.
6242
6243 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6244 Jack Howarth <howarth@bromo.med.uc.edu>
6245 Patrick Marlier <patrick.marlier@gmail.com>
6246
6247 PR libitm/55693
6248 * config/darwin-crt-tm.c: Remove dummy functions hack.
6249
6250 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6251
6252 PR target/54222
6253 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6254 * config/avr/lib2-object.mk: New iterator to build objects from it.
6255 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6256 lib2funcs.c.
6257 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6258 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6259 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6260 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6261 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6262 * config/avr/lib1funcs-fixed.S: Implement them.
6263
6264 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6265
6266 Update copyright years.
6267
6268 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6269
6270 PR target/54601
6271 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6272 Add crtcxa to extra_parts.
6273 * config/rs6000/exit.h: New file.
6274 * config/rs6000/cxa_atexit.c: New file.
6275 * config/rs6000/cxa_finalize.c: New file.
6276 * config/rs6000/crtcxa.c: New file.
6277 * config/rs6000/t-aix-cxa: New file.
6278 * config/rs6000/libgcc-aix-cxa.ver: New file.
6279
6280 2013-01-31 Nick Clifton <nickc@redhat.com>
6281
6282 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6283 variant.
6284
6285 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6286
6287 PR target/54222
6288 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6289 _mulQQ, _mulHQ, _mulHA, _mulSA,
6290 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6291 _divQQ, _divHQ, _divHA, _divSA,
6292 _divUQQ, _divUHQ, _divUHA, _divUSA.
6293
6294 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6295
6296 * config.host(microblaze*-linux*): tmake_file: Remove
6297 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6298 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6299 to exclude functions from being built with libgcc.c and use
6300 the microblaze assembly.
6301
6302 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6303
6304 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6305 extra_parts.
6306
6307 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6308
6309 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6310 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6311 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6312 alignment operation.
6313
6314 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6315
6316 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6317 loop start address for cache clearing.
6318
6319 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6320
6321 * config/avr/lib1funcs.S: Remove trailing blanks.
6322 * config/avr/lib1funcs-fixed.S: Ditto.
6323
6324 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6325
6326 * config/avr/avr-lib.h: Add GPL copyright notice.
6327
6328 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6329
6330 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6331 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6332 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6333 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6334
6335 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6336
6337 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6338 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6339
6340 2013-01-04 Nick Clifton <nickc@redhat.com>
6341
6342 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6343 the CALLT instruction is supported.
6344
6345 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6346
6347 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6348 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6349
6350 2012-12-13 John Tytgat <John@bass-software.com>
6351
6352 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6353 is 25.
6354
6355 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6356
6357 PR libgcc/55451
6358 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6359 undefined signed overflows.
6360
6361 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6362
6363 PR target/55344
6364 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6365
6366 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6367
6368 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6369 (FP_TRAPPING_EXCEPTIONS): Define.
6370 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6371 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6372
6373 2012-12-04 Richard Henderson <rth@redhat.com>
6374
6375 PR bootstrap/55571
6376 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6377
6378 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6379
6380 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6381 (FP_EX_SHIFT): Define.
6382 (FP_TRAPPING_EXCEPTIONS): Define.
6383
6384 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6385
6386 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6387 (FP_ROUNDMODE): Use FP_RND_MASK.
6388 * config/aarch64/sfp-exceptions.c: New.
6389 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6390 Use __sfp_handle_exceptions.
6391
6392 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6393
6394 * config.host: (arm*-*-freebsd*): Remove.
6395 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6396 (arm*-*-elf*): Remove.
6397 (arm*-*-wince-pe*): Remove.
6398 * arm/unwind-arm.c (struct fpa_reg): Delete.
6399 (struct fpa_regs): Delete.
6400 (phase1_vrs): Remove fpa element.
6401 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6402 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6403 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6404 * ieee754-sf.S (floatundisf): Remove FPA support.
6405 (floatdisf): Likewise.
6406 * ieee75f-df.S (floatundidf): Likewise.
6407 (floatdidf): Likewise.
6408
6409 2012-11-29 Kai Tietz <ktietz@redhat.com>
6410
6411 PR target/55445
6412 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6413 * unwind-generic.h: Likewise.
6414 * unwind-seh.c: Likewise.
6415
6416 2012-11-28 Richard Henderson <rth@redhat.com>
6417
6418 PR libgcc/48076
6419 * emutls.c (__emutls_get_address): Avoid race condition between
6420 obj->loc.offset read and emutls_key initialization.
6421
6422 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6423
6424 Adjust decimal point of signed accum mode to GCC default.
6425
6426 PR target/54222
6427 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6428 _divqq_helper.
6429 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6430 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6431 (__mulha3, __mulsa3)
6432 (__divqq3, __divha3, __divsa3): Adjust to new position of
6433 decimal point of signed accum types.
6434
6435 (__mulusa3_round): New function.
6436 (__mulusa3): Use it.
6437 (__divqq_helper): New function.
6438 (__udivuqq3): Use it.
6439
6440 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6441
6442 PR bootstrap/55370
6443 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6444
6445 2012-11-18 Teresa Johnson <tejohnson@google.com>
6446
6447 PR bootstrap/55051
6448 * libgcov.c (gcov_exit): Remove merged program summary
6449 comparison unless !GCOV_LOCKED.
6450
6451 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6452
6453 * soft-fp: Updated from glibc upstream.
6454
6455 2012-11-06 Ian Lance Taylor <iant@google.com>
6456
6457 * generic-morestack.c (__generic_morestack): Align the returned
6458 stack pointer to a 32 byte boundary.
6459 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6460 increment the return address until we have decided that we don't
6461 have a varargs function.
6462 (__morestack) [32-bit]: Align stack correctly when calling C
6463 functions.
6464 (__morestack) [64-bit]: Likewise.
6465
6466 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6467
6468 * configure: Regenerate.
6469
6470 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6471
6472 PR target/55175
6473 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6474 * config/i386/sfp-machine.h: Guard exception handling
6475 code with _SOFT_FLOAT.
6476 * config/i386/32/sfp-machine.h: Guard rounding handling
6477 code with _SOFT_FLOAT.
6478 * config/i386/64/sfp-machine.h: Ditto.
6479
6480 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6481
6482 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6483 as extra_parts.
6484
6485 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6486
6487 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6488 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6489 when appropriate. Correct structure element types.
6490 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6491 -minline-all-stringops from compile flags.
6492
6493 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6494
6495 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6496
6497 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6498
6499 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6500
6501 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6502
6503 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6504 tmake_file.
6505
6506 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6507 Jim MacArthur <jim.macarthur@arm.com>
6508 Marcus Shawcroft <marcus.shawcroft@arm.com>
6509 Nigel Stephens <nigel.stephens@arm.com>
6510 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6511 Richard Earnshaw <rearnsha@arm.com>
6512 Sofiane Naci <sofiane.naci@arm.com>
6513 Stephen Thomas <stephen.thomas@arm.com>
6514 Tejas Belagod <tejas.belagod@arm.com>
6515 Yufeng Zhang <yufeng.zhang@arm.com>
6516
6517 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6518 * config/aarch64/crti.S: New file.
6519 * config/aarch64/crtn.S: New file.
6520 * config/aarch64/linux-unwind.h: New file.
6521 * config/aarch64/sfp-machine.h: New file.
6522 * config/aarch64/sync-cache.c: New file.
6523 * config/aarch64/t-aarch64: New file.
6524 * config/aarch64/t-softfp: New file.
6525
6526 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6527
6528 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6529 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6530 no-longer-needed LDBU insns.
6531
6532 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6533
6534 * config.host
6535 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6536 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6537
6538 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6539
6540 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6541
6542 2012-10-15 Matthias Klose <doko@ubuntu.com>
6543
6544 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6545
6546 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6547
6548 * configure: Regenerate.
6549 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6550
6551 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6552
6553 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6554 instructions for 64bit targets only.
6555
6556 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6557
6558 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6559 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6560 * config/i386/32/sfp-machine.h: ... here.
6561 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6562 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6563 New defines.
6564
6565 2012-10-07 Matthias Klose <doko@ubuntu.com>
6566
6567 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6568 as unused.
6569 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6570
6571 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6572
6573 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6574 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6575 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6576 (ElfW): Likewise.
6577
6578 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6579
6580 PR other/53889
6581 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6582 Fix parameter names.
6583
6584 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6585
6586 PR target/33135
6587 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6588 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6589 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6590
6591 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6592
6593 PR target/50457
6594 * config/sh/linux-atomic.S: Delete.
6595 * config/sh/linux-atomic.c: New.
6596 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6597 linux-atomic.c. Add cflags to disable warnings.
6598
6599 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6600
6601 PR other/53889
6602 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6603 function.
6604 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6605 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6606 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6607 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6608 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6609 Likewise.
6610 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6611 Likewise.
6612 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6613 Likewise.
6614 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6615 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6616
6617 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6618
6619 * config.host (hppa-*-openbsd*): New target.
6620 * config/pa/t-openbsd: New file.
6621
6622 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6623
6624 PR target/54222
6625 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6626 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6627 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6628 (__divsa3): Use __negsi2 to negate r_quoL.
6629 * config/avr/lib1funcs.S (FALIAS): New macro.
6630 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6631 (__negsi2): ...this new function.
6632 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6633 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6634 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6635 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6636 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6637 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6638
6639 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6640
6641 PR target/54089
6642 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6643 (lshrsi3): Reimplement as lshrsi3_r0.
6644
6645 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6646
6647 PR target/46191
6648 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6649 of libgcc.a.
6650
6651 2012-09-07 Teresa Johnson <tejohnson@google.com>
6652
6653 PR gcov-profile/54487
6654 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6655 differences.
6656
6657 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6658
6659 PR target/54461
6660 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6661 not configured --with-avrlibc=no.
6662 * config/avr/t-avrlibc: New file.
6663 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6664 (DPBIT_FUNCS): Ditto.
6665 (TPBIT_FUNCS): Ditto.
6666
6667 2012-09-04 Teresa Johnson <tejohnson@google.com>
6668
6669 * libgcov.c (struct gcov_summary_buffer): New structure.
6670 (gcov_histogram_insert): New function.
6671 (gcov_compute_histogram): Ditto.
6672 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6673 histograms during summary merging.
6674
6675 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6676
6677 * config.host (x86_64-*-openbsd*): New target.
6678
6679 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6680
6681 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6682 attribute.
6683
6684 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6685
6686 PR target/54222
6687 * config/avr/t-avr (conv_X): Rename to func_X.
6688
6689 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6690
6691 PR target/54222
6692 * config/avr/lib1funcs-fixed.S: New file.
6693 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6694 after they are used.
6695 (neg2, neg4): New macros.
6696 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6697 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6698 (__umulhisi3): Speed up MUL variant if there is enough flash.
6699 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6700 avr-modes.def.
6701 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6702 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6703 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6704 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6705 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6706 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6707 (LIB2FUNCS_EXCLUDE): Add supported functions.
6708
6709 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6710
6711 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6712 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6713 libgcc-s-objects.
6714 * fixed-obj.mk: Only expand dependency if $o is not in
6715 LIB2FUNCS_EXCLUDE.
6716
6717 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6718
6719 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6720
6721 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6722
6723 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6724 depend on --enable-shared.
6725 ($(lib1asmfuncs-o)): Use %.vis files independent of
6726 --enable-shared.
6727 * static-object.mk ($(base)$(objext), $(base).vis)
6728 ($(base)_s$(objext)): Use same rules for visibility handling as in
6729 shared-object.mk.
6730
6731 2012-08-21 Ian Lance Taylor <iant@google.com>
6732
6733 * config/i386/morestack.S (__morestack_non_split): Increase amount
6734 of space allocated for non-split code stack.
6735
6736 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6737
6738 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6739 even if inhibit_libc.
6740
6741 2012-08-17 Julian Brown <julian@codesourcery.com>
6742
6743 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6744 -fexceptions -fnon-call-exceptions if not defined.
6745 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6746 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6747
6748 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6749
6750 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6751 type.
6752
6753 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6754
6755 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6756 rs6000/t-slibgcc-aix.
6757
6758 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6759
6760 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6761
6762 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6763
6764 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6765
6766 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6767
6768 PR driver/54171
6769 * Makefile.in (version): Replace top_srcdir with srcdir.
6770
6771 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6772
6773 * Makefile.in (version): set to BASE-VER file from gcc directory.
6774
6775 2012-08-01 Nick Clifton <nickc@redhat.com>
6776
6777 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6778 Implements __clrsb for an HImode argument.
6779
6780 2012-07-31 Nick Clifton <nickc@redhat.com>
6781
6782 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6783 Implements __clrsb for an HImode argument.
6784 * config/stormy16/clrsbhi2.c: New file:
6785 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6786
6787 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6788
6789 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6790
6791 2012-07-19 Tristan Gingold <gingold@adacore.com>
6792 Richard Henderson <rth@redhat.com>
6793
6794 * unwind-seh.c: New file.
6795 * unwind-generic.h: Include windows.h for SEH.
6796 (_Unwind_Exception): Use 6 private fields for SEH.
6797 (_GCC_specific_handler): Declare.
6798 * unwind-c.c (__gcc_personality_seh0): New function.
6799 Adjust for SEH.
6800 * config/i386/libgcc-cygming.ver: New file.
6801 * config/i386/t-seh-eh: New file.
6802 * config.host (x86_64-*-mingw*): Default to seh.
6803
6804 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6805
6806 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6807
6808 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6809
6810 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6811 __builtin_expect when checking for exceptions.
6812 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6813
6814 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6815
6816 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6817 function declaration.
6818 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6819 (FP_RND_MASK): New.
6820 * config/ia64/sfp-exceptions.c: New.
6821 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6822
6823 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6824
6825 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6826 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6827 * config/i386/64/sfp-machine: ... (delete here) ...
6828 * config/i386/sfp-machine.h: ... to here.
6829 (FP_EX_MASK): Remove.
6830 (FP_RND_MASK): New.
6831 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6832
6833 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6834
6835 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6836 * config/i386/libgcc-sol2.ver: Ditto.
6837 * config/i386/libgcc-glibc.ver: Ditto.
6838
6839 2012-06-11 Roland McGrath <mcgrathr@google.com>
6840
6841 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6842 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6843 pthread_cancel.
6844
6845 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6846
6847 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6848 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6849 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6850 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6851 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6852 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6853 * config/i386/64/sfp-machine: ... (delete here) ...
6854 * config/i386/sfp-machine.h: ... to here.
6855 (FP_EX_MASK): New.
6856 (__sfp_handle_exceptions): New function declaration.
6857 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6858 * config/i386/sfp-exceptions.c: New.
6859 * config/i386/t-softfp: New.
6860 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6861 i386/t-softfp to tmake_file.
6862
6863 2012-06-03 David S. Miller <davem@davemloft.net>
6864
6865 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6866 change.
6867
6868 2012-05-31 David S. Miller <davem@davemloft.net>
6869
6870 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6871 multiply and divide instructions on 32-bit when V9.
6872 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6873
6874 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6875
6876 * config/arm/ieee754-df.S: Fix typos.
6877 * config/arm/ieee754-sf.S: Fix typos.
6878 * config/c6x/libunwind.S: Fix typos.
6879 * config/epiphany/udivsi3-float.c: Fix typos.
6880 * config/microblaze/muldi3_hard.S: Fix typos.
6881 * config/picochip/adddi3.S: Fix typos.
6882 * config/picochip/ashlsi3.S: Fix typos.
6883 * config/picochip/ashrsi3.S: Fix typos.
6884 * config/picochip/clzsi2.S: Fix typos.
6885 * config/picochip/cmpsi2.S: Fix typos.
6886 * config/picochip/divmod15.S: Fix typos.
6887 * config/picochip/divmodhi4.S: Fix typos.
6888 * config/picochip/divmodsi4.S: Fix typos.
6889 * config/picochip/longjmp.S: Fix typos.
6890 * config/picochip/lshrsi3.S: Fix typos.
6891 * config/picochip/parityhi2.S: Fix typos.
6892 * config/picochip/popcounthi2.S: Fix typos.
6893 * config/picochip/setjmp.S: Fix typos.
6894 * config/picochip/subdi3.S: Fix typos.
6895 * config/picochip/ucmpsi2.S: Fix typos.
6896 * config/picochip/udivmodhi4.S: Fix typos.
6897 * config/picochip/udivmodsi4.S: Fix typos.
6898 * config/spu/divv2df3.c: Fix typos.
6899 * config/spu/mfc_multi_tag_release.c: Fix typos.
6900 * config/spu/mfc_tag_release.c: Fix typos.
6901 * configure.ac: Fix typos.
6902 * configure: Regenerate.
6903
6904 2012-05-25 Ian Lance Taylor <iant@google.com>
6905
6906 * config/i386/morestack.S (__morestack_non_split): Check whether
6907 caller is varargs and needs %bp to hold the stack frame on return.
6908
6909 2012-05-25 Olivier Hainque <hainque@adacore.com>
6910
6911 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6912 sequence in the non pic case on VxWorks.
6913
6914 2012-05-24 Olivier Hainque <hainque@adacore.com>
6915
6916 * Makefile.in: Move dependency on install-unwind_h from
6917 "install-leaf" to "install".
6918
6919 2012-05-24 Olivier Hainque <hainque@adacore.com>
6920
6921 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6922 Use a separate command for stamp removals.
6923
6924 2012-05-21 Andrew Pinski <apinski@cavium.com>
6925
6926 PR bootstrap/53183
6927 * configure.ac: Define the default includes to being none.
6928 * configure: Regenerate.
6929
6930 2012-05-16 Olivier Hainque <hainque@adacore.com>
6931
6932 * Makefile.in (install-unwind_h): Rename into ...
6933 (install-unwind_h-forbuild): New target.
6934 (all): Use it instead of the former install-unwind_h.
6935 (install-unwind_h): Reinstate, copy to user install destination
6936 for include files, not to the internal gcc object directory one.
6937 (install-leaf): Depend on it.
6938
6939 2012-05-15 Olivier Hainque <hainque@adacore.com>
6940
6941 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6942 register numbers. LR_REGNO replaces R_LR.
6943 (ucontext_for): New, helper for ...
6944 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6945 and 5.3 of ...
6946 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6947
6948 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6949
6950 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6951 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6952 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6953 i386/t-cpuinfo ...
6954 (i[34567]86-*-*, x86_64-*-*): ... here.
6955
6956 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6957 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6958
6959 * config/i386/i386-cpuinfo.c: Rename to ...
6960 * config/i386/cpuinfo.c: ... this.
6961 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6962
6963 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6964 (libgcc_cv_init_priority): New test.
6965 * configure: Regenerate.
6966 * config.in: New file.
6967 * Makefile.in (clean): Rename config.h to auto-target.h.
6968 (config.h): Likewise.
6969 (stamp-h): Likewise.
6970
6971 * config/i386/cpuinfo.c (auto-target.h): Include.
6972 (CONSTRUCTOR_PRIORITY): Define.
6973 (__cpu_indicator_init): Use it.
6974
6975 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6976
6977 * longlong.h: Use a URL instead of an FSF postal address.
6978 Replace spaces with tab.
6979
6980 2012-05-08 Teresa Johnson <tejohnson@google.com>
6981
6982 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6983 (__gcov_dump): Ditto.
6984 (gcov_dump_complete): New global variable.
6985 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6986 (__gcov_flush): Outline functionality now in gcov_clear.
6987 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6988
6989 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6990
6991 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6992 (mips*-*-linux*): Include mips/t-tpbit when long double is
6993 16 bytes long.
6994
6995 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6996
6997 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6998 (get_available_features): New argument. Check for AVX2.
6999 (__cpu_indicator_init): Modify call to get_available_features.
7000
7001 2012-04-25 Alan Modra <amodra@gmail.com>
7002
7003 * config/rs6000/crtsavevr.S: New file.
7004 * config/rs6000/crtrestvr.S: New file.
7005 * config/rs6000/t-savresfgpr: Build the above.
7006 * config/rs6000/t-netbsd: Likewise.
7007
7008 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7009
7010 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7011
7012 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7013
7014 * libgcc/config/i386/i386-cpuinfo.c: New file.
7015 * libgcc/config/i386/t-cpuinfo: New file.
7016 * libgcc/config.host: Include t-cpuinfo.
7017 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7018
7019 2012-04-24 Chao-ying Fu <fu@mips.com>
7020
7021 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7022
7023 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7024
7025 struct siginfo vs. siginfo_t
7026
7027 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7028 siginfo_t instead of struct siginfo.
7029 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7030 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7031 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7032 (ia64_handle_unwabi): Likewise.
7033 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7034 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7035 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7036 (sh_fallback_frame_state): Likewise.
7037 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7038 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7039
7040 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7041
7042 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7043 system call number.
7044
7045 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7046
7047 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7048 if it hasn't been previously saved.
7049
7050 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7051
7052 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7053 only for glibc.
7054
7055 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7056
7057 PR target/52737
7058 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7059 instead of __AVR_HAVE_8BIT_SP__.
7060
7061 2012-03-26 Tristan Gingold <gingold@adacore.com>
7062
7063 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7064 (unw_table_entry): Use unw_word instead of unsigned long.
7065 (_Unwind_FindTableEntry): Likewise.
7066 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7067 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7068 (_Unwind_FindTableEntry): Likewise.
7069 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7070 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7071 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7072 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7073 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7074 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7075 (uw_init_context_1, uw_install_context): Likewise.
7076 (unw_word): Move to unwind-ia64.h
7077
7078 2012-03-26 Tristan Gingold <gingold@adacore.com>
7079
7080 * config/vms/vms-ucrt0.c: Update copyright years.
7081 Add a sanity check.
7082 (___gcc_main_flags): Declare.
7083 (__main): Check flags to remap argv and exit code.
7084 * config.host (*-*-*vms*): Adjust extra_parts.
7085 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7086 (crt0.o): Add.
7087
7088 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7089
7090 * arm/lib1funcs.asm (ctzsi2): New function.
7091 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7092 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7093 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7094 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7095 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7096 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7097
7098 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7099
7100 * config.host: Add bits to support powerpc64-*-freebsd*.
7101 * config/rs6000/freebsd-unwind.h: New file.
7102 * config/rs6000/t-freebsd64: New file.
7103
7104 2012-03-20 Richard Guenther <rguenther@suse.de>
7105
7106 PR gcov-profile/52627
7107 * libgcov.c (init_mx): Fix mutex name.
7108
7109 2012-03-16 Tristan Gingold <gingold@adacore.com>
7110
7111 * config/ia64/vms-unwind.h: Remove ulong (and replace
7112 it by unw_reg where used). Define unw_reg with __int64.
7113
7114 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7115
7116 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7117 Solaris 8 handling.
7118 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7119 Solaris 8 handling.
7120 (sparc_is_sighandler): Likewise.
7121
7122 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7123
7124 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7125 <= saved reg size.
7126
7127 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7128
7129 * config/arm/crtn.S: Fix typo.
7130
7131 2012-03-13 Richard Guenther <rguenther@suse.de>
7132
7133 * libgcov.c: Remove stdio.h include and NULL un-define.
7134
7135 2012-03-13 Richard Guenther <rguenther@suse.de>
7136
7137 PR target/52569
7138 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7139
7140 2012-03-13 Richard Guenther <rguenther@suse.de>
7141
7142 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7143
7144 2012-03-13 Richard Guenther <rguenther@suse.de>
7145
7146 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7147 and __gthread_mutex_init_function definitions.
7148
7149 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7150
7151 * config.host (mips*-*-openbsd*): Remove.
7152
7153 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7154
7155 * config.host: Remove alpha*-dec-osf5.1* handling.
7156 * config/alpha/gthr-posix.c: Remove.
7157 * config/alpha/libgcc-osf5.ver: Remove.
7158 * config/alpha/osf5-unwind.h: Remove.
7159 * config/alpha/t-osf-pthread: Remove.
7160 * config/alpha/t-slibgcc-osf: Remove.
7161 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7162 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7163 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7164 * mkmap-flat.awk: Remove osf_export handling.
7165
7166 2012-03-12 Richard Guenther <rguenther@suse.de>
7167
7168 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7169 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7170 (__gthread_mutex_init_function): New function.
7171 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7172
7173 PR gcov/49484
7174 * libgcov.c: Include gthr.h.
7175 (__gcov_flush_mx): New global variable.
7176 (init_mx, init_mx_once): New functions.
7177 (__gcov_flush): Protect self with a mutex.
7178 (__gcov_fork): Re-initialize mutex after forking.
7179 * unwind-dw2-fde.c: Change condition under which to use
7180 __GTHREAD_MUTEX_INIT_FUNCTION.
7181
7182 2012-03-12 Tristan Gingold <gingold@adacore.com>
7183
7184 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7185 * config/ia64/t-vms: Likewise.
7186
7187 2012-03-11 Michael Hope <michael.hope@linaro.org>
7188
7189 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7190 for Thumb-2.
7191
7192 2012-03-07 Walter Lee <walt@tilera.com>
7193
7194 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7195 "arch_atomic_".
7196 (atomic_xor): Rename and move definition to
7197 config/tilepro/atomic.h.
7198 (atomic_nand): Ditto.
7199 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7200 "arch_atomic_".
7201 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7202 (arch_atomic_nand): Ditto.
7203
7204 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7205
7206 PR target/52507
7207 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7208
7209 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7210
7211 PR target/52505
7212 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7213 from RAM.
7214
7215 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7216
7217 PR target/52461
7218 PR target/52508
7219 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7220 if RAMPZ affects reading from RAM.
7221 (__tablejump_elpm__): Ditto.
7222 (.xload): Ditto.
7223 (__movmemx_hi): Ditto.
7224 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7225 (__do_global_dtors): Ditto.
7226 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7227 (__movmemx_hi): Ditto.
7228
7229 2012-03-05 Richard Henderson <rth@redhat.com>
7230
7231 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7232 [ARM] (count_trailing_zeros): Use the builtin.
7233
7234 2012-03-01 Kai Tietz <ktietz@redhat.com>
7235
7236 * soft-fp: Imported from glibc upstream.
7237
7238 2012-02-28 Kai Tietz <ktietz@redhat.com>
7239
7240 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7241 for mingw-targets as attribute gcc_struct.
7242
7243 2012-02-28 Ian Lance Taylor <iant@google.com>
7244
7245 * generic-morestack.c (__splitstack_releasecontext): Correct call
7246 to __morestack_release_segments.
7247
7248 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7249
7250 PR target/52390
7251 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7252 for __linux__ when removing signals from __morestack_fullmask.
7253
7254 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7255
7256 PR target/52261
7257 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7258
7259 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7260
7261 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7262 instead of HAVE_INITFINI_ARRAY.
7263 * config/ia64/crtend.S: Likewise.
7264
7265 2012-02-20 Kai Tietz <ktietz@redhat.com>
7266
7267 PR libstdc++/52300
7268 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7269
7270 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7271 to w32-unwind.h header.
7272
7273 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7274
7275 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7276 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7277 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7278 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7279
7280 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7281
7282 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7283
7284 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7285
7286 PR libitm/52220
7287 * config/darwin-crt-tm.c: Correct typo.
7288
7289 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7290 Patrick Marlier <patrick.marlier@gmail.com>
7291
7292 PR libitm/52220
7293 * config/darwin-crt-tm.c: Generate dummy functions.
7294
7295 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7296 Patrick Marlier <patrick.marlier@gmail.com>
7297
7298 PR libitm/52042
7299 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7300 (__doTMRegistrations): Call it.
7301 (__doTMdeRegistrations): Likewise.
7302
7303 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7304 Anatoly Sokolov <aesok@post.ru>
7305 Eric Weddington <eric.weddington@atmel.com>
7306
7307 PR target/52261
7308 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7309 (__epilogue_restores__): Ditto.
7310
7311 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7312
7313 PR target/51921
7314 PR target/52205
7315 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7316 Solaris 11 and slightly reformat.
7317 (sparc_is_sighandler): Likewise.
7318
7319 2012-02-14 Walter Lee <walt@tilera.com>
7320
7321 * config.host: Handle tilegx and tilepro.
7322 * config/tilegx/sfp-machine.h: New file.
7323 * config/tilegx/sfp-machine32.h: New file.
7324 * config/tilegx/sfp-machine64.h: New file.
7325 * config/tilegx/t-crtstuff: New file.
7326 * config/tilegx/t-softfp: New file.
7327 * config/tilegx/t-tilegx: New file.
7328 * config/tilepro/atomic.c: New file.
7329 * config/tilepro/atomic.h: New file.
7330 * config/tilepro/linux-unwind.h: New file.
7331 * config/tilepro/sfp-machine.h: New file.
7332 * config/tilepro/softdivide.c: New file.
7333 * config/tilepro/softmpy.S: New file.
7334 * config/tilepro/t-crtstuff: New file.
7335 * config/tilepro/t-tilepro: New file.
7336
7337 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7338
7339 PR libstdc++/51296
7340 PR libstdc++/51906
7341 * gthr-posix.h: Allow static initializer macros to be disabled.
7342 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7343
7344 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7345
7346 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7347 Add t-slibgcc-libgcc to tmake_file.
7348 * config/mips/libgcc-mips16.ver: Revert previous patch.
7349 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7350
7351 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7352 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7353
7354 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7355 * config/cr16/crti.S: New file.
7356 * config/cr16/crtlibid.S: New file.
7357 * config/cr16/crtn.S: New file.
7358 * config/cr16/lib1funcs.S: New file.
7359 * config/cr16/t-cr16: New file.
7360 * config/cr16/t-crtlibid: New file.
7361 * config/cr16/unwind-dw2.h: New file.
7362 * config/cr16/unwind-cr16.c: New file.
7363 * config/cr16/divmodhi3.c: New file.
7364
7365 2012-01-25 Alan Modra <amodra@gmail.com>
7366
7367 * config/rs6000/t-linux64: Delete. Move..
7368 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7369 * config/rs6000/t-linux: ..and libgcc flags to here.
7370
7371 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7372
7373 * config.host (i[34567]86-*-interix3*):
7374 Change triplet to i[34567]86-*-interix[3-9]*.
7375 * configure: Regenerate.
7376
7377 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7378 Richard Sandiford <rdsandiford@googlemail.com>
7379
7380 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7381 * config/mips/mips16.S (__mips16_rdhwr): New function.
7382 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7383
7384 2012-01-11 Nathan Sidwell <nathan@acm.org>
7385
7386 * libgcov.c (__gcov_init): Ignore objects with no functions.
7387
7388 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7389
7390 PR target/49868
7391 Extend __pgmx semantics to linearize memory.
7392 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7393 * config/avr/lib1funcs.S (__xload_1): New function.
7394 (__movmemx_qi, __movmemx_hi): New functions.
7395 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7396 semantics.
7397
7398 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7399
7400 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7401 purported sigacthandler address isn't null before dereferencing it.
7402 (sparc_is_sighandler): Likewise.
7403
7404 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7405
7406 PR ada/41929
7407 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7408 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7409 (sparc_is_sighandler): Likewise.
7410 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7411
7412 2012-01-06 Tristan Gingold <gingold@adacore.com>
7413
7414 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7415 compatibility thunks...
7416 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7417 (crtbeginS.o, crtendS.o): ... and these to ...
7418 * config/ia64/t-ia64-elf: ... this new file.
7419 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7420 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7421
7422 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7423
7424 * configure: Regenerate.
7425 * config/s390/t-crtstuff: Remove -fPIC.
7426
7427 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7428
7429 PR bootstrap/51006
7430 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7431 for NetBSD.
7432
7433 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7434
7435 PR target/51345
7436 * config/avr/lib1funcs.S: Remove FIXME comments.
7437 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7438
7439 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7440
7441 Implement light-weight DImode support.
7442 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7443 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7444 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7445 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7446
7447 2011-12-30 Nathan Sidwell <nathan@acm.org>
7448
7449 * libgcov.c (gcov_crc32): Remove global var.
7450 (free_fn_data): New function.
7451 (buffer_fn_data): Pass in filename, more robust error recovery.
7452 (crc32_unsigned): New function.
7453 (gcov_exit): More robust detection of new program. More robust
7454 error recovery.
7455 (__gcov_init): Do not update program's crc here.
7456
7457 2011-12-21 Tristan Gingold <gingold@adacore.com>
7458
7459 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7460
7461 2011-12-21 Ian Lance Taylor <iant@google.com>
7462
7463 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7464
7465 2011-12-20 Ian Lance Taylor <iant@google.com>
7466
7467 * config/i386/morestack.S (__morestack_non_split): If there is
7468 enough stack space already, don't split. Ask for more stack space
7469 than we required.
7470
7471 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7472
7473 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7474 `sys/sdt.h'.
7475 (_Unwind_DebugHook): New function.
7476 (uw_restore_core_regs): New define.
7477 (unwind_phase2): Use uw_restore_core_regs instead of
7478 restore_core_regs.
7479 (unwind_phase2_forced): Likewise.
7480 (__gnu_Unwind_Resume): Likewise.
7481
7482 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7483
7484 * config/alpha/linux-unwind.h: Update copyright years.
7485 (MD_FROB_UPDATE_CONTEXT): New define.
7486 (alpha_frob_update_context): New function.
7487
7488 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7489
7490 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7491 tmake_file rather replacing it.
7492
7493 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7494
7495 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7496 function is not used for PPC64.
7497 (save_world): Amend comments. Update the VRsave mask to reflect the
7498 saved regs.
7499 (rest_world): Update comments, do not clobber r10, do not use r8.
7500 (eh_rest_world_r10): Amend comments, do not use r8.
7501 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7502 no longer used, move restore of CR and target address to the end of
7503 the routine.
7504
7505 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7506
7507 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7508 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7509
7510 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7511
7512 PR target/49313
7513 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7514 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7515
7516 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7517
7518 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7519
7520 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7521
7522 PR target/49313
7523 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7524 * config/avr/lib1funcs.S (__muldi3): New function.
7525
7526 2011-12-06 Andrew Pinski <apinski@cavium.com>
7527
7528 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7529 size of func_ptr.
7530 (__frame_dummy_init_array_entry): Likewise.
7531
7532 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7533
7534 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7535
7536 PR target/51345
7537 PR target/51002
7538 * config/avr/lib1funcs.S (__prologue_saves__,
7539 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7540 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7541
7542 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7543
7544 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7545
7546 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7547
7548 PR other/51272
7549 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7550 (_ITM_deregisterTMCloneTable): Likewise.
7551 (__register_frame_info): Fix unused warning.
7552 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7553 pthread_default_stacksize_np): Likewise.
7554 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7555
7556 2011-11-29 DJ Delorie <dj@redhat.com>
7557
7558 * config.host (rl78-*-elf): New case.
7559 * config/rl78: New directory for the Renesas RL78.
7560
7561 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7562
7563 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7564 formatting.
7565
7566 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7567
7568 PR other/51022
7569 * config/rs6000/t-savresfgpr: New file.
7570 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7571 $(srcdir)/config/rs6000/eabi.S.
7572 * config/rs6000/t-ppccomm-ldbl: Remove.
7573 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7574 tmake_file.
7575 (powerpc-*-eabispe*): Likewise.
7576 (powerpc-*-eabi*): Likewise.
7577 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7578 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7579 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7580 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7581 tmake_file.
7582 (powerpc-*-eabisim*): Likewise.
7583 (powerpc-*-elf*): Likewise.
7584 (powerpc-*-eabialtivec*): Likewise.
7585 (powerpc-xilinx-eabi*): Likewise.
7586 (powerpc-*-rtems*): Likewise.
7587 (powerpcle-*-elf*): Likewise.
7588 (powerpcle-*-eabisim*): Likewise.
7589 (powerpcle-*-eabi*): Likewise.
7590
7591 2011-11-27 Ian Lance Taylor <iant@google.com>
7592
7593 * generic-morestack.c (__splitstack_find): Check for NULL old
7594 stack value.
7595 (__splitstack_resetcontext): New function.
7596 (__splitstack_releasecontext): New function.
7597 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7598
7599 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7600
7601 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7602
7603 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7604
7605 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7606
7607 2011-11-26 Richard Henderson <rth@redhat.com>
7608
7609 * config/m68k/linux-atomic.c: New file.
7610 * config/m68k/t-linux: New file.
7611 * config.host (m68k-uclinux, m68k-linux): Use it.
7612
7613 2011-11-26 Richard Henderson <rth@redhat.com>
7614
7615 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7616 (__TMC_END__): Only declare if hidden is available; in the definition,
7617 if hidden is unavailable add a null record.
7618 (deregister_tm_clones, register_tm_clones): New.
7619 (__do_global_dtors_aux, frame_dummy): Use them.
7620 (__do_global_dtors, __do_global_ctors_1): Likewise.
7621
7622 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7623
7624 * config/darwin-crt-tm.c: New file.
7625 * config.host (darwin): Build crttms.o crttme.o to provide
7626 startup and shutdown for tm clones.
7627 * config/t-darwin (crttms.o): New build rule.
7628 (crttme.o): Likewise.
7629
7630 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7631
7632 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7633 et al.
7634
7635 2011-11-21 Richard Henderson <rth@redhat.com>
7636
7637 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7638 (__TMC_LIST__, __TMC_END__): New.
7639 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7640 (__do_global_dtors): Likewise.
7641 (frame_dummy): Call _ITM_registerTMCloneTable.
7642 (__do_global_ctors_1): Likewise.
7643
7644 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7645
7646 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7647 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7648 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7649 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7650 * config/i386/t-darwin64: Remove.
7651 * config/sh/t-netbsd (LIB2ADD): Remove.
7652
7653 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7654
7655 PR target/49313
7656 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7657 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7658 * config/avr/lib1funcs.S (wmov): New assembler macro.
7659 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7660 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7661 (__udivmod64): New function.
7662 (__negdi2): New function.
7663
7664 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7665
7666 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7667 *-*-freebsd*aout*): Remove.
7668
7669 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7670
7671 * static-object.mk (c_flags-$o): Save c_flags.
7672 ($(base)$(objext)): Use it.
7673
7674 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7675
7676 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7677
7678 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7679
7680 PR target/49868
7681 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7682 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7683 New functions.
7684
7685 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7686
7687 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7688 functions.
7689 (aeabi_uidivmod): Likewise.
7690 (umodsi3): Likewise.
7691 (divsi3): Likewise.
7692 (aeabi_idivmod): Likewise.
7693 (modsi3): Likewise.
7694
7695 2011-11-16 Tristan Gingold <gingold@adacore.com>
7696
7697 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7698
7699 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7700
7701 PR target/49868
7702 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7703 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7704
7705 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7706
7707 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7708 tmake_file list.
7709 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7710 * config/pa/t-stublib64: Delete.
7711
7712 2011-11-12 Richard Henderson <rth@redhat.com>
7713
7714 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7715 cast the pointer argument to _Unwind_SetGRPtr.
7716
7717 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7718
7719 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7720
7721 2011-11-09 Ian Lance Taylor <iant@google.com>
7722
7723 * generic-morestack.c: Include <string.h>.
7724 (uintptr_type): Define.
7725 (struct initial_sp): Add dont_block_signals field. Reduce size of
7726 extra array by 1.
7727 (allocate_segment): Set prev field to NULL. Don't set
7728 __morestack_current_segment or __morestack_segments.
7729 (__generic_morestack): Update current->prev and *pp after calling
7730 allocate_segment.
7731 (__morestack_block_signals): Don't do anything if
7732 dont_block_signals is set.
7733 (__morestack_unblock_signals): Likewise.
7734 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7735 uintptr_type.
7736 (__splitstack_block_signals): New function.
7737 (enum __splitstack_content_offsets): Define.
7738 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7739 (__splitstack_makecontext): New function.
7740 (__splitstack_block_signals_context): New function.
7741 (__splitstack_find_context): New function.
7742 * config/i386/morestack.S (__morestack_get_guard): New function.
7743 (__morestack_set_guard, __morestack_make_guard): New functions.
7744 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7745
7746 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7747
7748 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7749 (i[34567]86-*-mingw*): ... here.
7750 (x86_64-*-mingw*): ... here.
7751
7752 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7753
7754 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7755
7756 2011-11-07 Nathan Sidwell <nathan@acm.org>
7757
7758 * libgcov.c (struct gcov_fn_buffer): New struct.
7759 (buffer_fn_data): New helper.
7760 (gcov_exit): Rework for new gcov data structures.
7761
7762 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7763
7764 PR target/49313
7765 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7766
7767 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7768
7769 * config.host (tmake_file): Correct comment.
7770 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7771 t-libgcc-pic.
7772 (bfin*-uclinux*): Likewise.
7773 (bfin*-linux-uclibc*): Likewise.
7774 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7775
7776 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7777 assigning.
7778 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7779 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7780 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7781 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7782 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7783 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7784 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7785 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7786 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7787 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7788 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7789 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7790 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7791
7792 * config/bfin/t-elf: Remove.
7793 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7794
7795 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7796
7797 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7798 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7799 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7800 (lm32-*-elf*): ... this.
7801 (lm32-*-rtems*): ... and this.
7802 Add to tmake_file.
7803 (m32r-*-rtems*): Add to tmake_file.
7804 (moxie-*-rtems*): Likewise.
7805 (sparc-*-rtems*): Likewise.
7806 Remove t-rtems from tmake_file.
7807 (sparc64-*-rtems*): Likewise.
7808 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7809 instead.
7810
7811 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7812
7813 PR bootstrap/50982
7814 * config/gthr-posix.h: Move ...
7815 * gthr-posix.h: ... here.
7816 * config/gthr-lynx.h: Reflect this.
7817 * config/gthr-vxworks.h: Likewise.
7818 * config/rs6000/gthr-aix.h: Likewise.
7819 * configure.ac (target_thread_file): Likewise.
7820 * configure: Regenerate.
7821
7822 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7823
7824 * config.host (arm*-*-rtemseabi*): New target.
7825
7826 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7827
7828 PR other/50991
7829 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7830 extra-parts.
7831
7832 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7833
7834 * config.host (epiphany-*-elf*): New configuration.
7835 * config/epiphany: New Directory.
7836
7837 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7838
7839 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7840 * config/avr/t-rtems: New.
7841 Filter out _exit from LIB1ASMFUNCS.
7842
7843 2011-11-04 David S. Miller <davem@davemloft.net>
7844
7845 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7846 * configure: Rebuild.
7847
7848 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7849
7850 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7851 variable.
7852
7853 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7854
7855 PR target/50931
7856 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7857 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7858
7859 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7860
7861 PR target/50989
7862 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7863
7864 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7865
7866 * config/c6x/t-elf (LIB2ADDEH): Set.
7867 * config/c6x/t-c6x-elf: Remove.
7868
7869 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7870
7871 * config/i386/sol2-ci.S: Rename to ...
7872 * config/i386/crti.S: ... this.
7873 * config/i386/sol2-cn.S: Rename to ...
7874 * config/i386/crtn.S: ... this.
7875 * config/sparc/sol2-ci.S: Rename to ...
7876 * config/sparc/crti.S: ... this.
7877 * config/sparc/sol2-cn.S: Rename to ...
7878 * config/sparc/crtn.S: ... this.
7879 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7880 (crti.o, crtn.o): Remove.
7881
7882 2011-11-04 Tristan Gingold <gingold@adacore.com>
7883
7884 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7885
7886 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7887
7888 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7889
7890 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7891
7892 * config.host (crisv32-*-none, cris-*-none): Remove.
7893 (crisv32-*-elf): Append to tmake_file, don't just set it.
7894 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7895
7896 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7897
7898 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7899 (ecrtn$(objext)): Likewise.
7900 (ncrti$(objext)): Likewise.
7901 (ncrtn$(objext)): Likewise.
7902
7903 2011-11-03 Andreas Schwab <schwab@redhat.com>
7904
7905 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7906
7907 2011-11-02 David S. Miller <davem@davemloft.net>
7908
7909 * configure.ac: Set host_address on sparc too.
7910 * configure: Regenerate.
7911 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7912 based upon host_address.
7913 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7914
7915 2011-11-02 Jason Merrill <jason@redhat.com>
7916
7917 * config/rs6000/t-ppccomm: Add missing \.
7918
7919 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7920
7921 * gthr-single.h, gthr.h: New files.
7922 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7923 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7924 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7925 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7926 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7927 * configure.ac (thread_header): New variable.
7928 Set it depending on target_thread_file.
7929 (gthr-default.h): Link from $thread_header.
7930 * configure: Regenerate.
7931 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7932
7933 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7934
7935 * configure.ac (tm_file_): New variable.
7936 Determine from tm_file.
7937 (tm_file, tm_defines): Substitute.
7938 * configure: Regenerate.
7939 * mkheader.sh: New file.
7940 * Makefile.in (clean): Remove libgcc_tm.h.
7941 ($(objects)): Depend on libgcc_tm.h.
7942 (libgcc_tm_defines, libgcc_tm_file): New variables.
7943 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7944 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7945 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7946 ($(extra-parts)): Depend on libgcc_tm.h.
7947 * config.host (tm_defines, tm_file): New variable.
7948 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7949 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7950 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7951 (avr-*-rtems*): Likewise.
7952 (avr-*-*): Likewise.
7953 (frv-*-elf): Likewise.
7954 (frv-*-*linux*): Likewise.
7955 (h8300-*-rtems*): Likewise.
7956 (h8300-*-elf*): Likewise.
7957 (i[34567]86-*-darwin*): Likewise.
7958 (x86_64-*-darwin*): Likewise.
7959 (rx-*-elf): Likewise.
7960 (tic6x-*-uclinux): Likewise.
7961 (tic6x-*-elf): Likewise.
7962 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7963 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7964 * config/i386/cygming-crtbegin.c: Likewise.
7965 * config/i386/cygming-crtend.c: Likewise.
7966 * config/ia64/fde-vms.c: Likewise.
7967 * config/ia64/unwind-ia64.c: Likewise.
7968 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7969 * config/rs6000/darwin-fallback.c: Likewise.
7970 * config/stormy16/lib2funcs.c: Likewise.
7971 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7972 * crtstuff.c: Likewise.
7973 * dfp-bit.h: Likewise.
7974 * emutls.c: Likewise.
7975 * fixed-bit.c: Likewise.
7976 * fp-bit.c: Likewise.
7977 * generic-morestack-thread.c: Likewise.
7978 * generic-morestack.c: Likewise.
7979 * libgcc2.c: Likewise.
7980 * libgcov.c: Likewise.
7981 * unwind-dw2-fde-dip.c: Likewise.
7982 * unwind-dw2-fde.c: Likewise.
7983 * unwind-dw2.c: Likewise.
7984 * unwind-sjlj.c: Likewise.
7985
7986 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7987
7988 * configure.ac: Include ../config/picflag.m4.
7989 (GCC_PICFLAG): Call it.
7990 Substitute.
7991 * configure: Regenerate.
7992 * Makefile.in (gcc_srcdir): Remove.
7993 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7994 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7995 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7996 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7997 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7998 Use $<.
7999 Remove comment.
8000 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8001 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8002 to refer to libgcc2.c.
8003 Use $<.
8004 * config/darwin-64.c: New file.
8005 * config/darwin-crt3.c: Remove comment.
8006 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8007 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8008 config/udivmodsi4.c: New files.
8009 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8010 config/memset.c: New files.
8011 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8012 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8013 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8014 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8015 * config/t-openbsd-thread: New file.
8016 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8017 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8018 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8019 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8020 qrnnd.S.
8021 Adapt filename.
8022 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8023 to refer to gthr-posix.c.
8024 * config/alpha/t-vms (LIB2ADD): Set.
8025 * config/alpha/vms-gcc_shell_handler.c: New file.
8026 * config/arm/bpabi.c, config/arm/fp16.c,
8027 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8028 config/arm/unaligned-funcs.c: New files.
8029 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8030 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8031 * config/arm/t-linux: Likewise.
8032 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8033 * config/arm/t-netbsd: New file.
8034 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8035 * config/arm/t-symbian (LIB2ADD_ST): Set.
8036 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8037 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8038 * config/bfin/t-elf: New file.
8039 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8040 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8041 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8042 config/c6x/ltf.c: New files.
8043 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8044 (HOST_LIBGCC2_CFLAGS): Set.
8045 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8046 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8047 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8048 New files.
8049 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8050 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8051 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8052 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8053 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8054 files.
8055 * config/frv/t-frv (LIB2ADD): Set.
8056 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8057 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8058 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8059 config/h8300/popcounthi2.c: New files.
8060 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8061 * config/i386/gthr-win32.c: New file.
8062 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8063 * config/i386/t-cygwin: Likewise.
8064 * config/i386/t-darwin, config/i386/t-darwin64,
8065 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8066 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8067 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8068 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8069 * config/ia64/quadlib.c: New file.
8070 * config/ia64/t-hpux (LIB2ADD): Set.
8071 * config/ia64/t-ia64: Add comment.
8072 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8073 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8074 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8075 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8076 * config/m32c/t-m32c (LIB2ADD): Set.
8077 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8078 * config/m32r/t-m32r: Likewise.
8079 * config/m68k/fpgnulib.c: New file.
8080 * config/m68k/t-floatlib (LIB2ADD): Set.
8081 (xfgnulib.c): New target.
8082 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8083 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8084 * config/mep/t-mep (LIB2ADD): Set.
8085 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8086 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8087 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8088 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8089 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8090 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8091 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8092 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8093 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8094 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8095 New files.
8096 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8097 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8098 * config/pa/fptr.c, config/pa/lib2funcs.S,
8099 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8100 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8101 (LIB2ADD, LIB2ADD_ST): Set.
8102 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8103 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8104 Set.
8105 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8106 * config/pdp11/t-pdp11: New file.
8107 * config/picochip/libgccExtras/adddi3.S,
8108 config/picochip/libgccExtras/ashlsi3.S,
8109 config/picochip/libgccExtras/ashrsi3.S,
8110 config/picochip/libgccExtras/clzsi2.S,
8111 config/picochip/libgccExtras/cmpsi2.S,
8112 config/picochip/libgccExtras/divmod15.S,
8113 config/picochip/libgccExtras/divmodhi4.S,
8114 config/picochip/libgccExtras/divmodsi4.S,
8115 config/picochip/libgccExtras/lshrsi3.S,
8116 config/picochip/libgccExtras/parityhi2.S,
8117 config/picochip/libgccExtras/popcounthi2.S,
8118 config/picochip/libgccExtras/subdi3.S,
8119 config/picochip/libgccExtras/ucmpsi2.S,
8120 config/picochip/libgccExtras/udivmodhi4.S,
8121 config/picochip/libgccExtras/udivmodsi4.S: New files.
8122 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8123 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8124 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8125 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8126 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8127 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8128 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8129 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8130 files.
8131 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8132 (HOST_LIBGCC2_CFLAGS): Set.
8133 * config/rs6000/t-darwin64: New file.
8134 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8135 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8136 * config/rs6000/t-ppccomm (LIB2ADD): Add
8137 $(srcdir)/config/rs6000/tramp.S.
8138 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8139 Add $(srcdir)/config/rs6000/eabi.S.
8140 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8141 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8142 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8143 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8144 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8145 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8146 * config/rs6000/tramp.S: New file.
8147 * config/s390/t-tpf: Remove.
8148 * config/sh/linux-atomic.S: New file.
8149 * config/sh/t-linux (LIB2ADD): Set.
8150 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8151 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8152 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8153 to unwind-dw2.c.
8154 (HOST_LIBGCC2_CFLAGS): Set.
8155 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8156 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8157 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8158 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8159 config/spu/mfc_multi_tag_release.c,
8160 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8161 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8162 config/spu/multi3.c: New files.
8163 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8164 (HOST_LIBGCC2_CFLAGS): Set.
8165 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8166 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8167 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8168 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8169 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8170 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8171 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8172 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8173 config/stormy16/umodsi3.c: New files.
8174 * config/xtensa/lib2funcs.S: New file.
8175 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8176 * config/xtensa/t-xtensa (LIB2ADD): Set.
8177 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8178 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8179 Add t-freebsd-thread to tmake_file for posix threads.
8180 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8181 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8182 (*-*-lynxos*): Likewise.
8183 (*-*-netbsd*): Likewise.
8184 (*-*-openbsd*): Likewise.
8185 Add t-openbsd-thread to tmake_file for posix threads.
8186 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8187 (*-*-vxworks*): Set tmake_file.
8188 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8189 (alpha*-*-freebsd*): Likewise.
8190 (alpha*-*-netbsd*): Likewise.
8191 (alpha*-*-openbsd*): Likewise.
8192 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8193 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8194 (alpha*-dec-*vms*): Likewise.
8195 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8196 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8197 (bfin*-uclinux*): Likewise.
8198 (bfin*-linux-uclibc*): Likewise.
8199 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8200 (crisv32-*-none): Likewise.
8201 (cris-*-elf): Likewise.
8202 (cris-*-none): Likewise.
8203 (cris-*-linux*, crisv32-*-linux*): Likewise.
8204 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8205 tmake_file.
8206 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8207 tmake_file.
8208 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8209 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8210 (x86_64-*-elf*): Likewise.
8211 (i[34567]86-*-nto-qnx*): Likewise.
8212 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8213 win32 threads.
8214 (x86_64-*-mingw*): Likewise.
8215 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8216 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8217 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8218 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8219 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8220 tmake_file.
8221 (mipsisa64sr71k-*-elf*): Likewise.
8222 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8223 (mips-*-elf*, mipsel-*-elf*): Likewise.
8224 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8225 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8226 (mips*-*-rtems*): Likewise.
8227 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8228 to tmake_file.
8229 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8230 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8231 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8232 (spu-*-elf*): Likewise.
8233 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8234
8235 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8236
8237 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8238 $(srcdir) to refer to $(LIB1ASMSRC).
8239 Use $<.
8240 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8241 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8242 config/arm/lib1funcs.S: New files.
8243 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8244 * config/arm/t-arm: New file.
8245 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8246 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8247 config/arm/t-strongarm-elf: New files.
8248 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8249 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8250 * config/avr/lib1funcs.S: New file.
8251 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8252 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8253 * config/c6x/lib1funcs.S: New file.
8254 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8255 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8256 * config/frv/lib1funcs.S: New file.
8257 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8258 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8259 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8260 * config/ia64/__divxf3.asm: Rename to ...
8261 * config/ia64/__divxf3.S: ... this.
8262 Adapt lib1funcs.asm filename.
8263 * config/ia64/_fixtfdi.asm: Rename to ...
8264 * config/ia64/_fixtfdi.S: ... this.
8265 Adapt lib1funcs.asm filename.
8266 * config/ia64/_fixunstfdi.asm: Rename to ...
8267 * config/ia64/_fixunstfdi.S: ... this.
8268 Adapt lib1funcs.asm filename.
8269 * config/ia64/_floatditf.asm: Rename to ...
8270 * config/ia64/_floatditf.S: ... this.
8271 Adapt lib1funcs.asm filename.
8272 * config/ia64/lib1funcs.S: New file.
8273 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8274 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8275 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8276 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8277 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8278 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8279 * config/mep/lib1funcs.S: New file.
8280 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8281 * config/mips/mips16.S: New file.
8282 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8283 * config/pa/milli64.S: New file.
8284 * config/pa/t-linux, config/pa/t-linux64: New files.
8285 * config/picochip/lib1funcs.S: New file.
8286 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8287 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8288 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8289 * config/sh/t-netbsd: New file.
8290 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8291 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8292 * config/sh/t-sh64: New file.
8293 * config/sparc/lb1spc.S: New file.
8294 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8295 filename.
8296 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8297 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8298 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8299 config/xtensa/lib1funcs.S: New files.
8300 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8301 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8302 tmake_file.
8303 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8304 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8305 (arm*-*-linux*): Likewise.
8306 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8307 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8308 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8309 (arm*-*-ecos-elf): Likewise.
8310 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8311 (arm*-*-rtems*): Likewise.
8312 (arm*-*-elf): Likewise.
8313 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8314 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8315 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8316 (bfin*-uclinux*): Likewise.
8317 (bfin*-linux-uclibc*): Likewise.
8318 (bfin*-rtems*): Likewise.
8319 (bfin*-*): Likewise.
8320 (fido-*-elf): Merge into m68k-*-elf*.
8321 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8322 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8323 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8324 (h8300-*-elf*): Likewise.
8325 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8326 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8327 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8328 (i[34567]86-*-mingw*): Likewise.
8329 (x86_64-*-mingw*): Likewise.
8330 (i[34567]86-*-interix3*): Likewise.
8331 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8332 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8333 (m68k-*-elf*): Also handle fido-*-elf.
8334 Add m68k/t-floatlib to tmake_file.
8335 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8336 (m68k-*-linux*): Likewise.
8337 (m68k-*-rtems*): Likewise.
8338 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8339 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8340 sh64*-*-*.
8341 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8342 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8343 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8344 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8345 sh/t-netbsd to tmake_file.
8346 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8347 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8348 (sh-wrs-vxworks): Likewise.
8349 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8350 *-leon[3-9]*.
8351 (v850*-*-*): Add v850/t-v850 to tmake_file.
8352 (vax-*-linux*): Add vax/t-linux to tmake_file.
8353 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8354
8355 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8356
8357 * crtstuff.c: New file.
8358 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8359 (CRTSTUFF_T_CFLAGS): Define.
8360 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8361 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8362 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8363 crtstuff.c.
8364 Use $<.
8365 (crtbeginT.o): Use $(objext).
8366 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8367 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8368 (gcc-extra-parts): Remove.
8369 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8370 Set extra_parts.
8371 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8372 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8373 Add t-crtstuff-pic to tmake_file.
8374 (*-*-lynxos*): New case.
8375 Set tmake_file, extra_parts.
8376 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8377 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8378 *-*-netbsdelf[2-9]*.
8379 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8380 (*-*-rtems*): Set extra_parts.
8381 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8382 (*-*-uclinux*): New case.
8383 Set extra_parts.
8384 (*-*-vms*): New case.
8385 Set tmake_file, extra_parts.
8386 (*-*-elf): Set extra_parts.
8387 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8388 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8389 vms/t-vms64.
8390 Set extra_parts.
8391 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8392 Set extra_parts.
8393 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8394 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8395 (arm-wrs-vxworks): Append to tmake_file.
8396 Set extra_parts.
8397 (arm*-*-uclinux*): Set extra_parts.
8398 (arm*-*-ecos-elf): Likewise.
8399 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8400 arm*-*-eabi*.
8401 (arm*-*-rtems*): Set extra_parts.
8402 (arm*-*-elf): Likewise.
8403 (avr-*-rtems*): Clear extra_parts.
8404 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8405 Set extra_parts.
8406 (bfin*-uclinux*): Likewise.
8407 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8408 (bfin*-rtems*): Append to tmake_file.
8409 Set extra_parts.
8410 (bfin*-*): Likewise.
8411 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8412 (crisv32-*-elf): ... this.
8413 (crisv32-*-none): ... this.
8414 (cris-*-elf, cris-*-none): New cases.
8415 Add cris/t-elfmulti to tmake_file.
8416 (fr30-*-elf): Append to tmake_file.
8417 Set extra_parts.
8418 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8419 Set extra_parts.
8420 (h8300-*-rtems*): Append to tmake_file.
8421 Set extra_parts.
8422 (h8300-*-elf*): Likewise.
8423 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8424 Set extra_parts.
8425 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8426 Set extra_parts.
8427 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8428 (x86_64-*-elf*): Likewise.
8429 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8430 (x86_64-*-freebsd*): Likewise.
8431 (x86_64-*-netbsd*): Likewise.
8432 (i[34567]86-*-linux*): Likewise.
8433 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8434 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8435 (x86_64-*-linux*): Likewise.
8436 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8437 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8438 tmake_file.
8439 Set extra_parts.
8440 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8441 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8442 Append to extra_parts, remove crtbegin.o, crtend.o.
8443 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8444 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8445 crtend.o, crtbeginS.o, crtendS.o.
8446 (ia64*-*-linux*): Comment extra_parts.
8447 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8448 Set extra_parts.
8449 (iq2000*-*-elf*): Clear extra_parts.
8450 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8451 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8452 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8453 (m32r-*-rtems*): ... this.
8454 Add m32r/t-m32r to tmake_file.
8455 (m68k-*-elf*): Add t-crtin to tmake_file.
8456 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8457 (mcore-*-elf): Likewise.
8458 (microblaze*-*-*): Set extra_parts.
8459 (mips*-sde-elf*): New case.
8460 Set tmake_file, extra_parts.
8461 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8462 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8463 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8464 tmake_file.
8465 Set extra_parts.
8466 (mipsisa64sr71k-*-elf*): Likewise.
8467 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8468 (mips-*-elf*, mipsel-*-elf*): Likewise.
8469 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8470 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8471 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8472 (mips*-*-rtems*): Likewise.
8473 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8474 (moxie-*-*): Split into ...
8475 (moxie-*-elf, moxie-*-uclinux*): ... this.
8476 Add to extra_parts, remove crtbegin.o, crtend.o.
8477 (moxie-*-rtems*): New case.
8478 Set tmake_file.
8479 Clear extra_parts.
8480 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8481 Set extra_parts.
8482 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8483 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8484 tmake_file.
8485 Set extra_parts.
8486 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8487 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8488 Set extra_parts.
8489 (powerpc-*-eabisim*): Likewise.
8490 (powerpc-*-elf*): Likewise.
8491 (powerpc-*-eabialtivec*): Likewise.
8492 (powerpc-xilinx-eabi*): Likewise.
8493 (powerpc-*-eabi*): Likewise.
8494 (powerpc-*-rtems*): Likewise.
8495 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8496 tmake_file.
8497 Set extra_parts.
8498 (powerpc-*-lynxos*): Add to tmake_file.
8499 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8500 rs6000/t-crtstuff, t-crtstuff-pic.
8501 Set extra_parts.
8502 (powerpcle-*-eabisim*): Likewise.
8503 (powerpcle-*-eabi*): Likewise.
8504 (rx-*-elf): Remove extra_parts.
8505 (s390x-ibm-tpf*): Set extra_parts.
8506 (score-*-elf): Set extra_parts.
8507 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8508 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8509 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8510 (sh64l*-*-netbsd*): Split into ...
8511 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8512 Add t-crtstuff-pic to tmake_file.
8513 Set extra_parts.
8514 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8515 Set extra_parts.
8516 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8517 (sparc-*-elf*): Remove t-crtin from tmake_file.
8518 Add to extra_parts, remove crtbegin.o, crtend.o.
8519 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8520 (sparc64-*-linux*): Likewise.
8521 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8522 Add to extra_parts, remove crtbegin.o, crtend.o.
8523 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8524 Add to extra_parts, remove crtbegin.o, crtend.o.
8525 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8526 Add to extra_parts, remove crtbegin.o, crtend.o.
8527 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8528 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8529 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8530 Set extra_parts.
8531 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8532 Set extra_parts.
8533 (tic6x-*-*): Change to ...
8534 (tic6x-*-elf): ... this.
8535 Set extra_parts.
8536 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8537 Set extra_parts.
8538 (am33_2.0-*-linux*): Add comment.
8539 (mep*-*-*): Add mep/t-mep to tmake_file.
8540 Set extra_parts.
8541 * config/alpha/t-vms: New file.
8542 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8543 * config/arm/crti.S, config/arm/crtn.S: New files.
8544 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8545 * config/bfin/crtlibid.S: New file.
8546 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8547 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8548 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8549 (crti.o, crtin.o): New rules.
8550 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8551 * config/c6x/t-uclinux: New file.
8552 * config/cris/t-elfmulti: New file.
8553 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8554 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8555 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8556 * config/frv/t-frv: New file.
8557 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8558 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8559 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8560 New files.
8561 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8562 refer to cygming-crtbegin.c, cygming-crtend.c.
8563 Use $<.
8564 * config/i386/t-nto: New file.
8565 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8566 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8567 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8568 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8569 Use .S extension.
8570 Use $<.
8571 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8572 (crtinitS.o): New rule.
8573 * config/ia64/vms-crtinit.S: New file.
8574 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8575 * config/m32r/initfini.c: New file.
8576 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8577 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8578 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8579 * config/mep/t-mep: New file.
8580 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8581 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8582 * config/mips/crti.S, config/mips/crtn.S: New files.
8583 * config/mips/t-crtstuff: New file.
8584 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8585 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8586 (CUSTOM_CRTIN): Set.
8587 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8588 dependencies.
8589 Use $(srcdir) to refer to crti.S, crtn.S.
8590 Use .S extension, $<.
8591 * config/moxie/crti.asm: Rename to ...
8592 * config/moxie/crti.S: ... this.
8593 * config/moxie/crtn.asm: Rename to ...
8594 * config/moxie/crtn.S: ... this.
8595 * config/moxie/t-moxie: Remove.
8596 * config/pa/stublib.c: New file.
8597 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8598 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8599 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8600 * config/rs6000/t-crtstuff: New file.
8601 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8602 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8603 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8604 Make output file explicit.
8605 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8606 Make output file explicit.
8607 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8608 Make output file explicit.
8609 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8610 Make output file explicit.
8611 * config/score/crti.S, config/score/crtn.S: New files.
8612 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8613 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8614 files.
8615 * config/sh/t-sh, config/sh/t-superh: New files.
8616 * config/sparc/t-linux64: New file.
8617 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8618 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8619 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8620 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8621 * config/t-crtin: Remove.
8622 * config/t-crtstuff-pic: New file.
8623 * config/t-sol2 (CUSTOM_CRTIN): Set.
8624 (crti.o, crtn.o): New rules.
8625 * config/vms/t-vms: New file.
8626 * config/vms/vms-ucrt0.c: New file.
8627 * config/xtensa/t-elf: New file.
8628
8629 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8630
8631 * Makefile.in (SHLIB_NM_FLAGS): Set.
8632 * mkmap-flat.awk, mkmap-symver.awk: New files.
8633 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8634 exceptions.
8635 * configure: Regenerate.
8636 * config/libgcc-glibc.ver: New file.
8637 * config/libgcc-libsystem.ver: New file.
8638 * config/t-libunwind (SHLIB_LC): Set.
8639 * config/t-linux: New file.
8640 * config/t-slibgcc (INSTALL_SHLIB): New.
8641 (SHLIB_INSTALL): Use it.
8642 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8643 to mkmap-symver.awk.
8644 (SHLIB_MAPFILES): Don't append, adapt pathname.
8645 (SHLIB_VERPFX): Set.
8646 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8647 to mkmap-symver.awk.
8648 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8649 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8650 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8651 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8652 to mkmap-flat.awk.
8653 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8654 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8655 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8656 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8657 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8658 * config/i386/libgcc-darwin.10.4.ver,
8659 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8660 New files.
8661 * config/i386/t-darwin: Remove.
8662 * config/i386/t-darwin64: Likewise.
8663 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8664 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8665 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8666 * config/i386/t-linux: New file.
8667 * config/i386/t-mingw32: New file.
8668 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8669 * config/ia64/t-glibc: Rename to ...
8670 * config/ia64/t-linux: ... this.
8671 (SHLIB_MAPFILES): Set.
8672 * config/ia64/t-glibc-libunwind: Rename to ...
8673 * config/ia64/t-linux-libunwind: ... this.
8674 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8675 * config/ia64/t-slibgcc-hpux: New file.
8676 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8677 * config/m68k/t-slibgcc-elf-ver: New file.
8678 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8679 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8680 to mkmap-flat.awk.
8681 * config/pa/t-slibgcc-hpux: New file.
8682 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8683 files.
8684 * config/rs6000/libgcc-darwin.10.4.ver,
8685 config/rs6000/libgcc-darwin.10.5.ver: New files.
8686 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8687 config/rs6000/libgcc-glibc.ver.
8688 * config/rs6000/libgcc-ppc64.ver: Rename to
8689 config/rs6000/libgcc-ibm-ldouble.ver.
8690 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8691 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8692 * config/rs6000/t-ldbl128: Rename to ...
8693 * config/rs6000/t-linux: ... this.
8694 (SHLIB_MAPFILES): Adapt filename.
8695 * config/rs6000/t-slibgcc-aix: New file.
8696 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8697 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8698 libgcc-excl.ver, libgcc-glibc.ver.
8699 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8700 * config/sparc/libgcc-glibc.ver: New file.
8701 * config/sparc/t-linux: New file.
8702 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8703 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8704 t-slibgcc-elf-ver to tmake_file.
8705 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8706 *-*-freebsd[34].
8707 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8708 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8709 t-slibgcc-elf-ver, t-linux to tmake_file.
8710 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8711 tmake_file.
8712 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8713 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8714 (alpha*-dec-*vms*): Likewise.
8715 (arm*-*-freebsd*): Append to tmake_file.
8716 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8717 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8718 arm*-*-linux-*eabi.
8719 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8720 tmake_file for arm*-*-symbianelf*.
8721 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8722 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8723 cris/t-linux.
8724 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8725 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8726 pa/t-slibgcc-dwarf-ver to tmake_file.
8727 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8728 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8729 (hppa*64*-*-hpux11*): Likewise.
8730 (hppa[12]*-*-hpux11*): Likewise.
8731 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8732 i386/t-crtpc, i386/t-crtfm.
8733 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8734 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8735 to tmake_file.
8736 Add i386/t-cygwin to tmake_file.
8737 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8738 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8739 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8740 to tmake_file.
8741 Add i386/t-mingw32 to tmake_file.
8742 (x86_64-*-mingw*): Likewise.
8743 (ia64*-*-freebsd*): Append to tmake_file.
8744 (ia64*-*-linux*): Append to tmake_file.
8745 Replace ia64/t-glibc by ia64/t-linux.
8746 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8747 system libunwind.
8748 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8749 t-slibgcc-hpux to tmake_file.
8750 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8751 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8752 (m32rle-*-linux*): Likewise.
8753 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8754 sjlj exceptions.
8755 (microblaze*-linux*): New case.
8756 Append to tmake_file, add t-slibgcc-nolc-override.
8757 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8758 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8759 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8760 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8761 rs6000/t-slibgcc-aix to tmake_file.
8762 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8763 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8764 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8765 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8766 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8767 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8768 sh*-*-linux*.
8769 (sparc-*-linux*): Append to tmake_file for *-leon*.
8770 Add sparc/t-linux to tmake_file for non-Leon targets.
8771 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8772 (tic6x-*-uclinux): New case.
8773 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8774 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8775 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8776 (am33_2.0-*-linux*): Append to tmake_file.
8777 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8778 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8779 x86_64-*-kfreebsd*-gnu.
8780 Add i386/t-linux to tmake_file.
8781
8782 2011-10-28 Ian Lance Taylor <iant@google.com>
8783
8784 * config/i386/morestack.S: Correct CFI information to do proper
8785 returns throughout function. In 32-bit mode, save %ebx so that it
8786 is restored on unwind.
8787
8788 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8789
8790 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8791 case where B3 isn't the return register.
8792
8793 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8794 logic for doubleword pops.
8795
8796 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8797
8798 * config/rs6000/t-freebsd: Add wildcard.
8799
8800 2011-10-21 Paul Brook <paul@codesourcery.com>
8801
8802 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8803
8804 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8805 Eric Botcazou <ebotcazou@adacore.com>
8806
8807 PR target/50737
8808 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8809 fs->signal_frame to 1.
8810
8811 2011-10-07 Ian Lance Taylor <iant@google.com>
8812
8813 * generic-morestack-thread.c: #include <errno.h>.
8814
8815 2011-10-07 Ian Lance Taylor <iant@google.com>
8816
8817 PR target/46093
8818 * generic-morestack.c (__generic_morestack): Make sure the segment
8819 is large enough for both the stack frame and the copied
8820 parameters.
8821
8822 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8823
8824 PR bootstrap/49804
8825 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8826 extra_parts.
8827
8828 2011-09-28 Nick Clifton <nickc@redhat.com>
8829
8830 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8831 64-bit doubles are not enabled.
8832 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8833 and floatunsisf functions.
8834
8835 2011-09-13 Paul Brook <paul@codesourcery.com>
8836
8837 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8838 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8839 * unwind-arm-common.inc: New file.
8840 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8841 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8842 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8843 * config/c6x/libunwind.S: New file.
8844 * config/c6x/pr-support.c: New file.
8845 * config/c6x/unwind-c6x.c: New file.
8846 * config/c6x/unwind-c6x.h: New file.
8847 * config/c6x/t-c6x-elf: New file.
8848
8849 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8850
8851 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8852 (ASM_DIVZERO): Ditto.
8853 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8854
8855 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8856
8857 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8858
8859 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8860
8861 PR target/50090
8862 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8863 instead of an assembly one.
8864
8865 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8866
8867 PR bootstrap/50047
8868 * Makefile.in (install-unwind_h): Create
8869 $(gcc_objdir)/include/unwind.h atomically.
8870
8871 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8872
8873 * Makefile.in (install-unwind_h): Remove destination file first.
8874
8875 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8876
8877 * sync.c: New file.
8878 * config/mips/t-mips16: New file.
8879 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8880 (mips*-*-linux*): Likewise.
8881 (mips*-sde-elf*): Likewise.
8882 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8883 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8884 Add mips/t-mips16 to tmake_file.
8885 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8886 (mips-*-elf*): Likewise.
8887 (mips64-*-elf*): Likewise.
8888 (mips64orion-*-elf*): Likewise.
8889 (mips*-*-rtems*): Likewise.
8890 (mipstx39-*-elf*): Likewise.
8891 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8892 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8893 LIBGCC_SYNC_CFLAGS.
8894 Use $(srcdir) to refer to sync.c.
8895 Use $<.
8896 ($(libgcc-sync-funcs-o)): Likewise.
8897 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8898 ($(libgcc-sync-funcs-s-o)): Likewise.
8899
8900 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8901
8902 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8903 t-libunwind.
8904
8905 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8906
8907 PR other/48007
8908 * config/i386/value-unwind.h: New.
8909
8910 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8911
8912 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8913 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8914 Add to tmake_file rather than overriding it.
8915
8916 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8917
8918 * config/t-softfp: Remove.
8919 * soft-fp: Moved from ../gcc/config.
8920 * soft-fp/README: Remove t-softfp reference.
8921 * soft-fp/t-softfp: Move to config/t-softfp.
8922 (softfp_machine_header): Remove.
8923 (softfp_file_list): Remove config subdir.
8924 (soft-fp-objects): New variable.
8925 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8926 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8927 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8928 * config/t-softfp-excl: New file.
8929 * config/t-softfp-sfdf: New file.
8930 * config/t-softfp-tf: New file.
8931 * config/no-sfp-machine.h: New file.
8932 * config/arm/sfp-machine.h: New file.
8933 * config/arm/t-softfp: New file.
8934 * config/c6x/sfp-machine.h: New file.
8935 * config/i386/32/t-fprules-softfp: Rename to ...
8936 * config/i386/32/t-softfp: ... this.
8937 (tifunctions, LIB2ADD): Remove.
8938 (softfp_int_modes): Override.
8939 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8940 subdir.
8941 * config/i386/64/eqtf2.c: Likewise.
8942 * config/i386/64/getf2.c: Likewise.
8943 * config/i386/64/letf2.c: Likewise.
8944 * config/ia64/sft-machine.h: New file.
8945 * config/ia64/t-fprules-softfp: Rename to ...
8946 * config/ia64/t-softfp: ... this.
8947 * config/lm32/sfp-machine.h: New file.
8948 * config/moxie/t-moxie-softfp: Remove.
8949 * config/rs6000/ibm-ldouble-format: New file.
8950 * config/rs6000/ibm-ldouble.c: New file.
8951 * config/rs6000/libgcc-ppc-glibc.ver: New file
8952 * config/rs6000/libgcc-ppc64.ver: New file
8953 * config/rs6000/sfp-machine.h: New file.
8954 * config/rs6000/t-freebsd: New file.
8955 * config/rs6000/t-ibm-ldouble: New file.
8956 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8957 libgcc-ppc-glibc.ver.
8958 * config/rs6000/t-linux64: New file.
8959 * config/rs6000/t-ppccomm (LIB2ADD): Add
8960 $(srcdir)/config/rs6000/ibm-ldouble.c.
8961 * config/rs6000/t-ppccomm-ldbl: New file.
8962 * config/score/sfp-machine.h: New file.
8963 * config.host (sfp_machine_header): Explain.
8964 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8965 t-softfp to tmake_file.
8966 (arm*-*-uclinux*): Likewise.
8967 (arm*-*-ecos-elf): Likewise.
8968 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8969 (arm*-*-rtems*): Likewise.
8970 (arm*-*-elf): Likewise.
8971 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8972 in tmake_file.
8973 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8974 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8975 (lm32-*-uclinux*): Likewise.
8976 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8977 t-softfp-excl, t-softfp.
8978 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8979 (powerpc64-*-darwin*): Likewise.
8980 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8981 to tmake_file.
8982 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8983 tmake_file.
8984 (powerpc-*-eabisim*): Likewise.
8985 (powerpc-*-elf*): Likewise.
8986 (powerpc-*-eabialtivec*): Likewise.
8987 (powerpc-xilinx-eabi*): Likewise.
8988 (powerpc-*-rtems*): Likewise.
8989 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8990 t-softfp-excl, t-softfp to tmake_file.
8991 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8992 rs6000/t-ppccomm-ldbl to tmake_file.
8993 (powerpcle-*-elf*): Likewise.
8994 (powerpcle-*-eabisim*): Likewise.
8995 (powerpcle-*-eabi*): Likewise.
8996 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8997 rs6000/t-ibm-ldouble to tmake_file.
8998 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8999 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9000 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9001 (tic6x-*-*): Likewise.
9002 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9003 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9004 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9005 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9006 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9007 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9008 t-softfp to tmake_file.
9009 * configure.ac (sfp_machine_header): Provide default if unset.
9010 Substitute.
9011 Link sfp-machine.h to config/$sfp_machine_header.
9012 * configure: Regenerate.
9013
9014 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9015
9016 * Makefile.in (double_type_size, long_double_type_size): Set.
9017 Remove $(fpbit-in-libgcc) support.
9018 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9019 (fpbit-src): New variable.
9020 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9021 Compile with -DFLOAT $(FPBIT_CFLAGS).
9022 Use $<.
9023 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9024 Compile with $(FPBIT_CFLAGS).
9025 Use $<.
9026 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9027 Compile with -DFLOAT $(TPBIT_CFLAGS).
9028 Use $<.
9029 * configure.ac (double_type_size, long_double_type_size):
9030 Determine and substitute.
9031 * configure: Regenerate.
9032 * fp-bit.c, fp-bit.h: New files.
9033 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9034 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9035 * config/mips/t-mips: New file.
9036 * config/mips/t-sdemtk: New file.
9037 * config/rs6000/ppc64-fp.c: New file.
9038 * config/rs6000/t-darwin (LIB2ADD): Add
9039 $(srcdir)/config/rs6000/ppc64-fp.c.
9040 * config/rs6000/t-ppc64-fp: New file.
9041 * config/rx/rx-lib.h: New file.
9042 * config/rx/t-rx (FPBIT): Set to true.
9043 ($(gcc_objdir)/fp-bit.c): Remove.
9044 (DPBIT): Set to true only with -m64bit-doubles.
9045 ($(gcc_objdir)/dp-bit.c): Remove.
9046 * config/sparc/t-softfp: Remove.
9047 * config/spu/t-elf: New file.
9048 * config/t-fdpbit, config/t-fpbit: New files.
9049 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9050 (mips*-*-*): Likewise.
9051 (arm-wrs-vxworks): Likewise.
9052 (arm*-*-freebsd*): Likewise.
9053 (avr-*-rtems*): Add t-fpbit to tmake_file.
9054 (avr-*-*): Likewise.
9055 (bfin*-elf*): Add t-fdpbit to tmake_file.
9056 (bfin*-uclinux*): Likewise.
9057 (bfin*-linux-uclibc*): Likewise.
9058 (bfin*-rtems*): New case.
9059 Add t-fdpbit to tmake_file.
9060 (bfin*-*): Add t-fdpbit to tmake_file.
9061 (crisv32-*-elf): Likewise.
9062 (cris-*-linux*): Likewise.
9063 (fr30-*-elf): Likewise.
9064 (frv-*-elf, frv-*-*linux*): Likewise.
9065 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9066 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9067 (m32r-*-elf*): Likewise.
9068 (m32rle-*-elf*): Likewise.
9069 (m32r-*-linux*): Likewise.
9070 (m32rle-*-linux*): Likewise.
9071 (mcore-*-elf): Add t-fdpbit to tmake_file.
9072 (microblaze*-*-*): Likewise.
9073 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9074 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9075 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9076 Fix typo.
9077 Add mips/t-tpbit to tmake-file.
9078 (mips*-*-linux*): Fix typo.
9079 (mips*-sde-elf*): New case
9080 Add mips/t-sdemtk unless using newlib.
9081 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9082 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9083 (mn10300-*-*): Likewise.
9084 (pdp11-*-*): Likewise.
9085 (picochip-*-*): Add t-fpbit to tmake_file.
9086 (powerpc-*-eabisimaltivec*): Likewise.
9087 (powerpc-*-eabisim*): Likewise.
9088 (powerpc-*-elf*): Likewise.
9089 (powerpc-*-eabialtivec*): Likewise.
9090 (powerpc-xilinx-eabi*): New case.
9091 Add t-fdpbit to tmake_file.
9092 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9093 (powerpc-*-rtems*): Likewise.
9094 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9095 tmake_file.
9096 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9097 tmake_file.
9098 (powerpc-*-lynxos*): Likewise.
9099 (powerpcle-*-elf*): Likewise.
9100 (powerpcle-*-eabisim*): Likewise.
9101 (powerpcle-*-eabi*): Likewise.
9102 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9103 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9104 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9105 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9106 (rx-*-elf): Add t-fdpbit to tmake_file.
9107 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9108 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9109 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9110 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9111 sh*-*-netbsd*.
9112 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9113 (sh-wrs-vxworks): Likewise.
9114 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9115 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9116 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9117 (sparc64-*-rtems*): ... new case.
9118 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9119 (spu-*-elf*): Likewise.
9120 Add spu/t-elf to tmake_file.
9121 (v850*-*-*): Add t-fdpbit to tmake_file.
9122 (xstormy16-*-elf): Likewise.
9123 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9124 (mep*-*-*): Likewise.
9125
9126 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9127
9128 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9129 variables.
9130 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9131 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9132 (install-unwind_h): New target.
9133 (all): Depend on it.
9134 * config.host (unwind_header): New variable.
9135 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9136 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9137 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9138 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9139 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9140 Set unwind_header.
9141 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9142 Set unwind_header.
9143 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9144 arm*-*-eabi*.
9145 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9146 Set unwind_header.
9147 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9148 (ia64*-*-freebsd*): Likewise.
9149 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9150 tmake_file.
9151 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9152 $with_system_libunwind.
9153 (ia64*-*-hpux*): Set tmake_file.
9154 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9155 (picochip-*-*): Set tmake_file.
9156 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9157 md_unwind_header.
9158 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9159 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9160 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9161 (xtensa*-*-elf*): Set tmake_file.
9162 (xtensa*-*-linux*): Likewise.
9163 * configure.ac: Include ../config/unwind_ipinfo.m4.
9164 Call GCC_CHECK_UNWIND_GETIPINFO.
9165 Link unwind.h to $unwind_header.
9166 * configure: Regenerate.
9167 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9168 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9169 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9170 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9171 * config/unwind-dw2-fde-darwin.c: New file.
9172 * config/arm/libunwind.S, config/arm/pr-support.c,
9173 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9174 config/arm/unwind-arm.h,: New files.
9175 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9176 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9177 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9178 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9179 config/ia64/unwind-ia64.h: New files.
9180 * config/picochip/t-picochip: New file.
9181 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9182 files.
9183 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9184 * config/s390/t-tpf (LIB2ADDEH): Remove.
9185 * config/t-darwin (LIB2ADDEH): Set.
9186 * config/t-eh-dw2-dip: New file.
9187 * config/t-libunwind, config/t-libunwind-elf: New files.
9188 * config/t-sol2 (LIB2ADDEH): Remove.
9189 * config/xtensa/t-xtensa: New file.
9190
9191 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9192
9193 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9194 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9195 long long to check rt_sigreturn syscall.
9196
9197 2011-08-02 Alan Modra <amodra@gmail.com>
9198
9199 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9200 Restore for indirect call bcrtl from correct stack slot, and only
9201 if cfa+40 isn't valid.
9202
9203 2011-08-01 Julian Brown <julian@codesourcery.com>
9204
9205 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9206 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9207 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9208
9209 2011-08-01 Julian Brown <julian@codesourcery.com>
9210
9211 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9212 (libgcc-std.ver.in): Use above.
9213 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9214 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9215 throughout file.
9216 * config/t-fixedpoint-gnu-prefix: New file.
9217 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9218 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9219 instead of __PFX__.
9220
9221 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9222
9223 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9224 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9225 for x86-64. Properly check __x86_64__ and __LP64__.
9226
9227 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9228
9229 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9230 version.
9231 (_FP_WS_TYPE): Likewise.
9232 (_FP_I_TYPE): Likewise.
9233
9234 2011-07-28 Alan Modra <amodra@gmail.com>
9235
9236 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9237 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9238 in a plt call stub. Do restore r2 if stopped on bctrl.
9239
9240 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9241
9242 * config.host (i[3456x]86-*-netware*): Remove.
9243 * config/i386/netware-crt0.c, config/i386/t-nwld,
9244 config/i386/t-slibgcc-nwld: Remove.
9245
9246 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9247
9248 * config.host: Handle tic6x-*-*.
9249 * config/c6x/c6x-abi.h: New file.
9250
9251 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9252
9253 * config/i386/crtprec.c: New file.
9254 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9255 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9256 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9257 (x86_64-*-darwin*): Likewise.
9258 (i[34567]86-*-solaris2*: Likewise.
9259
9260 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9261
9262 * config/alpha/crtfastmath.c: New file.
9263 * config/i386/crtfastmath.c: New file.
9264 * config/ia64/crtfastmath.c: New file.
9265 * config/mips/crtfastmath.c: New file.
9266 * config/sparc/crtfastmath.c: New file.
9267
9268 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9269 crtfastmath.c.
9270 Add -frandom-seed=gcc-crtfastmath.
9271 * config/alpha/t-crtfm: Remove.
9272 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9273 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9274
9275 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9276 (alpha*-dec-osf5.1*): Likewise.
9277 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9278 Add crtfastmath.o to extra_parts.
9279 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9280 Add crtfastmath.o to extra_parts.
9281 (x86_64-*-darwin*): Likewise.
9282 (x86_64-*-mingw*): Likewise.
9283 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9284 (ia64*-*-freebsd*): Likewise.
9285 (ia64*-*-linux*): Likewise.
9286 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9287 Add crtfastmath.o to extra_parts.
9288
9289 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9290
9291 * config/darwin-crt3.o: New file.
9292 * config/rs6000/darwin-crt2.c: New file.
9293 * config/t-darwin: New file.
9294 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9295 (crt2.o): New rule.
9296 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9297 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9298 (powerpc64-*-darwin*): Likewise.
9299
9300 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9301
9302 * config/i386/netware-crt0.c: New file.
9303 * config/i386/t-nwld: Rename to ...
9304 * config/i386/t-slibgcc-nwld: ... this.
9305 * config/i386/t-nwld: New file.
9306 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9307 tmake_file.
9308 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9309 extra_parts.
9310
9311 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9312
9313 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9314 i386/t-crtstuff.
9315 * configure: Regenerate.
9316
9317 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9318
9319 * dfp-bit.c, dfp-bit.h: New files.
9320 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9321 variables.
9322 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9323 ($(d64pbit-o)): Likewise.
9324 ($(d128pbit-o)): Likewise.
9325 * config/t-dfprules: New file.
9326 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9327 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9328 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9329 (x86_64-*-linux*): Likewise.
9330 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9331 (i[34567]86-*-cygwin*): Likewise.
9332 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9333 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9334
9335 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9336
9337 * Makfile.in (LIBGCOV): New variable.
9338 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9339 * libgcov.c: New file.
9340
9341 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9342
9343 * fixed-bit.c, fixed-bit.h: New files.
9344 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9345 refer to fixed-bit.c.
9346
9347 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9348
9349 * config.host (*local*): Remove.
9350
9351 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9352
9353 PR target/39150
9354 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9355 like i?86-*-solaris2.1[0-9]*.
9356 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9357 * configure.ac (i?86-*-solaris2*): Likewise.
9358 * configure: Regenerate.
9359
9360 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9361
9362 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9363 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9364 md_unwind_header by splitting out of...
9365 (i[34567]86-*-linux*): ... this.
9366 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9367 Remove md_unwind_header by splitting out of...
9368 (x86_64-*-linux*): ... this.
9369
9370 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9371
9372 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9373
9374 2011-06-28 Nick Clifton <nickc@redhat.com>
9375
9376 * config.host: Recognize all V850 variants.
9377
9378 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9379
9380 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9381
9382 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9383
9384 * shared-object.mk (c_flags-$o): Save c_flags.
9385 ($(base)$(objext)): Use it.
9386 ($(base)_s$(objext)): Likewise.
9387
9388 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9389
9390 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9391 * libgcc-std.ver.in (GCC_4.7.0): New section.
9392
9393 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9394
9395 PR target/49313
9396 PR target/29524
9397 * config/avr/t-avr: Fix line endings.
9398 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9399 _parityXX2.
9400
9401 2011-06-14 Olivier Hainque <hainque@adacore.com>
9402 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9403
9404 * config/mips/irix6-unwind.h: New file.
9405 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9406
9407 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9408
9409 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9410 (sparc64_fallback_frame_state): Use it.
9411 (sparc64_frob_update_context): Further adjust context.
9412 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9413 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9414 * config/sparc/sol2-cn.S: Likewise.
9415
9416 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9417
9418 * enable-execute-stack-empty.c: New file.
9419 * enable-execute-stack-mprotect.c: New file.
9420 * config/i386/enable-execute-stack-mingw32.c: New file.
9421 * config.host (enable_execute_stack): New variable.
9422 Select appropriate variants.
9423 * configure.ac: Link enable-execute-stack.c to
9424 $enable_execute_stack.
9425 * configure: Regenerate.
9426 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9427 (lib2funcs): Remove _enable_execute_stack.
9428
9429 2011-06-09 David S. Miller <davem@davemloft.net>
9430 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9431
9432 * config.host (sparc-*-linux*): Correct md_unwind_header
9433 filename.
9434 (s390x-ibm-tpf*): Fix typo.
9435
9436 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9437
9438 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9439 Add crtfastmath.o to extra_parts.
9440 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9441 mips/t-crtfm.
9442 * config/mips/t-crtfm: Remove.
9443
9444 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9445
9446 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9447
9448 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9449
9450 * config.host (sh*-*-linux*): Fix typo.
9451
9452 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9453
9454 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9455 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9456 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9457 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9458 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9459 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9460 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9461 Wrap in !__MINGW64__.
9462 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9463 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9464 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9465 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9466 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9467 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9468 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9469 Wrap in !__LP64__.
9470 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9471 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9472 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9473 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9474 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9475 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9476 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9477 * config/no-unwind.h: New file.
9478 * config.host (md_unwind_header): Document.
9479 Define.
9480 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9481 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9482 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9483 hppa[12]*-*-hpux11*): Set md_unwind_header.
9484 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9485 Set md_unwind_header.
9486 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9487 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9488 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9489 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9490 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9491 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9492 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9493 md_unwind_header.
9494 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9495 * configure: Regenerate.
9496
9497 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9498
9499 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9500 Set tmake_file, extra_parts.
9501 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9502 Remove O32 support.
9503 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9504 Remove O32 support.
9505 * config/mips/t-irix6: New file.
9506 * config/mips/t-slibgcc-irix: New file.
9507
9508 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9509
9510 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9511 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9512
9513 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9514
9515 * configure.ac (target_thread_file): Determine thread model.
9516 * configure: Regenerate.
9517 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9518 * config/alpha/t-alpha: New file.
9519 * config/alpha/t-crtfm: Use $<.
9520 * config/alpha/t-ieee: New file.
9521 * config/alpha/t-osf-pthread: New file.
9522 * config/alpha/t-slibgcc-osf: New file.
9523 * config/alpha/libgcc-osf5.ver: New file.
9524
9525 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9526
9527 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9528 tmake_file.
9529 Add crtfastmath.o to extra_parts.
9530
9531 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9532
9533 * config/gmon-sol2.c: Reindent.
9534 Cleanup comments.
9535 Remove, correct casts.
9536 Use STDERR_FILENO, NULL.
9537 (BASEADDRESS): Remove.
9538 (minbrk): Remove.
9539 (errno, sbrk): Remove declarations.
9540 (monstartup) [hp300]: Remove.
9541 (mcount): Remove.
9542
9543 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9544
9545 * Makefile.in (cpu_type): Define.
9546 * config.host (i[34567]86-*-rtems*): Handle it.
9547 (i[34567]86-*-solaris2*): Move body ...
9548 (*-*-solaris2*): ... here.
9549 New case, generalize.
9550 (sparc-*-elf*): Handle it.
9551 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9552 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9553 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9554 Fold into ...
9555 (sparc*-*-solaris2*): ... this.
9556 New case.
9557 (sparc64-*-elf*): Handle it.
9558 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9559 Merge ../gcc/config/i386/gmon-sol2.c.
9560 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9561 Use C comments.
9562 Merge ../gcc/config/i386/sol2-gc1.asm.
9563 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9564 Use C comments.
9565 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9566 Use C comments.
9567 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9568 * config/i386/t-crtstuff: New file.
9569 * config/i386/t-softfp: New file.
9570 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9571 $(T)crti.o, $(T)crtn.o): Remove.
9572 (gcrt1.o): New rule.
9573 (TARGET_LIBGCC2_CFLAGS): Remove.
9574 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9575 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9576 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9577 * config/sparc/t-sol2: New file.
9578 * config/sparc/t-crtfm: Move to ...
9579 * config/t-crtfm: ... this.
9580 Use $(cpu_type), $<.
9581 * config/t-crtin: New file.
9582 * config/sparc/t-softfp: New file.
9583 * config/sparc/t-softmul: New file.
9584 * config/t-rtems: New file.
9585 * config/t-slibgcc: New file.
9586 * config/t-slibgcc-elf-ver: New file.
9587 * config/t-slibgcc-gld: New file.
9588 * config/t-slibgcc-sld: New file.
9589 * config/t-sol2: New file.
9590 * configure.ac: Include ../config/lib-ld.m4.
9591 Call AC_LIB_PROG_LD_GNU.
9592 Substitute cpu_type.
9593 * configure: Regenerate.
9594
9595 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9596
9597 PR bootstrap/49173
9598 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9599 libgcc-std.ver in the build directory.
9600 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9601 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9602
9603 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9604
9605 * libgcc-std.ver.in: New file.
9606 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9607 variables.
9608 (libgcc-std.ver): New rule.
9609 * config/t-gnu-prefix: New file.
9610
9611 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9612
9613 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9614
9615 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9616
9617 * config/i386/darwin-lib.h: New file.
9618
9619 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9620
9621 * config/arm/symbian-lib.h: New.
9622
9623 2011-05-04 Chris Demetriou <cgd@google.com>
9624
9625 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9626 (__x86.get_pc_thunk.bx): ...this.
9627 (__morestack): Adjust for rename, remove undef of __i686.
9628
9629 2011-05-03 Chris Demetriou <cgd@google.com>
9630
9631 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9632
9633 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9634
9635 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9636 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9637 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9638 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9639 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9640 Remove cases.
9641
9642 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9643
9644 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9645 Adjust copyright year.
9646
9647 2011-03-07 Ian Lance Taylor <iant@google.com>
9648
9649 * generic-morestack.c (__splitstack_find): Adjust returned stack
9650 pointer to include all registers pushed by __morestack.
9651
9652 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9653
9654 PR target/40125
9655 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9656 (toolexecdir): Calculate and AC_SUBST.
9657 (toolexeclibdir): Likewise.
9658 * Makefile.in (target_noncanonical): Import.
9659 (toolexecdir): Likewise.
9660 (toolexeclibdir): Likewise.
9661 * configure: Regenerate.
9662
9663 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9664
9665 PR target/46040
9666 * config/arm/bpabi.h: Rename to...
9667 * config/arm/bpabi-lib.h: ...this.
9668
9669 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9670
9671 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9672 appropriate.
9673 * configure: Regenerate.
9674
9675 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9676
9677 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9678 __FLOAT_WORD_ORDER__.
9679 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9680 Delete.
9681
9682 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9683
9684 PR other/46202
9685 * Makefile.in (install-strip): New phony target.
9686
9687 2010-11-07 Ian Lance Taylor <iant@google.com>
9688
9689 PR target/46089
9690 * config/i386/morestack.S (__morestack_large_model): New
9691 function.
9692
9693 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9694
9695 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9696 Delete.
9697 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9698
9699 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9700
9701 * config/arm/bpabi.h: New file.
9702 * config/frv/frv-abi.h: New file.
9703
9704 2010-10-01 Ian Lance Taylor <iant@google.com>
9705
9706 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9707 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9708
9709 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9710
9711 PR target/45858
9712 * config.host: Add the missing `$'.
9713
9714 2010-09-30 Michael Eager <eager@eagercon.com>
9715
9716 * config.host: Add microblaze*-*-*.
9717 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9718 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9719 udivsi3.asm,umodsi3.asm}: New.
9720
9721 2010-09-28 Ian Lance Taylor <iant@google.com>
9722
9723 * configure.ac: Adjust CFI test to test assembler directly rather
9724 than checking gcc preprocessor macro.
9725 * configure: Rebuild.
9726
9727 2010-09-27 Ian Lance Taylor <iant@google.com>
9728
9729 * configure.ac: Test whether assembler supports CFI directives.
9730 * config.host: Only add t-stack and i386/t-stack-i386 to
9731 tmake_file if libgcc_cv_cfi is "yes".
9732 * configure: Rebuild.
9733
9734 2010-09-27 Ian Lance Taylor <iant@google.com>
9735
9736 * generic-morestack.h: New file.
9737 * generic-morestack.c: New file.
9738 * generic-morestack-thread.c: New file.
9739 * config/i386/morestack.S: New file.
9740 * config/t-stack: New file.
9741 * config/i386/t-stack-i386: New file.
9742 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9743 i386/t-stack-i386 to tmake_file.
9744
9745 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9746
9747 * Makefile.in (libgcc-extra-parts): Check for static archives and
9748 invoke ranlib after installing them.
9749 (gcc-extra-parts): Likewise.
9750 (install-leaf): Likewise.
9751
9752 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9753
9754 * configure: Regenerated.
9755
9756 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9757
9758 * configure: Regenerated.
9759
9760 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9761 Andrew Pinski <pinskia@gmail.com>
9762
9763 PR target/40959
9764 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9765
9766 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 PR target/45524
9769 * configure: Regenerated.
9770
9771 2010-09-06 Andreas Schwab <schwab@redhat.com>
9772
9773 * configure: Regenerate.
9774
9775 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9776
9777 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9778 64bit targets.
9779 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9780 for 64bit targets.
9781
9782 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9783 Iain Sandoe <iains@gcc.gnu.org>
9784
9785 PR target/45476
9786 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9787 LIB2FUNCS_EXCLUDE functions.
9788
9789 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9790
9791 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9792 Include dfp.m4.
9793 * configure: Regenerate.
9794
9795 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9796
9797 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9798 i386/t-freebsd to tmake_file.
9799 * config/i386/t-freebsd: New file.
9800 * config/i386/libgcc-bsd.ver: New file.
9801
9802 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9803
9804 * config.host (powerpc*-eabispe*): Set tmake_file.
9805 (powerpc*-eabi*): Likewise.
9806 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9807 crtbeginS, crtendS, crtbeginT.
9808
9809 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9810
9811 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9812 to tmake_file. Add crtfastmath.o to extra_parts.
9813 * config/mips/t-crtfm: New.
9814
9815 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9816
9817 * config.host (sparc64-*-rtems*): New target.
9818
9819 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9820
9821 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9822 assembler syntax.
9823
9824 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9825
9826 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9827
9828 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9829
9830 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9831 alpha-dec-osf5.0* support.
9832
9833 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9834
9835 * config.host: Add lm32-*-rtems*.
9836
9837 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9838 Uros Bizjak <ubizjak@gmail.com>
9839
9840 PR target/39048
9841 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9842 like other remaining 32-bit x86 OSes.
9843 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9844 assembler syntax.
9845 * config/i386/libgcc-sol2.ver: New file.
9846 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9847
9848 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9849
9850 PR c/43553
9851 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9852 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9853 is used and substitute set_use_emutls.
9854 * configure: Regenerated.
9855
9856 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9857
9858 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9859
9860 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9861
9862 PR target/38085
9863 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9864 MULTILIB_CFLAGS.
9865 ($(T)gcrt1.o): Likewise.
9866 ($(T)crt1.o): Likewise.
9867 ($(T)crti.o): Likewise.
9868 ($(T)crtn.o): Likewise.
9869
9870 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9871
9872 PR other/42980
9873 * Makefile.in (install): Use $(MAKE) string in rule, for
9874 parallel make.
9875
9876 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9877
9878 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9879 * config/mmix/t-mmix: New file.
9880 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9881
9882 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9883
9884 PR java/41991
9885 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9886 SHLIB_MAPFILES.
9887
9888 2010-01-04 Anthony Green <green@moxielogic.com>
9889
9890 * config/moxie/crti.asm, config/moxie/crtn.asm,
9891 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9892 config/moxie/t-moxie: New files.
9893 * config.host: Add t-moxie-softfp reference.
9894
9895 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9896
9897 PR other/39888
9898 * config/t-slibgcc-darwin: Fix embedded rpaths for
9899 --enable-version-specific-runtime-libs, build extension stub
9900 libs exposing features available from current libgcc_s.
9901
9902 2009-11-11 Jon Beniston <jon@beniston.com>
9903
9904 * config.host: Add lm32 targets.
9905 * config/lm32: New directory.
9906 * config/lm32/libgcc_lm32.h: New file.
9907 * config/lm32/_mulsi3.c: New file.
9908 * config/lm32/_udivmodsi4.c: New file.
9909 * config/lm32/_divsi3.c: New file.
9910 * config/lm32/_modsi3.c: New file.
9911 * config/lm32/_udivsi3.c: New file.
9912 * config/lm32/_umodsi3.c: New file.
9913 * config/lm32/_lshrsi3.S: New file.
9914 * config/lm32/_ashrsi3.S: New file.
9915 * config/lm32/_ashlsi3.S: New file.
9916 * config/lm32/crti.S: New file.
9917 * config/lm32/crtn.S: New file.
9918 * config/lm32/t-lm32: New file.
9919 * config/lm32/t-elf: New file.
9920 * config/lm32/t-uclinux: New file.
9921
9922 2009-10-26 Nick Clifton <nickc@redhat.com>
9923
9924 * config.host: Add support for RX target.
9925 * config/rx: New directory.
9926 * config/rx/rx-abi-functions.c: New file. Supplementary
9927 functions for libgcc to support the RX ABI.
9928 * config/rx/rx-abi.h: New file. Supplementary header file for
9929 libgcc RX ABI functions.
9930 * config/rx/t-rx: New file: Makefile fragment for building
9931 libgcc for the RX.
9932
9933 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9934
9935 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9936 constraint of y0 to "g".
9937
9938 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9939
9940 * config.host: Include the s390 makefile fragments.
9941 * config/s390/32/_fixdfdi.c: New file.
9942 * config/s390/32/_fixsfdi.c: New file.
9943 * config/s390/32/_fixtfdi.c: New file.
9944 * config/s390/32/_fixunsdfdi.c: New file.
9945 * config/s390/32/_fixunssfdi.c: New file.
9946 * config/s390/32/_fixunstfdi.c: New file.
9947 * config/s390/32/t-floattodi: New file.
9948 * config/s390/libgcc-glibc.ver: New file.
9949 * config/s390/t-crtstuff: New file.
9950 * config/s390/t-linux: New file.
9951 * config/s390/t-tpf: New file.
9952
9953 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9954
9955 * configure.ac (AC_PREREQ): Bump to 2.64.
9956
9957 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9958
9959 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9960
9961 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9962
9963 * configure: Regenerate.
9964
9965 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9966
9967 * config.host (ia64-hp-*vms*): New target.
9968 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9969 with ia64-hp-*vms*.
9970
9971 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9972
9973 * configure.ac: Add snippet for maintainer-mode.
9974 * configure: Regenerate.
9975 * Makefile.in (AUTOCONF, configure_deps): New variables.
9976 ($(srcdir)/configure)): New rule, active only with maintainer
9977 mode turned on.
9978
9979 2009-06-23 DJ Delorie <dj@redhat.com>
9980
9981 Add MeP port.
9982 * config.host: Add mep support.
9983
9984 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9985
9986 * config.host: Add i386/${host_address}/t-fprules-softfp and
9987 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9988
9989 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9990 for mingw targets.
9991 * config/i386/64/_multc3.c: Likewise.
9992 * config/i386/64/_powitf2.c: Likewise.
9993 * config/i386/64/eqtf2.c: Likewise.
9994 * config/i386/64/getf2.c: Likewise.
9995 * config/i386/64/letf2.c: Likewise.
9996 * config/i386/64/letf2.c: Likewise.
9997 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9998 unsigned long long for x64 mingw targets.
9999 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10000 (_FP_I_TYPE): Define as long long for x64 mingw target.
10001
10002 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10003
10004 * config.host (vax-*-linux*): New.
10005
10006 2009-05-31 Anthony Green <green@moxielogic.com>
10007
10008 * config.host: Add moxie support.
10009 * config/moxie/t-moxie: New file.
10010
10011 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10012
10013 * config.host: Add i386/${host_address}/t-fprules-softfp and
10014 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10015
10016 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10017
10018 * config.host: Add i386/${host_address}/t-fprules-softfp to
10019 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10020
10021 2009-04-09 Nick Clifton <nickc@redhat.com>
10022
10023 * config/ia64/tf-signs.c: Change copyright header to refer to
10024 version 3 of the GNU General Public License with version 3.1
10025 of the GCC Runtime Library Exception and to point readers at
10026 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10027 web page.
10028 * config/i386/32/tf-signs.c: Likewise.
10029 * config/libbid/_addsub_dd.c: Likewise.
10030 * config/libbid/_addsub_sd.c: Likewise.
10031 * config/libbid/_addsub_td.c: Likewise.
10032 * config/libbid/_dd_to_df.c: Likewise.
10033 * config/libbid/_dd_to_di.c: Likewise.
10034 * config/libbid/_dd_to_sd.c: Likewise.
10035 * config/libbid/_dd_to_sf.c: Likewise.
10036 * config/libbid/_dd_to_si.c: Likewise.
10037 * config/libbid/_dd_to_td.c: Likewise.
10038 * config/libbid/_dd_to_tf.c: Likewise.
10039 * config/libbid/_dd_to_udi.c: Likewise.
10040 * config/libbid/_dd_to_usi.c: Likewise.
10041 * config/libbid/_dd_to_xf.c: Likewise.
10042 * config/libbid/_df_to_dd.c: Likewise.
10043 * config/libbid/_df_to_sd.c: Likewise.
10044 * config/libbid/_df_to_td.c: Likewise.
10045 * config/libbid/_di_to_dd.c: Likewise.
10046 * config/libbid/_di_to_sd.c: Likewise.
10047 * config/libbid/_di_to_td.c: Likewise.
10048 * config/libbid/_div_dd.c: Likewise.
10049 * config/libbid/_div_sd.c: Likewise.
10050 * config/libbid/_div_td.c: Likewise.
10051 * config/libbid/_eq_dd.c: Likewise.
10052 * config/libbid/_eq_sd.c: Likewise.
10053 * config/libbid/_eq_td.c: Likewise.
10054 * config/libbid/_ge_dd.c: Likewise.
10055 * config/libbid/_ge_sd.c: Likewise.
10056 * config/libbid/_ge_td.c: Likewise.
10057 * config/libbid/_gt_dd.c: Likewise.
10058 * config/libbid/_gt_sd.c: Likewise.
10059 * config/libbid/_gt_td.c: Likewise.
10060 * config/libbid/_isinfd128.c: Likewise.
10061 * config/libbid/_isinfd32.c: Likewise.
10062 * config/libbid/_isinfd64.c: Likewise.
10063 * config/libbid/_le_dd.c: Likewise.
10064 * config/libbid/_le_sd.c: Likewise.
10065 * config/libbid/_le_td.c: Likewise.
10066 * config/libbid/_lt_dd.c: Likewise.
10067 * config/libbid/_lt_sd.c: Likewise.
10068 * config/libbid/_lt_td.c: Likewise.
10069 * config/libbid/_mul_dd.c: Likewise.
10070 * config/libbid/_mul_sd.c: Likewise.
10071 * config/libbid/_mul_td.c: Likewise.
10072 * config/libbid/_ne_dd.c: Likewise.
10073 * config/libbid/_ne_sd.c: Likewise.
10074 * config/libbid/_ne_td.c: Likewise.
10075 * config/libbid/_sd_to_dd.c: Likewise.
10076 * config/libbid/_sd_to_df.c: Likewise.
10077 * config/libbid/_sd_to_di.c: Likewise.
10078 * config/libbid/_sd_to_sf.c: Likewise.
10079 * config/libbid/_sd_to_si.c: Likewise.
10080 * config/libbid/_sd_to_td.c: Likewise.
10081 * config/libbid/_sd_to_tf.c: Likewise.
10082 * config/libbid/_sd_to_udi.c: Likewise.
10083 * config/libbid/_sd_to_usi.c: Likewise.
10084 * config/libbid/_sd_to_xf.c: Likewise.
10085 * config/libbid/_sf_to_dd.c: Likewise.
10086 * config/libbid/_sf_to_sd.c: Likewise.
10087 * config/libbid/_sf_to_td.c: Likewise.
10088 * config/libbid/_si_to_dd.c: Likewise.
10089 * config/libbid/_si_to_sd.c: Likewise.
10090 * config/libbid/_si_to_td.c: Likewise.
10091 * config/libbid/_td_to_dd.c: Likewise.
10092 * config/libbid/_td_to_df.c: Likewise.
10093 * config/libbid/_td_to_di.c: Likewise.
10094 * config/libbid/_td_to_sd.c: Likewise.
10095 * config/libbid/_td_to_sf.c: Likewise.
10096 * config/libbid/_td_to_si.c: Likewise.
10097 * config/libbid/_td_to_tf.c: Likewise.
10098 * config/libbid/_td_to_udi.c: Likewise.
10099 * config/libbid/_td_to_usi.c: Likewise.
10100 * config/libbid/_td_to_xf.c: Likewise.
10101 * config/libbid/_tf_to_dd.c: Likewise.
10102 * config/libbid/_tf_to_sd.c: Likewise.
10103 * config/libbid/_tf_to_td.c: Likewise.
10104 * config/libbid/_udi_to_dd.c: Likewise.
10105 * config/libbid/_udi_to_sd.c: Likewise.
10106 * config/libbid/_udi_to_td.c: Likewise.
10107 * config/libbid/_unord_dd.c: Likewise.
10108 * config/libbid/_unord_sd.c: Likewise.
10109 * config/libbid/_unord_td.c: Likewise.
10110 * config/libbid/_usi_to_dd.c: Likewise.
10111 * config/libbid/_usi_to_sd.c: Likewise.
10112 * config/libbid/_usi_to_td.c: Likewise.
10113 * config/libbid/_xf_to_dd.c: Likewise.
10114 * config/libbid/_xf_to_sd.c: Likewise.
10115 * config/libbid/_xf_to_td.c: Likewise.
10116 * config/libbid/bid128.c: Likewise.
10117 * config/libbid/bid128_2_str.h: Likewise.
10118 * config/libbid/bid128_2_str_macros.h: Likewise.
10119 * config/libbid/bid128_2_str_tables.c: Likewise.
10120 * config/libbid/bid128_add.c: Likewise.
10121 * config/libbid/bid128_compare.c: Likewise.
10122 * config/libbid/bid128_div.c: Likewise.
10123 * config/libbid/bid128_fma.c: Likewise.
10124 * config/libbid/bid128_logb.c: Likewise.
10125 * config/libbid/bid128_minmax.c: Likewise.
10126 * config/libbid/bid128_mul.c: Likewise.
10127 * config/libbid/bid128_next.c: Likewise.
10128 * config/libbid/bid128_noncomp.c: Likewise.
10129 * config/libbid/bid128_quantize.c: Likewise.
10130 * config/libbid/bid128_rem.c: Likewise.
10131 * config/libbid/bid128_round_integral.c: Likewise.
10132 * config/libbid/bid128_scalb.c: Likewise.
10133 * config/libbid/bid128_sqrt.c: Likewise.
10134 * config/libbid/bid128_string.c: Likewise.
10135 * config/libbid/bid128_to_int16.c: Likewise.
10136 * config/libbid/bid128_to_int32.c: Likewise.
10137 * config/libbid/bid128_to_int64.c: Likewise.
10138 * config/libbid/bid128_to_int8.c: Likewise.
10139 * config/libbid/bid128_to_uint16.c: Likewise.
10140 * config/libbid/bid128_to_uint32.c: Likewise.
10141 * config/libbid/bid128_to_uint64.c: Likewise.
10142 * config/libbid/bid128_to_uint8.c: Likewise.
10143 * config/libbid/bid32_to_bid128.c: Likewise.
10144 * config/libbid/bid32_to_bid64.c: Likewise.
10145 * config/libbid/bid64_add.c: Likewise.
10146 * config/libbid/bid64_compare.c: Likewise.
10147 * config/libbid/bid64_div.c: Likewise.
10148 * config/libbid/bid64_fma.c: Likewise.
10149 * config/libbid/bid64_logb.c: Likewise.
10150 * config/libbid/bid64_minmax.c: Likewise.
10151 * config/libbid/bid64_mul.c: Likewise.
10152 * config/libbid/bid64_next.c: Likewise.
10153 * config/libbid/bid64_noncomp.c: Likewise.
10154 * config/libbid/bid64_quantize.c: Likewise.
10155 * config/libbid/bid64_rem.c: Likewise.
10156 * config/libbid/bid64_round_integral.c: Likewise.
10157 * config/libbid/bid64_scalb.c: Likewise.
10158 * config/libbid/bid64_sqrt.c: Likewise.
10159 * config/libbid/bid64_string.c: Likewise.
10160 * config/libbid/bid64_to_bid128.c: Likewise.
10161 * config/libbid/bid64_to_int16.c: Likewise.
10162 * config/libbid/bid64_to_int32.c: Likewise.
10163 * config/libbid/bid64_to_int64.c: Likewise.
10164 * config/libbid/bid64_to_int8.c: Likewise.
10165 * config/libbid/bid64_to_uint16.c: Likewise.
10166 * config/libbid/bid64_to_uint32.c: Likewise.
10167 * config/libbid/bid64_to_uint64.c: Likewise.
10168 * config/libbid/bid64_to_uint8.c: Likewise.
10169 * config/libbid/bid_b2d.h: Likewise.
10170 * config/libbid/bid_binarydecimal.c: Likewise.
10171 * config/libbid/bid_conf.h: Likewise.
10172 * config/libbid/bid_convert_data.c: Likewise.
10173 * config/libbid/bid_decimal_data.c: Likewise.
10174 * config/libbid/bid_decimal_globals.c: Likewise.
10175 * config/libbid/bid_div_macros.h: Likewise.
10176 * config/libbid/bid_dpd.c: Likewise.
10177 * config/libbid/bid_flag_operations.c: Likewise.
10178 * config/libbid/bid_from_int.c: Likewise.
10179 * config/libbid/bid_functions.h: Likewise.
10180 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10181 * config/libbid/bid_inline_add.h: Likewise.
10182 * config/libbid/bid_internal.h: Likewise.
10183 * config/libbid/bid_round.c: Likewise.
10184 * config/libbid/bid_sqrt_macros.h: Likewise.
10185
10186 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10187
10188 * Makefile.in: Change copyright header to refer to version
10189 3 of the GNU General Public License and to point readers at the
10190 COPYING3 file and the FSF's license web page.
10191 * config.host: Likewise.
10192
10193 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10194
10195 * config.host: Reorder and merge to match config.gcc change.
10196
10197 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10198
10199 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10200
10201 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10202
10203 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10204 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10205 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10206 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10207
10208 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10209
10210 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10211 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10212
10213 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10214
10215 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10216 ia64/t-softfp-compat to tmake_file.
10217
10218 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10219
10220 * config/ia64/__divxf3.asm: New.
10221 * config/ia64/_fixtfdi.asm: Likewise.
10222 * config/ia64/_fixunstfdi.asm: Likewise.
10223 * config/ia64/_floatditf.asm: Likewise.
10224 * config/ia64/t-fprules-softfp: Likewise.
10225 * config/ia64/t-softfp-compat: Likewise.
10226 * config/ia64/tf-signs.c: Likewise.
10227
10228 2009-01-18 Ben Elliston <bje@au.ibm.com>
10229
10230 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10231
10232 2009-01-16 Ben Elliston <bje@au.ibm.com>
10233
10234 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10235 to tmake_file.
10236
10237 2009-01-13 Ben Elliston <bje@au.ibm.com>
10238
10239 * config/t-softfp: New file.
10240 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10241 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10242
10243 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10244
10245 * config.host: Add m32r*-*-rtems*.
10246
10247 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10248
10249 * config.host: Add m32c*-*-rtems*.
10250
10251 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10252
10253 PR bootstrap/33100
10254 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10255 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10256 * configure: Regenerate.
10257 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10258 tmake_file here from gcc/config.gcc.
10259 Move extra_parts here from gcc/config.gcc.
10260 * config/i386/t-sol2: Move here from gcc/config/i386.
10261 Use gcc_srcdir instead of srcdir.
10262
10263 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10264
10265 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10266 case.
10267
10268 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10269
10270 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10271
10272 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10273
10274 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10275
10276 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10277
10278 Add picoChip port.
10279 * config.host: Add picochip-*-*.
10280
10281 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10282
10283 * config.host: Match more processor names for Xtensa.
10284
10285 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10286
10287 * config/i386/64/t-softfp-compat: Update comments.
10288
10289 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10290
10291 * config/i386/64/_divtc3-compat.c: Moved to ...
10292 * config/i386/64/_divtc3.c: Here.
10293
10294 * config/i386/64/_multc3-compat.c: Moved to ...
10295 * config/i386/64/_multc3.c: Here.
10296
10297 * config/i386/64/_powitf2-compat.c: Moved to ...
10298 * config/i386/64/_powitf2.c: Here.
10299
10300 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10301 .c suffix instead of -compat.c.
10302
10303 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10304
10305 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10306 (_FP_MUL_MEAT_D): Ditto.
10307 (_FP_DIV_MEAT_S): Ditto.
10308 (_FP_DIV_MEAT_D): Ditto.
10309
10310 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10311
10312 * Makefile.in: Add support for __sync_* libgcc functions.
10313
10314 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10317
10318 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10319
10320 PR boostrap/36702
10321 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10322 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10323
10324 * config/i386/64/t-fprules-softfp: Moved to ...
10325 * config/i386/64/t-softfp-compat: This. New.
10326
10327 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10328
10329 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10330 Initialize f with 0.0.
10331
10332 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10333
10334 PR target/36669
10335 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10336
10337 * config/i386/64/_divtc3-compat.c: New.
10338 * config/i386/64/_multc3-compat.c: Likewise.
10339 * config/i386/64/_powitf2-compat.c: Likewise.
10340 * config/i386/64/eqtf2.c: Likewise.
10341 * config/i386/64/getf2.c: Likewise.
10342 * config/i386/64/letf2.c: Likewise.
10343 * config/i386/64/t-fprules-softfp: Likewise.
10344
10345 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10346
10347 * config.host: Add i386/${host_address}/t-fprules-softfp to
10348 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10349 i[34567]86-*-linux*, x86_64-*-linux*.
10350
10351 * configure.ac: Set host_address to 64 or 32 for x86.
10352 * configure: Regenerated.
10353
10354 * Makefile.in (config.status): Also depend on
10355 $(srcdir)/config.host.
10356
10357 * config/i386/32/t-fprules-softfp: New.
10358 * config/i386/32/tf-signs.c: Likewise.
10359
10360 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10361
10362 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10363 Uros Bizjak <ubizjak@gmail.com>
10364
10365 * config/i386/32/sfp-machine.h: New.
10366
10367 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10368
10369 * config/rs6000/t-ppccomm: Remove rules that conflict with
10370 auto-generated rules.
10371
10372 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10373
10374 * configure.ac: sinclude override.m4.
10375 * configure: Regenerate.
10376
10377 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10378
10379 * configure: Regenerate.
10380
10381 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10382
10383 * Makefile.in (DECNUMINC): Remove
10384 -I$(MULTIBUILDTOP)../../libdecnumber.
10385 * gstdint.h: New.
10386
10387 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10388
10389 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10390 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10391 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10392 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10393 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10394 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10395 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10396 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10397 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10398 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10399 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10400 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10401 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10402 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10403
10404 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10405
10406 * config.host (sh2[lbe]*-*-linux*): Allow target.
10407
10408 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10409
10410 * config/rs6000/t-ppccomm: Add build rules for new files.
10411 (LIB2ADD_ST): New variable.
10412
10413 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10414
10415 PR target/34210
10416 PR target/35508
10417 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10418 * config/t-avr: New file. Build 16bit libgcc functions.
10419
10420 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10421
10422 PR target/35401
10423 * config/t-slibgcc-darwin: Make install-leaf dependent on
10424 install-darwin-libgcc-stubs instead of install.
10425
10426 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10427
10428 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10429 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10430 sh-*-rtemscoff*): Remove cases.
10431
10432 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10433
10434 * Makefile.in (all): Use install-leaf rather than install.
10435 (install): Split most of the rule into...
10436 (install-leaf): ...this new one.
10437
10438 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10439 Paolo Bonzini <bonzini@gnu.org>
10440
10441 PR target/30572
10442 * Makefile.in: Use @shlib_slibdir@ substitution to get
10443 correct install name on darwin.
10444 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10445
10446 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10447
10448 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10449 cris-*-elf and cris-*-none.
10450 (crisv32-*-linux*): Similar, as cris-*-linux*.
10451
10452 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10453
10454 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10455
10456 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10457
10458 PR regression/33926
10459 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10460 * configure: Regenerated.
10461
10462 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10463
10464 * Makefile.in (dfp-filenames): Replace decimal_globals,
10465 decimal_data, binarydecimal and convert_data with
10466 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10467 and bid_convert_data, respectively.
10468
10469 2007-09-17 Chao-ying Fu <fu@mips.com>
10470 Nigel Stephens <nigel@mips.com>
10471
10472 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10473 * Makefile.in (fixed_point): Define.
10474 Check if fixed_point is yes to build support functions.
10475 * configure.ac: Check for fixed_point support.
10476 * configure: Regenerated.
10477 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10478 funcs, modes, from, to.
10479
10480 2007-09-11 Janis Johnson <janis187@us.ibm.com
10481
10482 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10483
10484 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10485
10486 * Makefile.in (dfp-filenames): Remove decUtility, add
10487 decDouble, decPacked, decQuad, decSingle.
10488
10489 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10490
10491 * config.host : Add x86_64-elf target.
10492
10493 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10494
10495 * configure.ac (set_have_cc_tls): Add a missing =.
10496 * configure: Regenerated.
10497
10498 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10499
10500 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10501 and x86_64-*-linux*.
10502
10503 * config/t-tls: New file.
10504
10505 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10506
10507 * configure.ac: Include ../config/enable.m4 and
10508 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10509 supports TLS and substitute set_have_cc_tls.
10510 * configure: Regenerated.
10511
10512 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10513
10514 * Makefile.in: Use libbid for DFP when BID is enabled.
10515
10516 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10517
10518 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10519 extra_parts. Add config/i386/t-cygming to tmake_file.
10520 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10521
10522 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10523 Danny Smith <dannysmith@users.sourceforge.net>
10524
10525 PR target/29498
10526 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10527 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10528 * config/i386/t-crtfm: Compile crtfastmath.o with
10529 -minline-all-stringops.
10530
10531 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10532
10533 * config.host (sparc-wrs-vxworks): New target.
10534
10535 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10536
10537 * config.host: Recognize fido.
10538
10539 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10540
10541 * configure: Check host, not target, for decimal float support.
10542
10543 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10544
10545 * config/i386/t-crtpc: New file.
10546 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10547 (x86_64-*-linux*): Ditto.
10548
10549 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10550
10551 * config.host (x86_64-*-mingw*): New target.
10552
10553 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10554 H.J. Lu <hongjiu.lu@intel.com>
10555
10556 * Makefile.in (enable_decimal_float): New.
10557 (DECNUMINC): Add
10558 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10559 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10560 (decbits-filenames): This.
10561 (decbits-objects): New.
10562 (libgcc-objects): Add $(decbits-objects).
10563
10564 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10565 Substitute enable_decimal_float.
10566 * configure: Regenerated.
10567
10568 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10569
10570 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10571
10572 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10573
10574 * Makefile.in (install-info): New dummy target.
10575
10576 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10577
10578 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10579
10580 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10581
10582 * Makefile.in: Add install-html and install-pdf dummy
10583 targets.
10584
10585 2007-02-05 Roger Sayle <roger@eyesopen.com>
10586 Daniel Jacobowitz <dan@codesourcery.com>
10587
10588 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10589 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10590 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10591
10592 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10593
10594 * Makefile.in (dec-filenames): Add decExcept.
10595
10596 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10597
10598 PR bootstrap/30469
10599 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10600 -fprofile-use.
10601
10602 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10603
10604 * configure.ac: Add --enable-version-specific-runtime-libs.
10605 Correct $slibdir default.
10606 * configure: Regenerated.
10607
10608 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10609
10610 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10611
10612 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10613
10614 PR target/30519
10615 * config.host (alpha*-*-linux*): Set extra_parts.
10616
10617 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10618
10619 * config/sh/t-linux: New.
10620 * config.host (sh*-*-linux*): Set tmake_file.
10621
10622 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10623
10624 * Makefile.in (install): Handle multilibs.
10625
10626 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10627
10628 * Makefile.in: Added .PHONY entry for documentation targets.
10629
10630 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10631
10632 * Makefile.in: Add empty info, html, dvi, pdf targets.
10633
10634 2007-01-04 Mike Stump <mrs@apple.com>
10635
10636 * Makefile.in (MAKEINFO): Remove.
10637 (PERL): Likewise.
10638
10639 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10640
10641 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10642 * configure: Regenerate.
10643 * Makefile.in (host_subdir): Substitute it.
10644 (gcc_objdir): Use it.
10645
10646 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10647
10648 * config.host (ia64*-*-linux*): Set tmake_file.
10649
10650 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10651
10652 * Makefile.in (version): Define.
10653
10654 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10655 Paolo Bonzini <bonzini@gnu.org>
10656
10657 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10658 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10659 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10660 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10661 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10662 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10663 * configure: Generated.
10664 \f
10665 Copyright (C) 2007-2020 Free Software Foundation, Inc.
10666
10667 Copying and distribution of this file, with or without modification,
10668 are permitted in any medium without royalty provided the copyright
10669 notice and this notice are preserved.