gcov-tool: fix merge operation for summary
[gcc.git] / libgcc / ChangeLog
1 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2
3 PR target/95259
4 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
5 "common/config/i386/i386-cpuinfo.h" and
6 "common/config/i386/cpuinfo.h".
7 (__cpu_features2): Changed to array.
8 (get_amd_cpu): Removed.
9 (get_intel_cpu): Likewise.
10 (get_available_features): Likewise.
11 (__cpu_indicator_init): Call cpu_indicator_init.
12 * config/i386/cpuinfo.h: Removed.
13
14 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
15
16 * Makefile.in: Remove uses of empty.mk. Use -include.
17 * config/avr/t-avr: Use -include.
18 * empty.mk: Delete.
19
20 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
21
22 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
23 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
24 and 64 bit with -maix64.
25 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
26 Build and install AIX-style FAT libraries.
27
28 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
29
30 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
31 'i386/gnu-unwind.h'
32 * config/i386/gnu-unwind.h: New file.
33
34 2020-06-17 Martin Liska <mliska@suse.cz>
35
36 * libgcov-util.c (read_gcda_finalize): Remove const operator.
37 (merge_wrapper): Add both counts and use them properly.
38 (topn_to_memory_representation): New function.
39 (gcov_merge): Covert on disk representation to in memory
40 representation.
41 * libgcov.h: Remove const operator.
42
43 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
44
45 * configure: Regenerate.
46 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
47 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
48
49 2020-06-09 Martin Liska <mliska@suse.cz>
50
51 PR gcov-profile/95494
52 * libgcov-driver.c (write_top_counters): Cast first to
53 intptr_t as sizeof(*) != sizeof(gcov_type).
54 * libgcov.h (gcov_counter_set_if_null): Remove.
55 (gcov_topn_add_value): Cast first to intptr_t and update
56 linked list directly.
57
58 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
59
60 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
61 with uw_install_context_1.
62
63 2020-06-04 Andreas Schwab <schwab@suse.de>
64
65 PR target/59230
66 PR libfortran/59227
67 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
68 soft-fp/divtf3.c.
69 (LIB2ADD): Add config/ia64/divtf3.c.
70 * config/ia64/divtf3.c: New file.
71
72 2020-06-03 Martin Liska <mliska@suse.cz>
73
74 PR gcov-profile/95480
75 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
76 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
77 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
78 (gcov_counter_set_if_null): Likewise.
79
80 2020-06-02 Jim Wilson <jimw@sifive.com>
81
82 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
83 to bgtz.
84
85 2020-06-02 Martin Liska <mliska@suse.cz>
86
87 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
88 of xmalloc.
89
90 2020-06-02 Martin Liska <mliska@suse.cz>
91
92 * libgcov-driver.c (prune_topn_counter): Remove.
93 (prune_counters): Likewise.
94 (merge_one_data): Special case TOP N counters
95 as they have variable length.
96 (write_top_counters): New.
97 (write_one_data): Special case TOP N.
98 (dump_one_gcov): Do not prune TOP N counters.
99 * libgcov-merge.c (merge_topn_values_set): Remove.
100 (__gcov_merge_topn): Use gcov_topn_add_value.
101 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
102 Likewise here.
103 * libgcov.h (gcov_counter_add): New.
104 (gcov_counter_set_if_null): Likewise.
105 (gcov_topn_add_value): New.
106
107 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
108
109 * config/i386/sfp-exceptions.c (struct fenv):
110 Add __attribute__ ((gcc_struct)).
111
112 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
113
114 PR bootstrap/95413
115 * configure: Regenerated.
116
117 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
118
119 PR gcov-profile/95332
120 * libgcov-util.c (read_gcda_file): Call gcov_magic.
121 * libgcov.h (gcov_magic): Disable GCC poison.
122
123 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
124
125 PR target/95212
126 * config/i386/cpuinfo.h (processor_features): Move
127 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
128
129 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
130
131 PR target/91695
132 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
133 check.
134
135 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
136
137 PR target/95212
138 PR target/95220
139 * config/i386/cpuinfo.c (get_available_features): Fix
140 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
141 * config/i386/cpuinfo.h (processor_features): Add
142 FEATURE_AVX512VP2INTERSECT.
143
144 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
145
146 PR bootstrap/95147
147 * configure: Regenerated.
148
149 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
150
151 * configure: Regenerated.
152
153 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
154
155 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
156 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
157
158 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
159
160 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
161 (__math_force_eval_div): New define.
162 (__sfp_handle_exceptions): Use __math_force_eval_div to use
163 generic division to generate INVALID, DIVZERO and INEXACT
164 exceptions.
165
166 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
167
168 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
169 instead of getauxval.
170 (AT_HWCAP): Define.
171 (HWCAP_ATOMICS): Define.
172 Guard detection on __gnu_linux__.
173
174 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
175
176 * config.host: Delete changes meant for a private branch.
177 * config/rs6000/t-float128: Likewise.
178 * configure.ac: Likewise.
179 * configure: Likewise.
180
181 2020-05-05 Martin Liska <mliska@suse.cz>
182
183 PR gcov-profile/93623
184 * Makefile.in: Remove __gcov_flush.
185 * gcov.h (__gcov_flush): Remove.
186 * libgcov-interface.c (__gcov_flush): Remove.
187 (init_mx): Use renamed mutex.
188 (__gcov_lock): Likewise.
189 (__gcov_unlock): Likewise.
190 (__gcov_fork): Likewise.
191 (__gcov_flush): Remove.
192
193 2020-05-05 Martin Liska <mliska@suse.cz>
194
195 PR gcov-profile/93623
196 * libgcov-interface.c (__gcov_fork): Do not flush
197 and reset only in child process.
198 (__gcov_execl): Dump counters only and reset them
199 only if exec* fails.
200 (__gcov_execlp): Likewise.
201 (__gcov_execle): Likewise.
202 (__gcov_execv): Likewise.
203 (__gcov_execvp): Likewise.
204 (__gcov_execve): Likewise.
205
206 2020-05-05 Martin Liska <mliska@suse.cz>
207
208 PR gcov-profile/93623
209 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
210 * libgcov-interface.c (ALIAS_void_fn): Remove.
211 (__gcov_lock): New.
212 (__gcov_unlock): New.
213 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
214 (__gcov_reset): Likewise.
215 (__gcov_dump): Likewise.
216 * libgcov.h (__gcov_lock): New declaration.
217 (__gcov_unlock): Likewise.
218
219 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
220
221 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
222 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
223 generic division to generate INVALID and DIVZERO exceptions.
224
225 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
226
227 * config/rs6000/crtresfpr.S: Use .machine ppc.
228 * config/rs6000/crtresxfpr.S: Likewise.
229 * config/rs6000/crtsavfpr.S: Likewise.
230
231 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
232
233 PR target/94514
234 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
235 Update context->flags accroding to the frame state.
236
237 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
238
239 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
240 Remove unneeded assignments to volatile memory.
241
242 2020-04-15 Jakub Jelinek <jakub@redhat.com>
243
244 PR target/93053
245 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
246 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
247 is not defined, use just .arch armv8-a.
248 (B, M, N, OPN): Define.
249 (COMMENT): New .macro.
250 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
251 defined. Otherwise, move the operands right after the glue? and
252 comment out operands where the macros are used.
253 * configure: Regenerated.
254 * config.in: Regenerated.
255
256 2020-04-07 Ian Lance Taylor <iant@golang.org>
257
258 PR libgcc/94513
259 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
260 syscall instead.
261
262 2020-04-04 Ian Lance Taylor <iant@golang.org>
263
264 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
265
266 2020-04-03 Ian Lance Taylor <iant@golang.org>
267
268 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
269 than mmap/munmap, to avoid hooks.
270
271 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
272
273 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
274 (TPFRA_OFFSET): Macros removed.
275 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
276 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
277 (PG3_SKIPPING_OFFSET): New macros.
278 (__isPATrange): Use cinfc_fast for the check.
279 (__isSkipResetAddr): New function.
280 (s390_fallback_frame_state): Check for skip trace addresses. Use
281 either ICST_CRET or ICST_SRET to calculate return address
282 location.
283 (__tpf_eh_return): Handle skip trace addresses.
284
285 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
286
287 PR target/94220
288 * config/arm/lib1funcs.asm (COND): Use a single definition for
289 unified syntax.
290 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
291 (aeabi_idivmod): Likewise.
292 (divsi3_skip_div0_test): Likewise.
293
294 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
295
296 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
297
298 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
299
300 * config.host: Include the new makefile fragment.
301 * config/s390/t-tpf: New file.
302
303 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
304
305 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
306 syntax.
307 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
308 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
309 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
310 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
311 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
312 syntax.
313 (divsi3, modsi3): Likewise.
314 (clzdi2, ctzsi2): Likewise.
315 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
316 unified syntax.
317 (UNWIND_WRAPPER): Likewise.
318
319 2020-03-02 Martin Liska <mliska@suse.cz>
320
321 * libgcov-interface.c: Remove duplicate
322 declaration of __gcov_flush_mx.
323
324 2020-02-18 Martin Liska <mliska@suse.cz>
325
326 PR ipa/92924
327 * libgcov-merge.c (merge_topn_values_set): Record
328 when a TOP N counter becomes invalid. When merging
329 remove a smallest value if the space is needed.
330
331 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
332
333 PR libstdc++/79193
334 PR libstdc++/88999
335
336 * configure: Regenerated.
337
338 2020-02-10 Jeff Law <law@redhat.com>
339
340 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
341 sections.
342 * config/frv/frvend.c: Similarly.
343
344 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
345
346 PR libgcc/85334
347 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
348 New.
349
350 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
351
352 PR target/93615
353 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
354 _Unwind_gnu_Find_got.
355 * unwind-pe.h: Likewise.
356
357 2020-02-07 Jakub Jelinek <jakub@redhat.com>
358
359 PR target/93615
360 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
361 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
362 trailing :s in asm. Formatting fixes.
363 (_Unwind_decode_typeinfo_ptr): Adjust caller.
364
365 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
366
367 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
368
369 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
370 * config/nios2-elf-lib.h: New.
371 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
372 code for finding GOT base for nios2.
373
374 2020-01-27 Martin Liska <mliska@suse.cz>
375
376 PR gcov-profile/93403
377 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
378 Call __gcov_indirect_call_profiler_body.
379 (__gcov_indirect_call_profiler_body): New.
380 (__gcov_indirect_call_profiler_v4_atomic): New.
381 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
382 New declaration.
383
384 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
385
386 * config/arc/crti.S: Add RF16 object attribute.
387 * config/arc/crtn.S: Likewise.
388 * config/arc/crttls.S: Likewise.
389 * config/arc/lib1funcs.S: Likewise.
390 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
391 * config/arc/lib2funcs.c: New file.
392 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
393
394 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
395
396 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
397 * configure.ac: Handle `--with-toolexeclibdir='.
398 * configure: Regenerate.
399
400 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
401
402 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
403
404 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
405
406 * config/mips/gnustack.h: New file.
407 * config/mips/crti.S: Include gnustack.h.
408 * config/mips/crtn.S: Likewise.
409 * config/mips/mips16.S: Likewise.
410 * config/mips/vr4120-div.S: Likewise.
411
412 2020-01-23 Martin Liska <mliska@suse.cz>
413
414 * libgcov-driver.c (prune_topn_counter): Remove
415 check for -1 as we only prune run-time counters
416 that do not generate an invalid state.
417
418 2020-01-22 Martin Liska <mliska@suse.cz>
419
420 PR tree-optimization/92924
421 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
422 try to find an existing value, then find an empty slot
423 if not found.
424
425 2020-01-22 Martin Liska <mliska@suse.cz>
426
427 PR tree-optimization/92924
428 * libgcov-driver.c (prune_topn_counter): New.
429 (prune_counters): Likewise.
430 (dump_one_gcov): Prune a run-time counter.
431 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
432 For a known value, add GCOV_TOPN_VALUES to value.
433 Otherwise, decrement all counters by one.
434
435 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
436
437 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
438
439 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
440
441 PR libgcc/92988
442 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
443 DEFAULT_USE_CXA_ATEXIT is true.
444
445 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
446 Thomas Preud'homme <thomas.preudhomme@arm.com>
447
448 * config/arm/t-arm: Check return value of gcc rather than lack of
449 output.
450
451 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
452
453 * config/avr/lib1funcs.S (skip): Simplify.
454
455 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
456
457 * config/gcn/atomic.c: Remove include of stdint.h.
458 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
459 __UINTPTR_TYPE__.
460
461 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
462
463 * config/gcn/atomic.c: New.
464 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
465
466 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
467
468 Implement 64-bit double functions.
469
470 PR target/92055
471 * config.host (tmake_file) [target=avr]: Add t-libf7,
472 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
473 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
474 depending on sizeof (double) or sizeof (long double).
475 * config/avr/libf7: New folder.
476
477 2020-01-05 Olivier Hainque <hainque@adacore.com>
478
479 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
480 by IN_LIBGCC2.
481
482 2020-01-01 Jakub Jelinek <jakub@redhat.com>
483
484 Update copyright years.
485
486 2019-12-30 Olivier Hainque <hainque@adacore.com>
487
488 * config/gthr-vxworks.h: Use _vxworks-versions.h.
489 * config/gthr-vxworks-tls.c: Likewise.
490
491 2019-12-30 Olivier Hainque <hainque@adacore.com>
492
493 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
494 standard zero-initializer syntax.
495
496 2019-12-30 Olivier Hainque <hainque@adacore.com>
497
498 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
499 reference to the internal VX_GET_TLS_DATA interface.
500
501 2019-12-30 Olivier Hainque <hainque@adacore.com>
502
503 * config/vxcrtstuff.c: Fix incorrect spelling of
504 USE_INITFINI_ARRAY in guard.
505
506 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
507
508 * config.host: s/msp430*-*-elf/msp430-*-elf*.
509 Override default "extra_parts" variable.
510 * configure: Regenerate.
511 * configure.ac: Disable TM clone registry by default for
512 msp430-elfbare.
513
514 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
515
516 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
517 "extra_parts".
518 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
519
520 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
521
522 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
523 true.
524
525 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
526
527 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
528 defined instead of its value.
529
530 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
531
532 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
533 if it will have contents.
534
535 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
536
537 PR target/92055
538 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
539
540 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
541
542 PR libgcc/91737
543 * config.host: Add t-gthr-noweak on *-*-musl*.
544 * config/t-gthr-noweak: New file.
545
546 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
547
548 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
549 volatile void *. Remove trap check.
550 (__kernel_cmpxchg2): Likewise.
551 (FETCH_AND_OP_2): Adjust operand types.
552 (OP_AND_FETCH_2): Likewise.
553 (FETCH_AND_OP_WORD): Likewise.
554 (OP_AND_FETCH_WORD): Likewise.
555 (COMPARE_AND_SWAP_2): Likewise.
556 (__sync_val_compare_and_swap_4): Likewise.
557 (__sync_bool_compare_and_swap_4): Likewise.
558 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
559 (__sync_lock_test_and_set_4): Likewise.
560 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
561 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
562 for release.
563 (__sync_lock_release_8): Remove.
564
565 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
566
567 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
568 of __sigset_t.
569
570 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
571 Doug Rupp <rupp@adacore.com>
572 Olivier Hainque <hainque@adacore.com>
573
574 * config.host: Collapse the arm-vxworks entries into
575 a single arm-wrs-vxworks7* one.
576 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
577 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
578 kernel modules, to be overriden by libstdc++ when we link with
579 it. Rely on externally provided __exidx_start/end.
580
581 2019-11-14 Doug Rupp <rupp@adacore.com>
582 Olivier Hainque <hainque@adacore.com>
583
584 * config.host: Handle aarch64*-wrs-vxworks7*.
585
586 2019-11-12 Olivier Hainque <hainque@adacore.com>
587
588 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
589 sources except the cxx0x support to LIB2ADDEH. We don't support
590 cxx0x on AE/653.
591 * config/t-vxworksae: New file.
592 * config.host: Handle *-*-vxworksae: Add the two aforementioned
593 Makefile fragment files at their expected position in the tmake_file
594 list, in accordance with what is done for other VxWorks variants.
595
596 2019-11-12 Corentin Gay <gay@adacore.com>
597 Jerome Lambourg <lambourg@adacore.com>
598 Olivier Hainque <hainque@adacore.com>
599
600 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
601 sources to LIB2ADDEH.
602 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
603 * config/t-vxworks7: Likewise.
604
605 * config.host: Append a block at the end of the file to add the
606 t-gthr files to the tmake_file list for VxWorks after everything
607 else.
608
609 * config/vxlib.c: Rename as gthr-vxworks.c.
610 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
611
612 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
613 API and a basic error checking API, both internal. Simplify the
614 __gthread_once_t type definition and initializers. Add sections
615 for condition variables support and for the C++0x thread support,
616 conditioned against Vx653 for the latter.
617
618 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
619 implementation, leveraging the TAS internal API.
620 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
621 API, leveraging the general availability of TLS services in VxWorks7
622 post SR6xxx.
623 (__gthread_setspecific, __gthread_setspecific): Use it.
624 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
625 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
626 support based on VxWorks primitives.
627 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
628 based on VxWorks primitives.
629
630 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
631 Olivier Hainque <hainque@adacore.com>
632
633 * config/vxcrtstuff.c: New file.
634 * config/t-vxcrtstuff: New Makefile fragment.
635 * config.host: Append t-vxcrtstuff to the tmake_file list
636 on all VxWorks ports using dwarf for table based EH.
637
638 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
639
640 Support 64-bit double and 64-bit long double configurations.
641
642 PR target/92055
643 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
644 long double is a 32-bit type.
645 * config/avr/t-avrlibc: Copy double64 and long-double64
646 multilib(s) from the vanilla one.
647 * config/avr/t-copy-libgcc: New Makefile snip.
648
649 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
650
651 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
652 the target output object format is not ELF.
653 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
654
655 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
656
657 PR libgcc/78804
658 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
659 * fp-bit.c (pack_d, unpack_d): Remove special cases for
660 FLOAT_BIT_ORDER_MISMATCH.
661 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
662
663 2019-11-01 Jim Wilson <jimw@sifive.com>
664
665 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
666
667 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
668
669 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
670 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
671 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
672 Define symbols for 32-bit and f5series hardware multiply
673 register addresses.
674 Replace hard-coded register addresses with symbols.
675 Fix "_mspabi*" typo.
676 Fix whitespace.
677 * config/msp430/lib2mul.c: Add comment.
678
679 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
680
681 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
682 unsigned int. Adjust callers.
683 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
684 unsigned int *. Load relocation offset before function pointer.
685 Add barrier to ensure ordering.
686
687 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
688
689 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
690 Load PIC register after branch target. Fix white space.
691 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
692 implementations. Load PIC register after branch target. Don't
693 clobber function pointer when it points to function descriptor.
694 Use nullification instead of branch in LINUX implementation.
695
696 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
697
698 * config/pa/fptr.c: Disable -Warray-bounds warning.
699
700 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
701
702 * config.in, configure: Re-rebuild with stock autoconf 2.69,
703 not the ubuntu modified 2.69.
704
705 PR target/91833
706 * config/aarch64/lse-init.c: Include auto-target.h. Disable
707 initialization if !HAVE_SYS_AUXV_H.
708 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
709 * config.in, configure: Rebuild.
710
711 PR target/91834
712 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
713 overlap the inputs.
714
715 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
716
717 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
718 CTR_EL0.IDC and CTR_EL0.DIC.
719
720 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
721
722 Revert:
723 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
724 Mickaël Guêné <mickael.guene@st.com>
725
726 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
727 architecture.
728
729 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
730
731 * config/aarch64/lse-init.c: New file.
732 * config/aarch64/lse.S: New file.
733 * config/aarch64/t-lse: New file.
734 * config.host: Add t-lse to all aarch64 tuples.
735
736 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
737 Mickaël Guêné <mickael.guene@st.com>
738
739 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
740 architecture.
741
742 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
743 Mickaël Guêné <mickael.guene@st.com>
744
745 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
746 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
747 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
748 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
749 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
750 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
751 (__gnu_personality_sigframe_fdpic): New.
752 (get_eit_entry): Add FDPIC signal frame support.
753
754 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
755 Mickaël Guêné <mickael.guene@st.com>
756
757 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
758 (__kernel_dmb): Likewise.
759 (__fdpic_cmpxchg): New function.
760 (__fdpic_dmb): New function.
761 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
762 (gnu_Unwind_Find_got): New function.
763 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
764 * unwind-arm-common.inc (UCB_PR_GOT): New.
765 (funcdesc_t): New struct.
766 (get_eit_entry): Add FDPIC support.
767 (unwind_phase2): Likewise.
768 (unwind_phase2_forced): Likewise.
769 (__gnu_Unwind_RaiseException): Likewise.
770 (__gnu_Unwind_Resume): Likewise.
771 (__gnu_Unwind_Backtrace): Likewise.
772 * unwind-pe.h (read_encoded_value_with_base): Likewise.
773
774 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
775 Mickaël Guêné <mickael.guene@st.com>
776
777 * libgcc/crtstuff.c: Add support for FDPIC.
778
779 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
780
781 * config.host: Handle *-*-uclinuxfdpiceabi.
782
783 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
784
785 * config.host: Set cpu_type for bpf-*-* targets.
786 * config/bpf/t-bpf: Likewise.
787 * config/bpf/crtn.S: Likewise.
788 * config/bpf/crti.S: New file.
789
790 2019-09-06 Jim Wilson <jimw@sifive.com>
791
792 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
793 (riscv*-*-freebsd*): Likewise.
794
795 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
796
797 * config.host: Remove references to spu.
798 * config/spu/: Remove directory.
799
800 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
801
802 PR target/91306
803 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
804 element type, instead of "sizeof" the element type.
805 (__DTOR_LIST__): Likewise.
806 (__TMC_LIST__): Likewise.
807 (__do_global_dtors_aux_fini_array_entry): Likewise.
808 (__frame_dummy_init_array_entry): Likewise.
809 (__CTOR_END__): Likewise.
810 (__DTOR_END__): Likweise.
811 (__FRAME_END__): Likewise.
812 (__TMC_END__): Likewise.
813
814 2019-08-20 Lili Cui <lilicui@intel.com>
815
816 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
817 INTEL_COREI7_COOPERLAKE.
818
819 2019-07-31 Matt Thomas <matt@3am-software.com>
820 Nick Hudson <nick@nthcliff.demon.co.uk>
821 Matthew Green <mrg@eterna.com.au>
822 Maya Rashish <coypu@sdf.org>
823
824 * config.host (hppa*-*-netbsd*): New case.
825 * config/pa/t-netbsd: New file.
826
827 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
828
829 * config/arm/cmse.c (cmse_check_address_range): Add
830 warn_unused_result attribute.
831
832 2019-07-22 Martin Liska <mliska@suse.cz>
833
834 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
835 * config/pa/t-stublib: Likewise.
836
837 2019-07-22 Stafford Horne <shorne@gmail.com>
838
839 PR target/90362
840 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
841 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
842 instructions are not available on every processor. Change a
843 l.bnf to l.bf to fix logic issue.
844
845 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
846
847 * config.host: Remove reference to t-darwin8.
848
849 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
850
851 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
852 list.
853 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
854 mmacosx-version-min for crts to run across all system versions.
855 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
856 * config/t-darwin: Revise mmacosx-version-min for crts to run across
857 system versions >= 10.4.
858
859 2019-07-03 Martin Liska <mliska@suse.cz>
860
861 * Makefile.in: Use topn_values instead of one_value names.
862 * libgcov-merge.c (__gcov_merge_single): Move to ...
863 (__gcov_merge_topn): ... this.
864 (merge_single_value_set): Move to ...
865 (merge_topn_values_set): ... this.
866 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
867 ...
868 (__gcov_topn_values_profiler_body): ... this.
869 (__gcov_one_value_profiler_v2): Move to ...
870 (__gcov_topn_values_profiler): ... this.
871 (__gcov_one_value_profiler_v2_atomic): Move to ...
872 (__gcov_topn_values_profiler_atomic): ... this.
873 (__gcov_indirect_call_profiler_v4): Remove.
874 * libgcov-util.c (__gcov_single_counter_op): Move to ...
875 (__gcov_topn_counter_op): ... this.
876 * libgcov.h (L_gcov_merge_single): Remove.
877 (L_gcov_merge_topn): New.
878 (__gcov_merge_single): Remove.
879 (__gcov_merge_topn): New.
880 (__gcov_one_value_profiler_v2): Move to ..
881 (__gcov_topn_values_profiler): ... this.
882 (__gcov_one_value_profiler_v2_atomic): Move to ...
883 (__gcov_topn_values_profiler_atomic): ... this.
884
885 2019-07-03 Martin Liska <mliska@suse.cz>
886
887 * libgcov-merge.c (merge_single_value_set): Support N values.
888 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
889
890 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
891
892 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
893 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
894 * configure.ac: Add --disable-tm-clone-registry option.
895 * configure: Regenerate.
896
897 2019-06-27 Martin Liska <mliska@suse.cz>
898
899 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
900 dead assignments.
901 * libgcov-util.c: Likewise.
902
903 2019-06-27 Martin Liska <mliska@suse.cz>
904
905 * libgcov-util.c (gcov_profile_merge): Release allocated
906 memory.
907 (calculate_overlap): Likewise.
908
909 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
910
911 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
912 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
913 Build objects for the out of line save/restore register functions
914 so that they can be used for any supported Darwin version.
915 * config/t-darwin: Default the build Darwin version to Darwin8
916 (MacOS 10.4).
917
918 2019-06-25 Martin Liska <mliska@suse.cz>
919
920 * libgcov-driver-system.c (replace_filename_variables): Do not
921 call strlen with NULL argument.
922
923 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
924
925 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
926 * config/gcn/unwind-gcn.c: New file.
927
928 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
929 Andrew Stubbs <ams@codesourcery.com>
930
931 * configure: Regenerate.
932 * config/gcn/gthr-gcn.h: New.
933
934 2019-06-18 Tom de Vries <tdevries@suse.de>
935
936 * config/nvptx/crt0.c (__main): Declare.
937
938 2019-06-17 Matthew Green <mrg@eterna.com.au>
939 Maya Rashish <coypu@sdf.org>
940
941 * config.host (aarch64*-*-netbsd*): New case.
942
943 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
944
945 * config/msp430/slli.S (__mspabi_sllll): New library function for
946 performing a logical left shift of a 64-bit value.
947 * config/msp430/srai.S (__mspabi_srall): New library function for
948 performing a arithmetic right shift of a 64-bit value.
949 * config/msp430/srll.S (__mspabi_srlll): New library function for
950 performing a logical right shift of a 64-bit value.
951
952 2019-06-14 Matt Thomas <matt@3am-software.com>
953 Matthew Green <mrg@eterna.com.au>
954 Nick Hudson <skrll@netbsd.org>
955 Maya Rashish <coypu@sdf.org>
956
957 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
958 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
959 functions to build.
960 * config/arm/t-netbsd-eabi: New file.
961
962 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
963
964 * config.host: Add PRU target.
965 * config/pru/asri.c: New file.
966 * config/pru/eqd.c: New file.
967 * config/pru/eqf.c: New file.
968 * config/pru/ged.c: New file.
969 * config/pru/gef.c: New file.
970 * config/pru/gtd.c: New file.
971 * config/pru/gtf.c: New file.
972 * config/pru/led.c: New file.
973 * config/pru/lef.c: New file.
974 * config/pru/lib2bitcountHI.c: New file.
975 * config/pru/lib2divHI.c: New file.
976 * config/pru/lib2divQI.c: New file.
977 * config/pru/lib2divSI.c: New file.
978 * config/pru/libgcc-eabi.ver: New file.
979 * config/pru/ltd.c: New file.
980 * config/pru/ltf.c: New file.
981 * config/pru/mpyll.S: New file.
982 * config/pru/pru-abi.h: New file.
983 * config/pru/pru-asm.h: New file.
984 * config/pru/pru-divmod.h: New file.
985 * config/pru/sfp-machine.h: New file.
986 * config/pru/t-pru: New file.
987
988 2019-06-11 Jakub Jelinek <jakub@redhat.com>
989
990 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
991
992 2019-06-10 Martin Liska <mliska@suse.cz>
993
994 PR bootstrap/90808
995 * libgcov.h: Add ATTRIBUTE_UNUSED.
996
997 2019-06-10 Martin Liska <mliska@suse.cz>
998
999 * Makefile.in: Add __gcov_one_value_profiler_v2,
1000 __gcov_one_value_profiler_v2_atomic and
1001 __gcov_indirect_call_profiler_v4.
1002 * libgcov-merge.c (__gcov_merge_single): Change
1003 function signature.
1004 (merge_single_value_set): New.
1005 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1006 Update functionality.
1007 (__gcov_one_value_profiler): Remove.
1008 (__gcov_one_value_profiler_v2): ... this.
1009 (__gcov_one_value_profiler_atomic): Rename to ...
1010 (__gcov_one_value_profiler_v2_atomic): this.
1011 (__gcov_indirect_call_profiler_v3): Rename to ...
1012 (__gcov_indirect_call_profiler_v4): ... this.
1013 * libgcov.h (__gcov_one_value_profiler): Remove.
1014 (__gcov_one_value_profiler_atomic): Remove.
1015 (__gcov_one_value_profiler_v2_atomic): New.
1016 (__gcov_indirect_call_profiler_v3): Remove.
1017 (__gcov_one_value_profiler_v2): New.
1018 (__gcov_indirect_call_profiler_v4): New.
1019 (gcov_get_counter_ignore_scaling): New function.
1020
1021 2019-06-07 Martin Liska <mliska@suse.cz>
1022
1023 * Makefile.in: Remove usage of
1024 _gcov_merge_icall_topn.
1025 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1026 (gcov_sort_icall_topn_counter): Likewise.
1027 (gcov_sort_topn_counter_arrays): Likewise.
1028 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1029 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1030 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1031 Likewise.
1032 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1033 (struct indirect_call_tuple): Remove.
1034 (__gcov_indirect_call_topn_profiler): Remove.
1035 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1036 * libgcov.h (gcov_sort_n_vals): Remove.
1037 (L_gcov_merge_icall_topn): Likewise.
1038 (__gcov_merge_icall_topn): Likewise.
1039 (__gcov_indirect_call_topn_profiler): Likewise.
1040
1041 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1042
1043 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1044 altivec enabled.
1045
1046 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1047
1048 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1049 section.
1050 (__mspabi_slli): Likewise.
1051 (__mspabi_slll_n): Likewise.
1052 (__mspabi_slll): Likewise.
1053 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1054 (__mspabi_srai): Likewise.
1055 (__mspabi_sral_n): Likewise.
1056 (__mspabi_sral): Likewise.
1057 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1058 (__mspabi_srli): Likewise.
1059 (__mspabi_srll_n): Likewise.
1060 (__mspabi_srll): Likewise.
1061
1062 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1063
1064 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1065 Add appropriate tm_file clause as well.
1066 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1067
1068 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1069
1070 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1071 rather than .data/.bss so it can be accessed via gp-relative
1072 addressing.
1073
1074 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1075
1076 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1077 (CR2_REGNO): Rename to R_CR2.
1078 (XER_REGNO): Rename to R_XER.
1079 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1080 (VRSAVE_REGNO): Rename to R_VRSAVE.
1081 (VSCR_REGNO): R_VSCR.
1082
1083 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1084
1085 * config.host (rx-*-linux*): Add new case.
1086 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1087
1088 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1089
1090 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1091 function.
1092 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1093 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1094 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1095 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1096 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1097 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1098 string.
1099 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1100 string.
1101 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1102
1103 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1104
1105 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1106 Remove Solaris 9 and 10 support.
1107 (sparc_is_sighandler): Likewise.
1108
1109 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1110
1111 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1112
1113 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1116 4_FP_W_TYPEs are used for IEEE quad precision.
1117 * soft-fp/extendhftf2.c: Likewise.
1118 * soft-fp/extendsftf2.c: Likewise.
1119 * soft-fp/extendxftf2.c: Likewise.
1120 * soft-fp/trunctfdf2.c: Likewise.
1121 * soft-fp/trunctfhf2.c: Likewise.
1122 * soft-fp/trunctfsf2.c: Likewise.
1123 * soft-fp/trunctfxf2.c: Likewise.
1124 * config/rs6000/ibm-ldouble.c: Likewise.
1125
1126 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1127
1128 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1129 *-*-solaris2*.
1130 * configure.ac: Likewise.
1131 * configure: Regenerate.
1132
1133 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1134 Solaris 10 and Solaris 11 < snv_125 handling.
1135
1136 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1137
1138 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1139
1140 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1141
1142 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1143 * config/i386/cpuinfo.h (enum processor_features): Add
1144 FEATURE_AVX512BF16.
1145
1146 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1147 Bernd Edlinger <bernd.edlinger@hotmail.de>
1148 Jakub Jelinek <jakub@redhat.com>
1149
1150 PR target/89093
1151 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1152 * config/arm/unwind-arm.c: Likewise.
1153 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1154 attribute for ARM.
1155
1156 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1157
1158 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1159 (RT_SIGRETURN): Update.
1160 (nds32_fallback_frame_state): Update.
1161
1162 2019-02-21 Martin Sebor <msebor@redhat.com>
1163
1164 * libgcc2.h (__clear_cache): Correct signature.
1165 * libgcc2.c (__clear_cache): Same.
1166
1167 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1168
1169 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1170 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1171
1172 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1173
1174 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1175 regno instead of index to DWARF_ZERO_REG.
1176
1177 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1178
1179 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1180 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1181
1182 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1183
1184 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1185 to HOST_LIBGCC2_CFLAGS.
1186
1187 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1188
1189 PR libgcc/88931
1190 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1191
1192 2019-01-18 Martin Liska <mliska@suse.cz>
1193
1194 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1195 to ...
1196 (__gcov_indirect_call_profiler_v3): ... this.
1197 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1198 (__gcov_indirect_call_profiler_v3): Likewise.
1199 * Makefile.in: Bump function name.
1200
1201 2019-01-18 Martin Liska <mliska@suse.cz>
1202
1203 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1204 (gcov_version): Use in gcov_error.
1205 (merge_one_data): Likewise.
1206 (dump_one_gcov): Likewise.
1207
1208 2019-01-18 Martin Liska <mliska@suse.cz>
1209
1210 * libgcov-driver.c (gcov_version_string): New function.
1211 (gcov_version): Convert version integer into string.
1212
1213 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1214 Kwok Cheung Yeung <kcy@codesourcery.com>
1215 Julian Brown <julian@codesourcery.com>
1216 Tom de Vries <tom@codesourcery.com>
1217
1218 * config.host: Recognize amdgcn*-*-amdhsa.
1219 * config/gcn/crt0.c: New file.
1220 * config/gcn/lib2-divmod-hi.c: New file.
1221 * config/gcn/lib2-divmod.c: New file.
1222 * config/gcn/lib2-gcn.h: New file.
1223 * config/gcn/sfp-machine.h: New file.
1224 * config/gcn/t-amdgcn: New file.
1225
1226 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1227
1228 PR other/16615
1229
1230 * config/c6x/libunwind.S: Mechanically replace "can not" with
1231 "cannot".
1232 * config/tilepro/atomic.h: Likewise.
1233 * config/vxlib-tls.c: Likewise.
1234 * generic-morestack-thread.c: Likewise.
1235 * generic-morestack.c: Likewise.
1236 * mkmap-symver.awk: Likewise.
1237
1238 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1239
1240 Update copyright years.
1241
1242 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1243
1244 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1245 to ignore -Waddress-of-packed-member.
1246
1247 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1248
1249 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1250 parameter and corresponding code.
1251 (ARM_FUNC_START): Likewise in both definitions.
1252 Also update footer comment about condition that need to match with
1253 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1254 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1255 defined. Weakly define it in this case.
1256 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1257 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1258 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1259 comment to keep condition in sync with the one in
1260 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1261
1262 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1263
1264 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1265 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1266
1267 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1268
1269 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1270 and .cfi_endproc directives for VxWorks targets.
1271
1272 2018-12-05 Paul Koning <ni1d@arrl.net>
1273
1274 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1275
1276 2018-11-27 Alan Modra <amodra@gmail.com>
1277
1278 * config/rs6000/morestack.S (__stack_split_initialize),
1279 (__morestack_get_guard, __morestack_set_guard),
1280 (__morestack_make_guard): Provide CFI covering these functions.
1281 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1282
1283 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1284
1285 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1286 (sc_pt_regs_lr): Update for kernel.
1287 (sc_pt_regs_tls): Update for kernel.
1288
1289 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1290
1291 * config/csky/linux-unwind.h: Fix coding style.
1292
1293 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1294
1295 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1296 (csky_fallback_frame_state): Modify the check of the
1297 instructions to adapt to changes in the kernel
1298
1299 2018-11-09 Stafford Horne <shorne@gmail.com>
1300 Richard Henderson <rth@twiddle.net>
1301
1302 * config.host: Add OpenRISC support.
1303 * config/or1k/*: New.
1304
1305 2018-11-08 Kito Cheng <kito@andestech.com>
1306
1307 * soft-fp/adddf3.c: Update from glibc.
1308 * soft-fp/addsf3.c: Likewise.
1309 * soft-fp/addtf3.c: Likewise.
1310 * soft-fp/divdf3.c: Likewise.
1311 * soft-fp/divsf3.c: Likewise.
1312 * soft-fp/divtf3.c: Likewise.
1313 * soft-fp/double.h: Likewise.
1314 * soft-fp/eqdf2.c: Likewise.
1315 * soft-fp/eqsf2.c: Likewise.
1316 * soft-fp/eqtf2.c: Likewise.
1317 * soft-fp/extenddftf2.c: Likewise.
1318 * soft-fp/extended.h: Likewise.
1319 * soft-fp/extendhftf2.c: Likewise.
1320 * soft-fp/extendsfdf2.c: Likewise.
1321 * soft-fp/extendsftf2.c: Likewise.
1322 * soft-fp/extendxftf2.c: Likewise.
1323 * soft-fp/fixdfdi.c: Likewise.
1324 * soft-fp/fixdfsi.c: Likewise.
1325 * soft-fp/fixdfti.c: Likewise.
1326 * soft-fp/fixhfti.c: Likewise.
1327 * soft-fp/fixsfdi.c: Likewise.
1328 * soft-fp/fixsfsi.c: Likewise.
1329 * soft-fp/fixsfti.c: Likewise.
1330 * soft-fp/fixtfdi.c: Likewise.
1331 * soft-fp/fixtfsi.c: Likewise.
1332 * soft-fp/fixtfti.c: Likewise.
1333 * soft-fp/fixunsdfdi.c: Likewise.
1334 * soft-fp/fixunsdfsi.c: Likewise.
1335 * soft-fp/fixunsdfti.c: Likewise.
1336 * soft-fp/fixunshfti.c: Likewise.
1337 * soft-fp/fixunssfdi.c: Likewise.
1338 * soft-fp/fixunssfsi.c: Likewise.
1339 * soft-fp/fixunssfti.c: Likewise.
1340 * soft-fp/fixunstfdi.c: Likewise.
1341 * soft-fp/fixunstfsi.c: Likewise.
1342 * soft-fp/fixunstfti.c: Likewise.
1343 * soft-fp/floatdidf.c: Likewise.
1344 * soft-fp/floatdisf.c: Likewise.
1345 * soft-fp/floatditf.c: Likewise.
1346 * soft-fp/floatsidf.c: Likewise.
1347 * soft-fp/floatsisf.c: Likewise.
1348 * soft-fp/floatsitf.c: Likewise.
1349 * soft-fp/floattidf.c: Likewise.
1350 * soft-fp/floattihf.c: Likewise.
1351 * soft-fp/floattisf.c: Likewise.
1352 * soft-fp/floattitf.c: Likewise.
1353 * soft-fp/floatundidf.c: Likewise.
1354 * soft-fp/floatundisf.c: Likewise.
1355 * soft-fp/floatunditf.c: Likewise.
1356 * soft-fp/floatunsidf.c: Likewise.
1357 * soft-fp/floatunsisf.c: Likewise.
1358 * soft-fp/floatunsitf.c: Likewise.
1359 * soft-fp/floatuntidf.c: Likewise.
1360 * soft-fp/floatuntihf.c: Likewise.
1361 * soft-fp/floatuntisf.c: Likewise.
1362 * soft-fp/floatuntitf.c: Likewise.
1363 * soft-fp/gedf2.c: Likewise.
1364 * soft-fp/gesf2.c: Likewise.
1365 * soft-fp/getf2.c: Likewise.
1366 * soft-fp/half.h: Likewise.
1367 * soft-fp/ledf2.c: Likewise.
1368 * soft-fp/lesf2.c: Likewise.
1369 * soft-fp/letf2.c: Likewise.
1370 * soft-fp/muldf3.c: Likewise.
1371 * soft-fp/mulsf3.c: Likewise.
1372 * soft-fp/multf3.c: Likewise.
1373 * soft-fp/negdf2.c: Likewise.
1374 * soft-fp/negsf2.c: Likewise.
1375 * soft-fp/negtf2.c: Likewise.
1376 * soft-fp/op-1.h: Likewise.
1377 * soft-fp/op-2.h: Likewise.
1378 * soft-fp/op-4.h: Likewise.
1379 * soft-fp/op-8.h: Likewise.
1380 * soft-fp/op-common.h: Likewise.
1381 * soft-fp/quad.h: Likewise.
1382 * soft-fp/single.h: Likewise.
1383 * soft-fp/soft-fp.h: Likewise.
1384 * soft-fp/subdf3.c: Likewise.
1385 * soft-fp/subsf3.c: Likewise.
1386 * soft-fp/subtf3.c: Likewise.
1387 * soft-fp/truncdfsf2.c: Likewise.
1388 * soft-fp/trunctfdf2.c: Likewise.
1389 * soft-fp/trunctfhf2.c: Likewise.
1390 * soft-fp/trunctfsf2.c: Likewise.
1391 * soft-fp/trunctfxf2.c: Likewise.
1392 * soft-fp/unorddf2.c: Likewise.
1393 * soft-fp/unordsf2.c: Likewise.
1394 * soft-fp/unordtf2.c: Likewise.
1395
1396 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1397
1398 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1399 * config/i386/cpuinfo.h (processor_types): Add znver2.
1400
1401 2018-11-01 Paul Koning <ni1d@arrl.net>
1402
1403 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1404 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1405
1406 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1407
1408 PR bootstrap/82856
1409 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1410 * configure: Regenerate.
1411
1412 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1413
1414 * config/arc/lib1funcs.S (_muldi3): New function.
1415 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1416
1417 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1418
1419 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1420
1421 2018-10-25 Martin Liska <mliska@suse.cz>
1422
1423 PR other/87735
1424 * libgcov-profiler.c: Revert.
1425
1426 2018-10-24 Martin Liska <mliska@suse.cz>
1427
1428 * libgcov-profiler.c: Start from 1 in order to distinguish
1429 functions which were seen and these that were not.
1430
1431 2018-10-18 Paul Koning <ni1d@arrl.net>
1432
1433 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1434 standard.
1435 * divmod.c: Update references to __udivmodsi4.
1436 * udivmod.c: Ditto.
1437 * udivhi3.c: New file.
1438 * udivmodhi4.c: New file.
1439 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1440
1441 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1442
1443 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1444
1445 2018-10-12 Olivier Hainque <hainque@adacore.com>
1446
1447 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1448 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1449
1450 2018-10-08 Paul Koning <ni1d@arrl.net>
1451
1452 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1453
1454 2018-10-04 Martin Liska <mliska@suse.cz>
1455
1456 PR gcov-profile/84107
1457 * libgcov-profiler.c (__gcov_indirect_call):
1458 Change type to indirect_call_tuple.
1459 (struct indirect_call_tuple): New struct.
1460 (__gcov_indirect_call_topn_profiler): Change type.
1461 (__gcov_indirect_call_profiler_v2): Use the new
1462 variables.
1463 * libgcov.h (struct indirect_call_tuple): New struct
1464 definition.
1465
1466 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1467
1468 * libgcc2.c (isnan): Use __builtin_isnan.
1469 (isfinite): Use __builtin_isfinite.
1470 (isinf): Use __builtin_isinf.
1471
1472 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1473
1474 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1475
1476 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1477
1478 * config/vxcache.c: New file. Provide __clear_cache, based on
1479 the cacheTextUpdate VxWorks service.
1480 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1481 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1482 * config/t-vxwoks7: Likewise.
1483
1484 2018-09-21 Martin Liska <mliska@suse.cz>
1485
1486 * libgcov-driver.c (crc32_unsigned): Remove.
1487 (gcov_histogram_insert): Likewise.
1488 (gcov_compute_histogram): Likewise.
1489 (compute_summary): Simplify rapidly.
1490 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1491 (merge_summary): Rapidly simplify.
1492 (dump_one_gcov): Ignore gcov_summary.
1493 (gcov_do_dump): Do not handle program summary, it's not
1494 used.
1495 * libgcov-util.c (tag_summary): Remove.
1496 (read_gcda_finalize): Fix coding style.
1497 (read_gcda_file): Initialize curr_object_summary.
1498 (compute_summary): Remove.
1499 (calculate_overlap): Remove settings of run_max.
1500
1501 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1502
1503 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1504 ucontext_t type instead.
1505 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1506
1507 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1508
1509 * config/nds32/t-nds32-glibc: New file.
1510
1511 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1512
1513 * configure.ac (solaris_ld_v2_maps): New test.
1514 * configure: Regenerate.
1515 * Makefile.in (solaris_ld_v2_maps): New variable.
1516 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1517 if supported.
1518
1519 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1520
1521 PR target/86951
1522 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1523 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1524 to build.
1525
1526 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1527
1528 * config/unwind-dw2-fde-darwin.c
1529 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1530 * config/darwin10-unwind-find-enc-func.c: … to here.
1531 * config/t-darwin: Build Darwin10 unwinder shim crt.
1532 * libgcc/config.host: Add the Darwin10 unwinder shim.
1533
1534 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1535
1536 * config.host: Add crtbegin.o and crtend.o for
1537 powerpc-wrs-vxworks target.
1538
1539 2018-08-17 Jojo <jijie_rong@c-sky.com>
1540 Huibin Wang <huibin_wang@c-sky.com>
1541 Sandra Loosemore <sandra@codesourcery.com>
1542 Chung-Lin Tang <cltang@codesourcery.com>
1543
1544 C-SKY port: libgcc
1545
1546 * config.host: Add C-SKY support.
1547 * config/csky/*: New.
1548
1549 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1550
1551 * config/nds32/t-nds32-isr: Rearrange object dependency.
1552 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1553 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1554 and registers usage.
1555 * config/nds32/isr-library/excp_isr.S: Ditto.
1556 * config/nds32/isr-library/intr_isr.S: Ditto.
1557 * config/nds32/isr-library/reset.S: Ditto.
1558 * config/nds32/isr-library/restore_all.inc: Ditto.
1559 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1560 * config/nds32/isr-library/restore_partial.inc: Ditto.
1561 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1562 * config/nds32/isr-library/save_all.inc: Ditto.
1563 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1564 * config/nds32/isr-library/save_partial.inc: Ditto.
1565 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1566 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1567
1568 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1569
1570 * config/pa/linux-atomic.c: Update comment.
1571 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1572 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1573 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1574 __ATOMIC_RELAXED for atomic loads.
1575 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1576 unordered store to release lock.
1577 (__sync_lock_release_8): Likewise.
1578 (SYNC_LOCK_RELEASE_2): Remove define.
1579
1580 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1581
1582 PR libgcc/86512
1583 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1584 exponent goes negative. Update my email address.
1585 * config/arm/ieee754-sf.S: Likewise.
1586
1587 2018-08-01 Martin Liska <mliska@suse.cz>
1588
1589 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1590 check that __gcov_indirect_call_callee is non-null.
1591
1592 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1593
1594 * config/arm/ieee754-df.S: Fix comment for code working on
1595 architectures >= 4.
1596 * config/arm/ieee754-sf.S: Likewise.
1597
1598 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1599
1600 PR libgcc/85334
1601 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1602 Removed.
1603
1604 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1605
1606 * configure: Regenerated.
1607
1608 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1609
1610 * Makefile.in (install_leaf): Use enable_gcov instead of
1611 enable_libgcov.
1612
1613 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1614
1615 * configure.ac: Add --disable-gcov option.
1616 * configure: Regenerate.
1617 * Makefile.in: Honour @enable_gcov@.
1618
1619 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1620
1621 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1622 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1623 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1624 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1625 __ARM_ARCH__.
1626 * config/arm/ieee754-sf.S: Likewise.
1627 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1628
1629 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1630
1631 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1632 longer supported.
1633 * config/arm/ieee754-sf.S: Likewise.
1634
1635 2018-06-20 Than McIntosh <thanm@google.com>
1636
1637 PR libgcc/86213
1638 * generic-morestack.c (allocate_segment): Move calls to getenv and
1639 getpagesize to __morestack_load_mmap.
1640 (__morestack_load_mmap) Initialize static_pagesize and
1641 use_guard_page here so as to avoid clobbering SSE regs during a
1642 __morestack call.
1643
1644 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1645
1646 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1647 support modules with -mno-gnu-attribute.
1648 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1649
1650 2018-06-07 Olivier Hainque <hainque@adacore.com>
1651
1652 * config/t-vxworks (LIBGCC_INCLUDES): Add
1653 -I$(MULTIBUILDTOP)../../gcc/include.
1654 * config/t-vxworks7: Likewise. Reformat a bit to match
1655 the t-vxworks layout.
1656
1657 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1658
1659 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1660
1661 2018-06-07 Martin Liska <mliska@suse.cz>
1662
1663 * libgcov-driver.c: Rename cs_all to all and assign it from
1664 all_prg.
1665
1666 2018-06-07 Martin Liska <mliska@suse.cz>
1667
1668 PR bootstrap/86057
1669 * libgcov-driver-system.c (replace_filename_variables): Use
1670 memcpy instead of mempcpy.
1671 (allocate_filename_struct): Do not allocate filename, allocate
1672 prefix and set it.
1673 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1674 here and properly copy content into it.
1675 * libgcov-driver.c (struct gcov_filename): Remove max_length
1676 field, change prefix from size_t into char *.
1677 (compute_summary): Do not calculate longest filename.
1678 (gcov_do_dump): Release memory of gf.filename after each file.
1679 * libgcov-util.c (compute_summary): Use new signature of
1680 compute_summary.
1681 (calculate_overlap): Likewise.
1682
1683 2018-06-05 Martin Liska <mliska@suse.cz>
1684
1685 PR gcov-profile/47618
1686 * libgcov-driver-system.c (replace_filename_variables): New
1687 function.
1688 (gcov_exit_open_gcda_file): Use it.
1689
1690 2018-06-05 Martin Liska <mliska@suse.cz>
1691
1692 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1693 of gcov_ctr_summary.
1694 (compute_summary): Do it just for a single summary.
1695 (merge_one_data): Likewise.
1696 (merge_summary): Simplify as we read just single summary.
1697 (dump_one_gcov): Pass proper argument.
1698 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1699 single summary.
1700 (gcov_info_count_all_cold): Likewise.
1701 (calculate_overlap): Likewise.
1702
1703 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1704 Monk Chiang <sh.chiang04@gmail.com>
1705
1706 * config.host (nds32*-linux*): New.
1707 * config/nds32/linux-atomic.c: New file.
1708 * config/nds32/linux-unwind.h: New file.
1709
1710 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1711
1712 PR target/85591
1713 * config/i386/cpuinfo.c (get_amd_cpu): Return
1714 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1715
1716 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1717
1718 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1719
1720 2018-05-29 Martin Liska <mliska@suse.cz>
1721
1722 PR gcov-profile/85759
1723 * libgcov-driver-system.c (gcov_error): Introduce usage of
1724 GCOV_EXIT_AT_ERROR env. variable.
1725 * libgcov-driver.c (merge_one_data): Print error that we
1726 overwrite a gcov file with a different timestamp.
1727
1728 2018-05-23 Kalamatee <kalamatee@gmail.com>
1729
1730 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1731 path to Lf$finfty.
1732
1733 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1734 Monk Chiang <sh.chiang04@gmail.com>
1735 Jim Wilson <jimw@sifive.com>
1736
1737 * config/riscv/save-restore.S: Add support for rv32e.
1738
1739 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1740
1741 * config/arm/libunwind.S: Update comment relating to armv5.
1742
1743 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1744
1745 * config/arm/cmse.c (cmse_check_address_range): Replace
1746 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1747
1748 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1749
1750 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1751 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1752
1753 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1754
1755 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1756 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1757
1758 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1759
1760 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1761
1762 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1763 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1764
1765 PR libgcc/84292
1766 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1767 op_and_fetch to return the right result.
1768
1769 2018-04-27 Alan Modra <amodra@gmail.com>
1770
1771 PR libgcc/85532
1772 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1773 -fno-asynchronous-unwind-tables.
1774
1775 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1776
1777 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1778 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1779
1780 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1783 when including "config/i386/shadow-stack-unwind.h".
1784
1785 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 * configure: Regenerated.
1788
1789 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1790
1791 PR target/85456
1792 * config/rs6000/_powikf2.c: New file. Add support for the
1793 __builtin_powil function when long double is IEEE 128-bit floating
1794 point.
1795 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1796 __powikf2 support.
1797 (__powikf2): Likewise.
1798 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1799 (__powikf2_hw): Likewise.
1800 (__powikf2): Likewise.
1801 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1802 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1803 (_powikf2-hw.c): Likewise.
1804
1805 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1806
1807 PR libgcc/85334
1808 * unwind-generic.h (_Unwind_Frames_Increment): New.
1809 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1810 Likewise.
1811 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1812 count with _Unwind_Frames_Increment.
1813 (_Unwind_ForcedUnwind_Phase2): Likewise.
1814
1815 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1816
1817 PR libgcc/85379
1818 * config/i386/morestack.S (__stack_split_initialize): Add
1819 _CET_ENDBR.
1820
1821 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1822
1823 * configure: Regenerated.
1824
1825 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1826
1827 PR jit/85384
1828 * configure: Regenerate.
1829
1830 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1831
1832 PR target/84945
1833 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1834 -Wdangling-else warnings. Mask shift counts to avoid
1835 -Wshift-count-negative and -Wshift-count-overflow false positives.
1836
1837 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1838
1839 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1840
1841 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1842
1843 PR target/85100
1844 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1845 (XSTATE_FP): Likewise.
1846 (XSTATE_SSE): Likewise.
1847 (XSTATE_YMM): Likewise.
1848 (XSTATE_OPMASK): Likewise.
1849 (XSTATE_ZMM): Likewise.
1850 (XSTATE_HI_ZMM): Likewise.
1851 (XCR_AVX_ENABLED_MASK): Likewise.
1852 (XCR_AVX512F_ENABLED_MASK): Likewise.
1853 (get_available_features): Enable AVX and AVX512 features only
1854 if their states are supported by OSXSAVE.
1855
1856 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1857
1858 PR target/85025
1859 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1860 Fix a typo, tmp => 255.
1861
1862 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1863
1864 PR target/84945
1865 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1866 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1867 ifndef SHARED only.
1868 (set_feature): Define.
1869 (get_available_features): Use set_feature macro. Set __cpu_features2
1870 to the second word of features ifndef SHARED.
1871
1872 2018-03-15 Julia Koval <julia.koval@intel.com>
1873
1874 * config/i386/cpuinfo.c (get_available_features): Add
1875 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1876 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1877 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1878 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1879 FEATURE_AVX512BITALG.
1880
1881 2018-03-14 Julia Koval <julia.koval@intel.com>
1882
1883 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1884 icelake client and icelake server.
1885
1886 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1887
1888 * config/pa/fptr.c (_dl_read_access_allowed): New.
1889 (__canonicalize_funcptr_for_compare): Use it.
1890
1891 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1892
1893 PR debug/83917
1894 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1895 $asm_hidden_op if visibility ("hidden") attribute works.
1896 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1897 * config/i386/i386-asm.h: Don't include auto-host.h.
1898 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1899 PACKAGE_URL): Don't undefine.
1900 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1901 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1902 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1903 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1904 definition instead of hardcoded .hidden.
1905 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1906 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1907 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1908 (USE_GAS_CFI_DIRECTIVES): Don't define.
1909 * configure: Regenerated.
1910 * config.in: Likewise.
1911
1912 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1913
1914 PR debug/83917
1915 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1916 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1917 inclusion of auto-target.h and auto-host.h.
1918 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1919 __GCC_HAVE_DWARF2_CFI_ASM.
1920 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1921 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1922 cfi_pop): Define.
1923 * config/i386/cygwin.S: Don't include auto-host.h here, just
1924 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1925 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1926 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1927 * config/i386/resms64fx.h: Add cfi_* directives.
1928 * config/i386/resms64x.h: Likewise.
1929
1930 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1931
1932 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1933 .literal_position directive.
1934 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1935
1936 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1937
1938 PR target/84148
1939 * configure: Regenerate.
1940
1941 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1942
1943 PR target/84239
1944 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1945 Include cetintrin.h not x86intrin.h.
1946
1947 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1948
1949 PR target/84239
1950 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1951 Use new _get_ssp and _inc_ssp intrinsics.
1952
1953 2018-02-02 Julia Koval <julia.koval@intel.com>
1954
1955 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1956
1957 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1958
1959 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1960 option.
1961 (__divsi3): Use RF16 safe registers.
1962 (__modsi3): Likewise.
1963
1964 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1965
1966 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1967 (__divsf3): Make NaN return value quiet.
1968 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1969 (__divdf3): Make NaN return value quiet.
1970
1971 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1972
1973 * config/rl78/anddi3.S: New assembly file.
1974 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1975
1976 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1977
1978 * config/rl78/umindi3.S: New assembly file.
1979 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1980
1981 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1982
1983 * config/rl78/smindi3.S: New assembly file.
1984 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1985
1986 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1987
1988 * config/rl78/smaxdi3.S: New assembly file.
1989 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1990
1991 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1992
1993 * config/rl78/umaxdi3.S: New assembly file.
1994 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1995
1996 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1997
1998 PR lto/83452
1999 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2000 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2001
2002 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2003
2004 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2005 (DWARF_LAZY_REGISTER_VALUE): Define.
2006 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2007 to provide a fallback register value.
2008
2009 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2010
2011 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2012 __ibm128, instead of trying to use long double.
2013 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2014 accomidate -mabi=ieeelongdouble multilibs.
2015 (CVT_IBM128_TO_FLOAT128): Likewise.
2016 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2017 the appropriate IBM extended double type.
2018 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2019 (__gcc_qsub): Likewise.
2020 (__gcc_qmul): Likewise.
2021 (__gcc_qdiv): Likewise.
2022 (pack_ldouble): Likewise.
2023 (__gcc_qneg): Likewise.
2024 (__gcc_qeq): Likewise.
2025 (__gcc_qne): Likewise.
2026 (__gcc_qge): Likewise.
2027 (__gcc_qle): Likewise.
2028 (__gcc_stoq): Likewise.
2029 (__gcc_dtoq): Likewise.
2030 (__gcc_itoq): Likewise.
2031 (__gcc_utoq): Likewise.
2032 (__gcc_qunord): Likewise.
2033 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2034 quad-float128.h for the definitions.
2035 (COPYSIGN): Use the f128 version instead of the q version.
2036 (INFINITY): Likewise.
2037 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2038 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2039 quad-float128.h for the definitions.
2040 (COPYSIGN): Use the f128 version instead of the q version.
2041 (INFINITY): Likewise.
2042 (FABS): Likewise.
2043 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2044 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2045 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2046
2047 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2048
2049 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2050 configuration.
2051
2052 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2053
2054 Update copyright years.
2055
2056 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2057
2058 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2059 * config/riscv/multi3.c: New file.
2060 * config/riscv/multi3.S: Remove.
2061
2062 2017-12-08 Jim Wilson <jimw@sifive.com>
2063
2064 * config/riscv/div.S: Use FUNC_* macros.
2065 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2066 * config/riscv/save-restore.S: Likewise.
2067 * config/riscv/riscv-asm.h: New.
2068
2069 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2070
2071 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2072 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2073
2074 PR libgcc/83112
2075 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2076 correct type for all ifunc resolvers to silence -Wattribute-alias
2077 warnings. Eliminate the forward declaration of the resolver
2078 functions which is no longer needed.
2079 (__subkf3_resolve): Likewise.
2080 (__mulkf3_resolve): Likewise.
2081 (__divkf3_resolve): Likewise.
2082 (__negkf2_resolve): Likewise.
2083 (__eqkf2_resolve): Likewise.
2084 (__nekf2_resolve): Likewise.
2085 (__gekf2_resolve): Likewise.
2086 (__gtkf2_resolve): Likewise.
2087 (__lekf2_resolve): Likewise.
2088 (__ltkf2_resolve): Likewise.
2089 (__unordkf2_resolve): Likewise.
2090 (__extendsfkf2_resolve): Likewise.
2091 (__extenddfkf2_resolve): Likewise.
2092 (__trunckfsf2_resolve): Likewise.
2093 (__trunckfdf2_resolve): Likewise.
2094 (__fixkfsi_resolve): Likewise.
2095 (__fixkfdi_resolve): Likewise.
2096 (__fixunskfsi_resolve): Likewise.
2097 (__fixunskfdi_resolve): Likewise.
2098 (__floatsikf_resolve): Likewise.
2099 (__floatdikf_resolve): Likewise.
2100 (__floatunsikf_resolve): Likewise.
2101 (__floatundikf_resolve): Likewise.
2102 (__extendkftf2_resolve): Likewise.
2103 (__trunctfkf2_resolve): Likewise.
2104
2105 PR libgcc/83103
2106 * config/rs6000/quad-float128.h (TF): Don't define if long double
2107 is IEEE 128-bit floating point.
2108 (TCtype): Define as either TCmode or KCmode, depending on whether
2109 long double is IEEE 128-bit floating point.
2110 (__mulkc3_sw): Add declarations for software/hardware versions of
2111 complex multiply/divide.
2112 (__divkc3_sw): Likewise.
2113 (__mulkc3_hw): Likewise.
2114 (__divkc3_hw): Likewise.
2115 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2116 handlers to switch between using software emulation and hardware
2117 float128 instructions, build the complex multiply/divide functions
2118 for both software and hardware support.
2119 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2120 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2121 (__divkc3_resolve): Likewise.
2122 (__mulkc3): Likewise.
2123 (__divkc3): Likewise.
2124 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2125 (fp128_hw_src): Likewise.
2126 (fp128_hw_static_obj): Likewise.
2127 (fp128_hw_shared_obj): Likewise.
2128 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2129 _mulkc3.c and _divkc3.c, changing the function name.
2130 (_divkc3-hw.c): Likewise.
2131 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2132 and _divkc3-hw.c.
2133
2134 2017-11-26 Julia Koval <julia.koval@intel.com>
2135
2136 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2137 * config/i386/cpuinfo.h (processor_subtypes): Add
2138 INTEL_COREI7_CANNONLAKE.
2139
2140 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2141
2142 PR bootstrap/83015
2143 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2144 parameter.
2145 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2146 * config/ia64/unwind-ia64.c: Add frames parameter.
2147 * unwind-sjlj.c: Likewise.
2148
2149 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2150
2151 * config/i386/linux-unwind.h: Include
2152 config/i386/shadow-stack-unwind.h.
2153 * config/i386/shadow-stack-unwind.h: New file.
2154 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2155 pass it to _Unwind_Frames_Extra.
2156 * unwind-generic.h (_Unwind_Frames_Extra): New.
2157 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2158 parameter. Add local variable frames to count number of frames.
2159 (_Unwind_ForcedUnwind_Phase2): Likewise.
2160 (_Unwind_RaiseException): Add local variable frames to count
2161 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2162 uw_install_context.
2163 (_Unwind_ForcedUnwind): Likewise.
2164 (_Unwind_Resume): Likewise.
2165 (_Unwind_Resume_or_Rethrow): Likewise.
2166
2167 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2168
2169 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2170 (CET_FLAGS): New.
2171 * config/i386/morestack.S: Include <cet.h>.
2172 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2173 * config/i386/resms64.h: Include <cet.h>.
2174 * config/i386/resms64f.h: Likewise.
2175 * config/i386/resms64fx.h: Likewise.
2176 * config/i386/resms64x.h: Likewise.
2177 * config/i386/savms64.h: Likewise.
2178 * config/i386/savms64f.h: Likewise.
2179 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2180 (CRTSTUFF_T_CFLAGS): Likewise.
2181 * configure.ac: Include ../config/cet.m4.
2182 Set and substitute CET_FLAGS.
2183 * configure: Regenerated.
2184
2185 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2186
2187 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2188 renaming.
2189 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2190 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2191 * configure: Regenerate.
2192
2193 2017-11-07 Tom de Vries <tom@codesourcery.com>
2194
2195 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2196 after "do {} while (0)".
2197
2198 2017-11-07 Tom de Vries <tom@codesourcery.com>
2199
2200 PR other/82784
2201 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2202 semicolon after "do {} while (0)".
2203 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2204 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2205 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2206 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2207
2208 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2209
2210 PR libgcc/82635
2211 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2212 sysctl to determine whether we're in a trampoline.
2213 Keep the pattern matching method for systems without
2214 KERN_PROC_SIGTRAMP sysctl.
2215
2216 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2217 Vineet Gupta <vgupta@synopsys.com>
2218
2219 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2220 * config/arc/linux-unwind-reg.def: New file.
2221 * config/arc/linux-unwind-reg.h: Likewise.
2222
2223 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2224
2225 * config/rl78/subdi3.S: New assembly file.
2226 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2227
2228 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2229
2230 * config/rl78/adddi3.S: New assembly file.
2231 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2232
2233 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2234
2235 PR target/82274
2236 * libgcc2.c (__mulvDI3): If both operands have
2237 the same highpart of -1 and the topmost bit of lowpart is 0,
2238 multiplication overflows even if both lowparts are 0.
2239
2240 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2241
2242 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2243
2244 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2245
2246 * config/microblaze/crti.S, config/microblaze/crtn.S,
2247 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2248 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2249 config/microblaze/mulsi3.S,
2250 config/microblaze/stack_overflow_exit.S,
2251 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2252 config/pa/milli64.S: Add .note.GNU-stack section.
2253
2254 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2255
2256 * configure.ac: Add Check for HAVE_AS_AVX.
2257 * config.in: Regenerate.
2258 * configure: Likewise.
2259 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2260 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2261 Correct out-of-date comments.
2262
2263 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2264
2265 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2266 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2267
2268 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2269
2270 * config/i386/i386-asm.h (PASTE2): New macro.
2271 (ASMNAME): Modify to use PASTE2.
2272 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2273 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2274 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2275 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2276 * config/i386/resms64f.S: Likewise.
2277 * config/i386/resms64fx.S: Likewise.
2278 * config/i386/resms64x.S: Likewise.
2279 * config/i386/savms64.S: Likewise.
2280 * config/i386/savms64f.S: Likewise.
2281 * config/i386/avx_resms64.S: New file that only defines a macro and
2282 includes it's corresponding header file.
2283 * config/i386/avx_resms64f.S: Likewise.
2284 * config/i386/avx_resms64fx.S: Likewise.
2285 * config/i386/avx_resms64x.S: Likewise.
2286 * config/i386/avx_savms64.S: Likewise.
2287 * config/i386/avx_savms64f.S: Likewise.
2288 * config/i386/sse_resms64.S: Likewise.
2289 * config/i386/sse_resms64f.S: Likewise.
2290 * config/i386/sse_resms64fx.S: Likewise.
2291 * config/i386/sse_resms64x.S: Likewise.
2292 * config/i386/sse_savms64.S: Likewise.
2293 * config/i386/sse_savms64f.S: Likewise.
2294 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2295
2296 2017-09-01 Olivier Hainque <hainque@adacore.com>
2297 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2298
2299 2017-08-31 Olivier Hainque <hainque@adacore.com>
2300
2301 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2302 match as powerpc-wrs-vxworks*.
2303
2304 2017-08-07 Jonathan Yong <10walls@gmail.com>
2305
2306 * config.host (*-cygwin): Include file from mingw
2307 config/i386/enable-execute-stack-mingw32.c
2308
2309 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2310 Doug Rupp <rupp@adacore.com>
2311 Olivier Hainque <hainque@adacore.com>
2312
2313 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2314 as well as arm-wrs-vxworks.
2315 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2316 LIB2ADDEH.
2317 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2318 __exidx_start and __exidx_end for downloadable modules.
2319
2320 2017-08-01 Olivier Hainque <hainque@adacore.com>
2321
2322 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2323 * config/t-vxworks7: Likewise.
2324
2325 2017-08-01 Olivier Hainque <hainque@adacore.com>
2326
2327 * config/t-vxworks: Instead of redefining LIB2ADD,
2328 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2329
2330 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2331
2332 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2333
2334 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2335
2336 PR testsuite/80759
2337 * config.host: include i386/t-msabi for darwin and solaris.
2338 * config/i386/i386-asm.h
2339 (ELFFN): Rename to FN_TYPE.
2340 (FN_SIZE): New macro.
2341 (FN_HIDDEN): Likewise.
2342 (ASMNAME): Likewise.
2343 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2344 .globl.
2345 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2346 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2347 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2348 .macro.
2349 * config/i386/resms64f.S: Likewise.
2350 * config/i386/resms64fx.S: Likewise.
2351 * config/i386/resms64x.S: Likewise.
2352 * config/i386/savms64.S: Likewise.
2353 * config/i386/savms64f.S: Likewise.
2354
2355 2017-07-19 John Marino <gnugcc@marino.st>
2356
2357 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2358
2359 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2360
2361 PR target/81193
2362 * configure.ac (PowerPC float128 hardware support): Test whether
2363 we can use __builtin_cpu_supports before enabling the ifunc
2364 handler.
2365 * configure: Regenerate.
2366
2367 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2368
2369 * config.host: Remove uclibc from arc target spec.
2370
2371 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2372
2373 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2374
2375 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2376
2377 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2378 (have_ieee_hw_p): Delete function.
2379 (SW_OR_HW) Use __builtin_cpu_supports().
2380
2381 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2382
2383 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2384
2385 2017-07-03 Olivier Hainque <hainque@adacore.com>
2386
2387 * config/t-vxworks7: New file, really.
2388
2389 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2390
2391 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2392 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2393 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2394 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2395 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2396 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2397 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2398 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2399 config/sh/linux-unwind.h (sh_fallback_frame_state),
2400 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2401 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2402 ucontext_t instead of struct ucontext.
2403
2404 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2405
2406 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2407 (x86_64-wrs-vxworks7): Likewise.
2408
2409 2017-06-27 Olivier Hainque <hainque@adacore.com>
2410
2411 * config/t-vxworks7: New file.
2412 * config.host (*-*-vxworks7): Use it.
2413
2414 2017-06-22 Matt Turner <mattst88@gmail.com>
2415
2416 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2417 skylake case.
2418
2419 2017-06-21 Richard Biener <rguenther@suse.de>
2420
2421 PR gcov-profile/81080
2422 * configure.ac: Add AC_SYS_LARGEFILE.
2423 * libgcov.h: Include auto-target.h before tsystem.h to pick
2424 up _FILE_OFFSET_BITS which might differ for multilibs.
2425 * config.in: Regenerate.
2426 * configure: Likewise.
2427
2428 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2429
2430 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2431
2432 2017-06-09 Martin Liska <mliska@suse.cz>
2433
2434 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2435 Reset __gcov_indirect_call_callee to NULL.
2436
2437 2017-06-08 Olivier Hainque <hainque@adacore.com>
2438
2439 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2440 the set of -I options, support for direct inclusions of net/uio.h
2441 by VxWorks header files via ioLib.h.
2442
2443 2017-06-07 Tony Reix <tony.reix@atos.net>
2444 Matthieu Sarter <matthieu.sarter.external@atos.net>
2445 David Edelsohn <dje.gcc@gmail.com>
2446
2447 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2448 unconditionally.
2449 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2450 AIX 7.2 support.
2451
2452 2017-06-02 Olivier Hainque <hainque@adacore.com>
2453
2454 * config/vxlib.c (__gthread_once): Add missing value to
2455 return statement.
2456
2457 2017-05-30 Olivier Hainque <hainque@adacore.com>
2458
2459 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2460 dollar sign before $(MULTIDIR).
2461
2462 2017-05-26 Richard Henderson <rth@redhat.com>
2463
2464 PR libgcc/80037
2465 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2466
2467 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2468
2469 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2470 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2471 * config/arm/unwind-arm.c: Implement the above.
2472
2473 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2474
2475 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2476 section for a non-executable stack.
2477
2478 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2479
2480 PR target/80600
2481 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2482
2483 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2484
2485 * config.host: Add i386/t-msabi to i386/t-linux file list.
2486 * config/i386/i386-asm.h: New file.
2487 * config/i386/resms64.S: New file.
2488 * config/i386/resms64f.S: New file.
2489 * config/i386/resms64fx.S: New file.
2490 * config/i386/resms64x.S: New file.
2491 * config/i386/savms64.S: New file.
2492 * config/i386/savms64f.S: New file.
2493 * config/i386/t-msabi: New file.
2494
2495 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2496
2497 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2498 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2499
2500 2017-05-05 Joshua Conner <joshconner@google.com>
2501
2502 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2503 pc-relative indirect handling for fuchsia.
2504 * config/t-slibgcc-fuchsia: New file.
2505 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2506 x86_64-*-fuchsia*): Add definitions.
2507
2508 2017-04-19 Martin Liska <mliska@suse.cz>
2509
2510 PR gcov-profile/80435
2511 * Makefile.in: Install gcov.h.
2512 * gcov.h: New file.
2513 * libgcov.h: Use the header and make __gcov_flush publicly
2514 visible.
2515
2516 2017-04-18 Martin Liska <mliska@suse.cz>
2517
2518 PR gcov-profile/78783
2519 * libgcov-driver.c (gcov_get_filename): New function.
2520
2521 2017-04-07 Jeff Law <law@redhat.com>
2522
2523 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2524 target makefile fragment.
2525 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2526
2527 2017-04-07 Alan Modra <amodra@gmail.com>
2528
2529 PR target/45053
2530 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2531
2532 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2533
2534 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2535
2536 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2537
2538 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2539
2540 2017-03-10 John Marino <gnugcc@marino.st>
2541
2542 * config/aarch64/freebsd-unwind.h: New file.
2543 * config.host: Add aarch64-*-freebsd unwinder.
2544
2545 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2546
2547 * config/rs6000/crtrestvr.s: Use .machine altivec.
2548 * config/rs6000/crtsavevr.s: Ditto.
2549
2550 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2551
2552 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2553 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2554 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2555 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2556 * configure: Regenerate.
2557 * config.in: Regenerate.
2558
2559 2017-03-02 Jonathan Yong <10walls@gmail.com>
2560
2561 * config/i386/gthr-win32.h: Define NOGDI before
2562 windows.h include to prevent w32api CC_NONE macro
2563 clash with libgfortran.
2564
2565 2017-03-02 Jonathan Yong <10walls@gmail.com>
2566
2567 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2568
2569 2017-02-16 Andrew Pinski <apinski@cavium.com>
2570
2571 * config/aarch64/value-unwind.h: New file.
2572 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2573 to tm_file.
2574
2575 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2576
2577 * config.host: Add RISC-V tuples.
2578 * config/riscv/atomic.c: New file.
2579 * config/riscv/crti.S: Likewise.
2580 * config/riscv/crtn.S: Likewise.
2581 * config/riscv/div.S: Likewise.
2582 * config/riscv/linux-unwind.h: Likewise.
2583 * config/riscv/muldi3.S: Likewise.
2584 * config/riscv/multi3.S: Likewise.
2585 * config/riscv/save-restore.S: Likewise.
2586 * config/riscv/sfp-machine.h: Likewise.
2587 * config/riscv/t-elf: Likewise.
2588 * config/riscv/t-elf32: Likewise.
2589 * config/riscv/t-elf64: Likewise.
2590 * config/riscv/t-softfp32: Likewise.
2591 * config/riscv/t-softfp64: Likewise.
2592
2593 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2594
2595 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2596 /* FALLTHRU */ comments.
2597
2598 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2599
2600 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2601
2602 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2603
2604 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2605 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2606 DW_CFA_GNU_window_save for AArch64 and LP64.
2607
2608 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2609
2610 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2611
2612 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2613
2614 * config/aarch64/aarch64-unwind.h: New file.
2615 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2616 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2617 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2618 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2619 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2620 (aarch64_post_extract_frame_addr): New function.
2621 (aarch64_post_frob_eh_handler_addr): New function.
2622 (aarch64_frob_update_context): New function.
2623 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2624 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2625 aarch64*-*-freebsd*):
2626 Initialize md_unwind_header to include aarch64-unwind.h.
2627 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2628 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2629 __aarch64__.
2630 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2631 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2632 (uw_frob_return_addr): New function.
2633 (uw_install_context): Use uw_frob_return_addr.
2634
2635 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2636
2637 PR other/79046
2638 * configure.ac: Add GCC_BASE_VER.
2639 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2640 version from BASE-VER file.
2641 * configure: Regenerated.
2642
2643 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2644
2645 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2646 libmul_f5.a): Filter archived prerequisites.
2647
2648 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2649
2650 * config/i386/cpuinfo.h (processor_features): Add
2651 FEATURE_AVX512VPOPCNTDQ.
2652 * config/i386/cpuinfo.c (get_available_features): Habdle new
2653 feature.
2654
2655 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2656
2657 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2658 payload if [__mips_nan2008].
2659
2660 2017-01-04 Alan Modra <amodra@gmail.com>
2661
2662 * Makefile.in (configure_deps): Update.
2663 * configure: Regenerate.
2664
2665 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2666
2667 Update copyright years.
2668
2669 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2670
2671 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2672 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2673 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2674
2675 2016-12-17 Matthias Klose <doko@ubuntu.com>
2676
2677 * config/arc/gmon: Remove empty directory.
2678
2679 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2680
2681 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2682 crtgend.
2683 (arc*-*-elf*): Likewise.
2684 * config/arc/t-arc: Remove old gmon lib targets.
2685 * config/arc/crtg.S: Remove.
2686 * config/arc/crtgend.S: Likewise.
2687 * config/arc/gmon/atomic.h: Likewise.
2688 * config/arc/gmon/auxreg.h: Likewise.
2689 * config/arc/gmon/dcache_linesz.S: Likewise.
2690 * config/arc/gmon/gmon.c: Likewise.
2691 * config/arc/gmon/machine-gmon.h: Likewise.
2692 * config/arc/gmon/mcount.c: Likewise.
2693 * config/arc/gmon/prof-freq-stub.S: Likewise.
2694 * config/arc/gmon/prof-freq.c: Likewise.
2695 * config/arc/gmon/profil.S: Likewise.
2696 * config/arc/gmon/sys/gmon.h: Likewise.
2697 * config/arc/gmon/sys/gmon_out.h: Likewise.
2698 * config/arc/t-arc-newlib: Likewise.
2699 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2700
2701 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2702
2703 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2704
2705 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2706
2707 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2708 R16 instead of push + pop.
2709 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2710
2711 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2712
2713 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2714 tmake_file.
2715
2716 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2717
2718 * config.host (arc*-*-linux-uclibc*): Use default extra
2719 objects. Include linux-android header.
2720 * config/arc/crti.S (_init): Declare symbol as function.
2721 (_fini): Likewise.
2722
2723 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2724
2725 PR fortran/78379
2726 * config/i386/cpuinfo.c: Move denums for processor vendors,
2727 processor type, processor subtypes and declaration of
2728 struct __processor_model into
2729 * config/i386/cpuinfo.h: New header file.
2730
2731 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2732 Thomas Preud'homme <thomas.preudhomme@arm.com>
2733
2734 * config/arm/cmse_nonsecure_call.S: New.
2735 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2736
2737 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2738 Thomas Preud'homme <thomas.preudhomme@arm.com>
2739
2740 * config/arm/t-arm (HAVE_CMSE): New.
2741 * config/arm/cmse.c: New.
2742
2743 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2744
2745 PR gcc/74748
2746 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2747 use generic linker version information on Blackfin.
2748
2749 PR gcc/74748
2750 * libgcc/mkmap-symver.awk: add support for skip_underscore
2751
2752 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2753 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2754
2755 PR target/67710
2756 * config/t-darwin: Default builds to 10.5 codegen.
2757
2758 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2759
2760 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2761 (_FP_NANSIGN_H): Likewise.
2762 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2763 (softfp_truncations): Add tfhf.
2764 (softfp_extras): Add required conversion functions.
2765
2766 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2767 Matthew Wahab <matthew.wahab@arm.com>
2768
2769 * config/arm/fp16.c (binary64): New.
2770 (__gnu_d2h_internal): New.
2771 (__gnu_d2h_ieee): New.
2772 (__gnu_d2h_alternative): New.
2773
2774 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2775 Matthew Wahab <matthew.wahab@arm.com>
2776
2777 * config/arm/fp16.c (struct format): New.
2778 (binary32): New.
2779 (__gnu_float2h_internal): New. Body moved from
2780 __gnu_f2h_internal and generalize.
2781 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2782 Call it with binary32.
2783
2784 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2785
2786 * soft-fp/extendhftf2.c: Update from glibc.
2787 * soft-fp/fixhfti.c: Likewise.
2788 * soft-fp/fixunshfti.c: Likewise.
2789 * soft-fp/floattihf.c: Likewise.
2790 * soft-fp/floatuntihf.c: Likewise.
2791 * soft-fp/half.h: Likewise.
2792 * soft-fp/trunctfhf2.c: Likewise.
2793
2794 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2795
2796 PR libgcc/77813
2797 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2798 __TMC_END__ behind a passthrough asm.
2799
2800 2016-11-18 Walter Lee <walt@tilera.com>
2801
2802 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2803
2804 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2805
2806 * config/i386/cpuinfo.c (processor_features): Add
2807 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2808
2809 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2810
2811 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2812 (__ARC_NORM__): Use instead ARC_OPTFPE.
2813 * config/arc/fp-hack.h: Likewise.
2814 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2815 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2816
2817 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2818
2819 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2820 * config/nvptx/mgomp.c: New file.
2821 * config/nvptx/t-nvptx: Add mgomp.c
2822
2823 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2824
2825 PR libgcc/68468
2826 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2827
2828 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2829
2830 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2831 of checking for cpus.
2832 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2833 (__modsi3, __clzsi2): Likewise.
2834
2835 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2836
2837 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2838 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2839 * config/i386/t-cpuinfo-static: New.
2840
2841 2016-11-03 Martin Liska <mliska@suse.cz>
2842
2843 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2844 (__gcov_time_profiler_atomic): Likewise.
2845
2846 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2847
2848 PR libgcc/78067
2849 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2850 count_leading_zeros.
2851
2852 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2853
2854 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2855 * libgcc2.c (__divmoddi4): New function.
2856 * libgcc2.h (__divmoddi4): Declare.
2857 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2858 and __PFX_divmodti4.
2859
2860 2016-10-24 Florian Weimer <fweimer@redhat.com>
2861
2862 PR libgcc/78064
2863 * unwind-c.c: Include auto-target.h.
2864
2865 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2866
2867 * config/pa/pa64-hpux-lib.h: New file.
2868 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2869 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2870 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2871 hppa*64*-*-hpux11*.
2872
2873 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2874
2875 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2876 definition.
2877 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2878 definition.
2879 * config/xtensa/t-windowed (LIB2ADDEH): Use
2880 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2881 or xtensa/t-linux.
2882
2883 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2884
2885 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2886 __ieee754_sqrt): New functions.
2887 (__divdf3): Add implementation with new FPU instructions under
2888 #if XCHAL_HAVE_DFP_DIV.
2889 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2890 __ieee754_sqrtf): New functions.
2891 (__divsf3): Add implementation with new FPU instructions under
2892 #if XCHAL_HAVE_FP_DIV.
2893 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2894 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2895
2896 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2897
2898 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2899 equivalent.
2900 * config/tilepro/atomic.c: Likewise and stop casting model to
2901 enum memmodel.
2902
2903 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2904
2905 PR target/77586
2906 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2907 soft-fp.
2908
2909 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2910
2911 * config.host: Add support for aarch64-*-freebsd*.
2912
2913 2016-10-05 Andreas Schwab <schwab@suse.de>
2914
2915 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2916 (.section .init_array): Don't call __do_jv_register_classes.
2917 (.section .init): Likewise.
2918
2919 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2920
2921 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2922 (__JCR_LIST__): Remove.
2923 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2924 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2925 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2926 * config/ia64/crtend.S (__JCR_END__): Remove.
2927 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2928 conditionals.
2929 (__JCR_LIST__, __JCR_END__): Remove.
2930 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2931 (__do_global_ctors_1): Likewise.
2932
2933 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2934
2935 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2936 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2937
2938 2016-09-27 Martin Liska <mliska@suse.cz>
2939
2940 PR gcov-profile/7970
2941 PR gcov-profile/16855
2942 PR gcov-profile/44779
2943 * libgcov-driver.c (__gcov_init): Do not register a atexit
2944 handler.
2945 (__gcov_exit): Rename from gcov_exit.
2946 * libgcov.h (__gcov_exit): Declare.
2947
2948 2016-09-27 Martin Liska <mliska@suse.cz>
2949
2950 PR bootstrap/77749
2951 * Makefile.in: Remove _gcov_merge_delta.
2952 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2953 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2954 * libgcov.h: Remove declaration of __gcov_merge_delta.
2955
2956 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2957
2958 * configure.ac: Do not create links, only substitute the filenames.
2959 * configure: Regenerate.
2960 * Makefile.in: Assign the substitution results to variables.
2961 (LIBGCC_LINKS): Define.
2962 (enable-execute-stack.c): New rule.
2963 (unwind.h): Likewise.
2964 (md-unwind-support.h): Likewise.
2965 (sfp-machine.h): Likewise.
2966 (gthr-default.h): Likewise.
2967 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2968 unwind.h as prerequisite of install-unwind_h-forbuild.
2969
2970 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2971
2972 PR libgcc/71744
2973 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2974 is not the primary registry and atomics are available.
2975 (any_objects_registered): New variable.
2976 (__register_frame_info_bases, __register_frame_info_table_bases):
2977 Atomically store 1 to any_objects_registered after registering first
2978 unwind info.
2979 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2980
2981 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2982
2983 PR target/63250
2984 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2985 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2986 (HFtype): Likewise.
2987 (HCtype): Likewise.
2988 (__divhc3): Likewise.
2989 (__mulhc3): Likewise.
2990 * libgcc2.c: Support _mulhc3 and _divhc3.
2991
2992 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2993
2994 PR libgcc/77519
2995 * libgcc2.c (NOTRUNC): Invert settings.
2996
2997 2016-09-06 Martin Liska <mliska@suse.cz>
2998
2999 PR gcov-profile/77378
3000 PR gcov-profile/77466
3001 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3002 conditionaly enable/disable *_atomic functions.
3003
3004 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3005
3006 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3007 where not already enabled.
3008
3009 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3010
3011 * config/mips/linux-unwind.h: Use sys/syscall.h.
3012
3013 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3014
3015 PR libgcc/77265
3016 * soft-fp/adddf3.c: Update from glibc.
3017 * soft-fp/addsf3.c: Likewise.
3018 * soft-fp/addtf3.c: Likewise.
3019 * soft-fp/divdf3.c: Likewise.
3020 * soft-fp/divsf3.c: Likewise.
3021 * soft-fp/divtf3.c: Likewise.
3022 * soft-fp/double.h: Likewise.
3023 * soft-fp/eqdf2.c: Likewise.
3024 * soft-fp/eqsf2.c: Likewise.
3025 * soft-fp/eqtf2.c: Likewise.
3026 * soft-fp/extenddftf2.c: Likewise.
3027 * soft-fp/extended.h: Likewise.
3028 * soft-fp/extendsfdf2.c: Likewise.
3029 * soft-fp/extendsftf2.c: Likewise.
3030 * soft-fp/extendxftf2.c: Likewise.
3031 * soft-fp/fixdfdi.c: Likewise.
3032 * soft-fp/fixdfsi.c: Likewise.
3033 * soft-fp/fixdfti.c: Likewise.
3034 * soft-fp/fixsfdi.c: Likewise.
3035 * soft-fp/fixsfsi.c: Likewise.
3036 * soft-fp/fixsfti.c: Likewise.
3037 * soft-fp/fixtfdi.c: Likewise.
3038 * soft-fp/fixtfsi.c: Likewise.
3039 * soft-fp/fixtfti.c: Likewise.
3040 * soft-fp/fixunsdfdi.c: Likewise.
3041 * soft-fp/fixunsdfsi.c: Likewise.
3042 * soft-fp/fixunsdfti.c: Likewise.
3043 * soft-fp/fixunssfdi.c: Likewise.
3044 * soft-fp/fixunssfsi.c: Likewise.
3045 * soft-fp/fixunssfti.c: Likewise.
3046 * soft-fp/fixunstfdi.c: Likewise.
3047 * soft-fp/fixunstfsi.c: Likewise.
3048 * soft-fp/fixunstfti.c: Likewise.
3049 * soft-fp/floatdidf.c: Likewise.
3050 * soft-fp/floatdisf.c: Likewise.
3051 * soft-fp/floatditf.c: Likewise.
3052 * soft-fp/floatsidf.c: Likewise.
3053 * soft-fp/floatsisf.c: Likewise.
3054 * soft-fp/floatsitf.c: Likewise.
3055 * soft-fp/floattidf.c: Likewise.
3056 * soft-fp/floattisf.c: Likewise.
3057 * soft-fp/floattitf.c: Likewise.
3058 * soft-fp/floatundidf.c: Likewise.
3059 * soft-fp/floatundisf.c: Likewise.
3060 * soft-fp/floatunditf.c: Likewise.
3061 * soft-fp/floatunsidf.c: Likewise.
3062 * soft-fp/floatunsisf.c: Likewise.
3063 * soft-fp/floatunsitf.c: Likewise.
3064 * soft-fp/floatuntidf.c: Likewise.
3065 * soft-fp/floatuntisf.c: Likewise.
3066 * soft-fp/floatuntitf.c: Likewise.
3067 * soft-fp/gedf2.c: Likewise.
3068 * soft-fp/gesf2.c: Likewise.
3069 * soft-fp/getf2.c: Likewise.
3070 * soft-fp/ledf2.c: Likewise.
3071 * soft-fp/lesf2.c: Likewise.
3072 * soft-fp/letf2.c: Likewise.
3073 * soft-fp/muldf3.c: Likewise.
3074 * soft-fp/mulsf3.c: Likewise.
3075 * soft-fp/multf3.c: Likewise.
3076 * soft-fp/negdf2.c: Likewise.
3077 * soft-fp/negsf2.c: Likewise.
3078 * soft-fp/negtf2.c: Likewise.
3079 * soft-fp/op-1.h: Likewise.
3080 * soft-fp/op-2.h: Likewise.
3081 * soft-fp/op-4.h: Likewise.
3082 * soft-fp/op-8.h: Likewise.
3083 * soft-fp/op-common.h: Likewise.
3084 * soft-fp/quad.h: Likewise.
3085 * soft-fp/single.h: Likewise.
3086 * soft-fp/soft-fp.h: Likewise.
3087 * soft-fp/subdf3.c: Likewise.
3088 * soft-fp/subsf3.c: Likewise.
3089 * soft-fp/subtf3.c: Likewise.
3090 * soft-fp/truncdfsf2.c: Likewise.
3091 * soft-fp/trunctfdf2.c: Likewise.
3092 * soft-fp/trunctfsf2.c: Likewise.
3093 * soft-fp/trunctfxf2.c: Likewise.
3094 * soft-fp/unorddf2.c: Likewise.
3095 * soft-fp/unordsf2.c: Likewise.
3096 * soft-fp/unordtf2.c: Likewise.
3097
3098 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3099
3100 PR gcov-profile/67097
3101 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3102
3103 2016-08-10 Martin Liska <mliska@suse.cz>
3104
3105 PR gcov-profile/58306
3106 * Makefile.in: New functions (modules) are added.
3107 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3108 function.
3109 (__gcov_pow2_profiler_atomic): New function.
3110 (__gcov_one_value_profiler_body): New argument is instroduced.
3111 (__gcov_one_value_profiler): Call with the new argument.
3112 (__gcov_one_value_profiler_atomic): Likewise.
3113 (__gcov_indirect_call_profiler_v2): Likewise.
3114 (__gcov_time_profiler_atomic): New function.
3115 (__gcov_average_profiler_atomic): Likewise.
3116 (__gcov_ior_profiler_atomic): Likewise.
3117 * libgcov.h: Declare the aforementioned functions.
3118
3119 2016-08-09 Martin Liska <mliska@suse.cz>
3120
3121 * libgcov-util.c: Fix typo and GNU coding style.
3122
3123 2016-08-09 Martin Liska <mliska@suse.cz>
3124
3125 * Makefile.in: Remove __gcov_indirect_call_profiler.
3126 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3127 function.
3128 * libgcov.h: And the declaration of the function.
3129
3130 2016-08-09 Martin Liska <mliska@suse.cz>
3131
3132 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3133 power of two.
3134
3135 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3136
3137 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3138 * config/rs6000/_mulkc3.c: Likewise.
3139
3140 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3141
3142 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3143 zero_reg as previous call to __umulhisi3 already cleared it.
3144
3145 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3146
3147 PR target/59833
3148 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3149
3150 2016-07-19 Nick Clifton <nickc@redhat.com>
3151
3152 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3153 Add crtinit.o and crtfini.o to extra_parts.
3154
3155 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3156
3157 * config/rs6000/_divkc3.c: New.
3158 * config/rs6000/_mulkc3.c: New.
3159 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3160 and _divkc3.
3161 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3162 fp128_ppc_funcs.
3163
3164 2016-07-11 Hale Wang <hale.wang@arm.com>
3165 Andre Vieira <andre.simoesdiasvieira@arm.com>
3166
3167 * config/arm/lib1funcs.S: Add new wrapper.
3168
3169 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3170
3171 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3172
3173 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3174
3175 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3176 and ARMv5t* rather than for a fixed list of architectures.
3177
3178 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3179
3180 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3181 implementation suitable for.
3182 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3183 for all Thumb-1 only targets.
3184 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3185 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3186 __ARM_ARCH_6M__.
3187 (EQUIV): Likewise.
3188 (ARM_FUNC_ALIAS): Likewise.
3189 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3190 version.
3191 (modsi3): Likewise.
3192 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3193 (clzdi2): Likewise.
3194 (ctzsi2): Likewise.
3195 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3196 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3197 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3198 __ARM_ARCH_6M__ and add comment to indicate the connection between
3199 this condition and the one in gcc/config/arm/elf.h.
3200 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3201 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3202 * config/arm/t-softfp: Likewise.
3203
3204 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3205
3206 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3207 CTOR_LISTS_DEFINED_EXTERNALLY.
3208
3209 2016-06-28 Walter Lee <walt@tilera.com>
3210
3211 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3212 asm/unistd.h.
3213 (SPR_CMPEXCH_VALUE): Define for tilegx.
3214 (__NR_FAST_cmpxchg): Define for tilepro.
3215 (__NR_FAST_atomic_update): Define for tilepro.
3216 (__NR_FAST_cmpxchg64): Define for tilepro.
3217
3218 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3219
3220 * config.host: Add suport for arm*-*-phoenix* targets.
3221
3222 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3223
3224 * config.host: Remove support for mep-*.
3225 * config/mep/lib1funcs.S: Remove.
3226 * config/mep/lib2funcs.c: Remove.
3227 * config/mep/t-mep: Remove.
3228 * config/mep/tramp.c: Remove.
3229
3230 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3231
3232 * config.host: Remove support for avr-rtems.
3233 * config/avr/t-rtems: Remove.
3234
3235 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3236
3237 * config.host: Remove m32r-rtems support.
3238
3239 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3240
3241 * config.host: Remove h8300-rtems support.
3242
3243 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3244
3245 * config.host: Remove support for knetbsd.
3246
3247 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3248
3249 * config.host: Remove support for openbsd 2 and 3.
3250
3251 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3252
3253 * config.host: Remove interix support.
3254 * config/i386/t-interix: Remove.
3255
3256 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3257
3258 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3259 least-significant bit in function pointer for fixup.
3260
3261 2016-06-05 Aaron Conole <aconole@redhat.com>
3262 Nathan Sidwell <nathan@acm.org>
3263
3264 PR libgcc/71400
3265 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3266 (get_gcov_error_file): Check __gcov_error_file before trying to
3267 initialize it.
3268 (gcov_error): Always use get_gcov_error_file.
3269
3270 2016-06-02 Aaron Conole <aconole@redhat.com>
3271
3272 * libgcov-driver-system.c (__gcov_error_file): New.
3273 (get_gcov_error_file): New.
3274 (gcov_error): Use and set __gcov_error_file.
3275 (gcov_error_exit): New.
3276 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3277
3278 2016-05-26 Nathan Sidwell <nathan@acm.org>
3279
3280 * config/nvptx/free.asm: Delete.
3281 * config/nvptx/malloc.asm: Delete.
3282 * config/nvptx/realloc.c: Delete.
3283 * t-nvptx: Update.
3284
3285 2016-05-25 Nathan Sidwell <nathan@acm.org>
3286
3287 * config/nvptx/crt0.s: Delete.
3288 * config/nvptx/crt0.c: New.
3289 * t-nvptx: Update.
3290
3291 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3292
3293 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3294 dw2/seh configuration.
3295 [x86_64-*-mingw*]: Likewise.
3296
3297 2016-05-10 Joel Sherrill <joel@rtems.org>
3298
3299 PR libgcc/70720
3300 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3301 targets so the same extra_parts are built. Also have tmake_file add
3302 on to its value rather than override.
3303
3304 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3305
3306 * config.host: Remove SH5 support.
3307 * configure: Likewise.
3308
3309 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3310
3311 * config/sh/crt1.S: Remove SH5 support.
3312 * config/sh/crti.S: Likewise.
3313 * config/sh/crtn.S: Likewise.
3314 * config/sh/lib1funcs-4-300.S: Likewise.
3315 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3316 * config/sh/lib1funcs.S: Likewise.
3317 * config/sh/linux-unwind.h: Likewise.
3318 * config/sh/t-sh64: Delete.
3319
3320 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3321
3322 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3323
3324 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3325 Joern Rennecke <joern.rennecke@embecosm.com>
3326
3327 * config/arc/crttls.S: New file.
3328 * config/arc/t-arc: New rule.
3329 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3330
3331 2016-04-25 Nick Clifton <nickc@redhat.com>
3332
3333 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3334 (__mspabi_cmpd): Likewise.
3335 * config/msp430/floathidf.c (__floathidf): Likewise.
3336 * config/msp430/floathisf.c (__floathisf): Likewise
3337 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3338 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3339 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3340 second parameter.
3341 (__ashrsi3): Likewise.
3342
3343 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3344
3345 * config/m68k/linux-atomic.c: Do not include unistd.h
3346
3347 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3348
3349 * config/arm/ieee754-df.S: Fix typos in comments.
3350
3351 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3352
3353 PR target/70381
3354 * configure.ac (powerpc*-*-linux*): Rework tests to build
3355 __float128 emulation routines to not depend on using #pragma GCC
3356 target to enable -mfloat128.
3357 * configure: Regnerate.
3358
3359 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3360
3361 PR target/67172
3362 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3363 __MINGW32__ is defined.
3364
3365 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3366
3367 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3368
3369 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3370
3371 PR libgcc/70363
3372 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3373 built with an assembler that does not support ISA 3.0
3374 instructions, rename __extendkftf2_sw to __extendkftf2.
3375
3376 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3377
3378 PR target/38239
3379 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3380 call-clobbered registers.
3381 (internal_mcount): Remove __i386__ handling.
3382
3383 2016-02-26 Joel Sherrill <joel@rtems.org>
3384
3385 * config.host: Add x86_64-*-rtems*.
3386
3387 2016-02-26 Joel Sherrill <joel@rtems.org>
3388
3389 * libgcc/config.host: Add aarch64-*-rtems*.
3390
3391 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3392 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3393
3394 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3395 union of u64 and double.
3396 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3397 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3398 value.
3399 (FP_ROUNDMODE): Update the usage of _fpscr.
3400
3401 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3402
3403 PR driver/68463
3404 * Makefile.in (crtoffloadtable$(objext)): New rule.
3405 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3406 enable_offload_targets is not empty.
3407 * configure: Regenerate.
3408 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3409 crtoffloadtable.
3410
3411 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3412
3413 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3414 .literal_position before the function.
3415 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3416 Likewise.
3417
3418 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3419
3420 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3421 * config/s390/morestack.S: New file.
3422 * config/s390/t-stack-s390: New file.
3423 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3424
3425 2016-02-12 Walter Lee <walt@tilera.com>
3426
3427 * config.host (tilegx*-*-linux*): remove ti from
3428 softfp_int_modes for 32-bit configs.
3429
3430 2016-02-10 Ian Lance Taylor <iant@google.com>
3431
3432 PR go/68562
3433 * config/i386/morestack.S (__stack_split_initialize): Align
3434 stack.
3435
3436 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3437
3438 PR bootstrap/69611
3439 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3440 __FLOAT128__ to compile only for __float128 capable targets.
3441
3442 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3443
3444 PR target/69444
3445 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3446 instead of ___NO_FPRS__.
3447
3448 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3449 Steven Munroe <munroesj@linux.vnet.ibm.com>
3450 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3451
3452 * config/rs6000/float128-sed: New files to convert TF names to KF
3453 names for PowerPC IEEE 128-bit floating point support.
3454 * config/rs6000/float128-sed-hw: Likewise.
3455
3456 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3457 floating point hardware support.
3458
3459 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3460 128-bit floating point software emulation or use ISA 3.0 hardware
3461 support if it is available.
3462
3463 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3464 floating point.
3465
3466 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3467 floating point to IBM extended double.
3468
3469 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3470 double to IEEE 128-bit floating point.
3471
3472 * config/rs6000/t-float128: New Makefile fragments to enable
3473 building __float128 emulation support.
3474 * config/rs6000/t-float128-hw: Likewise.
3475
3476 * config/rs6000/sfp-exceptions.c: New file to provide exception
3477 support for IEEE 128-bit floating point.
3478
3479 * config/rs6000/floattikf.c: New files for converting between IEEE
3480 128-bit floating point and signed/unsigned 128-bit integers.
3481 * config/rs6000/fixunskfti.c: Likewise.
3482 * config/rs6000/fixkfti.c: Likewise.
3483 * config/rs6000/floatuntikf.c: Likewise.
3484
3485 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3486 when building on 64-bit systems, or when VSX is enabled.
3487 (_FP_W_TYPE): Likewise.
3488 (_FP_WS_TYPE): Likewise.
3489 (_FP_I_TYPE): Likewise.
3490 (TItype): Define on 64-bit systems.
3491 (UTItype): Likewise.
3492 (TI_BITS): Likewise.
3493 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3494 (_FP_MUL_MEAT_Q): Likewise.
3495 (_FP_DIV_MEAT_D): Likewise.
3496 (_FP_DIV_MEAT_Q): Likewise.
3497 (_FP_NANFRAC_D): Likewise.
3498 (_FP_NANFRAC_Q): Likewise.
3499 (ISA_BIT): Add exception support if we are being compiled on a
3500 machine with hardware floating point support to build the IEEE
3501 128-bit emulation functions.
3502 (FP_EX_INVALID): Likewise.
3503 (FP_EX_OVERFLOW): Likewise.
3504 (FP_EX_UNDERFLOW): Likewise.
3505 (FP_EX_DIVZERO): Likewise.
3506 (FP_EX_INEXACT): Likewise.
3507 (FP_EX_ALL): Likewise.
3508 (__sfp_handle_exceptions): Likewise.
3509 (FP_HANDLE_EXCEPTIONS): Likewise.
3510 (FP_RND_NEAREST): Likewise.
3511 (FP_RND_ZERO): Likewise.
3512 (FP_RND_PINF): Likewise.
3513 (FP_RND_MINF): Likewise.
3514 (FP_RND_MASK): Likewise.
3515 (_FP_DECL_EX): Likewise.
3516 (FP_INIT_ROUNDMODE): Likewise.
3517 (FP_ROUNDMODE): Likewise.
3518
3519 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3520 VSX code, enable IEEE 128-bit floating point. If the compiler can
3521 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3522 floating point hardware instructions and it supports declaring
3523 functions with the ifunc attribute, enable ifunc functions to
3524 switch between software and hardware support.
3525 * configure.ac (powerpc*-*-linux*): Likewise.
3526 * configure: Regenerate.
3527
3528 2016-01-15 Nick Clifton <nickc@redhat.com>
3529
3530 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3531 dependency as the source file to be compiled.
3532 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3533 (lib2hw_mul_f5.o): Likewise.
3534
3535 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3536
3537 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3538 * libgcc/config/rs6000/fixkfti.c: Likewise.
3539 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3540 * libgcc/config/rs6000/float128-hw.c: Likewise.
3541 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3542 * libgcc/config/rs6000/float128-sed: Likewise.
3543 * libgcc/config/rs6000/floattikf.c: Likewise.
3544 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3545 * libgcc/config/rs6000/quad-float128.h: Likewise.
3546 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3547 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3548 * libgcc/config/rs6000/t-float128: Likewise.
3549 * libgcc/config/rs6000/t-float128-hw: Likewise.
3550 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3551 * libgcc/config.host: Likewise.
3552 * libgcc/configure: Likewise.
3553 * libgcc/configure.ac: Likewise.
3554
3555 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3556 Steven Munroe <munroesj@linux.vnet.ibm.com>
3557 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3558
3559 * config/rs6000/sfp-exceptions.c: New file to provide exception
3560 support for IEEE 128-bit floating point.
3561
3562 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3563 floating point hardware support.
3564
3565 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3566 point conversions.
3567 * config/rs6000/fixunskfti.c: Likewise.
3568 * config/rs6000/fixkfti.c: Likewise.
3569 * config/rs6000/floatuntikf.c: Likewise.
3570 * config/rs6000/extendkftf2-sw.c: Likewise.
3571 * config/rs6000/trunctfkf2-sw.c: Likewise.
3572
3573 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3574 128-bit floating point software emulation or use ISA 3.0 hardware
3575 support if it is available.
3576
3577 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3578 floating point.
3579
3580 * config/rs6000/t-float128: New Makefile fragments to enable
3581 building __float128 emulation support.
3582 * config/rs6000/t-float128-hw: Likewise.
3583
3584 * config/rs6000/float128-sed: New file to convert TF names to KF
3585 names for PowerPC IEEE 128-bit floating point support.
3586
3587 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3588 when building on 64-bit systems, or when VSX is enabled.
3589 (_FP_W_TYPE): Likewise.
3590 (_FP_WS_TYPE): Likewise.
3591 (_FP_I_TYPE): Likewise.
3592 (TItype): Define on 64-bit systems.
3593 (UTItype): Likewise.
3594 (TI_BITS): Likewise.
3595 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3596 (_FP_MUL_MEAT_Q): Likewise.
3597 (_FP_DIV_MEAT_D): Likewise.
3598 (_FP_DIV_MEAT_Q): Likewise.
3599 (_FP_NANFRAC_D): Likewise.
3600 (_FP_NANFRAC_Q): Likewise.
3601 (ISA_BIT): Add exception support if we are being compiled on a
3602 machine with hardware floating point support to build the IEEE
3603 128-bit emulation functions.
3604 (FP_EX_INVALID): Likewise.
3605 (FP_EX_OVERFLOW): Likewise.
3606 (FP_EX_UNDERFLOW): Likewise.
3607 (FP_EX_DIVZERO): Likewise.
3608 (FP_EX_INEXACT): Likewise.
3609 (FP_EX_ALL): Likewise.
3610 (__sfp_handle_exceptions): Likewise.
3611 (FP_HANDLE_EXCEPTIONS): Likewise.
3612 (FP_RND_NEAREST): Likewise.
3613 (FP_RND_ZERO): Likewise.
3614 (FP_RND_PINF): Likewise.
3615 (FP_RND_MINF): Likewise.
3616 (FP_RND_MASK): Likewise.
3617 (_FP_DECL_EX): Likewise.
3618 (FP_INIT_ROUNDMODE): Likewise.
3619 (FP_ROUNDMODE): Likewise.
3620
3621 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3622 compiler can do __float128.
3623 * configure: Regenerate.
3624
3625 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3626 VSX code, enable IEEE 128-bit floating point.
3627
3628 2016-01-05 Olivier Hainque <hainque@adacore.com>
3629
3630 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3631 specificities.
3632
3633 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3634
3635 Update copyright years.
3636
3637 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3638
3639 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3640 soft-fp targets.
3641
3642 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3643
3644 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3645 instead of abort to avoid dependency on stdlib.h.
3646
3647 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3648
3649 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3650 to initialize call to __dl_fixup once.
3651
3652 2015-12-04 Nick Clifton <nickc@redhat.com>
3653
3654 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3655 Allow for the second argument being negative.
3656 * config.host (extra_parts): Define for MSP430. Create separate
3657 libraries for each of the hardware multiply formats.
3658 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3659 that are needed.
3660 * config/msp430/lib2mul.c: Likewise.
3661 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3662 Add rules to build hardware multiply libraries.
3663 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3664 __mspabi_divul function.
3665 (__mspabi_divllu): New stub function.
3666
3667 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3668
3669 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3670 fixup values if saved GOT address doesn't match runtime address.
3671 (fixup_branch_offset): Reorder list.
3672
3673 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3674
3675 * Makefile.in (VTV_CFLAGS): New variable.
3676 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3677 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3678 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3679 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3680 to extra_parts if $enable_vtable_verify = yes.
3681
3682 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3683
3684 PR target/68059
3685 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3686 (write): ...this and fix the return type.
3687
3688 2015-11-19 DJ Delorie <dj@redhat.com>
3689
3690 * config/msp430/lib2hw_mul.S: Fix alignment.
3691
3692 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3693
3694 * config/nvptx/reduction.c: New.
3695 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3696
3697 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3698
3699 * config/rs6000/on_exit.c: New file.
3700 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3701 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3702
3703 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3704
3705 * config/arc/dp-hack.h: Add support for ARCHS.
3706 * config/arc/ieee-754/divdf3.S: Likewise.
3707 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3708 * config/arc/ieee-754/muldf3.S: Likewise.
3709 * config/arc/ieee-754/mulsf3.S: Likewise
3710 * config/arc/lib1funcs.S: Likewise
3711 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3712 for ARCv2 cores.
3713 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3714 for ARCv2 cores.
3715 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3716 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3717 cores.
3718
3719 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3720
3721 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3722 value.
3723 * config/ia64/crtend.S: Likewise.
3724
3725 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3726
3727 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3728 __CHAR_BIT__ instead of BITS_PER_UNIT.
3729 * fixed-bit.h: Likewise.
3730 * fp-bit.h: Likewise.
3731 * libgcc2.c (__popcountSI2): Likewise.
3732 (__popcountDI2): Likewise.
3733 * libgcc2.h: Likewise.
3734 * libgcov.h: Likewise.
3735
3736 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3737
3738 * config/rs6000/atexit.c: New file.
3739 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3740 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3741 * config/rs6000/cxa_finalize.c
3742 (catomic_compare_and_exchange_bool_acq): Negate return value.
3743
3744 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3745
3746 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3747 (processor_subtypes): Add znver1.
3748 (get_amd_cpu): Detect znver1.
3749
3750 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3751
3752 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3753 Include crtfastmath.o.
3754
3755 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3756
3757 PR libgcc/66883
3758 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3759
3760 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3761
3762 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3763 * config/rl78/divmodsi.S: Update return register to r8.
3764 * config/rl78/divmodhi.S: Update return register to r8,r9.
3765 Branch to main_loop_done_himode to pop registers before return.
3766
3767 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3768
3769 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3770 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3771
3772 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3773
3774 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3775
3776 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3777
3778 * config.host (xtensa*-*-uclinux*): New configuration.
3779
3780 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3781
3782 * config/i386/cpuinfo.c (processor_features): Add
3783 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3784
3785 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3786
3787 * soft-fp/adddf3.c: Update from glibc.
3788 * soft-fp/addsf3.c: Likewise.
3789 * soft-fp/addtf3.c: Likewise.
3790 * soft-fp/divdf3.c: Likewise.
3791 * soft-fp/divsf3.c: Likewise.
3792 * soft-fp/divtf3.c: Likewise.
3793 * soft-fp/double.h: Likewise.
3794 * soft-fp/eqdf2.c: Likewise.
3795 * soft-fp/eqsf2.c: Likewise.
3796 * soft-fp/eqtf2.c: Likewise.
3797 * soft-fp/extenddftf2.c: Likewise.
3798 * soft-fp/extended.h: Likewise.
3799 * soft-fp/extendsfdf2.c: Likewise.
3800 * soft-fp/extendsftf2.c: Likewise.
3801 * soft-fp/extendxftf2.c: Likewise.
3802 * soft-fp/fixdfdi.c: Likewise.
3803 * soft-fp/fixdfsi.c: Likewise.
3804 * soft-fp/fixdfti.c: Likewise.
3805 * soft-fp/fixsfdi.c: Likewise.
3806 * soft-fp/fixsfsi.c: Likewise.
3807 * soft-fp/fixsfti.c: Likewise.
3808 * soft-fp/fixtfdi.c: Likewise.
3809 * soft-fp/fixtfsi.c: Likewise.
3810 * soft-fp/fixtfti.c: Likewise.
3811 * soft-fp/fixunsdfdi.c: Likewise.
3812 * soft-fp/fixunsdfsi.c: Likewise.
3813 * soft-fp/fixunsdfti.c: Likewise.
3814 * soft-fp/fixunssfdi.c: Likewise.
3815 * soft-fp/fixunssfsi.c: Likewise.
3816 * soft-fp/fixunssfti.c: Likewise.
3817 * soft-fp/fixunstfdi.c: Likewise.
3818 * soft-fp/fixunstfsi.c: Likewise.
3819 * soft-fp/fixunstfti.c: Likewise.
3820 * soft-fp/floatdidf.c: Likewise.
3821 * soft-fp/floatdisf.c: Likewise.
3822 * soft-fp/floatditf.c: Likewise.
3823 * soft-fp/floatsidf.c: Likewise.
3824 * soft-fp/floatsisf.c: Likewise.
3825 * soft-fp/floatsitf.c: Likewise.
3826 * soft-fp/floattidf.c: Likewise.
3827 * soft-fp/floattisf.c: Likewise.
3828 * soft-fp/floattitf.c: Likewise.
3829 * soft-fp/floatundidf.c: Likewise.
3830 * soft-fp/floatundisf.c: Likewise.
3831 * soft-fp/floatunditf.c: Likewise.
3832 * soft-fp/floatunsidf.c: Likewise.
3833 * soft-fp/floatunsisf.c: Likewise.
3834 * soft-fp/floatunsitf.c: Likewise.
3835 * soft-fp/floatuntidf.c: Likewise.
3836 * soft-fp/floatuntisf.c: Likewise.
3837 * soft-fp/floatuntitf.c: Likewise.
3838 * soft-fp/gedf2.c: Likewise.
3839 * soft-fp/gesf2.c: Likewise.
3840 * soft-fp/getf2.c: Likewise.
3841 * soft-fp/ledf2.c: Likewise.
3842 * soft-fp/lesf2.c: Likewise.
3843 * soft-fp/letf2.c: Likewise.
3844 * soft-fp/muldf3.c: Likewise.
3845 * soft-fp/mulsf3.c: Likewise.
3846 * soft-fp/multf3.c: Likewise.
3847 * soft-fp/negdf2.c: Likewise.
3848 * soft-fp/negsf2.c: Likewise.
3849 * soft-fp/negtf2.c: Likewise.
3850 * soft-fp/op-1.h: Likewise.
3851 * soft-fp/op-2.h: Likewise.
3852 * soft-fp/op-4.h: Likewise.
3853 * soft-fp/op-8.h: Likewise.
3854 * soft-fp/op-common.h: Likewise.
3855 * soft-fp/quad.h: Likewise.
3856 * soft-fp/single.h: Likewise.
3857 * soft-fp/soft-fp.h: Likewise.
3858 * soft-fp/subdf3.c: Likewise.
3859 * soft-fp/subsf3.c: Likewise.
3860 * soft-fp/subtf3.c: Likewise.
3861 * soft-fp/truncdfsf2.c: Likewise.
3862 * soft-fp/trunctfdf2.c: Likewise.
3863 * soft-fp/trunctfsf2.c: Likewise.
3864 * soft-fp/trunctfxf2.c: Likewise.
3865 * soft-fp/unorddf2.c: Likewise.
3866 * soft-fp/unordsf2.c: Likewise.
3867 * soft-fp/unordtf2.c: Likewise.
3868
3869 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3870
3871 PR libgcc/67624
3872 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3873
3874 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3875
3876 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3877 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3878 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3879 messages.
3880 (internal_mcount): Likewise.
3881 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3882 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3883
3884 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3885
3886 * configure.ac (libgcc_cv_solaris_crts): New test.
3887 * configure: Regenerate.
3888 * config.in: Regenerate.
3889 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3890 * config/gmon-sol2.c: Rename to ...
3891 * config/sol2/gmon.c: ... this.
3892 Include auto-target.h.
3893 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3894 * config/t-sol2: Rename to ...
3895 * config/sol2/t-sol2: ... this.
3896 (gmon.o): Reflect renaming.
3897 (crtp.o, crtpg.o): New rules.
3898 * config.host (*-*-solaris2*): Reflect renaming.
3899 Use system CRTs if present.
3900 Remove default CRT case.
3901
3902 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3903
3904 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3905 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3906 __kernel_cmpxchg2.
3907 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3908 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3909 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3910 (__sync_lock_test_and_set_##WIDTH): Likewise.
3911 (__sync_lock_release_##WIDTH): Likewise.
3912 (__sync_fetch_and_##OP##_4): Change result to match type of
3913 __kernel_cmpxchg.
3914 (__sync_##OP##_and_fetch_4): Likewise.
3915 (__sync_val_compare_and_swap_4): Likewise.
3916 (__sync_bool_compare_and_swap_4): likewise.
3917 (__sync_lock_test_and_set_4): Likewise.
3918 (__sync_lock_release_4): Likewise.
3919 (FETCH_AND_OP_2): Add long long variants.
3920 (OP_AND_FETCH_2): Likewise.
3921 (COMPARE_AND_SWAP_2 ): Likewise.
3922 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3923 (SYNC_LOCK_RELEASE_2): Likewise.
3924 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3925
3926 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3927
3928 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3929 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3930 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3931 (get_available_features): Habdle new features.
3932
3933 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3934
3935 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3936 memory layout. Deal correctly with BSS region larger than 32K.
3937 Handle a watchdog reset like a power-on reset. Clean up unused
3938 code.
3939
3940 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3941 David Edelsohn <dje.gcc@gmail.com>
3942
3943 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3944 * config/rs6000/crtdbase.S: New file.
3945 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3946
3947 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3948
3949 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3950 Add support for call0 ABI.
3951
3952 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3953
3954 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3955
3956 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3957
3958 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3959 (__GTHREAD_HAS_COND): Likewise.
3960 (__gthread_t): Likewise.
3961 (__gthread_cond_t): Likewise.
3962 (__gthread_time_t): Likewise.
3963 (__GTHREAD_MUTEX_INIT): Likewise.
3964 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3965 (__GTHREAD_COND_INIT): Likewise.
3966 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3967 (__GTHREAD_TIME_INIT): Likewise.
3968 (__gthread_create): Likewise.
3969 (__gthread_join): Likewise.
3970 (__gthread_detach): Likewise.
3971 (__gthread_equal): Likewise.
3972 (__gthread_self): Likewise.
3973 (__gthread_yield): Likewise.
3974 (__gthread_cond_broadcast): Likewise.
3975 (__gthread_cond_signal): Likewise.
3976 (__gthread_cond_wait): Likewise.
3977 (__gthread_cond_timedwait): Likewise.
3978 (__gthread_cond_wait_recursive): Likewise.
3979 (__gthread_cond_destroy): Likewise.
3980 (rtems_gxx_once): Delete.
3981 (rtems_gxx_key_create): Likewise.
3982 (rtems_gxx_key_delete): Likewise.
3983 (rtems_gxx_getspecific): Likewise.
3984 (rtems_gxx_setspecific): Likewise.
3985 (rtems_gxx_mutex_init): Likewise.
3986 (rtems_gxx_mutex_destroy): Likewise.
3987 (rtems_gxx_mutex_lock): Likewise.
3988 (rtems_gxx_mutex_trylock): Likewise.
3989 (rtems_gxx_mutex_unlock): Likewise.
3990 (rtems_gxx_recursive_mutex_init): Likewise.
3991 (rtems_gxx_recursive_mutex_lock): Likewise.
3992 (rtems_gxx_recursive_mutex_trylock): Likewise.
3993 (rtems_gxx_recursive_mutex_unlock): Likewise.
3994 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3995 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3996 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3997 (__gthread_once): Likewise.
3998 (__gthread_key_create): Likewise.
3999 (__gthread_key_delete): Likewise.
4000 (__gthread_getspecific): Likewise.
4001 (__gthread_setspecific): Likewise.
4002 (__gthread_key_t): Use <pthread.h> type.
4003 (__gthread_once_t): Likewise
4004 (__gthread_mutex_t): Use <sys/lock.h> type.
4005 (__gthread_recursive_mutex_t): Likewise
4006 (__gthread_mutex_lock): Use <sys/lock.h> function.
4007 (__gthread_mutex_trylock): Likewise.
4008 (__gthread_mutex_timedlock): Likewise.
4009 (__gthread_mutex_unlock): Likewise.
4010 (__gthread_mutex_destroy): Likewise.
4011 (__gthread_recursive_mutex_lock): Likewise.
4012 (__gthread_recursive_mutex_trylock): Likewise.
4013 (__gthread_recursive_mutex_timedlock): Likewise.
4014 (__gthread_recursive_mutex_unlock): Likewise.
4015 (__gthread_recursive_mutex_destroy): Likewise.
4016
4017 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4018
4019 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4020 context->sp instead of context->cfa.
4021
4022 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4023
4024 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4025 with unwind-dw2-fde-dip.
4026
4027 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4028
4029 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4030 CALL12 followed by series of ENTRY to spill windowed registers.
4031 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4032 instead of making linux spill syscall.
4033
4034 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4035
4036 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4037 (get_intel_cpu): Likewise.
4038
4039 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4040
4041 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4042 (get_intel_cpu): Add Knights Landing support.
4043
4044 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4045
4046 PR target/66954
4047 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4048 (get_available_features): Handle FEATURE_PCLMUL.
4049
4050 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4053 Broadwell.
4054
4055 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4056
4057 PR target/66954
4058 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4059 (get_available_features): Handle FEATURE_AES.
4060
4061 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4062
4063 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4064 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4065
4066 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4067
4068 * offloadstuff.c: Constify host data.
4069
4070 2015-07-17 Jan Beulich <jbeulich@suse.com>
4071
4072 * config/t-softfp: Split up "else ifneq".
4073
4074 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4075 Cesar Philippidis <cesar@codesourcery.com>
4076 Chung-Lin Tang <cltang@codesourcery.com>
4077
4078 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4079 for __nios2_arch__ level.
4080
4081 2015-07-13 John Marino <gnugcc@marino.st>
4082
4083 * config/i386/t-dragonfly: New.
4084
4085 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4086
4087 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4088 better match light-weight syscall argument order.
4089 (__kernel_cmpxchg2): Likewise.
4090 Adjust callers.
4091
4092 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4093
4094 * config.host: Support i[34567]86-*-elfiamcu target.
4095 * config/t-softfp-sfdftf: New file.
4096 * config/i386/32/t-iamcu: Likewise.
4097 * configure: Regenerated.
4098
4099 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4100
4101 libgcc/config/arm/
4102 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4103
4104 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4105
4106 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4107
4108 2015-05-27 John Marino <gnugcc@marino.st>
4109
4110 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4111 md_unwind_header
4112 * config/i386/freebsd-unwind.h: New.
4113
4114 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4115
4116 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4117 i386/t-crtfm to tmake_file.
4118 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4119 (set_fast_math): Use set_fast_math_sse for SSE targets.
4120 * config/i386/t-crtfm: Remove.
4121
4122 2015-05-21 Alan Modra <amodra@gmail.com>
4123
4124 PR libgcc/66225
4125 * config/rs6000/morestack.S: Remove ".abiversion 1".
4126
4127 2015-05-20 Alan Modra <amodra@gmail.com>
4128
4129 * config/rs6000/morestack.S: New.
4130 * config/rs6000/t-stack-rs6000: New.
4131 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4132 to tmake_file.
4133 * generic-morestack.c: Don't build for powerpc 32-bit.
4134
4135 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4136
4137 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4138 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4139
4140 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4141
4142 * config.host: FT32 target added.
4143 * config/ft32/*: New files for FT32 target.
4144
4145 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4146
4147 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4148 New macros.
4149 * config/arm/ieee754-df.S: Add CFI directives.
4150 * config/arm/ieee754-sf.S: Add CFI directives.
4151
4152 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4153
4154 * configure.ac: Include config/sjlj.m4.
4155 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4156 * config.in: Regenerate.
4157 * configure: Likewise.
4158 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4159
4160 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4161
4162 * libgcov-util.c: Add space between string literal and macro name.
4163
4164 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4165 Chris Jones <chrisj@nvidia.com>
4166 Joshua Conner <jconner@nvidia.com>
4167
4168 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4169 (arm*-*-uclinux*): Likewise.
4170 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4171 * config/arm/crtfastmath.c: New file.
4172
4173 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4174
4175 * Makefile.in (real_host_noncanonical): New variable.
4176 (libsubdir): Use it.
4177 * configure.ac (real_host_noncanonical): Compute. Remove special
4178 case for intelmicemul.
4179 * configure: Regenerate.
4180
4181 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4182
4183 * config/frv/elf-lib.h: New file.
4184 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4185 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4186 to tm_file.
4187
4188 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4189
4190 * config/frv/frvbengin.c: Do not include defaults.h
4191 * config/frv/frvend.c: Ditto.
4192
4193 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4194
4195 * config.host: Add h8300-*-linux
4196 * config/h8300/t-linux: New file.
4197 * config/h8300/lib1funs.s: Change symbol prefix.
4198 * config/h8300/sfp-machine.h: 64bit double support.
4199
4200 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4201 Szabolcs Nagy <szabolcs.nagy@arm.com>
4202
4203 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4204 Linux if target provides dl_iterate_phdr.
4205
4206 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4207
4208 PR target/65612
4209 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4210 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4211 (__cpu_indicator_init@GCC_4.8.0): New.
4212 (__cpu_model@GCC_4.8.0): Likewise.
4213 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4214 -DUSE_ELF_SYMVER.
4215
4216 2015-04-16 Nick Clifton <nickc@redhat.com>
4217
4218 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4219 and __modhi3 functions.
4220 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4221 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4222
4223 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4224
4225 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4226 do-while loop as macro body to avoid warnings.
4227
4228 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4229 Iain Sandoe <iain@codesourcery.com>
4230
4231 PR target/65351
4232 * configure: Regenerate.
4233
4234 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4235 Iain Sandoe <iain@codesourcery.com>
4236
4237 PR target/65351
4238 * configure: Regenerate.
4239
4240 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4241
4242 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4243
4244 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4245
4246 Implement call0 ABI for xtensa
4247 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4248 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4249 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4250 use ret in call0 ABI.
4251 * config/xtensa/t-windowed: New file.
4252 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4253 * libgcc/configure: Regenerated.
4254 * libgcc/configure.ac: Check if xtensa target is configured for
4255 windowed ABI and thus needs to use custom unwind code.
4256
4257 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4258
4259 PR libgcc/64885
4260 * gthr-single.h: Use __unused__ attribute instead of unused.
4261 * config/gthr-vxworks.h: Likewise.
4262 * config/i386/gthr-win32.h: Likewise.
4263
4264 2015-02-27 Kai Tietz <ktietz@redhat.com>
4265
4266 PR target/65038
4267 * config.in: Regenerated.
4268 * configure: Likewise.
4269 * configure.ac (AC_HEADER_STDC): Added explicit.
4270 (AC_CHECK_HEADERS): Check for default headers plus
4271 for ftw.h header.
4272 * libgcov-util.c (gcov_read_profile_dir): Disable use
4273 of ftw-function, if header is not found.
4274 (ftw_read_file): Likewise.
4275
4276 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4277
4278 PR target/65181
4279 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4280 -Dinhibit_libc.
4281
4282 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4283
4284 * config/arm/bpabi.S (test_div_by_zero): Make label names
4285 consistent between thumb2 and arm mode cases. Separate the
4286 signed comparison on the high word of the numerator from the
4287 unsigned comparison on the low word.
4288 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4289 signed comparison.
4290
4291 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4292
4293 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4294 and <string.h>.
4295 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4296
4297 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4298
4299 PR gcov-profile/61889
4300 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4301
4302 2015-02-02 Nick Clifton <nickc@redhat.com>
4303
4304 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4305 rounding up the fraction.
4306
4307 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4308
4309 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4310 oldval and newval to const void *. Fix typo.
4311 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4312 (FETCH_AND_OP_WORD): Likewise.
4313 (OP_AND_FETCH_WORD): Likewise.
4314 (COMPARE_AND_SWAP_2): Likewise.
4315 (__sync_val_compare_and_swap_4): Likewise.
4316 (__sync_lock_test_and_set_4): Likewise.
4317 (SYNC_LOCK_RELEASE_2): Likewise.
4318 Remove support for long long atomic operations.
4319
4320 2015-01-27 Caroline Tice <cmtice@google.com>
4321
4322 Committing VTV Cywin/Ming patch for Patrick Wollgast
4323 * Makefile.in: Move rules to build vtv_*.o out of the check
4324 for CUSTOM_CRTSTUFF.
4325 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4326 i[34567]86-*-mingw*)
4327 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4328 enable_vtable_verify.
4329
4330 2015-01-27 Nick Clifton <nickc@redhat.com>
4331
4332 * config/rl78/cmpsi2.S: Use function start and end macros.
4333 (__gcc_bcmp): New function.
4334 * config/rl78/lshrsi3.S: Use function start and end macros.
4335 * config/rl78/mulsi3.S: Add support for G10.
4336 (__mulqi3): New function for G10.
4337 * config/rl78/signbit.S: Use function start and end macros.
4338 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4339 fpmath-sf.S.
4340 (LIB2FUNCS_EXCLUDE): Define.
4341 (LIB2FUNCS_ST): Define.
4342 * config/rl78/trampoline.S: Use function start and end macros.
4343 * config/rl78/vregs.h (START_FUNC): New macro.
4344 (START_ANOTHER_FUNC): New macro.
4345 (END_FUNC): New macro.
4346 (END_ANOTHER_FUNC): New macro.
4347 * config/rl78/bit-count.S: New file. Contains assembler
4348 implementations of the bit counting functions: ___clzhi2,
4349 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4350 __paritysi2, __popcounthi2 and __popcountsi2.
4351 * config/rl78/fpbit-sf.S: New file. Contains assembler
4352 implementationas of the math functions: __negsf2, __cmpsf2,
4353 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4354 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4355 * config/rl78/fpmath-sf.S: New file. Contains assembler
4356 implementations of the math functions: __subsf3, __addsf3,
4357 __mulsf3 and __divsf3
4358
4359 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4360
4361 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4362 Add i386/elf-lib.h to tm_file.
4363 * config/i386/elf-lib.h: Fix comment.
4364 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4365 && __sun__ && __svr4__]: Remove workaround.
4366
4367 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4368
4369 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4370 FEATURE_BMI2.
4371 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4372
4373 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4374
4375 * config/i386/cpuinfo.c (processor_subtypes): Add
4376 INTEL_COREI7_BROADWELL.
4377 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4378 model numbers.
4379
4380 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4381
4382 * config/i386/elf-lib.h: New file.
4383 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4384 Wrap definition in #ifdef __i386__.
4385 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4386 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4387 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4388 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4389 to tm_file.
4390
4391 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4392
4393 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4394 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4395
4396 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4397
4398 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4399 Update rt_sigframe format and address for current Nios II
4400 Linux conventions.
4401
4402 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4403
4404 * config.host (arm*-*-freebsd*): Add new configuration for
4405 arm*-*-freebsd*.
4406 * config/arm/freebsd-atomic.c: New file.
4407 * config/arm/t-freebsd: Likewise.
4408 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4409 'PC-relative indirect' OS's.
4410
4411 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4412
4413 * config.host: Add Visium support.
4414 * config/visium: New directory.
4415
4416 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4417
4418 Update copyright years.
4419
4420 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4421
4422 * config.host: Support mipsisa32r6 and mipsisa64r6.
4423 * config/mips/mips16.S: Do not build for R6.
4424
4425 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4426
4427 * config/sh/crt.h: New.
4428 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4429 symbols.
4430 * config/sh/crt1.S: Likewise.
4431
4432 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4433
4434 PR libgcc/63832
4435 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4436 func_ptr *dtor_list temporary variable to avoid "array subscript
4437 is above array bounds" warnings.
4438
4439 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4440
4441 * Makefile.in (with_aix_soname): Define.
4442 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4443 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4444 * configure: Recreate.
4445
4446 2014-12-05 Olivier Hainque <hainque@adacore.com>
4447
4448 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4449 now provided by defaults.h.
4450
4451 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4452
4453 PR target/55351
4454 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4455 whether it's defined.
4456
4457 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4458
4459 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4460 * config/i386/cpuinfo.c (get_available_features): Detect it.
4461
4462 2014-11-27 Tony Wang <tony.wang@arm.com>
4463
4464 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4465 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4466 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4467
4468 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4469
4470 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4471
4472 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4473
4474 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4475 instead.
4476
4477 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4478 John David Anglin <danglin@gcc.gnu.org>
4479
4480 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4481 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4482 (OP_AND_FETCH_2): Likewise.
4483 (COMPARE_AND_SWAP_2): Likewise.
4484 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4485 (SYNC_LOCK_RELEASE_2): Likewise.
4486 (SUBWORD_SYNC_OP): Remove.
4487 (SUBWORD_VAL_CAS): Likewise.
4488 (SUBWORD_BOOL_CAS): Likewise.
4489 (FETCH_AND_OP_WORD): Update.
4490 Consistently use signed types.
4491
4492 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4493 Thomas Schwinge <thomas@codesourcery.com>
4494 Ilya Verbin <ilya.verbin@intel.com>
4495 Andrey Turetskiy <andrey.turetskiy@intel.com>
4496
4497 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4498 (crtoffloadend$(objext)): Likewise.
4499 * configure: Regenerate.
4500 * configure.ac (accel_dir_suffix): Compute new variable.
4501 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4502 if enable_offload_targets is not empty.
4503 * offloadstuff.c: New file.
4504
4505 2014-11-13 Nick Clifton <nickc@redhat.com>
4506
4507 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4508 Use START_FUNC and END_FUNC macros to enable linker garbage
4509 collection.
4510 * config/rl78/divmodqi.S: Likewise.
4511 * config/rl78/divmodsi.S: Likewise.
4512 * config/rl78/mulsi3.S: Likewise.
4513 * config/rl78/lib2div.c: Remove G10 functions.
4514 * config/rl78/lib2muls.c: Likewise.
4515 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4516 * config/rl78/vregs.h (START_FUNC): New macro.
4517 (END_FUNC): New macro.
4518
4519 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4520
4521 * config/mips/mips16.S: Set .module when supported. Update O32
4522 FP64 calling convention and use for FPXX when possible. Add FPXX
4523 calling convention fallback case.
4524
4525 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4526
4527 * config.host: Handle nvptx-*-*.
4528 * shared-object.mk (as-flags-$o): Define.
4529 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4530 -xassembler-with-cpp.
4531 * static-object.mk: Identical changes.
4532 * config/nvptx/t-nvptx: New file.
4533 * config/nvptx/crt0.s: New file.
4534 * config/nvptx/free.asm: New file.
4535 * config/nvptx/malloc.asm: New file.
4536 * config/nvptx/realloc.c: New file.
4537
4538 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4539
4540 * Makefile.in (libgcc.map.in): New target.
4541 (libgcc.map): Use libgcc.map.in.
4542 * config/t-softfp (softfp_compat): New variable to be set by
4543 users.
4544 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4545 variables.
4546 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4547 directory.
4548 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4549 that use compat symbols and disable all code unless [SHARED].
4550 * config/t-softfp-compat: New file.
4551 * find-symver.awk: New file.
4552 * configure.ac (--with-glibc-version): New configure option.
4553 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4554 * configure: Regenerate.
4555 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4556 soft-float and e500.
4557
4558 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4559
4560 * config/t-hardfp (hardfp_exclusions): Document new variable for
4561 user to define.
4562 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4563 * config/t-softfp (softfp_extras): Document new variable for user
4564 to define.
4565 (softfp_func_list): Add functions from $(softfp_extras).
4566 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4567 * config.host (powerpc*-*-linux*): For e500v1, use
4568 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4569 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4570 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4571
4572 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4573
4574 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4575 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4576 memory read accesses are ok.
4577
4578 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4579
4580 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4581 * configure: Regenerate.
4582 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4583 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4584 of soft-fp for 32-bit classic hard float. Do not use
4585 t-softfp-excl for soft float.
4586
4587 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4588
4589 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4590 configurations.
4591 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4592 Remove variables.
4593
4594 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4595
4596 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4597 introduced with 2014-10-21 trunk r216525.
4598
4599 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4600 Vidya Praveen <vidya.praveen@atmel.com>
4601 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4602 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4603 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4604
4605 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4606 order.
4607
4608 Updated library functions for AVRTINY arch.
4609 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4610 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4611 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4612 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4613 wsubi/wadi macors.
4614 (__mulsi3_helper): Update stack, preserve callee saved regs and
4615 argument from stack. Restore callee save registers.
4616 (__mulpsi3): Likewise.
4617 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4618 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4619 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4620 AVRTINY.
4621 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4622 (__do_copy_data): Added new definition for AVRTINY.
4623 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4624 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4625 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4626 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4627 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4628 macors.
4629 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4630 AVRTINY.
4631
4632 Fix broken long multiplication on tiny arch.
4633
4634 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4635
4636 * soft-fp/double.h: Update from glibc.
4637 * soft-fp/eqdf2.c: Likewise.
4638 * soft-fp/eqsf2.c: Likewise.
4639 * soft-fp/eqtf2.c: Likewise.
4640 * soft-fp/extenddftf2.c: Likewise.
4641 * soft-fp/extended.h: Likewise.
4642 * soft-fp/extendsfdf2.c: Likewise.
4643 * soft-fp/extendsftf2.c: Likewise.
4644 * soft-fp/extendxftf2.c: Likewise.
4645 * soft-fp/gedf2.c: Likewise.
4646 * soft-fp/gesf2.c: Likewise.
4647 * soft-fp/getf2.c: Likewise.
4648 * soft-fp/ledf2.c: Likewise.
4649 * soft-fp/lesf2.c: Likewise.
4650 * soft-fp/letf2.c: Likewise.
4651 * soft-fp/op-1.h: Likewise.
4652 * soft-fp/op-2.h: Likewise.
4653 * soft-fp/op-4.h: Likewise.
4654 * soft-fp/op-8.h: Likewise.
4655 * soft-fp/op-common.h: Likewise.
4656 * soft-fp/quad.h: Likewise.
4657 * soft-fp/single.h: Likewise.
4658 * soft-fp/soft-fp.h: Likewise.
4659 * soft-fp/unorddf2.c: Likewise.
4660 * soft-fp/unordsf2.c: Likewise.
4661 * soft-fp/unordtf2.c: Likewise.
4662 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4663 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4664 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4665 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4666 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4667 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4668 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4669 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4670 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4671 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4672
4673 2014-10-08 Rong Xu <xur@google.com>
4674
4675 * libgcov-util.c (read_gcda_file): Fix format.
4676 (find_match_gcov_info): Ditto.
4677 (calculate_2_entries): New.
4678 (compute_one_gcov): Ditto.
4679 (gcov_info_count_all_cold): Ditto.
4680 (gcov_info_count_all_zero): Ditto.
4681 (extract_file_basename): Ditto.
4682 (get_file_basename): Ditto.
4683 (set_flag): Ditto.
4684 (matched_gcov_info): Ditto.
4685 (calculate_overlap): Ditto.
4686 (gcov_profile_overlap): Ditto.
4687 * libgcov-driver.c (compute_summary): Make
4688 it avavilable for external calls.
4689
4690 2014-10-06 Rong Xu <xur@google.com>
4691
4692 * Makefile.in: Ditto.
4693 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4694 (gcov_sort_icall_topn_counter): Ditto.
4695 (gcov_sort_topn_counter_arrays): Ditto.
4696 (dump_one_gcov): Sort indirect_call topn counters.
4697 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4698 function.
4699 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4700 utility function.
4701 (__gcov_indirect_call_topn_profiler): New profiler function.
4702 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4703 * libgcov.h: New decls.
4704
4705 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4706
4707 * config.host: Remove support for score-*.
4708
4709 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4710
4711 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4712 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4713 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4714 __LIBGCC_XF_MANT_DIG__.
4715 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4716 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4717 __LIBGCC_TF_MANT_DIG__.
4718 * libgcc2.c (NOTRUNC): Define in terms of
4719 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4720 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4721
4722 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4723
4724 PR target/63312
4725 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4726 New macros.
4727
4728 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4729
4730 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4731 override USE_PT_GNU_EH_FRAME.
4732 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4733 check USE_EH_FRAME_REGISTRY_ALWAYS against
4734 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4735 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4736 variable for substituted force_explicit_eh_registry.
4737 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4738 * configure.ac (explicit-exception-frame-registration):
4739 New AC_ARG_ENABLE.
4740 * configure: Regenerate.
4741
4742 2014-09-19 Olivier Hainque <hainque@adacore.com>
4743
4744 * config.host (powerpc-wrs-vxworksmils): New configuration,
4745 same as vxworksae.
4746
4747 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4748
4749 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4750
4751 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4752
4753 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4754 bits not set bits as indicating trapping exceptions.
4755
4756 2014-09-17 Nathan sidwell <nathan@acm.org>
4757
4758 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4759 (LIBGCOV_DRIVER): ... here.
4760 * libgcov-driver.c (gcov_master): New.
4761 (gcov_exit): Remove from master chain.
4762 (__gcov_init): Add to master chain if version compatible. Don't
4763 clear the version.
4764 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4765 (gcov_reset_int): Clear master chain, if compatible.
4766 (gcov_dump_int): New internal interface. Dump master chain, if
4767 compatible.
4768 (gcov_dump): Alias for gcov_dump_int.
4769 * libgcov.h (struct gcov_root): Add next and prev fields.
4770 (struct gcov_master): New struct.
4771 (__gcov_master): New.
4772 (gcov_dump_int): Declare.
4773
4774 2014-09-17 Olivier Hainque <hainque@adacore.com>
4775
4776 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4777 and crtbegin.o + crtend.o to extra_parts.
4778
4779 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4780
4781 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4782 __LIBGCC_HAS_SF_MODE__.
4783 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4784 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4785 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4786 * config/libbid/bid_gcc_intrinsics.h
4787 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4788 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4789 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4790 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4791 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4792 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4793
4794 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4795
4796 PR target/63223
4797 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4798 and R24 as needed. Make work for all devices and .text locations.
4799 (__do_global_ctors, __do_global_dtors): Use word addresses.
4800 (__tablejump__, __tablejump_elpm__): Remove functions.
4801 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4802 Add _tablejump2.
4803 (XICALL, XIJMP): New macros.
4804
4805 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4806 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4807
4808 * config.host (aarch64*): Include crtfastmath.o and
4809 t-crtfm.
4810 * config/aarch64/crtfastmath.c: New file.
4811
4812 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4813
4814 * config.host: Remove picochip support.
4815 * config/picochip/adddi3.S: Remove.
4816 * config/picochip/ashlsi3.S: Remove.
4817 * config/picochip/ashlsi3.c: Remove.
4818 * config/picochip/ashrsi3.S: Remove.
4819 * config/picochip/ashrsi3.c: Remove.
4820 * config/picochip/clzsi2.S: Remove.
4821 * config/picochip/cmpsi2.S: Remove.
4822 * config/picochip/divmod15.S: Remove.
4823 * config/picochip/divmodhi4.S: Remove.
4824 * config/picochip/divmodsi4.S: Remove.
4825 * config/picochip/lib1funcs.S: Remove.
4826 * config/picochip/longjmp.S: Remove.
4827 * config/picochip/lshrsi3.S: Remove.
4828 * config/picochip/lshrsi3.c: Remove.
4829 * config/picochip/parityhi2.S: Remove.
4830 * config/picochip/popcounthi2.S: Remove.
4831 * config/picochip/setjmp.S: Remove.
4832 * config/picochip/subdi3.S: Remove.
4833 * config/picochip/t-picochip: Remove.
4834 * config/picochip/ucmpsi2.S: Remove.
4835 * config/picochip/udivmodhi4.S: Remove.
4836 * config/picochip/udivmodsi4.S: Remove.
4837
4838 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4839
4840 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4841 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4842 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4843 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4844 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4845 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4846 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4847 defined and LIBGCC2_HAS_DF_MODE is defined.
4848 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4849 defined and LIBGCC2_HAS_XF_MODE is defined.
4850 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4851 defined and LIBGCC2_HAS_TF_MODE is defined.
4852
4853 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4854
4855 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4856 and ROUND_TOWARDS_ZERO conditionals.
4857
4858 2014-09-07 Nathan sidwell <nathan@acm.org>
4859
4860 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4861 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4862
4863 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4864
4865 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4866 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4867 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4868 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4869 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4870 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4871 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4872 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4873 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4874 (DWARF_FRAME_REGISTERS): Change all uses to
4875 __LIBGCC_DWARF_FRAME_REGISTERS__.
4876 (EH_RETURN_STACKADJ_RTX): Change all uses to
4877 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4878 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4879 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4880 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4881 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4882 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4883 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4884 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4885 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4886 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4887 __LIBGCC_STACK_POINTER_REGNUM__.
4888 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4889 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4890 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4891 to __LIBGCC_STACK_POINTER_REGNUM__.
4892 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4893 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4894 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4895 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4896 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4897 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4898 (STACK_POINTER_REGNUM): Change all uses to
4899 __LIBGCC_STACK_POINTER_REGNUM__.
4900 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4901 use to __LIBGCC_STACK_POINTER_REGNUM__.
4902 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4903 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4904 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4905 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4906 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4907 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4908 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4909 to __LIBGCC_STACK_POINTER_REGNUM__.
4910 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4911 Remove conditional definition.
4912 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4913 __LIBGCC_TEXT_SECTION_ASM_OP__.
4914 (EH_FRAME_SECTION_NAME): Change all uses to
4915 __LIBGCC_EH_FRAME_SECTION_NAME__.
4916 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4917 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4918 (CTORS_SECTION_ASM_OP): Change all uses to
4919 __LIBGCC_CTORS_SECTION_ASM_OP__.
4920 (DTORS_SECTION_ASM_OP): Change all uses to
4921 __LIBGCC_DTORS_SECTION_ASM_OP__.
4922 (JCR_SECTION_NAME): Change all uses to
4923 __LIBGCC_JCR_SECTION_NAME__.
4924 (INIT_SECTION_ASM_OP): Change all uses to
4925 __LIBGCC_INIT_SECTION_ASM_OP__.
4926 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4927 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4928 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4929 __LIBGCC_STACK_GROWS_DOWNWARD__.
4930 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4931 __LIBGCC_INIT_SECTION_ASM_OP__.
4932 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4933 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4934 (EH_FRAME_SECTION_NAME): Change all uses to
4935 __LIBGCC_EH_FRAME_SECTION_NAME__.
4936 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4937 definitions. Change all uses to
4938 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4939 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4940 __LIBGCC_STACK_GROWS_DOWNWARD__.
4941 (DWARF_FRAME_REGISTERS): Change all uses to
4942 __LIBGCC_DWARF_FRAME_REGISTERS__.
4943 (EH_RETURN_STACKADJ_RTX): Change all uses to
4944 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4945 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4946 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4947 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4948 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4949 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4950
4951 2014-09-02 Nathan sidwell <nathan@acm.org>
4952
4953 * libgcov-interface.c (STRONG_ALIAS): New.
4954 (__gcov_flush): Call __gcov_reset_int.
4955 (__gcov_reset): Strong alias for ...
4956 (__gcov_reset_ing): ... this renamed hidden version.
4957 * libgcov.h (__gcov_reset_int): New declaration.
4958
4959 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4960
4961 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4962 call from here...
4963 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4964 (__dso_handle): Define on Cygwin.
4965 * config/i386/t-cygming (crtbeginS.o): New rule.
4966 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4967
4968 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4969 declaration syntax.
4970
4971 2014-08-13 Steve Ellcey <sellcey@mips.com>
4972
4973 * crtstuff.c: Undef caddr_t.
4974
4975 2014-08-12 Steve Ellcey <sellcey@mips.com>
4976
4977 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4978
4979 2014-08-07 Nathan Sidwell <nathan@acm.org>
4980
4981 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4982 (LIBGCOV_DRIVER): ... to here.
4983 * libgcov.h (gcov_do_dump): New #define.
4984 (struct gcov_root): New.
4985 (__gcov_root): New declaration.
4986 (__gcov_dump_one): Declare.
4987 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4988 run_accounted): Delete.
4989 (gcov_compute_histogram): Add LIST argument, adjust.
4990 (compute_summary): Adjust gcov_compute_histogram call.
4991 (gcov_do_dump): Not hidden, static in libgcov.
4992 (gcov_clear): Move to interface.c.
4993 (__gcov_dump_one): New, broken out of ...
4994 (gcov_exit): ... here. Make static.
4995 (__gcov_root): New.
4996 (__gcov_init): Adjust.
4997 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4998 declarations.
4999 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5000 (gcov_clear): Moved from driver.c. Add LIST argument.
5001 (__gcov_reset): Adjust for changed interfaces.
5002 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5003
5004 2014-08-04 Rohit <rohitarulraj@freescale.com>
5005
5006 PR target/60102
5007 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5008 based on change in SPE high register numbers and 3 HTM registers.
5009
5010 2014-08-01 Nathan Sidwell <nathan@acm.org>
5011
5012 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5013 LIBGCOV_INTERFACE): Reformat.
5014 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5015 IN_GCOV_TOOL.
5016 * libgcov-interface.c: Reformat some comments.
5017 (__gcov_flush_mx): Add declaration. Tidy up definition.
5018
5019 2014-07-31 Alan Modra <amodra@gmail.com>
5020 Peter Bergner <bergner@vnet.ibm.com>
5021
5022 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5023 (pack_ldouble): New function.
5024 (__gcc_qadd): Use it.
5025 (__gcc_qmul): Likewise.
5026 (__gcc_qdiv): Likewise.
5027 (__gcc_qneg): Likewise.
5028 (__gcc_stoq): Likewise.
5029 (__gcc_dtoq): Likewise.
5030
5031 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5032
5033 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5034 (__tpf_eh_return): Add original return address as second parameter.
5035 Handle cases where unwinder routines were called directly, instead
5036 of from within the C++ library.
5037
5038 2014-07-29 Nathan Sidwell <nathan@acm.org>
5039
5040 * libgcov.h: Move renaming of entry points to lib gcov specific
5041 portion.
5042 (gcov_do_dump): New rename.
5043 (gcov_rewrite): Remove inline, make HIDDEN.
5044 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5045 (gcov_exit_compute_summary): Rename to ...
5046 (compute_summary): ... here. Add LIST argument.
5047 (gcov_exit_merge_gcda): Rename to ...
5048 (merge_one_data): ... here.
5049 (gcov_exit_write_gcda): Rename to ...
5050 (write_one_data): ... here.
5051 (gcov_exit_merge_summary): Rename to ...
5052 (merge_summary): Add RUN_COUNTED argument.
5053 (gcov_exit_dump_gcov): Rename to ...
5054 (dump_one_gcov): Add RUN_COUNTED argument.
5055 (gcov_do_dump): New function, broken out of ...
5056 (gcov_exit): ... here. Call it.
5057
5058 2014-07-27 Anthony Green <green@moxielogic.com>
5059
5060 * config.host: Add moxiebox configuration suppport.
5061
5062 2014-07-27 Nathan Sidwell <nathan@acm.org>
5063
5064 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5065 (struct gcov_filename): ... here. Include buffer and max length
5066 fields.
5067 (gcov_max_filename): Remove.
5068 (gi_filename): Remove.
5069 (gcov_exit_compute_summary): Compute max filename here.
5070 (gcov_exit_merge_gcda): Add filename parm, adjust.
5071 (gcov_exit_merge_summary): Likewise.
5072 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5073 (gcov_exit): Likewise.
5074 (__gcov_init): Don't calculate max length here.
5075 * libgcov_util.c (max_filename_len): Remove.
5076 (read_gcda_file): Don't calculate max length here.
5077 (gcov_read_profile_dir): Don't propagate here.
5078 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5079 struct gcov_filename changes.
5080 (gcov_exit_open_gcda_file): Likewise.
5081
5082 2014-07-25 Nathan Sidwell <nathan@acm.org>
5083
5084 * libgcov-driver.c (set_gcov_dump_complete,
5085 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5086 functions polluting user's namespace.
5087 (gcov_exit): Set variable directly.
5088 (gcov_clear): Reset variable directly.
5089 * libgcov-interface.c (get_gcov_dymp_complete,
5090 reset_gov_dump_complete): Remove declarations.
5091 (__gcov_reset, __gcov_dump): Don't call them.
5092
5093 2014-07-24 DJ Delorie <dj@redhat.com>
5094
5095 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5096 (__gcc_deregister_frame): Move logic to detect deregister function
5097 to ...
5098 (__gcc_register_frame): here, so it's consistent with the register
5099 logic.
5100
5101 2014-07-23 Nathan Sidwell <nathan@acm.org>
5102
5103 * libgcov-driver.c (set_gcov_list): Remove.
5104 (gcov_list): Make non-static in GCOV_TOOL.
5105 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5106
5107 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5108
5109 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5110 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5111 Don't use SYNC_LOCK_RELEASE for int type.
5112
5113 2014-07-14 Richard Biener <rguenther@suse.de>
5114
5115 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5116
5117 2014-07-11 Rong Xu <xur@google.com>
5118
5119 * libgcov-util.c (gcov_max_filename): Fix declartion.
5120
5121 2014-07-10 Rong Xu <xur@google.com>
5122
5123 Add gcov-tool: an offline gcda profile processing tool
5124 Support.
5125 * libgcov-driver.c (gcov_max_filename): Make available
5126 to gcov-tool.
5127 * libgcov-merge.c (__gcov_merge_add): Replace
5128 gcov_read_counter() with a Macro.
5129 (__gcov_merge_ior): Ditto.
5130 (__gcov_merge_time_profile): Ditto.
5131 (__gcov_merge_single): Ditto.
5132 (__gcov_merge_delta): Ditto.
5133 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5134 in the utility functions.
5135 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5136 gcov_list object link lists.
5137 (tag_function): Ditto.
5138 (tag_blocks): Ditto.
5139 (tag_arcs): Ditto.
5140 (tag_lines): Ditto.
5141 (tag_counters): Ditto.
5142 (tag_summary): Ditto.
5143 (read_gcda_finalize): Ditto.
5144 (read_gcda_file): Ditto.
5145 (ftw_read_file): Ditto.
5146 (read_profile_dir_init): Ditto.
5147 (gcov_read_profile_dir): Ditto.
5148 (gcov_read_counter_mem): Ditto.
5149 (gcov_get_merge_weight): Ditto.
5150 (merge_wrapper): A wrapper function that calls merging handler.
5151 (gcov_merge): Merge two gcov_info objects with weights.
5152 (find_match_gcov_info): Find the matched gcov_info in the list.
5153 (gcov_profile_merge): Merge two gcov_info object lists.
5154 (__gcov_add_counter_op): Process edge profile counter values.
5155 (__gcov_ior_counter_op): Process IOR profile counter values.
5156 (__gcov_delta_counter_op): Process delta profile counter values.
5157 (__gcov_single_counter_op): Process single profile counter values.
5158 (fp_scale): Callback function for float-point scaling.
5159 (int_scale): Callback function for integer fraction scaling.
5160 (gcov_profile_scale): Scaling profile counters.
5161 (gcov_profile_normalize): Normalize profile counters.
5162 * libgcov.h: Add headers and functions for gcov-tool use.
5163 (gcov_get_counter): New.
5164 (gcov_get_counter_target): Ditto.
5165 (struct gcov_info): Make the functions field mutable in gcov-tool
5166 compilation.
5167
5168 2014-06-23 Kai Tietz <ktietz@redhat.com>
5169
5170 PR libgcc/61585
5171 * unwind-seh.c (_Unwind_GetGR): Check for proper
5172 index range.
5173 (_Unwind_SetGR): Likewise.
5174
5175 2014-05-22 Nick Clifton <nickc@redhat.com>
5176
5177 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5178 -mhwmult=none.
5179
5180 2014-05-22 Teresa Johnson <tejohnson@google.com>
5181
5182 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5183 include.
5184
5185 2014-05-20 John Marino <gnugcc@marino.st>
5186
5187 * config.host (*-*-dragonfly*): New target.
5188 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5189 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5190 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5191 * config/i386/dragonfly-unwind.h: New.
5192
5193 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5194
5195 PR libgcc/60166
5196 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5197 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5198
5199 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5200
5201 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5202 implementation.
5203
5204 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5205
5206 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5207
5208 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5209
5210 PR libgcc/61097
5211 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5212 if --enable-shared.
5213
5214 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5215
5216 Work around for current cygwin32 build problems.
5217 * config/i386/cygming-crtbegin.c (__register_frame_info,
5218 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5219 functions only for 64-bit systems.
5220
5221 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5222
5223 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5224 (sigill_caught, sigill_hdlr): Remove.
5225
5226 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5227
5228 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5229 check.
5230 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5231 Solaris 9 single-threaded support.
5232 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5233 Solaris 9 single-threaded support. Add call_user_handler code
5234 sequences.
5235 (sparc_is_sighandler): Likewise.
5236
5237 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5238
5239 * config.host: Append t-floattodi to tmake_file depending on
5240 host_address.
5241
5242 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5243
5244 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5245
5246 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5247
5248 PR libgcc/60472
5249 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5250 variable to avoid "array subscript is above array bounds" warnings.
5251 Use __builtin_expect when checking *jcr_list for NULL.
5252
5253 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5254
5255 PR libgcc/59339
5256 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5257 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5258 vtv_*.o to extra_parts if enable_vtable_verify.
5259
5260 2014-03-06 Nick Clifton <nickc@redhat.com>
5261
5262 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5263 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5264
5265 2014-02-28 Joey Ye <joey.ye@arm.com>
5266
5267 PR libgcc/60166
5268 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5269 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5270 Set to zero.
5271
5272 2014-02-24 Walter Lee <walt@tilera.com>
5273
5274 * config.host: Support "tilegx*" and "tilepro*" triplets.
5275 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5276 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5277
5278 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5279 Chung-Lin Tang <cltang@codesourcery.com>
5280
5281 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5282 * config/nios2/crti.S: Remove .file directive.
5283 * config/nios2/crtn.S: Likewise.
5284
5285 2014-02-18 Kai Tietz <ktietz@redhat.com>
5286 Jonathan Schleifer <js@webkeks.org>
5287
5288 PR objc/56870
5289 * unwind-seh.c (_GCC_specific_handler): Pass proper
5290 value to unwind-handler.
5291
5292 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5293
5294 * soft-fp/adddf3.c: Update from glibc.
5295 * soft-fp/addsf3.c: Likewise.
5296 * soft-fp/addtf3.c: Likewise.
5297 * soft-fp/divdf3.c: Likewise.
5298 * soft-fp/divsf3.c: Likewise.
5299 * soft-fp/divtf3.c: Likewise.
5300 * soft-fp/double.h: Likewise.
5301 * soft-fp/eqdf2.c: Likewise.
5302 * soft-fp/eqsf2.c: Likewise.
5303 * soft-fp/eqtf2.c: Likewise.
5304 * soft-fp/extenddftf2.c: Likewise.
5305 * soft-fp/extended.h: Likewise.
5306 * soft-fp/extendsfdf2.c: Likewise.
5307 * soft-fp/extendsftf2.c: Likewise.
5308 * soft-fp/extendxftf2.c: Likewise.
5309 * soft-fp/fixdfdi.c: Likewise.
5310 * soft-fp/fixdfsi.c: Likewise.
5311 * soft-fp/fixdfti.c: Likewise.
5312 * soft-fp/fixsfdi.c: Likewise.
5313 * soft-fp/fixsfsi.c: Likewise.
5314 * soft-fp/fixsfti.c: Likewise.
5315 * soft-fp/fixtfdi.c: Likewise.
5316 * soft-fp/fixtfsi.c: Likewise.
5317 * soft-fp/fixtfti.c: Likewise.
5318 * soft-fp/fixunsdfdi.c: Likewise.
5319 * soft-fp/fixunsdfsi.c: Likewise.
5320 * soft-fp/fixunsdfti.c: Likewise.
5321 * soft-fp/fixunssfdi.c: Likewise.
5322 * soft-fp/fixunssfsi.c: Likewise.
5323 * soft-fp/fixunssfti.c: Likewise.
5324 * soft-fp/fixunstfdi.c: Likewise.
5325 * soft-fp/fixunstfsi.c: Likewise.
5326 * soft-fp/fixunstfti.c: Likewise.
5327 * soft-fp/floatdidf.c: Likewise.
5328 * soft-fp/floatdisf.c: Likewise.
5329 * soft-fp/floatditf.c: Likewise.
5330 * soft-fp/floatsidf.c: Likewise.
5331 * soft-fp/floatsisf.c: Likewise.
5332 * soft-fp/floatsitf.c: Likewise.
5333 * soft-fp/floattidf.c: Likewise.
5334 * soft-fp/floattisf.c: Likewise.
5335 * soft-fp/floattitf.c: Likewise.
5336 * soft-fp/floatundidf.c: Likewise.
5337 * soft-fp/floatundisf.c: Likewise.
5338 * soft-fp/floatunditf.c: Likewise.
5339 * soft-fp/floatunsidf.c: Likewise.
5340 * soft-fp/floatunsisf.c: Likewise.
5341 * soft-fp/floatunsitf.c: Likewise.
5342 * soft-fp/floatuntidf.c: Likewise.
5343 * soft-fp/floatuntisf.c: Likewise.
5344 * soft-fp/floatuntitf.c: Likewise.
5345 * soft-fp/gedf2.c: Likewise.
5346 * soft-fp/gesf2.c: Likewise.
5347 * soft-fp/getf2.c: Likewise.
5348 * soft-fp/ledf2.c: Likewise.
5349 * soft-fp/lesf2.c: Likewise.
5350 * soft-fp/letf2.c: Likewise.
5351 * soft-fp/muldf3.c: Likewise.
5352 * soft-fp/mulsf3.c: Likewise.
5353 * soft-fp/multf3.c: Likewise.
5354 * soft-fp/negdf2.c: Likewise.
5355 * soft-fp/negsf2.c: Likewise.
5356 * soft-fp/negtf2.c: Likewise.
5357 * soft-fp/op-1.h: Likewise.
5358 * soft-fp/op-2.h: Likewise.
5359 * soft-fp/op-4.h: Likewise.
5360 * soft-fp/op-8.h: Likewise.
5361 * soft-fp/op-common.h: Likewise.
5362 * soft-fp/quad.h: Likewise.
5363 * soft-fp/single.h: Likewise.
5364 * soft-fp/soft-fp.h: Likewise.
5365 * soft-fp/subdf3.c: Likewise.
5366 * soft-fp/subsf3.c: Likewise.
5367 * soft-fp/subtf3.c: Likewise.
5368 * soft-fp/truncdfsf2.c: Likewise.
5369 * soft-fp/trunctfdf2.c: Likewise.
5370 * soft-fp/trunctfsf2.c: Likewise.
5371 * soft-fp/trunctfxf2.c: Likewise.
5372 * soft-fp/unorddf2.c: Likewise.
5373 * soft-fp/unordsf2.c: Likewise.
5374 * soft-fp/unordtf2.c: Likewise.
5375 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5376 macro.
5377 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5378 Likewise.
5379 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5380 Likewise.
5381 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5382 Likewise.
5383 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5384 Likewise.
5385 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5386 Likewise.
5387 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5388 Likewise.
5389 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5390 Likewise.
5391 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5392 Likewise.
5393 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5394 Likewise.
5395 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5396 Likewise.
5397 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5398 Likewise.
5399 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5400 Likewise.
5401 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5402 Likewise.
5403 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5404 Likewise.
5405 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5406 Likewise.
5407
5408 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5409
5410 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5411 cannot be represented.
5412 * config/s390/32/_fixsfdi.c: Likewise.
5413 * config/s390/32/_fixtfdi.c: Likewise.
5414 * config/s390/32/_fixunsdfdi.c: Likewise.
5415 * config/s390/32/_fixunssfdi.c: Likewise.
5416 * config/s390/32/_fixunstfdi.c: Likewise.
5417
5418 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5419
5420 * configure.ac (libgcc_cv_mips_hard_float): New.
5421 * configure: Regenerate.
5422 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5423 t-softfp-sfdf for hard-float targets.
5424 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5425 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5426 (softfp_truncations, softfp_exclude_libgcc2): New.
5427 * config/t-hardfp: New file.
5428 * config/t-hardfp-sfdf: Likewise.
5429 * config/hardfp.c: Likewise.
5430
5431 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5432
5433 * config.host: Include t-floattodi also for s390x.
5434 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5435 * config/s390/32/_fixsfdi.c: Likewise.
5436 * config/s390/32/_fixtfdi.c: Likewise.
5437 * config/s390/32/_fixunsdfdi.c: Likewise.
5438 * config/s390/32/_fixunssfdi.c: Likewise.
5439 * config/s390/32/_fixunstfdi.c: Likewise.
5440
5441 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5442
5443 PR target/59788
5444 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5445 (install-libgcc-unwind-map-forbuild): New target.
5446 (all): Depend on install-libgcc-unwind-map-forbuild.
5447 (install-libgcc-unwind-map): New target.
5448 (install): Depend on install-libgcc-unwind-map.
5449
5450 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5451
5452 * config/nios2/crti.S (_init): Initialize GOT pointer from
5453 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5454
5455 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5456
5457 * configure.ac: Check __mips64 when setting host_address.
5458 * configure: Regenerate.
5459 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5460 mips/t-mips64 and t-softfp.
5461 (mips*-*-linux*): Don't add mips/t-tpbit.
5462 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5463 (DPBIT, DPBIT_CFLAGS): Delete.
5464 * config/mips/sfp-machine.h: New file.
5465 * config/mips/t-mips64: Likewise.
5466 * config/mips/t-softfp-tf: Likewise.
5467 * config/mips/t-tpbit: Delete.
5468
5469 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5470
5471 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5472 as long long.
5473
5474 2014-01-25 Walter Lee <walt@tilera.com>
5475
5476 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5477 config.h or system.h.
5478 (bool) Define.
5479
5480 2014-01-25 Walter Lee <walt@tilera.com>
5481
5482 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5483 (post_atomic_barrier): Ditto.
5484 (__fetch_and_do): New macro.
5485 (__atomic_fetch_and_do): Use __fetch_and_do.
5486 (__sync_fetch_and_do): New macro.
5487 (__sync_fetch_and_add_4): New function.
5488 (__sync_fetch_and_sub_4): New function.
5489 (__sync_fetch_and_or_4): New function.
5490 (__sync_fetch_and_and_4): New function.
5491 (__sync_fetch_and_xor_4): New function.
5492 (__sync_fetch_and_nand_4): New function.
5493 (__sync_fetch_and_add_8): New function.
5494 (__sync_fetch_and_sub_8): New function.
5495 (__sync_fetch_and_or_8): New function.
5496 (__sync_fetch_and_and_8): New function.
5497 (__sync_fetch_and_xor_8): New function.
5498 (__sync_fetch_and_nand_8): New function.
5499 (__do_and_fetch): New macro.
5500 (__atomic_do_and_fetch): Use __do_and_fetch.
5501 (__sync_do_and_fetch): New macro.
5502 (__sync_add_and_fetch_4): New function.
5503 (__sync_sub_and_fetch_4): New function.
5504 (__sync_or_and_fetch_4): New function.
5505 (__sync_and_and_fetch_4): New function.
5506 (__sync_xor_and_fetch_4): New function.
5507 (__sync_nand_and_fetch_4): New function.
5508 (__sync_add_and_fetch_8): New function.
5509 (__sync_sub_and_fetch_8): New function.
5510 (__sync_or_and_fetch_8): New function.
5511 (__sync_and_and_fetch_8): New function.
5512 (__sync_xor_and_fetch_8): New function.
5513 (__sync_nand_and_fetch_8): New function.
5514 (__sync_exchange_methods): New macro.
5515 (__sync_val_compare_and_swap_4): New function.
5516 (__sync_bool_compare_and_swap_4): New function.
5517 (__sync_lock_test_and_test_4): New function.
5518 (__sync_val_compare_and_swap_8): New function.
5519 (__sync_bool_compare_and_swap_8): New function.
5520 (__sync_lock_test_and_test_8): New function.
5521 (__subword_cmpxchg_body): New macro.
5522 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5523 (__atomic_compare_exchange_2): Ditto.
5524 (__sync_subword_cmpxchg): New macro.
5525 (__sync_val_compare_and_swap_1): New function.
5526 (__sync_bool_compare_and_swap_1): New function.
5527 (__sync_val_compare_and_swap_2): New function.
5528 (__sync_bool_compare_and_swap_2): New function.
5529 (__atomic_subword): Rename to ...
5530 (__subword): ... New name.
5531 (__atomic_subword_fetch): Use __subword.
5532 (__sync_subword_fetch): New macro.
5533 (__sync_fetch_and_add_1): New function.
5534 (__sync_fetch_and_sub_1): New function.
5535 (__sync_fetch_and_or_1): New function.
5536 (__sync_fetch_and_and_1): New function.
5537 (__sync_fetch_and_xor_1): New function.
5538 (__sync_fetch_and_nand_1): New function.
5539 (__sync_fetch_and_add_2): New function.
5540 (__sync_fetch_and_sub_2): New function.
5541 (__sync_fetch_and_or_2): New function.
5542 (__sync_fetch_and_and_2): New function.
5543 (__sync_fetch_and_xor_2): New function.
5544 (__sync_fetch_and_nand_2): New function.
5545 (__sync_add_and_fetch_1): New function.
5546 (__sync_sub_and_fetch_1): New function.
5547 (__sync_or_and_fetch_1): New function.
5548 (__sync_and_and_fetch_1): New function.
5549 (__sync_xor_and_fetch_1): New function.
5550 (__sync_nand_and_fetch_1): New function.
5551 (__sync_add_and_fetch_2): New function.
5552 (__sync_sub_and_fetch_2): New function.
5553 (__sync_or_and_fetch_2): New function.
5554 (__sync_and_and_fetch_2): New function.
5555 (__sync_xor_and_fetch_2): New function.
5556 (__sync_nand_and_fetch_2): New function.
5557 (__atomic_subword_lock): Use __subword.
5558 (__sync_subword_lock): New macro.
5559 (__sync_lock_test_and_set_1): New function.
5560 (__sync_lock_test_and_set_2): New function.
5561
5562 2014-01-25 Walter Lee <walt@tilera.com>
5563
5564 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5565 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5566 (__atomic_subword): Ditto.
5567
5568 2014-01-25 Walter Lee <walt@tilera.com>
5569
5570 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5571 a prefix op argument.
5572 (__atomic_nand_fetch_4): Add prefix op.
5573 (__atomic_nand_fetch_8): Ditto.
5574
5575 2014-01-21 Baruch Siach <barch@tkos.co.il>
5576
5577 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5578
5579 2014-01-09 Rong Xu <xur@google.com>
5580
5581 * libgcov-driver.c (this_prg): make it local to save
5582 bss space.
5583 (gcov_exit_compute_summary): Ditto.
5584 (gcov_exit_merge_gcda): Ditto.
5585 (gcov_exit_merge_summary): Ditto.
5586 (gcov_exit_dump_gcov): Ditto.
5587
5588 2014-01-08 Rong Xu <xur@google.com>
5589
5590 * libgcov-driver.c: Use libgcov.h.
5591 (buffer_fn_data): Use xmalloc instead of malloc.
5592 (gcov_exit_merge_gcda): Ditto.
5593 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5594 * libgcov.h: New common header files for libgcov-*.h.
5595 * libgcov-interface.c: Use libgcov.h
5596 * libgcov-merge.c: Ditto.
5597 * libgcov-profiler.c: Ditto.
5598 * Makefile.in: Add dependence to libgcov.h
5599
5600 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5601
5602 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5603 case of small numerator and finite nonzero result.
5604
5605 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5606
5607 Update copyright years
5608
5609 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5610
5611 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5612 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5613 config/arc/dp-hack.h, config/arc/fp-hack.h,
5614 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5615 config/arc/ieee-754/arc600-dsp/divdf3.S,
5616 config/arc/ieee-754/arc600-dsp/divsf3.S,
5617 config/arc/ieee-754/arc600-dsp/muldf3.S,
5618 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5619 config/arc/ieee-754/arc600-mul64/divdf3.S,
5620 config/arc/ieee-754/arc600-mul64/divsf3.S,
5621 config/arc/ieee-754/arc600-mul64/muldf3.S,
5622 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5623 config/arc/ieee-754/arc600/divsf3.S,
5624 config/arc/ieee-754/arc600/mulsf3.S,
5625 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5626 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5627 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5628 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5629 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5630 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5631 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5632 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5633 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5634 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5635 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5636 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5637 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5638 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5639 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5640 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5641 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5642 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5643 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5644 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5645 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5646 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5647 vtv_start_preinit.c: Use the standard form for the copyright notice.
5648
5649 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5650 Chung-Lin Tang <cltang@codesourcery.com>
5651 Based on patches from Altera Corporation
5652
5653 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5654 * config/nios2/lib2-nios2.h: New file.
5655 * config/nios2/lib2-divmod-hi.c: New file.
5656 * config/nios2/linux-unwind.h: New file.
5657 * config/nios2/lib2-divmod.c: New file.
5658 * config/nios2/linux-atomic.c: New file.
5659 * config/nios2/t-nios2: New file.
5660 * config/nios2/crti.asm: New file.
5661 * config/nios2/t-linux: New file.
5662 * config/nios2/lib2-divtable.c: New file.
5663 * config/nios2/lib2-mul.c: New file.
5664 * config/nios2/tramp.c: New file.
5665 * config/nios2/crtn.asm: New file.
5666
5667 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5668
5669 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5670 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5671 from cpuid.h to check vendor signatures.
5672
5673 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5674
5675 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5676 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5677 (get_amd_cpu): Likewise.
5678
5679 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5680
5681 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5682 Haswell.
5683
5684 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5685 H.J. Lu <hongjiu.lu@intel.com>
5686
5687 PR target/59422
5688 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5689 and AMD_JAGUAR.
5690 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5691 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5692 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5693 FEATURE_XOP and FEATURE_FMA.
5694 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5695 AMDFAM15H_BDVER3.
5696 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5697 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5698 FEATURE_FMA4 and FEATURE_XOP.
5699
5700 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5701
5702 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5703 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5704 (get_intel_cpu): Updated.
5705
5706 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5707
5708 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5709
5710 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5711
5712 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5713 instructions when __SSE_MATH__ is defined.
5714
5715 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5716
5717 * config.host (microblaze-*-rtems*): New.
5718
5719 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5720
5721 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5722 architectures that do not have hardware divide instruction.
5723 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5724
5725 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5726
5727 * longlong.h: Delete (moved to include/).
5728
5729 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5730
5731 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5732 of normal number and qNaN to not raise an inexact exception.
5733
5734 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5735
5736 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5737
5738 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5739
5740 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5741 for correct opcodes on BE.
5742
5743 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5744
5745 * soft-fp/op-4.h: Update from glibc.
5746
5747 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5748
5749 * libgcc2.c (__udivmoddi4): Define new implementation when
5750 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5751 divide instructions.
5752
5753 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5754
5755 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5756
5757 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5758
5759 * config/t-softfp (soft-fp-objects-base): New variable.
5760 (soft-fp-objects): Use it.
5761
5762 2013-11-23 David Edelson <dje.gcc@gmail.com>
5763 Andrew Dixie <andrewd@gentrack.com>
5764
5765 PR target/33704
5766 * config/rs6000/aixinitfini.c: New file.
5767 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5768 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5769 symbols.
5770
5771 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5772
5773 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5774
5775 2013-11-18 Jan Hubicka <jh@suse.cz>
5776
5777 * libgcov-driver.c (run_accounted): Make global level static.
5778 (gcov_exit_merge_summary): Silence warning; do not clear
5779 run_accounted here.
5780 (gcov_exit): Clear it here.
5781
5782 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5783 run_accounted.
5784
5785 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5786 (all_prg, crc32): Remove static vars.
5787 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5788 all_prg.
5789 (gcov_exit_merge_gcda): Add crc32 parameter.
5790 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5791 do not account run if it was already accounted.
5792 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5793 (gcov_exit): Initialize all_prg; update.
5794
5795 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5796
5797 * configure: Regenerate.
5798
5799 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5800 Alan Modra <amodra@gmail.com>
5801
5802 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5803 (frob_update_context): Use it.
5804
5805 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5806 Alan Modra <amodra@gmail.com>
5807
5808 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5809 (trampoline_initial): Provide ELFv2 variant.
5810 (__trampoline_setup): Likewise.
5811
5812 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5813 check for AIX indirect function call sequence if _CALL_ELF == 2.
5814
5815 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5816 Alan Modra <amodra@gmail.com>
5817
5818 * config/rs6000/linux-unwind.h (get_regs): Do not support
5819 old kernel versions if _CALL_ELF == 2.
5820 (frob_update_context): Do not support PLT stub variants only
5821 generated by old linkers if _CALL_ELF == 2.
5822
5823 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5824 Alan Modra <amodra@gmail.com>
5825
5826 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5827 location of CR save area for 64-bit little-endian systems.
5828
5829 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5830
5831 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5832 in tmake_file.
5833 * config/arm/t-vxworks: Delete.
5834
5835 2013-11-10 Kai Tietz <ktietz@redhat.com>
5836
5837 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5838 Increment load-count on use of LIBGCC_SONAME DLL.
5839 (hmod_libgcc): New static variable to hold handle of
5840 LIBGCC_SONAME DLL.
5841 (__gcc_deregister_frame): Decrement load-count of
5842 LIBGCC_SONAME DLL.
5843
5844 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5845
5846 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5847 availability.
5848 * configure: Regenerate
5849
5850 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5851
5852 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5853 FP_EX_DENORM. Store result to volatile location after SSE division
5854 to close interrupt window. Remove unneeded fwait after x87
5855 division since interrupt window will be closed by emitted fstp.
5856 Rewrite FP_EX_INEXACT handling.
5857
5858 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5859
5860 * soft-fp/README: Update.
5861 * soft-fp/adddf3.c: Update from glibc.
5862 * soft-fp/addsf3.c: Likewise.
5863 * soft-fp/addtf3.c: Likewise.
5864 * soft-fp/divdf3.c: Likewise.
5865 * soft-fp/divsf3.c: Likewise.
5866 * soft-fp/divtf3.c: Likewise.
5867 * soft-fp/double.h: Likewise.
5868 * soft-fp/eqdf2.c: Likewise.
5869 * soft-fp/eqsf2.c: Likewise.
5870 * soft-fp/eqtf2.c: Likewise.
5871 * soft-fp/extenddftf2.c: Likewise.
5872 * soft-fp/extended.h: Likewise.
5873 * soft-fp/extendsfdf2.c: Likewise.
5874 * soft-fp/extendsftf2.c: Likewise.
5875 * soft-fp/extendxftf2.c: Likewise.
5876 * soft-fp/fixdfdi.c: Likewise.
5877 * soft-fp/fixdfsi.c: Likewise.
5878 * soft-fp/fixdfti.c: Likewise.
5879 * soft-fp/fixsfdi.c: Likewise.
5880 * soft-fp/fixsfsi.c: Likewise.
5881 * soft-fp/fixsfti.c: Likewise.
5882 * soft-fp/fixtfdi.c: Likewise.
5883 * soft-fp/fixtfsi.c: Likewise.
5884 * soft-fp/fixtfti.c: Likewise.
5885 * soft-fp/fixunsdfdi.c: Likewise.
5886 * soft-fp/fixunsdfsi.c: Likewise.
5887 * soft-fp/fixunsdfti.c: Likewise.
5888 * soft-fp/fixunssfdi.c: Likewise.
5889 * soft-fp/fixunssfsi.c: Likewise.
5890 * soft-fp/fixunssfti.c: Likewise.
5891 * soft-fp/fixunstfdi.c: Likewise.
5892 * soft-fp/fixunstfsi.c: Likewise.
5893 * soft-fp/fixunstfti.c: Likewise.
5894 * soft-fp/floatdidf.c: Likewise.
5895 * soft-fp/floatdisf.c: Likewise.
5896 * soft-fp/floatditf.c: Likewise.
5897 * soft-fp/floatsidf.c: Likewise.
5898 * soft-fp/floatsisf.c: Likewise.
5899 * soft-fp/floatsitf.c: Likewise.
5900 * soft-fp/floattidf.c: Likewise.
5901 * soft-fp/floattisf.c: Likewise.
5902 * soft-fp/floattitf.c: Likewise.
5903 * soft-fp/floatundidf.c: Likewise.
5904 * soft-fp/floatundisf.c: Likewise.
5905 * soft-fp/floatunditf.c: Likewise.
5906 * soft-fp/floatunsidf.c: Likewise.
5907 * soft-fp/floatunsisf.c: Likewise.
5908 * soft-fp/floatunsitf.c: Likewise.
5909 * soft-fp/floatuntidf.c: Likewise.
5910 * soft-fp/floatuntisf.c: Likewise.
5911 * soft-fp/floatuntitf.c: Likewise.
5912 * soft-fp/gedf2.c: Likewise.
5913 * soft-fp/gesf2.c: Likewise.
5914 * soft-fp/getf2.c: Likewise.
5915 * soft-fp/ledf2.c: Likewise.
5916 * soft-fp/lesf2.c: Likewise.
5917 * soft-fp/letf2.c: Likewise.
5918 * soft-fp/muldf3.c: Likewise.
5919 * soft-fp/mulsf3.c: Likewise.
5920 * soft-fp/multf3.c: Likewise.
5921 * soft-fp/negdf2.c: Likewise.
5922 * soft-fp/negsf2.c: Likewise.
5923 * soft-fp/negtf2.c: Likewise.
5924 * soft-fp/op-1.h: Likewise.
5925 * soft-fp/op-2.h: Likewise.
5926 * soft-fp/op-4.h: Likewise.
5927 * soft-fp/op-8.h: Likewise.
5928 * soft-fp/op-common.h: Likewise.
5929 * soft-fp/quad.h: Likewise.
5930 * soft-fp/single.h: Likewise.
5931 * soft-fp/soft-fp.h: Likewise.
5932 * soft-fp/subdf3.c: Likewise.
5933 * soft-fp/subsf3.c: Likewise.
5934 * soft-fp/subtf3.c: Likewise.
5935 * soft-fp/truncdfsf2.c: Likewise.
5936 * soft-fp/trunctfdf2.c: Likewise.
5937 * soft-fp/trunctfsf2.c: Likewise.
5938 * soft-fp/trunctfxf2.c: Likewise.
5939 * soft-fp/unorddf2.c: Likewise.
5940 * soft-fp/unordsf2.c: Likewise.
5941 * soft-fp/unordtf2.c: Likewise.
5942
5943 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5944
5945 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5946 (_FP_MUL_MEAT_D): Ditto.
5947 (_FP_DIV_MEAT_S): Ditto.
5948 (_FP_DIV_MEAT_D): Ditto.
5949 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5950 t-softfp-sfdf and t-softfp to tmake_file.
5951
5952 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5953
5954 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5955 * config/i386/crtprec.c: Ditto.
5956
5957 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5958 Shiva Chen <shiva0217@gmail.com>
5959
5960 * config.host (nds32*-elf*): Add nds32 target.
5961 * config/nds32 : New directory and files.
5962
5963 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5964
5965 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5966 * config.host (cpu_type) <Setting default>: Add entry for
5967 crisv32-*-*.
5968 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5969 <crisv32-*-linux*>: Adjust.
5970 * longlong.h: Wrap the whole CRIS section in a single
5971 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5972 and sub_ddmmss.
5973 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5974 defined.
5975 [__CRIS__] (__umulsidi3): Define.
5976 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5977 * config/cris/sfp-machine.h: New file.
5978 * config/cris/umulsidi3.S: New file.
5979 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5980 * config/cris/arit.c (SIGNMULT): New macro.
5981 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5982 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5983 saving 3 out of originally 33 cycles from the fastest
5984 path, 3 out of 54 from the medium path and one from the longest
5985 path. Improve comments.
5986
5987 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5988
5989 * sync.c: Remove static aliases and define each function directly
5990 under its real name.
5991
5992 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5993
5994 * config.host (hppa*64*-*-linux*): Define extra_parts.
5995 (hppa*-*-linux*): Likewise.
5996
5997 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5998
5999 * config/arc/crtgend.S: Add 2013 to Copyright years.
6000 * config/arc/gmon/atomic.h: Likewise.
6001 * config/arc/gmon/auxreg.h: Likewise.
6002 * config/arc/gmon/sys/gmon_out.h: Likewise.
6003 * config/arc/gmon/sys/gmon.h: Likewise.
6004 * config/arc/gmon/prof-freq.c: Likewise.
6005 * config/arc/gmon/mcount.c: Likewise.
6006 * config/arc/gmon/prof-freq-stub.S: Likewise.
6007 * config/arc/gmon/gmon.c: Likewise.
6008 * config/arc/gmon/machine-gmon.h: Likewise.
6009 * config/arc/gmon/profil.S: Likewise.
6010 * config/arc/gmon/dcache_linesz.S: Likewise.
6011 * config/arc/crtg.S: Likewise.
6012 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6013 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6014 * config/arc/ieee-754/adddf3.S: Likewise.
6015 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6016 * config/arc/ieee-754/fixsfsi.S: Likewise.
6017 * config/arc/ieee-754/gtsf2.S: Likewise.
6018 * config/arc/ieee-754/floatsisf.S: Likewise.
6019 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6020 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6021 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6022 * config/arc/ieee-754/fixdfsi.S: Likewise.
6023 * config/arc/ieee-754/addsf3.S: Likewise.
6024 * config/arc/ieee-754/gesf2.S: Likewise.
6025 * config/arc/ieee-754/floatsidf.S: Likewise.
6026 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6027 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6028 * config/arc/ieee-754/gtdf2.S: Likewise.
6029 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6030 * config/arc/ieee-754/uneqdf2.S: Likewise.
6031 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6032 * config/arc/ieee-754/uneqsf2.S: Likewise.
6033 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6034 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6035 * config/arc/ieee-754/eqdf2.S: Likewise.
6036 * config/arc/ieee-754/ordsf2.S: Likewise.
6037 * config/arc/ieee-754/divsf3.S: Likewise.
6038 * config/arc/ieee-754/divdf3.S: Likewise.
6039 * config/arc/ieee-754/floatunsidf.S: Likewise.
6040 * config/arc/ieee-754/orddf2.S: Likewise.
6041 * config/arc/ieee-754/eqsf2.S: Likewise.
6042 * config/arc/ieee-754/gedf2.S: Likewise.
6043 * config/arc/crtn.S: Likewise.
6044 * config/arc/crti.S: Likewise.
6045 * config/arc/t-arc700-uClibc: Likewise.
6046 * config/arc/asm.h: Likewise.
6047 * config/arc/libgcc-excl.ver: Likewise.
6048 * config/arc/t-arc-newlib: Likewise.
6049 * config/arc/divtab-arc700.c: Likewise.
6050 * config/arc/initfini.c: Likewise.
6051 * config/arc/fp-hack.h: Likewise.
6052
6053 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6054 Diego Novillo <dnovillo@google.com>
6055
6056 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6057 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6058 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6059 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6060
6061 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6062 Brendan Kehoe <brendan@zen.org>
6063 Simon Cook <simon.cook@embecosm.com>
6064
6065 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6066 * config/arc: New directory.
6067 * longlong.h [__arc__] (umul_ppmm): Remove.
6068 [__arc__] (__umulsidi3): Define.
6069 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6070 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6071
6072 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6073
6074 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6075 CreateSemaphoreA.
6076 * config/i386/gthr-win32.h: Likewise.
6077
6078 2013-09-16 DJ Delorie <dj@redhat.com>
6079
6080 * config/rl78/vregs.h: Add G10 register definitions.
6081 * config/rl78/lib2mul.c: Enable for RL78/G10.
6082 * config/rl78/lib2div.c: Likewise.
6083 * config/rl78/lshrsi3.S: Use vregs.h.
6084 * config/rl78/cmpsi2.S: Likewise.
6085 * config/rl78/trampoline.S: Likewise.
6086 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6087
6088 2013-09-14 DJ Delorie <dj@redhat.com>
6089 Nick Clifton <nickc@redhat.com>
6090
6091 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6092 * config/rl78/vregs.h: New.
6093 * config/rl78/signbit.S: New file. Implements signbit function.
6094 * config/rl78/divmodsi.S: New.
6095 * config/rl78/divmodhi.S: New.
6096 * config/rl78/divmodqi.S: New.
6097 * config/rl78/t-rl78: Build them here...
6098 * config/rl78/lib2div.c: ...but not here.
6099
6100 2013-09-12 DJ Delorie <dj@redhat.com>
6101
6102 * config.host (msp*-*-elf): New.
6103 * config/msp430/: New port.
6104
6105 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6106
6107 PR gcov-profile/58127
6108 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6109 __thread var for emulated TLS.
6110 (__gcov_indirect_call_counters): Likewise.
6111
6112 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6113 Catherine Moore <clm@codesourcery.com>
6114 Richard Sandiford <rdsandiford@googlemail.com>
6115
6116 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6117 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6118 (CALL_STUB_NO_RET): Likewise.
6119 (CALL_STUB_RET): Likewise.
6120 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6121 __mips16_ret call/return stub symbols.
6122 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6123 to tmake_file.
6124
6125 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6126
6127 * config.host <mips*-*-linux*>: Remove a stray comment.
6128
6129 2013-08-10 Jan Hubicka <jh@suse.cz>
6130
6131 Work around binutils PR14342
6132 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6133 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6134 (L_gcov_indirect_call_profiler_v2): New.
6135
6136 2013-08-06 Jan Hubicka <jh@suse.cz>
6137
6138 * libgcov.c (__gcov_indirect_call_callee,
6139 __gcov_indirect_call_counters): New global vars.
6140 (__gcov_indirect_call_profiler): replace by ...
6141 (__gcov_indirect_call_profiler_v2) ... this one.
6142
6143 2013-08-06 Caroline Tice <cmtice@google.com>
6144
6145 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6146 vtv_start_preinit.o and vtv_end_preinit.o.
6147 * configure.ac: Add code to check/set enable_vtable_verify.
6148 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6149 true.
6150 * vtv_start_preinit.c: New file.
6151 * vtv_end_preinit.c: New file.
6152 * vtv_start.c: New file.
6153 * vtv_end.c: New file.
6154 * configure: Regenerated.
6155
6156 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6157
6158 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6159 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6160 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6161 GPL-3.0-with-GCC-exception.
6162
6163 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6164
6165 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6166 ISA and up.
6167
6168 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6169
6170 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6171 mapping for FPRs when creating the fallback framestate.
6172
6173 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6174
6175 PR target/57516
6176 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6177 (__round_s2_const, __round_u2_const)
6178 (__round_s4_const, __round_u4_const, __round_x8):
6179 Saturate result if addition result cannot be represented.
6180
6181 2013-07-15 Matthias Klose <doko@ubuntu.com>
6182
6183 * libgcc2.c: Don't include <limits.h>.
6184
6185 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6186
6187 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6188
6189 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6190
6191 PR target/29776
6192 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6193
6194 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6195
6196 PR middle-end/36041
6197 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6198 Define.
6199 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6200 instead of table lookups.
6201 (__popcountDI2): Likewise.
6202
6203 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6204
6205 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6206 correctly.
6207
6208 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6209
6210 PR other/53317
6211 * soft-fp/adddf3.c: Update from glibc.
6212 * soft-fp/addsf3.c: Likewise.
6213 * soft-fp/addtf3.c: Likewise.
6214 * soft-fp/divdf3.c: Likewise.
6215 * soft-fp/divsf3.c: Likewise.
6216 * soft-fp/divtf3.c: Likewise.
6217 * soft-fp/double.h: Likewise.
6218 * soft-fp/eqdf2.c: Likewise.
6219 * soft-fp/eqsf2.c: Likewise.
6220 * soft-fp/eqtf2.c: Likewise.
6221 * soft-fp/extenddftf2.c: Likewise.
6222 * soft-fp/extended.h: Likewise.
6223 * soft-fp/extendsfdf2.c: Likewise.
6224 * soft-fp/extendsftf2.c: Likewise.
6225 * soft-fp/fixdfdi.c: Likewise.
6226 * soft-fp/fixdfsi.c: Likewise.
6227 * soft-fp/fixsfdi.c: Likewise.
6228 * soft-fp/fixsfsi.c: Likewise.
6229 * soft-fp/fixtfdi.c: Likewise.
6230 * soft-fp/fixtfsi.c: Likewise.
6231 * soft-fp/fixunsdfdi.c: Likewise.
6232 * soft-fp/fixunsdfsi.c: Likewise.
6233 * soft-fp/fixunssfdi.c: Likewise.
6234 * soft-fp/fixunssfsi.c: Likewise.
6235 * soft-fp/fixunstfdi.c: Likewise.
6236 * soft-fp/fixunstfsi.c: Likewise.
6237 * soft-fp/floatdidf.c: Likewise.
6238 * soft-fp/floatdisf.c: Likewise.
6239 * soft-fp/floatditf.c: Likewise.
6240 * soft-fp/floatsidf.c: Likewise.
6241 * soft-fp/floatsisf.c: Likewise.
6242 * soft-fp/floatsitf.c: Likewise.
6243 * soft-fp/floatundidf.c: Likewise.
6244 * soft-fp/floatundisf.c: Likewise.
6245 * soft-fp/floatunditf.c: Likewise.
6246 * soft-fp/floatunsidf.c: Likewise.
6247 * soft-fp/floatunsisf.c: Likewise.
6248 * soft-fp/floatunsitf.c: Likewise.
6249 * soft-fp/gedf2.c: Likewise.
6250 * soft-fp/gesf2.c: Likewise.
6251 * soft-fp/getf2.c: Likewise.
6252 * soft-fp/ledf2.c: Likewise.
6253 * soft-fp/lesf2.c: Likewise.
6254 * soft-fp/letf2.c: Likewise.
6255 * soft-fp/muldf3.c: Likewise.
6256 * soft-fp/mulsf3.c: Likewise.
6257 * soft-fp/multf3.c: Likewise.
6258 * soft-fp/negdf2.c: Likewise.
6259 * soft-fp/negsf2.c: Likewise.
6260 * soft-fp/negtf2.c: Likewise.
6261 * soft-fp/op-1.h: Likewise.
6262 * soft-fp/op-2.h: Likewise.
6263 * soft-fp/op-4.h: Likewise.
6264 * soft-fp/op-8.h: Likewise.
6265 * soft-fp/op-common.h: Likewise.
6266 * soft-fp/quad.h: Likewise.
6267 * soft-fp/single.h: Likewise.
6268 * soft-fp/soft-fp.h: Likewise.
6269 * soft-fp/subdf3.c: Likewise.
6270 * soft-fp/subsf3.c: Likewise.
6271 * soft-fp/subtf3.c: Likewise.
6272 * soft-fp/truncdfsf2.c: Likewise.
6273 * soft-fp/trunctfdf2.c: Likewise.
6274 * soft-fp/trunctfsf2.c: Likewise.
6275 * soft-fp/unorddf2.c: Likewise.
6276 * soft-fp/unordsf2.c: Likewise.
6277 * soft-fp/unordtf2.c: Likewise.
6278 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6279 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6280 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6281 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6282 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6283 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6284 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6285 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6286 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6287 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6288 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6289 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6290
6291 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6292
6293 * config/mips/lib2funcs.c: New file.
6294 * config/mips/t-mips (LIB2ADD_ST): Add it.
6295
6296 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6297
6298 PR target/6526
6299 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6300 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6301
6302 2013-06-08 Walter Lee <walt@tilera.com>
6303
6304 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6305 Replace int64_t with long long. Add __extension__ where
6306 appropriate.
6307 * config/tilepro/atomic.c: Include config.h.
6308
6309 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6310
6311 * config.host (arm-wrs-vxworks): Configure with other soft float.
6312
6313 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6314
6315 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6316 (mips64r5900el-*-elf*): New configurations.
6317
6318 2013-06-04 Alan Modra <amodra@gmail.com>
6319
6320 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6321
6322 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6323
6324 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6325
6326 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6327
6328 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6329 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6330 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6331
6332 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6333
6334 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6335 (powerpc-wrs-vxworks): Likewise.
6336
6337 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6338
6339 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6340 signal frames as well.
6341 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6342 STACK_BIAS to the CFA offset.
6343
6344 2013-05-17 Richard Henderson <rth@redhat.com>
6345
6346 PR target/49146
6347 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6348 (execute_cfa_program): Use it when storing to fs->regs.
6349
6350 2013-05-08 Kai Tietz <ktietz@redhat.com>
6351
6352 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6353 (__deregister_frame_info): Likewise.
6354
6355 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6356
6357 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6358 NaN's payload.
6359
6360 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6361
6362 2013-04-25 Alan Modra <amodra@gmail.com>
6363
6364 * config.host: Match little-endian powerpc-linux.
6365
6366 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6367
6368 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6369 as 'unsigned long long' instead of 'unsigned long'.
6370 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6371 'signed long'.
6372
6373 2013-04-10 Julian Brown <julian@codesourcery.com>
6374
6375 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6376 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6377 unsigned char/unsigned short.
6378 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6379
6380 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6381
6382 PR other/55274
6383 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6384
6385 2013-04-04 Meador Inge <meadori@codesourcery.com>
6386
6387 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6388 computing the location of the link register.
6389 (aeabi_uldivmod): Ditto.
6390
6391 2013-03-27 Kai Tietz <ktietz@redhat.com>
6392
6393 * config.host: Add support for cygwin x64 target.
6394 * configure: Regenerated.
6395
6396 2013-03-26 Walter Lee <walt@tilera.com>
6397
6398 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6399 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6400
6401 2013-03-25 Kai Tietz <ktietz@redhat.com>
6402
6403 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6404
6405 2013-03-20 Robert Mason <rbmj@verizon.net>
6406
6407 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6408 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6409 (__gthread_leave_tsd_dtor_context): Add prototypes.
6410 (tls_delete_hook): Update.
6411
6412 2013-03-20 Catherine Moore <clm@codesourcery.com>
6413 Joseph Myers <joseph@codesourcery.com>
6414 Chao-ying Fu <fu@mips.com>
6415
6416 * config/mips/mips16.S: Don't build for microMIPS.
6417 * config/mips/linux-unwind.h: Handle microMIPS frame.
6418 * config/mips/crtn.S (fini, init): New labels.
6419
6420 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6421
6422 PR tree-optimization/53265
6423 * unwind-dw2.c (execute_cfa_program): Avoid
6424 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6425 on targets with DWARF_FRAME_REGISTERS < 32.
6426
6427 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6428
6429 PR target/49880
6430 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6431 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6432
6433 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6434
6435 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6436 sandybridge processors.
6437
6438 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6439
6440 PR target/56529
6441 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6442 inclusion list.
6443
6444 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6445
6446 * config/microblaze/crti.S: Setup stack protection at entry
6447
6448 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6449
6450 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6451 (__rotldi3): Shift bytewise if applicable.
6452
6453 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6454
6455 * config/aarch64/sync-cache.c
6456 (__aarch64_sync_cache_range): Silence warnings.
6457
6458 2013-02-25 Catherine Moore <clm@codesourcery.com>
6459
6460 Revert:
6461 2013-02-24 Catherine Moore <clm@codesourcery.com>
6462 Joseph Myers <joseph@codesourcery.com>
6463 Chao-ying Fu <fu@mips.com>
6464
6465 * config/mips/mips16.S: Don't build for microMIPS.
6466 * config/mips/linux-unwind.h: Handle microMIPS frame.
6467 * config/mips/crtn.S (fini, init): New labels.
6468
6469 2013-02-24 Catherine Moore <clm@codesourcery.com>
6470 Joseph Myers <joseph@codesourcery.com>
6471 Chao-ying Fu <fu@mips.com>
6472
6473 * config/mips/mips16.S: Don't build for microMIPS.
6474 * config/mips/linux-unwind.h: Handle microMIPS frame.
6475 * config/mips/crtn.S (fini, init): New labels.
6476
6477 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6478 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6479 as dividend.
6480
6481 2013-02-16 Alan Modra <amodra@gmail.com>
6482
6483 PR target/55431
6484 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6485 (ppc_fallback_frame_state): Always set up save locations for fp
6486 and altivec. Don't bother with non-callee-saved regs, r0-r13
6487 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6488
6489 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6490
6491 PR target/54222
6492 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6493 _ssmulHA, _ssmulSA.
6494 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6495 _ssmulha3, _usmulusa3, _ssmulsa3.
6496 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6497 (__muldi3): XCALL __muldi3_6 instead of rcall.
6498 (__umulsidi3, __mulsidi3): New functions.
6499 (do_prologue_saves, do_epilogue_restores): New .macros.
6500 (__divdi3_moddi3): Use them.
6501 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6502 (__usmulusa3, __ssmulsa3): New functions.
6503
6504 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6505 Jack Howarth <howarth@bromo.med.uc.edu>
6506 Patrick Marlier <patrick.marlier@gmail.com>
6507
6508 PR libitm/55693
6509 * config/darwin-crt-tm.c: Remove dummy functions hack.
6510
6511 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6512
6513 PR target/54222
6514 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6515 * config/avr/lib2-object.mk: New iterator to build objects from it.
6516 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6517 lib2funcs.c.
6518 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6519 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6520 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6521 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6522 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6523 * config/avr/lib1funcs-fixed.S: Implement them.
6524
6525 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6526
6527 Update copyright years.
6528
6529 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6530
6531 PR target/54601
6532 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6533 Add crtcxa to extra_parts.
6534 * config/rs6000/exit.h: New file.
6535 * config/rs6000/cxa_atexit.c: New file.
6536 * config/rs6000/cxa_finalize.c: New file.
6537 * config/rs6000/crtcxa.c: New file.
6538 * config/rs6000/t-aix-cxa: New file.
6539 * config/rs6000/libgcc-aix-cxa.ver: New file.
6540
6541 2013-01-31 Nick Clifton <nickc@redhat.com>
6542
6543 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6544 variant.
6545
6546 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6547
6548 PR target/54222
6549 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6550 _mulQQ, _mulHQ, _mulHA, _mulSA,
6551 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6552 _divQQ, _divHQ, _divHA, _divSA,
6553 _divUQQ, _divUHQ, _divUHA, _divUSA.
6554
6555 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6556
6557 * config.host(microblaze*-linux*): tmake_file: Remove
6558 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6559 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6560 to exclude functions from being built with libgcc.c and use
6561 the microblaze assembly.
6562
6563 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6564
6565 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6566 extra_parts.
6567
6568 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6569
6570 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6571 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6572 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6573 alignment operation.
6574
6575 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6576
6577 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6578 loop start address for cache clearing.
6579
6580 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6581
6582 * config/avr/lib1funcs.S: Remove trailing blanks.
6583 * config/avr/lib1funcs-fixed.S: Ditto.
6584
6585 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6586
6587 * config/avr/avr-lib.h: Add GPL copyright notice.
6588
6589 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6590
6591 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6592 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6593 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6594 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6595
6596 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6597
6598 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6599 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6600
6601 2013-01-04 Nick Clifton <nickc@redhat.com>
6602
6603 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6604 the CALLT instruction is supported.
6605
6606 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6607
6608 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6609 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6610
6611 2012-12-13 John Tytgat <John@bass-software.com>
6612
6613 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6614 is 25.
6615
6616 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6617
6618 PR libgcc/55451
6619 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6620 undefined signed overflows.
6621
6622 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6623
6624 PR target/55344
6625 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6626
6627 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6628
6629 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6630 (FP_TRAPPING_EXCEPTIONS): Define.
6631 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6632 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6633
6634 2012-12-04 Richard Henderson <rth@redhat.com>
6635
6636 PR bootstrap/55571
6637 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6638
6639 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6640
6641 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6642 (FP_EX_SHIFT): Define.
6643 (FP_TRAPPING_EXCEPTIONS): Define.
6644
6645 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6646
6647 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6648 (FP_ROUNDMODE): Use FP_RND_MASK.
6649 * config/aarch64/sfp-exceptions.c: New.
6650 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6651 Use __sfp_handle_exceptions.
6652
6653 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6654
6655 * config.host: (arm*-*-freebsd*): Remove.
6656 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6657 (arm*-*-elf*): Remove.
6658 (arm*-*-wince-pe*): Remove.
6659 * arm/unwind-arm.c (struct fpa_reg): Delete.
6660 (struct fpa_regs): Delete.
6661 (phase1_vrs): Remove fpa element.
6662 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6663 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6664 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6665 * ieee754-sf.S (floatundisf): Remove FPA support.
6666 (floatdisf): Likewise.
6667 * ieee75f-df.S (floatundidf): Likewise.
6668 (floatdidf): Likewise.
6669
6670 2012-11-29 Kai Tietz <ktietz@redhat.com>
6671
6672 PR target/55445
6673 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6674 * unwind-generic.h: Likewise.
6675 * unwind-seh.c: Likewise.
6676
6677 2012-11-28 Richard Henderson <rth@redhat.com>
6678
6679 PR libgcc/48076
6680 * emutls.c (__emutls_get_address): Avoid race condition between
6681 obj->loc.offset read and emutls_key initialization.
6682
6683 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6684
6685 Adjust decimal point of signed accum mode to GCC default.
6686
6687 PR target/54222
6688 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6689 _divqq_helper.
6690 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6691 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6692 (__mulha3, __mulsa3)
6693 (__divqq3, __divha3, __divsa3): Adjust to new position of
6694 decimal point of signed accum types.
6695
6696 (__mulusa3_round): New function.
6697 (__mulusa3): Use it.
6698 (__divqq_helper): New function.
6699 (__udivuqq3): Use it.
6700
6701 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6702
6703 PR bootstrap/55370
6704 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6705
6706 2012-11-18 Teresa Johnson <tejohnson@google.com>
6707
6708 PR bootstrap/55051
6709 * libgcov.c (gcov_exit): Remove merged program summary
6710 comparison unless !GCOV_LOCKED.
6711
6712 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6713
6714 * soft-fp: Updated from glibc upstream.
6715
6716 2012-11-06 Ian Lance Taylor <iant@google.com>
6717
6718 * generic-morestack.c (__generic_morestack): Align the returned
6719 stack pointer to a 32 byte boundary.
6720 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6721 increment the return address until we have decided that we don't
6722 have a varargs function.
6723 (__morestack) [32-bit]: Align stack correctly when calling C
6724 functions.
6725 (__morestack) [64-bit]: Likewise.
6726
6727 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6728
6729 * configure: Regenerate.
6730
6731 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6732
6733 PR target/55175
6734 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6735 * config/i386/sfp-machine.h: Guard exception handling
6736 code with _SOFT_FLOAT.
6737 * config/i386/32/sfp-machine.h: Guard rounding handling
6738 code with _SOFT_FLOAT.
6739 * config/i386/64/sfp-machine.h: Ditto.
6740
6741 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6742
6743 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6744 as extra_parts.
6745
6746 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6747
6748 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6749 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6750 when appropriate. Correct structure element types.
6751 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6752 -minline-all-stringops from compile flags.
6753
6754 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6755
6756 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6757
6758 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6759
6760 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6761
6762 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6763
6764 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6765 tmake_file.
6766
6767 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6768 Jim MacArthur <jim.macarthur@arm.com>
6769 Marcus Shawcroft <marcus.shawcroft@arm.com>
6770 Nigel Stephens <nigel.stephens@arm.com>
6771 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6772 Richard Earnshaw <rearnsha@arm.com>
6773 Sofiane Naci <sofiane.naci@arm.com>
6774 Stephen Thomas <stephen.thomas@arm.com>
6775 Tejas Belagod <tejas.belagod@arm.com>
6776 Yufeng Zhang <yufeng.zhang@arm.com>
6777
6778 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6779 * config/aarch64/crti.S: New file.
6780 * config/aarch64/crtn.S: New file.
6781 * config/aarch64/linux-unwind.h: New file.
6782 * config/aarch64/sfp-machine.h: New file.
6783 * config/aarch64/sync-cache.c: New file.
6784 * config/aarch64/t-aarch64: New file.
6785 * config/aarch64/t-softfp: New file.
6786
6787 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6788
6789 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6790 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6791 no-longer-needed LDBU insns.
6792
6793 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6794
6795 * config.host
6796 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6797 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6798
6799 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6800
6801 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6802
6803 2012-10-15 Matthias Klose <doko@ubuntu.com>
6804
6805 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6806
6807 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6808
6809 * configure: Regenerate.
6810 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6811
6812 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6813
6814 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6815 instructions for 64bit targets only.
6816
6817 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6818
6819 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6820 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6821 * config/i386/32/sfp-machine.h: ... here.
6822 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6823 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6824 New defines.
6825
6826 2012-10-07 Matthias Klose <doko@ubuntu.com>
6827
6828 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6829 as unused.
6830 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6831
6832 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6833
6834 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6835 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6836 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6837 (ElfW): Likewise.
6838
6839 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6840
6841 PR other/53889
6842 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6843 Fix parameter names.
6844
6845 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6846
6847 PR target/33135
6848 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6849 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6850 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6851
6852 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6853
6854 PR target/50457
6855 * config/sh/linux-atomic.S: Delete.
6856 * config/sh/linux-atomic.c: New.
6857 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6858 linux-atomic.c. Add cflags to disable warnings.
6859
6860 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6861
6862 PR other/53889
6863 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6864 function.
6865 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6866 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6867 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6868 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6869 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6870 Likewise.
6871 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6872 Likewise.
6873 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6874 Likewise.
6875 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6876 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6877
6878 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6879
6880 * config.host (hppa-*-openbsd*): New target.
6881 * config/pa/t-openbsd: New file.
6882
6883 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6884
6885 PR target/54222
6886 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6887 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6888 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6889 (__divsa3): Use __negsi2 to negate r_quoL.
6890 * config/avr/lib1funcs.S (FALIAS): New macro.
6891 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6892 (__negsi2): ...this new function.
6893 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6894 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6895 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6896 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6897 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6898 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6899
6900 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6901
6902 PR target/54089
6903 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6904 (lshrsi3): Reimplement as lshrsi3_r0.
6905
6906 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6907
6908 PR target/46191
6909 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6910 of libgcc.a.
6911
6912 2012-09-07 Teresa Johnson <tejohnson@google.com>
6913
6914 PR gcov-profile/54487
6915 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6916 differences.
6917
6918 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6919
6920 PR target/54461
6921 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6922 not configured --with-avrlibc=no.
6923 * config/avr/t-avrlibc: New file.
6924 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6925 (DPBIT_FUNCS): Ditto.
6926 (TPBIT_FUNCS): Ditto.
6927
6928 2012-09-04 Teresa Johnson <tejohnson@google.com>
6929
6930 * libgcov.c (struct gcov_summary_buffer): New structure.
6931 (gcov_histogram_insert): New function.
6932 (gcov_compute_histogram): Ditto.
6933 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6934 histograms during summary merging.
6935
6936 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6937
6938 * config.host (x86_64-*-openbsd*): New target.
6939
6940 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6941
6942 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6943 attribute.
6944
6945 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6946
6947 PR target/54222
6948 * config/avr/t-avr (conv_X): Rename to func_X.
6949
6950 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6951
6952 PR target/54222
6953 * config/avr/lib1funcs-fixed.S: New file.
6954 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6955 after they are used.
6956 (neg2, neg4): New macros.
6957 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6958 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6959 (__umulhisi3): Speed up MUL variant if there is enough flash.
6960 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6961 avr-modes.def.
6962 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6963 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6964 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6965 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6966 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6967 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6968 (LIB2FUNCS_EXCLUDE): Add supported functions.
6969
6970 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6971
6972 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6973 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6974 libgcc-s-objects.
6975 * fixed-obj.mk: Only expand dependency if $o is not in
6976 LIB2FUNCS_EXCLUDE.
6977
6978 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6979
6980 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6981
6982 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6983
6984 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6985 depend on --enable-shared.
6986 ($(lib1asmfuncs-o)): Use %.vis files independent of
6987 --enable-shared.
6988 * static-object.mk ($(base)$(objext), $(base).vis)
6989 ($(base)_s$(objext)): Use same rules for visibility handling as in
6990 shared-object.mk.
6991
6992 2012-08-21 Ian Lance Taylor <iant@google.com>
6993
6994 * config/i386/morestack.S (__morestack_non_split): Increase amount
6995 of space allocated for non-split code stack.
6996
6997 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6998
6999 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7000 even if inhibit_libc.
7001
7002 2012-08-17 Julian Brown <julian@codesourcery.com>
7003
7004 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7005 -fexceptions -fnon-call-exceptions if not defined.
7006 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7007 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7008
7009 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7010
7011 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7012 type.
7013
7014 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7015
7016 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7017 rs6000/t-slibgcc-aix.
7018
7019 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7020
7021 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7022
7023 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7024
7025 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7026
7027 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7028
7029 PR driver/54171
7030 * Makefile.in (version): Replace top_srcdir with srcdir.
7031
7032 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7033
7034 * Makefile.in (version): set to BASE-VER file from gcc directory.
7035
7036 2012-08-01 Nick Clifton <nickc@redhat.com>
7037
7038 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7039 Implements __clrsb for an HImode argument.
7040
7041 2012-07-31 Nick Clifton <nickc@redhat.com>
7042
7043 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7044 Implements __clrsb for an HImode argument.
7045 * config/stormy16/clrsbhi2.c: New file:
7046 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7047
7048 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7049
7050 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7051
7052 2012-07-19 Tristan Gingold <gingold@adacore.com>
7053 Richard Henderson <rth@redhat.com>
7054
7055 * unwind-seh.c: New file.
7056 * unwind-generic.h: Include windows.h for SEH.
7057 (_Unwind_Exception): Use 6 private fields for SEH.
7058 (_GCC_specific_handler): Declare.
7059 * unwind-c.c (__gcc_personality_seh0): New function.
7060 Adjust for SEH.
7061 * config/i386/libgcc-cygming.ver: New file.
7062 * config/i386/t-seh-eh: New file.
7063 * config.host (x86_64-*-mingw*): Default to seh.
7064
7065 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7066
7067 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7068
7069 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7070
7071 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7072 __builtin_expect when checking for exceptions.
7073 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7074
7075 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7076
7077 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7078 function declaration.
7079 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7080 (FP_RND_MASK): New.
7081 * config/ia64/sfp-exceptions.c: New.
7082 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7083
7084 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7085
7086 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7087 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7088 * config/i386/64/sfp-machine: ... (delete here) ...
7089 * config/i386/sfp-machine.h: ... to here.
7090 (FP_EX_MASK): Remove.
7091 (FP_RND_MASK): New.
7092 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7093
7094 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7095
7096 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7097 * config/i386/libgcc-sol2.ver: Ditto.
7098 * config/i386/libgcc-glibc.ver: Ditto.
7099
7100 2012-06-11 Roland McGrath <mcgrathr@google.com>
7101
7102 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7103 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7104 pthread_cancel.
7105
7106 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7107
7108 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7109 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7110 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7111 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7112 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7113 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7114 * config/i386/64/sfp-machine: ... (delete here) ...
7115 * config/i386/sfp-machine.h: ... to here.
7116 (FP_EX_MASK): New.
7117 (__sfp_handle_exceptions): New function declaration.
7118 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7119 * config/i386/sfp-exceptions.c: New.
7120 * config/i386/t-softfp: New.
7121 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7122 i386/t-softfp to tmake_file.
7123
7124 2012-06-03 David S. Miller <davem@davemloft.net>
7125
7126 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7127 change.
7128
7129 2012-05-31 David S. Miller <davem@davemloft.net>
7130
7131 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7132 multiply and divide instructions on 32-bit when V9.
7133 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7134
7135 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7136
7137 * config/arm/ieee754-df.S: Fix typos.
7138 * config/arm/ieee754-sf.S: Fix typos.
7139 * config/c6x/libunwind.S: Fix typos.
7140 * config/epiphany/udivsi3-float.c: Fix typos.
7141 * config/microblaze/muldi3_hard.S: Fix typos.
7142 * config/picochip/adddi3.S: Fix typos.
7143 * config/picochip/ashlsi3.S: Fix typos.
7144 * config/picochip/ashrsi3.S: Fix typos.
7145 * config/picochip/clzsi2.S: Fix typos.
7146 * config/picochip/cmpsi2.S: Fix typos.
7147 * config/picochip/divmod15.S: Fix typos.
7148 * config/picochip/divmodhi4.S: Fix typos.
7149 * config/picochip/divmodsi4.S: Fix typos.
7150 * config/picochip/longjmp.S: Fix typos.
7151 * config/picochip/lshrsi3.S: Fix typos.
7152 * config/picochip/parityhi2.S: Fix typos.
7153 * config/picochip/popcounthi2.S: Fix typos.
7154 * config/picochip/setjmp.S: Fix typos.
7155 * config/picochip/subdi3.S: Fix typos.
7156 * config/picochip/ucmpsi2.S: Fix typos.
7157 * config/picochip/udivmodhi4.S: Fix typos.
7158 * config/picochip/udivmodsi4.S: Fix typos.
7159 * config/spu/divv2df3.c: Fix typos.
7160 * config/spu/mfc_multi_tag_release.c: Fix typos.
7161 * config/spu/mfc_tag_release.c: Fix typos.
7162 * configure.ac: Fix typos.
7163 * configure: Regenerate.
7164
7165 2012-05-25 Ian Lance Taylor <iant@google.com>
7166
7167 * config/i386/morestack.S (__morestack_non_split): Check whether
7168 caller is varargs and needs %bp to hold the stack frame on return.
7169
7170 2012-05-25 Olivier Hainque <hainque@adacore.com>
7171
7172 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7173 sequence in the non pic case on VxWorks.
7174
7175 2012-05-24 Olivier Hainque <hainque@adacore.com>
7176
7177 * Makefile.in: Move dependency on install-unwind_h from
7178 "install-leaf" to "install".
7179
7180 2012-05-24 Olivier Hainque <hainque@adacore.com>
7181
7182 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7183 Use a separate command for stamp removals.
7184
7185 2012-05-21 Andrew Pinski <apinski@cavium.com>
7186
7187 PR bootstrap/53183
7188 * configure.ac: Define the default includes to being none.
7189 * configure: Regenerate.
7190
7191 2012-05-16 Olivier Hainque <hainque@adacore.com>
7192
7193 * Makefile.in (install-unwind_h): Rename into ...
7194 (install-unwind_h-forbuild): New target.
7195 (all): Use it instead of the former install-unwind_h.
7196 (install-unwind_h): Reinstate, copy to user install destination
7197 for include files, not to the internal gcc object directory one.
7198 (install-leaf): Depend on it.
7199
7200 2012-05-15 Olivier Hainque <hainque@adacore.com>
7201
7202 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7203 register numbers. LR_REGNO replaces R_LR.
7204 (ucontext_for): New, helper for ...
7205 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7206 and 5.3 of ...
7207 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7208
7209 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7210
7211 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7212 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7213 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7214 i386/t-cpuinfo ...
7215 (i[34567]86-*-*, x86_64-*-*): ... here.
7216
7217 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7218 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7219
7220 * config/i386/i386-cpuinfo.c: Rename to ...
7221 * config/i386/cpuinfo.c: ... this.
7222 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7223
7224 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7225 (libgcc_cv_init_priority): New test.
7226 * configure: Regenerate.
7227 * config.in: New file.
7228 * Makefile.in (clean): Rename config.h to auto-target.h.
7229 (config.h): Likewise.
7230 (stamp-h): Likewise.
7231
7232 * config/i386/cpuinfo.c (auto-target.h): Include.
7233 (CONSTRUCTOR_PRIORITY): Define.
7234 (__cpu_indicator_init): Use it.
7235
7236 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7237
7238 * longlong.h: Use a URL instead of an FSF postal address.
7239 Replace spaces with tab.
7240
7241 2012-05-08 Teresa Johnson <tejohnson@google.com>
7242
7243 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7244 (__gcov_dump): Ditto.
7245 (gcov_dump_complete): New global variable.
7246 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7247 (__gcov_flush): Outline functionality now in gcov_clear.
7248 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7249
7250 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7251
7252 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7253 (mips*-*-linux*): Include mips/t-tpbit when long double is
7254 16 bytes long.
7255
7256 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7257
7258 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7259 (get_available_features): New argument. Check for AVX2.
7260 (__cpu_indicator_init): Modify call to get_available_features.
7261
7262 2012-04-25 Alan Modra <amodra@gmail.com>
7263
7264 * config/rs6000/crtsavevr.S: New file.
7265 * config/rs6000/crtrestvr.S: New file.
7266 * config/rs6000/t-savresfgpr: Build the above.
7267 * config/rs6000/t-netbsd: Likewise.
7268
7269 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7270
7271 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7272
7273 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7274
7275 * libgcc/config/i386/i386-cpuinfo.c: New file.
7276 * libgcc/config/i386/t-cpuinfo: New file.
7277 * libgcc/config.host: Include t-cpuinfo.
7278 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7279
7280 2012-04-24 Chao-ying Fu <fu@mips.com>
7281
7282 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7283
7284 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7285
7286 struct siginfo vs. siginfo_t
7287
7288 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7289 siginfo_t instead of struct siginfo.
7290 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7291 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7292 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7293 (ia64_handle_unwabi): Likewise.
7294 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7295 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7296 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7297 (sh_fallback_frame_state): Likewise.
7298 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7299 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7300
7301 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7302
7303 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7304 system call number.
7305
7306 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7307
7308 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7309 if it hasn't been previously saved.
7310
7311 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7312
7313 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7314 only for glibc.
7315
7316 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7317
7318 PR target/52737
7319 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7320 instead of __AVR_HAVE_8BIT_SP__.
7321
7322 2012-03-26 Tristan Gingold <gingold@adacore.com>
7323
7324 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7325 (unw_table_entry): Use unw_word instead of unsigned long.
7326 (_Unwind_FindTableEntry): Likewise.
7327 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7328 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7329 (_Unwind_FindTableEntry): Likewise.
7330 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7331 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7332 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7333 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7334 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7335 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7336 (uw_init_context_1, uw_install_context): Likewise.
7337 (unw_word): Move to unwind-ia64.h
7338
7339 2012-03-26 Tristan Gingold <gingold@adacore.com>
7340
7341 * config/vms/vms-ucrt0.c: Update copyright years.
7342 Add a sanity check.
7343 (___gcc_main_flags): Declare.
7344 (__main): Check flags to remap argv and exit code.
7345 * config.host (*-*-*vms*): Adjust extra_parts.
7346 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7347 (crt0.o): Add.
7348
7349 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7350
7351 * arm/lib1funcs.asm (ctzsi2): New function.
7352 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7353 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7354 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7355 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7356 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7357 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7358
7359 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7360
7361 * config.host: Add bits to support powerpc64-*-freebsd*.
7362 * config/rs6000/freebsd-unwind.h: New file.
7363 * config/rs6000/t-freebsd64: New file.
7364
7365 2012-03-20 Richard Guenther <rguenther@suse.de>
7366
7367 PR gcov-profile/52627
7368 * libgcov.c (init_mx): Fix mutex name.
7369
7370 2012-03-16 Tristan Gingold <gingold@adacore.com>
7371
7372 * config/ia64/vms-unwind.h: Remove ulong (and replace
7373 it by unw_reg where used). Define unw_reg with __int64.
7374
7375 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7376
7377 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7378 Solaris 8 handling.
7379 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7380 Solaris 8 handling.
7381 (sparc_is_sighandler): Likewise.
7382
7383 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7384
7385 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7386 <= saved reg size.
7387
7388 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7389
7390 * config/arm/crtn.S: Fix typo.
7391
7392 2012-03-13 Richard Guenther <rguenther@suse.de>
7393
7394 * libgcov.c: Remove stdio.h include and NULL un-define.
7395
7396 2012-03-13 Richard Guenther <rguenther@suse.de>
7397
7398 PR target/52569
7399 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7400
7401 2012-03-13 Richard Guenther <rguenther@suse.de>
7402
7403 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7404
7405 2012-03-13 Richard Guenther <rguenther@suse.de>
7406
7407 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7408 and __gthread_mutex_init_function definitions.
7409
7410 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7411
7412 * config.host (mips*-*-openbsd*): Remove.
7413
7414 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7415
7416 * config.host: Remove alpha*-dec-osf5.1* handling.
7417 * config/alpha/gthr-posix.c: Remove.
7418 * config/alpha/libgcc-osf5.ver: Remove.
7419 * config/alpha/osf5-unwind.h: Remove.
7420 * config/alpha/t-osf-pthread: Remove.
7421 * config/alpha/t-slibgcc-osf: Remove.
7422 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7423 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7424 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7425 * mkmap-flat.awk: Remove osf_export handling.
7426
7427 2012-03-12 Richard Guenther <rguenther@suse.de>
7428
7429 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7430 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7431 (__gthread_mutex_init_function): New function.
7432 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7433
7434 PR gcov/49484
7435 * libgcov.c: Include gthr.h.
7436 (__gcov_flush_mx): New global variable.
7437 (init_mx, init_mx_once): New functions.
7438 (__gcov_flush): Protect self with a mutex.
7439 (__gcov_fork): Re-initialize mutex after forking.
7440 * unwind-dw2-fde.c: Change condition under which to use
7441 __GTHREAD_MUTEX_INIT_FUNCTION.
7442
7443 2012-03-12 Tristan Gingold <gingold@adacore.com>
7444
7445 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7446 * config/ia64/t-vms: Likewise.
7447
7448 2012-03-11 Michael Hope <michael.hope@linaro.org>
7449
7450 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7451 for Thumb-2.
7452
7453 2012-03-07 Walter Lee <walt@tilera.com>
7454
7455 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7456 "arch_atomic_".
7457 (atomic_xor): Rename and move definition to
7458 config/tilepro/atomic.h.
7459 (atomic_nand): Ditto.
7460 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7461 "arch_atomic_".
7462 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7463 (arch_atomic_nand): Ditto.
7464
7465 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7466
7467 PR target/52507
7468 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7469
7470 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7471
7472 PR target/52505
7473 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7474 from RAM.
7475
7476 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7477
7478 PR target/52461
7479 PR target/52508
7480 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7481 if RAMPZ affects reading from RAM.
7482 (__tablejump_elpm__): Ditto.
7483 (.xload): Ditto.
7484 (__movmemx_hi): Ditto.
7485 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7486 (__do_global_dtors): Ditto.
7487 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7488 (__movmemx_hi): Ditto.
7489
7490 2012-03-05 Richard Henderson <rth@redhat.com>
7491
7492 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7493 [ARM] (count_trailing_zeros): Use the builtin.
7494
7495 2012-03-01 Kai Tietz <ktietz@redhat.com>
7496
7497 * soft-fp: Imported from glibc upstream.
7498
7499 2012-02-28 Kai Tietz <ktietz@redhat.com>
7500
7501 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7502 for mingw-targets as attribute gcc_struct.
7503
7504 2012-02-28 Ian Lance Taylor <iant@google.com>
7505
7506 * generic-morestack.c (__splitstack_releasecontext): Correct call
7507 to __morestack_release_segments.
7508
7509 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7510
7511 PR target/52390
7512 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7513 for __linux__ when removing signals from __morestack_fullmask.
7514
7515 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7516
7517 PR target/52261
7518 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7519
7520 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7521
7522 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7523 instead of HAVE_INITFINI_ARRAY.
7524 * config/ia64/crtend.S: Likewise.
7525
7526 2012-02-20 Kai Tietz <ktietz@redhat.com>
7527
7528 PR libstdc++/52300
7529 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7530
7531 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7532 to w32-unwind.h header.
7533
7534 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7535
7536 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7537 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7538 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7539 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7540
7541 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7542
7543 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7544
7545 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7546
7547 PR libitm/52220
7548 * config/darwin-crt-tm.c: Correct typo.
7549
7550 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7551 Patrick Marlier <patrick.marlier@gmail.com>
7552
7553 PR libitm/52220
7554 * config/darwin-crt-tm.c: Generate dummy functions.
7555
7556 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7557 Patrick Marlier <patrick.marlier@gmail.com>
7558
7559 PR libitm/52042
7560 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7561 (__doTMRegistrations): Call it.
7562 (__doTMdeRegistrations): Likewise.
7563
7564 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7565 Anatoly Sokolov <aesok@post.ru>
7566 Eric Weddington <eric.weddington@atmel.com>
7567
7568 PR target/52261
7569 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7570 (__epilogue_restores__): Ditto.
7571
7572 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7573
7574 PR target/51921
7575 PR target/52205
7576 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7577 Solaris 11 and slightly reformat.
7578 (sparc_is_sighandler): Likewise.
7579
7580 2012-02-14 Walter Lee <walt@tilera.com>
7581
7582 * config.host: Handle tilegx and tilepro.
7583 * config/tilegx/sfp-machine.h: New file.
7584 * config/tilegx/sfp-machine32.h: New file.
7585 * config/tilegx/sfp-machine64.h: New file.
7586 * config/tilegx/t-crtstuff: New file.
7587 * config/tilegx/t-softfp: New file.
7588 * config/tilegx/t-tilegx: New file.
7589 * config/tilepro/atomic.c: New file.
7590 * config/tilepro/atomic.h: New file.
7591 * config/tilepro/linux-unwind.h: New file.
7592 * config/tilepro/sfp-machine.h: New file.
7593 * config/tilepro/softdivide.c: New file.
7594 * config/tilepro/softmpy.S: New file.
7595 * config/tilepro/t-crtstuff: New file.
7596 * config/tilepro/t-tilepro: New file.
7597
7598 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7599
7600 PR libstdc++/51296
7601 PR libstdc++/51906
7602 * gthr-posix.h: Allow static initializer macros to be disabled.
7603 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7604
7605 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7606
7607 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7608 Add t-slibgcc-libgcc to tmake_file.
7609 * config/mips/libgcc-mips16.ver: Revert previous patch.
7610 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7611
7612 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7613 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7614
7615 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7616 * config/cr16/crti.S: New file.
7617 * config/cr16/crtlibid.S: New file.
7618 * config/cr16/crtn.S: New file.
7619 * config/cr16/lib1funcs.S: New file.
7620 * config/cr16/t-cr16: New file.
7621 * config/cr16/t-crtlibid: New file.
7622 * config/cr16/unwind-dw2.h: New file.
7623 * config/cr16/unwind-cr16.c: New file.
7624 * config/cr16/divmodhi3.c: New file.
7625
7626 2012-01-25 Alan Modra <amodra@gmail.com>
7627
7628 * config/rs6000/t-linux64: Delete. Move..
7629 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7630 * config/rs6000/t-linux: ..and libgcc flags to here.
7631
7632 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7633
7634 * config.host (i[34567]86-*-interix3*):
7635 Change triplet to i[34567]86-*-interix[3-9]*.
7636 * configure: Regenerate.
7637
7638 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7639 Richard Sandiford <rdsandiford@googlemail.com>
7640
7641 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7642 * config/mips/mips16.S (__mips16_rdhwr): New function.
7643 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7644
7645 2012-01-11 Nathan Sidwell <nathan@acm.org>
7646
7647 * libgcov.c (__gcov_init): Ignore objects with no functions.
7648
7649 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7650
7651 PR target/49868
7652 Extend __pgmx semantics to linearize memory.
7653 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7654 * config/avr/lib1funcs.S (__xload_1): New function.
7655 (__movmemx_qi, __movmemx_hi): New functions.
7656 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7657 semantics.
7658
7659 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7660
7661 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7662 purported sigacthandler address isn't null before dereferencing it.
7663 (sparc_is_sighandler): Likewise.
7664
7665 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7666
7667 PR ada/41929
7668 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7669 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7670 (sparc_is_sighandler): Likewise.
7671 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7672
7673 2012-01-06 Tristan Gingold <gingold@adacore.com>
7674
7675 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7676 compatibility thunks...
7677 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7678 (crtbeginS.o, crtendS.o): ... and these to ...
7679 * config/ia64/t-ia64-elf: ... this new file.
7680 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7681 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7682
7683 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7684
7685 * configure: Regenerate.
7686 * config/s390/t-crtstuff: Remove -fPIC.
7687
7688 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7689
7690 PR bootstrap/51006
7691 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7692 for NetBSD.
7693
7694 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7695
7696 PR target/51345
7697 * config/avr/lib1funcs.S: Remove FIXME comments.
7698 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7699
7700 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7701
7702 Implement light-weight DImode support.
7703 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7704 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7705 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7706 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7707
7708 2011-12-30 Nathan Sidwell <nathan@acm.org>
7709
7710 * libgcov.c (gcov_crc32): Remove global var.
7711 (free_fn_data): New function.
7712 (buffer_fn_data): Pass in filename, more robust error recovery.
7713 (crc32_unsigned): New function.
7714 (gcov_exit): More robust detection of new program. More robust
7715 error recovery.
7716 (__gcov_init): Do not update program's crc here.
7717
7718 2011-12-21 Tristan Gingold <gingold@adacore.com>
7719
7720 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7721
7722 2011-12-21 Ian Lance Taylor <iant@google.com>
7723
7724 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7725
7726 2011-12-20 Ian Lance Taylor <iant@google.com>
7727
7728 * config/i386/morestack.S (__morestack_non_split): If there is
7729 enough stack space already, don't split. Ask for more stack space
7730 than we required.
7731
7732 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7733
7734 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7735 `sys/sdt.h'.
7736 (_Unwind_DebugHook): New function.
7737 (uw_restore_core_regs): New define.
7738 (unwind_phase2): Use uw_restore_core_regs instead of
7739 restore_core_regs.
7740 (unwind_phase2_forced): Likewise.
7741 (__gnu_Unwind_Resume): Likewise.
7742
7743 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7744
7745 * config/alpha/linux-unwind.h: Update copyright years.
7746 (MD_FROB_UPDATE_CONTEXT): New define.
7747 (alpha_frob_update_context): New function.
7748
7749 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7750
7751 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7752 tmake_file rather replacing it.
7753
7754 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7755
7756 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7757 function is not used for PPC64.
7758 (save_world): Amend comments. Update the VRsave mask to reflect the
7759 saved regs.
7760 (rest_world): Update comments, do not clobber r10, do not use r8.
7761 (eh_rest_world_r10): Amend comments, do not use r8.
7762 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7763 no longer used, move restore of CR and target address to the end of
7764 the routine.
7765
7766 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7767
7768 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7769 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7770
7771 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7772
7773 PR target/49313
7774 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7775 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7776
7777 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7778
7779 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7780
7781 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7782
7783 PR target/49313
7784 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7785 * config/avr/lib1funcs.S (__muldi3): New function.
7786
7787 2011-12-06 Andrew Pinski <apinski@cavium.com>
7788
7789 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7790 size of func_ptr.
7791 (__frame_dummy_init_array_entry): Likewise.
7792
7793 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7794
7795 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7796
7797 PR target/51345
7798 PR target/51002
7799 * config/avr/lib1funcs.S (__prologue_saves__,
7800 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7801 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7802
7803 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7804
7805 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7806
7807 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7808
7809 PR other/51272
7810 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7811 (_ITM_deregisterTMCloneTable): Likewise.
7812 (__register_frame_info): Fix unused warning.
7813 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7814 pthread_default_stacksize_np): Likewise.
7815 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7816
7817 2011-11-29 DJ Delorie <dj@redhat.com>
7818
7819 * config.host (rl78-*-elf): New case.
7820 * config/rl78: New directory for the Renesas RL78.
7821
7822 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7823
7824 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7825 formatting.
7826
7827 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7828
7829 PR other/51022
7830 * config/rs6000/t-savresfgpr: New file.
7831 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7832 $(srcdir)/config/rs6000/eabi.S.
7833 * config/rs6000/t-ppccomm-ldbl: Remove.
7834 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7835 tmake_file.
7836 (powerpc-*-eabispe*): Likewise.
7837 (powerpc-*-eabi*): Likewise.
7838 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7839 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7840 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7841 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7842 tmake_file.
7843 (powerpc-*-eabisim*): Likewise.
7844 (powerpc-*-elf*): Likewise.
7845 (powerpc-*-eabialtivec*): Likewise.
7846 (powerpc-xilinx-eabi*): Likewise.
7847 (powerpc-*-rtems*): Likewise.
7848 (powerpcle-*-elf*): Likewise.
7849 (powerpcle-*-eabisim*): Likewise.
7850 (powerpcle-*-eabi*): Likewise.
7851
7852 2011-11-27 Ian Lance Taylor <iant@google.com>
7853
7854 * generic-morestack.c (__splitstack_find): Check for NULL old
7855 stack value.
7856 (__splitstack_resetcontext): New function.
7857 (__splitstack_releasecontext): New function.
7858 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7859
7860 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7861
7862 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7863
7864 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7865
7866 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7867
7868 2011-11-26 Richard Henderson <rth@redhat.com>
7869
7870 * config/m68k/linux-atomic.c: New file.
7871 * config/m68k/t-linux: New file.
7872 * config.host (m68k-uclinux, m68k-linux): Use it.
7873
7874 2011-11-26 Richard Henderson <rth@redhat.com>
7875
7876 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7877 (__TMC_END__): Only declare if hidden is available; in the definition,
7878 if hidden is unavailable add a null record.
7879 (deregister_tm_clones, register_tm_clones): New.
7880 (__do_global_dtors_aux, frame_dummy): Use them.
7881 (__do_global_dtors, __do_global_ctors_1): Likewise.
7882
7883 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7884
7885 * config/darwin-crt-tm.c: New file.
7886 * config.host (darwin): Build crttms.o crttme.o to provide
7887 startup and shutdown for tm clones.
7888 * config/t-darwin (crttms.o): New build rule.
7889 (crttme.o): Likewise.
7890
7891 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7892
7893 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7894 et al.
7895
7896 2011-11-21 Richard Henderson <rth@redhat.com>
7897
7898 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7899 (__TMC_LIST__, __TMC_END__): New.
7900 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7901 (__do_global_dtors): Likewise.
7902 (frame_dummy): Call _ITM_registerTMCloneTable.
7903 (__do_global_ctors_1): Likewise.
7904
7905 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7906
7907 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7908 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7909 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7910 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7911 * config/i386/t-darwin64: Remove.
7912 * config/sh/t-netbsd (LIB2ADD): Remove.
7913
7914 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7915
7916 PR target/49313
7917 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7918 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7919 * config/avr/lib1funcs.S (wmov): New assembler macro.
7920 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7921 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7922 (__udivmod64): New function.
7923 (__negdi2): New function.
7924
7925 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7926
7927 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7928 *-*-freebsd*aout*): Remove.
7929
7930 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7931
7932 * static-object.mk (c_flags-$o): Save c_flags.
7933 ($(base)$(objext)): Use it.
7934
7935 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7936
7937 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7938
7939 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7940
7941 PR target/49868
7942 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7943 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7944 New functions.
7945
7946 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7947
7948 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7949 functions.
7950 (aeabi_uidivmod): Likewise.
7951 (umodsi3): Likewise.
7952 (divsi3): Likewise.
7953 (aeabi_idivmod): Likewise.
7954 (modsi3): Likewise.
7955
7956 2011-11-16 Tristan Gingold <gingold@adacore.com>
7957
7958 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7959
7960 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7961
7962 PR target/49868
7963 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7964 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7965
7966 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7967
7968 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7969 tmake_file list.
7970 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7971 * config/pa/t-stublib64: Delete.
7972
7973 2011-11-12 Richard Henderson <rth@redhat.com>
7974
7975 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7976 cast the pointer argument to _Unwind_SetGRPtr.
7977
7978 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7979
7980 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7981
7982 2011-11-09 Ian Lance Taylor <iant@google.com>
7983
7984 * generic-morestack.c: Include <string.h>.
7985 (uintptr_type): Define.
7986 (struct initial_sp): Add dont_block_signals field. Reduce size of
7987 extra array by 1.
7988 (allocate_segment): Set prev field to NULL. Don't set
7989 __morestack_current_segment or __morestack_segments.
7990 (__generic_morestack): Update current->prev and *pp after calling
7991 allocate_segment.
7992 (__morestack_block_signals): Don't do anything if
7993 dont_block_signals is set.
7994 (__morestack_unblock_signals): Likewise.
7995 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7996 uintptr_type.
7997 (__splitstack_block_signals): New function.
7998 (enum __splitstack_content_offsets): Define.
7999 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8000 (__splitstack_makecontext): New function.
8001 (__splitstack_block_signals_context): New function.
8002 (__splitstack_find_context): New function.
8003 * config/i386/morestack.S (__morestack_get_guard): New function.
8004 (__morestack_set_guard, __morestack_make_guard): New functions.
8005 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8006
8007 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8008
8009 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8010 (i[34567]86-*-mingw*): ... here.
8011 (x86_64-*-mingw*): ... here.
8012
8013 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8014
8015 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8016
8017 2011-11-07 Nathan Sidwell <nathan@acm.org>
8018
8019 * libgcov.c (struct gcov_fn_buffer): New struct.
8020 (buffer_fn_data): New helper.
8021 (gcov_exit): Rework for new gcov data structures.
8022
8023 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8024
8025 PR target/49313
8026 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8027
8028 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8029
8030 * config.host (tmake_file): Correct comment.
8031 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8032 t-libgcc-pic.
8033 (bfin*-uclinux*): Likewise.
8034 (bfin*-linux-uclibc*): Likewise.
8035 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8036
8037 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8038 assigning.
8039 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8040 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8041 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8042 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8043 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8044 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8045 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8046 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8047 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8048 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8049 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8050 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8051 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8052
8053 * config/bfin/t-elf: Remove.
8054 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8055
8056 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8057
8058 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8059 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8060 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8061 (lm32-*-elf*): ... this.
8062 (lm32-*-rtems*): ... and this.
8063 Add to tmake_file.
8064 (m32r-*-rtems*): Add to tmake_file.
8065 (moxie-*-rtems*): Likewise.
8066 (sparc-*-rtems*): Likewise.
8067 Remove t-rtems from tmake_file.
8068 (sparc64-*-rtems*): Likewise.
8069 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8070 instead.
8071
8072 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8073
8074 PR bootstrap/50982
8075 * config/gthr-posix.h: Move ...
8076 * gthr-posix.h: ... here.
8077 * config/gthr-lynx.h: Reflect this.
8078 * config/gthr-vxworks.h: Likewise.
8079 * config/rs6000/gthr-aix.h: Likewise.
8080 * configure.ac (target_thread_file): Likewise.
8081 * configure: Regenerate.
8082
8083 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8084
8085 * config.host (arm*-*-rtemseabi*): New target.
8086
8087 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8088
8089 PR other/50991
8090 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8091 extra-parts.
8092
8093 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8094
8095 * config.host (epiphany-*-elf*): New configuration.
8096 * config/epiphany: New Directory.
8097
8098 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8099
8100 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8101 * config/avr/t-rtems: New.
8102 Filter out _exit from LIB1ASMFUNCS.
8103
8104 2011-11-04 David S. Miller <davem@davemloft.net>
8105
8106 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8107 * configure: Rebuild.
8108
8109 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8110
8111 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8112 variable.
8113
8114 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8115
8116 PR target/50931
8117 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8118 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8119
8120 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8121
8122 PR target/50989
8123 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8124
8125 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8126
8127 * config/c6x/t-elf (LIB2ADDEH): Set.
8128 * config/c6x/t-c6x-elf: Remove.
8129
8130 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8131
8132 * config/i386/sol2-ci.S: Rename to ...
8133 * config/i386/crti.S: ... this.
8134 * config/i386/sol2-cn.S: Rename to ...
8135 * config/i386/crtn.S: ... this.
8136 * config/sparc/sol2-ci.S: Rename to ...
8137 * config/sparc/crti.S: ... this.
8138 * config/sparc/sol2-cn.S: Rename to ...
8139 * config/sparc/crtn.S: ... this.
8140 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8141 (crti.o, crtn.o): Remove.
8142
8143 2011-11-04 Tristan Gingold <gingold@adacore.com>
8144
8145 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8146
8147 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8148
8149 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8150
8151 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8152
8153 * config.host (crisv32-*-none, cris-*-none): Remove.
8154 (crisv32-*-elf): Append to tmake_file, don't just set it.
8155 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8156
8157 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8158
8159 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8160 (ecrtn$(objext)): Likewise.
8161 (ncrti$(objext)): Likewise.
8162 (ncrtn$(objext)): Likewise.
8163
8164 2011-11-03 Andreas Schwab <schwab@redhat.com>
8165
8166 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8167
8168 2011-11-02 David S. Miller <davem@davemloft.net>
8169
8170 * configure.ac: Set host_address on sparc too.
8171 * configure: Regenerate.
8172 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8173 based upon host_address.
8174 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8175
8176 2011-11-02 Jason Merrill <jason@redhat.com>
8177
8178 * config/rs6000/t-ppccomm: Add missing \.
8179
8180 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8181
8182 * gthr-single.h, gthr.h: New files.
8183 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8184 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8185 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8186 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8187 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8188 * configure.ac (thread_header): New variable.
8189 Set it depending on target_thread_file.
8190 (gthr-default.h): Link from $thread_header.
8191 * configure: Regenerate.
8192 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8193
8194 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8195
8196 * configure.ac (tm_file_): New variable.
8197 Determine from tm_file.
8198 (tm_file, tm_defines): Substitute.
8199 * configure: Regenerate.
8200 * mkheader.sh: New file.
8201 * Makefile.in (clean): Remove libgcc_tm.h.
8202 ($(objects)): Depend on libgcc_tm.h.
8203 (libgcc_tm_defines, libgcc_tm_file): New variables.
8204 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8205 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8206 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8207 ($(extra-parts)): Depend on libgcc_tm.h.
8208 * config.host (tm_defines, tm_file): New variable.
8209 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8210 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8211 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8212 (avr-*-rtems*): Likewise.
8213 (avr-*-*): Likewise.
8214 (frv-*-elf): Likewise.
8215 (frv-*-*linux*): Likewise.
8216 (h8300-*-rtems*): Likewise.
8217 (h8300-*-elf*): Likewise.
8218 (i[34567]86-*-darwin*): Likewise.
8219 (x86_64-*-darwin*): Likewise.
8220 (rx-*-elf): Likewise.
8221 (tic6x-*-uclinux): Likewise.
8222 (tic6x-*-elf): Likewise.
8223 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8224 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8225 * config/i386/cygming-crtbegin.c: Likewise.
8226 * config/i386/cygming-crtend.c: Likewise.
8227 * config/ia64/fde-vms.c: Likewise.
8228 * config/ia64/unwind-ia64.c: Likewise.
8229 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8230 * config/rs6000/darwin-fallback.c: Likewise.
8231 * config/stormy16/lib2funcs.c: Likewise.
8232 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8233 * crtstuff.c: Likewise.
8234 * dfp-bit.h: Likewise.
8235 * emutls.c: Likewise.
8236 * fixed-bit.c: Likewise.
8237 * fp-bit.c: Likewise.
8238 * generic-morestack-thread.c: Likewise.
8239 * generic-morestack.c: Likewise.
8240 * libgcc2.c: Likewise.
8241 * libgcov.c: Likewise.
8242 * unwind-dw2-fde-dip.c: Likewise.
8243 * unwind-dw2-fde.c: Likewise.
8244 * unwind-dw2.c: Likewise.
8245 * unwind-sjlj.c: Likewise.
8246
8247 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8248
8249 * configure.ac: Include ../config/picflag.m4.
8250 (GCC_PICFLAG): Call it.
8251 Substitute.
8252 * configure: Regenerate.
8253 * Makefile.in (gcc_srcdir): Remove.
8254 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8255 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8256 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8257 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8258 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8259 Use $<.
8260 Remove comment.
8261 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8262 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8263 to refer to libgcc2.c.
8264 Use $<.
8265 * config/darwin-64.c: New file.
8266 * config/darwin-crt3.c: Remove comment.
8267 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8268 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8269 config/udivmodsi4.c: New files.
8270 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8271 config/memset.c: New files.
8272 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8273 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8274 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8275 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8276 * config/t-openbsd-thread: New file.
8277 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8278 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8279 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8280 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8281 qrnnd.S.
8282 Adapt filename.
8283 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8284 to refer to gthr-posix.c.
8285 * config/alpha/t-vms (LIB2ADD): Set.
8286 * config/alpha/vms-gcc_shell_handler.c: New file.
8287 * config/arm/bpabi.c, config/arm/fp16.c,
8288 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8289 config/arm/unaligned-funcs.c: New files.
8290 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8291 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8292 * config/arm/t-linux: Likewise.
8293 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8294 * config/arm/t-netbsd: New file.
8295 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8296 * config/arm/t-symbian (LIB2ADD_ST): Set.
8297 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8298 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8299 * config/bfin/t-elf: New file.
8300 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8301 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8302 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8303 config/c6x/ltf.c: New files.
8304 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8305 (HOST_LIBGCC2_CFLAGS): Set.
8306 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8307 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8308 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8309 New files.
8310 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8311 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8312 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8313 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8314 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8315 files.
8316 * config/frv/t-frv (LIB2ADD): Set.
8317 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8318 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8319 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8320 config/h8300/popcounthi2.c: New files.
8321 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8322 * config/i386/gthr-win32.c: New file.
8323 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8324 * config/i386/t-cygwin: Likewise.
8325 * config/i386/t-darwin, config/i386/t-darwin64,
8326 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8327 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8328 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8329 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8330 * config/ia64/quadlib.c: New file.
8331 * config/ia64/t-hpux (LIB2ADD): Set.
8332 * config/ia64/t-ia64: Add comment.
8333 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8334 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8335 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8336 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8337 * config/m32c/t-m32c (LIB2ADD): Set.
8338 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8339 * config/m32r/t-m32r: Likewise.
8340 * config/m68k/fpgnulib.c: New file.
8341 * config/m68k/t-floatlib (LIB2ADD): Set.
8342 (xfgnulib.c): New target.
8343 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8344 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8345 * config/mep/t-mep (LIB2ADD): Set.
8346 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8347 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8348 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8349 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8350 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8351 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8352 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8353 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8354 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8355 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8356 New files.
8357 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8358 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8359 * config/pa/fptr.c, config/pa/lib2funcs.S,
8360 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8361 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8362 (LIB2ADD, LIB2ADD_ST): Set.
8363 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8364 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8365 Set.
8366 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8367 * config/pdp11/t-pdp11: New file.
8368 * config/picochip/libgccExtras/adddi3.S,
8369 config/picochip/libgccExtras/ashlsi3.S,
8370 config/picochip/libgccExtras/ashrsi3.S,
8371 config/picochip/libgccExtras/clzsi2.S,
8372 config/picochip/libgccExtras/cmpsi2.S,
8373 config/picochip/libgccExtras/divmod15.S,
8374 config/picochip/libgccExtras/divmodhi4.S,
8375 config/picochip/libgccExtras/divmodsi4.S,
8376 config/picochip/libgccExtras/lshrsi3.S,
8377 config/picochip/libgccExtras/parityhi2.S,
8378 config/picochip/libgccExtras/popcounthi2.S,
8379 config/picochip/libgccExtras/subdi3.S,
8380 config/picochip/libgccExtras/ucmpsi2.S,
8381 config/picochip/libgccExtras/udivmodhi4.S,
8382 config/picochip/libgccExtras/udivmodsi4.S: New files.
8383 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8384 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8385 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8386 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8387 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8388 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8389 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8390 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8391 files.
8392 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8393 (HOST_LIBGCC2_CFLAGS): Set.
8394 * config/rs6000/t-darwin64: New file.
8395 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8396 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8397 * config/rs6000/t-ppccomm (LIB2ADD): Add
8398 $(srcdir)/config/rs6000/tramp.S.
8399 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8400 Add $(srcdir)/config/rs6000/eabi.S.
8401 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8402 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8403 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8404 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8405 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8406 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8407 * config/rs6000/tramp.S: New file.
8408 * config/s390/t-tpf: Remove.
8409 * config/sh/linux-atomic.S: New file.
8410 * config/sh/t-linux (LIB2ADD): Set.
8411 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8412 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8413 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8414 to unwind-dw2.c.
8415 (HOST_LIBGCC2_CFLAGS): Set.
8416 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8417 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8418 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8419 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8420 config/spu/mfc_multi_tag_release.c,
8421 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8422 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8423 config/spu/multi3.c: New files.
8424 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8425 (HOST_LIBGCC2_CFLAGS): Set.
8426 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8427 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8428 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8429 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8430 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8431 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8432 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8433 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8434 config/stormy16/umodsi3.c: New files.
8435 * config/xtensa/lib2funcs.S: New file.
8436 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8437 * config/xtensa/t-xtensa (LIB2ADD): Set.
8438 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8439 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8440 Add t-freebsd-thread to tmake_file for posix threads.
8441 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8442 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8443 (*-*-lynxos*): Likewise.
8444 (*-*-netbsd*): Likewise.
8445 (*-*-openbsd*): Likewise.
8446 Add t-openbsd-thread to tmake_file for posix threads.
8447 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8448 (*-*-vxworks*): Set tmake_file.
8449 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8450 (alpha*-*-freebsd*): Likewise.
8451 (alpha*-*-netbsd*): Likewise.
8452 (alpha*-*-openbsd*): Likewise.
8453 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8454 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8455 (alpha*-dec-*vms*): Likewise.
8456 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8457 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8458 (bfin*-uclinux*): Likewise.
8459 (bfin*-linux-uclibc*): Likewise.
8460 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8461 (crisv32-*-none): Likewise.
8462 (cris-*-elf): Likewise.
8463 (cris-*-none): Likewise.
8464 (cris-*-linux*, crisv32-*-linux*): Likewise.
8465 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8466 tmake_file.
8467 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8468 tmake_file.
8469 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8470 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8471 (x86_64-*-elf*): Likewise.
8472 (i[34567]86-*-nto-qnx*): Likewise.
8473 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8474 win32 threads.
8475 (x86_64-*-mingw*): Likewise.
8476 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8477 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8478 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8479 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8480 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8481 tmake_file.
8482 (mipsisa64sr71k-*-elf*): Likewise.
8483 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8484 (mips-*-elf*, mipsel-*-elf*): Likewise.
8485 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8486 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8487 (mips*-*-rtems*): Likewise.
8488 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8489 to tmake_file.
8490 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8491 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8492 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8493 (spu-*-elf*): Likewise.
8494 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8495
8496 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8497
8498 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8499 $(srcdir) to refer to $(LIB1ASMSRC).
8500 Use $<.
8501 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8502 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8503 config/arm/lib1funcs.S: New files.
8504 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8505 * config/arm/t-arm: New file.
8506 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8507 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8508 config/arm/t-strongarm-elf: New files.
8509 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8510 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8511 * config/avr/lib1funcs.S: New file.
8512 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8513 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8514 * config/c6x/lib1funcs.S: New file.
8515 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8516 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8517 * config/frv/lib1funcs.S: New file.
8518 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8519 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8520 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8521 * config/ia64/__divxf3.asm: Rename to ...
8522 * config/ia64/__divxf3.S: ... this.
8523 Adapt lib1funcs.asm filename.
8524 * config/ia64/_fixtfdi.asm: Rename to ...
8525 * config/ia64/_fixtfdi.S: ... this.
8526 Adapt lib1funcs.asm filename.
8527 * config/ia64/_fixunstfdi.asm: Rename to ...
8528 * config/ia64/_fixunstfdi.S: ... this.
8529 Adapt lib1funcs.asm filename.
8530 * config/ia64/_floatditf.asm: Rename to ...
8531 * config/ia64/_floatditf.S: ... this.
8532 Adapt lib1funcs.asm filename.
8533 * config/ia64/lib1funcs.S: New file.
8534 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8535 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8536 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8537 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8538 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8539 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8540 * config/mep/lib1funcs.S: New file.
8541 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8542 * config/mips/mips16.S: New file.
8543 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8544 * config/pa/milli64.S: New file.
8545 * config/pa/t-linux, config/pa/t-linux64: New files.
8546 * config/picochip/lib1funcs.S: New file.
8547 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8548 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8549 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8550 * config/sh/t-netbsd: New file.
8551 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8552 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8553 * config/sh/t-sh64: New file.
8554 * config/sparc/lb1spc.S: New file.
8555 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8556 filename.
8557 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8558 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8559 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8560 config/xtensa/lib1funcs.S: New files.
8561 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8562 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8563 tmake_file.
8564 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8565 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8566 (arm*-*-linux*): Likewise.
8567 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8568 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8569 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8570 (arm*-*-ecos-elf): Likewise.
8571 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8572 (arm*-*-rtems*): Likewise.
8573 (arm*-*-elf): Likewise.
8574 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8575 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8576 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8577 (bfin*-uclinux*): Likewise.
8578 (bfin*-linux-uclibc*): Likewise.
8579 (bfin*-rtems*): Likewise.
8580 (bfin*-*): Likewise.
8581 (fido-*-elf): Merge into m68k-*-elf*.
8582 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8583 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8584 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8585 (h8300-*-elf*): Likewise.
8586 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8587 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8588 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8589 (i[34567]86-*-mingw*): Likewise.
8590 (x86_64-*-mingw*): Likewise.
8591 (i[34567]86-*-interix3*): Likewise.
8592 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8593 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8594 (m68k-*-elf*): Also handle fido-*-elf.
8595 Add m68k/t-floatlib to tmake_file.
8596 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8597 (m68k-*-linux*): Likewise.
8598 (m68k-*-rtems*): Likewise.
8599 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8600 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8601 sh64*-*-*.
8602 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8603 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8604 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8605 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8606 sh/t-netbsd to tmake_file.
8607 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8608 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8609 (sh-wrs-vxworks): Likewise.
8610 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8611 *-leon[3-9]*.
8612 (v850*-*-*): Add v850/t-v850 to tmake_file.
8613 (vax-*-linux*): Add vax/t-linux to tmake_file.
8614 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8615
8616 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8617
8618 * crtstuff.c: New file.
8619 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8620 (CRTSTUFF_T_CFLAGS): Define.
8621 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8622 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8623 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8624 crtstuff.c.
8625 Use $<.
8626 (crtbeginT.o): Use $(objext).
8627 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8628 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8629 (gcc-extra-parts): Remove.
8630 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8631 Set extra_parts.
8632 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8633 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8634 Add t-crtstuff-pic to tmake_file.
8635 (*-*-lynxos*): New case.
8636 Set tmake_file, extra_parts.
8637 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8638 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8639 *-*-netbsdelf[2-9]*.
8640 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8641 (*-*-rtems*): Set extra_parts.
8642 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8643 (*-*-uclinux*): New case.
8644 Set extra_parts.
8645 (*-*-vms*): New case.
8646 Set tmake_file, extra_parts.
8647 (*-*-elf): Set extra_parts.
8648 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8649 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8650 vms/t-vms64.
8651 Set extra_parts.
8652 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8653 Set extra_parts.
8654 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8655 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8656 (arm-wrs-vxworks): Append to tmake_file.
8657 Set extra_parts.
8658 (arm*-*-uclinux*): Set extra_parts.
8659 (arm*-*-ecos-elf): Likewise.
8660 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8661 arm*-*-eabi*.
8662 (arm*-*-rtems*): Set extra_parts.
8663 (arm*-*-elf): Likewise.
8664 (avr-*-rtems*): Clear extra_parts.
8665 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8666 Set extra_parts.
8667 (bfin*-uclinux*): Likewise.
8668 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8669 (bfin*-rtems*): Append to tmake_file.
8670 Set extra_parts.
8671 (bfin*-*): Likewise.
8672 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8673 (crisv32-*-elf): ... this.
8674 (crisv32-*-none): ... this.
8675 (cris-*-elf, cris-*-none): New cases.
8676 Add cris/t-elfmulti to tmake_file.
8677 (fr30-*-elf): Append to tmake_file.
8678 Set extra_parts.
8679 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8680 Set extra_parts.
8681 (h8300-*-rtems*): Append to tmake_file.
8682 Set extra_parts.
8683 (h8300-*-elf*): Likewise.
8684 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8685 Set extra_parts.
8686 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8687 Set extra_parts.
8688 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8689 (x86_64-*-elf*): Likewise.
8690 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8691 (x86_64-*-freebsd*): Likewise.
8692 (x86_64-*-netbsd*): Likewise.
8693 (i[34567]86-*-linux*): Likewise.
8694 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8695 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8696 (x86_64-*-linux*): Likewise.
8697 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8698 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8699 tmake_file.
8700 Set extra_parts.
8701 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8702 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8703 Append to extra_parts, remove crtbegin.o, crtend.o.
8704 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8705 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8706 crtend.o, crtbeginS.o, crtendS.o.
8707 (ia64*-*-linux*): Comment extra_parts.
8708 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8709 Set extra_parts.
8710 (iq2000*-*-elf*): Clear extra_parts.
8711 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8712 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8713 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8714 (m32r-*-rtems*): ... this.
8715 Add m32r/t-m32r to tmake_file.
8716 (m68k-*-elf*): Add t-crtin to tmake_file.
8717 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8718 (mcore-*-elf): Likewise.
8719 (microblaze*-*-*): Set extra_parts.
8720 (mips*-sde-elf*): New case.
8721 Set tmake_file, extra_parts.
8722 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8723 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8724 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8725 tmake_file.
8726 Set extra_parts.
8727 (mipsisa64sr71k-*-elf*): Likewise.
8728 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8729 (mips-*-elf*, mipsel-*-elf*): Likewise.
8730 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8731 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8732 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8733 (mips*-*-rtems*): Likewise.
8734 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8735 (moxie-*-*): Split into ...
8736 (moxie-*-elf, moxie-*-uclinux*): ... this.
8737 Add to extra_parts, remove crtbegin.o, crtend.o.
8738 (moxie-*-rtems*): New case.
8739 Set tmake_file.
8740 Clear extra_parts.
8741 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8742 Set extra_parts.
8743 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8744 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8745 tmake_file.
8746 Set extra_parts.
8747 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8748 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8749 Set extra_parts.
8750 (powerpc-*-eabisim*): Likewise.
8751 (powerpc-*-elf*): Likewise.
8752 (powerpc-*-eabialtivec*): Likewise.
8753 (powerpc-xilinx-eabi*): Likewise.
8754 (powerpc-*-eabi*): Likewise.
8755 (powerpc-*-rtems*): Likewise.
8756 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8757 tmake_file.
8758 Set extra_parts.
8759 (powerpc-*-lynxos*): Add to tmake_file.
8760 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8761 rs6000/t-crtstuff, t-crtstuff-pic.
8762 Set extra_parts.
8763 (powerpcle-*-eabisim*): Likewise.
8764 (powerpcle-*-eabi*): Likewise.
8765 (rx-*-elf): Remove extra_parts.
8766 (s390x-ibm-tpf*): Set extra_parts.
8767 (score-*-elf): Set extra_parts.
8768 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8769 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8770 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8771 (sh64l*-*-netbsd*): Split into ...
8772 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8773 Add t-crtstuff-pic to tmake_file.
8774 Set extra_parts.
8775 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8776 Set extra_parts.
8777 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8778 (sparc-*-elf*): Remove t-crtin from tmake_file.
8779 Add to extra_parts, remove crtbegin.o, crtend.o.
8780 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8781 (sparc64-*-linux*): Likewise.
8782 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8783 Add to extra_parts, remove crtbegin.o, crtend.o.
8784 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8785 Add to extra_parts, remove crtbegin.o, crtend.o.
8786 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8787 Add to extra_parts, remove crtbegin.o, crtend.o.
8788 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8789 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8790 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8791 Set extra_parts.
8792 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8793 Set extra_parts.
8794 (tic6x-*-*): Change to ...
8795 (tic6x-*-elf): ... this.
8796 Set extra_parts.
8797 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8798 Set extra_parts.
8799 (am33_2.0-*-linux*): Add comment.
8800 (mep*-*-*): Add mep/t-mep to tmake_file.
8801 Set extra_parts.
8802 * config/alpha/t-vms: New file.
8803 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8804 * config/arm/crti.S, config/arm/crtn.S: New files.
8805 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8806 * config/bfin/crtlibid.S: New file.
8807 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8808 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8809 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8810 (crti.o, crtin.o): New rules.
8811 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8812 * config/c6x/t-uclinux: New file.
8813 * config/cris/t-elfmulti: New file.
8814 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8815 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8816 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8817 * config/frv/t-frv: New file.
8818 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8819 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8820 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8821 New files.
8822 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8823 refer to cygming-crtbegin.c, cygming-crtend.c.
8824 Use $<.
8825 * config/i386/t-nto: New file.
8826 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8827 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8828 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8829 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8830 Use .S extension.
8831 Use $<.
8832 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8833 (crtinitS.o): New rule.
8834 * config/ia64/vms-crtinit.S: New file.
8835 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8836 * config/m32r/initfini.c: New file.
8837 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8838 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8839 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8840 * config/mep/t-mep: New file.
8841 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8842 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8843 * config/mips/crti.S, config/mips/crtn.S: New files.
8844 * config/mips/t-crtstuff: New file.
8845 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8846 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8847 (CUSTOM_CRTIN): Set.
8848 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8849 dependencies.
8850 Use $(srcdir) to refer to crti.S, crtn.S.
8851 Use .S extension, $<.
8852 * config/moxie/crti.asm: Rename to ...
8853 * config/moxie/crti.S: ... this.
8854 * config/moxie/crtn.asm: Rename to ...
8855 * config/moxie/crtn.S: ... this.
8856 * config/moxie/t-moxie: Remove.
8857 * config/pa/stublib.c: New file.
8858 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8859 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8860 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8861 * config/rs6000/t-crtstuff: New file.
8862 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8863 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8864 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8865 Make output file explicit.
8866 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8867 Make output file explicit.
8868 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8869 Make output file explicit.
8870 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8871 Make output file explicit.
8872 * config/score/crti.S, config/score/crtn.S: New files.
8873 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8874 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8875 files.
8876 * config/sh/t-sh, config/sh/t-superh: New files.
8877 * config/sparc/t-linux64: New file.
8878 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8879 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8880 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8881 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8882 * config/t-crtin: Remove.
8883 * config/t-crtstuff-pic: New file.
8884 * config/t-sol2 (CUSTOM_CRTIN): Set.
8885 (crti.o, crtn.o): New rules.
8886 * config/vms/t-vms: New file.
8887 * config/vms/vms-ucrt0.c: New file.
8888 * config/xtensa/t-elf: New file.
8889
8890 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8891
8892 * Makefile.in (SHLIB_NM_FLAGS): Set.
8893 * mkmap-flat.awk, mkmap-symver.awk: New files.
8894 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8895 exceptions.
8896 * configure: Regenerate.
8897 * config/libgcc-glibc.ver: New file.
8898 * config/libgcc-libsystem.ver: New file.
8899 * config/t-libunwind (SHLIB_LC): Set.
8900 * config/t-linux: New file.
8901 * config/t-slibgcc (INSTALL_SHLIB): New.
8902 (SHLIB_INSTALL): Use it.
8903 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8904 to mkmap-symver.awk.
8905 (SHLIB_MAPFILES): Don't append, adapt pathname.
8906 (SHLIB_VERPFX): Set.
8907 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8908 to mkmap-symver.awk.
8909 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8910 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8911 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8912 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8913 to mkmap-flat.awk.
8914 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8915 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8916 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8917 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8918 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8919 * config/i386/libgcc-darwin.10.4.ver,
8920 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8921 New files.
8922 * config/i386/t-darwin: Remove.
8923 * config/i386/t-darwin64: Likewise.
8924 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8925 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8926 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8927 * config/i386/t-linux: New file.
8928 * config/i386/t-mingw32: New file.
8929 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8930 * config/ia64/t-glibc: Rename to ...
8931 * config/ia64/t-linux: ... this.
8932 (SHLIB_MAPFILES): Set.
8933 * config/ia64/t-glibc-libunwind: Rename to ...
8934 * config/ia64/t-linux-libunwind: ... this.
8935 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8936 * config/ia64/t-slibgcc-hpux: New file.
8937 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8938 * config/m68k/t-slibgcc-elf-ver: New file.
8939 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8940 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8941 to mkmap-flat.awk.
8942 * config/pa/t-slibgcc-hpux: New file.
8943 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8944 files.
8945 * config/rs6000/libgcc-darwin.10.4.ver,
8946 config/rs6000/libgcc-darwin.10.5.ver: New files.
8947 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8948 config/rs6000/libgcc-glibc.ver.
8949 * config/rs6000/libgcc-ppc64.ver: Rename to
8950 config/rs6000/libgcc-ibm-ldouble.ver.
8951 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8952 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8953 * config/rs6000/t-ldbl128: Rename to ...
8954 * config/rs6000/t-linux: ... this.
8955 (SHLIB_MAPFILES): Adapt filename.
8956 * config/rs6000/t-slibgcc-aix: New file.
8957 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8958 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8959 libgcc-excl.ver, libgcc-glibc.ver.
8960 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8961 * config/sparc/libgcc-glibc.ver: New file.
8962 * config/sparc/t-linux: New file.
8963 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8964 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8965 t-slibgcc-elf-ver to tmake_file.
8966 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8967 *-*-freebsd[34].
8968 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8969 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8970 t-slibgcc-elf-ver, t-linux to tmake_file.
8971 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8972 tmake_file.
8973 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8974 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8975 (alpha*-dec-*vms*): Likewise.
8976 (arm*-*-freebsd*): Append to tmake_file.
8977 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8978 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8979 arm*-*-linux-*eabi.
8980 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8981 tmake_file for arm*-*-symbianelf*.
8982 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8983 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8984 cris/t-linux.
8985 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8986 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8987 pa/t-slibgcc-dwarf-ver to tmake_file.
8988 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8989 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8990 (hppa*64*-*-hpux11*): Likewise.
8991 (hppa[12]*-*-hpux11*): Likewise.
8992 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8993 i386/t-crtpc, i386/t-crtfm.
8994 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8995 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8996 to tmake_file.
8997 Add i386/t-cygwin to tmake_file.
8998 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8999 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9000 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9001 to tmake_file.
9002 Add i386/t-mingw32 to tmake_file.
9003 (x86_64-*-mingw*): Likewise.
9004 (ia64*-*-freebsd*): Append to tmake_file.
9005 (ia64*-*-linux*): Append to tmake_file.
9006 Replace ia64/t-glibc by ia64/t-linux.
9007 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9008 system libunwind.
9009 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9010 t-slibgcc-hpux to tmake_file.
9011 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9012 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9013 (m32rle-*-linux*): Likewise.
9014 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9015 sjlj exceptions.
9016 (microblaze*-linux*): New case.
9017 Append to tmake_file, add t-slibgcc-nolc-override.
9018 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9019 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9020 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9021 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9022 rs6000/t-slibgcc-aix to tmake_file.
9023 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9024 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9025 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9026 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9027 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9028 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9029 sh*-*-linux*.
9030 (sparc-*-linux*): Append to tmake_file for *-leon*.
9031 Add sparc/t-linux to tmake_file for non-Leon targets.
9032 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9033 (tic6x-*-uclinux): New case.
9034 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9035 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9036 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9037 (am33_2.0-*-linux*): Append to tmake_file.
9038 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9039 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9040 x86_64-*-kfreebsd*-gnu.
9041 Add i386/t-linux to tmake_file.
9042
9043 2011-10-28 Ian Lance Taylor <iant@google.com>
9044
9045 * config/i386/morestack.S: Correct CFI information to do proper
9046 returns throughout function. In 32-bit mode, save %ebx so that it
9047 is restored on unwind.
9048
9049 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9050
9051 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9052 case where B3 isn't the return register.
9053
9054 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9055 logic for doubleword pops.
9056
9057 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9058
9059 * config/rs6000/t-freebsd: Add wildcard.
9060
9061 2011-10-21 Paul Brook <paul@codesourcery.com>
9062
9063 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9064
9065 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9066 Eric Botcazou <ebotcazou@adacore.com>
9067
9068 PR target/50737
9069 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9070 fs->signal_frame to 1.
9071
9072 2011-10-07 Ian Lance Taylor <iant@google.com>
9073
9074 * generic-morestack-thread.c: #include <errno.h>.
9075
9076 2011-10-07 Ian Lance Taylor <iant@google.com>
9077
9078 PR target/46093
9079 * generic-morestack.c (__generic_morestack): Make sure the segment
9080 is large enough for both the stack frame and the copied
9081 parameters.
9082
9083 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9084
9085 PR bootstrap/49804
9086 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9087 extra_parts.
9088
9089 2011-09-28 Nick Clifton <nickc@redhat.com>
9090
9091 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9092 64-bit doubles are not enabled.
9093 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9094 and floatunsisf functions.
9095
9096 2011-09-13 Paul Brook <paul@codesourcery.com>
9097
9098 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9099 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9100 * unwind-arm-common.inc: New file.
9101 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9102 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9103 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9104 * config/c6x/libunwind.S: New file.
9105 * config/c6x/pr-support.c: New file.
9106 * config/c6x/unwind-c6x.c: New file.
9107 * config/c6x/unwind-c6x.h: New file.
9108 * config/c6x/t-c6x-elf: New file.
9109
9110 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9111
9112 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9113 (ASM_DIVZERO): Ditto.
9114 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9115
9116 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9117
9118 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9119
9120 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9121
9122 PR target/50090
9123 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9124 instead of an assembly one.
9125
9126 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9127
9128 PR bootstrap/50047
9129 * Makefile.in (install-unwind_h): Create
9130 $(gcc_objdir)/include/unwind.h atomically.
9131
9132 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9133
9134 * Makefile.in (install-unwind_h): Remove destination file first.
9135
9136 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9137
9138 * sync.c: New file.
9139 * config/mips/t-mips16: New file.
9140 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9141 (mips*-*-linux*): Likewise.
9142 (mips*-sde-elf*): Likewise.
9143 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9144 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9145 Add mips/t-mips16 to tmake_file.
9146 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9147 (mips-*-elf*): Likewise.
9148 (mips64-*-elf*): Likewise.
9149 (mips64orion-*-elf*): Likewise.
9150 (mips*-*-rtems*): Likewise.
9151 (mipstx39-*-elf*): Likewise.
9152 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9153 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9154 LIBGCC_SYNC_CFLAGS.
9155 Use $(srcdir) to refer to sync.c.
9156 Use $<.
9157 ($(libgcc-sync-funcs-o)): Likewise.
9158 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9159 ($(libgcc-sync-funcs-s-o)): Likewise.
9160
9161 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9162
9163 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9164 t-libunwind.
9165
9166 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9167
9168 PR other/48007
9169 * config/i386/value-unwind.h: New.
9170
9171 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9172
9173 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9174 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9175 Add to tmake_file rather than overriding it.
9176
9177 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9178
9179 * config/t-softfp: Remove.
9180 * soft-fp: Moved from ../gcc/config.
9181 * soft-fp/README: Remove t-softfp reference.
9182 * soft-fp/t-softfp: Move to config/t-softfp.
9183 (softfp_machine_header): Remove.
9184 (softfp_file_list): Remove config subdir.
9185 (soft-fp-objects): New variable.
9186 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9187 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9188 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9189 * config/t-softfp-excl: New file.
9190 * config/t-softfp-sfdf: New file.
9191 * config/t-softfp-tf: New file.
9192 * config/no-sfp-machine.h: New file.
9193 * config/arm/sfp-machine.h: New file.
9194 * config/arm/t-softfp: New file.
9195 * config/c6x/sfp-machine.h: New file.
9196 * config/i386/32/t-fprules-softfp: Rename to ...
9197 * config/i386/32/t-softfp: ... this.
9198 (tifunctions, LIB2ADD): Remove.
9199 (softfp_int_modes): Override.
9200 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9201 subdir.
9202 * config/i386/64/eqtf2.c: Likewise.
9203 * config/i386/64/getf2.c: Likewise.
9204 * config/i386/64/letf2.c: Likewise.
9205 * config/ia64/sft-machine.h: New file.
9206 * config/ia64/t-fprules-softfp: Rename to ...
9207 * config/ia64/t-softfp: ... this.
9208 * config/lm32/sfp-machine.h: New file.
9209 * config/moxie/t-moxie-softfp: Remove.
9210 * config/rs6000/ibm-ldouble-format: New file.
9211 * config/rs6000/ibm-ldouble.c: New file.
9212 * config/rs6000/libgcc-ppc-glibc.ver: New file
9213 * config/rs6000/libgcc-ppc64.ver: New file
9214 * config/rs6000/sfp-machine.h: New file.
9215 * config/rs6000/t-freebsd: New file.
9216 * config/rs6000/t-ibm-ldouble: New file.
9217 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9218 libgcc-ppc-glibc.ver.
9219 * config/rs6000/t-linux64: New file.
9220 * config/rs6000/t-ppccomm (LIB2ADD): Add
9221 $(srcdir)/config/rs6000/ibm-ldouble.c.
9222 * config/rs6000/t-ppccomm-ldbl: New file.
9223 * config/score/sfp-machine.h: New file.
9224 * config.host (sfp_machine_header): Explain.
9225 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9226 t-softfp to tmake_file.
9227 (arm*-*-uclinux*): Likewise.
9228 (arm*-*-ecos-elf): Likewise.
9229 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9230 (arm*-*-rtems*): Likewise.
9231 (arm*-*-elf): Likewise.
9232 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9233 in tmake_file.
9234 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9235 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9236 (lm32-*-uclinux*): Likewise.
9237 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9238 t-softfp-excl, t-softfp.
9239 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9240 (powerpc64-*-darwin*): Likewise.
9241 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9242 to tmake_file.
9243 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9244 tmake_file.
9245 (powerpc-*-eabisim*): Likewise.
9246 (powerpc-*-elf*): Likewise.
9247 (powerpc-*-eabialtivec*): Likewise.
9248 (powerpc-xilinx-eabi*): Likewise.
9249 (powerpc-*-rtems*): Likewise.
9250 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9251 t-softfp-excl, t-softfp to tmake_file.
9252 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9253 rs6000/t-ppccomm-ldbl to tmake_file.
9254 (powerpcle-*-elf*): Likewise.
9255 (powerpcle-*-eabisim*): Likewise.
9256 (powerpcle-*-eabi*): Likewise.
9257 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9258 rs6000/t-ibm-ldouble to tmake_file.
9259 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9260 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9261 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9262 (tic6x-*-*): Likewise.
9263 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9264 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9265 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9266 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9267 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9268 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9269 t-softfp to tmake_file.
9270 * configure.ac (sfp_machine_header): Provide default if unset.
9271 Substitute.
9272 Link sfp-machine.h to config/$sfp_machine_header.
9273 * configure: Regenerate.
9274
9275 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9276
9277 * Makefile.in (double_type_size, long_double_type_size): Set.
9278 Remove $(fpbit-in-libgcc) support.
9279 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9280 (fpbit-src): New variable.
9281 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9282 Compile with -DFLOAT $(FPBIT_CFLAGS).
9283 Use $<.
9284 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9285 Compile with $(FPBIT_CFLAGS).
9286 Use $<.
9287 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9288 Compile with -DFLOAT $(TPBIT_CFLAGS).
9289 Use $<.
9290 * configure.ac (double_type_size, long_double_type_size):
9291 Determine and substitute.
9292 * configure: Regenerate.
9293 * fp-bit.c, fp-bit.h: New files.
9294 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9295 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9296 * config/mips/t-mips: New file.
9297 * config/mips/t-sdemtk: New file.
9298 * config/rs6000/ppc64-fp.c: New file.
9299 * config/rs6000/t-darwin (LIB2ADD): Add
9300 $(srcdir)/config/rs6000/ppc64-fp.c.
9301 * config/rs6000/t-ppc64-fp: New file.
9302 * config/rx/rx-lib.h: New file.
9303 * config/rx/t-rx (FPBIT): Set to true.
9304 ($(gcc_objdir)/fp-bit.c): Remove.
9305 (DPBIT): Set to true only with -m64bit-doubles.
9306 ($(gcc_objdir)/dp-bit.c): Remove.
9307 * config/sparc/t-softfp: Remove.
9308 * config/spu/t-elf: New file.
9309 * config/t-fdpbit, config/t-fpbit: New files.
9310 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9311 (mips*-*-*): Likewise.
9312 (arm-wrs-vxworks): Likewise.
9313 (arm*-*-freebsd*): Likewise.
9314 (avr-*-rtems*): Add t-fpbit to tmake_file.
9315 (avr-*-*): Likewise.
9316 (bfin*-elf*): Add t-fdpbit to tmake_file.
9317 (bfin*-uclinux*): Likewise.
9318 (bfin*-linux-uclibc*): Likewise.
9319 (bfin*-rtems*): New case.
9320 Add t-fdpbit to tmake_file.
9321 (bfin*-*): Add t-fdpbit to tmake_file.
9322 (crisv32-*-elf): Likewise.
9323 (cris-*-linux*): Likewise.
9324 (fr30-*-elf): Likewise.
9325 (frv-*-elf, frv-*-*linux*): Likewise.
9326 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9327 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9328 (m32r-*-elf*): Likewise.
9329 (m32rle-*-elf*): Likewise.
9330 (m32r-*-linux*): Likewise.
9331 (m32rle-*-linux*): Likewise.
9332 (mcore-*-elf): Add t-fdpbit to tmake_file.
9333 (microblaze*-*-*): Likewise.
9334 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9335 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9336 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9337 Fix typo.
9338 Add mips/t-tpbit to tmake-file.
9339 (mips*-*-linux*): Fix typo.
9340 (mips*-sde-elf*): New case
9341 Add mips/t-sdemtk unless using newlib.
9342 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9343 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9344 (mn10300-*-*): Likewise.
9345 (pdp11-*-*): Likewise.
9346 (picochip-*-*): Add t-fpbit to tmake_file.
9347 (powerpc-*-eabisimaltivec*): Likewise.
9348 (powerpc-*-eabisim*): Likewise.
9349 (powerpc-*-elf*): Likewise.
9350 (powerpc-*-eabialtivec*): Likewise.
9351 (powerpc-xilinx-eabi*): New case.
9352 Add t-fdpbit to tmake_file.
9353 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9354 (powerpc-*-rtems*): Likewise.
9355 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9356 tmake_file.
9357 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9358 tmake_file.
9359 (powerpc-*-lynxos*): Likewise.
9360 (powerpcle-*-elf*): Likewise.
9361 (powerpcle-*-eabisim*): Likewise.
9362 (powerpcle-*-eabi*): Likewise.
9363 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9364 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9365 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9366 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9367 (rx-*-elf): Add t-fdpbit to tmake_file.
9368 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9369 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9370 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9371 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9372 sh*-*-netbsd*.
9373 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9374 (sh-wrs-vxworks): Likewise.
9375 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9376 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9377 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9378 (sparc64-*-rtems*): ... new case.
9379 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9380 (spu-*-elf*): Likewise.
9381 Add spu/t-elf to tmake_file.
9382 (v850*-*-*): Add t-fdpbit to tmake_file.
9383 (xstormy16-*-elf): Likewise.
9384 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9385 (mep*-*-*): Likewise.
9386
9387 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9388
9389 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9390 variables.
9391 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9392 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9393 (install-unwind_h): New target.
9394 (all): Depend on it.
9395 * config.host (unwind_header): New variable.
9396 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9397 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9398 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9399 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9400 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9401 Set unwind_header.
9402 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9403 Set unwind_header.
9404 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9405 arm*-*-eabi*.
9406 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9407 Set unwind_header.
9408 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9409 (ia64*-*-freebsd*): Likewise.
9410 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9411 tmake_file.
9412 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9413 $with_system_libunwind.
9414 (ia64*-*-hpux*): Set tmake_file.
9415 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9416 (picochip-*-*): Set tmake_file.
9417 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9418 md_unwind_header.
9419 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9420 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9421 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9422 (xtensa*-*-elf*): Set tmake_file.
9423 (xtensa*-*-linux*): Likewise.
9424 * configure.ac: Include ../config/unwind_ipinfo.m4.
9425 Call GCC_CHECK_UNWIND_GETIPINFO.
9426 Link unwind.h to $unwind_header.
9427 * configure: Regenerate.
9428 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9429 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9430 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9431 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9432 * config/unwind-dw2-fde-darwin.c: New file.
9433 * config/arm/libunwind.S, config/arm/pr-support.c,
9434 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9435 config/arm/unwind-arm.h,: New files.
9436 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9437 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9438 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9439 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9440 config/ia64/unwind-ia64.h: New files.
9441 * config/picochip/t-picochip: New file.
9442 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9443 files.
9444 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9445 * config/s390/t-tpf (LIB2ADDEH): Remove.
9446 * config/t-darwin (LIB2ADDEH): Set.
9447 * config/t-eh-dw2-dip: New file.
9448 * config/t-libunwind, config/t-libunwind-elf: New files.
9449 * config/t-sol2 (LIB2ADDEH): Remove.
9450 * config/xtensa/t-xtensa: New file.
9451
9452 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9453
9454 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9455 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9456 long long to check rt_sigreturn syscall.
9457
9458 2011-08-02 Alan Modra <amodra@gmail.com>
9459
9460 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9461 Restore for indirect call bcrtl from correct stack slot, and only
9462 if cfa+40 isn't valid.
9463
9464 2011-08-01 Julian Brown <julian@codesourcery.com>
9465
9466 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9467 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9468 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9469
9470 2011-08-01 Julian Brown <julian@codesourcery.com>
9471
9472 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9473 (libgcc-std.ver.in): Use above.
9474 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9475 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9476 throughout file.
9477 * config/t-fixedpoint-gnu-prefix: New file.
9478 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9479 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9480 instead of __PFX__.
9481
9482 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9483
9484 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9485 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9486 for x86-64. Properly check __x86_64__ and __LP64__.
9487
9488 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9489
9490 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9491 version.
9492 (_FP_WS_TYPE): Likewise.
9493 (_FP_I_TYPE): Likewise.
9494
9495 2011-07-28 Alan Modra <amodra@gmail.com>
9496
9497 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9498 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9499 in a plt call stub. Do restore r2 if stopped on bctrl.
9500
9501 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9502
9503 * config.host (i[3456x]86-*-netware*): Remove.
9504 * config/i386/netware-crt0.c, config/i386/t-nwld,
9505 config/i386/t-slibgcc-nwld: Remove.
9506
9507 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9508
9509 * config.host: Handle tic6x-*-*.
9510 * config/c6x/c6x-abi.h: New file.
9511
9512 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9513
9514 * config/i386/crtprec.c: New file.
9515 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9516 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9517 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9518 (x86_64-*-darwin*): Likewise.
9519 (i[34567]86-*-solaris2*: Likewise.
9520
9521 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9522
9523 * config/alpha/crtfastmath.c: New file.
9524 * config/i386/crtfastmath.c: New file.
9525 * config/ia64/crtfastmath.c: New file.
9526 * config/mips/crtfastmath.c: New file.
9527 * config/sparc/crtfastmath.c: New file.
9528
9529 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9530 crtfastmath.c.
9531 Add -frandom-seed=gcc-crtfastmath.
9532 * config/alpha/t-crtfm: Remove.
9533 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9534 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9535
9536 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9537 (alpha*-dec-osf5.1*): Likewise.
9538 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9539 Add crtfastmath.o to extra_parts.
9540 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9541 Add crtfastmath.o to extra_parts.
9542 (x86_64-*-darwin*): Likewise.
9543 (x86_64-*-mingw*): Likewise.
9544 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9545 (ia64*-*-freebsd*): Likewise.
9546 (ia64*-*-linux*): Likewise.
9547 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9548 Add crtfastmath.o to extra_parts.
9549
9550 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9551
9552 * config/darwin-crt3.o: New file.
9553 * config/rs6000/darwin-crt2.c: New file.
9554 * config/t-darwin: New file.
9555 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9556 (crt2.o): New rule.
9557 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9558 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9559 (powerpc64-*-darwin*): Likewise.
9560
9561 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9562
9563 * config/i386/netware-crt0.c: New file.
9564 * config/i386/t-nwld: Rename to ...
9565 * config/i386/t-slibgcc-nwld: ... this.
9566 * config/i386/t-nwld: New file.
9567 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9568 tmake_file.
9569 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9570 extra_parts.
9571
9572 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9573
9574 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9575 i386/t-crtstuff.
9576 * configure: Regenerate.
9577
9578 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9579
9580 * dfp-bit.c, dfp-bit.h: New files.
9581 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9582 variables.
9583 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9584 ($(d64pbit-o)): Likewise.
9585 ($(d128pbit-o)): Likewise.
9586 * config/t-dfprules: New file.
9587 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9588 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9589 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9590 (x86_64-*-linux*): Likewise.
9591 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9592 (i[34567]86-*-cygwin*): Likewise.
9593 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9594 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9595
9596 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9597
9598 * Makfile.in (LIBGCOV): New variable.
9599 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9600 * libgcov.c: New file.
9601
9602 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9603
9604 * fixed-bit.c, fixed-bit.h: New files.
9605 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9606 refer to fixed-bit.c.
9607
9608 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9609
9610 * config.host (*local*): Remove.
9611
9612 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9613
9614 PR target/39150
9615 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9616 like i?86-*-solaris2.1[0-9]*.
9617 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9618 * configure.ac (i?86-*-solaris2*): Likewise.
9619 * configure: Regenerate.
9620
9621 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9622
9623 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9624 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9625 md_unwind_header by splitting out of...
9626 (i[34567]86-*-linux*): ... this.
9627 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9628 Remove md_unwind_header by splitting out of...
9629 (x86_64-*-linux*): ... this.
9630
9631 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9632
9633 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9634
9635 2011-06-28 Nick Clifton <nickc@redhat.com>
9636
9637 * config.host: Recognize all V850 variants.
9638
9639 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9640
9641 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9642
9643 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9644
9645 * shared-object.mk (c_flags-$o): Save c_flags.
9646 ($(base)$(objext)): Use it.
9647 ($(base)_s$(objext)): Likewise.
9648
9649 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9650
9651 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9652 * libgcc-std.ver.in (GCC_4.7.0): New section.
9653
9654 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9655
9656 PR target/49313
9657 PR target/29524
9658 * config/avr/t-avr: Fix line endings.
9659 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9660 _parityXX2.
9661
9662 2011-06-14 Olivier Hainque <hainque@adacore.com>
9663 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9664
9665 * config/mips/irix6-unwind.h: New file.
9666 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9667
9668 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9669
9670 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9671 (sparc64_fallback_frame_state): Use it.
9672 (sparc64_frob_update_context): Further adjust context.
9673 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9674 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9675 * config/sparc/sol2-cn.S: Likewise.
9676
9677 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9678
9679 * enable-execute-stack-empty.c: New file.
9680 * enable-execute-stack-mprotect.c: New file.
9681 * config/i386/enable-execute-stack-mingw32.c: New file.
9682 * config.host (enable_execute_stack): New variable.
9683 Select appropriate variants.
9684 * configure.ac: Link enable-execute-stack.c to
9685 $enable_execute_stack.
9686 * configure: Regenerate.
9687 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9688 (lib2funcs): Remove _enable_execute_stack.
9689
9690 2011-06-09 David S. Miller <davem@davemloft.net>
9691 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9692
9693 * config.host (sparc-*-linux*): Correct md_unwind_header
9694 filename.
9695 (s390x-ibm-tpf*): Fix typo.
9696
9697 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9698
9699 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9700 Add crtfastmath.o to extra_parts.
9701 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9702 mips/t-crtfm.
9703 * config/mips/t-crtfm: Remove.
9704
9705 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9706
9707 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9708
9709 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9710
9711 * config.host (sh*-*-linux*): Fix typo.
9712
9713 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9714
9715 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9716 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9717 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9718 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9719 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9720 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9721 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9722 Wrap in !__MINGW64__.
9723 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9724 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9725 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9726 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9727 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9728 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9729 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9730 Wrap in !__LP64__.
9731 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9732 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9733 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9734 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9735 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9736 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9737 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9738 * config/no-unwind.h: New file.
9739 * config.host (md_unwind_header): Document.
9740 Define.
9741 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9742 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9743 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9744 hppa[12]*-*-hpux11*): Set md_unwind_header.
9745 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9746 Set md_unwind_header.
9747 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9748 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9749 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9750 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9751 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9752 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9753 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9754 md_unwind_header.
9755 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9756 * configure: Regenerate.
9757
9758 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9759
9760 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9761 Set tmake_file, extra_parts.
9762 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9763 Remove O32 support.
9764 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9765 Remove O32 support.
9766 * config/mips/t-irix6: New file.
9767 * config/mips/t-slibgcc-irix: New file.
9768
9769 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9770
9771 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9772 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9773
9774 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9775
9776 * configure.ac (target_thread_file): Determine thread model.
9777 * configure: Regenerate.
9778 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9779 * config/alpha/t-alpha: New file.
9780 * config/alpha/t-crtfm: Use $<.
9781 * config/alpha/t-ieee: New file.
9782 * config/alpha/t-osf-pthread: New file.
9783 * config/alpha/t-slibgcc-osf: New file.
9784 * config/alpha/libgcc-osf5.ver: New file.
9785
9786 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9787
9788 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9789 tmake_file.
9790 Add crtfastmath.o to extra_parts.
9791
9792 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9793
9794 * config/gmon-sol2.c: Reindent.
9795 Cleanup comments.
9796 Remove, correct casts.
9797 Use STDERR_FILENO, NULL.
9798 (BASEADDRESS): Remove.
9799 (minbrk): Remove.
9800 (errno, sbrk): Remove declarations.
9801 (monstartup) [hp300]: Remove.
9802 (mcount): Remove.
9803
9804 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9805
9806 * Makefile.in (cpu_type): Define.
9807 * config.host (i[34567]86-*-rtems*): Handle it.
9808 (i[34567]86-*-solaris2*): Move body ...
9809 (*-*-solaris2*): ... here.
9810 New case, generalize.
9811 (sparc-*-elf*): Handle it.
9812 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9813 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9814 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9815 Fold into ...
9816 (sparc*-*-solaris2*): ... this.
9817 New case.
9818 (sparc64-*-elf*): Handle it.
9819 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9820 Merge ../gcc/config/i386/gmon-sol2.c.
9821 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9822 Use C comments.
9823 Merge ../gcc/config/i386/sol2-gc1.asm.
9824 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9825 Use C comments.
9826 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9827 Use C comments.
9828 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9829 * config/i386/t-crtstuff: New file.
9830 * config/i386/t-softfp: New file.
9831 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9832 $(T)crti.o, $(T)crtn.o): Remove.
9833 (gcrt1.o): New rule.
9834 (TARGET_LIBGCC2_CFLAGS): Remove.
9835 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9836 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9837 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9838 * config/sparc/t-sol2: New file.
9839 * config/sparc/t-crtfm: Move to ...
9840 * config/t-crtfm: ... this.
9841 Use $(cpu_type), $<.
9842 * config/t-crtin: New file.
9843 * config/sparc/t-softfp: New file.
9844 * config/sparc/t-softmul: New file.
9845 * config/t-rtems: New file.
9846 * config/t-slibgcc: New file.
9847 * config/t-slibgcc-elf-ver: New file.
9848 * config/t-slibgcc-gld: New file.
9849 * config/t-slibgcc-sld: New file.
9850 * config/t-sol2: New file.
9851 * configure.ac: Include ../config/lib-ld.m4.
9852 Call AC_LIB_PROG_LD_GNU.
9853 Substitute cpu_type.
9854 * configure: Regenerate.
9855
9856 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9857
9858 PR bootstrap/49173
9859 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9860 libgcc-std.ver in the build directory.
9861 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9862 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9863
9864 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9865
9866 * libgcc-std.ver.in: New file.
9867 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9868 variables.
9869 (libgcc-std.ver): New rule.
9870 * config/t-gnu-prefix: New file.
9871
9872 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9873
9874 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9875
9876 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9877
9878 * config/i386/darwin-lib.h: New file.
9879
9880 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9881
9882 * config/arm/symbian-lib.h: New.
9883
9884 2011-05-04 Chris Demetriou <cgd@google.com>
9885
9886 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9887 (__x86.get_pc_thunk.bx): ...this.
9888 (__morestack): Adjust for rename, remove undef of __i686.
9889
9890 2011-05-03 Chris Demetriou <cgd@google.com>
9891
9892 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9893
9894 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9895
9896 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9897 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9898 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9899 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9900 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9901 Remove cases.
9902
9903 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9904
9905 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9906 Adjust copyright year.
9907
9908 2011-03-07 Ian Lance Taylor <iant@google.com>
9909
9910 * generic-morestack.c (__splitstack_find): Adjust returned stack
9911 pointer to include all registers pushed by __morestack.
9912
9913 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9914
9915 PR target/40125
9916 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9917 (toolexecdir): Calculate and AC_SUBST.
9918 (toolexeclibdir): Likewise.
9919 * Makefile.in (target_noncanonical): Import.
9920 (toolexecdir): Likewise.
9921 (toolexeclibdir): Likewise.
9922 * configure: Regenerate.
9923
9924 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9925
9926 PR target/46040
9927 * config/arm/bpabi.h: Rename to...
9928 * config/arm/bpabi-lib.h: ...this.
9929
9930 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9931
9932 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9933 appropriate.
9934 * configure: Regenerate.
9935
9936 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9937
9938 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9939 __FLOAT_WORD_ORDER__.
9940 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9941 Delete.
9942
9943 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9944
9945 PR other/46202
9946 * Makefile.in (install-strip): New phony target.
9947
9948 2010-11-07 Ian Lance Taylor <iant@google.com>
9949
9950 PR target/46089
9951 * config/i386/morestack.S (__morestack_large_model): New
9952 function.
9953
9954 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9955
9956 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9957 Delete.
9958 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9959
9960 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9961
9962 * config/arm/bpabi.h: New file.
9963 * config/frv/frv-abi.h: New file.
9964
9965 2010-10-01 Ian Lance Taylor <iant@google.com>
9966
9967 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9968 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9969
9970 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9971
9972 PR target/45858
9973 * config.host: Add the missing `$'.
9974
9975 2010-09-30 Michael Eager <eager@eagercon.com>
9976
9977 * config.host: Add microblaze*-*-*.
9978 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9979 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9980 udivsi3.asm,umodsi3.asm}: New.
9981
9982 2010-09-28 Ian Lance Taylor <iant@google.com>
9983
9984 * configure.ac: Adjust CFI test to test assembler directly rather
9985 than checking gcc preprocessor macro.
9986 * configure: Rebuild.
9987
9988 2010-09-27 Ian Lance Taylor <iant@google.com>
9989
9990 * configure.ac: Test whether assembler supports CFI directives.
9991 * config.host: Only add t-stack and i386/t-stack-i386 to
9992 tmake_file if libgcc_cv_cfi is "yes".
9993 * configure: Rebuild.
9994
9995 2010-09-27 Ian Lance Taylor <iant@google.com>
9996
9997 * generic-morestack.h: New file.
9998 * generic-morestack.c: New file.
9999 * generic-morestack-thread.c: New file.
10000 * config/i386/morestack.S: New file.
10001 * config/t-stack: New file.
10002 * config/i386/t-stack-i386: New file.
10003 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10004 i386/t-stack-i386 to tmake_file.
10005
10006 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10007
10008 * Makefile.in (libgcc-extra-parts): Check for static archives and
10009 invoke ranlib after installing them.
10010 (gcc-extra-parts): Likewise.
10011 (install-leaf): Likewise.
10012
10013 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10014
10015 * configure: Regenerated.
10016
10017 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10018
10019 * configure: Regenerated.
10020
10021 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10022 Andrew Pinski <pinskia@gmail.com>
10023
10024 PR target/40959
10025 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10026
10027 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10028
10029 PR target/45524
10030 * configure: Regenerated.
10031
10032 2010-09-06 Andreas Schwab <schwab@redhat.com>
10033
10034 * configure: Regenerate.
10035
10036 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10037
10038 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10039 64bit targets.
10040 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10041 for 64bit targets.
10042
10043 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10044 Iain Sandoe <iains@gcc.gnu.org>
10045
10046 PR target/45476
10047 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10048 LIB2FUNCS_EXCLUDE functions.
10049
10050 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10051
10052 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10053 Include dfp.m4.
10054 * configure: Regenerate.
10055
10056 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10057
10058 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10059 i386/t-freebsd to tmake_file.
10060 * config/i386/t-freebsd: New file.
10061 * config/i386/libgcc-bsd.ver: New file.
10062
10063 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10064
10065 * config.host (powerpc*-eabispe*): Set tmake_file.
10066 (powerpc*-eabi*): Likewise.
10067 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10068 crtbeginS, crtendS, crtbeginT.
10069
10070 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10071
10072 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10073 to tmake_file. Add crtfastmath.o to extra_parts.
10074 * config/mips/t-crtfm: New.
10075
10076 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10077
10078 * config.host (sparc64-*-rtems*): New target.
10079
10080 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10081
10082 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10083 assembler syntax.
10084
10085 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10086
10087 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10088
10089 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10090
10091 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10092 alpha-dec-osf5.0* support.
10093
10094 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10095
10096 * config.host: Add lm32-*-rtems*.
10097
10098 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10099 Uros Bizjak <ubizjak@gmail.com>
10100
10101 PR target/39048
10102 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10103 like other remaining 32-bit x86 OSes.
10104 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10105 assembler syntax.
10106 * config/i386/libgcc-sol2.ver: New file.
10107 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10108
10109 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10110
10111 PR c/43553
10112 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10113 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10114 is used and substitute set_use_emutls.
10115 * configure: Regenerated.
10116
10117 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10118
10119 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10120
10121 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10122
10123 PR target/38085
10124 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10125 MULTILIB_CFLAGS.
10126 ($(T)gcrt1.o): Likewise.
10127 ($(T)crt1.o): Likewise.
10128 ($(T)crti.o): Likewise.
10129 ($(T)crtn.o): Likewise.
10130
10131 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10132
10133 PR other/42980
10134 * Makefile.in (install): Use $(MAKE) string in rule, for
10135 parallel make.
10136
10137 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10138
10139 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10140 * config/mmix/t-mmix: New file.
10141 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10142
10143 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10144
10145 PR java/41991
10146 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10147 SHLIB_MAPFILES.
10148
10149 2010-01-04 Anthony Green <green@moxielogic.com>
10150
10151 * config/moxie/crti.asm, config/moxie/crtn.asm,
10152 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10153 config/moxie/t-moxie: New files.
10154 * config.host: Add t-moxie-softfp reference.
10155
10156 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10157
10158 PR other/39888
10159 * config/t-slibgcc-darwin: Fix embedded rpaths for
10160 --enable-version-specific-runtime-libs, build extension stub
10161 libs exposing features available from current libgcc_s.
10162
10163 2009-11-11 Jon Beniston <jon@beniston.com>
10164
10165 * config.host: Add lm32 targets.
10166 * config/lm32: New directory.
10167 * config/lm32/libgcc_lm32.h: New file.
10168 * config/lm32/_mulsi3.c: New file.
10169 * config/lm32/_udivmodsi4.c: New file.
10170 * config/lm32/_divsi3.c: New file.
10171 * config/lm32/_modsi3.c: New file.
10172 * config/lm32/_udivsi3.c: New file.
10173 * config/lm32/_umodsi3.c: New file.
10174 * config/lm32/_lshrsi3.S: New file.
10175 * config/lm32/_ashrsi3.S: New file.
10176 * config/lm32/_ashlsi3.S: New file.
10177 * config/lm32/crti.S: New file.
10178 * config/lm32/crtn.S: New file.
10179 * config/lm32/t-lm32: New file.
10180 * config/lm32/t-elf: New file.
10181 * config/lm32/t-uclinux: New file.
10182
10183 2009-10-26 Nick Clifton <nickc@redhat.com>
10184
10185 * config.host: Add support for RX target.
10186 * config/rx: New directory.
10187 * config/rx/rx-abi-functions.c: New file. Supplementary
10188 functions for libgcc to support the RX ABI.
10189 * config/rx/rx-abi.h: New file. Supplementary header file for
10190 libgcc RX ABI functions.
10191 * config/rx/t-rx: New file: Makefile fragment for building
10192 libgcc for the RX.
10193
10194 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10195
10196 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10197 constraint of y0 to "g".
10198
10199 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10200
10201 * config.host: Include the s390 makefile fragments.
10202 * config/s390/32/_fixdfdi.c: New file.
10203 * config/s390/32/_fixsfdi.c: New file.
10204 * config/s390/32/_fixtfdi.c: New file.
10205 * config/s390/32/_fixunsdfdi.c: New file.
10206 * config/s390/32/_fixunssfdi.c: New file.
10207 * config/s390/32/_fixunstfdi.c: New file.
10208 * config/s390/32/t-floattodi: New file.
10209 * config/s390/libgcc-glibc.ver: New file.
10210 * config/s390/t-crtstuff: New file.
10211 * config/s390/t-linux: New file.
10212 * config/s390/t-tpf: New file.
10213
10214 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10215
10216 * configure.ac (AC_PREREQ): Bump to 2.64.
10217
10218 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10219
10220 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10221
10222 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10223
10224 * configure: Regenerate.
10225
10226 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10227
10228 * config.host (ia64-hp-*vms*): New target.
10229 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10230 with ia64-hp-*vms*.
10231
10232 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10233
10234 * configure.ac: Add snippet for maintainer-mode.
10235 * configure: Regenerate.
10236 * Makefile.in (AUTOCONF, configure_deps): New variables.
10237 ($(srcdir)/configure)): New rule, active only with maintainer
10238 mode turned on.
10239
10240 2009-06-23 DJ Delorie <dj@redhat.com>
10241
10242 Add MeP port.
10243 * config.host: Add mep support.
10244
10245 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10246
10247 * config.host: Add i386/${host_address}/t-fprules-softfp and
10248 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10249
10250 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10251 for mingw targets.
10252 * config/i386/64/_multc3.c: Likewise.
10253 * config/i386/64/_powitf2.c: Likewise.
10254 * config/i386/64/eqtf2.c: Likewise.
10255 * config/i386/64/getf2.c: Likewise.
10256 * config/i386/64/letf2.c: Likewise.
10257 * config/i386/64/letf2.c: Likewise.
10258 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10259 unsigned long long for x64 mingw targets.
10260 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10261 (_FP_I_TYPE): Define as long long for x64 mingw target.
10262
10263 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10264
10265 * config.host (vax-*-linux*): New.
10266
10267 2009-05-31 Anthony Green <green@moxielogic.com>
10268
10269 * config.host: Add moxie support.
10270 * config/moxie/t-moxie: New file.
10271
10272 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10273
10274 * config.host: Add i386/${host_address}/t-fprules-softfp and
10275 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10276
10277 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10278
10279 * config.host: Add i386/${host_address}/t-fprules-softfp to
10280 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10281
10282 2009-04-09 Nick Clifton <nickc@redhat.com>
10283
10284 * config/ia64/tf-signs.c: Change copyright header to refer to
10285 version 3 of the GNU General Public License with version 3.1
10286 of the GCC Runtime Library Exception and to point readers at
10287 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10288 web page.
10289 * config/i386/32/tf-signs.c: Likewise.
10290 * config/libbid/_addsub_dd.c: Likewise.
10291 * config/libbid/_addsub_sd.c: Likewise.
10292 * config/libbid/_addsub_td.c: Likewise.
10293 * config/libbid/_dd_to_df.c: Likewise.
10294 * config/libbid/_dd_to_di.c: Likewise.
10295 * config/libbid/_dd_to_sd.c: Likewise.
10296 * config/libbid/_dd_to_sf.c: Likewise.
10297 * config/libbid/_dd_to_si.c: Likewise.
10298 * config/libbid/_dd_to_td.c: Likewise.
10299 * config/libbid/_dd_to_tf.c: Likewise.
10300 * config/libbid/_dd_to_udi.c: Likewise.
10301 * config/libbid/_dd_to_usi.c: Likewise.
10302 * config/libbid/_dd_to_xf.c: Likewise.
10303 * config/libbid/_df_to_dd.c: Likewise.
10304 * config/libbid/_df_to_sd.c: Likewise.
10305 * config/libbid/_df_to_td.c: Likewise.
10306 * config/libbid/_di_to_dd.c: Likewise.
10307 * config/libbid/_di_to_sd.c: Likewise.
10308 * config/libbid/_di_to_td.c: Likewise.
10309 * config/libbid/_div_dd.c: Likewise.
10310 * config/libbid/_div_sd.c: Likewise.
10311 * config/libbid/_div_td.c: Likewise.
10312 * config/libbid/_eq_dd.c: Likewise.
10313 * config/libbid/_eq_sd.c: Likewise.
10314 * config/libbid/_eq_td.c: Likewise.
10315 * config/libbid/_ge_dd.c: Likewise.
10316 * config/libbid/_ge_sd.c: Likewise.
10317 * config/libbid/_ge_td.c: Likewise.
10318 * config/libbid/_gt_dd.c: Likewise.
10319 * config/libbid/_gt_sd.c: Likewise.
10320 * config/libbid/_gt_td.c: Likewise.
10321 * config/libbid/_isinfd128.c: Likewise.
10322 * config/libbid/_isinfd32.c: Likewise.
10323 * config/libbid/_isinfd64.c: Likewise.
10324 * config/libbid/_le_dd.c: Likewise.
10325 * config/libbid/_le_sd.c: Likewise.
10326 * config/libbid/_le_td.c: Likewise.
10327 * config/libbid/_lt_dd.c: Likewise.
10328 * config/libbid/_lt_sd.c: Likewise.
10329 * config/libbid/_lt_td.c: Likewise.
10330 * config/libbid/_mul_dd.c: Likewise.
10331 * config/libbid/_mul_sd.c: Likewise.
10332 * config/libbid/_mul_td.c: Likewise.
10333 * config/libbid/_ne_dd.c: Likewise.
10334 * config/libbid/_ne_sd.c: Likewise.
10335 * config/libbid/_ne_td.c: Likewise.
10336 * config/libbid/_sd_to_dd.c: Likewise.
10337 * config/libbid/_sd_to_df.c: Likewise.
10338 * config/libbid/_sd_to_di.c: Likewise.
10339 * config/libbid/_sd_to_sf.c: Likewise.
10340 * config/libbid/_sd_to_si.c: Likewise.
10341 * config/libbid/_sd_to_td.c: Likewise.
10342 * config/libbid/_sd_to_tf.c: Likewise.
10343 * config/libbid/_sd_to_udi.c: Likewise.
10344 * config/libbid/_sd_to_usi.c: Likewise.
10345 * config/libbid/_sd_to_xf.c: Likewise.
10346 * config/libbid/_sf_to_dd.c: Likewise.
10347 * config/libbid/_sf_to_sd.c: Likewise.
10348 * config/libbid/_sf_to_td.c: Likewise.
10349 * config/libbid/_si_to_dd.c: Likewise.
10350 * config/libbid/_si_to_sd.c: Likewise.
10351 * config/libbid/_si_to_td.c: Likewise.
10352 * config/libbid/_td_to_dd.c: Likewise.
10353 * config/libbid/_td_to_df.c: Likewise.
10354 * config/libbid/_td_to_di.c: Likewise.
10355 * config/libbid/_td_to_sd.c: Likewise.
10356 * config/libbid/_td_to_sf.c: Likewise.
10357 * config/libbid/_td_to_si.c: Likewise.
10358 * config/libbid/_td_to_tf.c: Likewise.
10359 * config/libbid/_td_to_udi.c: Likewise.
10360 * config/libbid/_td_to_usi.c: Likewise.
10361 * config/libbid/_td_to_xf.c: Likewise.
10362 * config/libbid/_tf_to_dd.c: Likewise.
10363 * config/libbid/_tf_to_sd.c: Likewise.
10364 * config/libbid/_tf_to_td.c: Likewise.
10365 * config/libbid/_udi_to_dd.c: Likewise.
10366 * config/libbid/_udi_to_sd.c: Likewise.
10367 * config/libbid/_udi_to_td.c: Likewise.
10368 * config/libbid/_unord_dd.c: Likewise.
10369 * config/libbid/_unord_sd.c: Likewise.
10370 * config/libbid/_unord_td.c: Likewise.
10371 * config/libbid/_usi_to_dd.c: Likewise.
10372 * config/libbid/_usi_to_sd.c: Likewise.
10373 * config/libbid/_usi_to_td.c: Likewise.
10374 * config/libbid/_xf_to_dd.c: Likewise.
10375 * config/libbid/_xf_to_sd.c: Likewise.
10376 * config/libbid/_xf_to_td.c: Likewise.
10377 * config/libbid/bid128.c: Likewise.
10378 * config/libbid/bid128_2_str.h: Likewise.
10379 * config/libbid/bid128_2_str_macros.h: Likewise.
10380 * config/libbid/bid128_2_str_tables.c: Likewise.
10381 * config/libbid/bid128_add.c: Likewise.
10382 * config/libbid/bid128_compare.c: Likewise.
10383 * config/libbid/bid128_div.c: Likewise.
10384 * config/libbid/bid128_fma.c: Likewise.
10385 * config/libbid/bid128_logb.c: Likewise.
10386 * config/libbid/bid128_minmax.c: Likewise.
10387 * config/libbid/bid128_mul.c: Likewise.
10388 * config/libbid/bid128_next.c: Likewise.
10389 * config/libbid/bid128_noncomp.c: Likewise.
10390 * config/libbid/bid128_quantize.c: Likewise.
10391 * config/libbid/bid128_rem.c: Likewise.
10392 * config/libbid/bid128_round_integral.c: Likewise.
10393 * config/libbid/bid128_scalb.c: Likewise.
10394 * config/libbid/bid128_sqrt.c: Likewise.
10395 * config/libbid/bid128_string.c: Likewise.
10396 * config/libbid/bid128_to_int16.c: Likewise.
10397 * config/libbid/bid128_to_int32.c: Likewise.
10398 * config/libbid/bid128_to_int64.c: Likewise.
10399 * config/libbid/bid128_to_int8.c: Likewise.
10400 * config/libbid/bid128_to_uint16.c: Likewise.
10401 * config/libbid/bid128_to_uint32.c: Likewise.
10402 * config/libbid/bid128_to_uint64.c: Likewise.
10403 * config/libbid/bid128_to_uint8.c: Likewise.
10404 * config/libbid/bid32_to_bid128.c: Likewise.
10405 * config/libbid/bid32_to_bid64.c: Likewise.
10406 * config/libbid/bid64_add.c: Likewise.
10407 * config/libbid/bid64_compare.c: Likewise.
10408 * config/libbid/bid64_div.c: Likewise.
10409 * config/libbid/bid64_fma.c: Likewise.
10410 * config/libbid/bid64_logb.c: Likewise.
10411 * config/libbid/bid64_minmax.c: Likewise.
10412 * config/libbid/bid64_mul.c: Likewise.
10413 * config/libbid/bid64_next.c: Likewise.
10414 * config/libbid/bid64_noncomp.c: Likewise.
10415 * config/libbid/bid64_quantize.c: Likewise.
10416 * config/libbid/bid64_rem.c: Likewise.
10417 * config/libbid/bid64_round_integral.c: Likewise.
10418 * config/libbid/bid64_scalb.c: Likewise.
10419 * config/libbid/bid64_sqrt.c: Likewise.
10420 * config/libbid/bid64_string.c: Likewise.
10421 * config/libbid/bid64_to_bid128.c: Likewise.
10422 * config/libbid/bid64_to_int16.c: Likewise.
10423 * config/libbid/bid64_to_int32.c: Likewise.
10424 * config/libbid/bid64_to_int64.c: Likewise.
10425 * config/libbid/bid64_to_int8.c: Likewise.
10426 * config/libbid/bid64_to_uint16.c: Likewise.
10427 * config/libbid/bid64_to_uint32.c: Likewise.
10428 * config/libbid/bid64_to_uint64.c: Likewise.
10429 * config/libbid/bid64_to_uint8.c: Likewise.
10430 * config/libbid/bid_b2d.h: Likewise.
10431 * config/libbid/bid_binarydecimal.c: Likewise.
10432 * config/libbid/bid_conf.h: Likewise.
10433 * config/libbid/bid_convert_data.c: Likewise.
10434 * config/libbid/bid_decimal_data.c: Likewise.
10435 * config/libbid/bid_decimal_globals.c: Likewise.
10436 * config/libbid/bid_div_macros.h: Likewise.
10437 * config/libbid/bid_dpd.c: Likewise.
10438 * config/libbid/bid_flag_operations.c: Likewise.
10439 * config/libbid/bid_from_int.c: Likewise.
10440 * config/libbid/bid_functions.h: Likewise.
10441 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10442 * config/libbid/bid_inline_add.h: Likewise.
10443 * config/libbid/bid_internal.h: Likewise.
10444 * config/libbid/bid_round.c: Likewise.
10445 * config/libbid/bid_sqrt_macros.h: Likewise.
10446
10447 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10448
10449 * Makefile.in: Change copyright header to refer to version
10450 3 of the GNU General Public License and to point readers at the
10451 COPYING3 file and the FSF's license web page.
10452 * config.host: Likewise.
10453
10454 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10455
10456 * config.host: Reorder and merge to match config.gcc change.
10457
10458 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10459
10460 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10461
10462 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10463
10464 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10465 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10466 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10467 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10468
10469 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10470
10471 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10472 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10473
10474 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10475
10476 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10477 ia64/t-softfp-compat to tmake_file.
10478
10479 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10480
10481 * config/ia64/__divxf3.asm: New.
10482 * config/ia64/_fixtfdi.asm: Likewise.
10483 * config/ia64/_fixunstfdi.asm: Likewise.
10484 * config/ia64/_floatditf.asm: Likewise.
10485 * config/ia64/t-fprules-softfp: Likewise.
10486 * config/ia64/t-softfp-compat: Likewise.
10487 * config/ia64/tf-signs.c: Likewise.
10488
10489 2009-01-18 Ben Elliston <bje@au.ibm.com>
10490
10491 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10492
10493 2009-01-16 Ben Elliston <bje@au.ibm.com>
10494
10495 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10496 to tmake_file.
10497
10498 2009-01-13 Ben Elliston <bje@au.ibm.com>
10499
10500 * config/t-softfp: New file.
10501 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10502 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10503
10504 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10505
10506 * config.host: Add m32r*-*-rtems*.
10507
10508 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10509
10510 * config.host: Add m32c*-*-rtems*.
10511
10512 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10513
10514 PR bootstrap/33100
10515 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10516 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10517 * configure: Regenerate.
10518 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10519 tmake_file here from gcc/config.gcc.
10520 Move extra_parts here from gcc/config.gcc.
10521 * config/i386/t-sol2: Move here from gcc/config/i386.
10522 Use gcc_srcdir instead of srcdir.
10523
10524 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10525
10526 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10527 case.
10528
10529 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10530
10531 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10532
10533 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10534
10535 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10536
10537 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10538
10539 Add picoChip port.
10540 * config.host: Add picochip-*-*.
10541
10542 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10543
10544 * config.host: Match more processor names for Xtensa.
10545
10546 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * config/i386/64/t-softfp-compat: Update comments.
10549
10550 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10551
10552 * config/i386/64/_divtc3-compat.c: Moved to ...
10553 * config/i386/64/_divtc3.c: Here.
10554
10555 * config/i386/64/_multc3-compat.c: Moved to ...
10556 * config/i386/64/_multc3.c: Here.
10557
10558 * config/i386/64/_powitf2-compat.c: Moved to ...
10559 * config/i386/64/_powitf2.c: Here.
10560
10561 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10562 .c suffix instead of -compat.c.
10563
10564 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10565
10566 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10567 (_FP_MUL_MEAT_D): Ditto.
10568 (_FP_DIV_MEAT_S): Ditto.
10569 (_FP_DIV_MEAT_D): Ditto.
10570
10571 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10572
10573 * Makefile.in: Add support for __sync_* libgcc functions.
10574
10575 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10576
10577 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10578
10579 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10580
10581 PR boostrap/36702
10582 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10583 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10584
10585 * config/i386/64/t-fprules-softfp: Moved to ...
10586 * config/i386/64/t-softfp-compat: This. New.
10587
10588 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10589
10590 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10591 Initialize f with 0.0.
10592
10593 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10594
10595 PR target/36669
10596 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10597
10598 * config/i386/64/_divtc3-compat.c: New.
10599 * config/i386/64/_multc3-compat.c: Likewise.
10600 * config/i386/64/_powitf2-compat.c: Likewise.
10601 * config/i386/64/eqtf2.c: Likewise.
10602 * config/i386/64/getf2.c: Likewise.
10603 * config/i386/64/letf2.c: Likewise.
10604 * config/i386/64/t-fprules-softfp: Likewise.
10605
10606 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10607
10608 * config.host: Add i386/${host_address}/t-fprules-softfp to
10609 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10610 i[34567]86-*-linux*, x86_64-*-linux*.
10611
10612 * configure.ac: Set host_address to 64 or 32 for x86.
10613 * configure: Regenerated.
10614
10615 * Makefile.in (config.status): Also depend on
10616 $(srcdir)/config.host.
10617
10618 * config/i386/32/t-fprules-softfp: New.
10619 * config/i386/32/tf-signs.c: Likewise.
10620
10621 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10622
10623 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10624 Uros Bizjak <ubizjak@gmail.com>
10625
10626 * config/i386/32/sfp-machine.h: New.
10627
10628 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10629
10630 * config/rs6000/t-ppccomm: Remove rules that conflict with
10631 auto-generated rules.
10632
10633 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10634
10635 * configure.ac: sinclude override.m4.
10636 * configure: Regenerate.
10637
10638 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10639
10640 * configure: Regenerate.
10641
10642 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10643
10644 * Makefile.in (DECNUMINC): Remove
10645 -I$(MULTIBUILDTOP)../../libdecnumber.
10646 * gstdint.h: New.
10647
10648 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10649
10650 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10651 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10652 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10653 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10654 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10655 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10656 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10657 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10658 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10659 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10660 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10661 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10662 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10663 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10664
10665 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10666
10667 * config.host (sh2[lbe]*-*-linux*): Allow target.
10668
10669 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10670
10671 * config/rs6000/t-ppccomm: Add build rules for new files.
10672 (LIB2ADD_ST): New variable.
10673
10674 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10675
10676 PR target/34210
10677 PR target/35508
10678 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10679 * config/t-avr: New file. Build 16bit libgcc functions.
10680
10681 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10682
10683 PR target/35401
10684 * config/t-slibgcc-darwin: Make install-leaf dependent on
10685 install-darwin-libgcc-stubs instead of install.
10686
10687 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10688
10689 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10690 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10691 sh-*-rtemscoff*): Remove cases.
10692
10693 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10694
10695 * Makefile.in (all): Use install-leaf rather than install.
10696 (install): Split most of the rule into...
10697 (install-leaf): ...this new one.
10698
10699 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10700 Paolo Bonzini <bonzini@gnu.org>
10701
10702 PR target/30572
10703 * Makefile.in: Use @shlib_slibdir@ substitution to get
10704 correct install name on darwin.
10705 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10706
10707 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10708
10709 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10710 cris-*-elf and cris-*-none.
10711 (crisv32-*-linux*): Similar, as cris-*-linux*.
10712
10713 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10714
10715 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10716
10717 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10718
10719 PR regression/33926
10720 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10721 * configure: Regenerated.
10722
10723 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * Makefile.in (dfp-filenames): Replace decimal_globals,
10726 decimal_data, binarydecimal and convert_data with
10727 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10728 and bid_convert_data, respectively.
10729
10730 2007-09-17 Chao-ying Fu <fu@mips.com>
10731 Nigel Stephens <nigel@mips.com>
10732
10733 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10734 * Makefile.in (fixed_point): Define.
10735 Check if fixed_point is yes to build support functions.
10736 * configure.ac: Check for fixed_point support.
10737 * configure: Regenerated.
10738 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10739 funcs, modes, from, to.
10740
10741 2007-09-11 Janis Johnson <janis187@us.ibm.com
10742
10743 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10744
10745 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10746
10747 * Makefile.in (dfp-filenames): Remove decUtility, add
10748 decDouble, decPacked, decQuad, decSingle.
10749
10750 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10751
10752 * config.host : Add x86_64-elf target.
10753
10754 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 * configure.ac (set_have_cc_tls): Add a missing =.
10757 * configure: Regenerated.
10758
10759 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10760
10761 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10762 and x86_64-*-linux*.
10763
10764 * config/t-tls: New file.
10765
10766 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10767
10768 * configure.ac: Include ../config/enable.m4 and
10769 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10770 supports TLS and substitute set_have_cc_tls.
10771 * configure: Regenerated.
10772
10773 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10774
10775 * Makefile.in: Use libbid for DFP when BID is enabled.
10776
10777 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10778
10779 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10780 extra_parts. Add config/i386/t-cygming to tmake_file.
10781 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10782
10783 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10784 Danny Smith <dannysmith@users.sourceforge.net>
10785
10786 PR target/29498
10787 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10788 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10789 * config/i386/t-crtfm: Compile crtfastmath.o with
10790 -minline-all-stringops.
10791
10792 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10793
10794 * config.host (sparc-wrs-vxworks): New target.
10795
10796 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10797
10798 * config.host: Recognize fido.
10799
10800 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10801
10802 * configure: Check host, not target, for decimal float support.
10803
10804 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10805
10806 * config/i386/t-crtpc: New file.
10807 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10808 (x86_64-*-linux*): Ditto.
10809
10810 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10811
10812 * config.host (x86_64-*-mingw*): New target.
10813
10814 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10815 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * Makefile.in (enable_decimal_float): New.
10818 (DECNUMINC): Add
10819 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10820 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10821 (decbits-filenames): This.
10822 (decbits-objects): New.
10823 (libgcc-objects): Add $(decbits-objects).
10824
10825 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10826 Substitute enable_decimal_float.
10827 * configure: Regenerated.
10828
10829 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10830
10831 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10832
10833 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10834
10835 * Makefile.in (install-info): New dummy target.
10836
10837 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10838
10839 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10840
10841 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10842
10843 * Makefile.in: Add install-html and install-pdf dummy
10844 targets.
10845
10846 2007-02-05 Roger Sayle <roger@eyesopen.com>
10847 Daniel Jacobowitz <dan@codesourcery.com>
10848
10849 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10850 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10851 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10852
10853 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10854
10855 * Makefile.in (dec-filenames): Add decExcept.
10856
10857 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10858
10859 PR bootstrap/30469
10860 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10861 -fprofile-use.
10862
10863 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10864
10865 * configure.ac: Add --enable-version-specific-runtime-libs.
10866 Correct $slibdir default.
10867 * configure: Regenerated.
10868
10869 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10870
10871 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10872
10873 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10874
10875 PR target/30519
10876 * config.host (alpha*-*-linux*): Set extra_parts.
10877
10878 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10879
10880 * config/sh/t-linux: New.
10881 * config.host (sh*-*-linux*): Set tmake_file.
10882
10883 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10884
10885 * Makefile.in (install): Handle multilibs.
10886
10887 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10888
10889 * Makefile.in: Added .PHONY entry for documentation targets.
10890
10891 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10892
10893 * Makefile.in: Add empty info, html, dvi, pdf targets.
10894
10895 2007-01-04 Mike Stump <mrs@apple.com>
10896
10897 * Makefile.in (MAKEINFO): Remove.
10898 (PERL): Likewise.
10899
10900 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10901
10902 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10903 * configure: Regenerate.
10904 * Makefile.in (host_subdir): Substitute it.
10905 (gcc_objdir): Use it.
10906
10907 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10908
10909 * config.host (ia64*-*-linux*): Set tmake_file.
10910
10911 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10912
10913 * Makefile.in (version): Define.
10914
10915 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10916 Paolo Bonzini <bonzini@gnu.org>
10917
10918 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10919 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10920 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10921 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10922 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10923 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10924 * configure: Generated.
10925 \f
10926 Copyright (C) 2007-2020 Free Software Foundation, Inc.
10927
10928 Copying and distribution of this file, with or without modification,
10929 are permitted in any medium without royalty provided the copyright
10930 notice and this notice are preserved.