]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
tree-optimization/95495 - use SLP_TREE_REPRESENTATIVE in assertion
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2020-06-02 Jim Wilson <jimw@sifive.com>
2
3 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
4 to bgtz.
5
6 2020-06-02 Martin Liska <mliska@suse.cz>
7
8 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
9 of xmalloc.
10
11 2020-06-02 Martin Liska <mliska@suse.cz>
12
13 * libgcov-driver.c (prune_topn_counter): Remove.
14 (prune_counters): Likewise.
15 (merge_one_data): Special case TOP N counters
16 as they have variable length.
17 (write_top_counters): New.
18 (write_one_data): Special case TOP N.
19 (dump_one_gcov): Do not prune TOP N counters.
20 * libgcov-merge.c (merge_topn_values_set): Remove.
21 (__gcov_merge_topn): Use gcov_topn_add_value.
22 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
23 Likewise here.
24 * libgcov.h (gcov_counter_add): New.
25 (gcov_counter_set_if_null): Likewise.
26 (gcov_topn_add_value): New.
27
28 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
29
30 * config/i386/sfp-exceptions.c (struct fenv):
31 Add __attribute__ ((gcc_struct)).
32
33 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
34
35 PR bootstrap/95413
36 * configure: Regenerated.
37
38 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
39
40 PR gcov-profile/95332
41 * libgcov-util.c (read_gcda_file): Call gcov_magic.
42 * libgcov.h (gcov_magic): Disable GCC poison.
43
44 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
45
46 PR target/95212
47 * config/i386/cpuinfo.h (processor_features): Move
48 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
49
50 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
51
52 PR target/91695
53 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
54 check.
55
56 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
57
58 PR target/95212
59 PR target/95220
60 * config/i386/cpuinfo.c (get_available_features): Fix
61 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
62 * config/i386/cpuinfo.h (processor_features): Add
63 FEATURE_AVX512VP2INTERSECT.
64
65 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
66
67 PR bootstrap/95147
68 * configure: Regenerated.
69
70 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
71
72 * configure: Regenerated.
73
74 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
75
76 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
77 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
78
79 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
80
81 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
82 (__math_force_eval_div): New define.
83 (__sfp_handle_exceptions): Use __math_force_eval_div to use
84 generic division to generate INVALID, DIVZERO and INEXACT
85 exceptions.
86
87 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
88
89 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
90 instead of getauxval.
91 (AT_HWCAP): Define.
92 (HWCAP_ATOMICS): Define.
93 Guard detection on __gnu_linux__.
94
95 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
96
97 * config.host: Delete changes meant for a private branch.
98 * config/rs6000/t-float128: Likewise.
99 * configure.ac: Likewise.
100 * configure: Likewise.
101
102 2020-05-05 Martin Liska <mliska@suse.cz>
103
104 PR gcov-profile/93623
105 * Makefile.in: Remove __gcov_flush.
106 * gcov.h (__gcov_flush): Remove.
107 * libgcov-interface.c (__gcov_flush): Remove.
108 (init_mx): Use renamed mutex.
109 (__gcov_lock): Likewise.
110 (__gcov_unlock): Likewise.
111 (__gcov_fork): Likewise.
112 (__gcov_flush): Remove.
113
114 2020-05-05 Martin Liska <mliska@suse.cz>
115
116 PR gcov-profile/93623
117 * libgcov-interface.c (__gcov_fork): Do not flush
118 and reset only in child process.
119 (__gcov_execl): Dump counters only and reset them
120 only if exec* fails.
121 (__gcov_execlp): Likewise.
122 (__gcov_execle): Likewise.
123 (__gcov_execv): Likewise.
124 (__gcov_execvp): Likewise.
125 (__gcov_execve): Likewise.
126
127 2020-05-05 Martin Liska <mliska@suse.cz>
128
129 PR gcov-profile/93623
130 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
131 * libgcov-interface.c (ALIAS_void_fn): Remove.
132 (__gcov_lock): New.
133 (__gcov_unlock): New.
134 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
135 (__gcov_reset): Likewise.
136 (__gcov_dump): Likewise.
137 * libgcov.h (__gcov_lock): New declaration.
138 (__gcov_unlock): Likewise.
139
140 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
141
142 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
143 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
144 generic division to generate INVALID and DIVZERO exceptions.
145
146 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
147
148 * config/rs6000/crtresfpr.S: Use .machine ppc.
149 * config/rs6000/crtresxfpr.S: Likewise.
150 * config/rs6000/crtsavfpr.S: Likewise.
151
152 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
153
154 PR target/94514
155 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
156 Update context->flags accroding to the frame state.
157
158 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
159
160 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
161 Remove unneeded assignments to volatile memory.
162
163 2020-04-15 Jakub Jelinek <jakub@redhat.com>
164
165 PR target/93053
166 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
167 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
168 is not defined, use just .arch armv8-a.
169 (B, M, N, OPN): Define.
170 (COMMENT): New .macro.
171 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
172 defined. Otherwise, move the operands right after the glue? and
173 comment out operands where the macros are used.
174 * configure: Regenerated.
175 * config.in: Regenerated.
176
177 2020-04-07 Ian Lance Taylor <iant@golang.org>
178
179 PR libgcc/94513
180 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
181 syscall instead.
182
183 2020-04-04 Ian Lance Taylor <iant@golang.org>
184
185 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
186
187 2020-04-03 Ian Lance Taylor <iant@golang.org>
188
189 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
190 than mmap/munmap, to avoid hooks.
191
192 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
193
194 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
195 (TPFRA_OFFSET): Macros removed.
196 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
197 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
198 (PG3_SKIPPING_OFFSET): New macros.
199 (__isPATrange): Use cinfc_fast for the check.
200 (__isSkipResetAddr): New function.
201 (s390_fallback_frame_state): Check for skip trace addresses. Use
202 either ICST_CRET or ICST_SRET to calculate return address
203 location.
204 (__tpf_eh_return): Handle skip trace addresses.
205
206 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
207
208 PR target/94220
209 * config/arm/lib1funcs.asm (COND): Use a single definition for
210 unified syntax.
211 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
212 (aeabi_idivmod): Likewise.
213 (divsi3_skip_div0_test): Likewise.
214
215 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
216
217 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
218
219 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
220
221 * config.host: Include the new makefile fragment.
222 * config/s390/t-tpf: New file.
223
224 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
225
226 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
227 syntax.
228 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
229 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
230 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
231 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
232 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
233 syntax.
234 (divsi3, modsi3): Likewise.
235 (clzdi2, ctzsi2): Likewise.
236 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
237 unified syntax.
238 (UNWIND_WRAPPER): Likewise.
239
240 2020-03-02 Martin Liska <mliska@suse.cz>
241
242 * libgcov-interface.c: Remove duplicate
243 declaration of __gcov_flush_mx.
244
245 2020-02-18 Martin Liska <mliska@suse.cz>
246
247 PR ipa/92924
248 * libgcov-merge.c (merge_topn_values_set): Record
249 when a TOP N counter becomes invalid. When merging
250 remove a smallest value if the space is needed.
251
252 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
253
254 PR libstdc++/79193
255 PR libstdc++/88999
256
257 * configure: Regenerated.
258
259 2020-02-10 Jeff Law <law@redhat.com>
260
261 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
262 sections.
263 * config/frv/frvend.c: Similarly.
264
265 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
266
267 PR libgcc/85334
268 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
269 New.
270
271 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
272
273 PR target/93615
274 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
275 _Unwind_gnu_Find_got.
276 * unwind-pe.h: Likewise.
277
278 2020-02-07 Jakub Jelinek <jakub@redhat.com>
279
280 PR target/93615
281 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
282 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
283 trailing :s in asm. Formatting fixes.
284 (_Unwind_decode_typeinfo_ptr): Adjust caller.
285
286 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
287
288 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
289
290 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
291 * config/nios2-elf-lib.h: New.
292 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
293 code for finding GOT base for nios2.
294
295 2020-01-27 Martin Liska <mliska@suse.cz>
296
297 PR gcov-profile/93403
298 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
299 Call __gcov_indirect_call_profiler_body.
300 (__gcov_indirect_call_profiler_body): New.
301 (__gcov_indirect_call_profiler_v4_atomic): New.
302 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
303 New declaration.
304
305 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
306
307 * config/arc/crti.S: Add RF16 object attribute.
308 * config/arc/crtn.S: Likewise.
309 * config/arc/crttls.S: Likewise.
310 * config/arc/lib1funcs.S: Likewise.
311 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
312 * config/arc/lib2funcs.c: New file.
313 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
314
315 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
316
317 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
318 * configure.ac: Handle `--with-toolexeclibdir='.
319 * configure: Regenerate.
320
321 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
322
323 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
324
325 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
326
327 * config/mips/gnustack.h: New file.
328 * config/mips/crti.S: Include gnustack.h.
329 * config/mips/crtn.S: Likewise.
330 * config/mips/mips16.S: Likewise.
331 * config/mips/vr4120-div.S: Likewise.
332
333 2020-01-23 Martin Liska <mliska@suse.cz>
334
335 * libgcov-driver.c (prune_topn_counter): Remove
336 check for -1 as we only prune run-time counters
337 that do not generate an invalid state.
338
339 2020-01-22 Martin Liska <mliska@suse.cz>
340
341 PR tree-optimization/92924
342 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
343 try to find an existing value, then find an empty slot
344 if not found.
345
346 2020-01-22 Martin Liska <mliska@suse.cz>
347
348 PR tree-optimization/92924
349 * libgcov-driver.c (prune_topn_counter): New.
350 (prune_counters): Likewise.
351 (dump_one_gcov): Prune a run-time counter.
352 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
353 For a known value, add GCOV_TOPN_VALUES to value.
354 Otherwise, decrement all counters by one.
355
356 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
357
358 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
359
360 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
361
362 PR libgcc/92988
363 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
364 DEFAULT_USE_CXA_ATEXIT is true.
365
366 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
367 Thomas Preud'homme <thomas.preudhomme@arm.com>
368
369 * config/arm/t-arm: Check return value of gcc rather than lack of
370 output.
371
372 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
373
374 * config/avr/lib1funcs.S (skip): Simplify.
375
376 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
377
378 * config/gcn/atomic.c: Remove include of stdint.h.
379 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
380 __UINTPTR_TYPE__.
381
382 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
383
384 * config/gcn/atomic.c: New.
385 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
386
387 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
388
389 Implement 64-bit double functions.
390
391 PR target/92055
392 * config.host (tmake_file) [target=avr]: Add t-libf7,
393 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
394 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
395 depending on sizeof (double) or sizeof (long double).
396 * config/avr/libf7: New folder.
397
398 2020-01-05 Olivier Hainque <hainque@adacore.com>
399
400 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
401 by IN_LIBGCC2.
402
403 2020-01-01 Jakub Jelinek <jakub@redhat.com>
404
405 Update copyright years.
406
407 2019-12-30 Olivier Hainque <hainque@adacore.com>
408
409 * config/gthr-vxworks.h: Use _vxworks-versions.h.
410 * config/gthr-vxworks-tls.c: Likewise.
411
412 2019-12-30 Olivier Hainque <hainque@adacore.com>
413
414 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
415 standard zero-initializer syntax.
416
417 2019-12-30 Olivier Hainque <hainque@adacore.com>
418
419 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
420 reference to the internal VX_GET_TLS_DATA interface.
421
422 2019-12-30 Olivier Hainque <hainque@adacore.com>
423
424 * config/vxcrtstuff.c: Fix incorrect spelling of
425 USE_INITFINI_ARRAY in guard.
426
427 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
428
429 * config.host: s/msp430*-*-elf/msp430-*-elf*.
430 Override default "extra_parts" variable.
431 * configure: Regenerate.
432 * configure.ac: Disable TM clone registry by default for
433 msp430-elfbare.
434
435 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
436
437 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
438 "extra_parts".
439 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
440
441 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
442
443 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
444 true.
445
446 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
447
448 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
449 defined instead of its value.
450
451 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
452
453 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
454 if it will have contents.
455
456 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
457
458 PR target/92055
459 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
460
461 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
462
463 PR libgcc/91737
464 * config.host: Add t-gthr-noweak on *-*-musl*.
465 * config/t-gthr-noweak: New file.
466
467 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
468
469 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
470 volatile void *. Remove trap check.
471 (__kernel_cmpxchg2): Likewise.
472 (FETCH_AND_OP_2): Adjust operand types.
473 (OP_AND_FETCH_2): Likewise.
474 (FETCH_AND_OP_WORD): Likewise.
475 (OP_AND_FETCH_WORD): Likewise.
476 (COMPARE_AND_SWAP_2): Likewise.
477 (__sync_val_compare_and_swap_4): Likewise.
478 (__sync_bool_compare_and_swap_4): Likewise.
479 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
480 (__sync_lock_test_and_set_4): Likewise.
481 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
482 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
483 for release.
484 (__sync_lock_release_8): Remove.
485
486 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
487
488 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
489 of __sigset_t.
490
491 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
492 Doug Rupp <rupp@adacore.com>
493 Olivier Hainque <hainque@adacore.com>
494
495 * config.host: Collapse the arm-vxworks entries into
496 a single arm-wrs-vxworks7* one.
497 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
498 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
499 kernel modules, to be overriden by libstdc++ when we link with
500 it. Rely on externally provided __exidx_start/end.
501
502 2019-11-14 Doug Rupp <rupp@adacore.com>
503 Olivier Hainque <hainque@adacore.com>
504
505 * config.host: Handle aarch64*-wrs-vxworks7*.
506
507 2019-11-12 Olivier Hainque <hainque@adacore.com>
508
509 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
510 sources except the cxx0x support to LIB2ADDEH. We don't support
511 cxx0x on AE/653.
512 * config/t-vxworksae: New file.
513 * config.host: Handle *-*-vxworksae: Add the two aforementioned
514 Makefile fragment files at their expected position in the tmake_file
515 list, in accordance with what is done for other VxWorks variants.
516
517 2019-11-12 Corentin Gay <gay@adacore.com>
518 Jerome Lambourg <lambourg@adacore.com>
519 Olivier Hainque <hainque@adacore.com>
520
521 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
522 sources to LIB2ADDEH.
523 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
524 * config/t-vxworks7: Likewise.
525
526 * config.host: Append a block at the end of the file to add the
527 t-gthr files to the tmake_file list for VxWorks after everything
528 else.
529
530 * config/vxlib.c: Rename as gthr-vxworks.c.
531 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
532
533 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
534 API and a basic error checking API, both internal. Simplify the
535 __gthread_once_t type definition and initializers. Add sections
536 for condition variables support and for the C++0x thread support,
537 conditioned against Vx653 for the latter.
538
539 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
540 implementation, leveraging the TAS internal API.
541 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
542 API, leveraging the general availability of TLS services in VxWorks7
543 post SR6xxx.
544 (__gthread_setspecific, __gthread_setspecific): Use it.
545 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
546 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
547 support based on VxWorks primitives.
548 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
549 based on VxWorks primitives.
550
551 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
552 Olivier Hainque <hainque@adacore.com>
553
554 * config/vxcrtstuff.c: New file.
555 * config/t-vxcrtstuff: New Makefile fragment.
556 * config.host: Append t-vxcrtstuff to the tmake_file list
557 on all VxWorks ports using dwarf for table based EH.
558
559 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
560
561 Support 64-bit double and 64-bit long double configurations.
562
563 PR target/92055
564 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
565 long double is a 32-bit type.
566 * config/avr/t-avrlibc: Copy double64 and long-double64
567 multilib(s) from the vanilla one.
568 * config/avr/t-copy-libgcc: New Makefile snip.
569
570 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
571
572 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
573 the target output object format is not ELF.
574 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
575
576 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
577
578 PR libgcc/78804
579 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
580 * fp-bit.c (pack_d, unpack_d): Remove special cases for
581 FLOAT_BIT_ORDER_MISMATCH.
582 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
583
584 2019-11-01 Jim Wilson <jimw@sifive.com>
585
586 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
587
588 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
589
590 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
591 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
592 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
593 Define symbols for 32-bit and f5series hardware multiply
594 register addresses.
595 Replace hard-coded register addresses with symbols.
596 Fix "_mspabi*" typo.
597 Fix whitespace.
598 * config/msp430/lib2mul.c: Add comment.
599
600 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
601
602 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
603 unsigned int. Adjust callers.
604 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
605 unsigned int *. Load relocation offset before function pointer.
606 Add barrier to ensure ordering.
607
608 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
609
610 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
611 Load PIC register after branch target. Fix white space.
612 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
613 implementations. Load PIC register after branch target. Don't
614 clobber function pointer when it points to function descriptor.
615 Use nullification instead of branch in LINUX implementation.
616
617 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
618
619 * config/pa/fptr.c: Disable -Warray-bounds warning.
620
621 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
622
623 * config.in, configure: Re-rebuild with stock autoconf 2.69,
624 not the ubuntu modified 2.69.
625
626 PR target/91833
627 * config/aarch64/lse-init.c: Include auto-target.h. Disable
628 initialization if !HAVE_SYS_AUXV_H.
629 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
630 * config.in, configure: Rebuild.
631
632 PR target/91834
633 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
634 overlap the inputs.
635
636 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
637
638 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
639 CTR_EL0.IDC and CTR_EL0.DIC.
640
641 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
642
643 Revert:
644 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
645 Mickaël Guêné <mickael.guene@st.com>
646
647 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
648 architecture.
649
650 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
651
652 * config/aarch64/lse-init.c: New file.
653 * config/aarch64/lse.S: New file.
654 * config/aarch64/t-lse: New file.
655 * config.host: Add t-lse to all aarch64 tuples.
656
657 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
658 Mickaël Guêné <mickael.guene@st.com>
659
660 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
661 architecture.
662
663 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
664 Mickaël Guêné <mickael.guene@st.com>
665
666 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
667 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
668 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
669 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
670 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
671 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
672 (__gnu_personality_sigframe_fdpic): New.
673 (get_eit_entry): Add FDPIC signal frame support.
674
675 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
676 Mickaël Guêné <mickael.guene@st.com>
677
678 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
679 (__kernel_dmb): Likewise.
680 (__fdpic_cmpxchg): New function.
681 (__fdpic_dmb): New function.
682 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
683 (gnu_Unwind_Find_got): New function.
684 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
685 * unwind-arm-common.inc (UCB_PR_GOT): New.
686 (funcdesc_t): New struct.
687 (get_eit_entry): Add FDPIC support.
688 (unwind_phase2): Likewise.
689 (unwind_phase2_forced): Likewise.
690 (__gnu_Unwind_RaiseException): Likewise.
691 (__gnu_Unwind_Resume): Likewise.
692 (__gnu_Unwind_Backtrace): Likewise.
693 * unwind-pe.h (read_encoded_value_with_base): Likewise.
694
695 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
696 Mickaël Guêné <mickael.guene@st.com>
697
698 * libgcc/crtstuff.c: Add support for FDPIC.
699
700 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
701
702 * config.host: Handle *-*-uclinuxfdpiceabi.
703
704 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
705
706 * config.host: Set cpu_type for bpf-*-* targets.
707 * config/bpf/t-bpf: Likewise.
708 * config/bpf/crtn.S: Likewise.
709 * config/bpf/crti.S: New file.
710
711 2019-09-06 Jim Wilson <jimw@sifive.com>
712
713 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
714 (riscv*-*-freebsd*): Likewise.
715
716 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
717
718 * config.host: Remove references to spu.
719 * config/spu/: Remove directory.
720
721 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
722
723 PR target/91306
724 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
725 element type, instead of "sizeof" the element type.
726 (__DTOR_LIST__): Likewise.
727 (__TMC_LIST__): Likewise.
728 (__do_global_dtors_aux_fini_array_entry): Likewise.
729 (__frame_dummy_init_array_entry): Likewise.
730 (__CTOR_END__): Likewise.
731 (__DTOR_END__): Likweise.
732 (__FRAME_END__): Likewise.
733 (__TMC_END__): Likewise.
734
735 2019-08-20 Lili Cui <lilicui@intel.com>
736
737 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
738 INTEL_COREI7_COOPERLAKE.
739
740 2019-07-31 Matt Thomas <matt@3am-software.com>
741 Nick Hudson <nick@nthcliff.demon.co.uk>
742 Matthew Green <mrg@eterna.com.au>
743 Maya Rashish <coypu@sdf.org>
744
745 * config.host (hppa*-*-netbsd*): New case.
746 * config/pa/t-netbsd: New file.
747
748 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
749
750 * config/arm/cmse.c (cmse_check_address_range): Add
751 warn_unused_result attribute.
752
753 2019-07-22 Martin Liska <mliska@suse.cz>
754
755 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
756 * config/pa/t-stublib: Likewise.
757
758 2019-07-22 Stafford Horne <shorne@gmail.com>
759
760 PR target/90362
761 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
762 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
763 instructions are not available on every processor. Change a
764 l.bnf to l.bf to fix logic issue.
765
766 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
767
768 * config.host: Remove reference to t-darwin8.
769
770 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
771
772 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
773 list.
774 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
775 mmacosx-version-min for crts to run across all system versions.
776 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
777 * config/t-darwin: Revise mmacosx-version-min for crts to run across
778 system versions >= 10.4.
779
780 2019-07-03 Martin Liska <mliska@suse.cz>
781
782 * Makefile.in: Use topn_values instead of one_value names.
783 * libgcov-merge.c (__gcov_merge_single): Move to ...
784 (__gcov_merge_topn): ... this.
785 (merge_single_value_set): Move to ...
786 (merge_topn_values_set): ... this.
787 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
788 ...
789 (__gcov_topn_values_profiler_body): ... this.
790 (__gcov_one_value_profiler_v2): Move to ...
791 (__gcov_topn_values_profiler): ... this.
792 (__gcov_one_value_profiler_v2_atomic): Move to ...
793 (__gcov_topn_values_profiler_atomic): ... this.
794 (__gcov_indirect_call_profiler_v4): Remove.
795 * libgcov-util.c (__gcov_single_counter_op): Move to ...
796 (__gcov_topn_counter_op): ... this.
797 * libgcov.h (L_gcov_merge_single): Remove.
798 (L_gcov_merge_topn): New.
799 (__gcov_merge_single): Remove.
800 (__gcov_merge_topn): New.
801 (__gcov_one_value_profiler_v2): Move to ..
802 (__gcov_topn_values_profiler): ... this.
803 (__gcov_one_value_profiler_v2_atomic): Move to ...
804 (__gcov_topn_values_profiler_atomic): ... this.
805
806 2019-07-03 Martin Liska <mliska@suse.cz>
807
808 * libgcov-merge.c (merge_single_value_set): Support N values.
809 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
810
811 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
812
813 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
814 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
815 * configure.ac: Add --disable-tm-clone-registry option.
816 * configure: Regenerate.
817
818 2019-06-27 Martin Liska <mliska@suse.cz>
819
820 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
821 dead assignments.
822 * libgcov-util.c: Likewise.
823
824 2019-06-27 Martin Liska <mliska@suse.cz>
825
826 * libgcov-util.c (gcov_profile_merge): Release allocated
827 memory.
828 (calculate_overlap): Likewise.
829
830 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
831
832 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
833 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
834 Build objects for the out of line save/restore register functions
835 so that they can be used for any supported Darwin version.
836 * config/t-darwin: Default the build Darwin version to Darwin8
837 (MacOS 10.4).
838
839 2019-06-25 Martin Liska <mliska@suse.cz>
840
841 * libgcov-driver-system.c (replace_filename_variables): Do not
842 call strlen with NULL argument.
843
844 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
845
846 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
847 * config/gcn/unwind-gcn.c: New file.
848
849 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
850 Andrew Stubbs <ams@codesourcery.com>
851
852 * configure: Regenerate.
853 * config/gcn/gthr-gcn.h: New.
854
855 2019-06-18 Tom de Vries <tdevries@suse.de>
856
857 * config/nvptx/crt0.c (__main): Declare.
858
859 2019-06-17 Matthew Green <mrg@eterna.com.au>
860 Maya Rashish <coypu@sdf.org>
861
862 * config.host (aarch64*-*-netbsd*): New case.
863
864 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
865
866 * config/msp430/slli.S (__mspabi_sllll): New library function for
867 performing a logical left shift of a 64-bit value.
868 * config/msp430/srai.S (__mspabi_srall): New library function for
869 performing a arithmetic right shift of a 64-bit value.
870 * config/msp430/srll.S (__mspabi_srlll): New library function for
871 performing a logical right shift of a 64-bit value.
872
873 2019-06-14 Matt Thomas <matt@3am-software.com>
874 Matthew Green <mrg@eterna.com.au>
875 Nick Hudson <skrll@netbsd.org>
876 Maya Rashish <coypu@sdf.org>
877
878 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
879 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
880 functions to build.
881 * config/arm/t-netbsd-eabi: New file.
882
883 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
884
885 * config.host: Add PRU target.
886 * config/pru/asri.c: New file.
887 * config/pru/eqd.c: New file.
888 * config/pru/eqf.c: New file.
889 * config/pru/ged.c: New file.
890 * config/pru/gef.c: New file.
891 * config/pru/gtd.c: New file.
892 * config/pru/gtf.c: New file.
893 * config/pru/led.c: New file.
894 * config/pru/lef.c: New file.
895 * config/pru/lib2bitcountHI.c: New file.
896 * config/pru/lib2divHI.c: New file.
897 * config/pru/lib2divQI.c: New file.
898 * config/pru/lib2divSI.c: New file.
899 * config/pru/libgcc-eabi.ver: New file.
900 * config/pru/ltd.c: New file.
901 * config/pru/ltf.c: New file.
902 * config/pru/mpyll.S: New file.
903 * config/pru/pru-abi.h: New file.
904 * config/pru/pru-asm.h: New file.
905 * config/pru/pru-divmod.h: New file.
906 * config/pru/sfp-machine.h: New file.
907 * config/pru/t-pru: New file.
908
909 2019-06-11 Jakub Jelinek <jakub@redhat.com>
910
911 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
912
913 2019-06-10 Martin Liska <mliska@suse.cz>
914
915 PR bootstrap/90808
916 * libgcov.h: Add ATTRIBUTE_UNUSED.
917
918 2019-06-10 Martin Liska <mliska@suse.cz>
919
920 * Makefile.in: Add __gcov_one_value_profiler_v2,
921 __gcov_one_value_profiler_v2_atomic and
922 __gcov_indirect_call_profiler_v4.
923 * libgcov-merge.c (__gcov_merge_single): Change
924 function signature.
925 (merge_single_value_set): New.
926 * libgcov-profiler.c (__gcov_one_value_profiler_body):
927 Update functionality.
928 (__gcov_one_value_profiler): Remove.
929 (__gcov_one_value_profiler_v2): ... this.
930 (__gcov_one_value_profiler_atomic): Rename to ...
931 (__gcov_one_value_profiler_v2_atomic): this.
932 (__gcov_indirect_call_profiler_v3): Rename to ...
933 (__gcov_indirect_call_profiler_v4): ... this.
934 * libgcov.h (__gcov_one_value_profiler): Remove.
935 (__gcov_one_value_profiler_atomic): Remove.
936 (__gcov_one_value_profiler_v2_atomic): New.
937 (__gcov_indirect_call_profiler_v3): Remove.
938 (__gcov_one_value_profiler_v2): New.
939 (__gcov_indirect_call_profiler_v4): New.
940 (gcov_get_counter_ignore_scaling): New function.
941
942 2019-06-07 Martin Liska <mliska@suse.cz>
943
944 * Makefile.in: Remove usage of
945 _gcov_merge_icall_topn.
946 * libgcov-driver.c (gcov_sort_n_vals): Remove.
947 (gcov_sort_icall_topn_counter): Likewise.
948 (gcov_sort_topn_counter_arrays): Likewise.
949 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
950 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
951 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
952 Likewise.
953 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
954 (struct indirect_call_tuple): Remove.
955 (__gcov_indirect_call_topn_profiler): Remove.
956 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
957 * libgcov.h (gcov_sort_n_vals): Remove.
958 (L_gcov_merge_icall_topn): Likewise.
959 (__gcov_merge_icall_topn): Likewise.
960 (__gcov_indirect_call_topn_profiler): Likewise.
961
962 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
963
964 * config/rs6000/t-darwin: Ensure that the unwinder is built with
965 altivec enabled.
966
967 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
968
969 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
970 section.
971 (__mspabi_slli): Likewise.
972 (__mspabi_slll_n): Likewise.
973 (__mspabi_slll): Likewise.
974 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
975 (__mspabi_srai): Likewise.
976 (__mspabi_sral_n): Likewise.
977 (__mspabi_sral): Likewise.
978 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
979 (__mspabi_srli): Likewise.
980 (__mspabi_srll_n): Likewise.
981 (__mspabi_srll): Likewise.
982
983 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
984
985 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
986 Add appropriate tm_file clause as well.
987 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
988
989 2019-06-05 James Clarke <jrtc27@jrtc27.com>
990
991 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
992 rather than .data/.bss so it can be accessed via gp-relative
993 addressing.
994
995 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
996
997 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
998 (CR2_REGNO): Rename to R_CR2.
999 (XER_REGNO): Rename to R_XER.
1000 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1001 (VRSAVE_REGNO): Rename to R_VRSAVE.
1002 (VSCR_REGNO): R_VSCR.
1003
1004 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1005
1006 * config.host (rx-*-linux*): Add new case.
1007 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1008
1009 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1010
1011 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1012 function.
1013 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1014 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1015 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1016 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1017 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1018 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1019 string.
1020 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1021 string.
1022 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1023
1024 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1025
1026 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1027 Remove Solaris 9 and 10 support.
1028 (sparc_is_sighandler): Likewise.
1029
1030 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1031
1032 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1033
1034 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1037 4_FP_W_TYPEs are used for IEEE quad precision.
1038 * soft-fp/extendhftf2.c: Likewise.
1039 * soft-fp/extendsftf2.c: Likewise.
1040 * soft-fp/extendxftf2.c: Likewise.
1041 * soft-fp/trunctfdf2.c: Likewise.
1042 * soft-fp/trunctfhf2.c: Likewise.
1043 * soft-fp/trunctfsf2.c: Likewise.
1044 * soft-fp/trunctfxf2.c: Likewise.
1045 * config/rs6000/ibm-ldouble.c: Likewise.
1046
1047 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1048
1049 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1050 *-*-solaris2*.
1051 * configure.ac: Likewise.
1052 * configure: Regenerate.
1053
1054 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1055 Solaris 10 and Solaris 11 < snv_125 handling.
1056
1057 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1058
1059 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1060
1061 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1062
1063 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1064 * config/i386/cpuinfo.h (enum processor_features): Add
1065 FEATURE_AVX512BF16.
1066
1067 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1068 Bernd Edlinger <bernd.edlinger@hotmail.de>
1069 Jakub Jelinek <jakub@redhat.com>
1070
1071 PR target/89093
1072 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1073 * config/arm/unwind-arm.c: Likewise.
1074 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1075 attribute for ARM.
1076
1077 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1078
1079 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1080 (RT_SIGRETURN): Update.
1081 (nds32_fallback_frame_state): Update.
1082
1083 2019-02-21 Martin Sebor <msebor@redhat.com>
1084
1085 * libgcc2.h (__clear_cache): Correct signature.
1086 * libgcc2.c (__clear_cache): Same.
1087
1088 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1089
1090 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1091 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1092
1093 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1094
1095 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1096 regno instead of index to DWARF_ZERO_REG.
1097
1098 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1099
1100 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1101 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1102
1103 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1104
1105 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1106 to HOST_LIBGCC2_CFLAGS.
1107
1108 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1109
1110 PR libgcc/88931
1111 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1112
1113 2019-01-18 Martin Liska <mliska@suse.cz>
1114
1115 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1116 to ...
1117 (__gcov_indirect_call_profiler_v3): ... this.
1118 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1119 (__gcov_indirect_call_profiler_v3): Likewise.
1120 * Makefile.in: Bump function name.
1121
1122 2019-01-18 Martin Liska <mliska@suse.cz>
1123
1124 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1125 (gcov_version): Use in gcov_error.
1126 (merge_one_data): Likewise.
1127 (dump_one_gcov): Likewise.
1128
1129 2019-01-18 Martin Liska <mliska@suse.cz>
1130
1131 * libgcov-driver.c (gcov_version_string): New function.
1132 (gcov_version): Convert version integer into string.
1133
1134 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1135 Kwok Cheung Yeung <kcy@codesourcery.com>
1136 Julian Brown <julian@codesourcery.com>
1137 Tom de Vries <tom@codesourcery.com>
1138
1139 * config.host: Recognize amdgcn*-*-amdhsa.
1140 * config/gcn/crt0.c: New file.
1141 * config/gcn/lib2-divmod-hi.c: New file.
1142 * config/gcn/lib2-divmod.c: New file.
1143 * config/gcn/lib2-gcn.h: New file.
1144 * config/gcn/sfp-machine.h: New file.
1145 * config/gcn/t-amdgcn: New file.
1146
1147 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1148
1149 PR other/16615
1150
1151 * config/c6x/libunwind.S: Mechanically replace "can not" with
1152 "cannot".
1153 * config/tilepro/atomic.h: Likewise.
1154 * config/vxlib-tls.c: Likewise.
1155 * generic-morestack-thread.c: Likewise.
1156 * generic-morestack.c: Likewise.
1157 * mkmap-symver.awk: Likewise.
1158
1159 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1160
1161 Update copyright years.
1162
1163 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1166 to ignore -Waddress-of-packed-member.
1167
1168 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1169
1170 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1171 parameter and corresponding code.
1172 (ARM_FUNC_START): Likewise in both definitions.
1173 Also update footer comment about condition that need to match with
1174 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1175 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1176 defined. Weakly define it in this case.
1177 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1178 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1179 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1180 comment to keep condition in sync with the one in
1181 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1182
1183 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1184
1185 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1186 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1187
1188 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1189
1190 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1191 and .cfi_endproc directives for VxWorks targets.
1192
1193 2018-12-05 Paul Koning <ni1d@arrl.net>
1194
1195 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1196
1197 2018-11-27 Alan Modra <amodra@gmail.com>
1198
1199 * config/rs6000/morestack.S (__stack_split_initialize),
1200 (__morestack_get_guard, __morestack_set_guard),
1201 (__morestack_make_guard): Provide CFI covering these functions.
1202 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1203
1204 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1205
1206 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1207 (sc_pt_regs_lr): Update for kernel.
1208 (sc_pt_regs_tls): Update for kernel.
1209
1210 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1211
1212 * config/csky/linux-unwind.h: Fix coding style.
1213
1214 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1215
1216 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1217 (csky_fallback_frame_state): Modify the check of the
1218 instructions to adapt to changes in the kernel
1219
1220 2018-11-09 Stafford Horne <shorne@gmail.com>
1221 Richard Henderson <rth@twiddle.net>
1222
1223 * config.host: Add OpenRISC support.
1224 * config/or1k/*: New.
1225
1226 2018-11-08 Kito Cheng <kito@andestech.com>
1227
1228 * soft-fp/adddf3.c: Update from glibc.
1229 * soft-fp/addsf3.c: Likewise.
1230 * soft-fp/addtf3.c: Likewise.
1231 * soft-fp/divdf3.c: Likewise.
1232 * soft-fp/divsf3.c: Likewise.
1233 * soft-fp/divtf3.c: Likewise.
1234 * soft-fp/double.h: Likewise.
1235 * soft-fp/eqdf2.c: Likewise.
1236 * soft-fp/eqsf2.c: Likewise.
1237 * soft-fp/eqtf2.c: Likewise.
1238 * soft-fp/extenddftf2.c: Likewise.
1239 * soft-fp/extended.h: Likewise.
1240 * soft-fp/extendhftf2.c: Likewise.
1241 * soft-fp/extendsfdf2.c: Likewise.
1242 * soft-fp/extendsftf2.c: Likewise.
1243 * soft-fp/extendxftf2.c: Likewise.
1244 * soft-fp/fixdfdi.c: Likewise.
1245 * soft-fp/fixdfsi.c: Likewise.
1246 * soft-fp/fixdfti.c: Likewise.
1247 * soft-fp/fixhfti.c: Likewise.
1248 * soft-fp/fixsfdi.c: Likewise.
1249 * soft-fp/fixsfsi.c: Likewise.
1250 * soft-fp/fixsfti.c: Likewise.
1251 * soft-fp/fixtfdi.c: Likewise.
1252 * soft-fp/fixtfsi.c: Likewise.
1253 * soft-fp/fixtfti.c: Likewise.
1254 * soft-fp/fixunsdfdi.c: Likewise.
1255 * soft-fp/fixunsdfsi.c: Likewise.
1256 * soft-fp/fixunsdfti.c: Likewise.
1257 * soft-fp/fixunshfti.c: Likewise.
1258 * soft-fp/fixunssfdi.c: Likewise.
1259 * soft-fp/fixunssfsi.c: Likewise.
1260 * soft-fp/fixunssfti.c: Likewise.
1261 * soft-fp/fixunstfdi.c: Likewise.
1262 * soft-fp/fixunstfsi.c: Likewise.
1263 * soft-fp/fixunstfti.c: Likewise.
1264 * soft-fp/floatdidf.c: Likewise.
1265 * soft-fp/floatdisf.c: Likewise.
1266 * soft-fp/floatditf.c: Likewise.
1267 * soft-fp/floatsidf.c: Likewise.
1268 * soft-fp/floatsisf.c: Likewise.
1269 * soft-fp/floatsitf.c: Likewise.
1270 * soft-fp/floattidf.c: Likewise.
1271 * soft-fp/floattihf.c: Likewise.
1272 * soft-fp/floattisf.c: Likewise.
1273 * soft-fp/floattitf.c: Likewise.
1274 * soft-fp/floatundidf.c: Likewise.
1275 * soft-fp/floatundisf.c: Likewise.
1276 * soft-fp/floatunditf.c: Likewise.
1277 * soft-fp/floatunsidf.c: Likewise.
1278 * soft-fp/floatunsisf.c: Likewise.
1279 * soft-fp/floatunsitf.c: Likewise.
1280 * soft-fp/floatuntidf.c: Likewise.
1281 * soft-fp/floatuntihf.c: Likewise.
1282 * soft-fp/floatuntisf.c: Likewise.
1283 * soft-fp/floatuntitf.c: Likewise.
1284 * soft-fp/gedf2.c: Likewise.
1285 * soft-fp/gesf2.c: Likewise.
1286 * soft-fp/getf2.c: Likewise.
1287 * soft-fp/half.h: Likewise.
1288 * soft-fp/ledf2.c: Likewise.
1289 * soft-fp/lesf2.c: Likewise.
1290 * soft-fp/letf2.c: Likewise.
1291 * soft-fp/muldf3.c: Likewise.
1292 * soft-fp/mulsf3.c: Likewise.
1293 * soft-fp/multf3.c: Likewise.
1294 * soft-fp/negdf2.c: Likewise.
1295 * soft-fp/negsf2.c: Likewise.
1296 * soft-fp/negtf2.c: Likewise.
1297 * soft-fp/op-1.h: Likewise.
1298 * soft-fp/op-2.h: Likewise.
1299 * soft-fp/op-4.h: Likewise.
1300 * soft-fp/op-8.h: Likewise.
1301 * soft-fp/op-common.h: Likewise.
1302 * soft-fp/quad.h: Likewise.
1303 * soft-fp/single.h: Likewise.
1304 * soft-fp/soft-fp.h: Likewise.
1305 * soft-fp/subdf3.c: Likewise.
1306 * soft-fp/subsf3.c: Likewise.
1307 * soft-fp/subtf3.c: Likewise.
1308 * soft-fp/truncdfsf2.c: Likewise.
1309 * soft-fp/trunctfdf2.c: Likewise.
1310 * soft-fp/trunctfhf2.c: Likewise.
1311 * soft-fp/trunctfsf2.c: Likewise.
1312 * soft-fp/trunctfxf2.c: Likewise.
1313 * soft-fp/unorddf2.c: Likewise.
1314 * soft-fp/unordsf2.c: Likewise.
1315 * soft-fp/unordtf2.c: Likewise.
1316
1317 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1318
1319 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1320 * config/i386/cpuinfo.h (processor_types): Add znver2.
1321
1322 2018-11-01 Paul Koning <ni1d@arrl.net>
1323
1324 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1325 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1326
1327 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1328
1329 PR bootstrap/82856
1330 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1331 * configure: Regenerate.
1332
1333 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1334
1335 * config/arc/lib1funcs.S (_muldi3): New function.
1336 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1337
1338 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1339
1340 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1341
1342 2018-10-25 Martin Liska <mliska@suse.cz>
1343
1344 PR other/87735
1345 * libgcov-profiler.c: Revert.
1346
1347 2018-10-24 Martin Liska <mliska@suse.cz>
1348
1349 * libgcov-profiler.c: Start from 1 in order to distinguish
1350 functions which were seen and these that were not.
1351
1352 2018-10-18 Paul Koning <ni1d@arrl.net>
1353
1354 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1355 standard.
1356 * divmod.c: Update references to __udivmodsi4.
1357 * udivmod.c: Ditto.
1358 * udivhi3.c: New file.
1359 * udivmodhi4.c: New file.
1360 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1361
1362 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1363
1364 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1365
1366 2018-10-12 Olivier Hainque <hainque@adacore.com>
1367
1368 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1369 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1370
1371 2018-10-08 Paul Koning <ni1d@arrl.net>
1372
1373 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1374
1375 2018-10-04 Martin Liska <mliska@suse.cz>
1376
1377 PR gcov-profile/84107
1378 * libgcov-profiler.c (__gcov_indirect_call):
1379 Change type to indirect_call_tuple.
1380 (struct indirect_call_tuple): New struct.
1381 (__gcov_indirect_call_topn_profiler): Change type.
1382 (__gcov_indirect_call_profiler_v2): Use the new
1383 variables.
1384 * libgcov.h (struct indirect_call_tuple): New struct
1385 definition.
1386
1387 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1388
1389 * libgcc2.c (isnan): Use __builtin_isnan.
1390 (isfinite): Use __builtin_isfinite.
1391 (isinf): Use __builtin_isinf.
1392
1393 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1394
1395 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1396
1397 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1398
1399 * config/vxcache.c: New file. Provide __clear_cache, based on
1400 the cacheTextUpdate VxWorks service.
1401 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1402 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1403 * config/t-vxwoks7: Likewise.
1404
1405 2018-09-21 Martin Liska <mliska@suse.cz>
1406
1407 * libgcov-driver.c (crc32_unsigned): Remove.
1408 (gcov_histogram_insert): Likewise.
1409 (gcov_compute_histogram): Likewise.
1410 (compute_summary): Simplify rapidly.
1411 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1412 (merge_summary): Rapidly simplify.
1413 (dump_one_gcov): Ignore gcov_summary.
1414 (gcov_do_dump): Do not handle program summary, it's not
1415 used.
1416 * libgcov-util.c (tag_summary): Remove.
1417 (read_gcda_finalize): Fix coding style.
1418 (read_gcda_file): Initialize curr_object_summary.
1419 (compute_summary): Remove.
1420 (calculate_overlap): Remove settings of run_max.
1421
1422 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1423
1424 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1425 ucontext_t type instead.
1426 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1427
1428 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1429
1430 * config/nds32/t-nds32-glibc: New file.
1431
1432 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1433
1434 * configure.ac (solaris_ld_v2_maps): New test.
1435 * configure: Regenerate.
1436 * Makefile.in (solaris_ld_v2_maps): New variable.
1437 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1438 if supported.
1439
1440 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1441
1442 PR target/86951
1443 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1444 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1445 to build.
1446
1447 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1448
1449 * config/unwind-dw2-fde-darwin.c
1450 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1451 * config/darwin10-unwind-find-enc-func.c: … to here.
1452 * config/t-darwin: Build Darwin10 unwinder shim crt.
1453 * libgcc/config.host: Add the Darwin10 unwinder shim.
1454
1455 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1456
1457 * config.host: Add crtbegin.o and crtend.o for
1458 powerpc-wrs-vxworks target.
1459
1460 2018-08-17 Jojo <jijie_rong@c-sky.com>
1461 Huibin Wang <huibin_wang@c-sky.com>
1462 Sandra Loosemore <sandra@codesourcery.com>
1463 Chung-Lin Tang <cltang@codesourcery.com>
1464
1465 C-SKY port: libgcc
1466
1467 * config.host: Add C-SKY support.
1468 * config/csky/*: New.
1469
1470 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1471
1472 * config/nds32/t-nds32-isr: Rearrange object dependency.
1473 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1474 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1475 and registers usage.
1476 * config/nds32/isr-library/excp_isr.S: Ditto.
1477 * config/nds32/isr-library/intr_isr.S: Ditto.
1478 * config/nds32/isr-library/reset.S: Ditto.
1479 * config/nds32/isr-library/restore_all.inc: Ditto.
1480 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1481 * config/nds32/isr-library/restore_partial.inc: Ditto.
1482 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1483 * config/nds32/isr-library/save_all.inc: Ditto.
1484 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1485 * config/nds32/isr-library/save_partial.inc: Ditto.
1486 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1487 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1488
1489 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1490
1491 * config/pa/linux-atomic.c: Update comment.
1492 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1493 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1494 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1495 __ATOMIC_RELAXED for atomic loads.
1496 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1497 unordered store to release lock.
1498 (__sync_lock_release_8): Likewise.
1499 (SYNC_LOCK_RELEASE_2): Remove define.
1500
1501 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1502
1503 PR libgcc/86512
1504 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1505 exponent goes negative. Update my email address.
1506 * config/arm/ieee754-sf.S: Likewise.
1507
1508 2018-08-01 Martin Liska <mliska@suse.cz>
1509
1510 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1511 check that __gcov_indirect_call_callee is non-null.
1512
1513 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1514
1515 * config/arm/ieee754-df.S: Fix comment for code working on
1516 architectures >= 4.
1517 * config/arm/ieee754-sf.S: Likewise.
1518
1519 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1520
1521 PR libgcc/85334
1522 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1523 Removed.
1524
1525 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1526
1527 * configure: Regenerated.
1528
1529 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1530
1531 * Makefile.in (install_leaf): Use enable_gcov instead of
1532 enable_libgcov.
1533
1534 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1535
1536 * configure.ac: Add --disable-gcov option.
1537 * configure: Regenerate.
1538 * Makefile.in: Honour @enable_gcov@.
1539
1540 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1541
1542 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1543 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1544 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1545 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1546 __ARM_ARCH__.
1547 * config/arm/ieee754-sf.S: Likewise.
1548 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1549
1550 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1551
1552 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1553 longer supported.
1554 * config/arm/ieee754-sf.S: Likewise.
1555
1556 2018-06-20 Than McIntosh <thanm@google.com>
1557
1558 PR libgcc/86213
1559 * generic-morestack.c (allocate_segment): Move calls to getenv and
1560 getpagesize to __morestack_load_mmap.
1561 (__morestack_load_mmap) Initialize static_pagesize and
1562 use_guard_page here so as to avoid clobbering SSE regs during a
1563 __morestack call.
1564
1565 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1566
1567 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1568 support modules with -mno-gnu-attribute.
1569 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1570
1571 2018-06-07 Olivier Hainque <hainque@adacore.com>
1572
1573 * config/t-vxworks (LIBGCC_INCLUDES): Add
1574 -I$(MULTIBUILDTOP)../../gcc/include.
1575 * config/t-vxworks7: Likewise. Reformat a bit to match
1576 the t-vxworks layout.
1577
1578 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1579
1580 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1581
1582 2018-06-07 Martin Liska <mliska@suse.cz>
1583
1584 * libgcov-driver.c: Rename cs_all to all and assign it from
1585 all_prg.
1586
1587 2018-06-07 Martin Liska <mliska@suse.cz>
1588
1589 PR bootstrap/86057
1590 * libgcov-driver-system.c (replace_filename_variables): Use
1591 memcpy instead of mempcpy.
1592 (allocate_filename_struct): Do not allocate filename, allocate
1593 prefix and set it.
1594 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1595 here and properly copy content into it.
1596 * libgcov-driver.c (struct gcov_filename): Remove max_length
1597 field, change prefix from size_t into char *.
1598 (compute_summary): Do not calculate longest filename.
1599 (gcov_do_dump): Release memory of gf.filename after each file.
1600 * libgcov-util.c (compute_summary): Use new signature of
1601 compute_summary.
1602 (calculate_overlap): Likewise.
1603
1604 2018-06-05 Martin Liska <mliska@suse.cz>
1605
1606 PR gcov-profile/47618
1607 * libgcov-driver-system.c (replace_filename_variables): New
1608 function.
1609 (gcov_exit_open_gcda_file): Use it.
1610
1611 2018-06-05 Martin Liska <mliska@suse.cz>
1612
1613 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1614 of gcov_ctr_summary.
1615 (compute_summary): Do it just for a single summary.
1616 (merge_one_data): Likewise.
1617 (merge_summary): Simplify as we read just single summary.
1618 (dump_one_gcov): Pass proper argument.
1619 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1620 single summary.
1621 (gcov_info_count_all_cold): Likewise.
1622 (calculate_overlap): Likewise.
1623
1624 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1625 Monk Chiang <sh.chiang04@gmail.com>
1626
1627 * config.host (nds32*-linux*): New.
1628 * config/nds32/linux-atomic.c: New file.
1629 * config/nds32/linux-unwind.h: New file.
1630
1631 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1632
1633 PR target/85591
1634 * config/i386/cpuinfo.c (get_amd_cpu): Return
1635 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1636
1637 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1638
1639 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1640
1641 2018-05-29 Martin Liska <mliska@suse.cz>
1642
1643 PR gcov-profile/85759
1644 * libgcov-driver-system.c (gcov_error): Introduce usage of
1645 GCOV_EXIT_AT_ERROR env. variable.
1646 * libgcov-driver.c (merge_one_data): Print error that we
1647 overwrite a gcov file with a different timestamp.
1648
1649 2018-05-23 Kalamatee <kalamatee@gmail.com>
1650
1651 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1652 path to Lf$finfty.
1653
1654 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1655 Monk Chiang <sh.chiang04@gmail.com>
1656 Jim Wilson <jimw@sifive.com>
1657
1658 * config/riscv/save-restore.S: Add support for rv32e.
1659
1660 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1661
1662 * config/arm/libunwind.S: Update comment relating to armv5.
1663
1664 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1665
1666 * config/arm/cmse.c (cmse_check_address_range): Replace
1667 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1668
1669 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1670
1671 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1672 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1673
1674 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1675
1676 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1677 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1678
1679 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1680
1681 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1682
1683 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1684 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1685
1686 PR libgcc/84292
1687 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1688 op_and_fetch to return the right result.
1689
1690 2018-04-27 Alan Modra <amodra@gmail.com>
1691
1692 PR libgcc/85532
1693 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1694 -fno-asynchronous-unwind-tables.
1695
1696 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1697
1698 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1699 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1700
1701 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1702
1703 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1704 when including "config/i386/shadow-stack-unwind.h".
1705
1706 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * configure: Regenerated.
1709
1710 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1711
1712 PR target/85456
1713 * config/rs6000/_powikf2.c: New file. Add support for the
1714 __builtin_powil function when long double is IEEE 128-bit floating
1715 point.
1716 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1717 __powikf2 support.
1718 (__powikf2): Likewise.
1719 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1720 (__powikf2_hw): Likewise.
1721 (__powikf2): Likewise.
1722 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1723 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1724 (_powikf2-hw.c): Likewise.
1725
1726 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1727
1728 PR libgcc/85334
1729 * unwind-generic.h (_Unwind_Frames_Increment): New.
1730 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1731 Likewise.
1732 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1733 count with _Unwind_Frames_Increment.
1734 (_Unwind_ForcedUnwind_Phase2): Likewise.
1735
1736 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1737
1738 PR libgcc/85379
1739 * config/i386/morestack.S (__stack_split_initialize): Add
1740 _CET_ENDBR.
1741
1742 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1743
1744 * configure: Regenerated.
1745
1746 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1747
1748 PR jit/85384
1749 * configure: Regenerate.
1750
1751 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1752
1753 PR target/84945
1754 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1755 -Wdangling-else warnings. Mask shift counts to avoid
1756 -Wshift-count-negative and -Wshift-count-overflow false positives.
1757
1758 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1759
1760 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1761
1762 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1763
1764 PR target/85100
1765 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1766 (XSTATE_FP): Likewise.
1767 (XSTATE_SSE): Likewise.
1768 (XSTATE_YMM): Likewise.
1769 (XSTATE_OPMASK): Likewise.
1770 (XSTATE_ZMM): Likewise.
1771 (XSTATE_HI_ZMM): Likewise.
1772 (XCR_AVX_ENABLED_MASK): Likewise.
1773 (XCR_AVX512F_ENABLED_MASK): Likewise.
1774 (get_available_features): Enable AVX and AVX512 features only
1775 if their states are supported by OSXSAVE.
1776
1777 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1778
1779 PR target/85025
1780 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1781 Fix a typo, tmp => 255.
1782
1783 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1784
1785 PR target/84945
1786 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1787 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1788 ifndef SHARED only.
1789 (set_feature): Define.
1790 (get_available_features): Use set_feature macro. Set __cpu_features2
1791 to the second word of features ifndef SHARED.
1792
1793 2018-03-15 Julia Koval <julia.koval@intel.com>
1794
1795 * config/i386/cpuinfo.c (get_available_features): Add
1796 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1797 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1798 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1799 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1800 FEATURE_AVX512BITALG.
1801
1802 2018-03-14 Julia Koval <julia.koval@intel.com>
1803
1804 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1805 icelake client and icelake server.
1806
1807 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1808
1809 * config/pa/fptr.c (_dl_read_access_allowed): New.
1810 (__canonicalize_funcptr_for_compare): Use it.
1811
1812 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1813
1814 PR debug/83917
1815 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1816 $asm_hidden_op if visibility ("hidden") attribute works.
1817 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1818 * config/i386/i386-asm.h: Don't include auto-host.h.
1819 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1820 PACKAGE_URL): Don't undefine.
1821 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1822 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1823 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1824 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1825 definition instead of hardcoded .hidden.
1826 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1827 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1828 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1829 (USE_GAS_CFI_DIRECTIVES): Don't define.
1830 * configure: Regenerated.
1831 * config.in: Likewise.
1832
1833 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1834
1835 PR debug/83917
1836 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1837 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1838 inclusion of auto-target.h and auto-host.h.
1839 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1840 __GCC_HAVE_DWARF2_CFI_ASM.
1841 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1842 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1843 cfi_pop): Define.
1844 * config/i386/cygwin.S: Don't include auto-host.h here, just
1845 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1846 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1847 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1848 * config/i386/resms64fx.h: Add cfi_* directives.
1849 * config/i386/resms64x.h: Likewise.
1850
1851 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1852
1853 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1854 .literal_position directive.
1855 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1856
1857 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1858
1859 PR target/84148
1860 * configure: Regenerate.
1861
1862 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1863
1864 PR target/84239
1865 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1866 Include cetintrin.h not x86intrin.h.
1867
1868 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1869
1870 PR target/84239
1871 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1872 Use new _get_ssp and _inc_ssp intrinsics.
1873
1874 2018-02-02 Julia Koval <julia.koval@intel.com>
1875
1876 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1877
1878 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1879
1880 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1881 option.
1882 (__divsi3): Use RF16 safe registers.
1883 (__modsi3): Likewise.
1884
1885 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1886
1887 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1888 (__divsf3): Make NaN return value quiet.
1889 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1890 (__divdf3): Make NaN return value quiet.
1891
1892 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1893
1894 * config/rl78/anddi3.S: New assembly file.
1895 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1896
1897 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1898
1899 * config/rl78/umindi3.S: New assembly file.
1900 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1901
1902 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1903
1904 * config/rl78/smindi3.S: New assembly file.
1905 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1906
1907 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1908
1909 * config/rl78/smaxdi3.S: New assembly file.
1910 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1911
1912 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1913
1914 * config/rl78/umaxdi3.S: New assembly file.
1915 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1916
1917 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1918
1919 PR lto/83452
1920 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1921 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1922
1923 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1924
1925 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1926 (DWARF_LAZY_REGISTER_VALUE): Define.
1927 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1928 to provide a fallback register value.
1929
1930 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1931
1932 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1933 __ibm128, instead of trying to use long double.
1934 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1935 accomidate -mabi=ieeelongdouble multilibs.
1936 (CVT_IBM128_TO_FLOAT128): Likewise.
1937 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1938 the appropriate IBM extended double type.
1939 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1940 (__gcc_qsub): Likewise.
1941 (__gcc_qmul): Likewise.
1942 (__gcc_qdiv): Likewise.
1943 (pack_ldouble): Likewise.
1944 (__gcc_qneg): Likewise.
1945 (__gcc_qeq): Likewise.
1946 (__gcc_qne): Likewise.
1947 (__gcc_qge): Likewise.
1948 (__gcc_qle): Likewise.
1949 (__gcc_stoq): Likewise.
1950 (__gcc_dtoq): Likewise.
1951 (__gcc_itoq): Likewise.
1952 (__gcc_utoq): Likewise.
1953 (__gcc_qunord): Likewise.
1954 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1955 quad-float128.h for the definitions.
1956 (COPYSIGN): Use the f128 version instead of the q version.
1957 (INFINITY): Likewise.
1958 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1959 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1960 quad-float128.h for the definitions.
1961 (COPYSIGN): Use the f128 version instead of the q version.
1962 (INFINITY): Likewise.
1963 (FABS): Likewise.
1964 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1965 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1966 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1967
1968 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1969
1970 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1971 configuration.
1972
1973 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1974
1975 Update copyright years.
1976
1977 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1978
1979 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1980 * config/riscv/multi3.c: New file.
1981 * config/riscv/multi3.S: Remove.
1982
1983 2017-12-08 Jim Wilson <jimw@sifive.com>
1984
1985 * config/riscv/div.S: Use FUNC_* macros.
1986 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1987 * config/riscv/save-restore.S: Likewise.
1988 * config/riscv/riscv-asm.h: New.
1989
1990 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1991
1992 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1993 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1994
1995 PR libgcc/83112
1996 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1997 correct type for all ifunc resolvers to silence -Wattribute-alias
1998 warnings. Eliminate the forward declaration of the resolver
1999 functions which is no longer needed.
2000 (__subkf3_resolve): Likewise.
2001 (__mulkf3_resolve): Likewise.
2002 (__divkf3_resolve): Likewise.
2003 (__negkf2_resolve): Likewise.
2004 (__eqkf2_resolve): Likewise.
2005 (__nekf2_resolve): Likewise.
2006 (__gekf2_resolve): Likewise.
2007 (__gtkf2_resolve): Likewise.
2008 (__lekf2_resolve): Likewise.
2009 (__ltkf2_resolve): Likewise.
2010 (__unordkf2_resolve): Likewise.
2011 (__extendsfkf2_resolve): Likewise.
2012 (__extenddfkf2_resolve): Likewise.
2013 (__trunckfsf2_resolve): Likewise.
2014 (__trunckfdf2_resolve): Likewise.
2015 (__fixkfsi_resolve): Likewise.
2016 (__fixkfdi_resolve): Likewise.
2017 (__fixunskfsi_resolve): Likewise.
2018 (__fixunskfdi_resolve): Likewise.
2019 (__floatsikf_resolve): Likewise.
2020 (__floatdikf_resolve): Likewise.
2021 (__floatunsikf_resolve): Likewise.
2022 (__floatundikf_resolve): Likewise.
2023 (__extendkftf2_resolve): Likewise.
2024 (__trunctfkf2_resolve): Likewise.
2025
2026 PR libgcc/83103
2027 * config/rs6000/quad-float128.h (TF): Don't define if long double
2028 is IEEE 128-bit floating point.
2029 (TCtype): Define as either TCmode or KCmode, depending on whether
2030 long double is IEEE 128-bit floating point.
2031 (__mulkc3_sw): Add declarations for software/hardware versions of
2032 complex multiply/divide.
2033 (__divkc3_sw): Likewise.
2034 (__mulkc3_hw): Likewise.
2035 (__divkc3_hw): Likewise.
2036 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2037 handlers to switch between using software emulation and hardware
2038 float128 instructions, build the complex multiply/divide functions
2039 for both software and hardware support.
2040 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2041 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2042 (__divkc3_resolve): Likewise.
2043 (__mulkc3): Likewise.
2044 (__divkc3): Likewise.
2045 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2046 (fp128_hw_src): Likewise.
2047 (fp128_hw_static_obj): Likewise.
2048 (fp128_hw_shared_obj): Likewise.
2049 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2050 _mulkc3.c and _divkc3.c, changing the function name.
2051 (_divkc3-hw.c): Likewise.
2052 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2053 and _divkc3-hw.c.
2054
2055 2017-11-26 Julia Koval <julia.koval@intel.com>
2056
2057 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2058 * config/i386/cpuinfo.h (processor_subtypes): Add
2059 INTEL_COREI7_CANNONLAKE.
2060
2061 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2062
2063 PR bootstrap/83015
2064 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2065 parameter.
2066 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2067 * config/ia64/unwind-ia64.c: Add frames parameter.
2068 * unwind-sjlj.c: Likewise.
2069
2070 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2071
2072 * config/i386/linux-unwind.h: Include
2073 config/i386/shadow-stack-unwind.h.
2074 * config/i386/shadow-stack-unwind.h: New file.
2075 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2076 pass it to _Unwind_Frames_Extra.
2077 * unwind-generic.h (_Unwind_Frames_Extra): New.
2078 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2079 parameter. Add local variable frames to count number of frames.
2080 (_Unwind_ForcedUnwind_Phase2): Likewise.
2081 (_Unwind_RaiseException): Add local variable frames to count
2082 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2083 uw_install_context.
2084 (_Unwind_ForcedUnwind): Likewise.
2085 (_Unwind_Resume): Likewise.
2086 (_Unwind_Resume_or_Rethrow): Likewise.
2087
2088 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2089
2090 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2091 (CET_FLAGS): New.
2092 * config/i386/morestack.S: Include <cet.h>.
2093 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2094 * config/i386/resms64.h: Include <cet.h>.
2095 * config/i386/resms64f.h: Likewise.
2096 * config/i386/resms64fx.h: Likewise.
2097 * config/i386/resms64x.h: Likewise.
2098 * config/i386/savms64.h: Likewise.
2099 * config/i386/savms64f.h: Likewise.
2100 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2101 (CRTSTUFF_T_CFLAGS): Likewise.
2102 * configure.ac: Include ../config/cet.m4.
2103 Set and substitute CET_FLAGS.
2104 * configure: Regenerated.
2105
2106 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2107
2108 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2109 renaming.
2110 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2111 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2112 * configure: Regenerate.
2113
2114 2017-11-07 Tom de Vries <tom@codesourcery.com>
2115
2116 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2117 after "do {} while (0)".
2118
2119 2017-11-07 Tom de Vries <tom@codesourcery.com>
2120
2121 PR other/82784
2122 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2123 semicolon after "do {} while (0)".
2124 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2125 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2126 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2127 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2128
2129 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2130
2131 PR libgcc/82635
2132 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2133 sysctl to determine whether we're in a trampoline.
2134 Keep the pattern matching method for systems without
2135 KERN_PROC_SIGTRAMP sysctl.
2136
2137 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2138 Vineet Gupta <vgupta@synopsys.com>
2139
2140 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2141 * config/arc/linux-unwind-reg.def: New file.
2142 * config/arc/linux-unwind-reg.h: Likewise.
2143
2144 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2145
2146 * config/rl78/subdi3.S: New assembly file.
2147 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2148
2149 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2150
2151 * config/rl78/adddi3.S: New assembly file.
2152 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2153
2154 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2155
2156 PR target/82274
2157 * libgcc2.c (__mulvDI3): If both operands have
2158 the same highpart of -1 and the topmost bit of lowpart is 0,
2159 multiplication overflows even if both lowparts are 0.
2160
2161 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2162
2163 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2164
2165 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2166
2167 * config/microblaze/crti.S, config/microblaze/crtn.S,
2168 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2169 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2170 config/microblaze/mulsi3.S,
2171 config/microblaze/stack_overflow_exit.S,
2172 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2173 config/pa/milli64.S: Add .note.GNU-stack section.
2174
2175 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2176
2177 * configure.ac: Add Check for HAVE_AS_AVX.
2178 * config.in: Regenerate.
2179 * configure: Likewise.
2180 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2181 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2182 Correct out-of-date comments.
2183
2184 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2185
2186 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2187 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2188
2189 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2190
2191 * config/i386/i386-asm.h (PASTE2): New macro.
2192 (ASMNAME): Modify to use PASTE2.
2193 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2194 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2195 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2196 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2197 * config/i386/resms64f.S: Likewise.
2198 * config/i386/resms64fx.S: Likewise.
2199 * config/i386/resms64x.S: Likewise.
2200 * config/i386/savms64.S: Likewise.
2201 * config/i386/savms64f.S: Likewise.
2202 * config/i386/avx_resms64.S: New file that only defines a macro and
2203 includes it's corresponding header file.
2204 * config/i386/avx_resms64f.S: Likewise.
2205 * config/i386/avx_resms64fx.S: Likewise.
2206 * config/i386/avx_resms64x.S: Likewise.
2207 * config/i386/avx_savms64.S: Likewise.
2208 * config/i386/avx_savms64f.S: Likewise.
2209 * config/i386/sse_resms64.S: Likewise.
2210 * config/i386/sse_resms64f.S: Likewise.
2211 * config/i386/sse_resms64fx.S: Likewise.
2212 * config/i386/sse_resms64x.S: Likewise.
2213 * config/i386/sse_savms64.S: Likewise.
2214 * config/i386/sse_savms64f.S: Likewise.
2215 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2216
2217 2017-09-01 Olivier Hainque <hainque@adacore.com>
2218 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2219
2220 2017-08-31 Olivier Hainque <hainque@adacore.com>
2221
2222 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2223 match as powerpc-wrs-vxworks*.
2224
2225 2017-08-07 Jonathan Yong <10walls@gmail.com>
2226
2227 * config.host (*-cygwin): Include file from mingw
2228 config/i386/enable-execute-stack-mingw32.c
2229
2230 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2231 Doug Rupp <rupp@adacore.com>
2232 Olivier Hainque <hainque@adacore.com>
2233
2234 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2235 as well as arm-wrs-vxworks.
2236 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2237 LIB2ADDEH.
2238 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2239 __exidx_start and __exidx_end for downloadable modules.
2240
2241 2017-08-01 Olivier Hainque <hainque@adacore.com>
2242
2243 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2244 * config/t-vxworks7: Likewise.
2245
2246 2017-08-01 Olivier Hainque <hainque@adacore.com>
2247
2248 * config/t-vxworks: Instead of redefining LIB2ADD,
2249 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2250
2251 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2252
2253 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2254
2255 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2256
2257 PR testsuite/80759
2258 * config.host: include i386/t-msabi for darwin and solaris.
2259 * config/i386/i386-asm.h
2260 (ELFFN): Rename to FN_TYPE.
2261 (FN_SIZE): New macro.
2262 (FN_HIDDEN): Likewise.
2263 (ASMNAME): Likewise.
2264 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2265 .globl.
2266 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2267 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2268 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2269 .macro.
2270 * config/i386/resms64f.S: Likewise.
2271 * config/i386/resms64fx.S: Likewise.
2272 * config/i386/resms64x.S: Likewise.
2273 * config/i386/savms64.S: Likewise.
2274 * config/i386/savms64f.S: Likewise.
2275
2276 2017-07-19 John Marino <gnugcc@marino.st>
2277
2278 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2279
2280 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2281
2282 PR target/81193
2283 * configure.ac (PowerPC float128 hardware support): Test whether
2284 we can use __builtin_cpu_supports before enabling the ifunc
2285 handler.
2286 * configure: Regenerate.
2287
2288 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2289
2290 * config.host: Remove uclibc from arc target spec.
2291
2292 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2293
2294 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2295
2296 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2297
2298 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2299 (have_ieee_hw_p): Delete function.
2300 (SW_OR_HW) Use __builtin_cpu_supports().
2301
2302 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2303
2304 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2305
2306 2017-07-03 Olivier Hainque <hainque@adacore.com>
2307
2308 * config/t-vxworks7: New file, really.
2309
2310 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2311
2312 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2313 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2314 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2315 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2316 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2317 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2318 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2319 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2320 config/sh/linux-unwind.h (sh_fallback_frame_state),
2321 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2322 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2323 ucontext_t instead of struct ucontext.
2324
2325 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2326
2327 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2328 (x86_64-wrs-vxworks7): Likewise.
2329
2330 2017-06-27 Olivier Hainque <hainque@adacore.com>
2331
2332 * config/t-vxworks7: New file.
2333 * config.host (*-*-vxworks7): Use it.
2334
2335 2017-06-22 Matt Turner <mattst88@gmail.com>
2336
2337 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2338 skylake case.
2339
2340 2017-06-21 Richard Biener <rguenther@suse.de>
2341
2342 PR gcov-profile/81080
2343 * configure.ac: Add AC_SYS_LARGEFILE.
2344 * libgcov.h: Include auto-target.h before tsystem.h to pick
2345 up _FILE_OFFSET_BITS which might differ for multilibs.
2346 * config.in: Regenerate.
2347 * configure: Likewise.
2348
2349 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2350
2351 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2352
2353 2017-06-09 Martin Liska <mliska@suse.cz>
2354
2355 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2356 Reset __gcov_indirect_call_callee to NULL.
2357
2358 2017-06-08 Olivier Hainque <hainque@adacore.com>
2359
2360 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2361 the set of -I options, support for direct inclusions of net/uio.h
2362 by VxWorks header files via ioLib.h.
2363
2364 2017-06-07 Tony Reix <tony.reix@atos.net>
2365 Matthieu Sarter <matthieu.sarter.external@atos.net>
2366 David Edelsohn <dje.gcc@gmail.com>
2367
2368 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2369 unconditionally.
2370 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2371 AIX 7.2 support.
2372
2373 2017-06-02 Olivier Hainque <hainque@adacore.com>
2374
2375 * config/vxlib.c (__gthread_once): Add missing value to
2376 return statement.
2377
2378 2017-05-30 Olivier Hainque <hainque@adacore.com>
2379
2380 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2381 dollar sign before $(MULTIDIR).
2382
2383 2017-05-26 Richard Henderson <rth@redhat.com>
2384
2385 PR libgcc/80037
2386 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2387
2388 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2389
2390 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2391 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2392 * config/arm/unwind-arm.c: Implement the above.
2393
2394 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2395
2396 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2397 section for a non-executable stack.
2398
2399 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2400
2401 PR target/80600
2402 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2403
2404 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2405
2406 * config.host: Add i386/t-msabi to i386/t-linux file list.
2407 * config/i386/i386-asm.h: New file.
2408 * config/i386/resms64.S: New file.
2409 * config/i386/resms64f.S: New file.
2410 * config/i386/resms64fx.S: New file.
2411 * config/i386/resms64x.S: New file.
2412 * config/i386/savms64.S: New file.
2413 * config/i386/savms64f.S: New file.
2414 * config/i386/t-msabi: New file.
2415
2416 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2417
2418 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2419 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2420
2421 2017-05-05 Joshua Conner <joshconner@google.com>
2422
2423 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2424 pc-relative indirect handling for fuchsia.
2425 * config/t-slibgcc-fuchsia: New file.
2426 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2427 x86_64-*-fuchsia*): Add definitions.
2428
2429 2017-04-19 Martin Liska <mliska@suse.cz>
2430
2431 PR gcov-profile/80435
2432 * Makefile.in: Install gcov.h.
2433 * gcov.h: New file.
2434 * libgcov.h: Use the header and make __gcov_flush publicly
2435 visible.
2436
2437 2017-04-18 Martin Liska <mliska@suse.cz>
2438
2439 PR gcov-profile/78783
2440 * libgcov-driver.c (gcov_get_filename): New function.
2441
2442 2017-04-07 Jeff Law <law@redhat.com>
2443
2444 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2445 target makefile fragment.
2446 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2447
2448 2017-04-07 Alan Modra <amodra@gmail.com>
2449
2450 PR target/45053
2451 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2452
2453 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2454
2455 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2456
2457 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2458
2459 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2460
2461 2017-03-10 John Marino <gnugcc@marino.st>
2462
2463 * config/aarch64/freebsd-unwind.h: New file.
2464 * config.host: Add aarch64-*-freebsd unwinder.
2465
2466 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2467
2468 * config/rs6000/crtrestvr.s: Use .machine altivec.
2469 * config/rs6000/crtsavevr.s: Ditto.
2470
2471 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2472
2473 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2474 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2475 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2476 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2477 * configure: Regenerate.
2478 * config.in: Regenerate.
2479
2480 2017-03-02 Jonathan Yong <10walls@gmail.com>
2481
2482 * config/i386/gthr-win32.h: Define NOGDI before
2483 windows.h include to prevent w32api CC_NONE macro
2484 clash with libgfortran.
2485
2486 2017-03-02 Jonathan Yong <10walls@gmail.com>
2487
2488 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2489
2490 2017-02-16 Andrew Pinski <apinski@cavium.com>
2491
2492 * config/aarch64/value-unwind.h: New file.
2493 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2494 to tm_file.
2495
2496 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2497
2498 * config.host: Add RISC-V tuples.
2499 * config/riscv/atomic.c: New file.
2500 * config/riscv/crti.S: Likewise.
2501 * config/riscv/crtn.S: Likewise.
2502 * config/riscv/div.S: Likewise.
2503 * config/riscv/linux-unwind.h: Likewise.
2504 * config/riscv/muldi3.S: Likewise.
2505 * config/riscv/multi3.S: Likewise.
2506 * config/riscv/save-restore.S: Likewise.
2507 * config/riscv/sfp-machine.h: Likewise.
2508 * config/riscv/t-elf: Likewise.
2509 * config/riscv/t-elf32: Likewise.
2510 * config/riscv/t-elf64: Likewise.
2511 * config/riscv/t-softfp32: Likewise.
2512 * config/riscv/t-softfp64: Likewise.
2513
2514 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2515
2516 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2517 /* FALLTHRU */ comments.
2518
2519 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2520
2521 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2522
2523 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2524
2525 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2526 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2527 DW_CFA_GNU_window_save for AArch64 and LP64.
2528
2529 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2530
2531 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2532
2533 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2534
2535 * config/aarch64/aarch64-unwind.h: New file.
2536 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2537 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2538 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2539 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2540 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2541 (aarch64_post_extract_frame_addr): New function.
2542 (aarch64_post_frob_eh_handler_addr): New function.
2543 (aarch64_frob_update_context): New function.
2544 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2545 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2546 aarch64*-*-freebsd*):
2547 Initialize md_unwind_header to include aarch64-unwind.h.
2548 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2549 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2550 __aarch64__.
2551 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2552 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2553 (uw_frob_return_addr): New function.
2554 (uw_install_context): Use uw_frob_return_addr.
2555
2556 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2557
2558 PR other/79046
2559 * configure.ac: Add GCC_BASE_VER.
2560 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2561 version from BASE-VER file.
2562 * configure: Regenerated.
2563
2564 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2565
2566 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2567 libmul_f5.a): Filter archived prerequisites.
2568
2569 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2570
2571 * config/i386/cpuinfo.h (processor_features): Add
2572 FEATURE_AVX512VPOPCNTDQ.
2573 * config/i386/cpuinfo.c (get_available_features): Habdle new
2574 feature.
2575
2576 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2577
2578 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2579 payload if [__mips_nan2008].
2580
2581 2017-01-04 Alan Modra <amodra@gmail.com>
2582
2583 * Makefile.in (configure_deps): Update.
2584 * configure: Regenerate.
2585
2586 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2587
2588 Update copyright years.
2589
2590 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2591
2592 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2593 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2594 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2595
2596 2016-12-17 Matthias Klose <doko@ubuntu.com>
2597
2598 * config/arc/gmon: Remove empty directory.
2599
2600 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2601
2602 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2603 crtgend.
2604 (arc*-*-elf*): Likewise.
2605 * config/arc/t-arc: Remove old gmon lib targets.
2606 * config/arc/crtg.S: Remove.
2607 * config/arc/crtgend.S: Likewise.
2608 * config/arc/gmon/atomic.h: Likewise.
2609 * config/arc/gmon/auxreg.h: Likewise.
2610 * config/arc/gmon/dcache_linesz.S: Likewise.
2611 * config/arc/gmon/gmon.c: Likewise.
2612 * config/arc/gmon/machine-gmon.h: Likewise.
2613 * config/arc/gmon/mcount.c: Likewise.
2614 * config/arc/gmon/prof-freq-stub.S: Likewise.
2615 * config/arc/gmon/prof-freq.c: Likewise.
2616 * config/arc/gmon/profil.S: Likewise.
2617 * config/arc/gmon/sys/gmon.h: Likewise.
2618 * config/arc/gmon/sys/gmon_out.h: Likewise.
2619 * config/arc/t-arc-newlib: Likewise.
2620 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2621
2622 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2623
2624 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2625
2626 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2627
2628 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2629 R16 instead of push + pop.
2630 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2631
2632 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2633
2634 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2635 tmake_file.
2636
2637 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2638
2639 * config.host (arc*-*-linux-uclibc*): Use default extra
2640 objects. Include linux-android header.
2641 * config/arc/crti.S (_init): Declare symbol as function.
2642 (_fini): Likewise.
2643
2644 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2645
2646 PR fortran/78379
2647 * config/i386/cpuinfo.c: Move denums for processor vendors,
2648 processor type, processor subtypes and declaration of
2649 struct __processor_model into
2650 * config/i386/cpuinfo.h: New header file.
2651
2652 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2653 Thomas Preud'homme <thomas.preudhomme@arm.com>
2654
2655 * config/arm/cmse_nonsecure_call.S: New.
2656 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2657
2658 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2659 Thomas Preud'homme <thomas.preudhomme@arm.com>
2660
2661 * config/arm/t-arm (HAVE_CMSE): New.
2662 * config/arm/cmse.c: New.
2663
2664 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2665
2666 PR gcc/74748
2667 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2668 use generic linker version information on Blackfin.
2669
2670 PR gcc/74748
2671 * libgcc/mkmap-symver.awk: add support for skip_underscore
2672
2673 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2674 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2675
2676 PR target/67710
2677 * config/t-darwin: Default builds to 10.5 codegen.
2678
2679 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2680
2681 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2682 (_FP_NANSIGN_H): Likewise.
2683 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2684 (softfp_truncations): Add tfhf.
2685 (softfp_extras): Add required conversion functions.
2686
2687 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2688 Matthew Wahab <matthew.wahab@arm.com>
2689
2690 * config/arm/fp16.c (binary64): New.
2691 (__gnu_d2h_internal): New.
2692 (__gnu_d2h_ieee): New.
2693 (__gnu_d2h_alternative): New.
2694
2695 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2696 Matthew Wahab <matthew.wahab@arm.com>
2697
2698 * config/arm/fp16.c (struct format): New.
2699 (binary32): New.
2700 (__gnu_float2h_internal): New. Body moved from
2701 __gnu_f2h_internal and generalize.
2702 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2703 Call it with binary32.
2704
2705 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2706
2707 * soft-fp/extendhftf2.c: Update from glibc.
2708 * soft-fp/fixhfti.c: Likewise.
2709 * soft-fp/fixunshfti.c: Likewise.
2710 * soft-fp/floattihf.c: Likewise.
2711 * soft-fp/floatuntihf.c: Likewise.
2712 * soft-fp/half.h: Likewise.
2713 * soft-fp/trunctfhf2.c: Likewise.
2714
2715 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2716
2717 PR libgcc/77813
2718 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2719 __TMC_END__ behind a passthrough asm.
2720
2721 2016-11-18 Walter Lee <walt@tilera.com>
2722
2723 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2724
2725 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2726
2727 * config/i386/cpuinfo.c (processor_features): Add
2728 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2729
2730 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2731
2732 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2733 (__ARC_NORM__): Use instead ARC_OPTFPE.
2734 * config/arc/fp-hack.h: Likewise.
2735 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2736 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2737
2738 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2739
2740 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2741 * config/nvptx/mgomp.c: New file.
2742 * config/nvptx/t-nvptx: Add mgomp.c
2743
2744 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2745
2746 PR libgcc/68468
2747 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2748
2749 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2750
2751 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2752 of checking for cpus.
2753 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2754 (__modsi3, __clzsi2): Likewise.
2755
2756 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2757
2758 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2759 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2760 * config/i386/t-cpuinfo-static: New.
2761
2762 2016-11-03 Martin Liska <mliska@suse.cz>
2763
2764 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2765 (__gcov_time_profiler_atomic): Likewise.
2766
2767 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2768
2769 PR libgcc/78067
2770 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2771 count_leading_zeros.
2772
2773 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2774
2775 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2776 * libgcc2.c (__divmoddi4): New function.
2777 * libgcc2.h (__divmoddi4): Declare.
2778 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2779 and __PFX_divmodti4.
2780
2781 2016-10-24 Florian Weimer <fweimer@redhat.com>
2782
2783 PR libgcc/78064
2784 * unwind-c.c: Include auto-target.h.
2785
2786 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2787
2788 * config/pa/pa64-hpux-lib.h: New file.
2789 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2790 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2791 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2792 hppa*64*-*-hpux11*.
2793
2794 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2795
2796 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2797 definition.
2798 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2799 definition.
2800 * config/xtensa/t-windowed (LIB2ADDEH): Use
2801 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2802 or xtensa/t-linux.
2803
2804 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2805
2806 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2807 __ieee754_sqrt): New functions.
2808 (__divdf3): Add implementation with new FPU instructions under
2809 #if XCHAL_HAVE_DFP_DIV.
2810 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2811 __ieee754_sqrtf): New functions.
2812 (__divsf3): Add implementation with new FPU instructions under
2813 #if XCHAL_HAVE_FP_DIV.
2814 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2815 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2816
2817 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2818
2819 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2820 equivalent.
2821 * config/tilepro/atomic.c: Likewise and stop casting model to
2822 enum memmodel.
2823
2824 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2825
2826 PR target/77586
2827 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2828 soft-fp.
2829
2830 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2831
2832 * config.host: Add support for aarch64-*-freebsd*.
2833
2834 2016-10-05 Andreas Schwab <schwab@suse.de>
2835
2836 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2837 (.section .init_array): Don't call __do_jv_register_classes.
2838 (.section .init): Likewise.
2839
2840 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2841
2842 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2843 (__JCR_LIST__): Remove.
2844 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2845 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2846 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2847 * config/ia64/crtend.S (__JCR_END__): Remove.
2848 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2849 conditionals.
2850 (__JCR_LIST__, __JCR_END__): Remove.
2851 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2852 (__do_global_ctors_1): Likewise.
2853
2854 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2855
2856 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2857 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2858
2859 2016-09-27 Martin Liska <mliska@suse.cz>
2860
2861 PR gcov-profile/7970
2862 PR gcov-profile/16855
2863 PR gcov-profile/44779
2864 * libgcov-driver.c (__gcov_init): Do not register a atexit
2865 handler.
2866 (__gcov_exit): Rename from gcov_exit.
2867 * libgcov.h (__gcov_exit): Declare.
2868
2869 2016-09-27 Martin Liska <mliska@suse.cz>
2870
2871 PR bootstrap/77749
2872 * Makefile.in: Remove _gcov_merge_delta.
2873 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2874 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2875 * libgcov.h: Remove declaration of __gcov_merge_delta.
2876
2877 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2878
2879 * configure.ac: Do not create links, only substitute the filenames.
2880 * configure: Regenerate.
2881 * Makefile.in: Assign the substitution results to variables.
2882 (LIBGCC_LINKS): Define.
2883 (enable-execute-stack.c): New rule.
2884 (unwind.h): Likewise.
2885 (md-unwind-support.h): Likewise.
2886 (sfp-machine.h): Likewise.
2887 (gthr-default.h): Likewise.
2888 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2889 unwind.h as prerequisite of install-unwind_h-forbuild.
2890
2891 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2892
2893 PR libgcc/71744
2894 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2895 is not the primary registry and atomics are available.
2896 (any_objects_registered): New variable.
2897 (__register_frame_info_bases, __register_frame_info_table_bases):
2898 Atomically store 1 to any_objects_registered after registering first
2899 unwind info.
2900 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2901
2902 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2903
2904 PR target/63250
2905 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2906 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2907 (HFtype): Likewise.
2908 (HCtype): Likewise.
2909 (__divhc3): Likewise.
2910 (__mulhc3): Likewise.
2911 * libgcc2.c: Support _mulhc3 and _divhc3.
2912
2913 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2914
2915 PR libgcc/77519
2916 * libgcc2.c (NOTRUNC): Invert settings.
2917
2918 2016-09-06 Martin Liska <mliska@suse.cz>
2919
2920 PR gcov-profile/77378
2921 PR gcov-profile/77466
2922 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2923 conditionaly enable/disable *_atomic functions.
2924
2925 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2926
2927 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2928 where not already enabled.
2929
2930 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2931
2932 * config/mips/linux-unwind.h: Use sys/syscall.h.
2933
2934 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2935
2936 PR libgcc/77265
2937 * soft-fp/adddf3.c: Update from glibc.
2938 * soft-fp/addsf3.c: Likewise.
2939 * soft-fp/addtf3.c: Likewise.
2940 * soft-fp/divdf3.c: Likewise.
2941 * soft-fp/divsf3.c: Likewise.
2942 * soft-fp/divtf3.c: Likewise.
2943 * soft-fp/double.h: Likewise.
2944 * soft-fp/eqdf2.c: Likewise.
2945 * soft-fp/eqsf2.c: Likewise.
2946 * soft-fp/eqtf2.c: Likewise.
2947 * soft-fp/extenddftf2.c: Likewise.
2948 * soft-fp/extended.h: Likewise.
2949 * soft-fp/extendsfdf2.c: Likewise.
2950 * soft-fp/extendsftf2.c: Likewise.
2951 * soft-fp/extendxftf2.c: Likewise.
2952 * soft-fp/fixdfdi.c: Likewise.
2953 * soft-fp/fixdfsi.c: Likewise.
2954 * soft-fp/fixdfti.c: Likewise.
2955 * soft-fp/fixsfdi.c: Likewise.
2956 * soft-fp/fixsfsi.c: Likewise.
2957 * soft-fp/fixsfti.c: Likewise.
2958 * soft-fp/fixtfdi.c: Likewise.
2959 * soft-fp/fixtfsi.c: Likewise.
2960 * soft-fp/fixtfti.c: Likewise.
2961 * soft-fp/fixunsdfdi.c: Likewise.
2962 * soft-fp/fixunsdfsi.c: Likewise.
2963 * soft-fp/fixunsdfti.c: Likewise.
2964 * soft-fp/fixunssfdi.c: Likewise.
2965 * soft-fp/fixunssfsi.c: Likewise.
2966 * soft-fp/fixunssfti.c: Likewise.
2967 * soft-fp/fixunstfdi.c: Likewise.
2968 * soft-fp/fixunstfsi.c: Likewise.
2969 * soft-fp/fixunstfti.c: Likewise.
2970 * soft-fp/floatdidf.c: Likewise.
2971 * soft-fp/floatdisf.c: Likewise.
2972 * soft-fp/floatditf.c: Likewise.
2973 * soft-fp/floatsidf.c: Likewise.
2974 * soft-fp/floatsisf.c: Likewise.
2975 * soft-fp/floatsitf.c: Likewise.
2976 * soft-fp/floattidf.c: Likewise.
2977 * soft-fp/floattisf.c: Likewise.
2978 * soft-fp/floattitf.c: Likewise.
2979 * soft-fp/floatundidf.c: Likewise.
2980 * soft-fp/floatundisf.c: Likewise.
2981 * soft-fp/floatunditf.c: Likewise.
2982 * soft-fp/floatunsidf.c: Likewise.
2983 * soft-fp/floatunsisf.c: Likewise.
2984 * soft-fp/floatunsitf.c: Likewise.
2985 * soft-fp/floatuntidf.c: Likewise.
2986 * soft-fp/floatuntisf.c: Likewise.
2987 * soft-fp/floatuntitf.c: Likewise.
2988 * soft-fp/gedf2.c: Likewise.
2989 * soft-fp/gesf2.c: Likewise.
2990 * soft-fp/getf2.c: Likewise.
2991 * soft-fp/ledf2.c: Likewise.
2992 * soft-fp/lesf2.c: Likewise.
2993 * soft-fp/letf2.c: Likewise.
2994 * soft-fp/muldf3.c: Likewise.
2995 * soft-fp/mulsf3.c: Likewise.
2996 * soft-fp/multf3.c: Likewise.
2997 * soft-fp/negdf2.c: Likewise.
2998 * soft-fp/negsf2.c: Likewise.
2999 * soft-fp/negtf2.c: Likewise.
3000 * soft-fp/op-1.h: Likewise.
3001 * soft-fp/op-2.h: Likewise.
3002 * soft-fp/op-4.h: Likewise.
3003 * soft-fp/op-8.h: Likewise.
3004 * soft-fp/op-common.h: Likewise.
3005 * soft-fp/quad.h: Likewise.
3006 * soft-fp/single.h: Likewise.
3007 * soft-fp/soft-fp.h: Likewise.
3008 * soft-fp/subdf3.c: Likewise.
3009 * soft-fp/subsf3.c: Likewise.
3010 * soft-fp/subtf3.c: Likewise.
3011 * soft-fp/truncdfsf2.c: Likewise.
3012 * soft-fp/trunctfdf2.c: Likewise.
3013 * soft-fp/trunctfsf2.c: Likewise.
3014 * soft-fp/trunctfxf2.c: Likewise.
3015 * soft-fp/unorddf2.c: Likewise.
3016 * soft-fp/unordsf2.c: Likewise.
3017 * soft-fp/unordtf2.c: Likewise.
3018
3019 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3020
3021 PR gcov-profile/67097
3022 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3023
3024 2016-08-10 Martin Liska <mliska@suse.cz>
3025
3026 PR gcov-profile/58306
3027 * Makefile.in: New functions (modules) are added.
3028 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3029 function.
3030 (__gcov_pow2_profiler_atomic): New function.
3031 (__gcov_one_value_profiler_body): New argument is instroduced.
3032 (__gcov_one_value_profiler): Call with the new argument.
3033 (__gcov_one_value_profiler_atomic): Likewise.
3034 (__gcov_indirect_call_profiler_v2): Likewise.
3035 (__gcov_time_profiler_atomic): New function.
3036 (__gcov_average_profiler_atomic): Likewise.
3037 (__gcov_ior_profiler_atomic): Likewise.
3038 * libgcov.h: Declare the aforementioned functions.
3039
3040 2016-08-09 Martin Liska <mliska@suse.cz>
3041
3042 * libgcov-util.c: Fix typo and GNU coding style.
3043
3044 2016-08-09 Martin Liska <mliska@suse.cz>
3045
3046 * Makefile.in: Remove __gcov_indirect_call_profiler.
3047 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3048 function.
3049 * libgcov.h: And the declaration of the function.
3050
3051 2016-08-09 Martin Liska <mliska@suse.cz>
3052
3053 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3054 power of two.
3055
3056 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3057
3058 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3059 * config/rs6000/_mulkc3.c: Likewise.
3060
3061 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3062
3063 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3064 zero_reg as previous call to __umulhisi3 already cleared it.
3065
3066 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3067
3068 PR target/59833
3069 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3070
3071 2016-07-19 Nick Clifton <nickc@redhat.com>
3072
3073 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3074 Add crtinit.o and crtfini.o to extra_parts.
3075
3076 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3077
3078 * config/rs6000/_divkc3.c: New.
3079 * config/rs6000/_mulkc3.c: New.
3080 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3081 and _divkc3.
3082 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3083 fp128_ppc_funcs.
3084
3085 2016-07-11 Hale Wang <hale.wang@arm.com>
3086 Andre Vieira <andre.simoesdiasvieira@arm.com>
3087
3088 * config/arm/lib1funcs.S: Add new wrapper.
3089
3090 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3091
3092 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3093
3094 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3095
3096 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3097 and ARMv5t* rather than for a fixed list of architectures.
3098
3099 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3100
3101 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3102 implementation suitable for.
3103 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3104 for all Thumb-1 only targets.
3105 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3106 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3107 __ARM_ARCH_6M__.
3108 (EQUIV): Likewise.
3109 (ARM_FUNC_ALIAS): Likewise.
3110 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3111 version.
3112 (modsi3): Likewise.
3113 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3114 (clzdi2): Likewise.
3115 (ctzsi2): Likewise.
3116 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3117 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3118 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3119 __ARM_ARCH_6M__ and add comment to indicate the connection between
3120 this condition and the one in gcc/config/arm/elf.h.
3121 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3122 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3123 * config/arm/t-softfp: Likewise.
3124
3125 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3126
3127 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3128 CTOR_LISTS_DEFINED_EXTERNALLY.
3129
3130 2016-06-28 Walter Lee <walt@tilera.com>
3131
3132 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3133 asm/unistd.h.
3134 (SPR_CMPEXCH_VALUE): Define for tilegx.
3135 (__NR_FAST_cmpxchg): Define for tilepro.
3136 (__NR_FAST_atomic_update): Define for tilepro.
3137 (__NR_FAST_cmpxchg64): Define for tilepro.
3138
3139 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3140
3141 * config.host: Add suport for arm*-*-phoenix* targets.
3142
3143 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3144
3145 * config.host: Remove support for mep-*.
3146 * config/mep/lib1funcs.S: Remove.
3147 * config/mep/lib2funcs.c: Remove.
3148 * config/mep/t-mep: Remove.
3149 * config/mep/tramp.c: Remove.
3150
3151 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3152
3153 * config.host: Remove support for avr-rtems.
3154 * config/avr/t-rtems: Remove.
3155
3156 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3157
3158 * config.host: Remove m32r-rtems support.
3159
3160 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3161
3162 * config.host: Remove h8300-rtems support.
3163
3164 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3165
3166 * config.host: Remove support for knetbsd.
3167
3168 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3169
3170 * config.host: Remove support for openbsd 2 and 3.
3171
3172 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3173
3174 * config.host: Remove interix support.
3175 * config/i386/t-interix: Remove.
3176
3177 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3178
3179 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3180 least-significant bit in function pointer for fixup.
3181
3182 2016-06-05 Aaron Conole <aconole@redhat.com>
3183 Nathan Sidwell <nathan@acm.org>
3184
3185 PR libgcc/71400
3186 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3187 (get_gcov_error_file): Check __gcov_error_file before trying to
3188 initialize it.
3189 (gcov_error): Always use get_gcov_error_file.
3190
3191 2016-06-02 Aaron Conole <aconole@redhat.com>
3192
3193 * libgcov-driver-system.c (__gcov_error_file): New.
3194 (get_gcov_error_file): New.
3195 (gcov_error): Use and set __gcov_error_file.
3196 (gcov_error_exit): New.
3197 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3198
3199 2016-05-26 Nathan Sidwell <nathan@acm.org>
3200
3201 * config/nvptx/free.asm: Delete.
3202 * config/nvptx/malloc.asm: Delete.
3203 * config/nvptx/realloc.c: Delete.
3204 * t-nvptx: Update.
3205
3206 2016-05-25 Nathan Sidwell <nathan@acm.org>
3207
3208 * config/nvptx/crt0.s: Delete.
3209 * config/nvptx/crt0.c: New.
3210 * t-nvptx: Update.
3211
3212 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3213
3214 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3215 dw2/seh configuration.
3216 [x86_64-*-mingw*]: Likewise.
3217
3218 2016-05-10 Joel Sherrill <joel@rtems.org>
3219
3220 PR libgcc/70720
3221 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3222 targets so the same extra_parts are built. Also have tmake_file add
3223 on to its value rather than override.
3224
3225 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3226
3227 * config.host: Remove SH5 support.
3228 * configure: Likewise.
3229
3230 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3231
3232 * config/sh/crt1.S: Remove SH5 support.
3233 * config/sh/crti.S: Likewise.
3234 * config/sh/crtn.S: Likewise.
3235 * config/sh/lib1funcs-4-300.S: Likewise.
3236 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3237 * config/sh/lib1funcs.S: Likewise.
3238 * config/sh/linux-unwind.h: Likewise.
3239 * config/sh/t-sh64: Delete.
3240
3241 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3242
3243 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3244
3245 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3246 Joern Rennecke <joern.rennecke@embecosm.com>
3247
3248 * config/arc/crttls.S: New file.
3249 * config/arc/t-arc: New rule.
3250 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3251
3252 2016-04-25 Nick Clifton <nickc@redhat.com>
3253
3254 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3255 (__mspabi_cmpd): Likewise.
3256 * config/msp430/floathidf.c (__floathidf): Likewise.
3257 * config/msp430/floathisf.c (__floathisf): Likewise
3258 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3259 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3260 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3261 second parameter.
3262 (__ashrsi3): Likewise.
3263
3264 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3265
3266 * config/m68k/linux-atomic.c: Do not include unistd.h
3267
3268 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3269
3270 * config/arm/ieee754-df.S: Fix typos in comments.
3271
3272 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3273
3274 PR target/70381
3275 * configure.ac (powerpc*-*-linux*): Rework tests to build
3276 __float128 emulation routines to not depend on using #pragma GCC
3277 target to enable -mfloat128.
3278 * configure: Regnerate.
3279
3280 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3281
3282 PR target/67172
3283 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3284 __MINGW32__ is defined.
3285
3286 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3287
3288 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3289
3290 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3291
3292 PR libgcc/70363
3293 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3294 built with an assembler that does not support ISA 3.0
3295 instructions, rename __extendkftf2_sw to __extendkftf2.
3296
3297 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3298
3299 PR target/38239
3300 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3301 call-clobbered registers.
3302 (internal_mcount): Remove __i386__ handling.
3303
3304 2016-02-26 Joel Sherrill <joel@rtems.org>
3305
3306 * config.host: Add x86_64-*-rtems*.
3307
3308 2016-02-26 Joel Sherrill <joel@rtems.org>
3309
3310 * libgcc/config.host: Add aarch64-*-rtems*.
3311
3312 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3313 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3314
3315 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3316 union of u64 and double.
3317 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3318 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3319 value.
3320 (FP_ROUNDMODE): Update the usage of _fpscr.
3321
3322 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3323
3324 PR driver/68463
3325 * Makefile.in (crtoffloadtable$(objext)): New rule.
3326 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3327 enable_offload_targets is not empty.
3328 * configure: Regenerate.
3329 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3330 crtoffloadtable.
3331
3332 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3333
3334 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3335 .literal_position before the function.
3336 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3337 Likewise.
3338
3339 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3340
3341 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3342 * config/s390/morestack.S: New file.
3343 * config/s390/t-stack-s390: New file.
3344 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3345
3346 2016-02-12 Walter Lee <walt@tilera.com>
3347
3348 * config.host (tilegx*-*-linux*): remove ti from
3349 softfp_int_modes for 32-bit configs.
3350
3351 2016-02-10 Ian Lance Taylor <iant@google.com>
3352
3353 PR go/68562
3354 * config/i386/morestack.S (__stack_split_initialize): Align
3355 stack.
3356
3357 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3358
3359 PR bootstrap/69611
3360 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3361 __FLOAT128__ to compile only for __float128 capable targets.
3362
3363 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3364
3365 PR target/69444
3366 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3367 instead of ___NO_FPRS__.
3368
3369 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3370 Steven Munroe <munroesj@linux.vnet.ibm.com>
3371 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3372
3373 * config/rs6000/float128-sed: New files to convert TF names to KF
3374 names for PowerPC IEEE 128-bit floating point support.
3375 * config/rs6000/float128-sed-hw: Likewise.
3376
3377 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3378 floating point hardware support.
3379
3380 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3381 128-bit floating point software emulation or use ISA 3.0 hardware
3382 support if it is available.
3383
3384 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3385 floating point.
3386
3387 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3388 floating point to IBM extended double.
3389
3390 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3391 double to IEEE 128-bit floating point.
3392
3393 * config/rs6000/t-float128: New Makefile fragments to enable
3394 building __float128 emulation support.
3395 * config/rs6000/t-float128-hw: Likewise.
3396
3397 * config/rs6000/sfp-exceptions.c: New file to provide exception
3398 support for IEEE 128-bit floating point.
3399
3400 * config/rs6000/floattikf.c: New files for converting between IEEE
3401 128-bit floating point and signed/unsigned 128-bit integers.
3402 * config/rs6000/fixunskfti.c: Likewise.
3403 * config/rs6000/fixkfti.c: Likewise.
3404 * config/rs6000/floatuntikf.c: Likewise.
3405
3406 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3407 when building on 64-bit systems, or when VSX is enabled.
3408 (_FP_W_TYPE): Likewise.
3409 (_FP_WS_TYPE): Likewise.
3410 (_FP_I_TYPE): Likewise.
3411 (TItype): Define on 64-bit systems.
3412 (UTItype): Likewise.
3413 (TI_BITS): Likewise.
3414 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3415 (_FP_MUL_MEAT_Q): Likewise.
3416 (_FP_DIV_MEAT_D): Likewise.
3417 (_FP_DIV_MEAT_Q): Likewise.
3418 (_FP_NANFRAC_D): Likewise.
3419 (_FP_NANFRAC_Q): Likewise.
3420 (ISA_BIT): Add exception support if we are being compiled on a
3421 machine with hardware floating point support to build the IEEE
3422 128-bit emulation functions.
3423 (FP_EX_INVALID): Likewise.
3424 (FP_EX_OVERFLOW): Likewise.
3425 (FP_EX_UNDERFLOW): Likewise.
3426 (FP_EX_DIVZERO): Likewise.
3427 (FP_EX_INEXACT): Likewise.
3428 (FP_EX_ALL): Likewise.
3429 (__sfp_handle_exceptions): Likewise.
3430 (FP_HANDLE_EXCEPTIONS): Likewise.
3431 (FP_RND_NEAREST): Likewise.
3432 (FP_RND_ZERO): Likewise.
3433 (FP_RND_PINF): Likewise.
3434 (FP_RND_MINF): Likewise.
3435 (FP_RND_MASK): Likewise.
3436 (_FP_DECL_EX): Likewise.
3437 (FP_INIT_ROUNDMODE): Likewise.
3438 (FP_ROUNDMODE): Likewise.
3439
3440 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3441 VSX code, enable IEEE 128-bit floating point. If the compiler can
3442 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3443 floating point hardware instructions and it supports declaring
3444 functions with the ifunc attribute, enable ifunc functions to
3445 switch between software and hardware support.
3446 * configure.ac (powerpc*-*-linux*): Likewise.
3447 * configure: Regenerate.
3448
3449 2016-01-15 Nick Clifton <nickc@redhat.com>
3450
3451 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3452 dependency as the source file to be compiled.
3453 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3454 (lib2hw_mul_f5.o): Likewise.
3455
3456 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3457
3458 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3459 * libgcc/config/rs6000/fixkfti.c: Likewise.
3460 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3461 * libgcc/config/rs6000/float128-hw.c: Likewise.
3462 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3463 * libgcc/config/rs6000/float128-sed: Likewise.
3464 * libgcc/config/rs6000/floattikf.c: Likewise.
3465 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3466 * libgcc/config/rs6000/quad-float128.h: Likewise.
3467 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3468 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3469 * libgcc/config/rs6000/t-float128: Likewise.
3470 * libgcc/config/rs6000/t-float128-hw: Likewise.
3471 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3472 * libgcc/config.host: Likewise.
3473 * libgcc/configure: Likewise.
3474 * libgcc/configure.ac: Likewise.
3475
3476 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3477 Steven Munroe <munroesj@linux.vnet.ibm.com>
3478 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3479
3480 * config/rs6000/sfp-exceptions.c: New file to provide exception
3481 support for IEEE 128-bit floating point.
3482
3483 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3484 floating point hardware support.
3485
3486 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3487 point conversions.
3488 * config/rs6000/fixunskfti.c: Likewise.
3489 * config/rs6000/fixkfti.c: Likewise.
3490 * config/rs6000/floatuntikf.c: Likewise.
3491 * config/rs6000/extendkftf2-sw.c: Likewise.
3492 * config/rs6000/trunctfkf2-sw.c: Likewise.
3493
3494 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3495 128-bit floating point software emulation or use ISA 3.0 hardware
3496 support if it is available.
3497
3498 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3499 floating point.
3500
3501 * config/rs6000/t-float128: New Makefile fragments to enable
3502 building __float128 emulation support.
3503 * config/rs6000/t-float128-hw: Likewise.
3504
3505 * config/rs6000/float128-sed: New file to convert TF names to KF
3506 names for PowerPC IEEE 128-bit floating point support.
3507
3508 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3509 when building on 64-bit systems, or when VSX is enabled.
3510 (_FP_W_TYPE): Likewise.
3511 (_FP_WS_TYPE): Likewise.
3512 (_FP_I_TYPE): Likewise.
3513 (TItype): Define on 64-bit systems.
3514 (UTItype): Likewise.
3515 (TI_BITS): Likewise.
3516 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3517 (_FP_MUL_MEAT_Q): Likewise.
3518 (_FP_DIV_MEAT_D): Likewise.
3519 (_FP_DIV_MEAT_Q): Likewise.
3520 (_FP_NANFRAC_D): Likewise.
3521 (_FP_NANFRAC_Q): Likewise.
3522 (ISA_BIT): Add exception support if we are being compiled on a
3523 machine with hardware floating point support to build the IEEE
3524 128-bit emulation functions.
3525 (FP_EX_INVALID): Likewise.
3526 (FP_EX_OVERFLOW): Likewise.
3527 (FP_EX_UNDERFLOW): Likewise.
3528 (FP_EX_DIVZERO): Likewise.
3529 (FP_EX_INEXACT): Likewise.
3530 (FP_EX_ALL): Likewise.
3531 (__sfp_handle_exceptions): Likewise.
3532 (FP_HANDLE_EXCEPTIONS): Likewise.
3533 (FP_RND_NEAREST): Likewise.
3534 (FP_RND_ZERO): Likewise.
3535 (FP_RND_PINF): Likewise.
3536 (FP_RND_MINF): Likewise.
3537 (FP_RND_MASK): Likewise.
3538 (_FP_DECL_EX): Likewise.
3539 (FP_INIT_ROUNDMODE): Likewise.
3540 (FP_ROUNDMODE): Likewise.
3541
3542 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3543 compiler can do __float128.
3544 * configure: Regenerate.
3545
3546 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3547 VSX code, enable IEEE 128-bit floating point.
3548
3549 2016-01-05 Olivier Hainque <hainque@adacore.com>
3550
3551 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3552 specificities.
3553
3554 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3555
3556 Update copyright years.
3557
3558 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3559
3560 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3561 soft-fp targets.
3562
3563 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3564
3565 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3566 instead of abort to avoid dependency on stdlib.h.
3567
3568 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3569
3570 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3571 to initialize call to __dl_fixup once.
3572
3573 2015-12-04 Nick Clifton <nickc@redhat.com>
3574
3575 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3576 Allow for the second argument being negative.
3577 * config.host (extra_parts): Define for MSP430. Create separate
3578 libraries for each of the hardware multiply formats.
3579 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3580 that are needed.
3581 * config/msp430/lib2mul.c: Likewise.
3582 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3583 Add rules to build hardware multiply libraries.
3584 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3585 __mspabi_divul function.
3586 (__mspabi_divllu): New stub function.
3587
3588 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3589
3590 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3591 fixup values if saved GOT address doesn't match runtime address.
3592 (fixup_branch_offset): Reorder list.
3593
3594 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3595
3596 * Makefile.in (VTV_CFLAGS): New variable.
3597 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3598 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3599 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3600 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3601 to extra_parts if $enable_vtable_verify = yes.
3602
3603 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3604
3605 PR target/68059
3606 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3607 (write): ...this and fix the return type.
3608
3609 2015-11-19 DJ Delorie <dj@redhat.com>
3610
3611 * config/msp430/lib2hw_mul.S: Fix alignment.
3612
3613 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3614
3615 * config/nvptx/reduction.c: New.
3616 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3617
3618 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3619
3620 * config/rs6000/on_exit.c: New file.
3621 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3622 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3623
3624 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3625
3626 * config/arc/dp-hack.h: Add support for ARCHS.
3627 * config/arc/ieee-754/divdf3.S: Likewise.
3628 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3629 * config/arc/ieee-754/muldf3.S: Likewise.
3630 * config/arc/ieee-754/mulsf3.S: Likewise
3631 * config/arc/lib1funcs.S: Likewise
3632 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3633 for ARCv2 cores.
3634 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3635 for ARCv2 cores.
3636 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3637 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3638 cores.
3639
3640 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3641
3642 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3643 value.
3644 * config/ia64/crtend.S: Likewise.
3645
3646 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3647
3648 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3649 __CHAR_BIT__ instead of BITS_PER_UNIT.
3650 * fixed-bit.h: Likewise.
3651 * fp-bit.h: Likewise.
3652 * libgcc2.c (__popcountSI2): Likewise.
3653 (__popcountDI2): Likewise.
3654 * libgcc2.h: Likewise.
3655 * libgcov.h: Likewise.
3656
3657 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3658
3659 * config/rs6000/atexit.c: New file.
3660 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3661 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3662 * config/rs6000/cxa_finalize.c
3663 (catomic_compare_and_exchange_bool_acq): Negate return value.
3664
3665 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3666
3667 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3668 (processor_subtypes): Add znver1.
3669 (get_amd_cpu): Detect znver1.
3670
3671 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3672
3673 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3674 Include crtfastmath.o.
3675
3676 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3677
3678 PR libgcc/66883
3679 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3680
3681 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3682
3683 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3684 * config/rl78/divmodsi.S: Update return register to r8.
3685 * config/rl78/divmodhi.S: Update return register to r8,r9.
3686 Branch to main_loop_done_himode to pop registers before return.
3687
3688 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3689
3690 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3691 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3692
3693 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3694
3695 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3696
3697 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3698
3699 * config.host (xtensa*-*-uclinux*): New configuration.
3700
3701 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3702
3703 * config/i386/cpuinfo.c (processor_features): Add
3704 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3705
3706 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3707
3708 * soft-fp/adddf3.c: Update from glibc.
3709 * soft-fp/addsf3.c: Likewise.
3710 * soft-fp/addtf3.c: Likewise.
3711 * soft-fp/divdf3.c: Likewise.
3712 * soft-fp/divsf3.c: Likewise.
3713 * soft-fp/divtf3.c: Likewise.
3714 * soft-fp/double.h: Likewise.
3715 * soft-fp/eqdf2.c: Likewise.
3716 * soft-fp/eqsf2.c: Likewise.
3717 * soft-fp/eqtf2.c: Likewise.
3718 * soft-fp/extenddftf2.c: Likewise.
3719 * soft-fp/extended.h: Likewise.
3720 * soft-fp/extendsfdf2.c: Likewise.
3721 * soft-fp/extendsftf2.c: Likewise.
3722 * soft-fp/extendxftf2.c: Likewise.
3723 * soft-fp/fixdfdi.c: Likewise.
3724 * soft-fp/fixdfsi.c: Likewise.
3725 * soft-fp/fixdfti.c: Likewise.
3726 * soft-fp/fixsfdi.c: Likewise.
3727 * soft-fp/fixsfsi.c: Likewise.
3728 * soft-fp/fixsfti.c: Likewise.
3729 * soft-fp/fixtfdi.c: Likewise.
3730 * soft-fp/fixtfsi.c: Likewise.
3731 * soft-fp/fixtfti.c: Likewise.
3732 * soft-fp/fixunsdfdi.c: Likewise.
3733 * soft-fp/fixunsdfsi.c: Likewise.
3734 * soft-fp/fixunsdfti.c: Likewise.
3735 * soft-fp/fixunssfdi.c: Likewise.
3736 * soft-fp/fixunssfsi.c: Likewise.
3737 * soft-fp/fixunssfti.c: Likewise.
3738 * soft-fp/fixunstfdi.c: Likewise.
3739 * soft-fp/fixunstfsi.c: Likewise.
3740 * soft-fp/fixunstfti.c: Likewise.
3741 * soft-fp/floatdidf.c: Likewise.
3742 * soft-fp/floatdisf.c: Likewise.
3743 * soft-fp/floatditf.c: Likewise.
3744 * soft-fp/floatsidf.c: Likewise.
3745 * soft-fp/floatsisf.c: Likewise.
3746 * soft-fp/floatsitf.c: Likewise.
3747 * soft-fp/floattidf.c: Likewise.
3748 * soft-fp/floattisf.c: Likewise.
3749 * soft-fp/floattitf.c: Likewise.
3750 * soft-fp/floatundidf.c: Likewise.
3751 * soft-fp/floatundisf.c: Likewise.
3752 * soft-fp/floatunditf.c: Likewise.
3753 * soft-fp/floatunsidf.c: Likewise.
3754 * soft-fp/floatunsisf.c: Likewise.
3755 * soft-fp/floatunsitf.c: Likewise.
3756 * soft-fp/floatuntidf.c: Likewise.
3757 * soft-fp/floatuntisf.c: Likewise.
3758 * soft-fp/floatuntitf.c: Likewise.
3759 * soft-fp/gedf2.c: Likewise.
3760 * soft-fp/gesf2.c: Likewise.
3761 * soft-fp/getf2.c: Likewise.
3762 * soft-fp/ledf2.c: Likewise.
3763 * soft-fp/lesf2.c: Likewise.
3764 * soft-fp/letf2.c: Likewise.
3765 * soft-fp/muldf3.c: Likewise.
3766 * soft-fp/mulsf3.c: Likewise.
3767 * soft-fp/multf3.c: Likewise.
3768 * soft-fp/negdf2.c: Likewise.
3769 * soft-fp/negsf2.c: Likewise.
3770 * soft-fp/negtf2.c: Likewise.
3771 * soft-fp/op-1.h: Likewise.
3772 * soft-fp/op-2.h: Likewise.
3773 * soft-fp/op-4.h: Likewise.
3774 * soft-fp/op-8.h: Likewise.
3775 * soft-fp/op-common.h: Likewise.
3776 * soft-fp/quad.h: Likewise.
3777 * soft-fp/single.h: Likewise.
3778 * soft-fp/soft-fp.h: Likewise.
3779 * soft-fp/subdf3.c: Likewise.
3780 * soft-fp/subsf3.c: Likewise.
3781 * soft-fp/subtf3.c: Likewise.
3782 * soft-fp/truncdfsf2.c: Likewise.
3783 * soft-fp/trunctfdf2.c: Likewise.
3784 * soft-fp/trunctfsf2.c: Likewise.
3785 * soft-fp/trunctfxf2.c: Likewise.
3786 * soft-fp/unorddf2.c: Likewise.
3787 * soft-fp/unordsf2.c: Likewise.
3788 * soft-fp/unordtf2.c: Likewise.
3789
3790 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3791
3792 PR libgcc/67624
3793 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3794
3795 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3796
3797 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3798 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3799 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3800 messages.
3801 (internal_mcount): Likewise.
3802 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3803 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3804
3805 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3806
3807 * configure.ac (libgcc_cv_solaris_crts): New test.
3808 * configure: Regenerate.
3809 * config.in: Regenerate.
3810 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3811 * config/gmon-sol2.c: Rename to ...
3812 * config/sol2/gmon.c: ... this.
3813 Include auto-target.h.
3814 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3815 * config/t-sol2: Rename to ...
3816 * config/sol2/t-sol2: ... this.
3817 (gmon.o): Reflect renaming.
3818 (crtp.o, crtpg.o): New rules.
3819 * config.host (*-*-solaris2*): Reflect renaming.
3820 Use system CRTs if present.
3821 Remove default CRT case.
3822
3823 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3824
3825 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3826 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3827 __kernel_cmpxchg2.
3828 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3829 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3830 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3831 (__sync_lock_test_and_set_##WIDTH): Likewise.
3832 (__sync_lock_release_##WIDTH): Likewise.
3833 (__sync_fetch_and_##OP##_4): Change result to match type of
3834 __kernel_cmpxchg.
3835 (__sync_##OP##_and_fetch_4): Likewise.
3836 (__sync_val_compare_and_swap_4): Likewise.
3837 (__sync_bool_compare_and_swap_4): likewise.
3838 (__sync_lock_test_and_set_4): Likewise.
3839 (__sync_lock_release_4): Likewise.
3840 (FETCH_AND_OP_2): Add long long variants.
3841 (OP_AND_FETCH_2): Likewise.
3842 (COMPARE_AND_SWAP_2 ): Likewise.
3843 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3844 (SYNC_LOCK_RELEASE_2): Likewise.
3845 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3846
3847 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3848
3849 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3850 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3851 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3852 (get_available_features): Habdle new features.
3853
3854 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3855
3856 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3857 memory layout. Deal correctly with BSS region larger than 32K.
3858 Handle a watchdog reset like a power-on reset. Clean up unused
3859 code.
3860
3861 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3862 David Edelsohn <dje.gcc@gmail.com>
3863
3864 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3865 * config/rs6000/crtdbase.S: New file.
3866 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3867
3868 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3869
3870 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3871 Add support for call0 ABI.
3872
3873 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3874
3875 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3876
3877 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3878
3879 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3880 (__GTHREAD_HAS_COND): Likewise.
3881 (__gthread_t): Likewise.
3882 (__gthread_cond_t): Likewise.
3883 (__gthread_time_t): Likewise.
3884 (__GTHREAD_MUTEX_INIT): Likewise.
3885 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3886 (__GTHREAD_COND_INIT): Likewise.
3887 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3888 (__GTHREAD_TIME_INIT): Likewise.
3889 (__gthread_create): Likewise.
3890 (__gthread_join): Likewise.
3891 (__gthread_detach): Likewise.
3892 (__gthread_equal): Likewise.
3893 (__gthread_self): Likewise.
3894 (__gthread_yield): Likewise.
3895 (__gthread_cond_broadcast): Likewise.
3896 (__gthread_cond_signal): Likewise.
3897 (__gthread_cond_wait): Likewise.
3898 (__gthread_cond_timedwait): Likewise.
3899 (__gthread_cond_wait_recursive): Likewise.
3900 (__gthread_cond_destroy): Likewise.
3901 (rtems_gxx_once): Delete.
3902 (rtems_gxx_key_create): Likewise.
3903 (rtems_gxx_key_delete): Likewise.
3904 (rtems_gxx_getspecific): Likewise.
3905 (rtems_gxx_setspecific): Likewise.
3906 (rtems_gxx_mutex_init): Likewise.
3907 (rtems_gxx_mutex_destroy): Likewise.
3908 (rtems_gxx_mutex_lock): Likewise.
3909 (rtems_gxx_mutex_trylock): Likewise.
3910 (rtems_gxx_mutex_unlock): Likewise.
3911 (rtems_gxx_recursive_mutex_init): Likewise.
3912 (rtems_gxx_recursive_mutex_lock): Likewise.
3913 (rtems_gxx_recursive_mutex_trylock): Likewise.
3914 (rtems_gxx_recursive_mutex_unlock): Likewise.
3915 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3916 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3917 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3918 (__gthread_once): Likewise.
3919 (__gthread_key_create): Likewise.
3920 (__gthread_key_delete): Likewise.
3921 (__gthread_getspecific): Likewise.
3922 (__gthread_setspecific): Likewise.
3923 (__gthread_key_t): Use <pthread.h> type.
3924 (__gthread_once_t): Likewise
3925 (__gthread_mutex_t): Use <sys/lock.h> type.
3926 (__gthread_recursive_mutex_t): Likewise
3927 (__gthread_mutex_lock): Use <sys/lock.h> function.
3928 (__gthread_mutex_trylock): Likewise.
3929 (__gthread_mutex_timedlock): Likewise.
3930 (__gthread_mutex_unlock): Likewise.
3931 (__gthread_mutex_destroy): Likewise.
3932 (__gthread_recursive_mutex_lock): Likewise.
3933 (__gthread_recursive_mutex_trylock): Likewise.
3934 (__gthread_recursive_mutex_timedlock): Likewise.
3935 (__gthread_recursive_mutex_unlock): Likewise.
3936 (__gthread_recursive_mutex_destroy): Likewise.
3937
3938 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3939
3940 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3941 context->sp instead of context->cfa.
3942
3943 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3944
3945 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3946 with unwind-dw2-fde-dip.
3947
3948 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3949
3950 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3951 CALL12 followed by series of ENTRY to spill windowed registers.
3952 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3953 instead of making linux spill syscall.
3954
3955 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3956
3957 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3958 (get_intel_cpu): Likewise.
3959
3960 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3961
3962 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3963 (get_intel_cpu): Add Knights Landing support.
3964
3965 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3966
3967 PR target/66954
3968 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3969 (get_available_features): Handle FEATURE_PCLMUL.
3970
3971 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3972
3973 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3974 Broadwell.
3975
3976 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3977
3978 PR target/66954
3979 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3980 (get_available_features): Handle FEATURE_AES.
3981
3982 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3983
3984 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3985 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3986
3987 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3988
3989 * offloadstuff.c: Constify host data.
3990
3991 2015-07-17 Jan Beulich <jbeulich@suse.com>
3992
3993 * config/t-softfp: Split up "else ifneq".
3994
3995 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3996 Cesar Philippidis <cesar@codesourcery.com>
3997 Chung-Lin Tang <cltang@codesourcery.com>
3998
3999 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4000 for __nios2_arch__ level.
4001
4002 2015-07-13 John Marino <gnugcc@marino.st>
4003
4004 * config/i386/t-dragonfly: New.
4005
4006 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4007
4008 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4009 better match light-weight syscall argument order.
4010 (__kernel_cmpxchg2): Likewise.
4011 Adjust callers.
4012
4013 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4014
4015 * config.host: Support i[34567]86-*-elfiamcu target.
4016 * config/t-softfp-sfdftf: New file.
4017 * config/i386/32/t-iamcu: Likewise.
4018 * configure: Regenerated.
4019
4020 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4021
4022 libgcc/config/arm/
4023 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4024
4025 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4026
4027 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4028
4029 2015-05-27 John Marino <gnugcc@marino.st>
4030
4031 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4032 md_unwind_header
4033 * config/i386/freebsd-unwind.h: New.
4034
4035 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4036
4037 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4038 i386/t-crtfm to tmake_file.
4039 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4040 (set_fast_math): Use set_fast_math_sse for SSE targets.
4041 * config/i386/t-crtfm: Remove.
4042
4043 2015-05-21 Alan Modra <amodra@gmail.com>
4044
4045 PR libgcc/66225
4046 * config/rs6000/morestack.S: Remove ".abiversion 1".
4047
4048 2015-05-20 Alan Modra <amodra@gmail.com>
4049
4050 * config/rs6000/morestack.S: New.
4051 * config/rs6000/t-stack-rs6000: New.
4052 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4053 to tmake_file.
4054 * generic-morestack.c: Don't build for powerpc 32-bit.
4055
4056 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4057
4058 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4059 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4060
4061 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4062
4063 * config.host: FT32 target added.
4064 * config/ft32/*: New files for FT32 target.
4065
4066 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4067
4068 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4069 New macros.
4070 * config/arm/ieee754-df.S: Add CFI directives.
4071 * config/arm/ieee754-sf.S: Add CFI directives.
4072
4073 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4074
4075 * configure.ac: Include config/sjlj.m4.
4076 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4077 * config.in: Regenerate.
4078 * configure: Likewise.
4079 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4080
4081 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4082
4083 * libgcov-util.c: Add space between string literal and macro name.
4084
4085 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4086 Chris Jones <chrisj@nvidia.com>
4087 Joshua Conner <jconner@nvidia.com>
4088
4089 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4090 (arm*-*-uclinux*): Likewise.
4091 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4092 * config/arm/crtfastmath.c: New file.
4093
4094 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4095
4096 * Makefile.in (real_host_noncanonical): New variable.
4097 (libsubdir): Use it.
4098 * configure.ac (real_host_noncanonical): Compute. Remove special
4099 case for intelmicemul.
4100 * configure: Regenerate.
4101
4102 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4103
4104 * config/frv/elf-lib.h: New file.
4105 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4106 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4107 to tm_file.
4108
4109 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4110
4111 * config/frv/frvbengin.c: Do not include defaults.h
4112 * config/frv/frvend.c: Ditto.
4113
4114 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4115
4116 * config.host: Add h8300-*-linux
4117 * config/h8300/t-linux: New file.
4118 * config/h8300/lib1funs.s: Change symbol prefix.
4119 * config/h8300/sfp-machine.h: 64bit double support.
4120
4121 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4122 Szabolcs Nagy <szabolcs.nagy@arm.com>
4123
4124 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4125 Linux if target provides dl_iterate_phdr.
4126
4127 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 PR target/65612
4130 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4131 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4132 (__cpu_indicator_init@GCC_4.8.0): New.
4133 (__cpu_model@GCC_4.8.0): Likewise.
4134 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4135 -DUSE_ELF_SYMVER.
4136
4137 2015-04-16 Nick Clifton <nickc@redhat.com>
4138
4139 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4140 and __modhi3 functions.
4141 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4142 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4143
4144 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4145
4146 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4147 do-while loop as macro body to avoid warnings.
4148
4149 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4150 Iain Sandoe <iain@codesourcery.com>
4151
4152 PR target/65351
4153 * configure: Regenerate.
4154
4155 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4156 Iain Sandoe <iain@codesourcery.com>
4157
4158 PR target/65351
4159 * configure: Regenerate.
4160
4161 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4162
4163 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4164
4165 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4166
4167 Implement call0 ABI for xtensa
4168 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4169 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4170 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4171 use ret in call0 ABI.
4172 * config/xtensa/t-windowed: New file.
4173 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4174 * libgcc/configure: Regenerated.
4175 * libgcc/configure.ac: Check if xtensa target is configured for
4176 windowed ABI and thus needs to use custom unwind code.
4177
4178 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4179
4180 PR libgcc/64885
4181 * gthr-single.h: Use __unused__ attribute instead of unused.
4182 * config/gthr-vxworks.h: Likewise.
4183 * config/i386/gthr-win32.h: Likewise.
4184
4185 2015-02-27 Kai Tietz <ktietz@redhat.com>
4186
4187 PR target/65038
4188 * config.in: Regenerated.
4189 * configure: Likewise.
4190 * configure.ac (AC_HEADER_STDC): Added explicit.
4191 (AC_CHECK_HEADERS): Check for default headers plus
4192 for ftw.h header.
4193 * libgcov-util.c (gcov_read_profile_dir): Disable use
4194 of ftw-function, if header is not found.
4195 (ftw_read_file): Likewise.
4196
4197 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4198
4199 PR target/65181
4200 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4201 -Dinhibit_libc.
4202
4203 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4204
4205 * config/arm/bpabi.S (test_div_by_zero): Make label names
4206 consistent between thumb2 and arm mode cases. Separate the
4207 signed comparison on the high word of the numerator from the
4208 unsigned comparison on the low word.
4209 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4210 signed comparison.
4211
4212 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4213
4214 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4215 and <string.h>.
4216 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4217
4218 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4219
4220 PR gcov-profile/61889
4221 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4222
4223 2015-02-02 Nick Clifton <nickc@redhat.com>
4224
4225 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4226 rounding up the fraction.
4227
4228 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4229
4230 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4231 oldval and newval to const void *. Fix typo.
4232 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4233 (FETCH_AND_OP_WORD): Likewise.
4234 (OP_AND_FETCH_WORD): Likewise.
4235 (COMPARE_AND_SWAP_2): Likewise.
4236 (__sync_val_compare_and_swap_4): Likewise.
4237 (__sync_lock_test_and_set_4): Likewise.
4238 (SYNC_LOCK_RELEASE_2): Likewise.
4239 Remove support for long long atomic operations.
4240
4241 2015-01-27 Caroline Tice <cmtice@google.com>
4242
4243 Committing VTV Cywin/Ming patch for Patrick Wollgast
4244 * Makefile.in: Move rules to build vtv_*.o out of the check
4245 for CUSTOM_CRTSTUFF.
4246 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4247 i[34567]86-*-mingw*)
4248 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4249 enable_vtable_verify.
4250
4251 2015-01-27 Nick Clifton <nickc@redhat.com>
4252
4253 * config/rl78/cmpsi2.S: Use function start and end macros.
4254 (__gcc_bcmp): New function.
4255 * config/rl78/lshrsi3.S: Use function start and end macros.
4256 * config/rl78/mulsi3.S: Add support for G10.
4257 (__mulqi3): New function for G10.
4258 * config/rl78/signbit.S: Use function start and end macros.
4259 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4260 fpmath-sf.S.
4261 (LIB2FUNCS_EXCLUDE): Define.
4262 (LIB2FUNCS_ST): Define.
4263 * config/rl78/trampoline.S: Use function start and end macros.
4264 * config/rl78/vregs.h (START_FUNC): New macro.
4265 (START_ANOTHER_FUNC): New macro.
4266 (END_FUNC): New macro.
4267 (END_ANOTHER_FUNC): New macro.
4268 * config/rl78/bit-count.S: New file. Contains assembler
4269 implementations of the bit counting functions: ___clzhi2,
4270 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4271 __paritysi2, __popcounthi2 and __popcountsi2.
4272 * config/rl78/fpbit-sf.S: New file. Contains assembler
4273 implementationas of the math functions: __negsf2, __cmpsf2,
4274 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4275 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4276 * config/rl78/fpmath-sf.S: New file. Contains assembler
4277 implementations of the math functions: __subsf3, __addsf3,
4278 __mulsf3 and __divsf3
4279
4280 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4281
4282 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4283 Add i386/elf-lib.h to tm_file.
4284 * config/i386/elf-lib.h: Fix comment.
4285 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4286 && __sun__ && __svr4__]: Remove workaround.
4287
4288 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4289
4290 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4291 FEATURE_BMI2.
4292 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4293
4294 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4295
4296 * config/i386/cpuinfo.c (processor_subtypes): Add
4297 INTEL_COREI7_BROADWELL.
4298 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4299 model numbers.
4300
4301 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4302
4303 * config/i386/elf-lib.h: New file.
4304 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4305 Wrap definition in #ifdef __i386__.
4306 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4307 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4308 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4309 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4310 to tm_file.
4311
4312 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4313
4314 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4315 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4316
4317 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4318
4319 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4320 Update rt_sigframe format and address for current Nios II
4321 Linux conventions.
4322
4323 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4324
4325 * config.host (arm*-*-freebsd*): Add new configuration for
4326 arm*-*-freebsd*.
4327 * config/arm/freebsd-atomic.c: New file.
4328 * config/arm/t-freebsd: Likewise.
4329 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4330 'PC-relative indirect' OS's.
4331
4332 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4333
4334 * config.host: Add Visium support.
4335 * config/visium: New directory.
4336
4337 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4338
4339 Update copyright years.
4340
4341 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4342
4343 * config.host: Support mipsisa32r6 and mipsisa64r6.
4344 * config/mips/mips16.S: Do not build for R6.
4345
4346 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4347
4348 * config/sh/crt.h: New.
4349 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4350 symbols.
4351 * config/sh/crt1.S: Likewise.
4352
4353 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4354
4355 PR libgcc/63832
4356 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4357 func_ptr *dtor_list temporary variable to avoid "array subscript
4358 is above array bounds" warnings.
4359
4360 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4361
4362 * Makefile.in (with_aix_soname): Define.
4363 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4364 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4365 * configure: Recreate.
4366
4367 2014-12-05 Olivier Hainque <hainque@adacore.com>
4368
4369 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4370 now provided by defaults.h.
4371
4372 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4373
4374 PR target/55351
4375 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4376 whether it's defined.
4377
4378 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4379
4380 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4381 * config/i386/cpuinfo.c (get_available_features): Detect it.
4382
4383 2014-11-27 Tony Wang <tony.wang@arm.com>
4384
4385 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4386 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4387 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4388
4389 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4390
4391 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4392
4393 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4394
4395 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4396 instead.
4397
4398 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4399 John David Anglin <danglin@gcc.gnu.org>
4400
4401 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4402 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4403 (OP_AND_FETCH_2): Likewise.
4404 (COMPARE_AND_SWAP_2): Likewise.
4405 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4406 (SYNC_LOCK_RELEASE_2): Likewise.
4407 (SUBWORD_SYNC_OP): Remove.
4408 (SUBWORD_VAL_CAS): Likewise.
4409 (SUBWORD_BOOL_CAS): Likewise.
4410 (FETCH_AND_OP_WORD): Update.
4411 Consistently use signed types.
4412
4413 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4414 Thomas Schwinge <thomas@codesourcery.com>
4415 Ilya Verbin <ilya.verbin@intel.com>
4416 Andrey Turetskiy <andrey.turetskiy@intel.com>
4417
4418 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4419 (crtoffloadend$(objext)): Likewise.
4420 * configure: Regenerate.
4421 * configure.ac (accel_dir_suffix): Compute new variable.
4422 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4423 if enable_offload_targets is not empty.
4424 * offloadstuff.c: New file.
4425
4426 2014-11-13 Nick Clifton <nickc@redhat.com>
4427
4428 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4429 Use START_FUNC and END_FUNC macros to enable linker garbage
4430 collection.
4431 * config/rl78/divmodqi.S: Likewise.
4432 * config/rl78/divmodsi.S: Likewise.
4433 * config/rl78/mulsi3.S: Likewise.
4434 * config/rl78/lib2div.c: Remove G10 functions.
4435 * config/rl78/lib2muls.c: Likewise.
4436 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4437 * config/rl78/vregs.h (START_FUNC): New macro.
4438 (END_FUNC): New macro.
4439
4440 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4441
4442 * config/mips/mips16.S: Set .module when supported. Update O32
4443 FP64 calling convention and use for FPXX when possible. Add FPXX
4444 calling convention fallback case.
4445
4446 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4447
4448 * config.host: Handle nvptx-*-*.
4449 * shared-object.mk (as-flags-$o): Define.
4450 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4451 -xassembler-with-cpp.
4452 * static-object.mk: Identical changes.
4453 * config/nvptx/t-nvptx: New file.
4454 * config/nvptx/crt0.s: New file.
4455 * config/nvptx/free.asm: New file.
4456 * config/nvptx/malloc.asm: New file.
4457 * config/nvptx/realloc.c: New file.
4458
4459 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4460
4461 * Makefile.in (libgcc.map.in): New target.
4462 (libgcc.map): Use libgcc.map.in.
4463 * config/t-softfp (softfp_compat): New variable to be set by
4464 users.
4465 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4466 variables.
4467 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4468 directory.
4469 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4470 that use compat symbols and disable all code unless [SHARED].
4471 * config/t-softfp-compat: New file.
4472 * find-symver.awk: New file.
4473 * configure.ac (--with-glibc-version): New configure option.
4474 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4475 * configure: Regenerate.
4476 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4477 soft-float and e500.
4478
4479 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4480
4481 * config/t-hardfp (hardfp_exclusions): Document new variable for
4482 user to define.
4483 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4484 * config/t-softfp (softfp_extras): Document new variable for user
4485 to define.
4486 (softfp_func_list): Add functions from $(softfp_extras).
4487 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4488 * config.host (powerpc*-*-linux*): For e500v1, use
4489 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4490 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4491 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4492
4493 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4494
4495 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4496 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4497 memory read accesses are ok.
4498
4499 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4500
4501 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4502 * configure: Regenerate.
4503 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4504 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4505 of soft-fp for 32-bit classic hard float. Do not use
4506 t-softfp-excl for soft float.
4507
4508 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4509
4510 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4511 configurations.
4512 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4513 Remove variables.
4514
4515 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4516
4517 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4518 introduced with 2014-10-21 trunk r216525.
4519
4520 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4521 Vidya Praveen <vidya.praveen@atmel.com>
4522 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4523 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4524 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4525
4526 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4527 order.
4528
4529 Updated library functions for AVRTINY arch.
4530 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4531 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4532 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4533 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4534 wsubi/wadi macors.
4535 (__mulsi3_helper): Update stack, preserve callee saved regs and
4536 argument from stack. Restore callee save registers.
4537 (__mulpsi3): Likewise.
4538 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4539 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4540 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4541 AVRTINY.
4542 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4543 (__do_copy_data): Added new definition for AVRTINY.
4544 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4545 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4546 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4547 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4548 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4549 macors.
4550 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4551 AVRTINY.
4552
4553 Fix broken long multiplication on tiny arch.
4554
4555 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4556
4557 * soft-fp/double.h: Update from glibc.
4558 * soft-fp/eqdf2.c: Likewise.
4559 * soft-fp/eqsf2.c: Likewise.
4560 * soft-fp/eqtf2.c: Likewise.
4561 * soft-fp/extenddftf2.c: Likewise.
4562 * soft-fp/extended.h: Likewise.
4563 * soft-fp/extendsfdf2.c: Likewise.
4564 * soft-fp/extendsftf2.c: Likewise.
4565 * soft-fp/extendxftf2.c: Likewise.
4566 * soft-fp/gedf2.c: Likewise.
4567 * soft-fp/gesf2.c: Likewise.
4568 * soft-fp/getf2.c: Likewise.
4569 * soft-fp/ledf2.c: Likewise.
4570 * soft-fp/lesf2.c: Likewise.
4571 * soft-fp/letf2.c: Likewise.
4572 * soft-fp/op-1.h: Likewise.
4573 * soft-fp/op-2.h: Likewise.
4574 * soft-fp/op-4.h: Likewise.
4575 * soft-fp/op-8.h: Likewise.
4576 * soft-fp/op-common.h: Likewise.
4577 * soft-fp/quad.h: Likewise.
4578 * soft-fp/single.h: Likewise.
4579 * soft-fp/soft-fp.h: Likewise.
4580 * soft-fp/unorddf2.c: Likewise.
4581 * soft-fp/unordsf2.c: Likewise.
4582 * soft-fp/unordtf2.c: Likewise.
4583 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4584 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4585 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4586 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4587 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4588 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4589 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4590 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4591 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4592 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4593
4594 2014-10-08 Rong Xu <xur@google.com>
4595
4596 * libgcov-util.c (read_gcda_file): Fix format.
4597 (find_match_gcov_info): Ditto.
4598 (calculate_2_entries): New.
4599 (compute_one_gcov): Ditto.
4600 (gcov_info_count_all_cold): Ditto.
4601 (gcov_info_count_all_zero): Ditto.
4602 (extract_file_basename): Ditto.
4603 (get_file_basename): Ditto.
4604 (set_flag): Ditto.
4605 (matched_gcov_info): Ditto.
4606 (calculate_overlap): Ditto.
4607 (gcov_profile_overlap): Ditto.
4608 * libgcov-driver.c (compute_summary): Make
4609 it avavilable for external calls.
4610
4611 2014-10-06 Rong Xu <xur@google.com>
4612
4613 * Makefile.in: Ditto.
4614 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4615 (gcov_sort_icall_topn_counter): Ditto.
4616 (gcov_sort_topn_counter_arrays): Ditto.
4617 (dump_one_gcov): Sort indirect_call topn counters.
4618 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4619 function.
4620 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4621 utility function.
4622 (__gcov_indirect_call_topn_profiler): New profiler function.
4623 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4624 * libgcov.h: New decls.
4625
4626 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4627
4628 * config.host: Remove support for score-*.
4629
4630 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4631
4632 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4633 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4634 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4635 __LIBGCC_XF_MANT_DIG__.
4636 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4637 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4638 __LIBGCC_TF_MANT_DIG__.
4639 * libgcc2.c (NOTRUNC): Define in terms of
4640 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4641 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4642
4643 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4644
4645 PR target/63312
4646 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4647 New macros.
4648
4649 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4650
4651 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4652 override USE_PT_GNU_EH_FRAME.
4653 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4654 check USE_EH_FRAME_REGISTRY_ALWAYS against
4655 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4656 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4657 variable for substituted force_explicit_eh_registry.
4658 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4659 * configure.ac (explicit-exception-frame-registration):
4660 New AC_ARG_ENABLE.
4661 * configure: Regenerate.
4662
4663 2014-09-19 Olivier Hainque <hainque@adacore.com>
4664
4665 * config.host (powerpc-wrs-vxworksmils): New configuration,
4666 same as vxworksae.
4667
4668 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4669
4670 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4671
4672 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4673
4674 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4675 bits not set bits as indicating trapping exceptions.
4676
4677 2014-09-17 Nathan sidwell <nathan@acm.org>
4678
4679 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4680 (LIBGCOV_DRIVER): ... here.
4681 * libgcov-driver.c (gcov_master): New.
4682 (gcov_exit): Remove from master chain.
4683 (__gcov_init): Add to master chain if version compatible. Don't
4684 clear the version.
4685 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4686 (gcov_reset_int): Clear master chain, if compatible.
4687 (gcov_dump_int): New internal interface. Dump master chain, if
4688 compatible.
4689 (gcov_dump): Alias for gcov_dump_int.
4690 * libgcov.h (struct gcov_root): Add next and prev fields.
4691 (struct gcov_master): New struct.
4692 (__gcov_master): New.
4693 (gcov_dump_int): Declare.
4694
4695 2014-09-17 Olivier Hainque <hainque@adacore.com>
4696
4697 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4698 and crtbegin.o + crtend.o to extra_parts.
4699
4700 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4701
4702 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4703 __LIBGCC_HAS_SF_MODE__.
4704 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4705 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4706 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4707 * config/libbid/bid_gcc_intrinsics.h
4708 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4709 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4710 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4711 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4712 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4713 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4714
4715 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4716
4717 PR target/63223
4718 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4719 and R24 as needed. Make work for all devices and .text locations.
4720 (__do_global_ctors, __do_global_dtors): Use word addresses.
4721 (__tablejump__, __tablejump_elpm__): Remove functions.
4722 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4723 Add _tablejump2.
4724 (XICALL, XIJMP): New macros.
4725
4726 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4727 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4728
4729 * config.host (aarch64*): Include crtfastmath.o and
4730 t-crtfm.
4731 * config/aarch64/crtfastmath.c: New file.
4732
4733 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4734
4735 * config.host: Remove picochip support.
4736 * config/picochip/adddi3.S: Remove.
4737 * config/picochip/ashlsi3.S: Remove.
4738 * config/picochip/ashlsi3.c: Remove.
4739 * config/picochip/ashrsi3.S: Remove.
4740 * config/picochip/ashrsi3.c: Remove.
4741 * config/picochip/clzsi2.S: Remove.
4742 * config/picochip/cmpsi2.S: Remove.
4743 * config/picochip/divmod15.S: Remove.
4744 * config/picochip/divmodhi4.S: Remove.
4745 * config/picochip/divmodsi4.S: Remove.
4746 * config/picochip/lib1funcs.S: Remove.
4747 * config/picochip/longjmp.S: Remove.
4748 * config/picochip/lshrsi3.S: Remove.
4749 * config/picochip/lshrsi3.c: Remove.
4750 * config/picochip/parityhi2.S: Remove.
4751 * config/picochip/popcounthi2.S: Remove.
4752 * config/picochip/setjmp.S: Remove.
4753 * config/picochip/subdi3.S: Remove.
4754 * config/picochip/t-picochip: Remove.
4755 * config/picochip/ucmpsi2.S: Remove.
4756 * config/picochip/udivmodhi4.S: Remove.
4757 * config/picochip/udivmodsi4.S: Remove.
4758
4759 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4760
4761 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4762 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4763 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4764 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4765 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4766 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4767 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4768 defined and LIBGCC2_HAS_DF_MODE is defined.
4769 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4770 defined and LIBGCC2_HAS_XF_MODE is defined.
4771 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4772 defined and LIBGCC2_HAS_TF_MODE is defined.
4773
4774 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4775
4776 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4777 and ROUND_TOWARDS_ZERO conditionals.
4778
4779 2014-09-07 Nathan sidwell <nathan@acm.org>
4780
4781 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4782 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4783
4784 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4785
4786 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4787 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4788 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4789 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4790 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4791 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4792 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4793 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4794 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4795 (DWARF_FRAME_REGISTERS): Change all uses to
4796 __LIBGCC_DWARF_FRAME_REGISTERS__.
4797 (EH_RETURN_STACKADJ_RTX): Change all uses to
4798 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4799 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4800 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4801 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4802 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4803 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4804 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4805 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4806 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4807 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4808 __LIBGCC_STACK_POINTER_REGNUM__.
4809 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4810 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4811 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4812 to __LIBGCC_STACK_POINTER_REGNUM__.
4813 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4814 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4815 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4816 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4817 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4818 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4819 (STACK_POINTER_REGNUM): Change all uses to
4820 __LIBGCC_STACK_POINTER_REGNUM__.
4821 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4822 use to __LIBGCC_STACK_POINTER_REGNUM__.
4823 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4824 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4825 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4826 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4827 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4828 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4829 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4830 to __LIBGCC_STACK_POINTER_REGNUM__.
4831 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4832 Remove conditional definition.
4833 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4834 __LIBGCC_TEXT_SECTION_ASM_OP__.
4835 (EH_FRAME_SECTION_NAME): Change all uses to
4836 __LIBGCC_EH_FRAME_SECTION_NAME__.
4837 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4838 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4839 (CTORS_SECTION_ASM_OP): Change all uses to
4840 __LIBGCC_CTORS_SECTION_ASM_OP__.
4841 (DTORS_SECTION_ASM_OP): Change all uses to
4842 __LIBGCC_DTORS_SECTION_ASM_OP__.
4843 (JCR_SECTION_NAME): Change all uses to
4844 __LIBGCC_JCR_SECTION_NAME__.
4845 (INIT_SECTION_ASM_OP): Change all uses to
4846 __LIBGCC_INIT_SECTION_ASM_OP__.
4847 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4848 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4849 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4850 __LIBGCC_STACK_GROWS_DOWNWARD__.
4851 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4852 __LIBGCC_INIT_SECTION_ASM_OP__.
4853 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4854 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4855 (EH_FRAME_SECTION_NAME): Change all uses to
4856 __LIBGCC_EH_FRAME_SECTION_NAME__.
4857 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4858 definitions. Change all uses to
4859 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4860 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4861 __LIBGCC_STACK_GROWS_DOWNWARD__.
4862 (DWARF_FRAME_REGISTERS): Change all uses to
4863 __LIBGCC_DWARF_FRAME_REGISTERS__.
4864 (EH_RETURN_STACKADJ_RTX): Change all uses to
4865 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4866 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4867 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4868 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4869 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4870 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4871
4872 2014-09-02 Nathan sidwell <nathan@acm.org>
4873
4874 * libgcov-interface.c (STRONG_ALIAS): New.
4875 (__gcov_flush): Call __gcov_reset_int.
4876 (__gcov_reset): Strong alias for ...
4877 (__gcov_reset_ing): ... this renamed hidden version.
4878 * libgcov.h (__gcov_reset_int): New declaration.
4879
4880 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4881
4882 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4883 call from here...
4884 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4885 (__dso_handle): Define on Cygwin.
4886 * config/i386/t-cygming (crtbeginS.o): New rule.
4887 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4888
4889 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4890 declaration syntax.
4891
4892 2014-08-13 Steve Ellcey <sellcey@mips.com>
4893
4894 * crtstuff.c: Undef caddr_t.
4895
4896 2014-08-12 Steve Ellcey <sellcey@mips.com>
4897
4898 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4899
4900 2014-08-07 Nathan Sidwell <nathan@acm.org>
4901
4902 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4903 (LIBGCOV_DRIVER): ... to here.
4904 * libgcov.h (gcov_do_dump): New #define.
4905 (struct gcov_root): New.
4906 (__gcov_root): New declaration.
4907 (__gcov_dump_one): Declare.
4908 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4909 run_accounted): Delete.
4910 (gcov_compute_histogram): Add LIST argument, adjust.
4911 (compute_summary): Adjust gcov_compute_histogram call.
4912 (gcov_do_dump): Not hidden, static in libgcov.
4913 (gcov_clear): Move to interface.c.
4914 (__gcov_dump_one): New, broken out of ...
4915 (gcov_exit): ... here. Make static.
4916 (__gcov_root): New.
4917 (__gcov_init): Adjust.
4918 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4919 declarations.
4920 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4921 (gcov_clear): Moved from driver.c. Add LIST argument.
4922 (__gcov_reset): Adjust for changed interfaces.
4923 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4924
4925 2014-08-04 Rohit <rohitarulraj@freescale.com>
4926
4927 PR target/60102
4928 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4929 based on change in SPE high register numbers and 3 HTM registers.
4930
4931 2014-08-01 Nathan Sidwell <nathan@acm.org>
4932
4933 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4934 LIBGCOV_INTERFACE): Reformat.
4935 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4936 IN_GCOV_TOOL.
4937 * libgcov-interface.c: Reformat some comments.
4938 (__gcov_flush_mx): Add declaration. Tidy up definition.
4939
4940 2014-07-31 Alan Modra <amodra@gmail.com>
4941 Peter Bergner <bergner@vnet.ibm.com>
4942
4943 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4944 (pack_ldouble): New function.
4945 (__gcc_qadd): Use it.
4946 (__gcc_qmul): Likewise.
4947 (__gcc_qdiv): Likewise.
4948 (__gcc_qneg): Likewise.
4949 (__gcc_stoq): Likewise.
4950 (__gcc_dtoq): Likewise.
4951
4952 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4953
4954 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4955 (__tpf_eh_return): Add original return address as second parameter.
4956 Handle cases where unwinder routines were called directly, instead
4957 of from within the C++ library.
4958
4959 2014-07-29 Nathan Sidwell <nathan@acm.org>
4960
4961 * libgcov.h: Move renaming of entry points to lib gcov specific
4962 portion.
4963 (gcov_do_dump): New rename.
4964 (gcov_rewrite): Remove inline, make HIDDEN.
4965 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4966 (gcov_exit_compute_summary): Rename to ...
4967 (compute_summary): ... here. Add LIST argument.
4968 (gcov_exit_merge_gcda): Rename to ...
4969 (merge_one_data): ... here.
4970 (gcov_exit_write_gcda): Rename to ...
4971 (write_one_data): ... here.
4972 (gcov_exit_merge_summary): Rename to ...
4973 (merge_summary): Add RUN_COUNTED argument.
4974 (gcov_exit_dump_gcov): Rename to ...
4975 (dump_one_gcov): Add RUN_COUNTED argument.
4976 (gcov_do_dump): New function, broken out of ...
4977 (gcov_exit): ... here. Call it.
4978
4979 2014-07-27 Anthony Green <green@moxielogic.com>
4980
4981 * config.host: Add moxiebox configuration suppport.
4982
4983 2014-07-27 Nathan Sidwell <nathan@acm.org>
4984
4985 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4986 (struct gcov_filename): ... here. Include buffer and max length
4987 fields.
4988 (gcov_max_filename): Remove.
4989 (gi_filename): Remove.
4990 (gcov_exit_compute_summary): Compute max filename here.
4991 (gcov_exit_merge_gcda): Add filename parm, adjust.
4992 (gcov_exit_merge_summary): Likewise.
4993 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4994 (gcov_exit): Likewise.
4995 (__gcov_init): Don't calculate max length here.
4996 * libgcov_util.c (max_filename_len): Remove.
4997 (read_gcda_file): Don't calculate max length here.
4998 (gcov_read_profile_dir): Don't propagate here.
4999 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5000 struct gcov_filename changes.
5001 (gcov_exit_open_gcda_file): Likewise.
5002
5003 2014-07-25 Nathan Sidwell <nathan@acm.org>
5004
5005 * libgcov-driver.c (set_gcov_dump_complete,
5006 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5007 functions polluting user's namespace.
5008 (gcov_exit): Set variable directly.
5009 (gcov_clear): Reset variable directly.
5010 * libgcov-interface.c (get_gcov_dymp_complete,
5011 reset_gov_dump_complete): Remove declarations.
5012 (__gcov_reset, __gcov_dump): Don't call them.
5013
5014 2014-07-24 DJ Delorie <dj@redhat.com>
5015
5016 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5017 (__gcc_deregister_frame): Move logic to detect deregister function
5018 to ...
5019 (__gcc_register_frame): here, so it's consistent with the register
5020 logic.
5021
5022 2014-07-23 Nathan Sidwell <nathan@acm.org>
5023
5024 * libgcov-driver.c (set_gcov_list): Remove.
5025 (gcov_list): Make non-static in GCOV_TOOL.
5026 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5027
5028 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5029
5030 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5031 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5032 Don't use SYNC_LOCK_RELEASE for int type.
5033
5034 2014-07-14 Richard Biener <rguenther@suse.de>
5035
5036 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5037
5038 2014-07-11 Rong Xu <xur@google.com>
5039
5040 * libgcov-util.c (gcov_max_filename): Fix declartion.
5041
5042 2014-07-10 Rong Xu <xur@google.com>
5043
5044 Add gcov-tool: an offline gcda profile processing tool
5045 Support.
5046 * libgcov-driver.c (gcov_max_filename): Make available
5047 to gcov-tool.
5048 * libgcov-merge.c (__gcov_merge_add): Replace
5049 gcov_read_counter() with a Macro.
5050 (__gcov_merge_ior): Ditto.
5051 (__gcov_merge_time_profile): Ditto.
5052 (__gcov_merge_single): Ditto.
5053 (__gcov_merge_delta): Ditto.
5054 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5055 in the utility functions.
5056 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5057 gcov_list object link lists.
5058 (tag_function): Ditto.
5059 (tag_blocks): Ditto.
5060 (tag_arcs): Ditto.
5061 (tag_lines): Ditto.
5062 (tag_counters): Ditto.
5063 (tag_summary): Ditto.
5064 (read_gcda_finalize): Ditto.
5065 (read_gcda_file): Ditto.
5066 (ftw_read_file): Ditto.
5067 (read_profile_dir_init): Ditto.
5068 (gcov_read_profile_dir): Ditto.
5069 (gcov_read_counter_mem): Ditto.
5070 (gcov_get_merge_weight): Ditto.
5071 (merge_wrapper): A wrapper function that calls merging handler.
5072 (gcov_merge): Merge two gcov_info objects with weights.
5073 (find_match_gcov_info): Find the matched gcov_info in the list.
5074 (gcov_profile_merge): Merge two gcov_info object lists.
5075 (__gcov_add_counter_op): Process edge profile counter values.
5076 (__gcov_ior_counter_op): Process IOR profile counter values.
5077 (__gcov_delta_counter_op): Process delta profile counter values.
5078 (__gcov_single_counter_op): Process single profile counter values.
5079 (fp_scale): Callback function for float-point scaling.
5080 (int_scale): Callback function for integer fraction scaling.
5081 (gcov_profile_scale): Scaling profile counters.
5082 (gcov_profile_normalize): Normalize profile counters.
5083 * libgcov.h: Add headers and functions for gcov-tool use.
5084 (gcov_get_counter): New.
5085 (gcov_get_counter_target): Ditto.
5086 (struct gcov_info): Make the functions field mutable in gcov-tool
5087 compilation.
5088
5089 2014-06-23 Kai Tietz <ktietz@redhat.com>
5090
5091 PR libgcc/61585
5092 * unwind-seh.c (_Unwind_GetGR): Check for proper
5093 index range.
5094 (_Unwind_SetGR): Likewise.
5095
5096 2014-05-22 Nick Clifton <nickc@redhat.com>
5097
5098 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5099 -mhwmult=none.
5100
5101 2014-05-22 Teresa Johnson <tejohnson@google.com>
5102
5103 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5104 include.
5105
5106 2014-05-20 John Marino <gnugcc@marino.st>
5107
5108 * config.host (*-*-dragonfly*): New target.
5109 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5110 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5111 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5112 * config/i386/dragonfly-unwind.h: New.
5113
5114 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5115
5116 PR libgcc/60166
5117 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5118 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5119
5120 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5121
5122 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5123 implementation.
5124
5125 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5126
5127 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5128
5129 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5130
5131 PR libgcc/61097
5132 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5133 if --enable-shared.
5134
5135 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5136
5137 Work around for current cygwin32 build problems.
5138 * config/i386/cygming-crtbegin.c (__register_frame_info,
5139 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5140 functions only for 64-bit systems.
5141
5142 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5143
5144 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5145 (sigill_caught, sigill_hdlr): Remove.
5146
5147 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5148
5149 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5150 check.
5151 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5152 Solaris 9 single-threaded support.
5153 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5154 Solaris 9 single-threaded support. Add call_user_handler code
5155 sequences.
5156 (sparc_is_sighandler): Likewise.
5157
5158 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5159
5160 * config.host: Append t-floattodi to tmake_file depending on
5161 host_address.
5162
5163 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5164
5165 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5166
5167 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5168
5169 PR libgcc/60472
5170 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5171 variable to avoid "array subscript is above array bounds" warnings.
5172 Use __builtin_expect when checking *jcr_list for NULL.
5173
5174 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5175
5176 PR libgcc/59339
5177 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5178 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5179 vtv_*.o to extra_parts if enable_vtable_verify.
5180
5181 2014-03-06 Nick Clifton <nickc@redhat.com>
5182
5183 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5184 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5185
5186 2014-02-28 Joey Ye <joey.ye@arm.com>
5187
5188 PR libgcc/60166
5189 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5190 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5191 Set to zero.
5192
5193 2014-02-24 Walter Lee <walt@tilera.com>
5194
5195 * config.host: Support "tilegx*" and "tilepro*" triplets.
5196 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5197 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5198
5199 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5200 Chung-Lin Tang <cltang@codesourcery.com>
5201
5202 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5203 * config/nios2/crti.S: Remove .file directive.
5204 * config/nios2/crtn.S: Likewise.
5205
5206 2014-02-18 Kai Tietz <ktietz@redhat.com>
5207 Jonathan Schleifer <js@webkeks.org>
5208
5209 PR objc/56870
5210 * unwind-seh.c (_GCC_specific_handler): Pass proper
5211 value to unwind-handler.
5212
5213 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5214
5215 * soft-fp/adddf3.c: Update from glibc.
5216 * soft-fp/addsf3.c: Likewise.
5217 * soft-fp/addtf3.c: Likewise.
5218 * soft-fp/divdf3.c: Likewise.
5219 * soft-fp/divsf3.c: Likewise.
5220 * soft-fp/divtf3.c: Likewise.
5221 * soft-fp/double.h: Likewise.
5222 * soft-fp/eqdf2.c: Likewise.
5223 * soft-fp/eqsf2.c: Likewise.
5224 * soft-fp/eqtf2.c: Likewise.
5225 * soft-fp/extenddftf2.c: Likewise.
5226 * soft-fp/extended.h: Likewise.
5227 * soft-fp/extendsfdf2.c: Likewise.
5228 * soft-fp/extendsftf2.c: Likewise.
5229 * soft-fp/extendxftf2.c: Likewise.
5230 * soft-fp/fixdfdi.c: Likewise.
5231 * soft-fp/fixdfsi.c: Likewise.
5232 * soft-fp/fixdfti.c: Likewise.
5233 * soft-fp/fixsfdi.c: Likewise.
5234 * soft-fp/fixsfsi.c: Likewise.
5235 * soft-fp/fixsfti.c: Likewise.
5236 * soft-fp/fixtfdi.c: Likewise.
5237 * soft-fp/fixtfsi.c: Likewise.
5238 * soft-fp/fixtfti.c: Likewise.
5239 * soft-fp/fixunsdfdi.c: Likewise.
5240 * soft-fp/fixunsdfsi.c: Likewise.
5241 * soft-fp/fixunsdfti.c: Likewise.
5242 * soft-fp/fixunssfdi.c: Likewise.
5243 * soft-fp/fixunssfsi.c: Likewise.
5244 * soft-fp/fixunssfti.c: Likewise.
5245 * soft-fp/fixunstfdi.c: Likewise.
5246 * soft-fp/fixunstfsi.c: Likewise.
5247 * soft-fp/fixunstfti.c: Likewise.
5248 * soft-fp/floatdidf.c: Likewise.
5249 * soft-fp/floatdisf.c: Likewise.
5250 * soft-fp/floatditf.c: Likewise.
5251 * soft-fp/floatsidf.c: Likewise.
5252 * soft-fp/floatsisf.c: Likewise.
5253 * soft-fp/floatsitf.c: Likewise.
5254 * soft-fp/floattidf.c: Likewise.
5255 * soft-fp/floattisf.c: Likewise.
5256 * soft-fp/floattitf.c: Likewise.
5257 * soft-fp/floatundidf.c: Likewise.
5258 * soft-fp/floatundisf.c: Likewise.
5259 * soft-fp/floatunditf.c: Likewise.
5260 * soft-fp/floatunsidf.c: Likewise.
5261 * soft-fp/floatunsisf.c: Likewise.
5262 * soft-fp/floatunsitf.c: Likewise.
5263 * soft-fp/floatuntidf.c: Likewise.
5264 * soft-fp/floatuntisf.c: Likewise.
5265 * soft-fp/floatuntitf.c: Likewise.
5266 * soft-fp/gedf2.c: Likewise.
5267 * soft-fp/gesf2.c: Likewise.
5268 * soft-fp/getf2.c: Likewise.
5269 * soft-fp/ledf2.c: Likewise.
5270 * soft-fp/lesf2.c: Likewise.
5271 * soft-fp/letf2.c: Likewise.
5272 * soft-fp/muldf3.c: Likewise.
5273 * soft-fp/mulsf3.c: Likewise.
5274 * soft-fp/multf3.c: Likewise.
5275 * soft-fp/negdf2.c: Likewise.
5276 * soft-fp/negsf2.c: Likewise.
5277 * soft-fp/negtf2.c: Likewise.
5278 * soft-fp/op-1.h: Likewise.
5279 * soft-fp/op-2.h: Likewise.
5280 * soft-fp/op-4.h: Likewise.
5281 * soft-fp/op-8.h: Likewise.
5282 * soft-fp/op-common.h: Likewise.
5283 * soft-fp/quad.h: Likewise.
5284 * soft-fp/single.h: Likewise.
5285 * soft-fp/soft-fp.h: Likewise.
5286 * soft-fp/subdf3.c: Likewise.
5287 * soft-fp/subsf3.c: Likewise.
5288 * soft-fp/subtf3.c: Likewise.
5289 * soft-fp/truncdfsf2.c: Likewise.
5290 * soft-fp/trunctfdf2.c: Likewise.
5291 * soft-fp/trunctfsf2.c: Likewise.
5292 * soft-fp/trunctfxf2.c: Likewise.
5293 * soft-fp/unorddf2.c: Likewise.
5294 * soft-fp/unordsf2.c: Likewise.
5295 * soft-fp/unordtf2.c: Likewise.
5296 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5297 macro.
5298 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5299 Likewise.
5300 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5301 Likewise.
5302 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5303 Likewise.
5304 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5305 Likewise.
5306 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5307 Likewise.
5308 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5309 Likewise.
5310 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5311 Likewise.
5312 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5313 Likewise.
5314 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5315 Likewise.
5316 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5317 Likewise.
5318 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5319 Likewise.
5320 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5321 Likewise.
5322 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5323 Likewise.
5324 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5325 Likewise.
5326 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5327 Likewise.
5328
5329 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5330
5331 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5332 cannot be represented.
5333 * config/s390/32/_fixsfdi.c: Likewise.
5334 * config/s390/32/_fixtfdi.c: Likewise.
5335 * config/s390/32/_fixunsdfdi.c: Likewise.
5336 * config/s390/32/_fixunssfdi.c: Likewise.
5337 * config/s390/32/_fixunstfdi.c: Likewise.
5338
5339 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5340
5341 * configure.ac (libgcc_cv_mips_hard_float): New.
5342 * configure: Regenerate.
5343 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5344 t-softfp-sfdf for hard-float targets.
5345 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5346 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5347 (softfp_truncations, softfp_exclude_libgcc2): New.
5348 * config/t-hardfp: New file.
5349 * config/t-hardfp-sfdf: Likewise.
5350 * config/hardfp.c: Likewise.
5351
5352 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5353
5354 * config.host: Include t-floattodi also for s390x.
5355 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5356 * config/s390/32/_fixsfdi.c: Likewise.
5357 * config/s390/32/_fixtfdi.c: Likewise.
5358 * config/s390/32/_fixunsdfdi.c: Likewise.
5359 * config/s390/32/_fixunssfdi.c: Likewise.
5360 * config/s390/32/_fixunstfdi.c: Likewise.
5361
5362 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5363
5364 PR target/59788
5365 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5366 (install-libgcc-unwind-map-forbuild): New target.
5367 (all): Depend on install-libgcc-unwind-map-forbuild.
5368 (install-libgcc-unwind-map): New target.
5369 (install): Depend on install-libgcc-unwind-map.
5370
5371 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5372
5373 * config/nios2/crti.S (_init): Initialize GOT pointer from
5374 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5375
5376 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5377
5378 * configure.ac: Check __mips64 when setting host_address.
5379 * configure: Regenerate.
5380 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5381 mips/t-mips64 and t-softfp.
5382 (mips*-*-linux*): Don't add mips/t-tpbit.
5383 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5384 (DPBIT, DPBIT_CFLAGS): Delete.
5385 * config/mips/sfp-machine.h: New file.
5386 * config/mips/t-mips64: Likewise.
5387 * config/mips/t-softfp-tf: Likewise.
5388 * config/mips/t-tpbit: Delete.
5389
5390 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5391
5392 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5393 as long long.
5394
5395 2014-01-25 Walter Lee <walt@tilera.com>
5396
5397 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5398 config.h or system.h.
5399 (bool) Define.
5400
5401 2014-01-25 Walter Lee <walt@tilera.com>
5402
5403 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5404 (post_atomic_barrier): Ditto.
5405 (__fetch_and_do): New macro.
5406 (__atomic_fetch_and_do): Use __fetch_and_do.
5407 (__sync_fetch_and_do): New macro.
5408 (__sync_fetch_and_add_4): New function.
5409 (__sync_fetch_and_sub_4): New function.
5410 (__sync_fetch_and_or_4): New function.
5411 (__sync_fetch_and_and_4): New function.
5412 (__sync_fetch_and_xor_4): New function.
5413 (__sync_fetch_and_nand_4): New function.
5414 (__sync_fetch_and_add_8): New function.
5415 (__sync_fetch_and_sub_8): New function.
5416 (__sync_fetch_and_or_8): New function.
5417 (__sync_fetch_and_and_8): New function.
5418 (__sync_fetch_and_xor_8): New function.
5419 (__sync_fetch_and_nand_8): New function.
5420 (__do_and_fetch): New macro.
5421 (__atomic_do_and_fetch): Use __do_and_fetch.
5422 (__sync_do_and_fetch): New macro.
5423 (__sync_add_and_fetch_4): New function.
5424 (__sync_sub_and_fetch_4): New function.
5425 (__sync_or_and_fetch_4): New function.
5426 (__sync_and_and_fetch_4): New function.
5427 (__sync_xor_and_fetch_4): New function.
5428 (__sync_nand_and_fetch_4): New function.
5429 (__sync_add_and_fetch_8): New function.
5430 (__sync_sub_and_fetch_8): New function.
5431 (__sync_or_and_fetch_8): New function.
5432 (__sync_and_and_fetch_8): New function.
5433 (__sync_xor_and_fetch_8): New function.
5434 (__sync_nand_and_fetch_8): New function.
5435 (__sync_exchange_methods): New macro.
5436 (__sync_val_compare_and_swap_4): New function.
5437 (__sync_bool_compare_and_swap_4): New function.
5438 (__sync_lock_test_and_test_4): New function.
5439 (__sync_val_compare_and_swap_8): New function.
5440 (__sync_bool_compare_and_swap_8): New function.
5441 (__sync_lock_test_and_test_8): New function.
5442 (__subword_cmpxchg_body): New macro.
5443 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5444 (__atomic_compare_exchange_2): Ditto.
5445 (__sync_subword_cmpxchg): New macro.
5446 (__sync_val_compare_and_swap_1): New function.
5447 (__sync_bool_compare_and_swap_1): New function.
5448 (__sync_val_compare_and_swap_2): New function.
5449 (__sync_bool_compare_and_swap_2): New function.
5450 (__atomic_subword): Rename to ...
5451 (__subword): ... New name.
5452 (__atomic_subword_fetch): Use __subword.
5453 (__sync_subword_fetch): New macro.
5454 (__sync_fetch_and_add_1): New function.
5455 (__sync_fetch_and_sub_1): New function.
5456 (__sync_fetch_and_or_1): New function.
5457 (__sync_fetch_and_and_1): New function.
5458 (__sync_fetch_and_xor_1): New function.
5459 (__sync_fetch_and_nand_1): New function.
5460 (__sync_fetch_and_add_2): New function.
5461 (__sync_fetch_and_sub_2): New function.
5462 (__sync_fetch_and_or_2): New function.
5463 (__sync_fetch_and_and_2): New function.
5464 (__sync_fetch_and_xor_2): New function.
5465 (__sync_fetch_and_nand_2): New function.
5466 (__sync_add_and_fetch_1): New function.
5467 (__sync_sub_and_fetch_1): New function.
5468 (__sync_or_and_fetch_1): New function.
5469 (__sync_and_and_fetch_1): New function.
5470 (__sync_xor_and_fetch_1): New function.
5471 (__sync_nand_and_fetch_1): New function.
5472 (__sync_add_and_fetch_2): New function.
5473 (__sync_sub_and_fetch_2): New function.
5474 (__sync_or_and_fetch_2): New function.
5475 (__sync_and_and_fetch_2): New function.
5476 (__sync_xor_and_fetch_2): New function.
5477 (__sync_nand_and_fetch_2): New function.
5478 (__atomic_subword_lock): Use __subword.
5479 (__sync_subword_lock): New macro.
5480 (__sync_lock_test_and_set_1): New function.
5481 (__sync_lock_test_and_set_2): New function.
5482
5483 2014-01-25 Walter Lee <walt@tilera.com>
5484
5485 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5486 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5487 (__atomic_subword): Ditto.
5488
5489 2014-01-25 Walter Lee <walt@tilera.com>
5490
5491 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5492 a prefix op argument.
5493 (__atomic_nand_fetch_4): Add prefix op.
5494 (__atomic_nand_fetch_8): Ditto.
5495
5496 2014-01-21 Baruch Siach <barch@tkos.co.il>
5497
5498 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5499
5500 2014-01-09 Rong Xu <xur@google.com>
5501
5502 * libgcov-driver.c (this_prg): make it local to save
5503 bss space.
5504 (gcov_exit_compute_summary): Ditto.
5505 (gcov_exit_merge_gcda): Ditto.
5506 (gcov_exit_merge_summary): Ditto.
5507 (gcov_exit_dump_gcov): Ditto.
5508
5509 2014-01-08 Rong Xu <xur@google.com>
5510
5511 * libgcov-driver.c: Use libgcov.h.
5512 (buffer_fn_data): Use xmalloc instead of malloc.
5513 (gcov_exit_merge_gcda): Ditto.
5514 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5515 * libgcov.h: New common header files for libgcov-*.h.
5516 * libgcov-interface.c: Use libgcov.h
5517 * libgcov-merge.c: Ditto.
5518 * libgcov-profiler.c: Ditto.
5519 * Makefile.in: Add dependence to libgcov.h
5520
5521 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5522
5523 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5524 case of small numerator and finite nonzero result.
5525
5526 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5527
5528 Update copyright years
5529
5530 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5531
5532 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5533 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5534 config/arc/dp-hack.h, config/arc/fp-hack.h,
5535 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5536 config/arc/ieee-754/arc600-dsp/divdf3.S,
5537 config/arc/ieee-754/arc600-dsp/divsf3.S,
5538 config/arc/ieee-754/arc600-dsp/muldf3.S,
5539 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5540 config/arc/ieee-754/arc600-mul64/divdf3.S,
5541 config/arc/ieee-754/arc600-mul64/divsf3.S,
5542 config/arc/ieee-754/arc600-mul64/muldf3.S,
5543 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5544 config/arc/ieee-754/arc600/divsf3.S,
5545 config/arc/ieee-754/arc600/mulsf3.S,
5546 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5547 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5548 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5549 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5550 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5551 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5552 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5553 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5554 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5555 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5556 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5557 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5558 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5559 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5560 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5561 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5562 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5563 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5564 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5565 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5566 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5567 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5568 vtv_start_preinit.c: Use the standard form for the copyright notice.
5569
5570 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5571 Chung-Lin Tang <cltang@codesourcery.com>
5572 Based on patches from Altera Corporation
5573
5574 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5575 * config/nios2/lib2-nios2.h: New file.
5576 * config/nios2/lib2-divmod-hi.c: New file.
5577 * config/nios2/linux-unwind.h: New file.
5578 * config/nios2/lib2-divmod.c: New file.
5579 * config/nios2/linux-atomic.c: New file.
5580 * config/nios2/t-nios2: New file.
5581 * config/nios2/crti.asm: New file.
5582 * config/nios2/t-linux: New file.
5583 * config/nios2/lib2-divtable.c: New file.
5584 * config/nios2/lib2-mul.c: New file.
5585 * config/nios2/tramp.c: New file.
5586 * config/nios2/crtn.asm: New file.
5587
5588 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5589
5590 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5591 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5592 from cpuid.h to check vendor signatures.
5593
5594 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5595
5596 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5597 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5598 (get_amd_cpu): Likewise.
5599
5600 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5601
5602 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5603 Haswell.
5604
5605 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5606 H.J. Lu <hongjiu.lu@intel.com>
5607
5608 PR target/59422
5609 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5610 and AMD_JAGUAR.
5611 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5612 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5613 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5614 FEATURE_XOP and FEATURE_FMA.
5615 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5616 AMDFAM15H_BDVER3.
5617 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5618 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5619 FEATURE_FMA4 and FEATURE_XOP.
5620
5621 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5622
5623 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5624 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5625 (get_intel_cpu): Updated.
5626
5627 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5628
5629 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5630
5631 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5632
5633 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5634 instructions when __SSE_MATH__ is defined.
5635
5636 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5637
5638 * config.host (microblaze-*-rtems*): New.
5639
5640 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5641
5642 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5643 architectures that do not have hardware divide instruction.
5644 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5645
5646 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5647
5648 * longlong.h: Delete (moved to include/).
5649
5650 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5651
5652 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5653 of normal number and qNaN to not raise an inexact exception.
5654
5655 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5656
5657 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5658
5659 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5660
5661 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5662 for correct opcodes on BE.
5663
5664 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5665
5666 * soft-fp/op-4.h: Update from glibc.
5667
5668 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5669
5670 * libgcc2.c (__udivmoddi4): Define new implementation when
5671 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5672 divide instructions.
5673
5674 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5675
5676 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5677
5678 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5679
5680 * config/t-softfp (soft-fp-objects-base): New variable.
5681 (soft-fp-objects): Use it.
5682
5683 2013-11-23 David Edelson <dje.gcc@gmail.com>
5684 Andrew Dixie <andrewd@gentrack.com>
5685
5686 PR target/33704
5687 * config/rs6000/aixinitfini.c: New file.
5688 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5689 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5690 symbols.
5691
5692 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5693
5694 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5695
5696 2013-11-18 Jan Hubicka <jh@suse.cz>
5697
5698 * libgcov-driver.c (run_accounted): Make global level static.
5699 (gcov_exit_merge_summary): Silence warning; do not clear
5700 run_accounted here.
5701 (gcov_exit): Clear it here.
5702
5703 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5704 run_accounted.
5705
5706 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5707 (all_prg, crc32): Remove static vars.
5708 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5709 all_prg.
5710 (gcov_exit_merge_gcda): Add crc32 parameter.
5711 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5712 do not account run if it was already accounted.
5713 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5714 (gcov_exit): Initialize all_prg; update.
5715
5716 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5717
5718 * configure: Regenerate.
5719
5720 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5721 Alan Modra <amodra@gmail.com>
5722
5723 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5724 (frob_update_context): Use it.
5725
5726 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5727 Alan Modra <amodra@gmail.com>
5728
5729 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5730 (trampoline_initial): Provide ELFv2 variant.
5731 (__trampoline_setup): Likewise.
5732
5733 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5734 check for AIX indirect function call sequence if _CALL_ELF == 2.
5735
5736 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5737 Alan Modra <amodra@gmail.com>
5738
5739 * config/rs6000/linux-unwind.h (get_regs): Do not support
5740 old kernel versions if _CALL_ELF == 2.
5741 (frob_update_context): Do not support PLT stub variants only
5742 generated by old linkers if _CALL_ELF == 2.
5743
5744 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5745 Alan Modra <amodra@gmail.com>
5746
5747 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5748 location of CR save area for 64-bit little-endian systems.
5749
5750 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5751
5752 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5753 in tmake_file.
5754 * config/arm/t-vxworks: Delete.
5755
5756 2013-11-10 Kai Tietz <ktietz@redhat.com>
5757
5758 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5759 Increment load-count on use of LIBGCC_SONAME DLL.
5760 (hmod_libgcc): New static variable to hold handle of
5761 LIBGCC_SONAME DLL.
5762 (__gcc_deregister_frame): Decrement load-count of
5763 LIBGCC_SONAME DLL.
5764
5765 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5766
5767 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5768 availability.
5769 * configure: Regenerate
5770
5771 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5772
5773 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5774 FP_EX_DENORM. Store result to volatile location after SSE division
5775 to close interrupt window. Remove unneeded fwait after x87
5776 division since interrupt window will be closed by emitted fstp.
5777 Rewrite FP_EX_INEXACT handling.
5778
5779 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5780
5781 * soft-fp/README: Update.
5782 * soft-fp/adddf3.c: Update from glibc.
5783 * soft-fp/addsf3.c: Likewise.
5784 * soft-fp/addtf3.c: Likewise.
5785 * soft-fp/divdf3.c: Likewise.
5786 * soft-fp/divsf3.c: Likewise.
5787 * soft-fp/divtf3.c: Likewise.
5788 * soft-fp/double.h: Likewise.
5789 * soft-fp/eqdf2.c: Likewise.
5790 * soft-fp/eqsf2.c: Likewise.
5791 * soft-fp/eqtf2.c: Likewise.
5792 * soft-fp/extenddftf2.c: Likewise.
5793 * soft-fp/extended.h: Likewise.
5794 * soft-fp/extendsfdf2.c: Likewise.
5795 * soft-fp/extendsftf2.c: Likewise.
5796 * soft-fp/extendxftf2.c: Likewise.
5797 * soft-fp/fixdfdi.c: Likewise.
5798 * soft-fp/fixdfsi.c: Likewise.
5799 * soft-fp/fixdfti.c: Likewise.
5800 * soft-fp/fixsfdi.c: Likewise.
5801 * soft-fp/fixsfsi.c: Likewise.
5802 * soft-fp/fixsfti.c: Likewise.
5803 * soft-fp/fixtfdi.c: Likewise.
5804 * soft-fp/fixtfsi.c: Likewise.
5805 * soft-fp/fixtfti.c: Likewise.
5806 * soft-fp/fixunsdfdi.c: Likewise.
5807 * soft-fp/fixunsdfsi.c: Likewise.
5808 * soft-fp/fixunsdfti.c: Likewise.
5809 * soft-fp/fixunssfdi.c: Likewise.
5810 * soft-fp/fixunssfsi.c: Likewise.
5811 * soft-fp/fixunssfti.c: Likewise.
5812 * soft-fp/fixunstfdi.c: Likewise.
5813 * soft-fp/fixunstfsi.c: Likewise.
5814 * soft-fp/fixunstfti.c: Likewise.
5815 * soft-fp/floatdidf.c: Likewise.
5816 * soft-fp/floatdisf.c: Likewise.
5817 * soft-fp/floatditf.c: Likewise.
5818 * soft-fp/floatsidf.c: Likewise.
5819 * soft-fp/floatsisf.c: Likewise.
5820 * soft-fp/floatsitf.c: Likewise.
5821 * soft-fp/floattidf.c: Likewise.
5822 * soft-fp/floattisf.c: Likewise.
5823 * soft-fp/floattitf.c: Likewise.
5824 * soft-fp/floatundidf.c: Likewise.
5825 * soft-fp/floatundisf.c: Likewise.
5826 * soft-fp/floatunditf.c: Likewise.
5827 * soft-fp/floatunsidf.c: Likewise.
5828 * soft-fp/floatunsisf.c: Likewise.
5829 * soft-fp/floatunsitf.c: Likewise.
5830 * soft-fp/floatuntidf.c: Likewise.
5831 * soft-fp/floatuntisf.c: Likewise.
5832 * soft-fp/floatuntitf.c: Likewise.
5833 * soft-fp/gedf2.c: Likewise.
5834 * soft-fp/gesf2.c: Likewise.
5835 * soft-fp/getf2.c: Likewise.
5836 * soft-fp/ledf2.c: Likewise.
5837 * soft-fp/lesf2.c: Likewise.
5838 * soft-fp/letf2.c: Likewise.
5839 * soft-fp/muldf3.c: Likewise.
5840 * soft-fp/mulsf3.c: Likewise.
5841 * soft-fp/multf3.c: Likewise.
5842 * soft-fp/negdf2.c: Likewise.
5843 * soft-fp/negsf2.c: Likewise.
5844 * soft-fp/negtf2.c: Likewise.
5845 * soft-fp/op-1.h: Likewise.
5846 * soft-fp/op-2.h: Likewise.
5847 * soft-fp/op-4.h: Likewise.
5848 * soft-fp/op-8.h: Likewise.
5849 * soft-fp/op-common.h: Likewise.
5850 * soft-fp/quad.h: Likewise.
5851 * soft-fp/single.h: Likewise.
5852 * soft-fp/soft-fp.h: Likewise.
5853 * soft-fp/subdf3.c: Likewise.
5854 * soft-fp/subsf3.c: Likewise.
5855 * soft-fp/subtf3.c: Likewise.
5856 * soft-fp/truncdfsf2.c: Likewise.
5857 * soft-fp/trunctfdf2.c: Likewise.
5858 * soft-fp/trunctfsf2.c: Likewise.
5859 * soft-fp/trunctfxf2.c: Likewise.
5860 * soft-fp/unorddf2.c: Likewise.
5861 * soft-fp/unordsf2.c: Likewise.
5862 * soft-fp/unordtf2.c: Likewise.
5863
5864 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5865
5866 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5867 (_FP_MUL_MEAT_D): Ditto.
5868 (_FP_DIV_MEAT_S): Ditto.
5869 (_FP_DIV_MEAT_D): Ditto.
5870 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5871 t-softfp-sfdf and t-softfp to tmake_file.
5872
5873 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5874
5875 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5876 * config/i386/crtprec.c: Ditto.
5877
5878 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5879 Shiva Chen <shiva0217@gmail.com>
5880
5881 * config.host (nds32*-elf*): Add nds32 target.
5882 * config/nds32 : New directory and files.
5883
5884 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5885
5886 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5887 * config.host (cpu_type) <Setting default>: Add entry for
5888 crisv32-*-*.
5889 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5890 <crisv32-*-linux*>: Adjust.
5891 * longlong.h: Wrap the whole CRIS section in a single
5892 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5893 and sub_ddmmss.
5894 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5895 defined.
5896 [__CRIS__] (__umulsidi3): Define.
5897 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5898 * config/cris/sfp-machine.h: New file.
5899 * config/cris/umulsidi3.S: New file.
5900 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5901 * config/cris/arit.c (SIGNMULT): New macro.
5902 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5903 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5904 saving 3 out of originally 33 cycles from the fastest
5905 path, 3 out of 54 from the medium path and one from the longest
5906 path. Improve comments.
5907
5908 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5909
5910 * sync.c: Remove static aliases and define each function directly
5911 under its real name.
5912
5913 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5914
5915 * config.host (hppa*64*-*-linux*): Define extra_parts.
5916 (hppa*-*-linux*): Likewise.
5917
5918 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5919
5920 * config/arc/crtgend.S: Add 2013 to Copyright years.
5921 * config/arc/gmon/atomic.h: Likewise.
5922 * config/arc/gmon/auxreg.h: Likewise.
5923 * config/arc/gmon/sys/gmon_out.h: Likewise.
5924 * config/arc/gmon/sys/gmon.h: Likewise.
5925 * config/arc/gmon/prof-freq.c: Likewise.
5926 * config/arc/gmon/mcount.c: Likewise.
5927 * config/arc/gmon/prof-freq-stub.S: Likewise.
5928 * config/arc/gmon/gmon.c: Likewise.
5929 * config/arc/gmon/machine-gmon.h: Likewise.
5930 * config/arc/gmon/profil.S: Likewise.
5931 * config/arc/gmon/dcache_linesz.S: Likewise.
5932 * config/arc/crtg.S: Likewise.
5933 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5934 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5935 * config/arc/ieee-754/adddf3.S: Likewise.
5936 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5937 * config/arc/ieee-754/fixsfsi.S: Likewise.
5938 * config/arc/ieee-754/gtsf2.S: Likewise.
5939 * config/arc/ieee-754/floatsisf.S: Likewise.
5940 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5941 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5942 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5943 * config/arc/ieee-754/fixdfsi.S: Likewise.
5944 * config/arc/ieee-754/addsf3.S: Likewise.
5945 * config/arc/ieee-754/gesf2.S: Likewise.
5946 * config/arc/ieee-754/floatsidf.S: Likewise.
5947 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5948 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5949 * config/arc/ieee-754/gtdf2.S: Likewise.
5950 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5951 * config/arc/ieee-754/uneqdf2.S: Likewise.
5952 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5953 * config/arc/ieee-754/uneqsf2.S: Likewise.
5954 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5955 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5956 * config/arc/ieee-754/eqdf2.S: Likewise.
5957 * config/arc/ieee-754/ordsf2.S: Likewise.
5958 * config/arc/ieee-754/divsf3.S: Likewise.
5959 * config/arc/ieee-754/divdf3.S: Likewise.
5960 * config/arc/ieee-754/floatunsidf.S: Likewise.
5961 * config/arc/ieee-754/orddf2.S: Likewise.
5962 * config/arc/ieee-754/eqsf2.S: Likewise.
5963 * config/arc/ieee-754/gedf2.S: Likewise.
5964 * config/arc/crtn.S: Likewise.
5965 * config/arc/crti.S: Likewise.
5966 * config/arc/t-arc700-uClibc: Likewise.
5967 * config/arc/asm.h: Likewise.
5968 * config/arc/libgcc-excl.ver: Likewise.
5969 * config/arc/t-arc-newlib: Likewise.
5970 * config/arc/divtab-arc700.c: Likewise.
5971 * config/arc/initfini.c: Likewise.
5972 * config/arc/fp-hack.h: Likewise.
5973
5974 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5975 Diego Novillo <dnovillo@google.com>
5976
5977 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5978 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5979 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5980 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5981
5982 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5983 Brendan Kehoe <brendan@zen.org>
5984 Simon Cook <simon.cook@embecosm.com>
5985
5986 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5987 * config/arc: New directory.
5988 * longlong.h [__arc__] (umul_ppmm): Remove.
5989 [__arc__] (__umulsidi3): Define.
5990 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5991 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5992
5993 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5994
5995 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5996 CreateSemaphoreA.
5997 * config/i386/gthr-win32.h: Likewise.
5998
5999 2013-09-16 DJ Delorie <dj@redhat.com>
6000
6001 * config/rl78/vregs.h: Add G10 register definitions.
6002 * config/rl78/lib2mul.c: Enable for RL78/G10.
6003 * config/rl78/lib2div.c: Likewise.
6004 * config/rl78/lshrsi3.S: Use vregs.h.
6005 * config/rl78/cmpsi2.S: Likewise.
6006 * config/rl78/trampoline.S: Likewise.
6007 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6008
6009 2013-09-14 DJ Delorie <dj@redhat.com>
6010 Nick Clifton <nickc@redhat.com>
6011
6012 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6013 * config/rl78/vregs.h: New.
6014 * config/rl78/signbit.S: New file. Implements signbit function.
6015 * config/rl78/divmodsi.S: New.
6016 * config/rl78/divmodhi.S: New.
6017 * config/rl78/divmodqi.S: New.
6018 * config/rl78/t-rl78: Build them here...
6019 * config/rl78/lib2div.c: ...but not here.
6020
6021 2013-09-12 DJ Delorie <dj@redhat.com>
6022
6023 * config.host (msp*-*-elf): New.
6024 * config/msp430/: New port.
6025
6026 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6027
6028 PR gcov-profile/58127
6029 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6030 __thread var for emulated TLS.
6031 (__gcov_indirect_call_counters): Likewise.
6032
6033 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6034 Catherine Moore <clm@codesourcery.com>
6035 Richard Sandiford <rdsandiford@googlemail.com>
6036
6037 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6038 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6039 (CALL_STUB_NO_RET): Likewise.
6040 (CALL_STUB_RET): Likewise.
6041 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6042 __mips16_ret call/return stub symbols.
6043 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6044 to tmake_file.
6045
6046 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6047
6048 * config.host <mips*-*-linux*>: Remove a stray comment.
6049
6050 2013-08-10 Jan Hubicka <jh@suse.cz>
6051
6052 Work around binutils PR14342
6053 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6054 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6055 (L_gcov_indirect_call_profiler_v2): New.
6056
6057 2013-08-06 Jan Hubicka <jh@suse.cz>
6058
6059 * libgcov.c (__gcov_indirect_call_callee,
6060 __gcov_indirect_call_counters): New global vars.
6061 (__gcov_indirect_call_profiler): replace by ...
6062 (__gcov_indirect_call_profiler_v2) ... this one.
6063
6064 2013-08-06 Caroline Tice <cmtice@google.com>
6065
6066 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6067 vtv_start_preinit.o and vtv_end_preinit.o.
6068 * configure.ac: Add code to check/set enable_vtable_verify.
6069 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6070 true.
6071 * vtv_start_preinit.c: New file.
6072 * vtv_end_preinit.c: New file.
6073 * vtv_start.c: New file.
6074 * vtv_end.c: New file.
6075 * configure: Regenerated.
6076
6077 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6078
6079 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6080 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6081 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6082 GPL-3.0-with-GCC-exception.
6083
6084 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6085
6086 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6087 ISA and up.
6088
6089 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6090
6091 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6092 mapping for FPRs when creating the fallback framestate.
6093
6094 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6095
6096 PR target/57516
6097 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6098 (__round_s2_const, __round_u2_const)
6099 (__round_s4_const, __round_u4_const, __round_x8):
6100 Saturate result if addition result cannot be represented.
6101
6102 2013-07-15 Matthias Klose <doko@ubuntu.com>
6103
6104 * libgcc2.c: Don't include <limits.h>.
6105
6106 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6107
6108 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6109
6110 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6111
6112 PR target/29776
6113 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6114
6115 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6116
6117 PR middle-end/36041
6118 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6119 Define.
6120 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6121 instead of table lookups.
6122 (__popcountDI2): Likewise.
6123
6124 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6125
6126 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6127 correctly.
6128
6129 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6130
6131 PR other/53317
6132 * soft-fp/adddf3.c: Update from glibc.
6133 * soft-fp/addsf3.c: Likewise.
6134 * soft-fp/addtf3.c: Likewise.
6135 * soft-fp/divdf3.c: Likewise.
6136 * soft-fp/divsf3.c: Likewise.
6137 * soft-fp/divtf3.c: Likewise.
6138 * soft-fp/double.h: Likewise.
6139 * soft-fp/eqdf2.c: Likewise.
6140 * soft-fp/eqsf2.c: Likewise.
6141 * soft-fp/eqtf2.c: Likewise.
6142 * soft-fp/extenddftf2.c: Likewise.
6143 * soft-fp/extended.h: Likewise.
6144 * soft-fp/extendsfdf2.c: Likewise.
6145 * soft-fp/extendsftf2.c: Likewise.
6146 * soft-fp/fixdfdi.c: Likewise.
6147 * soft-fp/fixdfsi.c: Likewise.
6148 * soft-fp/fixsfdi.c: Likewise.
6149 * soft-fp/fixsfsi.c: Likewise.
6150 * soft-fp/fixtfdi.c: Likewise.
6151 * soft-fp/fixtfsi.c: Likewise.
6152 * soft-fp/fixunsdfdi.c: Likewise.
6153 * soft-fp/fixunsdfsi.c: Likewise.
6154 * soft-fp/fixunssfdi.c: Likewise.
6155 * soft-fp/fixunssfsi.c: Likewise.
6156 * soft-fp/fixunstfdi.c: Likewise.
6157 * soft-fp/fixunstfsi.c: Likewise.
6158 * soft-fp/floatdidf.c: Likewise.
6159 * soft-fp/floatdisf.c: Likewise.
6160 * soft-fp/floatditf.c: Likewise.
6161 * soft-fp/floatsidf.c: Likewise.
6162 * soft-fp/floatsisf.c: Likewise.
6163 * soft-fp/floatsitf.c: Likewise.
6164 * soft-fp/floatundidf.c: Likewise.
6165 * soft-fp/floatundisf.c: Likewise.
6166 * soft-fp/floatunditf.c: Likewise.
6167 * soft-fp/floatunsidf.c: Likewise.
6168 * soft-fp/floatunsisf.c: Likewise.
6169 * soft-fp/floatunsitf.c: Likewise.
6170 * soft-fp/gedf2.c: Likewise.
6171 * soft-fp/gesf2.c: Likewise.
6172 * soft-fp/getf2.c: Likewise.
6173 * soft-fp/ledf2.c: Likewise.
6174 * soft-fp/lesf2.c: Likewise.
6175 * soft-fp/letf2.c: Likewise.
6176 * soft-fp/muldf3.c: Likewise.
6177 * soft-fp/mulsf3.c: Likewise.
6178 * soft-fp/multf3.c: Likewise.
6179 * soft-fp/negdf2.c: Likewise.
6180 * soft-fp/negsf2.c: Likewise.
6181 * soft-fp/negtf2.c: Likewise.
6182 * soft-fp/op-1.h: Likewise.
6183 * soft-fp/op-2.h: Likewise.
6184 * soft-fp/op-4.h: Likewise.
6185 * soft-fp/op-8.h: Likewise.
6186 * soft-fp/op-common.h: Likewise.
6187 * soft-fp/quad.h: Likewise.
6188 * soft-fp/single.h: Likewise.
6189 * soft-fp/soft-fp.h: Likewise.
6190 * soft-fp/subdf3.c: Likewise.
6191 * soft-fp/subsf3.c: Likewise.
6192 * soft-fp/subtf3.c: Likewise.
6193 * soft-fp/truncdfsf2.c: Likewise.
6194 * soft-fp/trunctfdf2.c: Likewise.
6195 * soft-fp/trunctfsf2.c: Likewise.
6196 * soft-fp/unorddf2.c: Likewise.
6197 * soft-fp/unordsf2.c: Likewise.
6198 * soft-fp/unordtf2.c: Likewise.
6199 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6200 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6201 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6202 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6203 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6204 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6205 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6206 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6207 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6208 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6209 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6210 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6211
6212 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6213
6214 * config/mips/lib2funcs.c: New file.
6215 * config/mips/t-mips (LIB2ADD_ST): Add it.
6216
6217 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6218
6219 PR target/6526
6220 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6221 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6222
6223 2013-06-08 Walter Lee <walt@tilera.com>
6224
6225 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6226 Replace int64_t with long long. Add __extension__ where
6227 appropriate.
6228 * config/tilepro/atomic.c: Include config.h.
6229
6230 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6231
6232 * config.host (arm-wrs-vxworks): Configure with other soft float.
6233
6234 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6235
6236 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6237 (mips64r5900el-*-elf*): New configurations.
6238
6239 2013-06-04 Alan Modra <amodra@gmail.com>
6240
6241 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6242
6243 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6244
6245 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6246
6247 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6248
6249 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6250 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6251 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6252
6253 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6254
6255 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6256 (powerpc-wrs-vxworks): Likewise.
6257
6258 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6259
6260 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6261 signal frames as well.
6262 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6263 STACK_BIAS to the CFA offset.
6264
6265 2013-05-17 Richard Henderson <rth@redhat.com>
6266
6267 PR target/49146
6268 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6269 (execute_cfa_program): Use it when storing to fs->regs.
6270
6271 2013-05-08 Kai Tietz <ktietz@redhat.com>
6272
6273 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6274 (__deregister_frame_info): Likewise.
6275
6276 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6277
6278 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6279 NaN's payload.
6280
6281 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6282
6283 2013-04-25 Alan Modra <amodra@gmail.com>
6284
6285 * config.host: Match little-endian powerpc-linux.
6286
6287 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6288
6289 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6290 as 'unsigned long long' instead of 'unsigned long'.
6291 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6292 'signed long'.
6293
6294 2013-04-10 Julian Brown <julian@codesourcery.com>
6295
6296 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6297 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6298 unsigned char/unsigned short.
6299 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6300
6301 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6302
6303 PR other/55274
6304 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6305
6306 2013-04-04 Meador Inge <meadori@codesourcery.com>
6307
6308 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6309 computing the location of the link register.
6310 (aeabi_uldivmod): Ditto.
6311
6312 2013-03-27 Kai Tietz <ktietz@redhat.com>
6313
6314 * config.host: Add support for cygwin x64 target.
6315 * configure: Regenerated.
6316
6317 2013-03-26 Walter Lee <walt@tilera.com>
6318
6319 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6320 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6321
6322 2013-03-25 Kai Tietz <ktietz@redhat.com>
6323
6324 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6325
6326 2013-03-20 Robert Mason <rbmj@verizon.net>
6327
6328 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6329 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6330 (__gthread_leave_tsd_dtor_context): Add prototypes.
6331 (tls_delete_hook): Update.
6332
6333 2013-03-20 Catherine Moore <clm@codesourcery.com>
6334 Joseph Myers <joseph@codesourcery.com>
6335 Chao-ying Fu <fu@mips.com>
6336
6337 * config/mips/mips16.S: Don't build for microMIPS.
6338 * config/mips/linux-unwind.h: Handle microMIPS frame.
6339 * config/mips/crtn.S (fini, init): New labels.
6340
6341 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6342
6343 PR tree-optimization/53265
6344 * unwind-dw2.c (execute_cfa_program): Avoid
6345 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6346 on targets with DWARF_FRAME_REGISTERS < 32.
6347
6348 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6349
6350 PR target/49880
6351 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6352 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6353
6354 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6355
6356 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6357 sandybridge processors.
6358
6359 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6360
6361 PR target/56529
6362 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6363 inclusion list.
6364
6365 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6366
6367 * config/microblaze/crti.S: Setup stack protection at entry
6368
6369 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6370
6371 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6372 (__rotldi3): Shift bytewise if applicable.
6373
6374 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6375
6376 * config/aarch64/sync-cache.c
6377 (__aarch64_sync_cache_range): Silence warnings.
6378
6379 2013-02-25 Catherine Moore <clm@codesourcery.com>
6380
6381 Revert:
6382 2013-02-24 Catherine Moore <clm@codesourcery.com>
6383 Joseph Myers <joseph@codesourcery.com>
6384 Chao-ying Fu <fu@mips.com>
6385
6386 * config/mips/mips16.S: Don't build for microMIPS.
6387 * config/mips/linux-unwind.h: Handle microMIPS frame.
6388 * config/mips/crtn.S (fini, init): New labels.
6389
6390 2013-02-24 Catherine Moore <clm@codesourcery.com>
6391 Joseph Myers <joseph@codesourcery.com>
6392 Chao-ying Fu <fu@mips.com>
6393
6394 * config/mips/mips16.S: Don't build for microMIPS.
6395 * config/mips/linux-unwind.h: Handle microMIPS frame.
6396 * config/mips/crtn.S (fini, init): New labels.
6397
6398 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6399 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6400 as dividend.
6401
6402 2013-02-16 Alan Modra <amodra@gmail.com>
6403
6404 PR target/55431
6405 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6406 (ppc_fallback_frame_state): Always set up save locations for fp
6407 and altivec. Don't bother with non-callee-saved regs, r0-r13
6408 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6409
6410 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6411
6412 PR target/54222
6413 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6414 _ssmulHA, _ssmulSA.
6415 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6416 _ssmulha3, _usmulusa3, _ssmulsa3.
6417 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6418 (__muldi3): XCALL __muldi3_6 instead of rcall.
6419 (__umulsidi3, __mulsidi3): New functions.
6420 (do_prologue_saves, do_epilogue_restores): New .macros.
6421 (__divdi3_moddi3): Use them.
6422 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6423 (__usmulusa3, __ssmulsa3): New functions.
6424
6425 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6426 Jack Howarth <howarth@bromo.med.uc.edu>
6427 Patrick Marlier <patrick.marlier@gmail.com>
6428
6429 PR libitm/55693
6430 * config/darwin-crt-tm.c: Remove dummy functions hack.
6431
6432 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6433
6434 PR target/54222
6435 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6436 * config/avr/lib2-object.mk: New iterator to build objects from it.
6437 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6438 lib2funcs.c.
6439 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6440 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6441 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6442 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6443 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6444 * config/avr/lib1funcs-fixed.S: Implement them.
6445
6446 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6447
6448 Update copyright years.
6449
6450 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6451
6452 PR target/54601
6453 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6454 Add crtcxa to extra_parts.
6455 * config/rs6000/exit.h: New file.
6456 * config/rs6000/cxa_atexit.c: New file.
6457 * config/rs6000/cxa_finalize.c: New file.
6458 * config/rs6000/crtcxa.c: New file.
6459 * config/rs6000/t-aix-cxa: New file.
6460 * config/rs6000/libgcc-aix-cxa.ver: New file.
6461
6462 2013-01-31 Nick Clifton <nickc@redhat.com>
6463
6464 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6465 variant.
6466
6467 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6468
6469 PR target/54222
6470 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6471 _mulQQ, _mulHQ, _mulHA, _mulSA,
6472 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6473 _divQQ, _divHQ, _divHA, _divSA,
6474 _divUQQ, _divUHQ, _divUHA, _divUSA.
6475
6476 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6477
6478 * config.host(microblaze*-linux*): tmake_file: Remove
6479 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6480 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6481 to exclude functions from being built with libgcc.c and use
6482 the microblaze assembly.
6483
6484 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6485
6486 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6487 extra_parts.
6488
6489 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6490
6491 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6492 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6493 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6494 alignment operation.
6495
6496 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6497
6498 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6499 loop start address for cache clearing.
6500
6501 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6502
6503 * config/avr/lib1funcs.S: Remove trailing blanks.
6504 * config/avr/lib1funcs-fixed.S: Ditto.
6505
6506 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6507
6508 * config/avr/avr-lib.h: Add GPL copyright notice.
6509
6510 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6511
6512 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6513 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6514 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6515 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6516
6517 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6518
6519 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6520 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6521
6522 2013-01-04 Nick Clifton <nickc@redhat.com>
6523
6524 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6525 the CALLT instruction is supported.
6526
6527 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6528
6529 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6530 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6531
6532 2012-12-13 John Tytgat <John@bass-software.com>
6533
6534 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6535 is 25.
6536
6537 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6538
6539 PR libgcc/55451
6540 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6541 undefined signed overflows.
6542
6543 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6544
6545 PR target/55344
6546 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6547
6548 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6549
6550 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6551 (FP_TRAPPING_EXCEPTIONS): Define.
6552 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6553 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6554
6555 2012-12-04 Richard Henderson <rth@redhat.com>
6556
6557 PR bootstrap/55571
6558 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6559
6560 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6561
6562 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6563 (FP_EX_SHIFT): Define.
6564 (FP_TRAPPING_EXCEPTIONS): Define.
6565
6566 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6567
6568 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6569 (FP_ROUNDMODE): Use FP_RND_MASK.
6570 * config/aarch64/sfp-exceptions.c: New.
6571 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6572 Use __sfp_handle_exceptions.
6573
6574 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6575
6576 * config.host: (arm*-*-freebsd*): Remove.
6577 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6578 (arm*-*-elf*): Remove.
6579 (arm*-*-wince-pe*): Remove.
6580 * arm/unwind-arm.c (struct fpa_reg): Delete.
6581 (struct fpa_regs): Delete.
6582 (phase1_vrs): Remove fpa element.
6583 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6584 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6585 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6586 * ieee754-sf.S (floatundisf): Remove FPA support.
6587 (floatdisf): Likewise.
6588 * ieee75f-df.S (floatundidf): Likewise.
6589 (floatdidf): Likewise.
6590
6591 2012-11-29 Kai Tietz <ktietz@redhat.com>
6592
6593 PR target/55445
6594 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6595 * unwind-generic.h: Likewise.
6596 * unwind-seh.c: Likewise.
6597
6598 2012-11-28 Richard Henderson <rth@redhat.com>
6599
6600 PR libgcc/48076
6601 * emutls.c (__emutls_get_address): Avoid race condition between
6602 obj->loc.offset read and emutls_key initialization.
6603
6604 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6605
6606 Adjust decimal point of signed accum mode to GCC default.
6607
6608 PR target/54222
6609 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6610 _divqq_helper.
6611 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6612 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6613 (__mulha3, __mulsa3)
6614 (__divqq3, __divha3, __divsa3): Adjust to new position of
6615 decimal point of signed accum types.
6616
6617 (__mulusa3_round): New function.
6618 (__mulusa3): Use it.
6619 (__divqq_helper): New function.
6620 (__udivuqq3): Use it.
6621
6622 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6623
6624 PR bootstrap/55370
6625 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6626
6627 2012-11-18 Teresa Johnson <tejohnson@google.com>
6628
6629 PR bootstrap/55051
6630 * libgcov.c (gcov_exit): Remove merged program summary
6631 comparison unless !GCOV_LOCKED.
6632
6633 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6634
6635 * soft-fp: Updated from glibc upstream.
6636
6637 2012-11-06 Ian Lance Taylor <iant@google.com>
6638
6639 * generic-morestack.c (__generic_morestack): Align the returned
6640 stack pointer to a 32 byte boundary.
6641 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6642 increment the return address until we have decided that we don't
6643 have a varargs function.
6644 (__morestack) [32-bit]: Align stack correctly when calling C
6645 functions.
6646 (__morestack) [64-bit]: Likewise.
6647
6648 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6649
6650 * configure: Regenerate.
6651
6652 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6653
6654 PR target/55175
6655 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6656 * config/i386/sfp-machine.h: Guard exception handling
6657 code with _SOFT_FLOAT.
6658 * config/i386/32/sfp-machine.h: Guard rounding handling
6659 code with _SOFT_FLOAT.
6660 * config/i386/64/sfp-machine.h: Ditto.
6661
6662 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6663
6664 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6665 as extra_parts.
6666
6667 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6668
6669 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6670 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6671 when appropriate. Correct structure element types.
6672 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6673 -minline-all-stringops from compile flags.
6674
6675 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6676
6677 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6678
6679 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6680
6681 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6682
6683 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6684
6685 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6686 tmake_file.
6687
6688 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6689 Jim MacArthur <jim.macarthur@arm.com>
6690 Marcus Shawcroft <marcus.shawcroft@arm.com>
6691 Nigel Stephens <nigel.stephens@arm.com>
6692 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6693 Richard Earnshaw <rearnsha@arm.com>
6694 Sofiane Naci <sofiane.naci@arm.com>
6695 Stephen Thomas <stephen.thomas@arm.com>
6696 Tejas Belagod <tejas.belagod@arm.com>
6697 Yufeng Zhang <yufeng.zhang@arm.com>
6698
6699 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6700 * config/aarch64/crti.S: New file.
6701 * config/aarch64/crtn.S: New file.
6702 * config/aarch64/linux-unwind.h: New file.
6703 * config/aarch64/sfp-machine.h: New file.
6704 * config/aarch64/sync-cache.c: New file.
6705 * config/aarch64/t-aarch64: New file.
6706 * config/aarch64/t-softfp: New file.
6707
6708 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6709
6710 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6711 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6712 no-longer-needed LDBU insns.
6713
6714 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6715
6716 * config.host
6717 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6718 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6719
6720 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6721
6722 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6723
6724 2012-10-15 Matthias Klose <doko@ubuntu.com>
6725
6726 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6727
6728 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6729
6730 * configure: Regenerate.
6731 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6732
6733 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6734
6735 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6736 instructions for 64bit targets only.
6737
6738 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6739
6740 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6741 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6742 * config/i386/32/sfp-machine.h: ... here.
6743 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6744 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6745 New defines.
6746
6747 2012-10-07 Matthias Klose <doko@ubuntu.com>
6748
6749 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6750 as unused.
6751 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6752
6753 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6754
6755 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6756 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6757 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6758 (ElfW): Likewise.
6759
6760 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6761
6762 PR other/53889
6763 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6764 Fix parameter names.
6765
6766 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6767
6768 PR target/33135
6769 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6770 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6771 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6772
6773 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6774
6775 PR target/50457
6776 * config/sh/linux-atomic.S: Delete.
6777 * config/sh/linux-atomic.c: New.
6778 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6779 linux-atomic.c. Add cflags to disable warnings.
6780
6781 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6782
6783 PR other/53889
6784 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6785 function.
6786 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6787 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6788 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6789 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6790 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6791 Likewise.
6792 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6793 Likewise.
6794 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6795 Likewise.
6796 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6797 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6798
6799 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6800
6801 * config.host (hppa-*-openbsd*): New target.
6802 * config/pa/t-openbsd: New file.
6803
6804 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6805
6806 PR target/54222
6807 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6808 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6809 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6810 (__divsa3): Use __negsi2 to negate r_quoL.
6811 * config/avr/lib1funcs.S (FALIAS): New macro.
6812 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6813 (__negsi2): ...this new function.
6814 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6815 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6816 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6817 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6818 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6819 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6820
6821 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6822
6823 PR target/54089
6824 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6825 (lshrsi3): Reimplement as lshrsi3_r0.
6826
6827 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6828
6829 PR target/46191
6830 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6831 of libgcc.a.
6832
6833 2012-09-07 Teresa Johnson <tejohnson@google.com>
6834
6835 PR gcov-profile/54487
6836 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6837 differences.
6838
6839 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6840
6841 PR target/54461
6842 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6843 not configured --with-avrlibc=no.
6844 * config/avr/t-avrlibc: New file.
6845 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6846 (DPBIT_FUNCS): Ditto.
6847 (TPBIT_FUNCS): Ditto.
6848
6849 2012-09-04 Teresa Johnson <tejohnson@google.com>
6850
6851 * libgcov.c (struct gcov_summary_buffer): New structure.
6852 (gcov_histogram_insert): New function.
6853 (gcov_compute_histogram): Ditto.
6854 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6855 histograms during summary merging.
6856
6857 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6858
6859 * config.host (x86_64-*-openbsd*): New target.
6860
6861 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6862
6863 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6864 attribute.
6865
6866 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6867
6868 PR target/54222
6869 * config/avr/t-avr (conv_X): Rename to func_X.
6870
6871 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6872
6873 PR target/54222
6874 * config/avr/lib1funcs-fixed.S: New file.
6875 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6876 after they are used.
6877 (neg2, neg4): New macros.
6878 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6879 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6880 (__umulhisi3): Speed up MUL variant if there is enough flash.
6881 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6882 avr-modes.def.
6883 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6884 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6885 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6886 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6887 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6888 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6889 (LIB2FUNCS_EXCLUDE): Add supported functions.
6890
6891 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6892
6893 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6894 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6895 libgcc-s-objects.
6896 * fixed-obj.mk: Only expand dependency if $o is not in
6897 LIB2FUNCS_EXCLUDE.
6898
6899 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6900
6901 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6902
6903 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6904
6905 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6906 depend on --enable-shared.
6907 ($(lib1asmfuncs-o)): Use %.vis files independent of
6908 --enable-shared.
6909 * static-object.mk ($(base)$(objext), $(base).vis)
6910 ($(base)_s$(objext)): Use same rules for visibility handling as in
6911 shared-object.mk.
6912
6913 2012-08-21 Ian Lance Taylor <iant@google.com>
6914
6915 * config/i386/morestack.S (__morestack_non_split): Increase amount
6916 of space allocated for non-split code stack.
6917
6918 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6919
6920 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6921 even if inhibit_libc.
6922
6923 2012-08-17 Julian Brown <julian@codesourcery.com>
6924
6925 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6926 -fexceptions -fnon-call-exceptions if not defined.
6927 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6928 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6929
6930 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6931
6932 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6933 type.
6934
6935 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6936
6937 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6938 rs6000/t-slibgcc-aix.
6939
6940 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6941
6942 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6943
6944 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6945
6946 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6947
6948 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6949
6950 PR driver/54171
6951 * Makefile.in (version): Replace top_srcdir with srcdir.
6952
6953 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6954
6955 * Makefile.in (version): set to BASE-VER file from gcc directory.
6956
6957 2012-08-01 Nick Clifton <nickc@redhat.com>
6958
6959 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6960 Implements __clrsb for an HImode argument.
6961
6962 2012-07-31 Nick Clifton <nickc@redhat.com>
6963
6964 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6965 Implements __clrsb for an HImode argument.
6966 * config/stormy16/clrsbhi2.c: New file:
6967 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6968
6969 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6970
6971 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6972
6973 2012-07-19 Tristan Gingold <gingold@adacore.com>
6974 Richard Henderson <rth@redhat.com>
6975
6976 * unwind-seh.c: New file.
6977 * unwind-generic.h: Include windows.h for SEH.
6978 (_Unwind_Exception): Use 6 private fields for SEH.
6979 (_GCC_specific_handler): Declare.
6980 * unwind-c.c (__gcc_personality_seh0): New function.
6981 Adjust for SEH.
6982 * config/i386/libgcc-cygming.ver: New file.
6983 * config/i386/t-seh-eh: New file.
6984 * config.host (x86_64-*-mingw*): Default to seh.
6985
6986 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6987
6988 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6989
6990 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6991
6992 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6993 __builtin_expect when checking for exceptions.
6994 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6995
6996 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6997
6998 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6999 function declaration.
7000 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7001 (FP_RND_MASK): New.
7002 * config/ia64/sfp-exceptions.c: New.
7003 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7004
7005 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7006
7007 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7008 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7009 * config/i386/64/sfp-machine: ... (delete here) ...
7010 * config/i386/sfp-machine.h: ... to here.
7011 (FP_EX_MASK): Remove.
7012 (FP_RND_MASK): New.
7013 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7014
7015 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7016
7017 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7018 * config/i386/libgcc-sol2.ver: Ditto.
7019 * config/i386/libgcc-glibc.ver: Ditto.
7020
7021 2012-06-11 Roland McGrath <mcgrathr@google.com>
7022
7023 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7024 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7025 pthread_cancel.
7026
7027 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7028
7029 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7030 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7031 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7032 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7033 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7034 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7035 * config/i386/64/sfp-machine: ... (delete here) ...
7036 * config/i386/sfp-machine.h: ... to here.
7037 (FP_EX_MASK): New.
7038 (__sfp_handle_exceptions): New function declaration.
7039 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7040 * config/i386/sfp-exceptions.c: New.
7041 * config/i386/t-softfp: New.
7042 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7043 i386/t-softfp to tmake_file.
7044
7045 2012-06-03 David S. Miller <davem@davemloft.net>
7046
7047 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7048 change.
7049
7050 2012-05-31 David S. Miller <davem@davemloft.net>
7051
7052 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7053 multiply and divide instructions on 32-bit when V9.
7054 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7055
7056 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7057
7058 * config/arm/ieee754-df.S: Fix typos.
7059 * config/arm/ieee754-sf.S: Fix typos.
7060 * config/c6x/libunwind.S: Fix typos.
7061 * config/epiphany/udivsi3-float.c: Fix typos.
7062 * config/microblaze/muldi3_hard.S: Fix typos.
7063 * config/picochip/adddi3.S: Fix typos.
7064 * config/picochip/ashlsi3.S: Fix typos.
7065 * config/picochip/ashrsi3.S: Fix typos.
7066 * config/picochip/clzsi2.S: Fix typos.
7067 * config/picochip/cmpsi2.S: Fix typos.
7068 * config/picochip/divmod15.S: Fix typos.
7069 * config/picochip/divmodhi4.S: Fix typos.
7070 * config/picochip/divmodsi4.S: Fix typos.
7071 * config/picochip/longjmp.S: Fix typos.
7072 * config/picochip/lshrsi3.S: Fix typos.
7073 * config/picochip/parityhi2.S: Fix typos.
7074 * config/picochip/popcounthi2.S: Fix typos.
7075 * config/picochip/setjmp.S: Fix typos.
7076 * config/picochip/subdi3.S: Fix typos.
7077 * config/picochip/ucmpsi2.S: Fix typos.
7078 * config/picochip/udivmodhi4.S: Fix typos.
7079 * config/picochip/udivmodsi4.S: Fix typos.
7080 * config/spu/divv2df3.c: Fix typos.
7081 * config/spu/mfc_multi_tag_release.c: Fix typos.
7082 * config/spu/mfc_tag_release.c: Fix typos.
7083 * configure.ac: Fix typos.
7084 * configure: Regenerate.
7085
7086 2012-05-25 Ian Lance Taylor <iant@google.com>
7087
7088 * config/i386/morestack.S (__morestack_non_split): Check whether
7089 caller is varargs and needs %bp to hold the stack frame on return.
7090
7091 2012-05-25 Olivier Hainque <hainque@adacore.com>
7092
7093 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7094 sequence in the non pic case on VxWorks.
7095
7096 2012-05-24 Olivier Hainque <hainque@adacore.com>
7097
7098 * Makefile.in: Move dependency on install-unwind_h from
7099 "install-leaf" to "install".
7100
7101 2012-05-24 Olivier Hainque <hainque@adacore.com>
7102
7103 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7104 Use a separate command for stamp removals.
7105
7106 2012-05-21 Andrew Pinski <apinski@cavium.com>
7107
7108 PR bootstrap/53183
7109 * configure.ac: Define the default includes to being none.
7110 * configure: Regenerate.
7111
7112 2012-05-16 Olivier Hainque <hainque@adacore.com>
7113
7114 * Makefile.in (install-unwind_h): Rename into ...
7115 (install-unwind_h-forbuild): New target.
7116 (all): Use it instead of the former install-unwind_h.
7117 (install-unwind_h): Reinstate, copy to user install destination
7118 for include files, not to the internal gcc object directory one.
7119 (install-leaf): Depend on it.
7120
7121 2012-05-15 Olivier Hainque <hainque@adacore.com>
7122
7123 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7124 register numbers. LR_REGNO replaces R_LR.
7125 (ucontext_for): New, helper for ...
7126 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7127 and 5.3 of ...
7128 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7129
7130 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7131
7132 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7133 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7134 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7135 i386/t-cpuinfo ...
7136 (i[34567]86-*-*, x86_64-*-*): ... here.
7137
7138 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7139 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7140
7141 * config/i386/i386-cpuinfo.c: Rename to ...
7142 * config/i386/cpuinfo.c: ... this.
7143 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7144
7145 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7146 (libgcc_cv_init_priority): New test.
7147 * configure: Regenerate.
7148 * config.in: New file.
7149 * Makefile.in (clean): Rename config.h to auto-target.h.
7150 (config.h): Likewise.
7151 (stamp-h): Likewise.
7152
7153 * config/i386/cpuinfo.c (auto-target.h): Include.
7154 (CONSTRUCTOR_PRIORITY): Define.
7155 (__cpu_indicator_init): Use it.
7156
7157 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7158
7159 * longlong.h: Use a URL instead of an FSF postal address.
7160 Replace spaces with tab.
7161
7162 2012-05-08 Teresa Johnson <tejohnson@google.com>
7163
7164 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7165 (__gcov_dump): Ditto.
7166 (gcov_dump_complete): New global variable.
7167 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7168 (__gcov_flush): Outline functionality now in gcov_clear.
7169 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7170
7171 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7172
7173 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7174 (mips*-*-linux*): Include mips/t-tpbit when long double is
7175 16 bytes long.
7176
7177 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7178
7179 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7180 (get_available_features): New argument. Check for AVX2.
7181 (__cpu_indicator_init): Modify call to get_available_features.
7182
7183 2012-04-25 Alan Modra <amodra@gmail.com>
7184
7185 * config/rs6000/crtsavevr.S: New file.
7186 * config/rs6000/crtrestvr.S: New file.
7187 * config/rs6000/t-savresfgpr: Build the above.
7188 * config/rs6000/t-netbsd: Likewise.
7189
7190 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7191
7192 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7193
7194 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7195
7196 * libgcc/config/i386/i386-cpuinfo.c: New file.
7197 * libgcc/config/i386/t-cpuinfo: New file.
7198 * libgcc/config.host: Include t-cpuinfo.
7199 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7200
7201 2012-04-24 Chao-ying Fu <fu@mips.com>
7202
7203 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7204
7205 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7206
7207 struct siginfo vs. siginfo_t
7208
7209 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7210 siginfo_t instead of struct siginfo.
7211 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7212 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7213 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7214 (ia64_handle_unwabi): Likewise.
7215 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7216 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7217 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7218 (sh_fallback_frame_state): Likewise.
7219 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7220 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7221
7222 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7223
7224 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7225 system call number.
7226
7227 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7228
7229 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7230 if it hasn't been previously saved.
7231
7232 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7233
7234 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7235 only for glibc.
7236
7237 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7238
7239 PR target/52737
7240 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7241 instead of __AVR_HAVE_8BIT_SP__.
7242
7243 2012-03-26 Tristan Gingold <gingold@adacore.com>
7244
7245 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7246 (unw_table_entry): Use unw_word instead of unsigned long.
7247 (_Unwind_FindTableEntry): Likewise.
7248 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7249 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7250 (_Unwind_FindTableEntry): Likewise.
7251 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7252 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7253 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7254 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7255 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7256 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7257 (uw_init_context_1, uw_install_context): Likewise.
7258 (unw_word): Move to unwind-ia64.h
7259
7260 2012-03-26 Tristan Gingold <gingold@adacore.com>
7261
7262 * config/vms/vms-ucrt0.c: Update copyright years.
7263 Add a sanity check.
7264 (___gcc_main_flags): Declare.
7265 (__main): Check flags to remap argv and exit code.
7266 * config.host (*-*-*vms*): Adjust extra_parts.
7267 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7268 (crt0.o): Add.
7269
7270 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7271
7272 * arm/lib1funcs.asm (ctzsi2): New function.
7273 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7274 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7275 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7276 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7277 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7278 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7279
7280 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7281
7282 * config.host: Add bits to support powerpc64-*-freebsd*.
7283 * config/rs6000/freebsd-unwind.h: New file.
7284 * config/rs6000/t-freebsd64: New file.
7285
7286 2012-03-20 Richard Guenther <rguenther@suse.de>
7287
7288 PR gcov-profile/52627
7289 * libgcov.c (init_mx): Fix mutex name.
7290
7291 2012-03-16 Tristan Gingold <gingold@adacore.com>
7292
7293 * config/ia64/vms-unwind.h: Remove ulong (and replace
7294 it by unw_reg where used). Define unw_reg with __int64.
7295
7296 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7297
7298 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7299 Solaris 8 handling.
7300 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7301 Solaris 8 handling.
7302 (sparc_is_sighandler): Likewise.
7303
7304 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7305
7306 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7307 <= saved reg size.
7308
7309 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7310
7311 * config/arm/crtn.S: Fix typo.
7312
7313 2012-03-13 Richard Guenther <rguenther@suse.de>
7314
7315 * libgcov.c: Remove stdio.h include and NULL un-define.
7316
7317 2012-03-13 Richard Guenther <rguenther@suse.de>
7318
7319 PR target/52569
7320 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7321
7322 2012-03-13 Richard Guenther <rguenther@suse.de>
7323
7324 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7325
7326 2012-03-13 Richard Guenther <rguenther@suse.de>
7327
7328 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7329 and __gthread_mutex_init_function definitions.
7330
7331 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7332
7333 * config.host (mips*-*-openbsd*): Remove.
7334
7335 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7336
7337 * config.host: Remove alpha*-dec-osf5.1* handling.
7338 * config/alpha/gthr-posix.c: Remove.
7339 * config/alpha/libgcc-osf5.ver: Remove.
7340 * config/alpha/osf5-unwind.h: Remove.
7341 * config/alpha/t-osf-pthread: Remove.
7342 * config/alpha/t-slibgcc-osf: Remove.
7343 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7344 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7345 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7346 * mkmap-flat.awk: Remove osf_export handling.
7347
7348 2012-03-12 Richard Guenther <rguenther@suse.de>
7349
7350 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7351 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7352 (__gthread_mutex_init_function): New function.
7353 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7354
7355 PR gcov/49484
7356 * libgcov.c: Include gthr.h.
7357 (__gcov_flush_mx): New global variable.
7358 (init_mx, init_mx_once): New functions.
7359 (__gcov_flush): Protect self with a mutex.
7360 (__gcov_fork): Re-initialize mutex after forking.
7361 * unwind-dw2-fde.c: Change condition under which to use
7362 __GTHREAD_MUTEX_INIT_FUNCTION.
7363
7364 2012-03-12 Tristan Gingold <gingold@adacore.com>
7365
7366 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7367 * config/ia64/t-vms: Likewise.
7368
7369 2012-03-11 Michael Hope <michael.hope@linaro.org>
7370
7371 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7372 for Thumb-2.
7373
7374 2012-03-07 Walter Lee <walt@tilera.com>
7375
7376 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7377 "arch_atomic_".
7378 (atomic_xor): Rename and move definition to
7379 config/tilepro/atomic.h.
7380 (atomic_nand): Ditto.
7381 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7382 "arch_atomic_".
7383 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7384 (arch_atomic_nand): Ditto.
7385
7386 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7387
7388 PR target/52507
7389 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7390
7391 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7392
7393 PR target/52505
7394 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7395 from RAM.
7396
7397 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7398
7399 PR target/52461
7400 PR target/52508
7401 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7402 if RAMPZ affects reading from RAM.
7403 (__tablejump_elpm__): Ditto.
7404 (.xload): Ditto.
7405 (__movmemx_hi): Ditto.
7406 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7407 (__do_global_dtors): Ditto.
7408 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7409 (__movmemx_hi): Ditto.
7410
7411 2012-03-05 Richard Henderson <rth@redhat.com>
7412
7413 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7414 [ARM] (count_trailing_zeros): Use the builtin.
7415
7416 2012-03-01 Kai Tietz <ktietz@redhat.com>
7417
7418 * soft-fp: Imported from glibc upstream.
7419
7420 2012-02-28 Kai Tietz <ktietz@redhat.com>
7421
7422 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7423 for mingw-targets as attribute gcc_struct.
7424
7425 2012-02-28 Ian Lance Taylor <iant@google.com>
7426
7427 * generic-morestack.c (__splitstack_releasecontext): Correct call
7428 to __morestack_release_segments.
7429
7430 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7431
7432 PR target/52390
7433 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7434 for __linux__ when removing signals from __morestack_fullmask.
7435
7436 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7437
7438 PR target/52261
7439 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7440
7441 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7442
7443 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7444 instead of HAVE_INITFINI_ARRAY.
7445 * config/ia64/crtend.S: Likewise.
7446
7447 2012-02-20 Kai Tietz <ktietz@redhat.com>
7448
7449 PR libstdc++/52300
7450 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7451
7452 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7453 to w32-unwind.h header.
7454
7455 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7456
7457 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7458 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7459 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7460 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7461
7462 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7463
7464 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7465
7466 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7467
7468 PR libitm/52220
7469 * config/darwin-crt-tm.c: Correct typo.
7470
7471 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7472 Patrick Marlier <patrick.marlier@gmail.com>
7473
7474 PR libitm/52220
7475 * config/darwin-crt-tm.c: Generate dummy functions.
7476
7477 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7478 Patrick Marlier <patrick.marlier@gmail.com>
7479
7480 PR libitm/52042
7481 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7482 (__doTMRegistrations): Call it.
7483 (__doTMdeRegistrations): Likewise.
7484
7485 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7486 Anatoly Sokolov <aesok@post.ru>
7487 Eric Weddington <eric.weddington@atmel.com>
7488
7489 PR target/52261
7490 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7491 (__epilogue_restores__): Ditto.
7492
7493 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7494
7495 PR target/51921
7496 PR target/52205
7497 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7498 Solaris 11 and slightly reformat.
7499 (sparc_is_sighandler): Likewise.
7500
7501 2012-02-14 Walter Lee <walt@tilera.com>
7502
7503 * config.host: Handle tilegx and tilepro.
7504 * config/tilegx/sfp-machine.h: New file.
7505 * config/tilegx/sfp-machine32.h: New file.
7506 * config/tilegx/sfp-machine64.h: New file.
7507 * config/tilegx/t-crtstuff: New file.
7508 * config/tilegx/t-softfp: New file.
7509 * config/tilegx/t-tilegx: New file.
7510 * config/tilepro/atomic.c: New file.
7511 * config/tilepro/atomic.h: New file.
7512 * config/tilepro/linux-unwind.h: New file.
7513 * config/tilepro/sfp-machine.h: New file.
7514 * config/tilepro/softdivide.c: New file.
7515 * config/tilepro/softmpy.S: New file.
7516 * config/tilepro/t-crtstuff: New file.
7517 * config/tilepro/t-tilepro: New file.
7518
7519 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7520
7521 PR libstdc++/51296
7522 PR libstdc++/51906
7523 * gthr-posix.h: Allow static initializer macros to be disabled.
7524 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7525
7526 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7527
7528 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7529 Add t-slibgcc-libgcc to tmake_file.
7530 * config/mips/libgcc-mips16.ver: Revert previous patch.
7531 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7532
7533 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7534 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7535
7536 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7537 * config/cr16/crti.S: New file.
7538 * config/cr16/crtlibid.S: New file.
7539 * config/cr16/crtn.S: New file.
7540 * config/cr16/lib1funcs.S: New file.
7541 * config/cr16/t-cr16: New file.
7542 * config/cr16/t-crtlibid: New file.
7543 * config/cr16/unwind-dw2.h: New file.
7544 * config/cr16/unwind-cr16.c: New file.
7545 * config/cr16/divmodhi3.c: New file.
7546
7547 2012-01-25 Alan Modra <amodra@gmail.com>
7548
7549 * config/rs6000/t-linux64: Delete. Move..
7550 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7551 * config/rs6000/t-linux: ..and libgcc flags to here.
7552
7553 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7554
7555 * config.host (i[34567]86-*-interix3*):
7556 Change triplet to i[34567]86-*-interix[3-9]*.
7557 * configure: Regenerate.
7558
7559 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7560 Richard Sandiford <rdsandiford@googlemail.com>
7561
7562 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7563 * config/mips/mips16.S (__mips16_rdhwr): New function.
7564 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7565
7566 2012-01-11 Nathan Sidwell <nathan@acm.org>
7567
7568 * libgcov.c (__gcov_init): Ignore objects with no functions.
7569
7570 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7571
7572 PR target/49868
7573 Extend __pgmx semantics to linearize memory.
7574 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7575 * config/avr/lib1funcs.S (__xload_1): New function.
7576 (__movmemx_qi, __movmemx_hi): New functions.
7577 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7578 semantics.
7579
7580 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7581
7582 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7583 purported sigacthandler address isn't null before dereferencing it.
7584 (sparc_is_sighandler): Likewise.
7585
7586 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7587
7588 PR ada/41929
7589 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7590 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7591 (sparc_is_sighandler): Likewise.
7592 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7593
7594 2012-01-06 Tristan Gingold <gingold@adacore.com>
7595
7596 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7597 compatibility thunks...
7598 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7599 (crtbeginS.o, crtendS.o): ... and these to ...
7600 * config/ia64/t-ia64-elf: ... this new file.
7601 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7602 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7603
7604 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7605
7606 * configure: Regenerate.
7607 * config/s390/t-crtstuff: Remove -fPIC.
7608
7609 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7610
7611 PR bootstrap/51006
7612 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7613 for NetBSD.
7614
7615 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7616
7617 PR target/51345
7618 * config/avr/lib1funcs.S: Remove FIXME comments.
7619 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7620
7621 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7622
7623 Implement light-weight DImode support.
7624 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7625 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7626 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7627 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7628
7629 2011-12-30 Nathan Sidwell <nathan@acm.org>
7630
7631 * libgcov.c (gcov_crc32): Remove global var.
7632 (free_fn_data): New function.
7633 (buffer_fn_data): Pass in filename, more robust error recovery.
7634 (crc32_unsigned): New function.
7635 (gcov_exit): More robust detection of new program. More robust
7636 error recovery.
7637 (__gcov_init): Do not update program's crc here.
7638
7639 2011-12-21 Tristan Gingold <gingold@adacore.com>
7640
7641 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7642
7643 2011-12-21 Ian Lance Taylor <iant@google.com>
7644
7645 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7646
7647 2011-12-20 Ian Lance Taylor <iant@google.com>
7648
7649 * config/i386/morestack.S (__morestack_non_split): If there is
7650 enough stack space already, don't split. Ask for more stack space
7651 than we required.
7652
7653 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7654
7655 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7656 `sys/sdt.h'.
7657 (_Unwind_DebugHook): New function.
7658 (uw_restore_core_regs): New define.
7659 (unwind_phase2): Use uw_restore_core_regs instead of
7660 restore_core_regs.
7661 (unwind_phase2_forced): Likewise.
7662 (__gnu_Unwind_Resume): Likewise.
7663
7664 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7665
7666 * config/alpha/linux-unwind.h: Update copyright years.
7667 (MD_FROB_UPDATE_CONTEXT): New define.
7668 (alpha_frob_update_context): New function.
7669
7670 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7671
7672 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7673 tmake_file rather replacing it.
7674
7675 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7676
7677 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7678 function is not used for PPC64.
7679 (save_world): Amend comments. Update the VRsave mask to reflect the
7680 saved regs.
7681 (rest_world): Update comments, do not clobber r10, do not use r8.
7682 (eh_rest_world_r10): Amend comments, do not use r8.
7683 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7684 no longer used, move restore of CR and target address to the end of
7685 the routine.
7686
7687 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7688
7689 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7690 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7691
7692 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7693
7694 PR target/49313
7695 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7696 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7697
7698 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7699
7700 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7701
7702 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7703
7704 PR target/49313
7705 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7706 * config/avr/lib1funcs.S (__muldi3): New function.
7707
7708 2011-12-06 Andrew Pinski <apinski@cavium.com>
7709
7710 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7711 size of func_ptr.
7712 (__frame_dummy_init_array_entry): Likewise.
7713
7714 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7715
7716 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7717
7718 PR target/51345
7719 PR target/51002
7720 * config/avr/lib1funcs.S (__prologue_saves__,
7721 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7722 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7723
7724 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7725
7726 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7727
7728 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7729
7730 PR other/51272
7731 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7732 (_ITM_deregisterTMCloneTable): Likewise.
7733 (__register_frame_info): Fix unused warning.
7734 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7735 pthread_default_stacksize_np): Likewise.
7736 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7737
7738 2011-11-29 DJ Delorie <dj@redhat.com>
7739
7740 * config.host (rl78-*-elf): New case.
7741 * config/rl78: New directory for the Renesas RL78.
7742
7743 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7744
7745 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7746 formatting.
7747
7748 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7749
7750 PR other/51022
7751 * config/rs6000/t-savresfgpr: New file.
7752 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7753 $(srcdir)/config/rs6000/eabi.S.
7754 * config/rs6000/t-ppccomm-ldbl: Remove.
7755 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7756 tmake_file.
7757 (powerpc-*-eabispe*): Likewise.
7758 (powerpc-*-eabi*): Likewise.
7759 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7760 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7761 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7762 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7763 tmake_file.
7764 (powerpc-*-eabisim*): Likewise.
7765 (powerpc-*-elf*): Likewise.
7766 (powerpc-*-eabialtivec*): Likewise.
7767 (powerpc-xilinx-eabi*): Likewise.
7768 (powerpc-*-rtems*): Likewise.
7769 (powerpcle-*-elf*): Likewise.
7770 (powerpcle-*-eabisim*): Likewise.
7771 (powerpcle-*-eabi*): Likewise.
7772
7773 2011-11-27 Ian Lance Taylor <iant@google.com>
7774
7775 * generic-morestack.c (__splitstack_find): Check for NULL old
7776 stack value.
7777 (__splitstack_resetcontext): New function.
7778 (__splitstack_releasecontext): New function.
7779 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7780
7781 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7782
7783 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7784
7785 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7786
7787 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7788
7789 2011-11-26 Richard Henderson <rth@redhat.com>
7790
7791 * config/m68k/linux-atomic.c: New file.
7792 * config/m68k/t-linux: New file.
7793 * config.host (m68k-uclinux, m68k-linux): Use it.
7794
7795 2011-11-26 Richard Henderson <rth@redhat.com>
7796
7797 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7798 (__TMC_END__): Only declare if hidden is available; in the definition,
7799 if hidden is unavailable add a null record.
7800 (deregister_tm_clones, register_tm_clones): New.
7801 (__do_global_dtors_aux, frame_dummy): Use them.
7802 (__do_global_dtors, __do_global_ctors_1): Likewise.
7803
7804 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7805
7806 * config/darwin-crt-tm.c: New file.
7807 * config.host (darwin): Build crttms.o crttme.o to provide
7808 startup and shutdown for tm clones.
7809 * config/t-darwin (crttms.o): New build rule.
7810 (crttme.o): Likewise.
7811
7812 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7813
7814 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7815 et al.
7816
7817 2011-11-21 Richard Henderson <rth@redhat.com>
7818
7819 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7820 (__TMC_LIST__, __TMC_END__): New.
7821 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7822 (__do_global_dtors): Likewise.
7823 (frame_dummy): Call _ITM_registerTMCloneTable.
7824 (__do_global_ctors_1): Likewise.
7825
7826 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7827
7828 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7829 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7830 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7831 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7832 * config/i386/t-darwin64: Remove.
7833 * config/sh/t-netbsd (LIB2ADD): Remove.
7834
7835 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7836
7837 PR target/49313
7838 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7839 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7840 * config/avr/lib1funcs.S (wmov): New assembler macro.
7841 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7842 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7843 (__udivmod64): New function.
7844 (__negdi2): New function.
7845
7846 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7847
7848 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7849 *-*-freebsd*aout*): Remove.
7850
7851 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7852
7853 * static-object.mk (c_flags-$o): Save c_flags.
7854 ($(base)$(objext)): Use it.
7855
7856 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7857
7858 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7859
7860 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7861
7862 PR target/49868
7863 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7864 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7865 New functions.
7866
7867 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7868
7869 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7870 functions.
7871 (aeabi_uidivmod): Likewise.
7872 (umodsi3): Likewise.
7873 (divsi3): Likewise.
7874 (aeabi_idivmod): Likewise.
7875 (modsi3): Likewise.
7876
7877 2011-11-16 Tristan Gingold <gingold@adacore.com>
7878
7879 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7880
7881 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7882
7883 PR target/49868
7884 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7885 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7886
7887 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7888
7889 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7890 tmake_file list.
7891 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7892 * config/pa/t-stublib64: Delete.
7893
7894 2011-11-12 Richard Henderson <rth@redhat.com>
7895
7896 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7897 cast the pointer argument to _Unwind_SetGRPtr.
7898
7899 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7900
7901 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7902
7903 2011-11-09 Ian Lance Taylor <iant@google.com>
7904
7905 * generic-morestack.c: Include <string.h>.
7906 (uintptr_type): Define.
7907 (struct initial_sp): Add dont_block_signals field. Reduce size of
7908 extra array by 1.
7909 (allocate_segment): Set prev field to NULL. Don't set
7910 __morestack_current_segment or __morestack_segments.
7911 (__generic_morestack): Update current->prev and *pp after calling
7912 allocate_segment.
7913 (__morestack_block_signals): Don't do anything if
7914 dont_block_signals is set.
7915 (__morestack_unblock_signals): Likewise.
7916 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7917 uintptr_type.
7918 (__splitstack_block_signals): New function.
7919 (enum __splitstack_content_offsets): Define.
7920 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7921 (__splitstack_makecontext): New function.
7922 (__splitstack_block_signals_context): New function.
7923 (__splitstack_find_context): New function.
7924 * config/i386/morestack.S (__morestack_get_guard): New function.
7925 (__morestack_set_guard, __morestack_make_guard): New functions.
7926 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7927
7928 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7929
7930 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7931 (i[34567]86-*-mingw*): ... here.
7932 (x86_64-*-mingw*): ... here.
7933
7934 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7935
7936 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7937
7938 2011-11-07 Nathan Sidwell <nathan@acm.org>
7939
7940 * libgcov.c (struct gcov_fn_buffer): New struct.
7941 (buffer_fn_data): New helper.
7942 (gcov_exit): Rework for new gcov data structures.
7943
7944 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7945
7946 PR target/49313
7947 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7948
7949 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7950
7951 * config.host (tmake_file): Correct comment.
7952 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7953 t-libgcc-pic.
7954 (bfin*-uclinux*): Likewise.
7955 (bfin*-linux-uclibc*): Likewise.
7956 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7957
7958 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7959 assigning.
7960 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7961 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7962 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7963 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7964 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7965 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7966 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7967 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7968 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7969 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7970 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7971 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7972 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7973
7974 * config/bfin/t-elf: Remove.
7975 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7976
7977 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7978
7979 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7980 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7981 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7982 (lm32-*-elf*): ... this.
7983 (lm32-*-rtems*): ... and this.
7984 Add to tmake_file.
7985 (m32r-*-rtems*): Add to tmake_file.
7986 (moxie-*-rtems*): Likewise.
7987 (sparc-*-rtems*): Likewise.
7988 Remove t-rtems from tmake_file.
7989 (sparc64-*-rtems*): Likewise.
7990 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7991 instead.
7992
7993 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7994
7995 PR bootstrap/50982
7996 * config/gthr-posix.h: Move ...
7997 * gthr-posix.h: ... here.
7998 * config/gthr-lynx.h: Reflect this.
7999 * config/gthr-vxworks.h: Likewise.
8000 * config/rs6000/gthr-aix.h: Likewise.
8001 * configure.ac (target_thread_file): Likewise.
8002 * configure: Regenerate.
8003
8004 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8005
8006 * config.host (arm*-*-rtemseabi*): New target.
8007
8008 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8009
8010 PR other/50991
8011 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8012 extra-parts.
8013
8014 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8015
8016 * config.host (epiphany-*-elf*): New configuration.
8017 * config/epiphany: New Directory.
8018
8019 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8020
8021 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8022 * config/avr/t-rtems: New.
8023 Filter out _exit from LIB1ASMFUNCS.
8024
8025 2011-11-04 David S. Miller <davem@davemloft.net>
8026
8027 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8028 * configure: Rebuild.
8029
8030 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8031
8032 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8033 variable.
8034
8035 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8036
8037 PR target/50931
8038 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8039 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8040
8041 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8042
8043 PR target/50989
8044 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8045
8046 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8047
8048 * config/c6x/t-elf (LIB2ADDEH): Set.
8049 * config/c6x/t-c6x-elf: Remove.
8050
8051 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8052
8053 * config/i386/sol2-ci.S: Rename to ...
8054 * config/i386/crti.S: ... this.
8055 * config/i386/sol2-cn.S: Rename to ...
8056 * config/i386/crtn.S: ... this.
8057 * config/sparc/sol2-ci.S: Rename to ...
8058 * config/sparc/crti.S: ... this.
8059 * config/sparc/sol2-cn.S: Rename to ...
8060 * config/sparc/crtn.S: ... this.
8061 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8062 (crti.o, crtn.o): Remove.
8063
8064 2011-11-04 Tristan Gingold <gingold@adacore.com>
8065
8066 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8067
8068 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8069
8070 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8071
8072 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8073
8074 * config.host (crisv32-*-none, cris-*-none): Remove.
8075 (crisv32-*-elf): Append to tmake_file, don't just set it.
8076 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8077
8078 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8079
8080 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8081 (ecrtn$(objext)): Likewise.
8082 (ncrti$(objext)): Likewise.
8083 (ncrtn$(objext)): Likewise.
8084
8085 2011-11-03 Andreas Schwab <schwab@redhat.com>
8086
8087 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8088
8089 2011-11-02 David S. Miller <davem@davemloft.net>
8090
8091 * configure.ac: Set host_address on sparc too.
8092 * configure: Regenerate.
8093 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8094 based upon host_address.
8095 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8096
8097 2011-11-02 Jason Merrill <jason@redhat.com>
8098
8099 * config/rs6000/t-ppccomm: Add missing \.
8100
8101 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8102
8103 * gthr-single.h, gthr.h: New files.
8104 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8105 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8106 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8107 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8108 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8109 * configure.ac (thread_header): New variable.
8110 Set it depending on target_thread_file.
8111 (gthr-default.h): Link from $thread_header.
8112 * configure: Regenerate.
8113 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8114
8115 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8116
8117 * configure.ac (tm_file_): New variable.
8118 Determine from tm_file.
8119 (tm_file, tm_defines): Substitute.
8120 * configure: Regenerate.
8121 * mkheader.sh: New file.
8122 * Makefile.in (clean): Remove libgcc_tm.h.
8123 ($(objects)): Depend on libgcc_tm.h.
8124 (libgcc_tm_defines, libgcc_tm_file): New variables.
8125 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8126 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8127 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8128 ($(extra-parts)): Depend on libgcc_tm.h.
8129 * config.host (tm_defines, tm_file): New variable.
8130 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8131 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8132 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8133 (avr-*-rtems*): Likewise.
8134 (avr-*-*): Likewise.
8135 (frv-*-elf): Likewise.
8136 (frv-*-*linux*): Likewise.
8137 (h8300-*-rtems*): Likewise.
8138 (h8300-*-elf*): Likewise.
8139 (i[34567]86-*-darwin*): Likewise.
8140 (x86_64-*-darwin*): Likewise.
8141 (rx-*-elf): Likewise.
8142 (tic6x-*-uclinux): Likewise.
8143 (tic6x-*-elf): Likewise.
8144 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8145 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8146 * config/i386/cygming-crtbegin.c: Likewise.
8147 * config/i386/cygming-crtend.c: Likewise.
8148 * config/ia64/fde-vms.c: Likewise.
8149 * config/ia64/unwind-ia64.c: Likewise.
8150 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8151 * config/rs6000/darwin-fallback.c: Likewise.
8152 * config/stormy16/lib2funcs.c: Likewise.
8153 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8154 * crtstuff.c: Likewise.
8155 * dfp-bit.h: Likewise.
8156 * emutls.c: Likewise.
8157 * fixed-bit.c: Likewise.
8158 * fp-bit.c: Likewise.
8159 * generic-morestack-thread.c: Likewise.
8160 * generic-morestack.c: Likewise.
8161 * libgcc2.c: Likewise.
8162 * libgcov.c: Likewise.
8163 * unwind-dw2-fde-dip.c: Likewise.
8164 * unwind-dw2-fde.c: Likewise.
8165 * unwind-dw2.c: Likewise.
8166 * unwind-sjlj.c: Likewise.
8167
8168 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8169
8170 * configure.ac: Include ../config/picflag.m4.
8171 (GCC_PICFLAG): Call it.
8172 Substitute.
8173 * configure: Regenerate.
8174 * Makefile.in (gcc_srcdir): Remove.
8175 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8176 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8177 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8178 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8179 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8180 Use $<.
8181 Remove comment.
8182 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8183 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8184 to refer to libgcc2.c.
8185 Use $<.
8186 * config/darwin-64.c: New file.
8187 * config/darwin-crt3.c: Remove comment.
8188 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8189 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8190 config/udivmodsi4.c: New files.
8191 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8192 config/memset.c: New files.
8193 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8194 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8195 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8196 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8197 * config/t-openbsd-thread: New file.
8198 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8199 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8200 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8201 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8202 qrnnd.S.
8203 Adapt filename.
8204 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8205 to refer to gthr-posix.c.
8206 * config/alpha/t-vms (LIB2ADD): Set.
8207 * config/alpha/vms-gcc_shell_handler.c: New file.
8208 * config/arm/bpabi.c, config/arm/fp16.c,
8209 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8210 config/arm/unaligned-funcs.c: New files.
8211 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8212 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8213 * config/arm/t-linux: Likewise.
8214 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8215 * config/arm/t-netbsd: New file.
8216 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8217 * config/arm/t-symbian (LIB2ADD_ST): Set.
8218 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8219 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8220 * config/bfin/t-elf: New file.
8221 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8222 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8223 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8224 config/c6x/ltf.c: New files.
8225 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8226 (HOST_LIBGCC2_CFLAGS): Set.
8227 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8228 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8229 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8230 New files.
8231 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8232 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8233 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8234 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8235 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8236 files.
8237 * config/frv/t-frv (LIB2ADD): Set.
8238 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8239 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8240 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8241 config/h8300/popcounthi2.c: New files.
8242 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8243 * config/i386/gthr-win32.c: New file.
8244 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8245 * config/i386/t-cygwin: Likewise.
8246 * config/i386/t-darwin, config/i386/t-darwin64,
8247 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8248 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8249 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8250 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8251 * config/ia64/quadlib.c: New file.
8252 * config/ia64/t-hpux (LIB2ADD): Set.
8253 * config/ia64/t-ia64: Add comment.
8254 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8255 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8256 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8257 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8258 * config/m32c/t-m32c (LIB2ADD): Set.
8259 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8260 * config/m32r/t-m32r: Likewise.
8261 * config/m68k/fpgnulib.c: New file.
8262 * config/m68k/t-floatlib (LIB2ADD): Set.
8263 (xfgnulib.c): New target.
8264 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8265 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8266 * config/mep/t-mep (LIB2ADD): Set.
8267 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8268 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8269 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8270 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8271 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8272 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8273 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8274 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8275 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8276 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8277 New files.
8278 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8279 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8280 * config/pa/fptr.c, config/pa/lib2funcs.S,
8281 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8282 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8283 (LIB2ADD, LIB2ADD_ST): Set.
8284 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8285 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8286 Set.
8287 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8288 * config/pdp11/t-pdp11: New file.
8289 * config/picochip/libgccExtras/adddi3.S,
8290 config/picochip/libgccExtras/ashlsi3.S,
8291 config/picochip/libgccExtras/ashrsi3.S,
8292 config/picochip/libgccExtras/clzsi2.S,
8293 config/picochip/libgccExtras/cmpsi2.S,
8294 config/picochip/libgccExtras/divmod15.S,
8295 config/picochip/libgccExtras/divmodhi4.S,
8296 config/picochip/libgccExtras/divmodsi4.S,
8297 config/picochip/libgccExtras/lshrsi3.S,
8298 config/picochip/libgccExtras/parityhi2.S,
8299 config/picochip/libgccExtras/popcounthi2.S,
8300 config/picochip/libgccExtras/subdi3.S,
8301 config/picochip/libgccExtras/ucmpsi2.S,
8302 config/picochip/libgccExtras/udivmodhi4.S,
8303 config/picochip/libgccExtras/udivmodsi4.S: New files.
8304 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8305 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8306 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8307 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8308 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8309 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8310 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8311 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8312 files.
8313 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8314 (HOST_LIBGCC2_CFLAGS): Set.
8315 * config/rs6000/t-darwin64: New file.
8316 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8317 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8318 * config/rs6000/t-ppccomm (LIB2ADD): Add
8319 $(srcdir)/config/rs6000/tramp.S.
8320 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8321 Add $(srcdir)/config/rs6000/eabi.S.
8322 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8323 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8324 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8325 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8326 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8327 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8328 * config/rs6000/tramp.S: New file.
8329 * config/s390/t-tpf: Remove.
8330 * config/sh/linux-atomic.S: New file.
8331 * config/sh/t-linux (LIB2ADD): Set.
8332 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8333 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8334 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8335 to unwind-dw2.c.
8336 (HOST_LIBGCC2_CFLAGS): Set.
8337 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8338 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8339 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8340 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8341 config/spu/mfc_multi_tag_release.c,
8342 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8343 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8344 config/spu/multi3.c: New files.
8345 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8346 (HOST_LIBGCC2_CFLAGS): Set.
8347 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8348 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8349 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8350 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8351 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8352 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8353 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8354 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8355 config/stormy16/umodsi3.c: New files.
8356 * config/xtensa/lib2funcs.S: New file.
8357 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8358 * config/xtensa/t-xtensa (LIB2ADD): Set.
8359 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8360 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8361 Add t-freebsd-thread to tmake_file for posix threads.
8362 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8363 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8364 (*-*-lynxos*): Likewise.
8365 (*-*-netbsd*): Likewise.
8366 (*-*-openbsd*): Likewise.
8367 Add t-openbsd-thread to tmake_file for posix threads.
8368 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8369 (*-*-vxworks*): Set tmake_file.
8370 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8371 (alpha*-*-freebsd*): Likewise.
8372 (alpha*-*-netbsd*): Likewise.
8373 (alpha*-*-openbsd*): Likewise.
8374 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8375 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8376 (alpha*-dec-*vms*): Likewise.
8377 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8378 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8379 (bfin*-uclinux*): Likewise.
8380 (bfin*-linux-uclibc*): Likewise.
8381 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8382 (crisv32-*-none): Likewise.
8383 (cris-*-elf): Likewise.
8384 (cris-*-none): Likewise.
8385 (cris-*-linux*, crisv32-*-linux*): Likewise.
8386 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8387 tmake_file.
8388 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8389 tmake_file.
8390 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8391 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8392 (x86_64-*-elf*): Likewise.
8393 (i[34567]86-*-nto-qnx*): Likewise.
8394 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8395 win32 threads.
8396 (x86_64-*-mingw*): Likewise.
8397 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8398 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8399 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8400 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8401 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8402 tmake_file.
8403 (mipsisa64sr71k-*-elf*): Likewise.
8404 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8405 (mips-*-elf*, mipsel-*-elf*): Likewise.
8406 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8407 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8408 (mips*-*-rtems*): Likewise.
8409 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8410 to tmake_file.
8411 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8412 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8413 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8414 (spu-*-elf*): Likewise.
8415 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8416
8417 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8418
8419 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8420 $(srcdir) to refer to $(LIB1ASMSRC).
8421 Use $<.
8422 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8423 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8424 config/arm/lib1funcs.S: New files.
8425 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8426 * config/arm/t-arm: New file.
8427 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8428 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8429 config/arm/t-strongarm-elf: New files.
8430 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8431 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8432 * config/avr/lib1funcs.S: New file.
8433 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8434 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8435 * config/c6x/lib1funcs.S: New file.
8436 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8437 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8438 * config/frv/lib1funcs.S: New file.
8439 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8440 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8441 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8442 * config/ia64/__divxf3.asm: Rename to ...
8443 * config/ia64/__divxf3.S: ... this.
8444 Adapt lib1funcs.asm filename.
8445 * config/ia64/_fixtfdi.asm: Rename to ...
8446 * config/ia64/_fixtfdi.S: ... this.
8447 Adapt lib1funcs.asm filename.
8448 * config/ia64/_fixunstfdi.asm: Rename to ...
8449 * config/ia64/_fixunstfdi.S: ... this.
8450 Adapt lib1funcs.asm filename.
8451 * config/ia64/_floatditf.asm: Rename to ...
8452 * config/ia64/_floatditf.S: ... this.
8453 Adapt lib1funcs.asm filename.
8454 * config/ia64/lib1funcs.S: New file.
8455 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8456 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8457 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8458 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8459 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8460 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8461 * config/mep/lib1funcs.S: New file.
8462 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8463 * config/mips/mips16.S: New file.
8464 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8465 * config/pa/milli64.S: New file.
8466 * config/pa/t-linux, config/pa/t-linux64: New files.
8467 * config/picochip/lib1funcs.S: New file.
8468 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8469 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8470 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8471 * config/sh/t-netbsd: New file.
8472 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8473 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8474 * config/sh/t-sh64: New file.
8475 * config/sparc/lb1spc.S: New file.
8476 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8477 filename.
8478 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8479 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8480 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8481 config/xtensa/lib1funcs.S: New files.
8482 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8483 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8484 tmake_file.
8485 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8486 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8487 (arm*-*-linux*): Likewise.
8488 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8489 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8490 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8491 (arm*-*-ecos-elf): Likewise.
8492 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8493 (arm*-*-rtems*): Likewise.
8494 (arm*-*-elf): Likewise.
8495 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8496 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8497 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8498 (bfin*-uclinux*): Likewise.
8499 (bfin*-linux-uclibc*): Likewise.
8500 (bfin*-rtems*): Likewise.
8501 (bfin*-*): Likewise.
8502 (fido-*-elf): Merge into m68k-*-elf*.
8503 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8504 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8505 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8506 (h8300-*-elf*): Likewise.
8507 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8508 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8509 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8510 (i[34567]86-*-mingw*): Likewise.
8511 (x86_64-*-mingw*): Likewise.
8512 (i[34567]86-*-interix3*): Likewise.
8513 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8514 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8515 (m68k-*-elf*): Also handle fido-*-elf.
8516 Add m68k/t-floatlib to tmake_file.
8517 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8518 (m68k-*-linux*): Likewise.
8519 (m68k-*-rtems*): Likewise.
8520 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8521 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8522 sh64*-*-*.
8523 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8524 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8525 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8526 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8527 sh/t-netbsd to tmake_file.
8528 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8529 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8530 (sh-wrs-vxworks): Likewise.
8531 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8532 *-leon[3-9]*.
8533 (v850*-*-*): Add v850/t-v850 to tmake_file.
8534 (vax-*-linux*): Add vax/t-linux to tmake_file.
8535 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8536
8537 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8538
8539 * crtstuff.c: New file.
8540 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8541 (CRTSTUFF_T_CFLAGS): Define.
8542 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8543 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8544 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8545 crtstuff.c.
8546 Use $<.
8547 (crtbeginT.o): Use $(objext).
8548 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8549 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8550 (gcc-extra-parts): Remove.
8551 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8552 Set extra_parts.
8553 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8554 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8555 Add t-crtstuff-pic to tmake_file.
8556 (*-*-lynxos*): New case.
8557 Set tmake_file, extra_parts.
8558 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8559 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8560 *-*-netbsdelf[2-9]*.
8561 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8562 (*-*-rtems*): Set extra_parts.
8563 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8564 (*-*-uclinux*): New case.
8565 Set extra_parts.
8566 (*-*-vms*): New case.
8567 Set tmake_file, extra_parts.
8568 (*-*-elf): Set extra_parts.
8569 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8570 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8571 vms/t-vms64.
8572 Set extra_parts.
8573 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8574 Set extra_parts.
8575 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8576 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8577 (arm-wrs-vxworks): Append to tmake_file.
8578 Set extra_parts.
8579 (arm*-*-uclinux*): Set extra_parts.
8580 (arm*-*-ecos-elf): Likewise.
8581 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8582 arm*-*-eabi*.
8583 (arm*-*-rtems*): Set extra_parts.
8584 (arm*-*-elf): Likewise.
8585 (avr-*-rtems*): Clear extra_parts.
8586 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8587 Set extra_parts.
8588 (bfin*-uclinux*): Likewise.
8589 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8590 (bfin*-rtems*): Append to tmake_file.
8591 Set extra_parts.
8592 (bfin*-*): Likewise.
8593 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8594 (crisv32-*-elf): ... this.
8595 (crisv32-*-none): ... this.
8596 (cris-*-elf, cris-*-none): New cases.
8597 Add cris/t-elfmulti to tmake_file.
8598 (fr30-*-elf): Append to tmake_file.
8599 Set extra_parts.
8600 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8601 Set extra_parts.
8602 (h8300-*-rtems*): Append to tmake_file.
8603 Set extra_parts.
8604 (h8300-*-elf*): Likewise.
8605 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8606 Set extra_parts.
8607 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8608 Set extra_parts.
8609 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8610 (x86_64-*-elf*): Likewise.
8611 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8612 (x86_64-*-freebsd*): Likewise.
8613 (x86_64-*-netbsd*): Likewise.
8614 (i[34567]86-*-linux*): Likewise.
8615 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8616 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8617 (x86_64-*-linux*): Likewise.
8618 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8619 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8620 tmake_file.
8621 Set extra_parts.
8622 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8623 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8624 Append to extra_parts, remove crtbegin.o, crtend.o.
8625 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8626 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8627 crtend.o, crtbeginS.o, crtendS.o.
8628 (ia64*-*-linux*): Comment extra_parts.
8629 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8630 Set extra_parts.
8631 (iq2000*-*-elf*): Clear extra_parts.
8632 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8633 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8634 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8635 (m32r-*-rtems*): ... this.
8636 Add m32r/t-m32r to tmake_file.
8637 (m68k-*-elf*): Add t-crtin to tmake_file.
8638 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8639 (mcore-*-elf): Likewise.
8640 (microblaze*-*-*): Set extra_parts.
8641 (mips*-sde-elf*): New case.
8642 Set tmake_file, extra_parts.
8643 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8644 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8645 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8646 tmake_file.
8647 Set extra_parts.
8648 (mipsisa64sr71k-*-elf*): Likewise.
8649 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8650 (mips-*-elf*, mipsel-*-elf*): Likewise.
8651 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8652 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8653 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8654 (mips*-*-rtems*): Likewise.
8655 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8656 (moxie-*-*): Split into ...
8657 (moxie-*-elf, moxie-*-uclinux*): ... this.
8658 Add to extra_parts, remove crtbegin.o, crtend.o.
8659 (moxie-*-rtems*): New case.
8660 Set tmake_file.
8661 Clear extra_parts.
8662 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8663 Set extra_parts.
8664 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8665 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8666 tmake_file.
8667 Set extra_parts.
8668 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8669 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8670 Set extra_parts.
8671 (powerpc-*-eabisim*): Likewise.
8672 (powerpc-*-elf*): Likewise.
8673 (powerpc-*-eabialtivec*): Likewise.
8674 (powerpc-xilinx-eabi*): Likewise.
8675 (powerpc-*-eabi*): Likewise.
8676 (powerpc-*-rtems*): Likewise.
8677 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8678 tmake_file.
8679 Set extra_parts.
8680 (powerpc-*-lynxos*): Add to tmake_file.
8681 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8682 rs6000/t-crtstuff, t-crtstuff-pic.
8683 Set extra_parts.
8684 (powerpcle-*-eabisim*): Likewise.
8685 (powerpcle-*-eabi*): Likewise.
8686 (rx-*-elf): Remove extra_parts.
8687 (s390x-ibm-tpf*): Set extra_parts.
8688 (score-*-elf): Set extra_parts.
8689 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8690 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8691 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8692 (sh64l*-*-netbsd*): Split into ...
8693 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8694 Add t-crtstuff-pic to tmake_file.
8695 Set extra_parts.
8696 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8697 Set extra_parts.
8698 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8699 (sparc-*-elf*): Remove t-crtin from tmake_file.
8700 Add to extra_parts, remove crtbegin.o, crtend.o.
8701 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8702 (sparc64-*-linux*): Likewise.
8703 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8704 Add to extra_parts, remove crtbegin.o, crtend.o.
8705 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8706 Add to extra_parts, remove crtbegin.o, crtend.o.
8707 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8708 Add to extra_parts, remove crtbegin.o, crtend.o.
8709 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8710 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8711 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8712 Set extra_parts.
8713 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8714 Set extra_parts.
8715 (tic6x-*-*): Change to ...
8716 (tic6x-*-elf): ... this.
8717 Set extra_parts.
8718 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8719 Set extra_parts.
8720 (am33_2.0-*-linux*): Add comment.
8721 (mep*-*-*): Add mep/t-mep to tmake_file.
8722 Set extra_parts.
8723 * config/alpha/t-vms: New file.
8724 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8725 * config/arm/crti.S, config/arm/crtn.S: New files.
8726 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8727 * config/bfin/crtlibid.S: New file.
8728 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8729 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8730 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8731 (crti.o, crtin.o): New rules.
8732 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8733 * config/c6x/t-uclinux: New file.
8734 * config/cris/t-elfmulti: New file.
8735 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8736 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8737 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8738 * config/frv/t-frv: New file.
8739 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8740 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8741 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8742 New files.
8743 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8744 refer to cygming-crtbegin.c, cygming-crtend.c.
8745 Use $<.
8746 * config/i386/t-nto: New file.
8747 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8748 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8749 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8750 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8751 Use .S extension.
8752 Use $<.
8753 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8754 (crtinitS.o): New rule.
8755 * config/ia64/vms-crtinit.S: New file.
8756 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8757 * config/m32r/initfini.c: New file.
8758 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8759 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8760 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8761 * config/mep/t-mep: New file.
8762 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8763 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8764 * config/mips/crti.S, config/mips/crtn.S: New files.
8765 * config/mips/t-crtstuff: New file.
8766 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8767 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8768 (CUSTOM_CRTIN): Set.
8769 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8770 dependencies.
8771 Use $(srcdir) to refer to crti.S, crtn.S.
8772 Use .S extension, $<.
8773 * config/moxie/crti.asm: Rename to ...
8774 * config/moxie/crti.S: ... this.
8775 * config/moxie/crtn.asm: Rename to ...
8776 * config/moxie/crtn.S: ... this.
8777 * config/moxie/t-moxie: Remove.
8778 * config/pa/stublib.c: New file.
8779 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8780 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8781 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8782 * config/rs6000/t-crtstuff: New file.
8783 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8784 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8785 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8786 Make output file explicit.
8787 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8788 Make output file explicit.
8789 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8790 Make output file explicit.
8791 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8792 Make output file explicit.
8793 * config/score/crti.S, config/score/crtn.S: New files.
8794 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8795 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8796 files.
8797 * config/sh/t-sh, config/sh/t-superh: New files.
8798 * config/sparc/t-linux64: New file.
8799 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8800 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8801 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8802 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8803 * config/t-crtin: Remove.
8804 * config/t-crtstuff-pic: New file.
8805 * config/t-sol2 (CUSTOM_CRTIN): Set.
8806 (crti.o, crtn.o): New rules.
8807 * config/vms/t-vms: New file.
8808 * config/vms/vms-ucrt0.c: New file.
8809 * config/xtensa/t-elf: New file.
8810
8811 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8812
8813 * Makefile.in (SHLIB_NM_FLAGS): Set.
8814 * mkmap-flat.awk, mkmap-symver.awk: New files.
8815 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8816 exceptions.
8817 * configure: Regenerate.
8818 * config/libgcc-glibc.ver: New file.
8819 * config/libgcc-libsystem.ver: New file.
8820 * config/t-libunwind (SHLIB_LC): Set.
8821 * config/t-linux: New file.
8822 * config/t-slibgcc (INSTALL_SHLIB): New.
8823 (SHLIB_INSTALL): Use it.
8824 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8825 to mkmap-symver.awk.
8826 (SHLIB_MAPFILES): Don't append, adapt pathname.
8827 (SHLIB_VERPFX): Set.
8828 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8829 to mkmap-symver.awk.
8830 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8831 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8832 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8833 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8834 to mkmap-flat.awk.
8835 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8836 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8837 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8838 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8839 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8840 * config/i386/libgcc-darwin.10.4.ver,
8841 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8842 New files.
8843 * config/i386/t-darwin: Remove.
8844 * config/i386/t-darwin64: Likewise.
8845 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8846 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8847 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8848 * config/i386/t-linux: New file.
8849 * config/i386/t-mingw32: New file.
8850 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8851 * config/ia64/t-glibc: Rename to ...
8852 * config/ia64/t-linux: ... this.
8853 (SHLIB_MAPFILES): Set.
8854 * config/ia64/t-glibc-libunwind: Rename to ...
8855 * config/ia64/t-linux-libunwind: ... this.
8856 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8857 * config/ia64/t-slibgcc-hpux: New file.
8858 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8859 * config/m68k/t-slibgcc-elf-ver: New file.
8860 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8861 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8862 to mkmap-flat.awk.
8863 * config/pa/t-slibgcc-hpux: New file.
8864 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8865 files.
8866 * config/rs6000/libgcc-darwin.10.4.ver,
8867 config/rs6000/libgcc-darwin.10.5.ver: New files.
8868 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8869 config/rs6000/libgcc-glibc.ver.
8870 * config/rs6000/libgcc-ppc64.ver: Rename to
8871 config/rs6000/libgcc-ibm-ldouble.ver.
8872 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8873 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8874 * config/rs6000/t-ldbl128: Rename to ...
8875 * config/rs6000/t-linux: ... this.
8876 (SHLIB_MAPFILES): Adapt filename.
8877 * config/rs6000/t-slibgcc-aix: New file.
8878 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8879 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8880 libgcc-excl.ver, libgcc-glibc.ver.
8881 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8882 * config/sparc/libgcc-glibc.ver: New file.
8883 * config/sparc/t-linux: New file.
8884 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8885 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8886 t-slibgcc-elf-ver to tmake_file.
8887 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8888 *-*-freebsd[34].
8889 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8890 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8891 t-slibgcc-elf-ver, t-linux to tmake_file.
8892 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8893 tmake_file.
8894 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8895 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8896 (alpha*-dec-*vms*): Likewise.
8897 (arm*-*-freebsd*): Append to tmake_file.
8898 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8899 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8900 arm*-*-linux-*eabi.
8901 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8902 tmake_file for arm*-*-symbianelf*.
8903 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8904 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8905 cris/t-linux.
8906 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8907 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8908 pa/t-slibgcc-dwarf-ver to tmake_file.
8909 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8910 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8911 (hppa*64*-*-hpux11*): Likewise.
8912 (hppa[12]*-*-hpux11*): Likewise.
8913 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8914 i386/t-crtpc, i386/t-crtfm.
8915 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8916 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8917 to tmake_file.
8918 Add i386/t-cygwin to tmake_file.
8919 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8920 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8921 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8922 to tmake_file.
8923 Add i386/t-mingw32 to tmake_file.
8924 (x86_64-*-mingw*): Likewise.
8925 (ia64*-*-freebsd*): Append to tmake_file.
8926 (ia64*-*-linux*): Append to tmake_file.
8927 Replace ia64/t-glibc by ia64/t-linux.
8928 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8929 system libunwind.
8930 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8931 t-slibgcc-hpux to tmake_file.
8932 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8933 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8934 (m32rle-*-linux*): Likewise.
8935 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8936 sjlj exceptions.
8937 (microblaze*-linux*): New case.
8938 Append to tmake_file, add t-slibgcc-nolc-override.
8939 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8940 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8941 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8942 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8943 rs6000/t-slibgcc-aix to tmake_file.
8944 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8945 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8946 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8947 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8948 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8949 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8950 sh*-*-linux*.
8951 (sparc-*-linux*): Append to tmake_file for *-leon*.
8952 Add sparc/t-linux to tmake_file for non-Leon targets.
8953 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8954 (tic6x-*-uclinux): New case.
8955 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8956 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8957 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8958 (am33_2.0-*-linux*): Append to tmake_file.
8959 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8960 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8961 x86_64-*-kfreebsd*-gnu.
8962 Add i386/t-linux to tmake_file.
8963
8964 2011-10-28 Ian Lance Taylor <iant@google.com>
8965
8966 * config/i386/morestack.S: Correct CFI information to do proper
8967 returns throughout function. In 32-bit mode, save %ebx so that it
8968 is restored on unwind.
8969
8970 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8971
8972 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8973 case where B3 isn't the return register.
8974
8975 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8976 logic for doubleword pops.
8977
8978 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8979
8980 * config/rs6000/t-freebsd: Add wildcard.
8981
8982 2011-10-21 Paul Brook <paul@codesourcery.com>
8983
8984 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8985
8986 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8987 Eric Botcazou <ebotcazou@adacore.com>
8988
8989 PR target/50737
8990 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8991 fs->signal_frame to 1.
8992
8993 2011-10-07 Ian Lance Taylor <iant@google.com>
8994
8995 * generic-morestack-thread.c: #include <errno.h>.
8996
8997 2011-10-07 Ian Lance Taylor <iant@google.com>
8998
8999 PR target/46093
9000 * generic-morestack.c (__generic_morestack): Make sure the segment
9001 is large enough for both the stack frame and the copied
9002 parameters.
9003
9004 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9005
9006 PR bootstrap/49804
9007 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9008 extra_parts.
9009
9010 2011-09-28 Nick Clifton <nickc@redhat.com>
9011
9012 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9013 64-bit doubles are not enabled.
9014 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9015 and floatunsisf functions.
9016
9017 2011-09-13 Paul Brook <paul@codesourcery.com>
9018
9019 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9020 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9021 * unwind-arm-common.inc: New file.
9022 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9023 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9024 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9025 * config/c6x/libunwind.S: New file.
9026 * config/c6x/pr-support.c: New file.
9027 * config/c6x/unwind-c6x.c: New file.
9028 * config/c6x/unwind-c6x.h: New file.
9029 * config/c6x/t-c6x-elf: New file.
9030
9031 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9032
9033 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9034 (ASM_DIVZERO): Ditto.
9035 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9036
9037 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9038
9039 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9040
9041 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9042
9043 PR target/50090
9044 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9045 instead of an assembly one.
9046
9047 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9048
9049 PR bootstrap/50047
9050 * Makefile.in (install-unwind_h): Create
9051 $(gcc_objdir)/include/unwind.h atomically.
9052
9053 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9054
9055 * Makefile.in (install-unwind_h): Remove destination file first.
9056
9057 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9058
9059 * sync.c: New file.
9060 * config/mips/t-mips16: New file.
9061 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9062 (mips*-*-linux*): Likewise.
9063 (mips*-sde-elf*): Likewise.
9064 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9065 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9066 Add mips/t-mips16 to tmake_file.
9067 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9068 (mips-*-elf*): Likewise.
9069 (mips64-*-elf*): Likewise.
9070 (mips64orion-*-elf*): Likewise.
9071 (mips*-*-rtems*): Likewise.
9072 (mipstx39-*-elf*): Likewise.
9073 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9074 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9075 LIBGCC_SYNC_CFLAGS.
9076 Use $(srcdir) to refer to sync.c.
9077 Use $<.
9078 ($(libgcc-sync-funcs-o)): Likewise.
9079 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9080 ($(libgcc-sync-funcs-s-o)): Likewise.
9081
9082 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9083
9084 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9085 t-libunwind.
9086
9087 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9088
9089 PR other/48007
9090 * config/i386/value-unwind.h: New.
9091
9092 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9093
9094 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9095 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9096 Add to tmake_file rather than overriding it.
9097
9098 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9099
9100 * config/t-softfp: Remove.
9101 * soft-fp: Moved from ../gcc/config.
9102 * soft-fp/README: Remove t-softfp reference.
9103 * soft-fp/t-softfp: Move to config/t-softfp.
9104 (softfp_machine_header): Remove.
9105 (softfp_file_list): Remove config subdir.
9106 (soft-fp-objects): New variable.
9107 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9108 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9109 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9110 * config/t-softfp-excl: New file.
9111 * config/t-softfp-sfdf: New file.
9112 * config/t-softfp-tf: New file.
9113 * config/no-sfp-machine.h: New file.
9114 * config/arm/sfp-machine.h: New file.
9115 * config/arm/t-softfp: New file.
9116 * config/c6x/sfp-machine.h: New file.
9117 * config/i386/32/t-fprules-softfp: Rename to ...
9118 * config/i386/32/t-softfp: ... this.
9119 (tifunctions, LIB2ADD): Remove.
9120 (softfp_int_modes): Override.
9121 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9122 subdir.
9123 * config/i386/64/eqtf2.c: Likewise.
9124 * config/i386/64/getf2.c: Likewise.
9125 * config/i386/64/letf2.c: Likewise.
9126 * config/ia64/sft-machine.h: New file.
9127 * config/ia64/t-fprules-softfp: Rename to ...
9128 * config/ia64/t-softfp: ... this.
9129 * config/lm32/sfp-machine.h: New file.
9130 * config/moxie/t-moxie-softfp: Remove.
9131 * config/rs6000/ibm-ldouble-format: New file.
9132 * config/rs6000/ibm-ldouble.c: New file.
9133 * config/rs6000/libgcc-ppc-glibc.ver: New file
9134 * config/rs6000/libgcc-ppc64.ver: New file
9135 * config/rs6000/sfp-machine.h: New file.
9136 * config/rs6000/t-freebsd: New file.
9137 * config/rs6000/t-ibm-ldouble: New file.
9138 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9139 libgcc-ppc-glibc.ver.
9140 * config/rs6000/t-linux64: New file.
9141 * config/rs6000/t-ppccomm (LIB2ADD): Add
9142 $(srcdir)/config/rs6000/ibm-ldouble.c.
9143 * config/rs6000/t-ppccomm-ldbl: New file.
9144 * config/score/sfp-machine.h: New file.
9145 * config.host (sfp_machine_header): Explain.
9146 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9147 t-softfp to tmake_file.
9148 (arm*-*-uclinux*): Likewise.
9149 (arm*-*-ecos-elf): Likewise.
9150 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9151 (arm*-*-rtems*): Likewise.
9152 (arm*-*-elf): Likewise.
9153 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9154 in tmake_file.
9155 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9156 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9157 (lm32-*-uclinux*): Likewise.
9158 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9159 t-softfp-excl, t-softfp.
9160 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9161 (powerpc64-*-darwin*): Likewise.
9162 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9163 to tmake_file.
9164 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9165 tmake_file.
9166 (powerpc-*-eabisim*): Likewise.
9167 (powerpc-*-elf*): Likewise.
9168 (powerpc-*-eabialtivec*): Likewise.
9169 (powerpc-xilinx-eabi*): Likewise.
9170 (powerpc-*-rtems*): Likewise.
9171 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9172 t-softfp-excl, t-softfp to tmake_file.
9173 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9174 rs6000/t-ppccomm-ldbl to tmake_file.
9175 (powerpcle-*-elf*): Likewise.
9176 (powerpcle-*-eabisim*): Likewise.
9177 (powerpcle-*-eabi*): Likewise.
9178 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9179 rs6000/t-ibm-ldouble to tmake_file.
9180 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9181 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9182 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9183 (tic6x-*-*): Likewise.
9184 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9185 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9186 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9187 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9188 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9189 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9190 t-softfp to tmake_file.
9191 * configure.ac (sfp_machine_header): Provide default if unset.
9192 Substitute.
9193 Link sfp-machine.h to config/$sfp_machine_header.
9194 * configure: Regenerate.
9195
9196 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9197
9198 * Makefile.in (double_type_size, long_double_type_size): Set.
9199 Remove $(fpbit-in-libgcc) support.
9200 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9201 (fpbit-src): New variable.
9202 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9203 Compile with -DFLOAT $(FPBIT_CFLAGS).
9204 Use $<.
9205 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9206 Compile with $(FPBIT_CFLAGS).
9207 Use $<.
9208 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9209 Compile with -DFLOAT $(TPBIT_CFLAGS).
9210 Use $<.
9211 * configure.ac (double_type_size, long_double_type_size):
9212 Determine and substitute.
9213 * configure: Regenerate.
9214 * fp-bit.c, fp-bit.h: New files.
9215 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9216 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9217 * config/mips/t-mips: New file.
9218 * config/mips/t-sdemtk: New file.
9219 * config/rs6000/ppc64-fp.c: New file.
9220 * config/rs6000/t-darwin (LIB2ADD): Add
9221 $(srcdir)/config/rs6000/ppc64-fp.c.
9222 * config/rs6000/t-ppc64-fp: New file.
9223 * config/rx/rx-lib.h: New file.
9224 * config/rx/t-rx (FPBIT): Set to true.
9225 ($(gcc_objdir)/fp-bit.c): Remove.
9226 (DPBIT): Set to true only with -m64bit-doubles.
9227 ($(gcc_objdir)/dp-bit.c): Remove.
9228 * config/sparc/t-softfp: Remove.
9229 * config/spu/t-elf: New file.
9230 * config/t-fdpbit, config/t-fpbit: New files.
9231 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9232 (mips*-*-*): Likewise.
9233 (arm-wrs-vxworks): Likewise.
9234 (arm*-*-freebsd*): Likewise.
9235 (avr-*-rtems*): Add t-fpbit to tmake_file.
9236 (avr-*-*): Likewise.
9237 (bfin*-elf*): Add t-fdpbit to tmake_file.
9238 (bfin*-uclinux*): Likewise.
9239 (bfin*-linux-uclibc*): Likewise.
9240 (bfin*-rtems*): New case.
9241 Add t-fdpbit to tmake_file.
9242 (bfin*-*): Add t-fdpbit to tmake_file.
9243 (crisv32-*-elf): Likewise.
9244 (cris-*-linux*): Likewise.
9245 (fr30-*-elf): Likewise.
9246 (frv-*-elf, frv-*-*linux*): Likewise.
9247 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9248 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9249 (m32r-*-elf*): Likewise.
9250 (m32rle-*-elf*): Likewise.
9251 (m32r-*-linux*): Likewise.
9252 (m32rle-*-linux*): Likewise.
9253 (mcore-*-elf): Add t-fdpbit to tmake_file.
9254 (microblaze*-*-*): Likewise.
9255 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9256 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9257 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9258 Fix typo.
9259 Add mips/t-tpbit to tmake-file.
9260 (mips*-*-linux*): Fix typo.
9261 (mips*-sde-elf*): New case
9262 Add mips/t-sdemtk unless using newlib.
9263 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9264 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9265 (mn10300-*-*): Likewise.
9266 (pdp11-*-*): Likewise.
9267 (picochip-*-*): Add t-fpbit to tmake_file.
9268 (powerpc-*-eabisimaltivec*): Likewise.
9269 (powerpc-*-eabisim*): Likewise.
9270 (powerpc-*-elf*): Likewise.
9271 (powerpc-*-eabialtivec*): Likewise.
9272 (powerpc-xilinx-eabi*): New case.
9273 Add t-fdpbit to tmake_file.
9274 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9275 (powerpc-*-rtems*): Likewise.
9276 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9277 tmake_file.
9278 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9279 tmake_file.
9280 (powerpc-*-lynxos*): Likewise.
9281 (powerpcle-*-elf*): Likewise.
9282 (powerpcle-*-eabisim*): Likewise.
9283 (powerpcle-*-eabi*): Likewise.
9284 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9285 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9286 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9287 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9288 (rx-*-elf): Add t-fdpbit to tmake_file.
9289 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9290 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9291 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9292 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9293 sh*-*-netbsd*.
9294 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9295 (sh-wrs-vxworks): Likewise.
9296 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9297 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9298 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9299 (sparc64-*-rtems*): ... new case.
9300 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9301 (spu-*-elf*): Likewise.
9302 Add spu/t-elf to tmake_file.
9303 (v850*-*-*): Add t-fdpbit to tmake_file.
9304 (xstormy16-*-elf): Likewise.
9305 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9306 (mep*-*-*): Likewise.
9307
9308 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9309
9310 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9311 variables.
9312 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9313 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9314 (install-unwind_h): New target.
9315 (all): Depend on it.
9316 * config.host (unwind_header): New variable.
9317 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9318 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9319 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9320 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9321 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9322 Set unwind_header.
9323 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9324 Set unwind_header.
9325 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9326 arm*-*-eabi*.
9327 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9328 Set unwind_header.
9329 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9330 (ia64*-*-freebsd*): Likewise.
9331 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9332 tmake_file.
9333 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9334 $with_system_libunwind.
9335 (ia64*-*-hpux*): Set tmake_file.
9336 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9337 (picochip-*-*): Set tmake_file.
9338 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9339 md_unwind_header.
9340 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9341 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9342 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9343 (xtensa*-*-elf*): Set tmake_file.
9344 (xtensa*-*-linux*): Likewise.
9345 * configure.ac: Include ../config/unwind_ipinfo.m4.
9346 Call GCC_CHECK_UNWIND_GETIPINFO.
9347 Link unwind.h to $unwind_header.
9348 * configure: Regenerate.
9349 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9350 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9351 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9352 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9353 * config/unwind-dw2-fde-darwin.c: New file.
9354 * config/arm/libunwind.S, config/arm/pr-support.c,
9355 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9356 config/arm/unwind-arm.h,: New files.
9357 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9358 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9359 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9360 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9361 config/ia64/unwind-ia64.h: New files.
9362 * config/picochip/t-picochip: New file.
9363 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9364 files.
9365 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9366 * config/s390/t-tpf (LIB2ADDEH): Remove.
9367 * config/t-darwin (LIB2ADDEH): Set.
9368 * config/t-eh-dw2-dip: New file.
9369 * config/t-libunwind, config/t-libunwind-elf: New files.
9370 * config/t-sol2 (LIB2ADDEH): Remove.
9371 * config/xtensa/t-xtensa: New file.
9372
9373 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9374
9375 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9376 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9377 long long to check rt_sigreturn syscall.
9378
9379 2011-08-02 Alan Modra <amodra@gmail.com>
9380
9381 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9382 Restore for indirect call bcrtl from correct stack slot, and only
9383 if cfa+40 isn't valid.
9384
9385 2011-08-01 Julian Brown <julian@codesourcery.com>
9386
9387 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9388 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9389 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9390
9391 2011-08-01 Julian Brown <julian@codesourcery.com>
9392
9393 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9394 (libgcc-std.ver.in): Use above.
9395 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9396 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9397 throughout file.
9398 * config/t-fixedpoint-gnu-prefix: New file.
9399 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9400 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9401 instead of __PFX__.
9402
9403 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9404
9405 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9406 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9407 for x86-64. Properly check __x86_64__ and __LP64__.
9408
9409 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9410
9411 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9412 version.
9413 (_FP_WS_TYPE): Likewise.
9414 (_FP_I_TYPE): Likewise.
9415
9416 2011-07-28 Alan Modra <amodra@gmail.com>
9417
9418 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9419 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9420 in a plt call stub. Do restore r2 if stopped on bctrl.
9421
9422 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9423
9424 * config.host (i[3456x]86-*-netware*): Remove.
9425 * config/i386/netware-crt0.c, config/i386/t-nwld,
9426 config/i386/t-slibgcc-nwld: Remove.
9427
9428 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9429
9430 * config.host: Handle tic6x-*-*.
9431 * config/c6x/c6x-abi.h: New file.
9432
9433 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9434
9435 * config/i386/crtprec.c: New file.
9436 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9437 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9438 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9439 (x86_64-*-darwin*): Likewise.
9440 (i[34567]86-*-solaris2*: Likewise.
9441
9442 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9443
9444 * config/alpha/crtfastmath.c: New file.
9445 * config/i386/crtfastmath.c: New file.
9446 * config/ia64/crtfastmath.c: New file.
9447 * config/mips/crtfastmath.c: New file.
9448 * config/sparc/crtfastmath.c: New file.
9449
9450 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9451 crtfastmath.c.
9452 Add -frandom-seed=gcc-crtfastmath.
9453 * config/alpha/t-crtfm: Remove.
9454 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9455 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9456
9457 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9458 (alpha*-dec-osf5.1*): Likewise.
9459 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9460 Add crtfastmath.o to extra_parts.
9461 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9462 Add crtfastmath.o to extra_parts.
9463 (x86_64-*-darwin*): Likewise.
9464 (x86_64-*-mingw*): Likewise.
9465 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9466 (ia64*-*-freebsd*): Likewise.
9467 (ia64*-*-linux*): Likewise.
9468 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9469 Add crtfastmath.o to extra_parts.
9470
9471 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9472
9473 * config/darwin-crt3.o: New file.
9474 * config/rs6000/darwin-crt2.c: New file.
9475 * config/t-darwin: New file.
9476 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9477 (crt2.o): New rule.
9478 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9479 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9480 (powerpc64-*-darwin*): Likewise.
9481
9482 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9483
9484 * config/i386/netware-crt0.c: New file.
9485 * config/i386/t-nwld: Rename to ...
9486 * config/i386/t-slibgcc-nwld: ... this.
9487 * config/i386/t-nwld: New file.
9488 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9489 tmake_file.
9490 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9491 extra_parts.
9492
9493 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9494
9495 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9496 i386/t-crtstuff.
9497 * configure: Regenerate.
9498
9499 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9500
9501 * dfp-bit.c, dfp-bit.h: New files.
9502 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9503 variables.
9504 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9505 ($(d64pbit-o)): Likewise.
9506 ($(d128pbit-o)): Likewise.
9507 * config/t-dfprules: New file.
9508 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9509 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9510 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9511 (x86_64-*-linux*): Likewise.
9512 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9513 (i[34567]86-*-cygwin*): Likewise.
9514 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9515 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9516
9517 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9518
9519 * Makfile.in (LIBGCOV): New variable.
9520 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9521 * libgcov.c: New file.
9522
9523 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9524
9525 * fixed-bit.c, fixed-bit.h: New files.
9526 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9527 refer to fixed-bit.c.
9528
9529 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9530
9531 * config.host (*local*): Remove.
9532
9533 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9534
9535 PR target/39150
9536 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9537 like i?86-*-solaris2.1[0-9]*.
9538 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9539 * configure.ac (i?86-*-solaris2*): Likewise.
9540 * configure: Regenerate.
9541
9542 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9543
9544 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9545 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9546 md_unwind_header by splitting out of...
9547 (i[34567]86-*-linux*): ... this.
9548 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9549 Remove md_unwind_header by splitting out of...
9550 (x86_64-*-linux*): ... this.
9551
9552 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9553
9554 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9555
9556 2011-06-28 Nick Clifton <nickc@redhat.com>
9557
9558 * config.host: Recognize all V850 variants.
9559
9560 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9561
9562 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9563
9564 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9565
9566 * shared-object.mk (c_flags-$o): Save c_flags.
9567 ($(base)$(objext)): Use it.
9568 ($(base)_s$(objext)): Likewise.
9569
9570 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9571
9572 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9573 * libgcc-std.ver.in (GCC_4.7.0): New section.
9574
9575 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9576
9577 PR target/49313
9578 PR target/29524
9579 * config/avr/t-avr: Fix line endings.
9580 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9581 _parityXX2.
9582
9583 2011-06-14 Olivier Hainque <hainque@adacore.com>
9584 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9585
9586 * config/mips/irix6-unwind.h: New file.
9587 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9588
9589 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9590
9591 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9592 (sparc64_fallback_frame_state): Use it.
9593 (sparc64_frob_update_context): Further adjust context.
9594 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9595 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9596 * config/sparc/sol2-cn.S: Likewise.
9597
9598 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9599
9600 * enable-execute-stack-empty.c: New file.
9601 * enable-execute-stack-mprotect.c: New file.
9602 * config/i386/enable-execute-stack-mingw32.c: New file.
9603 * config.host (enable_execute_stack): New variable.
9604 Select appropriate variants.
9605 * configure.ac: Link enable-execute-stack.c to
9606 $enable_execute_stack.
9607 * configure: Regenerate.
9608 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9609 (lib2funcs): Remove _enable_execute_stack.
9610
9611 2011-06-09 David S. Miller <davem@davemloft.net>
9612 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9613
9614 * config.host (sparc-*-linux*): Correct md_unwind_header
9615 filename.
9616 (s390x-ibm-tpf*): Fix typo.
9617
9618 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9619
9620 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9621 Add crtfastmath.o to extra_parts.
9622 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9623 mips/t-crtfm.
9624 * config/mips/t-crtfm: Remove.
9625
9626 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9627
9628 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9629
9630 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9631
9632 * config.host (sh*-*-linux*): Fix typo.
9633
9634 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9635
9636 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9637 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9638 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9639 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9640 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9641 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9642 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9643 Wrap in !__MINGW64__.
9644 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9645 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9646 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9647 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9648 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9649 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9650 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9651 Wrap in !__LP64__.
9652 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9653 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9654 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9655 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9656 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9657 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9658 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9659 * config/no-unwind.h: New file.
9660 * config.host (md_unwind_header): Document.
9661 Define.
9662 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9663 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9664 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9665 hppa[12]*-*-hpux11*): Set md_unwind_header.
9666 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9667 Set md_unwind_header.
9668 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9669 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9670 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9671 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9672 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9673 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9674 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9675 md_unwind_header.
9676 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9677 * configure: Regenerate.
9678
9679 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9680
9681 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9682 Set tmake_file, extra_parts.
9683 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9684 Remove O32 support.
9685 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9686 Remove O32 support.
9687 * config/mips/t-irix6: New file.
9688 * config/mips/t-slibgcc-irix: New file.
9689
9690 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9691
9692 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9693 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9694
9695 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9696
9697 * configure.ac (target_thread_file): Determine thread model.
9698 * configure: Regenerate.
9699 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9700 * config/alpha/t-alpha: New file.
9701 * config/alpha/t-crtfm: Use $<.
9702 * config/alpha/t-ieee: New file.
9703 * config/alpha/t-osf-pthread: New file.
9704 * config/alpha/t-slibgcc-osf: New file.
9705 * config/alpha/libgcc-osf5.ver: New file.
9706
9707 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9708
9709 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9710 tmake_file.
9711 Add crtfastmath.o to extra_parts.
9712
9713 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9714
9715 * config/gmon-sol2.c: Reindent.
9716 Cleanup comments.
9717 Remove, correct casts.
9718 Use STDERR_FILENO, NULL.
9719 (BASEADDRESS): Remove.
9720 (minbrk): Remove.
9721 (errno, sbrk): Remove declarations.
9722 (monstartup) [hp300]: Remove.
9723 (mcount): Remove.
9724
9725 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9726
9727 * Makefile.in (cpu_type): Define.
9728 * config.host (i[34567]86-*-rtems*): Handle it.
9729 (i[34567]86-*-solaris2*): Move body ...
9730 (*-*-solaris2*): ... here.
9731 New case, generalize.
9732 (sparc-*-elf*): Handle it.
9733 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9734 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9735 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9736 Fold into ...
9737 (sparc*-*-solaris2*): ... this.
9738 New case.
9739 (sparc64-*-elf*): Handle it.
9740 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9741 Merge ../gcc/config/i386/gmon-sol2.c.
9742 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9743 Use C comments.
9744 Merge ../gcc/config/i386/sol2-gc1.asm.
9745 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9746 Use C comments.
9747 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9748 Use C comments.
9749 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9750 * config/i386/t-crtstuff: New file.
9751 * config/i386/t-softfp: New file.
9752 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9753 $(T)crti.o, $(T)crtn.o): Remove.
9754 (gcrt1.o): New rule.
9755 (TARGET_LIBGCC2_CFLAGS): Remove.
9756 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9757 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9758 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9759 * config/sparc/t-sol2: New file.
9760 * config/sparc/t-crtfm: Move to ...
9761 * config/t-crtfm: ... this.
9762 Use $(cpu_type), $<.
9763 * config/t-crtin: New file.
9764 * config/sparc/t-softfp: New file.
9765 * config/sparc/t-softmul: New file.
9766 * config/t-rtems: New file.
9767 * config/t-slibgcc: New file.
9768 * config/t-slibgcc-elf-ver: New file.
9769 * config/t-slibgcc-gld: New file.
9770 * config/t-slibgcc-sld: New file.
9771 * config/t-sol2: New file.
9772 * configure.ac: Include ../config/lib-ld.m4.
9773 Call AC_LIB_PROG_LD_GNU.
9774 Substitute cpu_type.
9775 * configure: Regenerate.
9776
9777 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9778
9779 PR bootstrap/49173
9780 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9781 libgcc-std.ver in the build directory.
9782 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9783 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9784
9785 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9786
9787 * libgcc-std.ver.in: New file.
9788 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9789 variables.
9790 (libgcc-std.ver): New rule.
9791 * config/t-gnu-prefix: New file.
9792
9793 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9794
9795 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9796
9797 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9798
9799 * config/i386/darwin-lib.h: New file.
9800
9801 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9802
9803 * config/arm/symbian-lib.h: New.
9804
9805 2011-05-04 Chris Demetriou <cgd@google.com>
9806
9807 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9808 (__x86.get_pc_thunk.bx): ...this.
9809 (__morestack): Adjust for rename, remove undef of __i686.
9810
9811 2011-05-03 Chris Demetriou <cgd@google.com>
9812
9813 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9814
9815 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9816
9817 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9818 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9819 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9820 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9821 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9822 Remove cases.
9823
9824 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9825
9826 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9827 Adjust copyright year.
9828
9829 2011-03-07 Ian Lance Taylor <iant@google.com>
9830
9831 * generic-morestack.c (__splitstack_find): Adjust returned stack
9832 pointer to include all registers pushed by __morestack.
9833
9834 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9835
9836 PR target/40125
9837 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9838 (toolexecdir): Calculate and AC_SUBST.
9839 (toolexeclibdir): Likewise.
9840 * Makefile.in (target_noncanonical): Import.
9841 (toolexecdir): Likewise.
9842 (toolexeclibdir): Likewise.
9843 * configure: Regenerate.
9844
9845 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9846
9847 PR target/46040
9848 * config/arm/bpabi.h: Rename to...
9849 * config/arm/bpabi-lib.h: ...this.
9850
9851 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9852
9853 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9854 appropriate.
9855 * configure: Regenerate.
9856
9857 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9858
9859 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9860 __FLOAT_WORD_ORDER__.
9861 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9862 Delete.
9863
9864 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9865
9866 PR other/46202
9867 * Makefile.in (install-strip): New phony target.
9868
9869 2010-11-07 Ian Lance Taylor <iant@google.com>
9870
9871 PR target/46089
9872 * config/i386/morestack.S (__morestack_large_model): New
9873 function.
9874
9875 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9876
9877 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9878 Delete.
9879 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9880
9881 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9882
9883 * config/arm/bpabi.h: New file.
9884 * config/frv/frv-abi.h: New file.
9885
9886 2010-10-01 Ian Lance Taylor <iant@google.com>
9887
9888 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9889 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9890
9891 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9892
9893 PR target/45858
9894 * config.host: Add the missing `$'.
9895
9896 2010-09-30 Michael Eager <eager@eagercon.com>
9897
9898 * config.host: Add microblaze*-*-*.
9899 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9900 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9901 udivsi3.asm,umodsi3.asm}: New.
9902
9903 2010-09-28 Ian Lance Taylor <iant@google.com>
9904
9905 * configure.ac: Adjust CFI test to test assembler directly rather
9906 than checking gcc preprocessor macro.
9907 * configure: Rebuild.
9908
9909 2010-09-27 Ian Lance Taylor <iant@google.com>
9910
9911 * configure.ac: Test whether assembler supports CFI directives.
9912 * config.host: Only add t-stack and i386/t-stack-i386 to
9913 tmake_file if libgcc_cv_cfi is "yes".
9914 * configure: Rebuild.
9915
9916 2010-09-27 Ian Lance Taylor <iant@google.com>
9917
9918 * generic-morestack.h: New file.
9919 * generic-morestack.c: New file.
9920 * generic-morestack-thread.c: New file.
9921 * config/i386/morestack.S: New file.
9922 * config/t-stack: New file.
9923 * config/i386/t-stack-i386: New file.
9924 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9925 i386/t-stack-i386 to tmake_file.
9926
9927 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9928
9929 * Makefile.in (libgcc-extra-parts): Check for static archives and
9930 invoke ranlib after installing them.
9931 (gcc-extra-parts): Likewise.
9932 (install-leaf): Likewise.
9933
9934 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9935
9936 * configure: Regenerated.
9937
9938 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9939
9940 * configure: Regenerated.
9941
9942 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9943 Andrew Pinski <pinskia@gmail.com>
9944
9945 PR target/40959
9946 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9947
9948 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9949
9950 PR target/45524
9951 * configure: Regenerated.
9952
9953 2010-09-06 Andreas Schwab <schwab@redhat.com>
9954
9955 * configure: Regenerate.
9956
9957 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9958
9959 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9960 64bit targets.
9961 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9962 for 64bit targets.
9963
9964 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9965 Iain Sandoe <iains@gcc.gnu.org>
9966
9967 PR target/45476
9968 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9969 LIB2FUNCS_EXCLUDE functions.
9970
9971 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9972
9973 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9974 Include dfp.m4.
9975 * configure: Regenerate.
9976
9977 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9978
9979 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9980 i386/t-freebsd to tmake_file.
9981 * config/i386/t-freebsd: New file.
9982 * config/i386/libgcc-bsd.ver: New file.
9983
9984 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9985
9986 * config.host (powerpc*-eabispe*): Set tmake_file.
9987 (powerpc*-eabi*): Likewise.
9988 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9989 crtbeginS, crtendS, crtbeginT.
9990
9991 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9992
9993 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9994 to tmake_file. Add crtfastmath.o to extra_parts.
9995 * config/mips/t-crtfm: New.
9996
9997 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9998
9999 * config.host (sparc64-*-rtems*): New target.
10000
10001 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10002
10003 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10004 assembler syntax.
10005
10006 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10007
10008 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10009
10010 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10011
10012 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10013 alpha-dec-osf5.0* support.
10014
10015 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10016
10017 * config.host: Add lm32-*-rtems*.
10018
10019 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10020 Uros Bizjak <ubizjak@gmail.com>
10021
10022 PR target/39048
10023 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10024 like other remaining 32-bit x86 OSes.
10025 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10026 assembler syntax.
10027 * config/i386/libgcc-sol2.ver: New file.
10028 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10029
10030 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10031
10032 PR c/43553
10033 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10034 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10035 is used and substitute set_use_emutls.
10036 * configure: Regenerated.
10037
10038 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10039
10040 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10041
10042 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10043
10044 PR target/38085
10045 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10046 MULTILIB_CFLAGS.
10047 ($(T)gcrt1.o): Likewise.
10048 ($(T)crt1.o): Likewise.
10049 ($(T)crti.o): Likewise.
10050 ($(T)crtn.o): Likewise.
10051
10052 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10053
10054 PR other/42980
10055 * Makefile.in (install): Use $(MAKE) string in rule, for
10056 parallel make.
10057
10058 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10059
10060 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10061 * config/mmix/t-mmix: New file.
10062 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10063
10064 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10065
10066 PR java/41991
10067 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10068 SHLIB_MAPFILES.
10069
10070 2010-01-04 Anthony Green <green@moxielogic.com>
10071
10072 * config/moxie/crti.asm, config/moxie/crtn.asm,
10073 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10074 config/moxie/t-moxie: New files.
10075 * config.host: Add t-moxie-softfp reference.
10076
10077 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10078
10079 PR other/39888
10080 * config/t-slibgcc-darwin: Fix embedded rpaths for
10081 --enable-version-specific-runtime-libs, build extension stub
10082 libs exposing features available from current libgcc_s.
10083
10084 2009-11-11 Jon Beniston <jon@beniston.com>
10085
10086 * config.host: Add lm32 targets.
10087 * config/lm32: New directory.
10088 * config/lm32/libgcc_lm32.h: New file.
10089 * config/lm32/_mulsi3.c: New file.
10090 * config/lm32/_udivmodsi4.c: New file.
10091 * config/lm32/_divsi3.c: New file.
10092 * config/lm32/_modsi3.c: New file.
10093 * config/lm32/_udivsi3.c: New file.
10094 * config/lm32/_umodsi3.c: New file.
10095 * config/lm32/_lshrsi3.S: New file.
10096 * config/lm32/_ashrsi3.S: New file.
10097 * config/lm32/_ashlsi3.S: New file.
10098 * config/lm32/crti.S: New file.
10099 * config/lm32/crtn.S: New file.
10100 * config/lm32/t-lm32: New file.
10101 * config/lm32/t-elf: New file.
10102 * config/lm32/t-uclinux: New file.
10103
10104 2009-10-26 Nick Clifton <nickc@redhat.com>
10105
10106 * config.host: Add support for RX target.
10107 * config/rx: New directory.
10108 * config/rx/rx-abi-functions.c: New file. Supplementary
10109 functions for libgcc to support the RX ABI.
10110 * config/rx/rx-abi.h: New file. Supplementary header file for
10111 libgcc RX ABI functions.
10112 * config/rx/t-rx: New file: Makefile fragment for building
10113 libgcc for the RX.
10114
10115 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10116
10117 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10118 constraint of y0 to "g".
10119
10120 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10121
10122 * config.host: Include the s390 makefile fragments.
10123 * config/s390/32/_fixdfdi.c: New file.
10124 * config/s390/32/_fixsfdi.c: New file.
10125 * config/s390/32/_fixtfdi.c: New file.
10126 * config/s390/32/_fixunsdfdi.c: New file.
10127 * config/s390/32/_fixunssfdi.c: New file.
10128 * config/s390/32/_fixunstfdi.c: New file.
10129 * config/s390/32/t-floattodi: New file.
10130 * config/s390/libgcc-glibc.ver: New file.
10131 * config/s390/t-crtstuff: New file.
10132 * config/s390/t-linux: New file.
10133 * config/s390/t-tpf: New file.
10134
10135 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10136
10137 * configure.ac (AC_PREREQ): Bump to 2.64.
10138
10139 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10140
10141 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10142
10143 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10144
10145 * configure: Regenerate.
10146
10147 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10148
10149 * config.host (ia64-hp-*vms*): New target.
10150 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10151 with ia64-hp-*vms*.
10152
10153 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10154
10155 * configure.ac: Add snippet for maintainer-mode.
10156 * configure: Regenerate.
10157 * Makefile.in (AUTOCONF, configure_deps): New variables.
10158 ($(srcdir)/configure)): New rule, active only with maintainer
10159 mode turned on.
10160
10161 2009-06-23 DJ Delorie <dj@redhat.com>
10162
10163 Add MeP port.
10164 * config.host: Add mep support.
10165
10166 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10167
10168 * config.host: Add i386/${host_address}/t-fprules-softfp and
10169 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10170
10171 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10172 for mingw targets.
10173 * config/i386/64/_multc3.c: Likewise.
10174 * config/i386/64/_powitf2.c: Likewise.
10175 * config/i386/64/eqtf2.c: Likewise.
10176 * config/i386/64/getf2.c: Likewise.
10177 * config/i386/64/letf2.c: Likewise.
10178 * config/i386/64/letf2.c: Likewise.
10179 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10180 unsigned long long for x64 mingw targets.
10181 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10182 (_FP_I_TYPE): Define as long long for x64 mingw target.
10183
10184 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10185
10186 * config.host (vax-*-linux*): New.
10187
10188 2009-05-31 Anthony Green <green@moxielogic.com>
10189
10190 * config.host: Add moxie support.
10191 * config/moxie/t-moxie: New file.
10192
10193 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10194
10195 * config.host: Add i386/${host_address}/t-fprules-softfp and
10196 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10197
10198 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10199
10200 * config.host: Add i386/${host_address}/t-fprules-softfp to
10201 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10202
10203 2009-04-09 Nick Clifton <nickc@redhat.com>
10204
10205 * config/ia64/tf-signs.c: Change copyright header to refer to
10206 version 3 of the GNU General Public License with version 3.1
10207 of the GCC Runtime Library Exception and to point readers at
10208 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10209 web page.
10210 * config/i386/32/tf-signs.c: Likewise.
10211 * config/libbid/_addsub_dd.c: Likewise.
10212 * config/libbid/_addsub_sd.c: Likewise.
10213 * config/libbid/_addsub_td.c: Likewise.
10214 * config/libbid/_dd_to_df.c: Likewise.
10215 * config/libbid/_dd_to_di.c: Likewise.
10216 * config/libbid/_dd_to_sd.c: Likewise.
10217 * config/libbid/_dd_to_sf.c: Likewise.
10218 * config/libbid/_dd_to_si.c: Likewise.
10219 * config/libbid/_dd_to_td.c: Likewise.
10220 * config/libbid/_dd_to_tf.c: Likewise.
10221 * config/libbid/_dd_to_udi.c: Likewise.
10222 * config/libbid/_dd_to_usi.c: Likewise.
10223 * config/libbid/_dd_to_xf.c: Likewise.
10224 * config/libbid/_df_to_dd.c: Likewise.
10225 * config/libbid/_df_to_sd.c: Likewise.
10226 * config/libbid/_df_to_td.c: Likewise.
10227 * config/libbid/_di_to_dd.c: Likewise.
10228 * config/libbid/_di_to_sd.c: Likewise.
10229 * config/libbid/_di_to_td.c: Likewise.
10230 * config/libbid/_div_dd.c: Likewise.
10231 * config/libbid/_div_sd.c: Likewise.
10232 * config/libbid/_div_td.c: Likewise.
10233 * config/libbid/_eq_dd.c: Likewise.
10234 * config/libbid/_eq_sd.c: Likewise.
10235 * config/libbid/_eq_td.c: Likewise.
10236 * config/libbid/_ge_dd.c: Likewise.
10237 * config/libbid/_ge_sd.c: Likewise.
10238 * config/libbid/_ge_td.c: Likewise.
10239 * config/libbid/_gt_dd.c: Likewise.
10240 * config/libbid/_gt_sd.c: Likewise.
10241 * config/libbid/_gt_td.c: Likewise.
10242 * config/libbid/_isinfd128.c: Likewise.
10243 * config/libbid/_isinfd32.c: Likewise.
10244 * config/libbid/_isinfd64.c: Likewise.
10245 * config/libbid/_le_dd.c: Likewise.
10246 * config/libbid/_le_sd.c: Likewise.
10247 * config/libbid/_le_td.c: Likewise.
10248 * config/libbid/_lt_dd.c: Likewise.
10249 * config/libbid/_lt_sd.c: Likewise.
10250 * config/libbid/_lt_td.c: Likewise.
10251 * config/libbid/_mul_dd.c: Likewise.
10252 * config/libbid/_mul_sd.c: Likewise.
10253 * config/libbid/_mul_td.c: Likewise.
10254 * config/libbid/_ne_dd.c: Likewise.
10255 * config/libbid/_ne_sd.c: Likewise.
10256 * config/libbid/_ne_td.c: Likewise.
10257 * config/libbid/_sd_to_dd.c: Likewise.
10258 * config/libbid/_sd_to_df.c: Likewise.
10259 * config/libbid/_sd_to_di.c: Likewise.
10260 * config/libbid/_sd_to_sf.c: Likewise.
10261 * config/libbid/_sd_to_si.c: Likewise.
10262 * config/libbid/_sd_to_td.c: Likewise.
10263 * config/libbid/_sd_to_tf.c: Likewise.
10264 * config/libbid/_sd_to_udi.c: Likewise.
10265 * config/libbid/_sd_to_usi.c: Likewise.
10266 * config/libbid/_sd_to_xf.c: Likewise.
10267 * config/libbid/_sf_to_dd.c: Likewise.
10268 * config/libbid/_sf_to_sd.c: Likewise.
10269 * config/libbid/_sf_to_td.c: Likewise.
10270 * config/libbid/_si_to_dd.c: Likewise.
10271 * config/libbid/_si_to_sd.c: Likewise.
10272 * config/libbid/_si_to_td.c: Likewise.
10273 * config/libbid/_td_to_dd.c: Likewise.
10274 * config/libbid/_td_to_df.c: Likewise.
10275 * config/libbid/_td_to_di.c: Likewise.
10276 * config/libbid/_td_to_sd.c: Likewise.
10277 * config/libbid/_td_to_sf.c: Likewise.
10278 * config/libbid/_td_to_si.c: Likewise.
10279 * config/libbid/_td_to_tf.c: Likewise.
10280 * config/libbid/_td_to_udi.c: Likewise.
10281 * config/libbid/_td_to_usi.c: Likewise.
10282 * config/libbid/_td_to_xf.c: Likewise.
10283 * config/libbid/_tf_to_dd.c: Likewise.
10284 * config/libbid/_tf_to_sd.c: Likewise.
10285 * config/libbid/_tf_to_td.c: Likewise.
10286 * config/libbid/_udi_to_dd.c: Likewise.
10287 * config/libbid/_udi_to_sd.c: Likewise.
10288 * config/libbid/_udi_to_td.c: Likewise.
10289 * config/libbid/_unord_dd.c: Likewise.
10290 * config/libbid/_unord_sd.c: Likewise.
10291 * config/libbid/_unord_td.c: Likewise.
10292 * config/libbid/_usi_to_dd.c: Likewise.
10293 * config/libbid/_usi_to_sd.c: Likewise.
10294 * config/libbid/_usi_to_td.c: Likewise.
10295 * config/libbid/_xf_to_dd.c: Likewise.
10296 * config/libbid/_xf_to_sd.c: Likewise.
10297 * config/libbid/_xf_to_td.c: Likewise.
10298 * config/libbid/bid128.c: Likewise.
10299 * config/libbid/bid128_2_str.h: Likewise.
10300 * config/libbid/bid128_2_str_macros.h: Likewise.
10301 * config/libbid/bid128_2_str_tables.c: Likewise.
10302 * config/libbid/bid128_add.c: Likewise.
10303 * config/libbid/bid128_compare.c: Likewise.
10304 * config/libbid/bid128_div.c: Likewise.
10305 * config/libbid/bid128_fma.c: Likewise.
10306 * config/libbid/bid128_logb.c: Likewise.
10307 * config/libbid/bid128_minmax.c: Likewise.
10308 * config/libbid/bid128_mul.c: Likewise.
10309 * config/libbid/bid128_next.c: Likewise.
10310 * config/libbid/bid128_noncomp.c: Likewise.
10311 * config/libbid/bid128_quantize.c: Likewise.
10312 * config/libbid/bid128_rem.c: Likewise.
10313 * config/libbid/bid128_round_integral.c: Likewise.
10314 * config/libbid/bid128_scalb.c: Likewise.
10315 * config/libbid/bid128_sqrt.c: Likewise.
10316 * config/libbid/bid128_string.c: Likewise.
10317 * config/libbid/bid128_to_int16.c: Likewise.
10318 * config/libbid/bid128_to_int32.c: Likewise.
10319 * config/libbid/bid128_to_int64.c: Likewise.
10320 * config/libbid/bid128_to_int8.c: Likewise.
10321 * config/libbid/bid128_to_uint16.c: Likewise.
10322 * config/libbid/bid128_to_uint32.c: Likewise.
10323 * config/libbid/bid128_to_uint64.c: Likewise.
10324 * config/libbid/bid128_to_uint8.c: Likewise.
10325 * config/libbid/bid32_to_bid128.c: Likewise.
10326 * config/libbid/bid32_to_bid64.c: Likewise.
10327 * config/libbid/bid64_add.c: Likewise.
10328 * config/libbid/bid64_compare.c: Likewise.
10329 * config/libbid/bid64_div.c: Likewise.
10330 * config/libbid/bid64_fma.c: Likewise.
10331 * config/libbid/bid64_logb.c: Likewise.
10332 * config/libbid/bid64_minmax.c: Likewise.
10333 * config/libbid/bid64_mul.c: Likewise.
10334 * config/libbid/bid64_next.c: Likewise.
10335 * config/libbid/bid64_noncomp.c: Likewise.
10336 * config/libbid/bid64_quantize.c: Likewise.
10337 * config/libbid/bid64_rem.c: Likewise.
10338 * config/libbid/bid64_round_integral.c: Likewise.
10339 * config/libbid/bid64_scalb.c: Likewise.
10340 * config/libbid/bid64_sqrt.c: Likewise.
10341 * config/libbid/bid64_string.c: Likewise.
10342 * config/libbid/bid64_to_bid128.c: Likewise.
10343 * config/libbid/bid64_to_int16.c: Likewise.
10344 * config/libbid/bid64_to_int32.c: Likewise.
10345 * config/libbid/bid64_to_int64.c: Likewise.
10346 * config/libbid/bid64_to_int8.c: Likewise.
10347 * config/libbid/bid64_to_uint16.c: Likewise.
10348 * config/libbid/bid64_to_uint32.c: Likewise.
10349 * config/libbid/bid64_to_uint64.c: Likewise.
10350 * config/libbid/bid64_to_uint8.c: Likewise.
10351 * config/libbid/bid_b2d.h: Likewise.
10352 * config/libbid/bid_binarydecimal.c: Likewise.
10353 * config/libbid/bid_conf.h: Likewise.
10354 * config/libbid/bid_convert_data.c: Likewise.
10355 * config/libbid/bid_decimal_data.c: Likewise.
10356 * config/libbid/bid_decimal_globals.c: Likewise.
10357 * config/libbid/bid_div_macros.h: Likewise.
10358 * config/libbid/bid_dpd.c: Likewise.
10359 * config/libbid/bid_flag_operations.c: Likewise.
10360 * config/libbid/bid_from_int.c: Likewise.
10361 * config/libbid/bid_functions.h: Likewise.
10362 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10363 * config/libbid/bid_inline_add.h: Likewise.
10364 * config/libbid/bid_internal.h: Likewise.
10365 * config/libbid/bid_round.c: Likewise.
10366 * config/libbid/bid_sqrt_macros.h: Likewise.
10367
10368 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10369
10370 * Makefile.in: Change copyright header to refer to version
10371 3 of the GNU General Public License and to point readers at the
10372 COPYING3 file and the FSF's license web page.
10373 * config.host: Likewise.
10374
10375 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10376
10377 * config.host: Reorder and merge to match config.gcc change.
10378
10379 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10380
10381 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10382
10383 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10384
10385 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10386 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10387 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10388 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10389
10390 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10391
10392 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10393 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10394
10395 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10396
10397 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10398 ia64/t-softfp-compat to tmake_file.
10399
10400 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10401
10402 * config/ia64/__divxf3.asm: New.
10403 * config/ia64/_fixtfdi.asm: Likewise.
10404 * config/ia64/_fixunstfdi.asm: Likewise.
10405 * config/ia64/_floatditf.asm: Likewise.
10406 * config/ia64/t-fprules-softfp: Likewise.
10407 * config/ia64/t-softfp-compat: Likewise.
10408 * config/ia64/tf-signs.c: Likewise.
10409
10410 2009-01-18 Ben Elliston <bje@au.ibm.com>
10411
10412 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10413
10414 2009-01-16 Ben Elliston <bje@au.ibm.com>
10415
10416 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10417 to tmake_file.
10418
10419 2009-01-13 Ben Elliston <bje@au.ibm.com>
10420
10421 * config/t-softfp: New file.
10422 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10423 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10424
10425 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10426
10427 * config.host: Add m32r*-*-rtems*.
10428
10429 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10430
10431 * config.host: Add m32c*-*-rtems*.
10432
10433 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10434
10435 PR bootstrap/33100
10436 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10437 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10438 * configure: Regenerate.
10439 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10440 tmake_file here from gcc/config.gcc.
10441 Move extra_parts here from gcc/config.gcc.
10442 * config/i386/t-sol2: Move here from gcc/config/i386.
10443 Use gcc_srcdir instead of srcdir.
10444
10445 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10446
10447 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10448 case.
10449
10450 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10451
10452 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10453
10454 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10455
10456 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10457
10458 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10459
10460 Add picoChip port.
10461 * config.host: Add picochip-*-*.
10462
10463 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10464
10465 * config.host: Match more processor names for Xtensa.
10466
10467 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10468
10469 * config/i386/64/t-softfp-compat: Update comments.
10470
10471 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10472
10473 * config/i386/64/_divtc3-compat.c: Moved to ...
10474 * config/i386/64/_divtc3.c: Here.
10475
10476 * config/i386/64/_multc3-compat.c: Moved to ...
10477 * config/i386/64/_multc3.c: Here.
10478
10479 * config/i386/64/_powitf2-compat.c: Moved to ...
10480 * config/i386/64/_powitf2.c: Here.
10481
10482 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10483 .c suffix instead of -compat.c.
10484
10485 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10486
10487 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10488 (_FP_MUL_MEAT_D): Ditto.
10489 (_FP_DIV_MEAT_S): Ditto.
10490 (_FP_DIV_MEAT_D): Ditto.
10491
10492 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10493
10494 * Makefile.in: Add support for __sync_* libgcc functions.
10495
10496 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10497
10498 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10499
10500 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10501
10502 PR boostrap/36702
10503 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10504 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10505
10506 * config/i386/64/t-fprules-softfp: Moved to ...
10507 * config/i386/64/t-softfp-compat: This. New.
10508
10509 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10510
10511 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10512 Initialize f with 0.0.
10513
10514 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10515
10516 PR target/36669
10517 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10518
10519 * config/i386/64/_divtc3-compat.c: New.
10520 * config/i386/64/_multc3-compat.c: Likewise.
10521 * config/i386/64/_powitf2-compat.c: Likewise.
10522 * config/i386/64/eqtf2.c: Likewise.
10523 * config/i386/64/getf2.c: Likewise.
10524 * config/i386/64/letf2.c: Likewise.
10525 * config/i386/64/t-fprules-softfp: Likewise.
10526
10527 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10528
10529 * config.host: Add i386/${host_address}/t-fprules-softfp to
10530 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10531 i[34567]86-*-linux*, x86_64-*-linux*.
10532
10533 * configure.ac: Set host_address to 64 or 32 for x86.
10534 * configure: Regenerated.
10535
10536 * Makefile.in (config.status): Also depend on
10537 $(srcdir)/config.host.
10538
10539 * config/i386/32/t-fprules-softfp: New.
10540 * config/i386/32/tf-signs.c: Likewise.
10541
10542 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10543
10544 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10545 Uros Bizjak <ubizjak@gmail.com>
10546
10547 * config/i386/32/sfp-machine.h: New.
10548
10549 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10550
10551 * config/rs6000/t-ppccomm: Remove rules that conflict with
10552 auto-generated rules.
10553
10554 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10555
10556 * configure.ac: sinclude override.m4.
10557 * configure: Regenerate.
10558
10559 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10560
10561 * configure: Regenerate.
10562
10563 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10564
10565 * Makefile.in (DECNUMINC): Remove
10566 -I$(MULTIBUILDTOP)../../libdecnumber.
10567 * gstdint.h: New.
10568
10569 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10570
10571 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10572 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10573 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10574 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10575 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10576 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10577 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10578 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10579 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10580 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10581 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10582 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10583 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10584 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10585
10586 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10587
10588 * config.host (sh2[lbe]*-*-linux*): Allow target.
10589
10590 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10591
10592 * config/rs6000/t-ppccomm: Add build rules for new files.
10593 (LIB2ADD_ST): New variable.
10594
10595 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10596
10597 PR target/34210
10598 PR target/35508
10599 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10600 * config/t-avr: New file. Build 16bit libgcc functions.
10601
10602 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10603
10604 PR target/35401
10605 * config/t-slibgcc-darwin: Make install-leaf dependent on
10606 install-darwin-libgcc-stubs instead of install.
10607
10608 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10609
10610 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10611 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10612 sh-*-rtemscoff*): Remove cases.
10613
10614 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10615
10616 * Makefile.in (all): Use install-leaf rather than install.
10617 (install): Split most of the rule into...
10618 (install-leaf): ...this new one.
10619
10620 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10621 Paolo Bonzini <bonzini@gnu.org>
10622
10623 PR target/30572
10624 * Makefile.in: Use @shlib_slibdir@ substitution to get
10625 correct install name on darwin.
10626 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10627
10628 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10629
10630 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10631 cris-*-elf and cris-*-none.
10632 (crisv32-*-linux*): Similar, as cris-*-linux*.
10633
10634 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10635
10636 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10637
10638 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10639
10640 PR regression/33926
10641 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10642 * configure: Regenerated.
10643
10644 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10645
10646 * Makefile.in (dfp-filenames): Replace decimal_globals,
10647 decimal_data, binarydecimal and convert_data with
10648 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10649 and bid_convert_data, respectively.
10650
10651 2007-09-17 Chao-ying Fu <fu@mips.com>
10652 Nigel Stephens <nigel@mips.com>
10653
10654 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10655 * Makefile.in (fixed_point): Define.
10656 Check if fixed_point is yes to build support functions.
10657 * configure.ac: Check for fixed_point support.
10658 * configure: Regenerated.
10659 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10660 funcs, modes, from, to.
10661
10662 2007-09-11 Janis Johnson <janis187@us.ibm.com
10663
10664 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10665
10666 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10667
10668 * Makefile.in (dfp-filenames): Remove decUtility, add
10669 decDouble, decPacked, decQuad, decSingle.
10670
10671 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10672
10673 * config.host : Add x86_64-elf target.
10674
10675 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10676
10677 * configure.ac (set_have_cc_tls): Add a missing =.
10678 * configure: Regenerated.
10679
10680 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10681
10682 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10683 and x86_64-*-linux*.
10684
10685 * config/t-tls: New file.
10686
10687 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10688
10689 * configure.ac: Include ../config/enable.m4 and
10690 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10691 supports TLS and substitute set_have_cc_tls.
10692 * configure: Regenerated.
10693
10694 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10695
10696 * Makefile.in: Use libbid for DFP when BID is enabled.
10697
10698 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10699
10700 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10701 extra_parts. Add config/i386/t-cygming to tmake_file.
10702 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10703
10704 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10705 Danny Smith <dannysmith@users.sourceforge.net>
10706
10707 PR target/29498
10708 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10709 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10710 * config/i386/t-crtfm: Compile crtfastmath.o with
10711 -minline-all-stringops.
10712
10713 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10714
10715 * config.host (sparc-wrs-vxworks): New target.
10716
10717 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10718
10719 * config.host: Recognize fido.
10720
10721 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10722
10723 * configure: Check host, not target, for decimal float support.
10724
10725 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10726
10727 * config/i386/t-crtpc: New file.
10728 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10729 (x86_64-*-linux*): Ditto.
10730
10731 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10732
10733 * config.host (x86_64-*-mingw*): New target.
10734
10735 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10736 H.J. Lu <hongjiu.lu@intel.com>
10737
10738 * Makefile.in (enable_decimal_float): New.
10739 (DECNUMINC): Add
10740 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10741 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10742 (decbits-filenames): This.
10743 (decbits-objects): New.
10744 (libgcc-objects): Add $(decbits-objects).
10745
10746 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10747 Substitute enable_decimal_float.
10748 * configure: Regenerated.
10749
10750 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10751
10752 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10753
10754 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10755
10756 * Makefile.in (install-info): New dummy target.
10757
10758 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10759
10760 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10761
10762 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10763
10764 * Makefile.in: Add install-html and install-pdf dummy
10765 targets.
10766
10767 2007-02-05 Roger Sayle <roger@eyesopen.com>
10768 Daniel Jacobowitz <dan@codesourcery.com>
10769
10770 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10771 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10772 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10773
10774 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10775
10776 * Makefile.in (dec-filenames): Add decExcept.
10777
10778 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10779
10780 PR bootstrap/30469
10781 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10782 -fprofile-use.
10783
10784 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10785
10786 * configure.ac: Add --enable-version-specific-runtime-libs.
10787 Correct $slibdir default.
10788 * configure: Regenerated.
10789
10790 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10791
10792 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10793
10794 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10795
10796 PR target/30519
10797 * config.host (alpha*-*-linux*): Set extra_parts.
10798
10799 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10800
10801 * config/sh/t-linux: New.
10802 * config.host (sh*-*-linux*): Set tmake_file.
10803
10804 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10805
10806 * Makefile.in (install): Handle multilibs.
10807
10808 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10809
10810 * Makefile.in: Added .PHONY entry for documentation targets.
10811
10812 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10813
10814 * Makefile.in: Add empty info, html, dvi, pdf targets.
10815
10816 2007-01-04 Mike Stump <mrs@apple.com>
10817
10818 * Makefile.in (MAKEINFO): Remove.
10819 (PERL): Likewise.
10820
10821 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10822
10823 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10824 * configure: Regenerate.
10825 * Makefile.in (host_subdir): Substitute it.
10826 (gcc_objdir): Use it.
10827
10828 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10829
10830 * config.host (ia64*-*-linux*): Set tmake_file.
10831
10832 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10833
10834 * Makefile.in (version): Define.
10835
10836 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10837 Paolo Bonzini <bonzini@gnu.org>
10838
10839 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10840 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10841 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10842 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10843 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10844 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10845 * configure: Generated.
10846 \f
10847 Copyright (C) 2007-2020 Free Software Foundation, Inc.
10848
10849 Copying and distribution of this file, with or without modification,
10850 are permitted in any medium without royalty provided the copyright
10851 notice and this notice are preserved.