]> gcc.gnu.org Git - gcc.git/blob - libgcc/ChangeLog
Daily bump.
[gcc.git] / libgcc / ChangeLog
1 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
2
3 * config/riscv/save-restore.S [__riscv_xlen == 64]
4 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
5 (__riscv_save_2): Replace negative immediates used for the final
6 stack pointer adjustment with positive ones, right-shifted by 4.
7
8 2020-07-31 Martin Liska <mliska@suse.cz>
9
10 * libgcov-driver.c: Add __gcov_kvp_pool
11 and __gcov_kvp_pool_index variables.
12 * libgcov.h (allocate_gcov_kvp): New.
13 (gcov_topn_add_value): Use it.
14
15 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16
17 * config/aarch64/lse.S: Add PAC property note.
18
19 2020-07-23 Martin Liska <mliska@suse.cz>
20
21 PR gcov-profile/96035
22 * libgcov-driver-system.c: Create gcov folders with 0777
23 so that it respects a system umask.
24
25 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
26
27 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
28
29 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30
31 PR target/94891
32 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
33 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
34 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
35 (MD_DEMANGLE_RETURN_ADDR): This.
36 (aarch64_post_extract_frame_addr): Rename to ...
37 (aarch64_demangle_return_addr): This.
38 (aarch64_post_frob_eh_handler_addr): Remove.
39 * unwind-dw2.c (uw_update_context): Demangle return address.
40 (uw_frob_return_addr): Remove.
41
42 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
43
44 PR target/96001
45 * config/aarch64/lse.S: Add BTI marking and related definitions,
46 and add BTI c to function entries.
47
48 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
49
50 * config/aarch64/lse.S: Add stack note.
51
52 2020-07-02 Martin Liska <mliska@suse.cz>
53
54 PR gcov-profile/95348
55 * libgcov-driver.c (merge_one_data): Merge only profiles
56 that are not of non-zero type.
57 (write_one_data): Write counters only if there's one non-zero
58 value.
59 * libgcov-util.c (tag_function): Change signature from unsigned
60 to int.
61 (tag_blocks): Likewise.
62 (tag_arcs): Likewise.
63 (tag_counters): Likewise.
64 (tag_summary): Likewise.
65 (tag_lines): Read only if COUNTERS is non-zero.
66 (read_gcda_file): Handle negative length for COUNTERS type.
67
68 2020-06-25 Martin Liska <mliska@suse.cz>
69
70 * libgcov-driver.c (merge_summary): Remove function as its name
71 is misleading and doing something different.
72 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
73 in gcov-tool.
74 * libgcov-util.c (curr_object_summary): Remove.
75 (read_gcda_file): Remove unused curr_object_summary.
76 (gcov_merge): Merge summaries.
77 * libgcov.h: Add summary argument for gcov_info struct.
78
79 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
80
81 PR target/95259
82 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
83 "common/config/i386/i386-cpuinfo.h" and
84 "common/config/i386/cpuinfo.h".
85 (__cpu_features2): Changed to array.
86 (get_amd_cpu): Removed.
87 (get_intel_cpu): Likewise.
88 (get_available_features): Likewise.
89 (__cpu_indicator_init): Call cpu_indicator_init.
90 * config/i386/cpuinfo.h: Removed.
91
92 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
93
94 * Makefile.in: Remove uses of empty.mk. Use -include.
95 * config/avr/t-avr: Use -include.
96 * empty.mk: Delete.
97
98 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
99
100 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
101 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
102 and 64 bit with -maix64.
103 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
104 Build and install AIX-style FAT libraries.
105
106 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
107
108 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
109 'i386/gnu-unwind.h'
110 * config/i386/gnu-unwind.h: New file.
111
112 2020-06-17 Martin Liska <mliska@suse.cz>
113
114 * libgcov-util.c (read_gcda_finalize): Remove const operator.
115 (merge_wrapper): Add both counts and use them properly.
116 (topn_to_memory_representation): New function.
117 (gcov_merge): Covert on disk representation to in memory
118 representation.
119 * libgcov.h: Remove const operator.
120
121 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
122
123 * configure: Regenerate.
124 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
125 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
126
127 2020-06-09 Martin Liska <mliska@suse.cz>
128
129 PR gcov-profile/95494
130 * libgcov-driver.c (write_top_counters): Cast first to
131 intptr_t as sizeof(*) != sizeof(gcov_type).
132 * libgcov.h (gcov_counter_set_if_null): Remove.
133 (gcov_topn_add_value): Cast first to intptr_t and update
134 linked list directly.
135
136 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
137
138 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
139 with uw_install_context_1.
140
141 2020-06-04 Andreas Schwab <schwab@suse.de>
142
143 PR target/59230
144 PR libfortran/59227
145 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
146 soft-fp/divtf3.c.
147 (LIB2ADD): Add config/ia64/divtf3.c.
148 * config/ia64/divtf3.c: New file.
149
150 2020-06-03 Martin Liska <mliska@suse.cz>
151
152 PR gcov-profile/95480
153 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
154 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
155 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
156 (gcov_counter_set_if_null): Likewise.
157
158 2020-06-02 Jim Wilson <jimw@sifive.com>
159
160 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
161 to bgtz.
162
163 2020-06-02 Martin Liska <mliska@suse.cz>
164
165 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
166 of xmalloc.
167
168 2020-06-02 Martin Liska <mliska@suse.cz>
169
170 * libgcov-driver.c (prune_topn_counter): Remove.
171 (prune_counters): Likewise.
172 (merge_one_data): Special case TOP N counters
173 as they have variable length.
174 (write_top_counters): New.
175 (write_one_data): Special case TOP N.
176 (dump_one_gcov): Do not prune TOP N counters.
177 * libgcov-merge.c (merge_topn_values_set): Remove.
178 (__gcov_merge_topn): Use gcov_topn_add_value.
179 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
180 Likewise here.
181 * libgcov.h (gcov_counter_add): New.
182 (gcov_counter_set_if_null): Likewise.
183 (gcov_topn_add_value): New.
184
185 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
186
187 * config/i386/sfp-exceptions.c (struct fenv):
188 Add __attribute__ ((gcc_struct)).
189
190 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
191
192 PR bootstrap/95413
193 * configure: Regenerated.
194
195 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
196
197 PR gcov-profile/95332
198 * libgcov-util.c (read_gcda_file): Call gcov_magic.
199 * libgcov.h (gcov_magic): Disable GCC poison.
200
201 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
202
203 PR target/95212
204 * config/i386/cpuinfo.h (processor_features): Move
205 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
206
207 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
208
209 PR target/91695
210 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
211 check.
212
213 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
214
215 PR target/95212
216 PR target/95220
217 * config/i386/cpuinfo.c (get_available_features): Fix
218 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
219 * config/i386/cpuinfo.h (processor_features): Add
220 FEATURE_AVX512VP2INTERSECT.
221
222 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
223
224 PR bootstrap/95147
225 * configure: Regenerated.
226
227 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
228
229 * configure: Regenerated.
230
231 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
232
233 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
234 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
235
236 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
237
238 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
239 (__math_force_eval_div): New define.
240 (__sfp_handle_exceptions): Use __math_force_eval_div to use
241 generic division to generate INVALID, DIVZERO and INEXACT
242 exceptions.
243
244 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
245
246 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
247 instead of getauxval.
248 (AT_HWCAP): Define.
249 (HWCAP_ATOMICS): Define.
250 Guard detection on __gnu_linux__.
251
252 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
253
254 * config.host: Delete changes meant for a private branch.
255 * config/rs6000/t-float128: Likewise.
256 * configure.ac: Likewise.
257 * configure: Likewise.
258
259 2020-05-05 Martin Liska <mliska@suse.cz>
260
261 PR gcov-profile/93623
262 * Makefile.in: Remove __gcov_flush.
263 * gcov.h (__gcov_flush): Remove.
264 * libgcov-interface.c (__gcov_flush): Remove.
265 (init_mx): Use renamed mutex.
266 (__gcov_lock): Likewise.
267 (__gcov_unlock): Likewise.
268 (__gcov_fork): Likewise.
269 (__gcov_flush): Remove.
270
271 2020-05-05 Martin Liska <mliska@suse.cz>
272
273 PR gcov-profile/93623
274 * libgcov-interface.c (__gcov_fork): Do not flush
275 and reset only in child process.
276 (__gcov_execl): Dump counters only and reset them
277 only if exec* fails.
278 (__gcov_execlp): Likewise.
279 (__gcov_execle): Likewise.
280 (__gcov_execv): Likewise.
281 (__gcov_execvp): Likewise.
282 (__gcov_execve): Likewise.
283
284 2020-05-05 Martin Liska <mliska@suse.cz>
285
286 PR gcov-profile/93623
287 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
288 * libgcov-interface.c (ALIAS_void_fn): Remove.
289 (__gcov_lock): New.
290 (__gcov_unlock): New.
291 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
292 (__gcov_reset): Likewise.
293 (__gcov_dump): Likewise.
294 * libgcov.h (__gcov_lock): New declaration.
295 (__gcov_unlock): Likewise.
296
297 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
298
299 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
300 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
301 generic division to generate INVALID and DIVZERO exceptions.
302
303 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
304
305 * config/rs6000/crtresfpr.S: Use .machine ppc.
306 * config/rs6000/crtresxfpr.S: Likewise.
307 * config/rs6000/crtsavfpr.S: Likewise.
308
309 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
310
311 PR target/94514
312 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
313 Update context->flags accroding to the frame state.
314
315 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
316
317 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
318 Remove unneeded assignments to volatile memory.
319
320 2020-04-15 Jakub Jelinek <jakub@redhat.com>
321
322 PR target/93053
323 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
324 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
325 is not defined, use just .arch armv8-a.
326 (B, M, N, OPN): Define.
327 (COMMENT): New .macro.
328 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
329 defined. Otherwise, move the operands right after the glue? and
330 comment out operands where the macros are used.
331 * configure: Regenerated.
332 * config.in: Regenerated.
333
334 2020-04-07 Ian Lance Taylor <iant@golang.org>
335
336 PR libgcc/94513
337 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
338 syscall instead.
339
340 2020-04-04 Ian Lance Taylor <iant@golang.org>
341
342 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
343
344 2020-04-03 Ian Lance Taylor <iant@golang.org>
345
346 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
347 than mmap/munmap, to avoid hooks.
348
349 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
350
351 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
352 (TPFRA_OFFSET): Macros removed.
353 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
354 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
355 (PG3_SKIPPING_OFFSET): New macros.
356 (__isPATrange): Use cinfc_fast for the check.
357 (__isSkipResetAddr): New function.
358 (s390_fallback_frame_state): Check for skip trace addresses. Use
359 either ICST_CRET or ICST_SRET to calculate return address
360 location.
361 (__tpf_eh_return): Handle skip trace addresses.
362
363 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
364
365 PR target/94220
366 * config/arm/lib1funcs.asm (COND): Use a single definition for
367 unified syntax.
368 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
369 (aeabi_idivmod): Likewise.
370 (divsi3_skip_div0_test): Likewise.
371
372 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
373
374 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
375
376 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
377
378 * config.host: Include the new makefile fragment.
379 * config/s390/t-tpf: New file.
380
381 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
382
383 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
384 syntax.
385 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
386 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
387 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
388 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
389 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
390 syntax.
391 (divsi3, modsi3): Likewise.
392 (clzdi2, ctzsi2): Likewise.
393 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
394 unified syntax.
395 (UNWIND_WRAPPER): Likewise.
396
397 2020-03-02 Martin Liska <mliska@suse.cz>
398
399 * libgcov-interface.c: Remove duplicate
400 declaration of __gcov_flush_mx.
401
402 2020-02-18 Martin Liska <mliska@suse.cz>
403
404 PR ipa/92924
405 * libgcov-merge.c (merge_topn_values_set): Record
406 when a TOP N counter becomes invalid. When merging
407 remove a smallest value if the space is needed.
408
409 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
410
411 PR libstdc++/79193
412 PR libstdc++/88999
413
414 * configure: Regenerated.
415
416 2020-02-10 Jeff Law <law@redhat.com>
417
418 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
419 sections.
420 * config/frv/frvend.c: Similarly.
421
422 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
423
424 PR libgcc/85334
425 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
426 New.
427
428 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
429
430 PR target/93615
431 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
432 _Unwind_gnu_Find_got.
433 * unwind-pe.h: Likewise.
434
435 2020-02-07 Jakub Jelinek <jakub@redhat.com>
436
437 PR target/93615
438 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
439 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
440 trailing :s in asm. Formatting fixes.
441 (_Unwind_decode_typeinfo_ptr): Adjust caller.
442
443 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
444
445 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
446
447 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
448 * config/nios2-elf-lib.h: New.
449 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
450 code for finding GOT base for nios2.
451
452 2020-01-27 Martin Liska <mliska@suse.cz>
453
454 PR gcov-profile/93403
455 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
456 Call __gcov_indirect_call_profiler_body.
457 (__gcov_indirect_call_profiler_body): New.
458 (__gcov_indirect_call_profiler_v4_atomic): New.
459 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
460 New declaration.
461
462 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
463
464 * config/arc/crti.S: Add RF16 object attribute.
465 * config/arc/crtn.S: Likewise.
466 * config/arc/crttls.S: Likewise.
467 * config/arc/lib1funcs.S: Likewise.
468 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
469 * config/arc/lib2funcs.c: New file.
470 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
471
472 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
473
474 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
475 * configure.ac: Handle `--with-toolexeclibdir='.
476 * configure: Regenerate.
477
478 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
479
480 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
481
482 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
483
484 * config/mips/gnustack.h: New file.
485 * config/mips/crti.S: Include gnustack.h.
486 * config/mips/crtn.S: Likewise.
487 * config/mips/mips16.S: Likewise.
488 * config/mips/vr4120-div.S: Likewise.
489
490 2020-01-23 Martin Liska <mliska@suse.cz>
491
492 * libgcov-driver.c (prune_topn_counter): Remove
493 check for -1 as we only prune run-time counters
494 that do not generate an invalid state.
495
496 2020-01-22 Martin Liska <mliska@suse.cz>
497
498 PR tree-optimization/92924
499 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
500 try to find an existing value, then find an empty slot
501 if not found.
502
503 2020-01-22 Martin Liska <mliska@suse.cz>
504
505 PR tree-optimization/92924
506 * libgcov-driver.c (prune_topn_counter): New.
507 (prune_counters): Likewise.
508 (dump_one_gcov): Prune a run-time counter.
509 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
510 For a known value, add GCOV_TOPN_VALUES to value.
511 Otherwise, decrement all counters by one.
512
513 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
514
515 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
516
517 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
518
519 PR libgcc/92988
520 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
521 DEFAULT_USE_CXA_ATEXIT is true.
522
523 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
524 Thomas Preud'homme <thomas.preudhomme@arm.com>
525
526 * config/arm/t-arm: Check return value of gcc rather than lack of
527 output.
528
529 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
530
531 * config/avr/lib1funcs.S (skip): Simplify.
532
533 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
534
535 * config/gcn/atomic.c: Remove include of stdint.h.
536 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
537 __UINTPTR_TYPE__.
538
539 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
540
541 * config/gcn/atomic.c: New.
542 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
543
544 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
545
546 Implement 64-bit double functions.
547
548 PR target/92055
549 * config.host (tmake_file) [target=avr]: Add t-libf7,
550 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
551 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
552 depending on sizeof (double) or sizeof (long double).
553 * config/avr/libf7: New folder.
554
555 2020-01-05 Olivier Hainque <hainque@adacore.com>
556
557 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
558 by IN_LIBGCC2.
559
560 2020-01-01 Jakub Jelinek <jakub@redhat.com>
561
562 Update copyright years.
563
564 2019-12-30 Olivier Hainque <hainque@adacore.com>
565
566 * config/gthr-vxworks.h: Use _vxworks-versions.h.
567 * config/gthr-vxworks-tls.c: Likewise.
568
569 2019-12-30 Olivier Hainque <hainque@adacore.com>
570
571 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
572 standard zero-initializer syntax.
573
574 2019-12-30 Olivier Hainque <hainque@adacore.com>
575
576 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
577 reference to the internal VX_GET_TLS_DATA interface.
578
579 2019-12-30 Olivier Hainque <hainque@adacore.com>
580
581 * config/vxcrtstuff.c: Fix incorrect spelling of
582 USE_INITFINI_ARRAY in guard.
583
584 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
585
586 * config.host: s/msp430*-*-elf/msp430-*-elf*.
587 Override default "extra_parts" variable.
588 * configure: Regenerate.
589 * configure.ac: Disable TM clone registry by default for
590 msp430-elfbare.
591
592 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
593
594 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
595 "extra_parts".
596 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
597
598 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
599
600 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
601 true.
602
603 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
604
605 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
606 defined instead of its value.
607
608 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
609
610 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
611 if it will have contents.
612
613 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
614
615 PR target/92055
616 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
617
618 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
619
620 PR libgcc/91737
621 * config.host: Add t-gthr-noweak on *-*-musl*.
622 * config/t-gthr-noweak: New file.
623
624 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
625
626 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
627 volatile void *. Remove trap check.
628 (__kernel_cmpxchg2): Likewise.
629 (FETCH_AND_OP_2): Adjust operand types.
630 (OP_AND_FETCH_2): Likewise.
631 (FETCH_AND_OP_WORD): Likewise.
632 (OP_AND_FETCH_WORD): Likewise.
633 (COMPARE_AND_SWAP_2): Likewise.
634 (__sync_val_compare_and_swap_4): Likewise.
635 (__sync_bool_compare_and_swap_4): Likewise.
636 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
637 (__sync_lock_test_and_set_4): Likewise.
638 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
639 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
640 for release.
641 (__sync_lock_release_8): Remove.
642
643 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
644
645 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
646 of __sigset_t.
647
648 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
649 Doug Rupp <rupp@adacore.com>
650 Olivier Hainque <hainque@adacore.com>
651
652 * config.host: Collapse the arm-vxworks entries into
653 a single arm-wrs-vxworks7* one.
654 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
655 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
656 kernel modules, to be overriden by libstdc++ when we link with
657 it. Rely on externally provided __exidx_start/end.
658
659 2019-11-14 Doug Rupp <rupp@adacore.com>
660 Olivier Hainque <hainque@adacore.com>
661
662 * config.host: Handle aarch64*-wrs-vxworks7*.
663
664 2019-11-12 Olivier Hainque <hainque@adacore.com>
665
666 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
667 sources except the cxx0x support to LIB2ADDEH. We don't support
668 cxx0x on AE/653.
669 * config/t-vxworksae: New file.
670 * config.host: Handle *-*-vxworksae: Add the two aforementioned
671 Makefile fragment files at their expected position in the tmake_file
672 list, in accordance with what is done for other VxWorks variants.
673
674 2019-11-12 Corentin Gay <gay@adacore.com>
675 Jerome Lambourg <lambourg@adacore.com>
676 Olivier Hainque <hainque@adacore.com>
677
678 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
679 sources to LIB2ADDEH.
680 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
681 * config/t-vxworks7: Likewise.
682
683 * config.host: Append a block at the end of the file to add the
684 t-gthr files to the tmake_file list for VxWorks after everything
685 else.
686
687 * config/vxlib.c: Rename as gthr-vxworks.c.
688 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
689
690 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
691 API and a basic error checking API, both internal. Simplify the
692 __gthread_once_t type definition and initializers. Add sections
693 for condition variables support and for the C++0x thread support,
694 conditioned against Vx653 for the latter.
695
696 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
697 implementation, leveraging the TAS internal API.
698 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
699 API, leveraging the general availability of TLS services in VxWorks7
700 post SR6xxx.
701 (__gthread_setspecific, __gthread_setspecific): Use it.
702 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
703 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
704 support based on VxWorks primitives.
705 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
706 based on VxWorks primitives.
707
708 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
709 Olivier Hainque <hainque@adacore.com>
710
711 * config/vxcrtstuff.c: New file.
712 * config/t-vxcrtstuff: New Makefile fragment.
713 * config.host: Append t-vxcrtstuff to the tmake_file list
714 on all VxWorks ports using dwarf for table based EH.
715
716 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
717
718 Support 64-bit double and 64-bit long double configurations.
719
720 PR target/92055
721 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
722 long double is a 32-bit type.
723 * config/avr/t-avrlibc: Copy double64 and long-double64
724 multilib(s) from the vanilla one.
725 * config/avr/t-copy-libgcc: New Makefile snip.
726
727 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
728
729 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
730 the target output object format is not ELF.
731 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
732
733 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
734
735 PR libgcc/78804
736 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
737 * fp-bit.c (pack_d, unpack_d): Remove special cases for
738 FLOAT_BIT_ORDER_MISMATCH.
739 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
740
741 2019-11-01 Jim Wilson <jimw@sifive.com>
742
743 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
744
745 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
746
747 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
748 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
749 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
750 Define symbols for 32-bit and f5series hardware multiply
751 register addresses.
752 Replace hard-coded register addresses with symbols.
753 Fix "_mspabi*" typo.
754 Fix whitespace.
755 * config/msp430/lib2mul.c: Add comment.
756
757 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
758
759 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
760 unsigned int. Adjust callers.
761 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
762 unsigned int *. Load relocation offset before function pointer.
763 Add barrier to ensure ordering.
764
765 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
766
767 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
768 Load PIC register after branch target. Fix white space.
769 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
770 implementations. Load PIC register after branch target. Don't
771 clobber function pointer when it points to function descriptor.
772 Use nullification instead of branch in LINUX implementation.
773
774 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
775
776 * config/pa/fptr.c: Disable -Warray-bounds warning.
777
778 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
779
780 * config.in, configure: Re-rebuild with stock autoconf 2.69,
781 not the ubuntu modified 2.69.
782
783 PR target/91833
784 * config/aarch64/lse-init.c: Include auto-target.h. Disable
785 initialization if !HAVE_SYS_AUXV_H.
786 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
787 * config.in, configure: Rebuild.
788
789 PR target/91834
790 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
791 overlap the inputs.
792
793 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
794
795 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
796 CTR_EL0.IDC and CTR_EL0.DIC.
797
798 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
799
800 Revert:
801 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
802 Mickaël Guêné <mickael.guene@st.com>
803
804 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
805 architecture.
806
807 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
808
809 * config/aarch64/lse-init.c: New file.
810 * config/aarch64/lse.S: New file.
811 * config/aarch64/t-lse: New file.
812 * config.host: Add t-lse to all aarch64 tuples.
813
814 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
815 Mickaël Guêné <mickael.guene@st.com>
816
817 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
818 architecture.
819
820 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
821 Mickaël Guêné <mickael.guene@st.com>
822
823 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
824 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
825 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
826 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
827 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
828 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
829 (__gnu_personality_sigframe_fdpic): New.
830 (get_eit_entry): Add FDPIC signal frame support.
831
832 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
833 Mickaël Guêné <mickael.guene@st.com>
834
835 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
836 (__kernel_dmb): Likewise.
837 (__fdpic_cmpxchg): New function.
838 (__fdpic_dmb): New function.
839 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
840 (gnu_Unwind_Find_got): New function.
841 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
842 * unwind-arm-common.inc (UCB_PR_GOT): New.
843 (funcdesc_t): New struct.
844 (get_eit_entry): Add FDPIC support.
845 (unwind_phase2): Likewise.
846 (unwind_phase2_forced): Likewise.
847 (__gnu_Unwind_RaiseException): Likewise.
848 (__gnu_Unwind_Resume): Likewise.
849 (__gnu_Unwind_Backtrace): Likewise.
850 * unwind-pe.h (read_encoded_value_with_base): Likewise.
851
852 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
853 Mickaël Guêné <mickael.guene@st.com>
854
855 * libgcc/crtstuff.c: Add support for FDPIC.
856
857 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
858
859 * config.host: Handle *-*-uclinuxfdpiceabi.
860
861 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
862
863 * config.host: Set cpu_type for bpf-*-* targets.
864 * config/bpf/t-bpf: Likewise.
865 * config/bpf/crtn.S: Likewise.
866 * config/bpf/crti.S: New file.
867
868 2019-09-06 Jim Wilson <jimw@sifive.com>
869
870 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
871 (riscv*-*-freebsd*): Likewise.
872
873 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
874
875 * config.host: Remove references to spu.
876 * config/spu/: Remove directory.
877
878 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
879
880 PR target/91306
881 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
882 element type, instead of "sizeof" the element type.
883 (__DTOR_LIST__): Likewise.
884 (__TMC_LIST__): Likewise.
885 (__do_global_dtors_aux_fini_array_entry): Likewise.
886 (__frame_dummy_init_array_entry): Likewise.
887 (__CTOR_END__): Likewise.
888 (__DTOR_END__): Likweise.
889 (__FRAME_END__): Likewise.
890 (__TMC_END__): Likewise.
891
892 2019-08-20 Lili Cui <lilicui@intel.com>
893
894 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
895 INTEL_COREI7_COOPERLAKE.
896
897 2019-07-31 Matt Thomas <matt@3am-software.com>
898 Nick Hudson <nick@nthcliff.demon.co.uk>
899 Matthew Green <mrg@eterna.com.au>
900 Maya Rashish <coypu@sdf.org>
901
902 * config.host (hppa*-*-netbsd*): New case.
903 * config/pa/t-netbsd: New file.
904
905 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
906
907 * config/arm/cmse.c (cmse_check_address_range): Add
908 warn_unused_result attribute.
909
910 2019-07-22 Martin Liska <mliska@suse.cz>
911
912 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
913 * config/pa/t-stublib: Likewise.
914
915 2019-07-22 Stafford Horne <shorne@gmail.com>
916
917 PR target/90362
918 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
919 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
920 instructions are not available on every processor. Change a
921 l.bnf to l.bf to fix logic issue.
922
923 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
924
925 * config.host: Remove reference to t-darwin8.
926
927 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
928
929 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
930 list.
931 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
932 mmacosx-version-min for crts to run across all system versions.
933 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
934 * config/t-darwin: Revise mmacosx-version-min for crts to run across
935 system versions >= 10.4.
936
937 2019-07-03 Martin Liska <mliska@suse.cz>
938
939 * Makefile.in: Use topn_values instead of one_value names.
940 * libgcov-merge.c (__gcov_merge_single): Move to ...
941 (__gcov_merge_topn): ... this.
942 (merge_single_value_set): Move to ...
943 (merge_topn_values_set): ... this.
944 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
945 ...
946 (__gcov_topn_values_profiler_body): ... this.
947 (__gcov_one_value_profiler_v2): Move to ...
948 (__gcov_topn_values_profiler): ... this.
949 (__gcov_one_value_profiler_v2_atomic): Move to ...
950 (__gcov_topn_values_profiler_atomic): ... this.
951 (__gcov_indirect_call_profiler_v4): Remove.
952 * libgcov-util.c (__gcov_single_counter_op): Move to ...
953 (__gcov_topn_counter_op): ... this.
954 * libgcov.h (L_gcov_merge_single): Remove.
955 (L_gcov_merge_topn): New.
956 (__gcov_merge_single): Remove.
957 (__gcov_merge_topn): New.
958 (__gcov_one_value_profiler_v2): Move to ..
959 (__gcov_topn_values_profiler): ... this.
960 (__gcov_one_value_profiler_v2_atomic): Move to ...
961 (__gcov_topn_values_profiler_atomic): ... this.
962
963 2019-07-03 Martin Liska <mliska@suse.cz>
964
965 * libgcov-merge.c (merge_single_value_set): Support N values.
966 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
967
968 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
969
970 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
971 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
972 * configure.ac: Add --disable-tm-clone-registry option.
973 * configure: Regenerate.
974
975 2019-06-27 Martin Liska <mliska@suse.cz>
976
977 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
978 dead assignments.
979 * libgcov-util.c: Likewise.
980
981 2019-06-27 Martin Liska <mliska@suse.cz>
982
983 * libgcov-util.c (gcov_profile_merge): Release allocated
984 memory.
985 (calculate_overlap): Likewise.
986
987 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
988
989 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
990 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
991 Build objects for the out of line save/restore register functions
992 so that they can be used for any supported Darwin version.
993 * config/t-darwin: Default the build Darwin version to Darwin8
994 (MacOS 10.4).
995
996 2019-06-25 Martin Liska <mliska@suse.cz>
997
998 * libgcov-driver-system.c (replace_filename_variables): Do not
999 call strlen with NULL argument.
1000
1001 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1002
1003 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1004 * config/gcn/unwind-gcn.c: New file.
1005
1006 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1007 Andrew Stubbs <ams@codesourcery.com>
1008
1009 * configure: Regenerate.
1010 * config/gcn/gthr-gcn.h: New.
1011
1012 2019-06-18 Tom de Vries <tdevries@suse.de>
1013
1014 * config/nvptx/crt0.c (__main): Declare.
1015
1016 2019-06-17 Matthew Green <mrg@eterna.com.au>
1017 Maya Rashish <coypu@sdf.org>
1018
1019 * config.host (aarch64*-*-netbsd*): New case.
1020
1021 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1022
1023 * config/msp430/slli.S (__mspabi_sllll): New library function for
1024 performing a logical left shift of a 64-bit value.
1025 * config/msp430/srai.S (__mspabi_srall): New library function for
1026 performing a arithmetic right shift of a 64-bit value.
1027 * config/msp430/srll.S (__mspabi_srlll): New library function for
1028 performing a logical right shift of a 64-bit value.
1029
1030 2019-06-14 Matt Thomas <matt@3am-software.com>
1031 Matthew Green <mrg@eterna.com.au>
1032 Nick Hudson <skrll@netbsd.org>
1033 Maya Rashish <coypu@sdf.org>
1034
1035 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1036 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1037 functions to build.
1038 * config/arm/t-netbsd-eabi: New file.
1039
1040 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1041
1042 * config.host: Add PRU target.
1043 * config/pru/asri.c: New file.
1044 * config/pru/eqd.c: New file.
1045 * config/pru/eqf.c: New file.
1046 * config/pru/ged.c: New file.
1047 * config/pru/gef.c: New file.
1048 * config/pru/gtd.c: New file.
1049 * config/pru/gtf.c: New file.
1050 * config/pru/led.c: New file.
1051 * config/pru/lef.c: New file.
1052 * config/pru/lib2bitcountHI.c: New file.
1053 * config/pru/lib2divHI.c: New file.
1054 * config/pru/lib2divQI.c: New file.
1055 * config/pru/lib2divSI.c: New file.
1056 * config/pru/libgcc-eabi.ver: New file.
1057 * config/pru/ltd.c: New file.
1058 * config/pru/ltf.c: New file.
1059 * config/pru/mpyll.S: New file.
1060 * config/pru/pru-abi.h: New file.
1061 * config/pru/pru-asm.h: New file.
1062 * config/pru/pru-divmod.h: New file.
1063 * config/pru/sfp-machine.h: New file.
1064 * config/pru/t-pru: New file.
1065
1066 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1067
1068 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1069
1070 2019-06-10 Martin Liska <mliska@suse.cz>
1071
1072 PR bootstrap/90808
1073 * libgcov.h: Add ATTRIBUTE_UNUSED.
1074
1075 2019-06-10 Martin Liska <mliska@suse.cz>
1076
1077 * Makefile.in: Add __gcov_one_value_profiler_v2,
1078 __gcov_one_value_profiler_v2_atomic and
1079 __gcov_indirect_call_profiler_v4.
1080 * libgcov-merge.c (__gcov_merge_single): Change
1081 function signature.
1082 (merge_single_value_set): New.
1083 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1084 Update functionality.
1085 (__gcov_one_value_profiler): Remove.
1086 (__gcov_one_value_profiler_v2): ... this.
1087 (__gcov_one_value_profiler_atomic): Rename to ...
1088 (__gcov_one_value_profiler_v2_atomic): this.
1089 (__gcov_indirect_call_profiler_v3): Rename to ...
1090 (__gcov_indirect_call_profiler_v4): ... this.
1091 * libgcov.h (__gcov_one_value_profiler): Remove.
1092 (__gcov_one_value_profiler_atomic): Remove.
1093 (__gcov_one_value_profiler_v2_atomic): New.
1094 (__gcov_indirect_call_profiler_v3): Remove.
1095 (__gcov_one_value_profiler_v2): New.
1096 (__gcov_indirect_call_profiler_v4): New.
1097 (gcov_get_counter_ignore_scaling): New function.
1098
1099 2019-06-07 Martin Liska <mliska@suse.cz>
1100
1101 * Makefile.in: Remove usage of
1102 _gcov_merge_icall_topn.
1103 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1104 (gcov_sort_icall_topn_counter): Likewise.
1105 (gcov_sort_topn_counter_arrays): Likewise.
1106 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1107 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1108 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1109 Likewise.
1110 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1111 (struct indirect_call_tuple): Remove.
1112 (__gcov_indirect_call_topn_profiler): Remove.
1113 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1114 * libgcov.h (gcov_sort_n_vals): Remove.
1115 (L_gcov_merge_icall_topn): Likewise.
1116 (__gcov_merge_icall_topn): Likewise.
1117 (__gcov_indirect_call_topn_profiler): Likewise.
1118
1119 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1120
1121 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1122 altivec enabled.
1123
1124 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1125
1126 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1127 section.
1128 (__mspabi_slli): Likewise.
1129 (__mspabi_slll_n): Likewise.
1130 (__mspabi_slll): Likewise.
1131 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1132 (__mspabi_srai): Likewise.
1133 (__mspabi_sral_n): Likewise.
1134 (__mspabi_sral): Likewise.
1135 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1136 (__mspabi_srli): Likewise.
1137 (__mspabi_srll_n): Likewise.
1138 (__mspabi_srll): Likewise.
1139
1140 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1141
1142 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1143 Add appropriate tm_file clause as well.
1144 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1145
1146 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1147
1148 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1149 rather than .data/.bss so it can be accessed via gp-relative
1150 addressing.
1151
1152 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1153
1154 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1155 (CR2_REGNO): Rename to R_CR2.
1156 (XER_REGNO): Rename to R_XER.
1157 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1158 (VRSAVE_REGNO): Rename to R_VRSAVE.
1159 (VSCR_REGNO): R_VSCR.
1160
1161 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1162
1163 * config.host (rx-*-linux*): Add new case.
1164 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1165
1166 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1167
1168 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1169 function.
1170 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1171 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1172 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1173 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1174 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1175 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1176 string.
1177 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1178 string.
1179 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1180
1181 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1182
1183 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1184 Remove Solaris 9 and 10 support.
1185 (sparc_is_sighandler): Likewise.
1186
1187 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1188
1189 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1190
1191 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1192
1193 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1194 4_FP_W_TYPEs are used for IEEE quad precision.
1195 * soft-fp/extendhftf2.c: Likewise.
1196 * soft-fp/extendsftf2.c: Likewise.
1197 * soft-fp/extendxftf2.c: Likewise.
1198 * soft-fp/trunctfdf2.c: Likewise.
1199 * soft-fp/trunctfhf2.c: Likewise.
1200 * soft-fp/trunctfsf2.c: Likewise.
1201 * soft-fp/trunctfxf2.c: Likewise.
1202 * config/rs6000/ibm-ldouble.c: Likewise.
1203
1204 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1205
1206 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1207 *-*-solaris2*.
1208 * configure.ac: Likewise.
1209 * configure: Regenerate.
1210
1211 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1212 Solaris 10 and Solaris 11 < snv_125 handling.
1213
1214 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1215
1216 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1217
1218 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1219
1220 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1221 * config/i386/cpuinfo.h (enum processor_features): Add
1222 FEATURE_AVX512BF16.
1223
1224 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1225 Bernd Edlinger <bernd.edlinger@hotmail.de>
1226 Jakub Jelinek <jakub@redhat.com>
1227
1228 PR target/89093
1229 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1230 * config/arm/unwind-arm.c: Likewise.
1231 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1232 attribute for ARM.
1233
1234 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1235
1236 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1237 (RT_SIGRETURN): Update.
1238 (nds32_fallback_frame_state): Update.
1239
1240 2019-02-21 Martin Sebor <msebor@redhat.com>
1241
1242 * libgcc2.h (__clear_cache): Correct signature.
1243 * libgcc2.c (__clear_cache): Same.
1244
1245 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1246
1247 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1248 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1249
1250 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1251
1252 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1253 regno instead of index to DWARF_ZERO_REG.
1254
1255 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1256
1257 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1258 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1259
1260 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1261
1262 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1263 to HOST_LIBGCC2_CFLAGS.
1264
1265 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1266
1267 PR libgcc/88931
1268 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1269
1270 2019-01-18 Martin Liska <mliska@suse.cz>
1271
1272 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1273 to ...
1274 (__gcov_indirect_call_profiler_v3): ... this.
1275 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1276 (__gcov_indirect_call_profiler_v3): Likewise.
1277 * Makefile.in: Bump function name.
1278
1279 2019-01-18 Martin Liska <mliska@suse.cz>
1280
1281 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1282 (gcov_version): Use in gcov_error.
1283 (merge_one_data): Likewise.
1284 (dump_one_gcov): Likewise.
1285
1286 2019-01-18 Martin Liska <mliska@suse.cz>
1287
1288 * libgcov-driver.c (gcov_version_string): New function.
1289 (gcov_version): Convert version integer into string.
1290
1291 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1292 Kwok Cheung Yeung <kcy@codesourcery.com>
1293 Julian Brown <julian@codesourcery.com>
1294 Tom de Vries <tom@codesourcery.com>
1295
1296 * config.host: Recognize amdgcn*-*-amdhsa.
1297 * config/gcn/crt0.c: New file.
1298 * config/gcn/lib2-divmod-hi.c: New file.
1299 * config/gcn/lib2-divmod.c: New file.
1300 * config/gcn/lib2-gcn.h: New file.
1301 * config/gcn/sfp-machine.h: New file.
1302 * config/gcn/t-amdgcn: New file.
1303
1304 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1305
1306 PR other/16615
1307
1308 * config/c6x/libunwind.S: Mechanically replace "can not" with
1309 "cannot".
1310 * config/tilepro/atomic.h: Likewise.
1311 * config/vxlib-tls.c: Likewise.
1312 * generic-morestack-thread.c: Likewise.
1313 * generic-morestack.c: Likewise.
1314 * mkmap-symver.awk: Likewise.
1315
1316 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1317
1318 Update copyright years.
1319
1320 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1321
1322 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1323 to ignore -Waddress-of-packed-member.
1324
1325 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1326
1327 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1328 parameter and corresponding code.
1329 (ARM_FUNC_START): Likewise in both definitions.
1330 Also update footer comment about condition that need to match with
1331 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1332 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1333 defined. Weakly define it in this case.
1334 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1335 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1336 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1337 comment to keep condition in sync with the one in
1338 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1339
1340 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1341
1342 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1343 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1344
1345 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1346
1347 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1348 and .cfi_endproc directives for VxWorks targets.
1349
1350 2018-12-05 Paul Koning <ni1d@arrl.net>
1351
1352 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1353
1354 2018-11-27 Alan Modra <amodra@gmail.com>
1355
1356 * config/rs6000/morestack.S (__stack_split_initialize),
1357 (__morestack_get_guard, __morestack_set_guard),
1358 (__morestack_make_guard): Provide CFI covering these functions.
1359 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1360
1361 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1362
1363 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1364 (sc_pt_regs_lr): Update for kernel.
1365 (sc_pt_regs_tls): Update for kernel.
1366
1367 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1368
1369 * config/csky/linux-unwind.h: Fix coding style.
1370
1371 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1372
1373 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1374 (csky_fallback_frame_state): Modify the check of the
1375 instructions to adapt to changes in the kernel
1376
1377 2018-11-09 Stafford Horne <shorne@gmail.com>
1378 Richard Henderson <rth@twiddle.net>
1379
1380 * config.host: Add OpenRISC support.
1381 * config/or1k/*: New.
1382
1383 2018-11-08 Kito Cheng <kito@andestech.com>
1384
1385 * soft-fp/adddf3.c: Update from glibc.
1386 * soft-fp/addsf3.c: Likewise.
1387 * soft-fp/addtf3.c: Likewise.
1388 * soft-fp/divdf3.c: Likewise.
1389 * soft-fp/divsf3.c: Likewise.
1390 * soft-fp/divtf3.c: Likewise.
1391 * soft-fp/double.h: Likewise.
1392 * soft-fp/eqdf2.c: Likewise.
1393 * soft-fp/eqsf2.c: Likewise.
1394 * soft-fp/eqtf2.c: Likewise.
1395 * soft-fp/extenddftf2.c: Likewise.
1396 * soft-fp/extended.h: Likewise.
1397 * soft-fp/extendhftf2.c: Likewise.
1398 * soft-fp/extendsfdf2.c: Likewise.
1399 * soft-fp/extendsftf2.c: Likewise.
1400 * soft-fp/extendxftf2.c: Likewise.
1401 * soft-fp/fixdfdi.c: Likewise.
1402 * soft-fp/fixdfsi.c: Likewise.
1403 * soft-fp/fixdfti.c: Likewise.
1404 * soft-fp/fixhfti.c: Likewise.
1405 * soft-fp/fixsfdi.c: Likewise.
1406 * soft-fp/fixsfsi.c: Likewise.
1407 * soft-fp/fixsfti.c: Likewise.
1408 * soft-fp/fixtfdi.c: Likewise.
1409 * soft-fp/fixtfsi.c: Likewise.
1410 * soft-fp/fixtfti.c: Likewise.
1411 * soft-fp/fixunsdfdi.c: Likewise.
1412 * soft-fp/fixunsdfsi.c: Likewise.
1413 * soft-fp/fixunsdfti.c: Likewise.
1414 * soft-fp/fixunshfti.c: Likewise.
1415 * soft-fp/fixunssfdi.c: Likewise.
1416 * soft-fp/fixunssfsi.c: Likewise.
1417 * soft-fp/fixunssfti.c: Likewise.
1418 * soft-fp/fixunstfdi.c: Likewise.
1419 * soft-fp/fixunstfsi.c: Likewise.
1420 * soft-fp/fixunstfti.c: Likewise.
1421 * soft-fp/floatdidf.c: Likewise.
1422 * soft-fp/floatdisf.c: Likewise.
1423 * soft-fp/floatditf.c: Likewise.
1424 * soft-fp/floatsidf.c: Likewise.
1425 * soft-fp/floatsisf.c: Likewise.
1426 * soft-fp/floatsitf.c: Likewise.
1427 * soft-fp/floattidf.c: Likewise.
1428 * soft-fp/floattihf.c: Likewise.
1429 * soft-fp/floattisf.c: Likewise.
1430 * soft-fp/floattitf.c: Likewise.
1431 * soft-fp/floatundidf.c: Likewise.
1432 * soft-fp/floatundisf.c: Likewise.
1433 * soft-fp/floatunditf.c: Likewise.
1434 * soft-fp/floatunsidf.c: Likewise.
1435 * soft-fp/floatunsisf.c: Likewise.
1436 * soft-fp/floatunsitf.c: Likewise.
1437 * soft-fp/floatuntidf.c: Likewise.
1438 * soft-fp/floatuntihf.c: Likewise.
1439 * soft-fp/floatuntisf.c: Likewise.
1440 * soft-fp/floatuntitf.c: Likewise.
1441 * soft-fp/gedf2.c: Likewise.
1442 * soft-fp/gesf2.c: Likewise.
1443 * soft-fp/getf2.c: Likewise.
1444 * soft-fp/half.h: Likewise.
1445 * soft-fp/ledf2.c: Likewise.
1446 * soft-fp/lesf2.c: Likewise.
1447 * soft-fp/letf2.c: Likewise.
1448 * soft-fp/muldf3.c: Likewise.
1449 * soft-fp/mulsf3.c: Likewise.
1450 * soft-fp/multf3.c: Likewise.
1451 * soft-fp/negdf2.c: Likewise.
1452 * soft-fp/negsf2.c: Likewise.
1453 * soft-fp/negtf2.c: Likewise.
1454 * soft-fp/op-1.h: Likewise.
1455 * soft-fp/op-2.h: Likewise.
1456 * soft-fp/op-4.h: Likewise.
1457 * soft-fp/op-8.h: Likewise.
1458 * soft-fp/op-common.h: Likewise.
1459 * soft-fp/quad.h: Likewise.
1460 * soft-fp/single.h: Likewise.
1461 * soft-fp/soft-fp.h: Likewise.
1462 * soft-fp/subdf3.c: Likewise.
1463 * soft-fp/subsf3.c: Likewise.
1464 * soft-fp/subtf3.c: Likewise.
1465 * soft-fp/truncdfsf2.c: Likewise.
1466 * soft-fp/trunctfdf2.c: Likewise.
1467 * soft-fp/trunctfhf2.c: Likewise.
1468 * soft-fp/trunctfsf2.c: Likewise.
1469 * soft-fp/trunctfxf2.c: Likewise.
1470 * soft-fp/unorddf2.c: Likewise.
1471 * soft-fp/unordsf2.c: Likewise.
1472 * soft-fp/unordtf2.c: Likewise.
1473
1474 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1475
1476 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1477 * config/i386/cpuinfo.h (processor_types): Add znver2.
1478
1479 2018-11-01 Paul Koning <ni1d@arrl.net>
1480
1481 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1482 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1483
1484 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1485
1486 PR bootstrap/82856
1487 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1488 * configure: Regenerate.
1489
1490 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1491
1492 * config/arc/lib1funcs.S (_muldi3): New function.
1493 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1494
1495 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1496
1497 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1498
1499 2018-10-25 Martin Liska <mliska@suse.cz>
1500
1501 PR other/87735
1502 * libgcov-profiler.c: Revert.
1503
1504 2018-10-24 Martin Liska <mliska@suse.cz>
1505
1506 * libgcov-profiler.c: Start from 1 in order to distinguish
1507 functions which were seen and these that were not.
1508
1509 2018-10-18 Paul Koning <ni1d@arrl.net>
1510
1511 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1512 standard.
1513 * divmod.c: Update references to __udivmodsi4.
1514 * udivmod.c: Ditto.
1515 * udivhi3.c: New file.
1516 * udivmodhi4.c: New file.
1517 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1518
1519 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1520
1521 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1522
1523 2018-10-12 Olivier Hainque <hainque@adacore.com>
1524
1525 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1526 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1527
1528 2018-10-08 Paul Koning <ni1d@arrl.net>
1529
1530 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1531
1532 2018-10-04 Martin Liska <mliska@suse.cz>
1533
1534 PR gcov-profile/84107
1535 * libgcov-profiler.c (__gcov_indirect_call):
1536 Change type to indirect_call_tuple.
1537 (struct indirect_call_tuple): New struct.
1538 (__gcov_indirect_call_topn_profiler): Change type.
1539 (__gcov_indirect_call_profiler_v2): Use the new
1540 variables.
1541 * libgcov.h (struct indirect_call_tuple): New struct
1542 definition.
1543
1544 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1545
1546 * libgcc2.c (isnan): Use __builtin_isnan.
1547 (isfinite): Use __builtin_isfinite.
1548 (isinf): Use __builtin_isinf.
1549
1550 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1551
1552 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1553
1554 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1555
1556 * config/vxcache.c: New file. Provide __clear_cache, based on
1557 the cacheTextUpdate VxWorks service.
1558 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1559 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1560 * config/t-vxwoks7: Likewise.
1561
1562 2018-09-21 Martin Liska <mliska@suse.cz>
1563
1564 * libgcov-driver.c (crc32_unsigned): Remove.
1565 (gcov_histogram_insert): Likewise.
1566 (gcov_compute_histogram): Likewise.
1567 (compute_summary): Simplify rapidly.
1568 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1569 (merge_summary): Rapidly simplify.
1570 (dump_one_gcov): Ignore gcov_summary.
1571 (gcov_do_dump): Do not handle program summary, it's not
1572 used.
1573 * libgcov-util.c (tag_summary): Remove.
1574 (read_gcda_finalize): Fix coding style.
1575 (read_gcda_file): Initialize curr_object_summary.
1576 (compute_summary): Remove.
1577 (calculate_overlap): Remove settings of run_max.
1578
1579 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1580
1581 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1582 ucontext_t type instead.
1583 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1584
1585 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1586
1587 * config/nds32/t-nds32-glibc: New file.
1588
1589 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1590
1591 * configure.ac (solaris_ld_v2_maps): New test.
1592 * configure: Regenerate.
1593 * Makefile.in (solaris_ld_v2_maps): New variable.
1594 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1595 if supported.
1596
1597 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1598
1599 PR target/86951
1600 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1601 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1602 to build.
1603
1604 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1605
1606 * config/unwind-dw2-fde-darwin.c
1607 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1608 * config/darwin10-unwind-find-enc-func.c: … to here.
1609 * config/t-darwin: Build Darwin10 unwinder shim crt.
1610 * libgcc/config.host: Add the Darwin10 unwinder shim.
1611
1612 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1613
1614 * config.host: Add crtbegin.o and crtend.o for
1615 powerpc-wrs-vxworks target.
1616
1617 2018-08-17 Jojo <jijie_rong@c-sky.com>
1618 Huibin Wang <huibin_wang@c-sky.com>
1619 Sandra Loosemore <sandra@codesourcery.com>
1620 Chung-Lin Tang <cltang@codesourcery.com>
1621
1622 C-SKY port: libgcc
1623
1624 * config.host: Add C-SKY support.
1625 * config/csky/*: New.
1626
1627 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1628
1629 * config/nds32/t-nds32-isr: Rearrange object dependency.
1630 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1631 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1632 and registers usage.
1633 * config/nds32/isr-library/excp_isr.S: Ditto.
1634 * config/nds32/isr-library/intr_isr.S: Ditto.
1635 * config/nds32/isr-library/reset.S: Ditto.
1636 * config/nds32/isr-library/restore_all.inc: Ditto.
1637 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1638 * config/nds32/isr-library/restore_partial.inc: Ditto.
1639 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1640 * config/nds32/isr-library/save_all.inc: Ditto.
1641 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1642 * config/nds32/isr-library/save_partial.inc: Ditto.
1643 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1644 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1645
1646 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1647
1648 * config/pa/linux-atomic.c: Update comment.
1649 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1650 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1651 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1652 __ATOMIC_RELAXED for atomic loads.
1653 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1654 unordered store to release lock.
1655 (__sync_lock_release_8): Likewise.
1656 (SYNC_LOCK_RELEASE_2): Remove define.
1657
1658 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1659
1660 PR libgcc/86512
1661 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1662 exponent goes negative. Update my email address.
1663 * config/arm/ieee754-sf.S: Likewise.
1664
1665 2018-08-01 Martin Liska <mliska@suse.cz>
1666
1667 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1668 check that __gcov_indirect_call_callee is non-null.
1669
1670 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1671
1672 * config/arm/ieee754-df.S: Fix comment for code working on
1673 architectures >= 4.
1674 * config/arm/ieee754-sf.S: Likewise.
1675
1676 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 PR libgcc/85334
1679 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1680 Removed.
1681
1682 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1683
1684 * configure: Regenerated.
1685
1686 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1687
1688 * Makefile.in (install_leaf): Use enable_gcov instead of
1689 enable_libgcov.
1690
1691 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1692
1693 * configure.ac: Add --disable-gcov option.
1694 * configure: Regenerate.
1695 * Makefile.in: Honour @enable_gcov@.
1696
1697 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1698
1699 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1700 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1701 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1702 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1703 __ARM_ARCH__.
1704 * config/arm/ieee754-sf.S: Likewise.
1705 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1706
1707 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1708
1709 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1710 longer supported.
1711 * config/arm/ieee754-sf.S: Likewise.
1712
1713 2018-06-20 Than McIntosh <thanm@google.com>
1714
1715 PR libgcc/86213
1716 * generic-morestack.c (allocate_segment): Move calls to getenv and
1717 getpagesize to __morestack_load_mmap.
1718 (__morestack_load_mmap) Initialize static_pagesize and
1719 use_guard_page here so as to avoid clobbering SSE regs during a
1720 __morestack call.
1721
1722 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1723
1724 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1725 support modules with -mno-gnu-attribute.
1726 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1727
1728 2018-06-07 Olivier Hainque <hainque@adacore.com>
1729
1730 * config/t-vxworks (LIBGCC_INCLUDES): Add
1731 -I$(MULTIBUILDTOP)../../gcc/include.
1732 * config/t-vxworks7: Likewise. Reformat a bit to match
1733 the t-vxworks layout.
1734
1735 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1736
1737 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1738
1739 2018-06-07 Martin Liska <mliska@suse.cz>
1740
1741 * libgcov-driver.c: Rename cs_all to all and assign it from
1742 all_prg.
1743
1744 2018-06-07 Martin Liska <mliska@suse.cz>
1745
1746 PR bootstrap/86057
1747 * libgcov-driver-system.c (replace_filename_variables): Use
1748 memcpy instead of mempcpy.
1749 (allocate_filename_struct): Do not allocate filename, allocate
1750 prefix and set it.
1751 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1752 here and properly copy content into it.
1753 * libgcov-driver.c (struct gcov_filename): Remove max_length
1754 field, change prefix from size_t into char *.
1755 (compute_summary): Do not calculate longest filename.
1756 (gcov_do_dump): Release memory of gf.filename after each file.
1757 * libgcov-util.c (compute_summary): Use new signature of
1758 compute_summary.
1759 (calculate_overlap): Likewise.
1760
1761 2018-06-05 Martin Liska <mliska@suse.cz>
1762
1763 PR gcov-profile/47618
1764 * libgcov-driver-system.c (replace_filename_variables): New
1765 function.
1766 (gcov_exit_open_gcda_file): Use it.
1767
1768 2018-06-05 Martin Liska <mliska@suse.cz>
1769
1770 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1771 of gcov_ctr_summary.
1772 (compute_summary): Do it just for a single summary.
1773 (merge_one_data): Likewise.
1774 (merge_summary): Simplify as we read just single summary.
1775 (dump_one_gcov): Pass proper argument.
1776 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1777 single summary.
1778 (gcov_info_count_all_cold): Likewise.
1779 (calculate_overlap): Likewise.
1780
1781 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1782 Monk Chiang <sh.chiang04@gmail.com>
1783
1784 * config.host (nds32*-linux*): New.
1785 * config/nds32/linux-atomic.c: New file.
1786 * config/nds32/linux-unwind.h: New file.
1787
1788 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1789
1790 PR target/85591
1791 * config/i386/cpuinfo.c (get_amd_cpu): Return
1792 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1793
1794 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1795
1796 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1797
1798 2018-05-29 Martin Liska <mliska@suse.cz>
1799
1800 PR gcov-profile/85759
1801 * libgcov-driver-system.c (gcov_error): Introduce usage of
1802 GCOV_EXIT_AT_ERROR env. variable.
1803 * libgcov-driver.c (merge_one_data): Print error that we
1804 overwrite a gcov file with a different timestamp.
1805
1806 2018-05-23 Kalamatee <kalamatee@gmail.com>
1807
1808 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1809 path to Lf$finfty.
1810
1811 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1812 Monk Chiang <sh.chiang04@gmail.com>
1813 Jim Wilson <jimw@sifive.com>
1814
1815 * config/riscv/save-restore.S: Add support for rv32e.
1816
1817 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1818
1819 * config/arm/libunwind.S: Update comment relating to armv5.
1820
1821 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1822
1823 * config/arm/cmse.c (cmse_check_address_range): Replace
1824 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1825
1826 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1827
1828 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1829 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1830
1831 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1832
1833 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1834 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1835
1836 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1837
1838 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1839
1840 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1841 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1842
1843 PR libgcc/84292
1844 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1845 op_and_fetch to return the right result.
1846
1847 2018-04-27 Alan Modra <amodra@gmail.com>
1848
1849 PR libgcc/85532
1850 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1851 -fno-asynchronous-unwind-tables.
1852
1853 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1854
1855 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1856 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1857
1858 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1859
1860 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1861 when including "config/i386/shadow-stack-unwind.h".
1862
1863 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1864
1865 * configure: Regenerated.
1866
1867 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1868
1869 PR target/85456
1870 * config/rs6000/_powikf2.c: New file. Add support for the
1871 __builtin_powil function when long double is IEEE 128-bit floating
1872 point.
1873 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1874 __powikf2 support.
1875 (__powikf2): Likewise.
1876 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1877 (__powikf2_hw): Likewise.
1878 (__powikf2): Likewise.
1879 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1880 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1881 (_powikf2-hw.c): Likewise.
1882
1883 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1884
1885 PR libgcc/85334
1886 * unwind-generic.h (_Unwind_Frames_Increment): New.
1887 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1888 Likewise.
1889 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1890 count with _Unwind_Frames_Increment.
1891 (_Unwind_ForcedUnwind_Phase2): Likewise.
1892
1893 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 PR libgcc/85379
1896 * config/i386/morestack.S (__stack_split_initialize): Add
1897 _CET_ENDBR.
1898
1899 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1900
1901 * configure: Regenerated.
1902
1903 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1904
1905 PR jit/85384
1906 * configure: Regenerate.
1907
1908 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1909
1910 PR target/84945
1911 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1912 -Wdangling-else warnings. Mask shift counts to avoid
1913 -Wshift-count-negative and -Wshift-count-overflow false positives.
1914
1915 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1916
1917 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1918
1919 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1920
1921 PR target/85100
1922 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1923 (XSTATE_FP): Likewise.
1924 (XSTATE_SSE): Likewise.
1925 (XSTATE_YMM): Likewise.
1926 (XSTATE_OPMASK): Likewise.
1927 (XSTATE_ZMM): Likewise.
1928 (XSTATE_HI_ZMM): Likewise.
1929 (XCR_AVX_ENABLED_MASK): Likewise.
1930 (XCR_AVX512F_ENABLED_MASK): Likewise.
1931 (get_available_features): Enable AVX and AVX512 features only
1932 if their states are supported by OSXSAVE.
1933
1934 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1935
1936 PR target/85025
1937 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1938 Fix a typo, tmp => 255.
1939
1940 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1941
1942 PR target/84945
1943 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1944 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1945 ifndef SHARED only.
1946 (set_feature): Define.
1947 (get_available_features): Use set_feature macro. Set __cpu_features2
1948 to the second word of features ifndef SHARED.
1949
1950 2018-03-15 Julia Koval <julia.koval@intel.com>
1951
1952 * config/i386/cpuinfo.c (get_available_features): Add
1953 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1954 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1955 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1956 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1957 FEATURE_AVX512BITALG.
1958
1959 2018-03-14 Julia Koval <julia.koval@intel.com>
1960
1961 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1962 icelake client and icelake server.
1963
1964 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1965
1966 * config/pa/fptr.c (_dl_read_access_allowed): New.
1967 (__canonicalize_funcptr_for_compare): Use it.
1968
1969 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1970
1971 PR debug/83917
1972 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1973 $asm_hidden_op if visibility ("hidden") attribute works.
1974 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1975 * config/i386/i386-asm.h: Don't include auto-host.h.
1976 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1977 PACKAGE_URL): Don't undefine.
1978 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1979 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1980 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1981 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1982 definition instead of hardcoded .hidden.
1983 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1984 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1985 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1986 (USE_GAS_CFI_DIRECTIVES): Don't define.
1987 * configure: Regenerated.
1988 * config.in: Likewise.
1989
1990 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1991
1992 PR debug/83917
1993 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1994 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1995 inclusion of auto-target.h and auto-host.h.
1996 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1997 __GCC_HAVE_DWARF2_CFI_ASM.
1998 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1999 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2000 cfi_pop): Define.
2001 * config/i386/cygwin.S: Don't include auto-host.h here, just
2002 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2003 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2004 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2005 * config/i386/resms64fx.h: Add cfi_* directives.
2006 * config/i386/resms64x.h: Likewise.
2007
2008 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2009
2010 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2011 .literal_position directive.
2012 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2013
2014 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2015
2016 PR target/84148
2017 * configure: Regenerate.
2018
2019 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2020
2021 PR target/84239
2022 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2023 Include cetintrin.h not x86intrin.h.
2024
2025 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2026
2027 PR target/84239
2028 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2029 Use new _get_ssp and _inc_ssp intrinsics.
2030
2031 2018-02-02 Julia Koval <julia.koval@intel.com>
2032
2033 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2034
2035 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2036
2037 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2038 option.
2039 (__divsi3): Use RF16 safe registers.
2040 (__modsi3): Likewise.
2041
2042 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2043
2044 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2045 (__divsf3): Make NaN return value quiet.
2046 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2047 (__divdf3): Make NaN return value quiet.
2048
2049 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2050
2051 * config/rl78/anddi3.S: New assembly file.
2052 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2053
2054 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2055
2056 * config/rl78/umindi3.S: New assembly file.
2057 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2058
2059 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2060
2061 * config/rl78/smindi3.S: New assembly file.
2062 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2063
2064 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2065
2066 * config/rl78/smaxdi3.S: New assembly file.
2067 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2068
2069 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2070
2071 * config/rl78/umaxdi3.S: New assembly file.
2072 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2073
2074 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2075
2076 PR lto/83452
2077 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2078 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2079
2080 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2081
2082 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2083 (DWARF_LAZY_REGISTER_VALUE): Define.
2084 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2085 to provide a fallback register value.
2086
2087 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2088
2089 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2090 __ibm128, instead of trying to use long double.
2091 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2092 accomidate -mabi=ieeelongdouble multilibs.
2093 (CVT_IBM128_TO_FLOAT128): Likewise.
2094 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2095 the appropriate IBM extended double type.
2096 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2097 (__gcc_qsub): Likewise.
2098 (__gcc_qmul): Likewise.
2099 (__gcc_qdiv): Likewise.
2100 (pack_ldouble): Likewise.
2101 (__gcc_qneg): Likewise.
2102 (__gcc_qeq): Likewise.
2103 (__gcc_qne): Likewise.
2104 (__gcc_qge): Likewise.
2105 (__gcc_qle): Likewise.
2106 (__gcc_stoq): Likewise.
2107 (__gcc_dtoq): Likewise.
2108 (__gcc_itoq): Likewise.
2109 (__gcc_utoq): Likewise.
2110 (__gcc_qunord): Likewise.
2111 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2112 quad-float128.h for the definitions.
2113 (COPYSIGN): Use the f128 version instead of the q version.
2114 (INFINITY): Likewise.
2115 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2116 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2117 quad-float128.h for the definitions.
2118 (COPYSIGN): Use the f128 version instead of the q version.
2119 (INFINITY): Likewise.
2120 (FABS): Likewise.
2121 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2122 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2123 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2124
2125 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2126
2127 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2128 configuration.
2129
2130 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2131
2132 Update copyright years.
2133
2134 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2135
2136 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2137 * config/riscv/multi3.c: New file.
2138 * config/riscv/multi3.S: Remove.
2139
2140 2017-12-08 Jim Wilson <jimw@sifive.com>
2141
2142 * config/riscv/div.S: Use FUNC_* macros.
2143 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2144 * config/riscv/save-restore.S: Likewise.
2145 * config/riscv/riscv-asm.h: New.
2146
2147 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2148
2149 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2150 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2151
2152 PR libgcc/83112
2153 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2154 correct type for all ifunc resolvers to silence -Wattribute-alias
2155 warnings. Eliminate the forward declaration of the resolver
2156 functions which is no longer needed.
2157 (__subkf3_resolve): Likewise.
2158 (__mulkf3_resolve): Likewise.
2159 (__divkf3_resolve): Likewise.
2160 (__negkf2_resolve): Likewise.
2161 (__eqkf2_resolve): Likewise.
2162 (__nekf2_resolve): Likewise.
2163 (__gekf2_resolve): Likewise.
2164 (__gtkf2_resolve): Likewise.
2165 (__lekf2_resolve): Likewise.
2166 (__ltkf2_resolve): Likewise.
2167 (__unordkf2_resolve): Likewise.
2168 (__extendsfkf2_resolve): Likewise.
2169 (__extenddfkf2_resolve): Likewise.
2170 (__trunckfsf2_resolve): Likewise.
2171 (__trunckfdf2_resolve): Likewise.
2172 (__fixkfsi_resolve): Likewise.
2173 (__fixkfdi_resolve): Likewise.
2174 (__fixunskfsi_resolve): Likewise.
2175 (__fixunskfdi_resolve): Likewise.
2176 (__floatsikf_resolve): Likewise.
2177 (__floatdikf_resolve): Likewise.
2178 (__floatunsikf_resolve): Likewise.
2179 (__floatundikf_resolve): Likewise.
2180 (__extendkftf2_resolve): Likewise.
2181 (__trunctfkf2_resolve): Likewise.
2182
2183 PR libgcc/83103
2184 * config/rs6000/quad-float128.h (TF): Don't define if long double
2185 is IEEE 128-bit floating point.
2186 (TCtype): Define as either TCmode or KCmode, depending on whether
2187 long double is IEEE 128-bit floating point.
2188 (__mulkc3_sw): Add declarations for software/hardware versions of
2189 complex multiply/divide.
2190 (__divkc3_sw): Likewise.
2191 (__mulkc3_hw): Likewise.
2192 (__divkc3_hw): Likewise.
2193 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2194 handlers to switch between using software emulation and hardware
2195 float128 instructions, build the complex multiply/divide functions
2196 for both software and hardware support.
2197 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2198 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2199 (__divkc3_resolve): Likewise.
2200 (__mulkc3): Likewise.
2201 (__divkc3): Likewise.
2202 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2203 (fp128_hw_src): Likewise.
2204 (fp128_hw_static_obj): Likewise.
2205 (fp128_hw_shared_obj): Likewise.
2206 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2207 _mulkc3.c and _divkc3.c, changing the function name.
2208 (_divkc3-hw.c): Likewise.
2209 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2210 and _divkc3-hw.c.
2211
2212 2017-11-26 Julia Koval <julia.koval@intel.com>
2213
2214 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2215 * config/i386/cpuinfo.h (processor_subtypes): Add
2216 INTEL_COREI7_CANNONLAKE.
2217
2218 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2219
2220 PR bootstrap/83015
2221 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2222 parameter.
2223 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2224 * config/ia64/unwind-ia64.c: Add frames parameter.
2225 * unwind-sjlj.c: Likewise.
2226
2227 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2228
2229 * config/i386/linux-unwind.h: Include
2230 config/i386/shadow-stack-unwind.h.
2231 * config/i386/shadow-stack-unwind.h: New file.
2232 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2233 pass it to _Unwind_Frames_Extra.
2234 * unwind-generic.h (_Unwind_Frames_Extra): New.
2235 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2236 parameter. Add local variable frames to count number of frames.
2237 (_Unwind_ForcedUnwind_Phase2): Likewise.
2238 (_Unwind_RaiseException): Add local variable frames to count
2239 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2240 uw_install_context.
2241 (_Unwind_ForcedUnwind): Likewise.
2242 (_Unwind_Resume): Likewise.
2243 (_Unwind_Resume_or_Rethrow): Likewise.
2244
2245 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2246
2247 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2248 (CET_FLAGS): New.
2249 * config/i386/morestack.S: Include <cet.h>.
2250 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2251 * config/i386/resms64.h: Include <cet.h>.
2252 * config/i386/resms64f.h: Likewise.
2253 * config/i386/resms64fx.h: Likewise.
2254 * config/i386/resms64x.h: Likewise.
2255 * config/i386/savms64.h: Likewise.
2256 * config/i386/savms64f.h: Likewise.
2257 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2258 (CRTSTUFF_T_CFLAGS): Likewise.
2259 * configure.ac: Include ../config/cet.m4.
2260 Set and substitute CET_FLAGS.
2261 * configure: Regenerated.
2262
2263 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2264
2265 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2266 renaming.
2267 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2268 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2269 * configure: Regenerate.
2270
2271 2017-11-07 Tom de Vries <tom@codesourcery.com>
2272
2273 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2274 after "do {} while (0)".
2275
2276 2017-11-07 Tom de Vries <tom@codesourcery.com>
2277
2278 PR other/82784
2279 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2280 semicolon after "do {} while (0)".
2281 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2282 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2283 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2284 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2285
2286 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2287
2288 PR libgcc/82635
2289 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2290 sysctl to determine whether we're in a trampoline.
2291 Keep the pattern matching method for systems without
2292 KERN_PROC_SIGTRAMP sysctl.
2293
2294 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2295 Vineet Gupta <vgupta@synopsys.com>
2296
2297 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2298 * config/arc/linux-unwind-reg.def: New file.
2299 * config/arc/linux-unwind-reg.h: Likewise.
2300
2301 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2302
2303 * config/rl78/subdi3.S: New assembly file.
2304 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2305
2306 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2307
2308 * config/rl78/adddi3.S: New assembly file.
2309 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2310
2311 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2312
2313 PR target/82274
2314 * libgcc2.c (__mulvDI3): If both operands have
2315 the same highpart of -1 and the topmost bit of lowpart is 0,
2316 multiplication overflows even if both lowparts are 0.
2317
2318 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2319
2320 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2321
2322 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2323
2324 * config/microblaze/crti.S, config/microblaze/crtn.S,
2325 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2326 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2327 config/microblaze/mulsi3.S,
2328 config/microblaze/stack_overflow_exit.S,
2329 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2330 config/pa/milli64.S: Add .note.GNU-stack section.
2331
2332 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2333
2334 * configure.ac: Add Check for HAVE_AS_AVX.
2335 * config.in: Regenerate.
2336 * configure: Likewise.
2337 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2338 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2339 Correct out-of-date comments.
2340
2341 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2342
2343 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2344 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2345
2346 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2347
2348 * config/i386/i386-asm.h (PASTE2): New macro.
2349 (ASMNAME): Modify to use PASTE2.
2350 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2351 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2352 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2353 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2354 * config/i386/resms64f.S: Likewise.
2355 * config/i386/resms64fx.S: Likewise.
2356 * config/i386/resms64x.S: Likewise.
2357 * config/i386/savms64.S: Likewise.
2358 * config/i386/savms64f.S: Likewise.
2359 * config/i386/avx_resms64.S: New file that only defines a macro and
2360 includes it's corresponding header file.
2361 * config/i386/avx_resms64f.S: Likewise.
2362 * config/i386/avx_resms64fx.S: Likewise.
2363 * config/i386/avx_resms64x.S: Likewise.
2364 * config/i386/avx_savms64.S: Likewise.
2365 * config/i386/avx_savms64f.S: Likewise.
2366 * config/i386/sse_resms64.S: Likewise.
2367 * config/i386/sse_resms64f.S: Likewise.
2368 * config/i386/sse_resms64fx.S: Likewise.
2369 * config/i386/sse_resms64x.S: Likewise.
2370 * config/i386/sse_savms64.S: Likewise.
2371 * config/i386/sse_savms64f.S: Likewise.
2372 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2373
2374 2017-09-01 Olivier Hainque <hainque@adacore.com>
2375 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2376
2377 2017-08-31 Olivier Hainque <hainque@adacore.com>
2378
2379 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2380 match as powerpc-wrs-vxworks*.
2381
2382 2017-08-07 Jonathan Yong <10walls@gmail.com>
2383
2384 * config.host (*-cygwin): Include file from mingw
2385 config/i386/enable-execute-stack-mingw32.c
2386
2387 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2388 Doug Rupp <rupp@adacore.com>
2389 Olivier Hainque <hainque@adacore.com>
2390
2391 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2392 as well as arm-wrs-vxworks.
2393 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2394 LIB2ADDEH.
2395 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2396 __exidx_start and __exidx_end for downloadable modules.
2397
2398 2017-08-01 Olivier Hainque <hainque@adacore.com>
2399
2400 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2401 * config/t-vxworks7: Likewise.
2402
2403 2017-08-01 Olivier Hainque <hainque@adacore.com>
2404
2405 * config/t-vxworks: Instead of redefining LIB2ADD,
2406 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2407
2408 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2409
2410 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2411
2412 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2413
2414 PR testsuite/80759
2415 * config.host: include i386/t-msabi for darwin and solaris.
2416 * config/i386/i386-asm.h
2417 (ELFFN): Rename to FN_TYPE.
2418 (FN_SIZE): New macro.
2419 (FN_HIDDEN): Likewise.
2420 (ASMNAME): Likewise.
2421 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2422 .globl.
2423 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2424 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2425 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2426 .macro.
2427 * config/i386/resms64f.S: Likewise.
2428 * config/i386/resms64fx.S: Likewise.
2429 * config/i386/resms64x.S: Likewise.
2430 * config/i386/savms64.S: Likewise.
2431 * config/i386/savms64f.S: Likewise.
2432
2433 2017-07-19 John Marino <gnugcc@marino.st>
2434
2435 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2436
2437 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2438
2439 PR target/81193
2440 * configure.ac (PowerPC float128 hardware support): Test whether
2441 we can use __builtin_cpu_supports before enabling the ifunc
2442 handler.
2443 * configure: Regenerate.
2444
2445 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2446
2447 * config.host: Remove uclibc from arc target spec.
2448
2449 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2450
2451 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2452
2453 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2454
2455 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2456 (have_ieee_hw_p): Delete function.
2457 (SW_OR_HW) Use __builtin_cpu_supports().
2458
2459 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2460
2461 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2462
2463 2017-07-03 Olivier Hainque <hainque@adacore.com>
2464
2465 * config/t-vxworks7: New file, really.
2466
2467 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2468
2469 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2470 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2471 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2472 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2473 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2474 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2475 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2476 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2477 config/sh/linux-unwind.h (sh_fallback_frame_state),
2478 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2479 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2480 ucontext_t instead of struct ucontext.
2481
2482 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2483
2484 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2485 (x86_64-wrs-vxworks7): Likewise.
2486
2487 2017-06-27 Olivier Hainque <hainque@adacore.com>
2488
2489 * config/t-vxworks7: New file.
2490 * config.host (*-*-vxworks7): Use it.
2491
2492 2017-06-22 Matt Turner <mattst88@gmail.com>
2493
2494 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2495 skylake case.
2496
2497 2017-06-21 Richard Biener <rguenther@suse.de>
2498
2499 PR gcov-profile/81080
2500 * configure.ac: Add AC_SYS_LARGEFILE.
2501 * libgcov.h: Include auto-target.h before tsystem.h to pick
2502 up _FILE_OFFSET_BITS which might differ for multilibs.
2503 * config.in: Regenerate.
2504 * configure: Likewise.
2505
2506 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2507
2508 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2509
2510 2017-06-09 Martin Liska <mliska@suse.cz>
2511
2512 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2513 Reset __gcov_indirect_call_callee to NULL.
2514
2515 2017-06-08 Olivier Hainque <hainque@adacore.com>
2516
2517 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2518 the set of -I options, support for direct inclusions of net/uio.h
2519 by VxWorks header files via ioLib.h.
2520
2521 2017-06-07 Tony Reix <tony.reix@atos.net>
2522 Matthieu Sarter <matthieu.sarter.external@atos.net>
2523 David Edelsohn <dje.gcc@gmail.com>
2524
2525 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2526 unconditionally.
2527 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2528 AIX 7.2 support.
2529
2530 2017-06-02 Olivier Hainque <hainque@adacore.com>
2531
2532 * config/vxlib.c (__gthread_once): Add missing value to
2533 return statement.
2534
2535 2017-05-30 Olivier Hainque <hainque@adacore.com>
2536
2537 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2538 dollar sign before $(MULTIDIR).
2539
2540 2017-05-26 Richard Henderson <rth@redhat.com>
2541
2542 PR libgcc/80037
2543 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2544
2545 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2546
2547 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2548 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2549 * config/arm/unwind-arm.c: Implement the above.
2550
2551 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2552
2553 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2554 section for a non-executable stack.
2555
2556 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2557
2558 PR target/80600
2559 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2560
2561 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2562
2563 * config.host: Add i386/t-msabi to i386/t-linux file list.
2564 * config/i386/i386-asm.h: New file.
2565 * config/i386/resms64.S: New file.
2566 * config/i386/resms64f.S: New file.
2567 * config/i386/resms64fx.S: New file.
2568 * config/i386/resms64x.S: New file.
2569 * config/i386/savms64.S: New file.
2570 * config/i386/savms64f.S: New file.
2571 * config/i386/t-msabi: New file.
2572
2573 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2574
2575 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2576 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2577
2578 2017-05-05 Joshua Conner <joshconner@google.com>
2579
2580 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2581 pc-relative indirect handling for fuchsia.
2582 * config/t-slibgcc-fuchsia: New file.
2583 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2584 x86_64-*-fuchsia*): Add definitions.
2585
2586 2017-04-19 Martin Liska <mliska@suse.cz>
2587
2588 PR gcov-profile/80435
2589 * Makefile.in: Install gcov.h.
2590 * gcov.h: New file.
2591 * libgcov.h: Use the header and make __gcov_flush publicly
2592 visible.
2593
2594 2017-04-18 Martin Liska <mliska@suse.cz>
2595
2596 PR gcov-profile/78783
2597 * libgcov-driver.c (gcov_get_filename): New function.
2598
2599 2017-04-07 Jeff Law <law@redhat.com>
2600
2601 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2602 target makefile fragment.
2603 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2604
2605 2017-04-07 Alan Modra <amodra@gmail.com>
2606
2607 PR target/45053
2608 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2609
2610 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2611
2612 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2613
2614 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2615
2616 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2617
2618 2017-03-10 John Marino <gnugcc@marino.st>
2619
2620 * config/aarch64/freebsd-unwind.h: New file.
2621 * config.host: Add aarch64-*-freebsd unwinder.
2622
2623 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2624
2625 * config/rs6000/crtrestvr.s: Use .machine altivec.
2626 * config/rs6000/crtsavevr.s: Ditto.
2627
2628 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2629
2630 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2631 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2632 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2633 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2634 * configure: Regenerate.
2635 * config.in: Regenerate.
2636
2637 2017-03-02 Jonathan Yong <10walls@gmail.com>
2638
2639 * config/i386/gthr-win32.h: Define NOGDI before
2640 windows.h include to prevent w32api CC_NONE macro
2641 clash with libgfortran.
2642
2643 2017-03-02 Jonathan Yong <10walls@gmail.com>
2644
2645 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2646
2647 2017-02-16 Andrew Pinski <apinski@cavium.com>
2648
2649 * config/aarch64/value-unwind.h: New file.
2650 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2651 to tm_file.
2652
2653 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2654
2655 * config.host: Add RISC-V tuples.
2656 * config/riscv/atomic.c: New file.
2657 * config/riscv/crti.S: Likewise.
2658 * config/riscv/crtn.S: Likewise.
2659 * config/riscv/div.S: Likewise.
2660 * config/riscv/linux-unwind.h: Likewise.
2661 * config/riscv/muldi3.S: Likewise.
2662 * config/riscv/multi3.S: Likewise.
2663 * config/riscv/save-restore.S: Likewise.
2664 * config/riscv/sfp-machine.h: Likewise.
2665 * config/riscv/t-elf: Likewise.
2666 * config/riscv/t-elf32: Likewise.
2667 * config/riscv/t-elf64: Likewise.
2668 * config/riscv/t-softfp32: Likewise.
2669 * config/riscv/t-softfp64: Likewise.
2670
2671 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2672
2673 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2674 /* FALLTHRU */ comments.
2675
2676 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2677
2678 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2679
2680 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2681
2682 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2683 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2684 DW_CFA_GNU_window_save for AArch64 and LP64.
2685
2686 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2687
2688 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2689
2690 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2691
2692 * config/aarch64/aarch64-unwind.h: New file.
2693 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2694 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2695 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2696 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2697 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2698 (aarch64_post_extract_frame_addr): New function.
2699 (aarch64_post_frob_eh_handler_addr): New function.
2700 (aarch64_frob_update_context): New function.
2701 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2702 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2703 aarch64*-*-freebsd*):
2704 Initialize md_unwind_header to include aarch64-unwind.h.
2705 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2706 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2707 __aarch64__.
2708 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2709 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2710 (uw_frob_return_addr): New function.
2711 (uw_install_context): Use uw_frob_return_addr.
2712
2713 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2714
2715 PR other/79046
2716 * configure.ac: Add GCC_BASE_VER.
2717 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2718 version from BASE-VER file.
2719 * configure: Regenerated.
2720
2721 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2722
2723 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2724 libmul_f5.a): Filter archived prerequisites.
2725
2726 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2727
2728 * config/i386/cpuinfo.h (processor_features): Add
2729 FEATURE_AVX512VPOPCNTDQ.
2730 * config/i386/cpuinfo.c (get_available_features): Habdle new
2731 feature.
2732
2733 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2734
2735 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2736 payload if [__mips_nan2008].
2737
2738 2017-01-04 Alan Modra <amodra@gmail.com>
2739
2740 * Makefile.in (configure_deps): Update.
2741 * configure: Regenerate.
2742
2743 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2744
2745 Update copyright years.
2746
2747 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2748
2749 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2750 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2751 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2752
2753 2016-12-17 Matthias Klose <doko@ubuntu.com>
2754
2755 * config/arc/gmon: Remove empty directory.
2756
2757 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2758
2759 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2760 crtgend.
2761 (arc*-*-elf*): Likewise.
2762 * config/arc/t-arc: Remove old gmon lib targets.
2763 * config/arc/crtg.S: Remove.
2764 * config/arc/crtgend.S: Likewise.
2765 * config/arc/gmon/atomic.h: Likewise.
2766 * config/arc/gmon/auxreg.h: Likewise.
2767 * config/arc/gmon/dcache_linesz.S: Likewise.
2768 * config/arc/gmon/gmon.c: Likewise.
2769 * config/arc/gmon/machine-gmon.h: Likewise.
2770 * config/arc/gmon/mcount.c: Likewise.
2771 * config/arc/gmon/prof-freq-stub.S: Likewise.
2772 * config/arc/gmon/prof-freq.c: Likewise.
2773 * config/arc/gmon/profil.S: Likewise.
2774 * config/arc/gmon/sys/gmon.h: Likewise.
2775 * config/arc/gmon/sys/gmon_out.h: Likewise.
2776 * config/arc/t-arc-newlib: Likewise.
2777 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2778
2779 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2780
2781 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2782
2783 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2784
2785 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2786 R16 instead of push + pop.
2787 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2788
2789 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2790
2791 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2792 tmake_file.
2793
2794 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2795
2796 * config.host (arc*-*-linux-uclibc*): Use default extra
2797 objects. Include linux-android header.
2798 * config/arc/crti.S (_init): Declare symbol as function.
2799 (_fini): Likewise.
2800
2801 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2802
2803 PR fortran/78379
2804 * config/i386/cpuinfo.c: Move denums for processor vendors,
2805 processor type, processor subtypes and declaration of
2806 struct __processor_model into
2807 * config/i386/cpuinfo.h: New header file.
2808
2809 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2810 Thomas Preud'homme <thomas.preudhomme@arm.com>
2811
2812 * config/arm/cmse_nonsecure_call.S: New.
2813 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2814
2815 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2816 Thomas Preud'homme <thomas.preudhomme@arm.com>
2817
2818 * config/arm/t-arm (HAVE_CMSE): New.
2819 * config/arm/cmse.c: New.
2820
2821 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2822
2823 PR gcc/74748
2824 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2825 use generic linker version information on Blackfin.
2826
2827 PR gcc/74748
2828 * libgcc/mkmap-symver.awk: add support for skip_underscore
2829
2830 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2831 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2832
2833 PR target/67710
2834 * config/t-darwin: Default builds to 10.5 codegen.
2835
2836 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2837
2838 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2839 (_FP_NANSIGN_H): Likewise.
2840 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2841 (softfp_truncations): Add tfhf.
2842 (softfp_extras): Add required conversion functions.
2843
2844 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2845 Matthew Wahab <matthew.wahab@arm.com>
2846
2847 * config/arm/fp16.c (binary64): New.
2848 (__gnu_d2h_internal): New.
2849 (__gnu_d2h_ieee): New.
2850 (__gnu_d2h_alternative): New.
2851
2852 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2853 Matthew Wahab <matthew.wahab@arm.com>
2854
2855 * config/arm/fp16.c (struct format): New.
2856 (binary32): New.
2857 (__gnu_float2h_internal): New. Body moved from
2858 __gnu_f2h_internal and generalize.
2859 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2860 Call it with binary32.
2861
2862 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2863
2864 * soft-fp/extendhftf2.c: Update from glibc.
2865 * soft-fp/fixhfti.c: Likewise.
2866 * soft-fp/fixunshfti.c: Likewise.
2867 * soft-fp/floattihf.c: Likewise.
2868 * soft-fp/floatuntihf.c: Likewise.
2869 * soft-fp/half.h: Likewise.
2870 * soft-fp/trunctfhf2.c: Likewise.
2871
2872 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2873
2874 PR libgcc/77813
2875 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2876 __TMC_END__ behind a passthrough asm.
2877
2878 2016-11-18 Walter Lee <walt@tilera.com>
2879
2880 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2881
2882 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2883
2884 * config/i386/cpuinfo.c (processor_features): Add
2885 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2886
2887 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2888
2889 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2890 (__ARC_NORM__): Use instead ARC_OPTFPE.
2891 * config/arc/fp-hack.h: Likewise.
2892 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2893 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2894
2895 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2896
2897 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2898 * config/nvptx/mgomp.c: New file.
2899 * config/nvptx/t-nvptx: Add mgomp.c
2900
2901 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2902
2903 PR libgcc/68468
2904 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2905
2906 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2907
2908 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2909 of checking for cpus.
2910 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2911 (__modsi3, __clzsi2): Likewise.
2912
2913 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2914
2915 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2916 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2917 * config/i386/t-cpuinfo-static: New.
2918
2919 2016-11-03 Martin Liska <mliska@suse.cz>
2920
2921 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2922 (__gcov_time_profiler_atomic): Likewise.
2923
2924 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2925
2926 PR libgcc/78067
2927 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2928 count_leading_zeros.
2929
2930 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2931
2932 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2933 * libgcc2.c (__divmoddi4): New function.
2934 * libgcc2.h (__divmoddi4): Declare.
2935 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2936 and __PFX_divmodti4.
2937
2938 2016-10-24 Florian Weimer <fweimer@redhat.com>
2939
2940 PR libgcc/78064
2941 * unwind-c.c: Include auto-target.h.
2942
2943 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2944
2945 * config/pa/pa64-hpux-lib.h: New file.
2946 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2947 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2948 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2949 hppa*64*-*-hpux11*.
2950
2951 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2952
2953 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2954 definition.
2955 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2956 definition.
2957 * config/xtensa/t-windowed (LIB2ADDEH): Use
2958 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2959 or xtensa/t-linux.
2960
2961 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2962
2963 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2964 __ieee754_sqrt): New functions.
2965 (__divdf3): Add implementation with new FPU instructions under
2966 #if XCHAL_HAVE_DFP_DIV.
2967 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2968 __ieee754_sqrtf): New functions.
2969 (__divsf3): Add implementation with new FPU instructions under
2970 #if XCHAL_HAVE_FP_DIV.
2971 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2972 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2973
2974 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2975
2976 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2977 equivalent.
2978 * config/tilepro/atomic.c: Likewise and stop casting model to
2979 enum memmodel.
2980
2981 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2982
2983 PR target/77586
2984 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2985 soft-fp.
2986
2987 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2988
2989 * config.host: Add support for aarch64-*-freebsd*.
2990
2991 2016-10-05 Andreas Schwab <schwab@suse.de>
2992
2993 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2994 (.section .init_array): Don't call __do_jv_register_classes.
2995 (.section .init): Likewise.
2996
2997 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2998
2999 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3000 (__JCR_LIST__): Remove.
3001 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3002 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3003 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3004 * config/ia64/crtend.S (__JCR_END__): Remove.
3005 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3006 conditionals.
3007 (__JCR_LIST__, __JCR_END__): Remove.
3008 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3009 (__do_global_ctors_1): Likewise.
3010
3011 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3012
3013 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3014 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3015
3016 2016-09-27 Martin Liska <mliska@suse.cz>
3017
3018 PR gcov-profile/7970
3019 PR gcov-profile/16855
3020 PR gcov-profile/44779
3021 * libgcov-driver.c (__gcov_init): Do not register a atexit
3022 handler.
3023 (__gcov_exit): Rename from gcov_exit.
3024 * libgcov.h (__gcov_exit): Declare.
3025
3026 2016-09-27 Martin Liska <mliska@suse.cz>
3027
3028 PR bootstrap/77749
3029 * Makefile.in: Remove _gcov_merge_delta.
3030 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3031 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3032 * libgcov.h: Remove declaration of __gcov_merge_delta.
3033
3034 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3035
3036 * configure.ac: Do not create links, only substitute the filenames.
3037 * configure: Regenerate.
3038 * Makefile.in: Assign the substitution results to variables.
3039 (LIBGCC_LINKS): Define.
3040 (enable-execute-stack.c): New rule.
3041 (unwind.h): Likewise.
3042 (md-unwind-support.h): Likewise.
3043 (sfp-machine.h): Likewise.
3044 (gthr-default.h): Likewise.
3045 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3046 unwind.h as prerequisite of install-unwind_h-forbuild.
3047
3048 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3049
3050 PR libgcc/71744
3051 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3052 is not the primary registry and atomics are available.
3053 (any_objects_registered): New variable.
3054 (__register_frame_info_bases, __register_frame_info_table_bases):
3055 Atomically store 1 to any_objects_registered after registering first
3056 unwind info.
3057 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3058
3059 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3060
3061 PR target/63250
3062 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3063 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3064 (HFtype): Likewise.
3065 (HCtype): Likewise.
3066 (__divhc3): Likewise.
3067 (__mulhc3): Likewise.
3068 * libgcc2.c: Support _mulhc3 and _divhc3.
3069
3070 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3071
3072 PR libgcc/77519
3073 * libgcc2.c (NOTRUNC): Invert settings.
3074
3075 2016-09-06 Martin Liska <mliska@suse.cz>
3076
3077 PR gcov-profile/77378
3078 PR gcov-profile/77466
3079 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3080 conditionaly enable/disable *_atomic functions.
3081
3082 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3083
3084 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3085 where not already enabled.
3086
3087 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3088
3089 * config/mips/linux-unwind.h: Use sys/syscall.h.
3090
3091 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3092
3093 PR libgcc/77265
3094 * soft-fp/adddf3.c: Update from glibc.
3095 * soft-fp/addsf3.c: Likewise.
3096 * soft-fp/addtf3.c: Likewise.
3097 * soft-fp/divdf3.c: Likewise.
3098 * soft-fp/divsf3.c: Likewise.
3099 * soft-fp/divtf3.c: Likewise.
3100 * soft-fp/double.h: Likewise.
3101 * soft-fp/eqdf2.c: Likewise.
3102 * soft-fp/eqsf2.c: Likewise.
3103 * soft-fp/eqtf2.c: Likewise.
3104 * soft-fp/extenddftf2.c: Likewise.
3105 * soft-fp/extended.h: Likewise.
3106 * soft-fp/extendsfdf2.c: Likewise.
3107 * soft-fp/extendsftf2.c: Likewise.
3108 * soft-fp/extendxftf2.c: Likewise.
3109 * soft-fp/fixdfdi.c: Likewise.
3110 * soft-fp/fixdfsi.c: Likewise.
3111 * soft-fp/fixdfti.c: Likewise.
3112 * soft-fp/fixsfdi.c: Likewise.
3113 * soft-fp/fixsfsi.c: Likewise.
3114 * soft-fp/fixsfti.c: Likewise.
3115 * soft-fp/fixtfdi.c: Likewise.
3116 * soft-fp/fixtfsi.c: Likewise.
3117 * soft-fp/fixtfti.c: Likewise.
3118 * soft-fp/fixunsdfdi.c: Likewise.
3119 * soft-fp/fixunsdfsi.c: Likewise.
3120 * soft-fp/fixunsdfti.c: Likewise.
3121 * soft-fp/fixunssfdi.c: Likewise.
3122 * soft-fp/fixunssfsi.c: Likewise.
3123 * soft-fp/fixunssfti.c: Likewise.
3124 * soft-fp/fixunstfdi.c: Likewise.
3125 * soft-fp/fixunstfsi.c: Likewise.
3126 * soft-fp/fixunstfti.c: Likewise.
3127 * soft-fp/floatdidf.c: Likewise.
3128 * soft-fp/floatdisf.c: Likewise.
3129 * soft-fp/floatditf.c: Likewise.
3130 * soft-fp/floatsidf.c: Likewise.
3131 * soft-fp/floatsisf.c: Likewise.
3132 * soft-fp/floatsitf.c: Likewise.
3133 * soft-fp/floattidf.c: Likewise.
3134 * soft-fp/floattisf.c: Likewise.
3135 * soft-fp/floattitf.c: Likewise.
3136 * soft-fp/floatundidf.c: Likewise.
3137 * soft-fp/floatundisf.c: Likewise.
3138 * soft-fp/floatunditf.c: Likewise.
3139 * soft-fp/floatunsidf.c: Likewise.
3140 * soft-fp/floatunsisf.c: Likewise.
3141 * soft-fp/floatunsitf.c: Likewise.
3142 * soft-fp/floatuntidf.c: Likewise.
3143 * soft-fp/floatuntisf.c: Likewise.
3144 * soft-fp/floatuntitf.c: Likewise.
3145 * soft-fp/gedf2.c: Likewise.
3146 * soft-fp/gesf2.c: Likewise.
3147 * soft-fp/getf2.c: Likewise.
3148 * soft-fp/ledf2.c: Likewise.
3149 * soft-fp/lesf2.c: Likewise.
3150 * soft-fp/letf2.c: Likewise.
3151 * soft-fp/muldf3.c: Likewise.
3152 * soft-fp/mulsf3.c: Likewise.
3153 * soft-fp/multf3.c: Likewise.
3154 * soft-fp/negdf2.c: Likewise.
3155 * soft-fp/negsf2.c: Likewise.
3156 * soft-fp/negtf2.c: Likewise.
3157 * soft-fp/op-1.h: Likewise.
3158 * soft-fp/op-2.h: Likewise.
3159 * soft-fp/op-4.h: Likewise.
3160 * soft-fp/op-8.h: Likewise.
3161 * soft-fp/op-common.h: Likewise.
3162 * soft-fp/quad.h: Likewise.
3163 * soft-fp/single.h: Likewise.
3164 * soft-fp/soft-fp.h: Likewise.
3165 * soft-fp/subdf3.c: Likewise.
3166 * soft-fp/subsf3.c: Likewise.
3167 * soft-fp/subtf3.c: Likewise.
3168 * soft-fp/truncdfsf2.c: Likewise.
3169 * soft-fp/trunctfdf2.c: Likewise.
3170 * soft-fp/trunctfsf2.c: Likewise.
3171 * soft-fp/trunctfxf2.c: Likewise.
3172 * soft-fp/unorddf2.c: Likewise.
3173 * soft-fp/unordsf2.c: Likewise.
3174 * soft-fp/unordtf2.c: Likewise.
3175
3176 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3177
3178 PR gcov-profile/67097
3179 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3180
3181 2016-08-10 Martin Liska <mliska@suse.cz>
3182
3183 PR gcov-profile/58306
3184 * Makefile.in: New functions (modules) are added.
3185 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3186 function.
3187 (__gcov_pow2_profiler_atomic): New function.
3188 (__gcov_one_value_profiler_body): New argument is instroduced.
3189 (__gcov_one_value_profiler): Call with the new argument.
3190 (__gcov_one_value_profiler_atomic): Likewise.
3191 (__gcov_indirect_call_profiler_v2): Likewise.
3192 (__gcov_time_profiler_atomic): New function.
3193 (__gcov_average_profiler_atomic): Likewise.
3194 (__gcov_ior_profiler_atomic): Likewise.
3195 * libgcov.h: Declare the aforementioned functions.
3196
3197 2016-08-09 Martin Liska <mliska@suse.cz>
3198
3199 * libgcov-util.c: Fix typo and GNU coding style.
3200
3201 2016-08-09 Martin Liska <mliska@suse.cz>
3202
3203 * Makefile.in: Remove __gcov_indirect_call_profiler.
3204 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3205 function.
3206 * libgcov.h: And the declaration of the function.
3207
3208 2016-08-09 Martin Liska <mliska@suse.cz>
3209
3210 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3211 power of two.
3212
3213 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3214
3215 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3216 * config/rs6000/_mulkc3.c: Likewise.
3217
3218 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3219
3220 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3221 zero_reg as previous call to __umulhisi3 already cleared it.
3222
3223 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3224
3225 PR target/59833
3226 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3227
3228 2016-07-19 Nick Clifton <nickc@redhat.com>
3229
3230 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3231 Add crtinit.o and crtfini.o to extra_parts.
3232
3233 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3234
3235 * config/rs6000/_divkc3.c: New.
3236 * config/rs6000/_mulkc3.c: New.
3237 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3238 and _divkc3.
3239 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3240 fp128_ppc_funcs.
3241
3242 2016-07-11 Hale Wang <hale.wang@arm.com>
3243 Andre Vieira <andre.simoesdiasvieira@arm.com>
3244
3245 * config/arm/lib1funcs.S: Add new wrapper.
3246
3247 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3248
3249 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3250
3251 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3252
3253 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3254 and ARMv5t* rather than for a fixed list of architectures.
3255
3256 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3257
3258 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3259 implementation suitable for.
3260 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3261 for all Thumb-1 only targets.
3262 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3263 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3264 __ARM_ARCH_6M__.
3265 (EQUIV): Likewise.
3266 (ARM_FUNC_ALIAS): Likewise.
3267 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3268 version.
3269 (modsi3): Likewise.
3270 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3271 (clzdi2): Likewise.
3272 (ctzsi2): Likewise.
3273 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3274 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3275 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3276 __ARM_ARCH_6M__ and add comment to indicate the connection between
3277 this condition and the one in gcc/config/arm/elf.h.
3278 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3279 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3280 * config/arm/t-softfp: Likewise.
3281
3282 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3283
3284 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3285 CTOR_LISTS_DEFINED_EXTERNALLY.
3286
3287 2016-06-28 Walter Lee <walt@tilera.com>
3288
3289 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3290 asm/unistd.h.
3291 (SPR_CMPEXCH_VALUE): Define for tilegx.
3292 (__NR_FAST_cmpxchg): Define for tilepro.
3293 (__NR_FAST_atomic_update): Define for tilepro.
3294 (__NR_FAST_cmpxchg64): Define for tilepro.
3295
3296 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3297
3298 * config.host: Add suport for arm*-*-phoenix* targets.
3299
3300 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3301
3302 * config.host: Remove support for mep-*.
3303 * config/mep/lib1funcs.S: Remove.
3304 * config/mep/lib2funcs.c: Remove.
3305 * config/mep/t-mep: Remove.
3306 * config/mep/tramp.c: Remove.
3307
3308 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3309
3310 * config.host: Remove support for avr-rtems.
3311 * config/avr/t-rtems: Remove.
3312
3313 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3314
3315 * config.host: Remove m32r-rtems support.
3316
3317 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3318
3319 * config.host: Remove h8300-rtems support.
3320
3321 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3322
3323 * config.host: Remove support for knetbsd.
3324
3325 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3326
3327 * config.host: Remove support for openbsd 2 and 3.
3328
3329 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3330
3331 * config.host: Remove interix support.
3332 * config/i386/t-interix: Remove.
3333
3334 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3335
3336 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3337 least-significant bit in function pointer for fixup.
3338
3339 2016-06-05 Aaron Conole <aconole@redhat.com>
3340 Nathan Sidwell <nathan@acm.org>
3341
3342 PR libgcc/71400
3343 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3344 (get_gcov_error_file): Check __gcov_error_file before trying to
3345 initialize it.
3346 (gcov_error): Always use get_gcov_error_file.
3347
3348 2016-06-02 Aaron Conole <aconole@redhat.com>
3349
3350 * libgcov-driver-system.c (__gcov_error_file): New.
3351 (get_gcov_error_file): New.
3352 (gcov_error): Use and set __gcov_error_file.
3353 (gcov_error_exit): New.
3354 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3355
3356 2016-05-26 Nathan Sidwell <nathan@acm.org>
3357
3358 * config/nvptx/free.asm: Delete.
3359 * config/nvptx/malloc.asm: Delete.
3360 * config/nvptx/realloc.c: Delete.
3361 * t-nvptx: Update.
3362
3363 2016-05-25 Nathan Sidwell <nathan@acm.org>
3364
3365 * config/nvptx/crt0.s: Delete.
3366 * config/nvptx/crt0.c: New.
3367 * t-nvptx: Update.
3368
3369 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3370
3371 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3372 dw2/seh configuration.
3373 [x86_64-*-mingw*]: Likewise.
3374
3375 2016-05-10 Joel Sherrill <joel@rtems.org>
3376
3377 PR libgcc/70720
3378 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3379 targets so the same extra_parts are built. Also have tmake_file add
3380 on to its value rather than override.
3381
3382 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3383
3384 * config.host: Remove SH5 support.
3385 * configure: Likewise.
3386
3387 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3388
3389 * config/sh/crt1.S: Remove SH5 support.
3390 * config/sh/crti.S: Likewise.
3391 * config/sh/crtn.S: Likewise.
3392 * config/sh/lib1funcs-4-300.S: Likewise.
3393 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3394 * config/sh/lib1funcs.S: Likewise.
3395 * config/sh/linux-unwind.h: Likewise.
3396 * config/sh/t-sh64: Delete.
3397
3398 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3399
3400 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3401
3402 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3403 Joern Rennecke <joern.rennecke@embecosm.com>
3404
3405 * config/arc/crttls.S: New file.
3406 * config/arc/t-arc: New rule.
3407 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3408
3409 2016-04-25 Nick Clifton <nickc@redhat.com>
3410
3411 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3412 (__mspabi_cmpd): Likewise.
3413 * config/msp430/floathidf.c (__floathidf): Likewise.
3414 * config/msp430/floathisf.c (__floathisf): Likewise
3415 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3416 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3417 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3418 second parameter.
3419 (__ashrsi3): Likewise.
3420
3421 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3422
3423 * config/m68k/linux-atomic.c: Do not include unistd.h
3424
3425 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3426
3427 * config/arm/ieee754-df.S: Fix typos in comments.
3428
3429 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3430
3431 PR target/70381
3432 * configure.ac (powerpc*-*-linux*): Rework tests to build
3433 __float128 emulation routines to not depend on using #pragma GCC
3434 target to enable -mfloat128.
3435 * configure: Regnerate.
3436
3437 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3438
3439 PR target/67172
3440 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3441 __MINGW32__ is defined.
3442
3443 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3444
3445 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3446
3447 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3448
3449 PR libgcc/70363
3450 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3451 built with an assembler that does not support ISA 3.0
3452 instructions, rename __extendkftf2_sw to __extendkftf2.
3453
3454 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3455
3456 PR target/38239
3457 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3458 call-clobbered registers.
3459 (internal_mcount): Remove __i386__ handling.
3460
3461 2016-02-26 Joel Sherrill <joel@rtems.org>
3462
3463 * config.host: Add x86_64-*-rtems*.
3464
3465 2016-02-26 Joel Sherrill <joel@rtems.org>
3466
3467 * libgcc/config.host: Add aarch64-*-rtems*.
3468
3469 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3470 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3471
3472 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3473 union of u64 and double.
3474 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3475 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3476 value.
3477 (FP_ROUNDMODE): Update the usage of _fpscr.
3478
3479 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3480
3481 PR driver/68463
3482 * Makefile.in (crtoffloadtable$(objext)): New rule.
3483 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3484 enable_offload_targets is not empty.
3485 * configure: Regenerate.
3486 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3487 crtoffloadtable.
3488
3489 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3490
3491 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3492 .literal_position before the function.
3493 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3494 Likewise.
3495
3496 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3497
3498 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3499 * config/s390/morestack.S: New file.
3500 * config/s390/t-stack-s390: New file.
3501 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3502
3503 2016-02-12 Walter Lee <walt@tilera.com>
3504
3505 * config.host (tilegx*-*-linux*): remove ti from
3506 softfp_int_modes for 32-bit configs.
3507
3508 2016-02-10 Ian Lance Taylor <iant@google.com>
3509
3510 PR go/68562
3511 * config/i386/morestack.S (__stack_split_initialize): Align
3512 stack.
3513
3514 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3515
3516 PR bootstrap/69611
3517 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3518 __FLOAT128__ to compile only for __float128 capable targets.
3519
3520 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3521
3522 PR target/69444
3523 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3524 instead of ___NO_FPRS__.
3525
3526 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3527 Steven Munroe <munroesj@linux.vnet.ibm.com>
3528 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3529
3530 * config/rs6000/float128-sed: New files to convert TF names to KF
3531 names for PowerPC IEEE 128-bit floating point support.
3532 * config/rs6000/float128-sed-hw: Likewise.
3533
3534 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3535 floating point hardware support.
3536
3537 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3538 128-bit floating point software emulation or use ISA 3.0 hardware
3539 support if it is available.
3540
3541 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3542 floating point.
3543
3544 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3545 floating point to IBM extended double.
3546
3547 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3548 double to IEEE 128-bit floating point.
3549
3550 * config/rs6000/t-float128: New Makefile fragments to enable
3551 building __float128 emulation support.
3552 * config/rs6000/t-float128-hw: Likewise.
3553
3554 * config/rs6000/sfp-exceptions.c: New file to provide exception
3555 support for IEEE 128-bit floating point.
3556
3557 * config/rs6000/floattikf.c: New files for converting between IEEE
3558 128-bit floating point and signed/unsigned 128-bit integers.
3559 * config/rs6000/fixunskfti.c: Likewise.
3560 * config/rs6000/fixkfti.c: Likewise.
3561 * config/rs6000/floatuntikf.c: Likewise.
3562
3563 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3564 when building on 64-bit systems, or when VSX is enabled.
3565 (_FP_W_TYPE): Likewise.
3566 (_FP_WS_TYPE): Likewise.
3567 (_FP_I_TYPE): Likewise.
3568 (TItype): Define on 64-bit systems.
3569 (UTItype): Likewise.
3570 (TI_BITS): Likewise.
3571 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3572 (_FP_MUL_MEAT_Q): Likewise.
3573 (_FP_DIV_MEAT_D): Likewise.
3574 (_FP_DIV_MEAT_Q): Likewise.
3575 (_FP_NANFRAC_D): Likewise.
3576 (_FP_NANFRAC_Q): Likewise.
3577 (ISA_BIT): Add exception support if we are being compiled on a
3578 machine with hardware floating point support to build the IEEE
3579 128-bit emulation functions.
3580 (FP_EX_INVALID): Likewise.
3581 (FP_EX_OVERFLOW): Likewise.
3582 (FP_EX_UNDERFLOW): Likewise.
3583 (FP_EX_DIVZERO): Likewise.
3584 (FP_EX_INEXACT): Likewise.
3585 (FP_EX_ALL): Likewise.
3586 (__sfp_handle_exceptions): Likewise.
3587 (FP_HANDLE_EXCEPTIONS): Likewise.
3588 (FP_RND_NEAREST): Likewise.
3589 (FP_RND_ZERO): Likewise.
3590 (FP_RND_PINF): Likewise.
3591 (FP_RND_MINF): Likewise.
3592 (FP_RND_MASK): Likewise.
3593 (_FP_DECL_EX): Likewise.
3594 (FP_INIT_ROUNDMODE): Likewise.
3595 (FP_ROUNDMODE): Likewise.
3596
3597 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3598 VSX code, enable IEEE 128-bit floating point. If the compiler can
3599 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3600 floating point hardware instructions and it supports declaring
3601 functions with the ifunc attribute, enable ifunc functions to
3602 switch between software and hardware support.
3603 * configure.ac (powerpc*-*-linux*): Likewise.
3604 * configure: Regenerate.
3605
3606 2016-01-15 Nick Clifton <nickc@redhat.com>
3607
3608 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3609 dependency as the source file to be compiled.
3610 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3611 (lib2hw_mul_f5.o): Likewise.
3612
3613 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3614
3615 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3616 * libgcc/config/rs6000/fixkfti.c: Likewise.
3617 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3618 * libgcc/config/rs6000/float128-hw.c: Likewise.
3619 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3620 * libgcc/config/rs6000/float128-sed: Likewise.
3621 * libgcc/config/rs6000/floattikf.c: Likewise.
3622 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3623 * libgcc/config/rs6000/quad-float128.h: Likewise.
3624 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3625 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3626 * libgcc/config/rs6000/t-float128: Likewise.
3627 * libgcc/config/rs6000/t-float128-hw: Likewise.
3628 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3629 * libgcc/config.host: Likewise.
3630 * libgcc/configure: Likewise.
3631 * libgcc/configure.ac: Likewise.
3632
3633 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3634 Steven Munroe <munroesj@linux.vnet.ibm.com>
3635 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3636
3637 * config/rs6000/sfp-exceptions.c: New file to provide exception
3638 support for IEEE 128-bit floating point.
3639
3640 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3641 floating point hardware support.
3642
3643 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3644 point conversions.
3645 * config/rs6000/fixunskfti.c: Likewise.
3646 * config/rs6000/fixkfti.c: Likewise.
3647 * config/rs6000/floatuntikf.c: Likewise.
3648 * config/rs6000/extendkftf2-sw.c: Likewise.
3649 * config/rs6000/trunctfkf2-sw.c: Likewise.
3650
3651 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3652 128-bit floating point software emulation or use ISA 3.0 hardware
3653 support if it is available.
3654
3655 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3656 floating point.
3657
3658 * config/rs6000/t-float128: New Makefile fragments to enable
3659 building __float128 emulation support.
3660 * config/rs6000/t-float128-hw: Likewise.
3661
3662 * config/rs6000/float128-sed: New file to convert TF names to KF
3663 names for PowerPC IEEE 128-bit floating point support.
3664
3665 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3666 when building on 64-bit systems, or when VSX is enabled.
3667 (_FP_W_TYPE): Likewise.
3668 (_FP_WS_TYPE): Likewise.
3669 (_FP_I_TYPE): Likewise.
3670 (TItype): Define on 64-bit systems.
3671 (UTItype): Likewise.
3672 (TI_BITS): Likewise.
3673 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3674 (_FP_MUL_MEAT_Q): Likewise.
3675 (_FP_DIV_MEAT_D): Likewise.
3676 (_FP_DIV_MEAT_Q): Likewise.
3677 (_FP_NANFRAC_D): Likewise.
3678 (_FP_NANFRAC_Q): Likewise.
3679 (ISA_BIT): Add exception support if we are being compiled on a
3680 machine with hardware floating point support to build the IEEE
3681 128-bit emulation functions.
3682 (FP_EX_INVALID): Likewise.
3683 (FP_EX_OVERFLOW): Likewise.
3684 (FP_EX_UNDERFLOW): Likewise.
3685 (FP_EX_DIVZERO): Likewise.
3686 (FP_EX_INEXACT): Likewise.
3687 (FP_EX_ALL): Likewise.
3688 (__sfp_handle_exceptions): Likewise.
3689 (FP_HANDLE_EXCEPTIONS): Likewise.
3690 (FP_RND_NEAREST): Likewise.
3691 (FP_RND_ZERO): Likewise.
3692 (FP_RND_PINF): Likewise.
3693 (FP_RND_MINF): Likewise.
3694 (FP_RND_MASK): Likewise.
3695 (_FP_DECL_EX): Likewise.
3696 (FP_INIT_ROUNDMODE): Likewise.
3697 (FP_ROUNDMODE): Likewise.
3698
3699 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3700 compiler can do __float128.
3701 * configure: Regenerate.
3702
3703 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3704 VSX code, enable IEEE 128-bit floating point.
3705
3706 2016-01-05 Olivier Hainque <hainque@adacore.com>
3707
3708 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3709 specificities.
3710
3711 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3712
3713 Update copyright years.
3714
3715 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3716
3717 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3718 soft-fp targets.
3719
3720 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3721
3722 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3723 instead of abort to avoid dependency on stdlib.h.
3724
3725 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3726
3727 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3728 to initialize call to __dl_fixup once.
3729
3730 2015-12-04 Nick Clifton <nickc@redhat.com>
3731
3732 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3733 Allow for the second argument being negative.
3734 * config.host (extra_parts): Define for MSP430. Create separate
3735 libraries for each of the hardware multiply formats.
3736 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3737 that are needed.
3738 * config/msp430/lib2mul.c: Likewise.
3739 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3740 Add rules to build hardware multiply libraries.
3741 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3742 __mspabi_divul function.
3743 (__mspabi_divllu): New stub function.
3744
3745 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3746
3747 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3748 fixup values if saved GOT address doesn't match runtime address.
3749 (fixup_branch_offset): Reorder list.
3750
3751 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3752
3753 * Makefile.in (VTV_CFLAGS): New variable.
3754 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3755 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3756 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3757 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3758 to extra_parts if $enable_vtable_verify = yes.
3759
3760 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3761
3762 PR target/68059
3763 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3764 (write): ...this and fix the return type.
3765
3766 2015-11-19 DJ Delorie <dj@redhat.com>
3767
3768 * config/msp430/lib2hw_mul.S: Fix alignment.
3769
3770 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3771
3772 * config/nvptx/reduction.c: New.
3773 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3774
3775 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3776
3777 * config/rs6000/on_exit.c: New file.
3778 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3779 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3780
3781 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3782
3783 * config/arc/dp-hack.h: Add support for ARCHS.
3784 * config/arc/ieee-754/divdf3.S: Likewise.
3785 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3786 * config/arc/ieee-754/muldf3.S: Likewise.
3787 * config/arc/ieee-754/mulsf3.S: Likewise
3788 * config/arc/lib1funcs.S: Likewise
3789 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3790 for ARCv2 cores.
3791 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3792 for ARCv2 cores.
3793 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3794 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3795 cores.
3796
3797 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3798
3799 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3800 value.
3801 * config/ia64/crtend.S: Likewise.
3802
3803 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3804
3805 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3806 __CHAR_BIT__ instead of BITS_PER_UNIT.
3807 * fixed-bit.h: Likewise.
3808 * fp-bit.h: Likewise.
3809 * libgcc2.c (__popcountSI2): Likewise.
3810 (__popcountDI2): Likewise.
3811 * libgcc2.h: Likewise.
3812 * libgcov.h: Likewise.
3813
3814 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3815
3816 * config/rs6000/atexit.c: New file.
3817 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3818 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3819 * config/rs6000/cxa_finalize.c
3820 (catomic_compare_and_exchange_bool_acq): Negate return value.
3821
3822 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3823
3824 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3825 (processor_subtypes): Add znver1.
3826 (get_amd_cpu): Detect znver1.
3827
3828 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3829
3830 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3831 Include crtfastmath.o.
3832
3833 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3834
3835 PR libgcc/66883
3836 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3837
3838 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3839
3840 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3841 * config/rl78/divmodsi.S: Update return register to r8.
3842 * config/rl78/divmodhi.S: Update return register to r8,r9.
3843 Branch to main_loop_done_himode to pop registers before return.
3844
3845 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3846
3847 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3848 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3849
3850 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3851
3852 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3853
3854 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3855
3856 * config.host (xtensa*-*-uclinux*): New configuration.
3857
3858 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3859
3860 * config/i386/cpuinfo.c (processor_features): Add
3861 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3862
3863 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3864
3865 * soft-fp/adddf3.c: Update from glibc.
3866 * soft-fp/addsf3.c: Likewise.
3867 * soft-fp/addtf3.c: Likewise.
3868 * soft-fp/divdf3.c: Likewise.
3869 * soft-fp/divsf3.c: Likewise.
3870 * soft-fp/divtf3.c: Likewise.
3871 * soft-fp/double.h: Likewise.
3872 * soft-fp/eqdf2.c: Likewise.
3873 * soft-fp/eqsf2.c: Likewise.
3874 * soft-fp/eqtf2.c: Likewise.
3875 * soft-fp/extenddftf2.c: Likewise.
3876 * soft-fp/extended.h: Likewise.
3877 * soft-fp/extendsfdf2.c: Likewise.
3878 * soft-fp/extendsftf2.c: Likewise.
3879 * soft-fp/extendxftf2.c: Likewise.
3880 * soft-fp/fixdfdi.c: Likewise.
3881 * soft-fp/fixdfsi.c: Likewise.
3882 * soft-fp/fixdfti.c: Likewise.
3883 * soft-fp/fixsfdi.c: Likewise.
3884 * soft-fp/fixsfsi.c: Likewise.
3885 * soft-fp/fixsfti.c: Likewise.
3886 * soft-fp/fixtfdi.c: Likewise.
3887 * soft-fp/fixtfsi.c: Likewise.
3888 * soft-fp/fixtfti.c: Likewise.
3889 * soft-fp/fixunsdfdi.c: Likewise.
3890 * soft-fp/fixunsdfsi.c: Likewise.
3891 * soft-fp/fixunsdfti.c: Likewise.
3892 * soft-fp/fixunssfdi.c: Likewise.
3893 * soft-fp/fixunssfsi.c: Likewise.
3894 * soft-fp/fixunssfti.c: Likewise.
3895 * soft-fp/fixunstfdi.c: Likewise.
3896 * soft-fp/fixunstfsi.c: Likewise.
3897 * soft-fp/fixunstfti.c: Likewise.
3898 * soft-fp/floatdidf.c: Likewise.
3899 * soft-fp/floatdisf.c: Likewise.
3900 * soft-fp/floatditf.c: Likewise.
3901 * soft-fp/floatsidf.c: Likewise.
3902 * soft-fp/floatsisf.c: Likewise.
3903 * soft-fp/floatsitf.c: Likewise.
3904 * soft-fp/floattidf.c: Likewise.
3905 * soft-fp/floattisf.c: Likewise.
3906 * soft-fp/floattitf.c: Likewise.
3907 * soft-fp/floatundidf.c: Likewise.
3908 * soft-fp/floatundisf.c: Likewise.
3909 * soft-fp/floatunditf.c: Likewise.
3910 * soft-fp/floatunsidf.c: Likewise.
3911 * soft-fp/floatunsisf.c: Likewise.
3912 * soft-fp/floatunsitf.c: Likewise.
3913 * soft-fp/floatuntidf.c: Likewise.
3914 * soft-fp/floatuntisf.c: Likewise.
3915 * soft-fp/floatuntitf.c: Likewise.
3916 * soft-fp/gedf2.c: Likewise.
3917 * soft-fp/gesf2.c: Likewise.
3918 * soft-fp/getf2.c: Likewise.
3919 * soft-fp/ledf2.c: Likewise.
3920 * soft-fp/lesf2.c: Likewise.
3921 * soft-fp/letf2.c: Likewise.
3922 * soft-fp/muldf3.c: Likewise.
3923 * soft-fp/mulsf3.c: Likewise.
3924 * soft-fp/multf3.c: Likewise.
3925 * soft-fp/negdf2.c: Likewise.
3926 * soft-fp/negsf2.c: Likewise.
3927 * soft-fp/negtf2.c: Likewise.
3928 * soft-fp/op-1.h: Likewise.
3929 * soft-fp/op-2.h: Likewise.
3930 * soft-fp/op-4.h: Likewise.
3931 * soft-fp/op-8.h: Likewise.
3932 * soft-fp/op-common.h: Likewise.
3933 * soft-fp/quad.h: Likewise.
3934 * soft-fp/single.h: Likewise.
3935 * soft-fp/soft-fp.h: Likewise.
3936 * soft-fp/subdf3.c: Likewise.
3937 * soft-fp/subsf3.c: Likewise.
3938 * soft-fp/subtf3.c: Likewise.
3939 * soft-fp/truncdfsf2.c: Likewise.
3940 * soft-fp/trunctfdf2.c: Likewise.
3941 * soft-fp/trunctfsf2.c: Likewise.
3942 * soft-fp/trunctfxf2.c: Likewise.
3943 * soft-fp/unorddf2.c: Likewise.
3944 * soft-fp/unordsf2.c: Likewise.
3945 * soft-fp/unordtf2.c: Likewise.
3946
3947 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3948
3949 PR libgcc/67624
3950 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3951
3952 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3953
3954 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3955 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3956 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3957 messages.
3958 (internal_mcount): Likewise.
3959 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3960 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3961
3962 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3963
3964 * configure.ac (libgcc_cv_solaris_crts): New test.
3965 * configure: Regenerate.
3966 * config.in: Regenerate.
3967 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3968 * config/gmon-sol2.c: Rename to ...
3969 * config/sol2/gmon.c: ... this.
3970 Include auto-target.h.
3971 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3972 * config/t-sol2: Rename to ...
3973 * config/sol2/t-sol2: ... this.
3974 (gmon.o): Reflect renaming.
3975 (crtp.o, crtpg.o): New rules.
3976 * config.host (*-*-solaris2*): Reflect renaming.
3977 Use system CRTs if present.
3978 Remove default CRT case.
3979
3980 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3981
3982 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3983 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3984 __kernel_cmpxchg2.
3985 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3986 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3987 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3988 (__sync_lock_test_and_set_##WIDTH): Likewise.
3989 (__sync_lock_release_##WIDTH): Likewise.
3990 (__sync_fetch_and_##OP##_4): Change result to match type of
3991 __kernel_cmpxchg.
3992 (__sync_##OP##_and_fetch_4): Likewise.
3993 (__sync_val_compare_and_swap_4): Likewise.
3994 (__sync_bool_compare_and_swap_4): likewise.
3995 (__sync_lock_test_and_set_4): Likewise.
3996 (__sync_lock_release_4): Likewise.
3997 (FETCH_AND_OP_2): Add long long variants.
3998 (OP_AND_FETCH_2): Likewise.
3999 (COMPARE_AND_SWAP_2 ): Likewise.
4000 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4001 (SYNC_LOCK_RELEASE_2): Likewise.
4002 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4003
4004 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4005
4006 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4007 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4008 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4009 (get_available_features): Habdle new features.
4010
4011 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4012
4013 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4014 memory layout. Deal correctly with BSS region larger than 32K.
4015 Handle a watchdog reset like a power-on reset. Clean up unused
4016 code.
4017
4018 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4019 David Edelsohn <dje.gcc@gmail.com>
4020
4021 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4022 * config/rs6000/crtdbase.S: New file.
4023 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4024
4025 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4026
4027 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4028 Add support for call0 ABI.
4029
4030 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4031
4032 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4033
4034 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4035
4036 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4037 (__GTHREAD_HAS_COND): Likewise.
4038 (__gthread_t): Likewise.
4039 (__gthread_cond_t): Likewise.
4040 (__gthread_time_t): Likewise.
4041 (__GTHREAD_MUTEX_INIT): Likewise.
4042 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4043 (__GTHREAD_COND_INIT): Likewise.
4044 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4045 (__GTHREAD_TIME_INIT): Likewise.
4046 (__gthread_create): Likewise.
4047 (__gthread_join): Likewise.
4048 (__gthread_detach): Likewise.
4049 (__gthread_equal): Likewise.
4050 (__gthread_self): Likewise.
4051 (__gthread_yield): Likewise.
4052 (__gthread_cond_broadcast): Likewise.
4053 (__gthread_cond_signal): Likewise.
4054 (__gthread_cond_wait): Likewise.
4055 (__gthread_cond_timedwait): Likewise.
4056 (__gthread_cond_wait_recursive): Likewise.
4057 (__gthread_cond_destroy): Likewise.
4058 (rtems_gxx_once): Delete.
4059 (rtems_gxx_key_create): Likewise.
4060 (rtems_gxx_key_delete): Likewise.
4061 (rtems_gxx_getspecific): Likewise.
4062 (rtems_gxx_setspecific): Likewise.
4063 (rtems_gxx_mutex_init): Likewise.
4064 (rtems_gxx_mutex_destroy): Likewise.
4065 (rtems_gxx_mutex_lock): Likewise.
4066 (rtems_gxx_mutex_trylock): Likewise.
4067 (rtems_gxx_mutex_unlock): Likewise.
4068 (rtems_gxx_recursive_mutex_init): Likewise.
4069 (rtems_gxx_recursive_mutex_lock): Likewise.
4070 (rtems_gxx_recursive_mutex_trylock): Likewise.
4071 (rtems_gxx_recursive_mutex_unlock): Likewise.
4072 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4073 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4074 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4075 (__gthread_once): Likewise.
4076 (__gthread_key_create): Likewise.
4077 (__gthread_key_delete): Likewise.
4078 (__gthread_getspecific): Likewise.
4079 (__gthread_setspecific): Likewise.
4080 (__gthread_key_t): Use <pthread.h> type.
4081 (__gthread_once_t): Likewise
4082 (__gthread_mutex_t): Use <sys/lock.h> type.
4083 (__gthread_recursive_mutex_t): Likewise
4084 (__gthread_mutex_lock): Use <sys/lock.h> function.
4085 (__gthread_mutex_trylock): Likewise.
4086 (__gthread_mutex_timedlock): Likewise.
4087 (__gthread_mutex_unlock): Likewise.
4088 (__gthread_mutex_destroy): Likewise.
4089 (__gthread_recursive_mutex_lock): Likewise.
4090 (__gthread_recursive_mutex_trylock): Likewise.
4091 (__gthread_recursive_mutex_timedlock): Likewise.
4092 (__gthread_recursive_mutex_unlock): Likewise.
4093 (__gthread_recursive_mutex_destroy): Likewise.
4094
4095 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4096
4097 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4098 context->sp instead of context->cfa.
4099
4100 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4101
4102 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4103 with unwind-dw2-fde-dip.
4104
4105 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4106
4107 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4108 CALL12 followed by series of ENTRY to spill windowed registers.
4109 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4110 instead of making linux spill syscall.
4111
4112 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4113
4114 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4115 (get_intel_cpu): Likewise.
4116
4117 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4118
4119 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4120 (get_intel_cpu): Add Knights Landing support.
4121
4122 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4123
4124 PR target/66954
4125 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4126 (get_available_features): Handle FEATURE_PCLMUL.
4127
4128 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4129
4130 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4131 Broadwell.
4132
4133 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4134
4135 PR target/66954
4136 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4137 (get_available_features): Handle FEATURE_AES.
4138
4139 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4140
4141 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4142 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4143
4144 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4145
4146 * offloadstuff.c: Constify host data.
4147
4148 2015-07-17 Jan Beulich <jbeulich@suse.com>
4149
4150 * config/t-softfp: Split up "else ifneq".
4151
4152 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4153 Cesar Philippidis <cesar@codesourcery.com>
4154 Chung-Lin Tang <cltang@codesourcery.com>
4155
4156 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4157 for __nios2_arch__ level.
4158
4159 2015-07-13 John Marino <gnugcc@marino.st>
4160
4161 * config/i386/t-dragonfly: New.
4162
4163 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4164
4165 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4166 better match light-weight syscall argument order.
4167 (__kernel_cmpxchg2): Likewise.
4168 Adjust callers.
4169
4170 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4171
4172 * config.host: Support i[34567]86-*-elfiamcu target.
4173 * config/t-softfp-sfdftf: New file.
4174 * config/i386/32/t-iamcu: Likewise.
4175 * configure: Regenerated.
4176
4177 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4178
4179 libgcc/config/arm/
4180 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4181
4182 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4183
4184 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4185
4186 2015-05-27 John Marino <gnugcc@marino.st>
4187
4188 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4189 md_unwind_header
4190 * config/i386/freebsd-unwind.h: New.
4191
4192 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4193
4194 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4195 i386/t-crtfm to tmake_file.
4196 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4197 (set_fast_math): Use set_fast_math_sse for SSE targets.
4198 * config/i386/t-crtfm: Remove.
4199
4200 2015-05-21 Alan Modra <amodra@gmail.com>
4201
4202 PR libgcc/66225
4203 * config/rs6000/morestack.S: Remove ".abiversion 1".
4204
4205 2015-05-20 Alan Modra <amodra@gmail.com>
4206
4207 * config/rs6000/morestack.S: New.
4208 * config/rs6000/t-stack-rs6000: New.
4209 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4210 to tmake_file.
4211 * generic-morestack.c: Don't build for powerpc 32-bit.
4212
4213 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4214
4215 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4216 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4217
4218 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4219
4220 * config.host: FT32 target added.
4221 * config/ft32/*: New files for FT32 target.
4222
4223 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4224
4225 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4226 New macros.
4227 * config/arm/ieee754-df.S: Add CFI directives.
4228 * config/arm/ieee754-sf.S: Add CFI directives.
4229
4230 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4231
4232 * configure.ac: Include config/sjlj.m4.
4233 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4234 * config.in: Regenerate.
4235 * configure: Likewise.
4236 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4237
4238 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4239
4240 * libgcov-util.c: Add space between string literal and macro name.
4241
4242 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4243 Chris Jones <chrisj@nvidia.com>
4244 Joshua Conner <jconner@nvidia.com>
4245
4246 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4247 (arm*-*-uclinux*): Likewise.
4248 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4249 * config/arm/crtfastmath.c: New file.
4250
4251 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4252
4253 * Makefile.in (real_host_noncanonical): New variable.
4254 (libsubdir): Use it.
4255 * configure.ac (real_host_noncanonical): Compute. Remove special
4256 case for intelmicemul.
4257 * configure: Regenerate.
4258
4259 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4260
4261 * config/frv/elf-lib.h: New file.
4262 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4263 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4264 to tm_file.
4265
4266 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4267
4268 * config/frv/frvbengin.c: Do not include defaults.h
4269 * config/frv/frvend.c: Ditto.
4270
4271 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4272
4273 * config.host: Add h8300-*-linux
4274 * config/h8300/t-linux: New file.
4275 * config/h8300/lib1funs.s: Change symbol prefix.
4276 * config/h8300/sfp-machine.h: 64bit double support.
4277
4278 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4279 Szabolcs Nagy <szabolcs.nagy@arm.com>
4280
4281 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4282 Linux if target provides dl_iterate_phdr.
4283
4284 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4285
4286 PR target/65612
4287 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4288 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4289 (__cpu_indicator_init@GCC_4.8.0): New.
4290 (__cpu_model@GCC_4.8.0): Likewise.
4291 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4292 -DUSE_ELF_SYMVER.
4293
4294 2015-04-16 Nick Clifton <nickc@redhat.com>
4295
4296 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4297 and __modhi3 functions.
4298 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4299 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4300
4301 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4302
4303 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4304 do-while loop as macro body to avoid warnings.
4305
4306 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4307 Iain Sandoe <iain@codesourcery.com>
4308
4309 PR target/65351
4310 * configure: Regenerate.
4311
4312 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4313 Iain Sandoe <iain@codesourcery.com>
4314
4315 PR target/65351
4316 * configure: Regenerate.
4317
4318 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4319
4320 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4321
4322 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4323
4324 Implement call0 ABI for xtensa
4325 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4326 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4327 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4328 use ret in call0 ABI.
4329 * config/xtensa/t-windowed: New file.
4330 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4331 * libgcc/configure: Regenerated.
4332 * libgcc/configure.ac: Check if xtensa target is configured for
4333 windowed ABI and thus needs to use custom unwind code.
4334
4335 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4336
4337 PR libgcc/64885
4338 * gthr-single.h: Use __unused__ attribute instead of unused.
4339 * config/gthr-vxworks.h: Likewise.
4340 * config/i386/gthr-win32.h: Likewise.
4341
4342 2015-02-27 Kai Tietz <ktietz@redhat.com>
4343
4344 PR target/65038
4345 * config.in: Regenerated.
4346 * configure: Likewise.
4347 * configure.ac (AC_HEADER_STDC): Added explicit.
4348 (AC_CHECK_HEADERS): Check for default headers plus
4349 for ftw.h header.
4350 * libgcov-util.c (gcov_read_profile_dir): Disable use
4351 of ftw-function, if header is not found.
4352 (ftw_read_file): Likewise.
4353
4354 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4355
4356 PR target/65181
4357 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4358 -Dinhibit_libc.
4359
4360 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4361
4362 * config/arm/bpabi.S (test_div_by_zero): Make label names
4363 consistent between thumb2 and arm mode cases. Separate the
4364 signed comparison on the high word of the numerator from the
4365 unsigned comparison on the low word.
4366 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4367 signed comparison.
4368
4369 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4370
4371 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4372 and <string.h>.
4373 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4374
4375 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4376
4377 PR gcov-profile/61889
4378 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4379
4380 2015-02-02 Nick Clifton <nickc@redhat.com>
4381
4382 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4383 rounding up the fraction.
4384
4385 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4386
4387 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4388 oldval and newval to const void *. Fix typo.
4389 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4390 (FETCH_AND_OP_WORD): Likewise.
4391 (OP_AND_FETCH_WORD): Likewise.
4392 (COMPARE_AND_SWAP_2): Likewise.
4393 (__sync_val_compare_and_swap_4): Likewise.
4394 (__sync_lock_test_and_set_4): Likewise.
4395 (SYNC_LOCK_RELEASE_2): Likewise.
4396 Remove support for long long atomic operations.
4397
4398 2015-01-27 Caroline Tice <cmtice@google.com>
4399
4400 Committing VTV Cywin/Ming patch for Patrick Wollgast
4401 * Makefile.in: Move rules to build vtv_*.o out of the check
4402 for CUSTOM_CRTSTUFF.
4403 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4404 i[34567]86-*-mingw*)
4405 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4406 enable_vtable_verify.
4407
4408 2015-01-27 Nick Clifton <nickc@redhat.com>
4409
4410 * config/rl78/cmpsi2.S: Use function start and end macros.
4411 (__gcc_bcmp): New function.
4412 * config/rl78/lshrsi3.S: Use function start and end macros.
4413 * config/rl78/mulsi3.S: Add support for G10.
4414 (__mulqi3): New function for G10.
4415 * config/rl78/signbit.S: Use function start and end macros.
4416 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4417 fpmath-sf.S.
4418 (LIB2FUNCS_EXCLUDE): Define.
4419 (LIB2FUNCS_ST): Define.
4420 * config/rl78/trampoline.S: Use function start and end macros.
4421 * config/rl78/vregs.h (START_FUNC): New macro.
4422 (START_ANOTHER_FUNC): New macro.
4423 (END_FUNC): New macro.
4424 (END_ANOTHER_FUNC): New macro.
4425 * config/rl78/bit-count.S: New file. Contains assembler
4426 implementations of the bit counting functions: ___clzhi2,
4427 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4428 __paritysi2, __popcounthi2 and __popcountsi2.
4429 * config/rl78/fpbit-sf.S: New file. Contains assembler
4430 implementationas of the math functions: __negsf2, __cmpsf2,
4431 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4432 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4433 * config/rl78/fpmath-sf.S: New file. Contains assembler
4434 implementations of the math functions: __subsf3, __addsf3,
4435 __mulsf3 and __divsf3
4436
4437 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4438
4439 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4440 Add i386/elf-lib.h to tm_file.
4441 * config/i386/elf-lib.h: Fix comment.
4442 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4443 && __sun__ && __svr4__]: Remove workaround.
4444
4445 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4446
4447 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4448 FEATURE_BMI2.
4449 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4450
4451 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4452
4453 * config/i386/cpuinfo.c (processor_subtypes): Add
4454 INTEL_COREI7_BROADWELL.
4455 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4456 model numbers.
4457
4458 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4459
4460 * config/i386/elf-lib.h: New file.
4461 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4462 Wrap definition in #ifdef __i386__.
4463 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4464 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4465 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4466 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4467 to tm_file.
4468
4469 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4470
4471 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4472 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4473
4474 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4475
4476 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4477 Update rt_sigframe format and address for current Nios II
4478 Linux conventions.
4479
4480 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4481
4482 * config.host (arm*-*-freebsd*): Add new configuration for
4483 arm*-*-freebsd*.
4484 * config/arm/freebsd-atomic.c: New file.
4485 * config/arm/t-freebsd: Likewise.
4486 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4487 'PC-relative indirect' OS's.
4488
4489 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4490
4491 * config.host: Add Visium support.
4492 * config/visium: New directory.
4493
4494 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4495
4496 Update copyright years.
4497
4498 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4499
4500 * config.host: Support mipsisa32r6 and mipsisa64r6.
4501 * config/mips/mips16.S: Do not build for R6.
4502
4503 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4504
4505 * config/sh/crt.h: New.
4506 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4507 symbols.
4508 * config/sh/crt1.S: Likewise.
4509
4510 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4511
4512 PR libgcc/63832
4513 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4514 func_ptr *dtor_list temporary variable to avoid "array subscript
4515 is above array bounds" warnings.
4516
4517 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4518
4519 * Makefile.in (with_aix_soname): Define.
4520 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4521 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4522 * configure: Recreate.
4523
4524 2014-12-05 Olivier Hainque <hainque@adacore.com>
4525
4526 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4527 now provided by defaults.h.
4528
4529 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4530
4531 PR target/55351
4532 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4533 whether it's defined.
4534
4535 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4536
4537 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4538 * config/i386/cpuinfo.c (get_available_features): Detect it.
4539
4540 2014-11-27 Tony Wang <tony.wang@arm.com>
4541
4542 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4543 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4544 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4545
4546 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4547
4548 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4549
4550 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4551
4552 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4553 instead.
4554
4555 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4556 John David Anglin <danglin@gcc.gnu.org>
4557
4558 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4559 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4560 (OP_AND_FETCH_2): Likewise.
4561 (COMPARE_AND_SWAP_2): Likewise.
4562 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4563 (SYNC_LOCK_RELEASE_2): Likewise.
4564 (SUBWORD_SYNC_OP): Remove.
4565 (SUBWORD_VAL_CAS): Likewise.
4566 (SUBWORD_BOOL_CAS): Likewise.
4567 (FETCH_AND_OP_WORD): Update.
4568 Consistently use signed types.
4569
4570 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4571 Thomas Schwinge <thomas@codesourcery.com>
4572 Ilya Verbin <ilya.verbin@intel.com>
4573 Andrey Turetskiy <andrey.turetskiy@intel.com>
4574
4575 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4576 (crtoffloadend$(objext)): Likewise.
4577 * configure: Regenerate.
4578 * configure.ac (accel_dir_suffix): Compute new variable.
4579 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4580 if enable_offload_targets is not empty.
4581 * offloadstuff.c: New file.
4582
4583 2014-11-13 Nick Clifton <nickc@redhat.com>
4584
4585 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4586 Use START_FUNC and END_FUNC macros to enable linker garbage
4587 collection.
4588 * config/rl78/divmodqi.S: Likewise.
4589 * config/rl78/divmodsi.S: Likewise.
4590 * config/rl78/mulsi3.S: Likewise.
4591 * config/rl78/lib2div.c: Remove G10 functions.
4592 * config/rl78/lib2muls.c: Likewise.
4593 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4594 * config/rl78/vregs.h (START_FUNC): New macro.
4595 (END_FUNC): New macro.
4596
4597 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4598
4599 * config/mips/mips16.S: Set .module when supported. Update O32
4600 FP64 calling convention and use for FPXX when possible. Add FPXX
4601 calling convention fallback case.
4602
4603 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4604
4605 * config.host: Handle nvptx-*-*.
4606 * shared-object.mk (as-flags-$o): Define.
4607 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4608 -xassembler-with-cpp.
4609 * static-object.mk: Identical changes.
4610 * config/nvptx/t-nvptx: New file.
4611 * config/nvptx/crt0.s: New file.
4612 * config/nvptx/free.asm: New file.
4613 * config/nvptx/malloc.asm: New file.
4614 * config/nvptx/realloc.c: New file.
4615
4616 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4617
4618 * Makefile.in (libgcc.map.in): New target.
4619 (libgcc.map): Use libgcc.map.in.
4620 * config/t-softfp (softfp_compat): New variable to be set by
4621 users.
4622 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4623 variables.
4624 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4625 directory.
4626 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4627 that use compat symbols and disable all code unless [SHARED].
4628 * config/t-softfp-compat: New file.
4629 * find-symver.awk: New file.
4630 * configure.ac (--with-glibc-version): New configure option.
4631 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4632 * configure: Regenerate.
4633 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4634 soft-float and e500.
4635
4636 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4637
4638 * config/t-hardfp (hardfp_exclusions): Document new variable for
4639 user to define.
4640 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4641 * config/t-softfp (softfp_extras): Document new variable for user
4642 to define.
4643 (softfp_func_list): Add functions from $(softfp_extras).
4644 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4645 * config.host (powerpc*-*-linux*): For e500v1, use
4646 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4647 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4648 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4649
4650 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4651
4652 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4653 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4654 memory read accesses are ok.
4655
4656 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4657
4658 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4659 * configure: Regenerate.
4660 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4661 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4662 of soft-fp for 32-bit classic hard float. Do not use
4663 t-softfp-excl for soft float.
4664
4665 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4666
4667 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4668 configurations.
4669 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4670 Remove variables.
4671
4672 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4673
4674 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4675 introduced with 2014-10-21 trunk r216525.
4676
4677 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4678 Vidya Praveen <vidya.praveen@atmel.com>
4679 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4680 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4681 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4682
4683 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4684 order.
4685
4686 Updated library functions for AVRTINY arch.
4687 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4688 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4689 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4690 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4691 wsubi/wadi macors.
4692 (__mulsi3_helper): Update stack, preserve callee saved regs and
4693 argument from stack. Restore callee save registers.
4694 (__mulpsi3): Likewise.
4695 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4696 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4697 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4698 AVRTINY.
4699 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4700 (__do_copy_data): Added new definition for AVRTINY.
4701 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4702 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4703 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4704 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4705 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4706 macors.
4707 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4708 AVRTINY.
4709
4710 Fix broken long multiplication on tiny arch.
4711
4712 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4713
4714 * soft-fp/double.h: Update from glibc.
4715 * soft-fp/eqdf2.c: Likewise.
4716 * soft-fp/eqsf2.c: Likewise.
4717 * soft-fp/eqtf2.c: Likewise.
4718 * soft-fp/extenddftf2.c: Likewise.
4719 * soft-fp/extended.h: Likewise.
4720 * soft-fp/extendsfdf2.c: Likewise.
4721 * soft-fp/extendsftf2.c: Likewise.
4722 * soft-fp/extendxftf2.c: Likewise.
4723 * soft-fp/gedf2.c: Likewise.
4724 * soft-fp/gesf2.c: Likewise.
4725 * soft-fp/getf2.c: Likewise.
4726 * soft-fp/ledf2.c: Likewise.
4727 * soft-fp/lesf2.c: Likewise.
4728 * soft-fp/letf2.c: Likewise.
4729 * soft-fp/op-1.h: Likewise.
4730 * soft-fp/op-2.h: Likewise.
4731 * soft-fp/op-4.h: Likewise.
4732 * soft-fp/op-8.h: Likewise.
4733 * soft-fp/op-common.h: Likewise.
4734 * soft-fp/quad.h: Likewise.
4735 * soft-fp/single.h: Likewise.
4736 * soft-fp/soft-fp.h: Likewise.
4737 * soft-fp/unorddf2.c: Likewise.
4738 * soft-fp/unordsf2.c: Likewise.
4739 * soft-fp/unordtf2.c: Likewise.
4740 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4741 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4742 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4743 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4744 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4745 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4746 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4747 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4748 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4749 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4750
4751 2014-10-08 Rong Xu <xur@google.com>
4752
4753 * libgcov-util.c (read_gcda_file): Fix format.
4754 (find_match_gcov_info): Ditto.
4755 (calculate_2_entries): New.
4756 (compute_one_gcov): Ditto.
4757 (gcov_info_count_all_cold): Ditto.
4758 (gcov_info_count_all_zero): Ditto.
4759 (extract_file_basename): Ditto.
4760 (get_file_basename): Ditto.
4761 (set_flag): Ditto.
4762 (matched_gcov_info): Ditto.
4763 (calculate_overlap): Ditto.
4764 (gcov_profile_overlap): Ditto.
4765 * libgcov-driver.c (compute_summary): Make
4766 it avavilable for external calls.
4767
4768 2014-10-06 Rong Xu <xur@google.com>
4769
4770 * Makefile.in: Ditto.
4771 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4772 (gcov_sort_icall_topn_counter): Ditto.
4773 (gcov_sort_topn_counter_arrays): Ditto.
4774 (dump_one_gcov): Sort indirect_call topn counters.
4775 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4776 function.
4777 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4778 utility function.
4779 (__gcov_indirect_call_topn_profiler): New profiler function.
4780 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4781 * libgcov.h: New decls.
4782
4783 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4784
4785 * config.host: Remove support for score-*.
4786
4787 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4788
4789 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4790 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4791 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4792 __LIBGCC_XF_MANT_DIG__.
4793 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4794 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4795 __LIBGCC_TF_MANT_DIG__.
4796 * libgcc2.c (NOTRUNC): Define in terms of
4797 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4798 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4799
4800 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4801
4802 PR target/63312
4803 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4804 New macros.
4805
4806 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4807
4808 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4809 override USE_PT_GNU_EH_FRAME.
4810 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4811 check USE_EH_FRAME_REGISTRY_ALWAYS against
4812 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4813 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4814 variable for substituted force_explicit_eh_registry.
4815 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4816 * configure.ac (explicit-exception-frame-registration):
4817 New AC_ARG_ENABLE.
4818 * configure: Regenerate.
4819
4820 2014-09-19 Olivier Hainque <hainque@adacore.com>
4821
4822 * config.host (powerpc-wrs-vxworksmils): New configuration,
4823 same as vxworksae.
4824
4825 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4826
4827 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4828
4829 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4830
4831 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4832 bits not set bits as indicating trapping exceptions.
4833
4834 2014-09-17 Nathan sidwell <nathan@acm.org>
4835
4836 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4837 (LIBGCOV_DRIVER): ... here.
4838 * libgcov-driver.c (gcov_master): New.
4839 (gcov_exit): Remove from master chain.
4840 (__gcov_init): Add to master chain if version compatible. Don't
4841 clear the version.
4842 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4843 (gcov_reset_int): Clear master chain, if compatible.
4844 (gcov_dump_int): New internal interface. Dump master chain, if
4845 compatible.
4846 (gcov_dump): Alias for gcov_dump_int.
4847 * libgcov.h (struct gcov_root): Add next and prev fields.
4848 (struct gcov_master): New struct.
4849 (__gcov_master): New.
4850 (gcov_dump_int): Declare.
4851
4852 2014-09-17 Olivier Hainque <hainque@adacore.com>
4853
4854 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4855 and crtbegin.o + crtend.o to extra_parts.
4856
4857 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4858
4859 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4860 __LIBGCC_HAS_SF_MODE__.
4861 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4862 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4863 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4864 * config/libbid/bid_gcc_intrinsics.h
4865 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4866 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4867 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4868 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4869 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4870 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4871
4872 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4873
4874 PR target/63223
4875 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4876 and R24 as needed. Make work for all devices and .text locations.
4877 (__do_global_ctors, __do_global_dtors): Use word addresses.
4878 (__tablejump__, __tablejump_elpm__): Remove functions.
4879 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4880 Add _tablejump2.
4881 (XICALL, XIJMP): New macros.
4882
4883 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4884 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4885
4886 * config.host (aarch64*): Include crtfastmath.o and
4887 t-crtfm.
4888 * config/aarch64/crtfastmath.c: New file.
4889
4890 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4891
4892 * config.host: Remove picochip support.
4893 * config/picochip/adddi3.S: Remove.
4894 * config/picochip/ashlsi3.S: Remove.
4895 * config/picochip/ashlsi3.c: Remove.
4896 * config/picochip/ashrsi3.S: Remove.
4897 * config/picochip/ashrsi3.c: Remove.
4898 * config/picochip/clzsi2.S: Remove.
4899 * config/picochip/cmpsi2.S: Remove.
4900 * config/picochip/divmod15.S: Remove.
4901 * config/picochip/divmodhi4.S: Remove.
4902 * config/picochip/divmodsi4.S: Remove.
4903 * config/picochip/lib1funcs.S: Remove.
4904 * config/picochip/longjmp.S: Remove.
4905 * config/picochip/lshrsi3.S: Remove.
4906 * config/picochip/lshrsi3.c: Remove.
4907 * config/picochip/parityhi2.S: Remove.
4908 * config/picochip/popcounthi2.S: Remove.
4909 * config/picochip/setjmp.S: Remove.
4910 * config/picochip/subdi3.S: Remove.
4911 * config/picochip/t-picochip: Remove.
4912 * config/picochip/ucmpsi2.S: Remove.
4913 * config/picochip/udivmodhi4.S: Remove.
4914 * config/picochip/udivmodsi4.S: Remove.
4915
4916 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4917
4918 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4919 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4920 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4921 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4922 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4923 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4924 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4925 defined and LIBGCC2_HAS_DF_MODE is defined.
4926 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4927 defined and LIBGCC2_HAS_XF_MODE is defined.
4928 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4929 defined and LIBGCC2_HAS_TF_MODE is defined.
4930
4931 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4932
4933 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4934 and ROUND_TOWARDS_ZERO conditionals.
4935
4936 2014-09-07 Nathan sidwell <nathan@acm.org>
4937
4938 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4939 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4940
4941 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4942
4943 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4944 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4945 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4946 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4947 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4948 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4949 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4950 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4951 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4952 (DWARF_FRAME_REGISTERS): Change all uses to
4953 __LIBGCC_DWARF_FRAME_REGISTERS__.
4954 (EH_RETURN_STACKADJ_RTX): Change all uses to
4955 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4956 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4957 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4958 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4959 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4960 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4961 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4962 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4963 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4964 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4965 __LIBGCC_STACK_POINTER_REGNUM__.
4966 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4967 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4968 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4969 to __LIBGCC_STACK_POINTER_REGNUM__.
4970 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4971 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4972 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4973 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4974 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4975 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4976 (STACK_POINTER_REGNUM): Change all uses to
4977 __LIBGCC_STACK_POINTER_REGNUM__.
4978 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4979 use to __LIBGCC_STACK_POINTER_REGNUM__.
4980 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4981 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4982 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4983 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4984 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4985 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4986 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4987 to __LIBGCC_STACK_POINTER_REGNUM__.
4988 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4989 Remove conditional definition.
4990 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4991 __LIBGCC_TEXT_SECTION_ASM_OP__.
4992 (EH_FRAME_SECTION_NAME): Change all uses to
4993 __LIBGCC_EH_FRAME_SECTION_NAME__.
4994 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4995 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4996 (CTORS_SECTION_ASM_OP): Change all uses to
4997 __LIBGCC_CTORS_SECTION_ASM_OP__.
4998 (DTORS_SECTION_ASM_OP): Change all uses to
4999 __LIBGCC_DTORS_SECTION_ASM_OP__.
5000 (JCR_SECTION_NAME): Change all uses to
5001 __LIBGCC_JCR_SECTION_NAME__.
5002 (INIT_SECTION_ASM_OP): Change all uses to
5003 __LIBGCC_INIT_SECTION_ASM_OP__.
5004 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5005 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5006 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5007 __LIBGCC_STACK_GROWS_DOWNWARD__.
5008 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5009 __LIBGCC_INIT_SECTION_ASM_OP__.
5010 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5011 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5012 (EH_FRAME_SECTION_NAME): Change all uses to
5013 __LIBGCC_EH_FRAME_SECTION_NAME__.
5014 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5015 definitions. Change all uses to
5016 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5017 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5018 __LIBGCC_STACK_GROWS_DOWNWARD__.
5019 (DWARF_FRAME_REGISTERS): Change all uses to
5020 __LIBGCC_DWARF_FRAME_REGISTERS__.
5021 (EH_RETURN_STACKADJ_RTX): Change all uses to
5022 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5023 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5024 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5025 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5026 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5027 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5028
5029 2014-09-02 Nathan sidwell <nathan@acm.org>
5030
5031 * libgcov-interface.c (STRONG_ALIAS): New.
5032 (__gcov_flush): Call __gcov_reset_int.
5033 (__gcov_reset): Strong alias for ...
5034 (__gcov_reset_ing): ... this renamed hidden version.
5035 * libgcov.h (__gcov_reset_int): New declaration.
5036
5037 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5038
5039 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5040 call from here...
5041 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5042 (__dso_handle): Define on Cygwin.
5043 * config/i386/t-cygming (crtbeginS.o): New rule.
5044 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5045
5046 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5047 declaration syntax.
5048
5049 2014-08-13 Steve Ellcey <sellcey@mips.com>
5050
5051 * crtstuff.c: Undef caddr_t.
5052
5053 2014-08-12 Steve Ellcey <sellcey@mips.com>
5054
5055 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5056
5057 2014-08-07 Nathan Sidwell <nathan@acm.org>
5058
5059 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5060 (LIBGCOV_DRIVER): ... to here.
5061 * libgcov.h (gcov_do_dump): New #define.
5062 (struct gcov_root): New.
5063 (__gcov_root): New declaration.
5064 (__gcov_dump_one): Declare.
5065 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5066 run_accounted): Delete.
5067 (gcov_compute_histogram): Add LIST argument, adjust.
5068 (compute_summary): Adjust gcov_compute_histogram call.
5069 (gcov_do_dump): Not hidden, static in libgcov.
5070 (gcov_clear): Move to interface.c.
5071 (__gcov_dump_one): New, broken out of ...
5072 (gcov_exit): ... here. Make static.
5073 (__gcov_root): New.
5074 (__gcov_init): Adjust.
5075 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5076 declarations.
5077 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5078 (gcov_clear): Moved from driver.c. Add LIST argument.
5079 (__gcov_reset): Adjust for changed interfaces.
5080 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5081
5082 2014-08-04 Rohit <rohitarulraj@freescale.com>
5083
5084 PR target/60102
5085 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5086 based on change in SPE high register numbers and 3 HTM registers.
5087
5088 2014-08-01 Nathan Sidwell <nathan@acm.org>
5089
5090 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5091 LIBGCOV_INTERFACE): Reformat.
5092 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5093 IN_GCOV_TOOL.
5094 * libgcov-interface.c: Reformat some comments.
5095 (__gcov_flush_mx): Add declaration. Tidy up definition.
5096
5097 2014-07-31 Alan Modra <amodra@gmail.com>
5098 Peter Bergner <bergner@vnet.ibm.com>
5099
5100 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5101 (pack_ldouble): New function.
5102 (__gcc_qadd): Use it.
5103 (__gcc_qmul): Likewise.
5104 (__gcc_qdiv): Likewise.
5105 (__gcc_qneg): Likewise.
5106 (__gcc_stoq): Likewise.
5107 (__gcc_dtoq): Likewise.
5108
5109 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5110
5111 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5112 (__tpf_eh_return): Add original return address as second parameter.
5113 Handle cases where unwinder routines were called directly, instead
5114 of from within the C++ library.
5115
5116 2014-07-29 Nathan Sidwell <nathan@acm.org>
5117
5118 * libgcov.h: Move renaming of entry points to lib gcov specific
5119 portion.
5120 (gcov_do_dump): New rename.
5121 (gcov_rewrite): Remove inline, make HIDDEN.
5122 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5123 (gcov_exit_compute_summary): Rename to ...
5124 (compute_summary): ... here. Add LIST argument.
5125 (gcov_exit_merge_gcda): Rename to ...
5126 (merge_one_data): ... here.
5127 (gcov_exit_write_gcda): Rename to ...
5128 (write_one_data): ... here.
5129 (gcov_exit_merge_summary): Rename to ...
5130 (merge_summary): Add RUN_COUNTED argument.
5131 (gcov_exit_dump_gcov): Rename to ...
5132 (dump_one_gcov): Add RUN_COUNTED argument.
5133 (gcov_do_dump): New function, broken out of ...
5134 (gcov_exit): ... here. Call it.
5135
5136 2014-07-27 Anthony Green <green@moxielogic.com>
5137
5138 * config.host: Add moxiebox configuration suppport.
5139
5140 2014-07-27 Nathan Sidwell <nathan@acm.org>
5141
5142 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5143 (struct gcov_filename): ... here. Include buffer and max length
5144 fields.
5145 (gcov_max_filename): Remove.
5146 (gi_filename): Remove.
5147 (gcov_exit_compute_summary): Compute max filename here.
5148 (gcov_exit_merge_gcda): Add filename parm, adjust.
5149 (gcov_exit_merge_summary): Likewise.
5150 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5151 (gcov_exit): Likewise.
5152 (__gcov_init): Don't calculate max length here.
5153 * libgcov_util.c (max_filename_len): Remove.
5154 (read_gcda_file): Don't calculate max length here.
5155 (gcov_read_profile_dir): Don't propagate here.
5156 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5157 struct gcov_filename changes.
5158 (gcov_exit_open_gcda_file): Likewise.
5159
5160 2014-07-25 Nathan Sidwell <nathan@acm.org>
5161
5162 * libgcov-driver.c (set_gcov_dump_complete,
5163 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5164 functions polluting user's namespace.
5165 (gcov_exit): Set variable directly.
5166 (gcov_clear): Reset variable directly.
5167 * libgcov-interface.c (get_gcov_dymp_complete,
5168 reset_gov_dump_complete): Remove declarations.
5169 (__gcov_reset, __gcov_dump): Don't call them.
5170
5171 2014-07-24 DJ Delorie <dj@redhat.com>
5172
5173 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5174 (__gcc_deregister_frame): Move logic to detect deregister function
5175 to ...
5176 (__gcc_register_frame): here, so it's consistent with the register
5177 logic.
5178
5179 2014-07-23 Nathan Sidwell <nathan@acm.org>
5180
5181 * libgcov-driver.c (set_gcov_list): Remove.
5182 (gcov_list): Make non-static in GCOV_TOOL.
5183 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5184
5185 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5186
5187 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5188 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5189 Don't use SYNC_LOCK_RELEASE for int type.
5190
5191 2014-07-14 Richard Biener <rguenther@suse.de>
5192
5193 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5194
5195 2014-07-11 Rong Xu <xur@google.com>
5196
5197 * libgcov-util.c (gcov_max_filename): Fix declartion.
5198
5199 2014-07-10 Rong Xu <xur@google.com>
5200
5201 Add gcov-tool: an offline gcda profile processing tool
5202 Support.
5203 * libgcov-driver.c (gcov_max_filename): Make available
5204 to gcov-tool.
5205 * libgcov-merge.c (__gcov_merge_add): Replace
5206 gcov_read_counter() with a Macro.
5207 (__gcov_merge_ior): Ditto.
5208 (__gcov_merge_time_profile): Ditto.
5209 (__gcov_merge_single): Ditto.
5210 (__gcov_merge_delta): Ditto.
5211 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5212 in the utility functions.
5213 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5214 gcov_list object link lists.
5215 (tag_function): Ditto.
5216 (tag_blocks): Ditto.
5217 (tag_arcs): Ditto.
5218 (tag_lines): Ditto.
5219 (tag_counters): Ditto.
5220 (tag_summary): Ditto.
5221 (read_gcda_finalize): Ditto.
5222 (read_gcda_file): Ditto.
5223 (ftw_read_file): Ditto.
5224 (read_profile_dir_init): Ditto.
5225 (gcov_read_profile_dir): Ditto.
5226 (gcov_read_counter_mem): Ditto.
5227 (gcov_get_merge_weight): Ditto.
5228 (merge_wrapper): A wrapper function that calls merging handler.
5229 (gcov_merge): Merge two gcov_info objects with weights.
5230 (find_match_gcov_info): Find the matched gcov_info in the list.
5231 (gcov_profile_merge): Merge two gcov_info object lists.
5232 (__gcov_add_counter_op): Process edge profile counter values.
5233 (__gcov_ior_counter_op): Process IOR profile counter values.
5234 (__gcov_delta_counter_op): Process delta profile counter values.
5235 (__gcov_single_counter_op): Process single profile counter values.
5236 (fp_scale): Callback function for float-point scaling.
5237 (int_scale): Callback function for integer fraction scaling.
5238 (gcov_profile_scale): Scaling profile counters.
5239 (gcov_profile_normalize): Normalize profile counters.
5240 * libgcov.h: Add headers and functions for gcov-tool use.
5241 (gcov_get_counter): New.
5242 (gcov_get_counter_target): Ditto.
5243 (struct gcov_info): Make the functions field mutable in gcov-tool
5244 compilation.
5245
5246 2014-06-23 Kai Tietz <ktietz@redhat.com>
5247
5248 PR libgcc/61585
5249 * unwind-seh.c (_Unwind_GetGR): Check for proper
5250 index range.
5251 (_Unwind_SetGR): Likewise.
5252
5253 2014-05-22 Nick Clifton <nickc@redhat.com>
5254
5255 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5256 -mhwmult=none.
5257
5258 2014-05-22 Teresa Johnson <tejohnson@google.com>
5259
5260 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5261 include.
5262
5263 2014-05-20 John Marino <gnugcc@marino.st>
5264
5265 * config.host (*-*-dragonfly*): New target.
5266 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5267 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5268 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5269 * config/i386/dragonfly-unwind.h: New.
5270
5271 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5272
5273 PR libgcc/60166
5274 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5275 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5276
5277 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5278
5279 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5280 implementation.
5281
5282 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5283
5284 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5285
5286 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5287
5288 PR libgcc/61097
5289 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5290 if --enable-shared.
5291
5292 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5293
5294 Work around for current cygwin32 build problems.
5295 * config/i386/cygming-crtbegin.c (__register_frame_info,
5296 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5297 functions only for 64-bit systems.
5298
5299 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5300
5301 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5302 (sigill_caught, sigill_hdlr): Remove.
5303
5304 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5305
5306 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5307 check.
5308 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5309 Solaris 9 single-threaded support.
5310 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5311 Solaris 9 single-threaded support. Add call_user_handler code
5312 sequences.
5313 (sparc_is_sighandler): Likewise.
5314
5315 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5316
5317 * config.host: Append t-floattodi to tmake_file depending on
5318 host_address.
5319
5320 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5321
5322 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5323
5324 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5325
5326 PR libgcc/60472
5327 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5328 variable to avoid "array subscript is above array bounds" warnings.
5329 Use __builtin_expect when checking *jcr_list for NULL.
5330
5331 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5332
5333 PR libgcc/59339
5334 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5335 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5336 vtv_*.o to extra_parts if enable_vtable_verify.
5337
5338 2014-03-06 Nick Clifton <nickc@redhat.com>
5339
5340 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5341 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5342
5343 2014-02-28 Joey Ye <joey.ye@arm.com>
5344
5345 PR libgcc/60166
5346 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5347 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5348 Set to zero.
5349
5350 2014-02-24 Walter Lee <walt@tilera.com>
5351
5352 * config.host: Support "tilegx*" and "tilepro*" triplets.
5353 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5354 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5355
5356 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5357 Chung-Lin Tang <cltang@codesourcery.com>
5358
5359 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5360 * config/nios2/crti.S: Remove .file directive.
5361 * config/nios2/crtn.S: Likewise.
5362
5363 2014-02-18 Kai Tietz <ktietz@redhat.com>
5364 Jonathan Schleifer <js@webkeks.org>
5365
5366 PR objc/56870
5367 * unwind-seh.c (_GCC_specific_handler): Pass proper
5368 value to unwind-handler.
5369
5370 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5371
5372 * soft-fp/adddf3.c: Update from glibc.
5373 * soft-fp/addsf3.c: Likewise.
5374 * soft-fp/addtf3.c: Likewise.
5375 * soft-fp/divdf3.c: Likewise.
5376 * soft-fp/divsf3.c: Likewise.
5377 * soft-fp/divtf3.c: Likewise.
5378 * soft-fp/double.h: Likewise.
5379 * soft-fp/eqdf2.c: Likewise.
5380 * soft-fp/eqsf2.c: Likewise.
5381 * soft-fp/eqtf2.c: Likewise.
5382 * soft-fp/extenddftf2.c: Likewise.
5383 * soft-fp/extended.h: Likewise.
5384 * soft-fp/extendsfdf2.c: Likewise.
5385 * soft-fp/extendsftf2.c: Likewise.
5386 * soft-fp/extendxftf2.c: Likewise.
5387 * soft-fp/fixdfdi.c: Likewise.
5388 * soft-fp/fixdfsi.c: Likewise.
5389 * soft-fp/fixdfti.c: Likewise.
5390 * soft-fp/fixsfdi.c: Likewise.
5391 * soft-fp/fixsfsi.c: Likewise.
5392 * soft-fp/fixsfti.c: Likewise.
5393 * soft-fp/fixtfdi.c: Likewise.
5394 * soft-fp/fixtfsi.c: Likewise.
5395 * soft-fp/fixtfti.c: Likewise.
5396 * soft-fp/fixunsdfdi.c: Likewise.
5397 * soft-fp/fixunsdfsi.c: Likewise.
5398 * soft-fp/fixunsdfti.c: Likewise.
5399 * soft-fp/fixunssfdi.c: Likewise.
5400 * soft-fp/fixunssfsi.c: Likewise.
5401 * soft-fp/fixunssfti.c: Likewise.
5402 * soft-fp/fixunstfdi.c: Likewise.
5403 * soft-fp/fixunstfsi.c: Likewise.
5404 * soft-fp/fixunstfti.c: Likewise.
5405 * soft-fp/floatdidf.c: Likewise.
5406 * soft-fp/floatdisf.c: Likewise.
5407 * soft-fp/floatditf.c: Likewise.
5408 * soft-fp/floatsidf.c: Likewise.
5409 * soft-fp/floatsisf.c: Likewise.
5410 * soft-fp/floatsitf.c: Likewise.
5411 * soft-fp/floattidf.c: Likewise.
5412 * soft-fp/floattisf.c: Likewise.
5413 * soft-fp/floattitf.c: Likewise.
5414 * soft-fp/floatundidf.c: Likewise.
5415 * soft-fp/floatundisf.c: Likewise.
5416 * soft-fp/floatunditf.c: Likewise.
5417 * soft-fp/floatunsidf.c: Likewise.
5418 * soft-fp/floatunsisf.c: Likewise.
5419 * soft-fp/floatunsitf.c: Likewise.
5420 * soft-fp/floatuntidf.c: Likewise.
5421 * soft-fp/floatuntisf.c: Likewise.
5422 * soft-fp/floatuntitf.c: Likewise.
5423 * soft-fp/gedf2.c: Likewise.
5424 * soft-fp/gesf2.c: Likewise.
5425 * soft-fp/getf2.c: Likewise.
5426 * soft-fp/ledf2.c: Likewise.
5427 * soft-fp/lesf2.c: Likewise.
5428 * soft-fp/letf2.c: Likewise.
5429 * soft-fp/muldf3.c: Likewise.
5430 * soft-fp/mulsf3.c: Likewise.
5431 * soft-fp/multf3.c: Likewise.
5432 * soft-fp/negdf2.c: Likewise.
5433 * soft-fp/negsf2.c: Likewise.
5434 * soft-fp/negtf2.c: Likewise.
5435 * soft-fp/op-1.h: Likewise.
5436 * soft-fp/op-2.h: Likewise.
5437 * soft-fp/op-4.h: Likewise.
5438 * soft-fp/op-8.h: Likewise.
5439 * soft-fp/op-common.h: Likewise.
5440 * soft-fp/quad.h: Likewise.
5441 * soft-fp/single.h: Likewise.
5442 * soft-fp/soft-fp.h: Likewise.
5443 * soft-fp/subdf3.c: Likewise.
5444 * soft-fp/subsf3.c: Likewise.
5445 * soft-fp/subtf3.c: Likewise.
5446 * soft-fp/truncdfsf2.c: Likewise.
5447 * soft-fp/trunctfdf2.c: Likewise.
5448 * soft-fp/trunctfsf2.c: Likewise.
5449 * soft-fp/trunctfxf2.c: Likewise.
5450 * soft-fp/unorddf2.c: Likewise.
5451 * soft-fp/unordsf2.c: Likewise.
5452 * soft-fp/unordtf2.c: Likewise.
5453 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5454 macro.
5455 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5456 Likewise.
5457 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5458 Likewise.
5459 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5460 Likewise.
5461 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5462 Likewise.
5463 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5464 Likewise.
5465 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5466 Likewise.
5467 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5468 Likewise.
5469 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5470 Likewise.
5471 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5472 Likewise.
5473 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5474 Likewise.
5475 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5476 Likewise.
5477 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5478 Likewise.
5479 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5480 Likewise.
5481 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5482 Likewise.
5483 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5484 Likewise.
5485
5486 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5487
5488 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5489 cannot be represented.
5490 * config/s390/32/_fixsfdi.c: Likewise.
5491 * config/s390/32/_fixtfdi.c: Likewise.
5492 * config/s390/32/_fixunsdfdi.c: Likewise.
5493 * config/s390/32/_fixunssfdi.c: Likewise.
5494 * config/s390/32/_fixunstfdi.c: Likewise.
5495
5496 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5497
5498 * configure.ac (libgcc_cv_mips_hard_float): New.
5499 * configure: Regenerate.
5500 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5501 t-softfp-sfdf for hard-float targets.
5502 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5503 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5504 (softfp_truncations, softfp_exclude_libgcc2): New.
5505 * config/t-hardfp: New file.
5506 * config/t-hardfp-sfdf: Likewise.
5507 * config/hardfp.c: Likewise.
5508
5509 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5510
5511 * config.host: Include t-floattodi also for s390x.
5512 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5513 * config/s390/32/_fixsfdi.c: Likewise.
5514 * config/s390/32/_fixtfdi.c: Likewise.
5515 * config/s390/32/_fixunsdfdi.c: Likewise.
5516 * config/s390/32/_fixunssfdi.c: Likewise.
5517 * config/s390/32/_fixunstfdi.c: Likewise.
5518
5519 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5520
5521 PR target/59788
5522 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5523 (install-libgcc-unwind-map-forbuild): New target.
5524 (all): Depend on install-libgcc-unwind-map-forbuild.
5525 (install-libgcc-unwind-map): New target.
5526 (install): Depend on install-libgcc-unwind-map.
5527
5528 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5529
5530 * config/nios2/crti.S (_init): Initialize GOT pointer from
5531 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5532
5533 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5534
5535 * configure.ac: Check __mips64 when setting host_address.
5536 * configure: Regenerate.
5537 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5538 mips/t-mips64 and t-softfp.
5539 (mips*-*-linux*): Don't add mips/t-tpbit.
5540 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5541 (DPBIT, DPBIT_CFLAGS): Delete.
5542 * config/mips/sfp-machine.h: New file.
5543 * config/mips/t-mips64: Likewise.
5544 * config/mips/t-softfp-tf: Likewise.
5545 * config/mips/t-tpbit: Delete.
5546
5547 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5548
5549 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5550 as long long.
5551
5552 2014-01-25 Walter Lee <walt@tilera.com>
5553
5554 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5555 config.h or system.h.
5556 (bool) Define.
5557
5558 2014-01-25 Walter Lee <walt@tilera.com>
5559
5560 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5561 (post_atomic_barrier): Ditto.
5562 (__fetch_and_do): New macro.
5563 (__atomic_fetch_and_do): Use __fetch_and_do.
5564 (__sync_fetch_and_do): New macro.
5565 (__sync_fetch_and_add_4): New function.
5566 (__sync_fetch_and_sub_4): New function.
5567 (__sync_fetch_and_or_4): New function.
5568 (__sync_fetch_and_and_4): New function.
5569 (__sync_fetch_and_xor_4): New function.
5570 (__sync_fetch_and_nand_4): New function.
5571 (__sync_fetch_and_add_8): New function.
5572 (__sync_fetch_and_sub_8): New function.
5573 (__sync_fetch_and_or_8): New function.
5574 (__sync_fetch_and_and_8): New function.
5575 (__sync_fetch_and_xor_8): New function.
5576 (__sync_fetch_and_nand_8): New function.
5577 (__do_and_fetch): New macro.
5578 (__atomic_do_and_fetch): Use __do_and_fetch.
5579 (__sync_do_and_fetch): New macro.
5580 (__sync_add_and_fetch_4): New function.
5581 (__sync_sub_and_fetch_4): New function.
5582 (__sync_or_and_fetch_4): New function.
5583 (__sync_and_and_fetch_4): New function.
5584 (__sync_xor_and_fetch_4): New function.
5585 (__sync_nand_and_fetch_4): New function.
5586 (__sync_add_and_fetch_8): New function.
5587 (__sync_sub_and_fetch_8): New function.
5588 (__sync_or_and_fetch_8): New function.
5589 (__sync_and_and_fetch_8): New function.
5590 (__sync_xor_and_fetch_8): New function.
5591 (__sync_nand_and_fetch_8): New function.
5592 (__sync_exchange_methods): New macro.
5593 (__sync_val_compare_and_swap_4): New function.
5594 (__sync_bool_compare_and_swap_4): New function.
5595 (__sync_lock_test_and_test_4): New function.
5596 (__sync_val_compare_and_swap_8): New function.
5597 (__sync_bool_compare_and_swap_8): New function.
5598 (__sync_lock_test_and_test_8): New function.
5599 (__subword_cmpxchg_body): New macro.
5600 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5601 (__atomic_compare_exchange_2): Ditto.
5602 (__sync_subword_cmpxchg): New macro.
5603 (__sync_val_compare_and_swap_1): New function.
5604 (__sync_bool_compare_and_swap_1): New function.
5605 (__sync_val_compare_and_swap_2): New function.
5606 (__sync_bool_compare_and_swap_2): New function.
5607 (__atomic_subword): Rename to ...
5608 (__subword): ... New name.
5609 (__atomic_subword_fetch): Use __subword.
5610 (__sync_subword_fetch): New macro.
5611 (__sync_fetch_and_add_1): New function.
5612 (__sync_fetch_and_sub_1): New function.
5613 (__sync_fetch_and_or_1): New function.
5614 (__sync_fetch_and_and_1): New function.
5615 (__sync_fetch_and_xor_1): New function.
5616 (__sync_fetch_and_nand_1): New function.
5617 (__sync_fetch_and_add_2): New function.
5618 (__sync_fetch_and_sub_2): New function.
5619 (__sync_fetch_and_or_2): New function.
5620 (__sync_fetch_and_and_2): New function.
5621 (__sync_fetch_and_xor_2): New function.
5622 (__sync_fetch_and_nand_2): New function.
5623 (__sync_add_and_fetch_1): New function.
5624 (__sync_sub_and_fetch_1): New function.
5625 (__sync_or_and_fetch_1): New function.
5626 (__sync_and_and_fetch_1): New function.
5627 (__sync_xor_and_fetch_1): New function.
5628 (__sync_nand_and_fetch_1): New function.
5629 (__sync_add_and_fetch_2): New function.
5630 (__sync_sub_and_fetch_2): New function.
5631 (__sync_or_and_fetch_2): New function.
5632 (__sync_and_and_fetch_2): New function.
5633 (__sync_xor_and_fetch_2): New function.
5634 (__sync_nand_and_fetch_2): New function.
5635 (__atomic_subword_lock): Use __subword.
5636 (__sync_subword_lock): New macro.
5637 (__sync_lock_test_and_set_1): New function.
5638 (__sync_lock_test_and_set_2): New function.
5639
5640 2014-01-25 Walter Lee <walt@tilera.com>
5641
5642 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5643 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5644 (__atomic_subword): Ditto.
5645
5646 2014-01-25 Walter Lee <walt@tilera.com>
5647
5648 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5649 a prefix op argument.
5650 (__atomic_nand_fetch_4): Add prefix op.
5651 (__atomic_nand_fetch_8): Ditto.
5652
5653 2014-01-21 Baruch Siach <barch@tkos.co.il>
5654
5655 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5656
5657 2014-01-09 Rong Xu <xur@google.com>
5658
5659 * libgcov-driver.c (this_prg): make it local to save
5660 bss space.
5661 (gcov_exit_compute_summary): Ditto.
5662 (gcov_exit_merge_gcda): Ditto.
5663 (gcov_exit_merge_summary): Ditto.
5664 (gcov_exit_dump_gcov): Ditto.
5665
5666 2014-01-08 Rong Xu <xur@google.com>
5667
5668 * libgcov-driver.c: Use libgcov.h.
5669 (buffer_fn_data): Use xmalloc instead of malloc.
5670 (gcov_exit_merge_gcda): Ditto.
5671 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5672 * libgcov.h: New common header files for libgcov-*.h.
5673 * libgcov-interface.c: Use libgcov.h
5674 * libgcov-merge.c: Ditto.
5675 * libgcov-profiler.c: Ditto.
5676 * Makefile.in: Add dependence to libgcov.h
5677
5678 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5679
5680 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5681 case of small numerator and finite nonzero result.
5682
5683 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5684
5685 Update copyright years
5686
5687 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5688
5689 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5690 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5691 config/arc/dp-hack.h, config/arc/fp-hack.h,
5692 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5693 config/arc/ieee-754/arc600-dsp/divdf3.S,
5694 config/arc/ieee-754/arc600-dsp/divsf3.S,
5695 config/arc/ieee-754/arc600-dsp/muldf3.S,
5696 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5697 config/arc/ieee-754/arc600-mul64/divdf3.S,
5698 config/arc/ieee-754/arc600-mul64/divsf3.S,
5699 config/arc/ieee-754/arc600-mul64/muldf3.S,
5700 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5701 config/arc/ieee-754/arc600/divsf3.S,
5702 config/arc/ieee-754/arc600/mulsf3.S,
5703 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5704 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5705 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5706 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5707 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5708 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5709 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5710 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5711 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5712 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5713 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5714 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5715 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5716 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5717 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5718 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5719 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5720 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5721 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5722 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5723 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5724 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5725 vtv_start_preinit.c: Use the standard form for the copyright notice.
5726
5727 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5728 Chung-Lin Tang <cltang@codesourcery.com>
5729 Based on patches from Altera Corporation
5730
5731 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5732 * config/nios2/lib2-nios2.h: New file.
5733 * config/nios2/lib2-divmod-hi.c: New file.
5734 * config/nios2/linux-unwind.h: New file.
5735 * config/nios2/lib2-divmod.c: New file.
5736 * config/nios2/linux-atomic.c: New file.
5737 * config/nios2/t-nios2: New file.
5738 * config/nios2/crti.asm: New file.
5739 * config/nios2/t-linux: New file.
5740 * config/nios2/lib2-divtable.c: New file.
5741 * config/nios2/lib2-mul.c: New file.
5742 * config/nios2/tramp.c: New file.
5743 * config/nios2/crtn.asm: New file.
5744
5745 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5746
5747 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5748 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5749 from cpuid.h to check vendor signatures.
5750
5751 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5752
5753 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5754 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5755 (get_amd_cpu): Likewise.
5756
5757 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5758
5759 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5760 Haswell.
5761
5762 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5763 H.J. Lu <hongjiu.lu@intel.com>
5764
5765 PR target/59422
5766 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5767 and AMD_JAGUAR.
5768 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5769 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5770 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5771 FEATURE_XOP and FEATURE_FMA.
5772 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5773 AMDFAM15H_BDVER3.
5774 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5775 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5776 FEATURE_FMA4 and FEATURE_XOP.
5777
5778 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5779
5780 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5781 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5782 (get_intel_cpu): Updated.
5783
5784 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5785
5786 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5787
5788 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5789
5790 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5791 instructions when __SSE_MATH__ is defined.
5792
5793 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5794
5795 * config.host (microblaze-*-rtems*): New.
5796
5797 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5798
5799 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5800 architectures that do not have hardware divide instruction.
5801 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5802
5803 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5804
5805 * longlong.h: Delete (moved to include/).
5806
5807 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808
5809 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5810 of normal number and qNaN to not raise an inexact exception.
5811
5812 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5813
5814 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5815
5816 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5817
5818 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5819 for correct opcodes on BE.
5820
5821 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5822
5823 * soft-fp/op-4.h: Update from glibc.
5824
5825 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5826
5827 * libgcc2.c (__udivmoddi4): Define new implementation when
5828 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5829 divide instructions.
5830
5831 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5832
5833 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5834
5835 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5836
5837 * config/t-softfp (soft-fp-objects-base): New variable.
5838 (soft-fp-objects): Use it.
5839
5840 2013-11-23 David Edelson <dje.gcc@gmail.com>
5841 Andrew Dixie <andrewd@gentrack.com>
5842
5843 PR target/33704
5844 * config/rs6000/aixinitfini.c: New file.
5845 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5846 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5847 symbols.
5848
5849 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5850
5851 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5852
5853 2013-11-18 Jan Hubicka <jh@suse.cz>
5854
5855 * libgcov-driver.c (run_accounted): Make global level static.
5856 (gcov_exit_merge_summary): Silence warning; do not clear
5857 run_accounted here.
5858 (gcov_exit): Clear it here.
5859
5860 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5861 run_accounted.
5862
5863 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5864 (all_prg, crc32): Remove static vars.
5865 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5866 all_prg.
5867 (gcov_exit_merge_gcda): Add crc32 parameter.
5868 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5869 do not account run if it was already accounted.
5870 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5871 (gcov_exit): Initialize all_prg; update.
5872
5873 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5874
5875 * configure: Regenerate.
5876
5877 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5878 Alan Modra <amodra@gmail.com>
5879
5880 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5881 (frob_update_context): Use it.
5882
5883 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5884 Alan Modra <amodra@gmail.com>
5885
5886 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5887 (trampoline_initial): Provide ELFv2 variant.
5888 (__trampoline_setup): Likewise.
5889
5890 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5891 check for AIX indirect function call sequence if _CALL_ELF == 2.
5892
5893 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5894 Alan Modra <amodra@gmail.com>
5895
5896 * config/rs6000/linux-unwind.h (get_regs): Do not support
5897 old kernel versions if _CALL_ELF == 2.
5898 (frob_update_context): Do not support PLT stub variants only
5899 generated by old linkers if _CALL_ELF == 2.
5900
5901 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5902 Alan Modra <amodra@gmail.com>
5903
5904 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5905 location of CR save area for 64-bit little-endian systems.
5906
5907 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5908
5909 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5910 in tmake_file.
5911 * config/arm/t-vxworks: Delete.
5912
5913 2013-11-10 Kai Tietz <ktietz@redhat.com>
5914
5915 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5916 Increment load-count on use of LIBGCC_SONAME DLL.
5917 (hmod_libgcc): New static variable to hold handle of
5918 LIBGCC_SONAME DLL.
5919 (__gcc_deregister_frame): Decrement load-count of
5920 LIBGCC_SONAME DLL.
5921
5922 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5923
5924 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5925 availability.
5926 * configure: Regenerate
5927
5928 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5929
5930 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5931 FP_EX_DENORM. Store result to volatile location after SSE division
5932 to close interrupt window. Remove unneeded fwait after x87
5933 division since interrupt window will be closed by emitted fstp.
5934 Rewrite FP_EX_INEXACT handling.
5935
5936 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5937
5938 * soft-fp/README: Update.
5939 * soft-fp/adddf3.c: Update from glibc.
5940 * soft-fp/addsf3.c: Likewise.
5941 * soft-fp/addtf3.c: Likewise.
5942 * soft-fp/divdf3.c: Likewise.
5943 * soft-fp/divsf3.c: Likewise.
5944 * soft-fp/divtf3.c: Likewise.
5945 * soft-fp/double.h: Likewise.
5946 * soft-fp/eqdf2.c: Likewise.
5947 * soft-fp/eqsf2.c: Likewise.
5948 * soft-fp/eqtf2.c: Likewise.
5949 * soft-fp/extenddftf2.c: Likewise.
5950 * soft-fp/extended.h: Likewise.
5951 * soft-fp/extendsfdf2.c: Likewise.
5952 * soft-fp/extendsftf2.c: Likewise.
5953 * soft-fp/extendxftf2.c: Likewise.
5954 * soft-fp/fixdfdi.c: Likewise.
5955 * soft-fp/fixdfsi.c: Likewise.
5956 * soft-fp/fixdfti.c: Likewise.
5957 * soft-fp/fixsfdi.c: Likewise.
5958 * soft-fp/fixsfsi.c: Likewise.
5959 * soft-fp/fixsfti.c: Likewise.
5960 * soft-fp/fixtfdi.c: Likewise.
5961 * soft-fp/fixtfsi.c: Likewise.
5962 * soft-fp/fixtfti.c: Likewise.
5963 * soft-fp/fixunsdfdi.c: Likewise.
5964 * soft-fp/fixunsdfsi.c: Likewise.
5965 * soft-fp/fixunsdfti.c: Likewise.
5966 * soft-fp/fixunssfdi.c: Likewise.
5967 * soft-fp/fixunssfsi.c: Likewise.
5968 * soft-fp/fixunssfti.c: Likewise.
5969 * soft-fp/fixunstfdi.c: Likewise.
5970 * soft-fp/fixunstfsi.c: Likewise.
5971 * soft-fp/fixunstfti.c: Likewise.
5972 * soft-fp/floatdidf.c: Likewise.
5973 * soft-fp/floatdisf.c: Likewise.
5974 * soft-fp/floatditf.c: Likewise.
5975 * soft-fp/floatsidf.c: Likewise.
5976 * soft-fp/floatsisf.c: Likewise.
5977 * soft-fp/floatsitf.c: Likewise.
5978 * soft-fp/floattidf.c: Likewise.
5979 * soft-fp/floattisf.c: Likewise.
5980 * soft-fp/floattitf.c: Likewise.
5981 * soft-fp/floatundidf.c: Likewise.
5982 * soft-fp/floatundisf.c: Likewise.
5983 * soft-fp/floatunditf.c: Likewise.
5984 * soft-fp/floatunsidf.c: Likewise.
5985 * soft-fp/floatunsisf.c: Likewise.
5986 * soft-fp/floatunsitf.c: Likewise.
5987 * soft-fp/floatuntidf.c: Likewise.
5988 * soft-fp/floatuntisf.c: Likewise.
5989 * soft-fp/floatuntitf.c: Likewise.
5990 * soft-fp/gedf2.c: Likewise.
5991 * soft-fp/gesf2.c: Likewise.
5992 * soft-fp/getf2.c: Likewise.
5993 * soft-fp/ledf2.c: Likewise.
5994 * soft-fp/lesf2.c: Likewise.
5995 * soft-fp/letf2.c: Likewise.
5996 * soft-fp/muldf3.c: Likewise.
5997 * soft-fp/mulsf3.c: Likewise.
5998 * soft-fp/multf3.c: Likewise.
5999 * soft-fp/negdf2.c: Likewise.
6000 * soft-fp/negsf2.c: Likewise.
6001 * soft-fp/negtf2.c: Likewise.
6002 * soft-fp/op-1.h: Likewise.
6003 * soft-fp/op-2.h: Likewise.
6004 * soft-fp/op-4.h: Likewise.
6005 * soft-fp/op-8.h: Likewise.
6006 * soft-fp/op-common.h: Likewise.
6007 * soft-fp/quad.h: Likewise.
6008 * soft-fp/single.h: Likewise.
6009 * soft-fp/soft-fp.h: Likewise.
6010 * soft-fp/subdf3.c: Likewise.
6011 * soft-fp/subsf3.c: Likewise.
6012 * soft-fp/subtf3.c: Likewise.
6013 * soft-fp/truncdfsf2.c: Likewise.
6014 * soft-fp/trunctfdf2.c: Likewise.
6015 * soft-fp/trunctfsf2.c: Likewise.
6016 * soft-fp/trunctfxf2.c: Likewise.
6017 * soft-fp/unorddf2.c: Likewise.
6018 * soft-fp/unordsf2.c: Likewise.
6019 * soft-fp/unordtf2.c: Likewise.
6020
6021 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6022
6023 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6024 (_FP_MUL_MEAT_D): Ditto.
6025 (_FP_DIV_MEAT_S): Ditto.
6026 (_FP_DIV_MEAT_D): Ditto.
6027 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6028 t-softfp-sfdf and t-softfp to tmake_file.
6029
6030 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6031
6032 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6033 * config/i386/crtprec.c: Ditto.
6034
6035 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6036 Shiva Chen <shiva0217@gmail.com>
6037
6038 * config.host (nds32*-elf*): Add nds32 target.
6039 * config/nds32 : New directory and files.
6040
6041 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6042
6043 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6044 * config.host (cpu_type) <Setting default>: Add entry for
6045 crisv32-*-*.
6046 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6047 <crisv32-*-linux*>: Adjust.
6048 * longlong.h: Wrap the whole CRIS section in a single
6049 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6050 and sub_ddmmss.
6051 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6052 defined.
6053 [__CRIS__] (__umulsidi3): Define.
6054 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6055 * config/cris/sfp-machine.h: New file.
6056 * config/cris/umulsidi3.S: New file.
6057 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6058 * config/cris/arit.c (SIGNMULT): New macro.
6059 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6060 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6061 saving 3 out of originally 33 cycles from the fastest
6062 path, 3 out of 54 from the medium path and one from the longest
6063 path. Improve comments.
6064
6065 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6066
6067 * sync.c: Remove static aliases and define each function directly
6068 under its real name.
6069
6070 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6071
6072 * config.host (hppa*64*-*-linux*): Define extra_parts.
6073 (hppa*-*-linux*): Likewise.
6074
6075 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6076
6077 * config/arc/crtgend.S: Add 2013 to Copyright years.
6078 * config/arc/gmon/atomic.h: Likewise.
6079 * config/arc/gmon/auxreg.h: Likewise.
6080 * config/arc/gmon/sys/gmon_out.h: Likewise.
6081 * config/arc/gmon/sys/gmon.h: Likewise.
6082 * config/arc/gmon/prof-freq.c: Likewise.
6083 * config/arc/gmon/mcount.c: Likewise.
6084 * config/arc/gmon/prof-freq-stub.S: Likewise.
6085 * config/arc/gmon/gmon.c: Likewise.
6086 * config/arc/gmon/machine-gmon.h: Likewise.
6087 * config/arc/gmon/profil.S: Likewise.
6088 * config/arc/gmon/dcache_linesz.S: Likewise.
6089 * config/arc/crtg.S: Likewise.
6090 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6091 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6092 * config/arc/ieee-754/adddf3.S: Likewise.
6093 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6094 * config/arc/ieee-754/fixsfsi.S: Likewise.
6095 * config/arc/ieee-754/gtsf2.S: Likewise.
6096 * config/arc/ieee-754/floatsisf.S: Likewise.
6097 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6098 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6099 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6100 * config/arc/ieee-754/fixdfsi.S: Likewise.
6101 * config/arc/ieee-754/addsf3.S: Likewise.
6102 * config/arc/ieee-754/gesf2.S: Likewise.
6103 * config/arc/ieee-754/floatsidf.S: Likewise.
6104 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6105 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6106 * config/arc/ieee-754/gtdf2.S: Likewise.
6107 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6108 * config/arc/ieee-754/uneqdf2.S: Likewise.
6109 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6110 * config/arc/ieee-754/uneqsf2.S: Likewise.
6111 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6112 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6113 * config/arc/ieee-754/eqdf2.S: Likewise.
6114 * config/arc/ieee-754/ordsf2.S: Likewise.
6115 * config/arc/ieee-754/divsf3.S: Likewise.
6116 * config/arc/ieee-754/divdf3.S: Likewise.
6117 * config/arc/ieee-754/floatunsidf.S: Likewise.
6118 * config/arc/ieee-754/orddf2.S: Likewise.
6119 * config/arc/ieee-754/eqsf2.S: Likewise.
6120 * config/arc/ieee-754/gedf2.S: Likewise.
6121 * config/arc/crtn.S: Likewise.
6122 * config/arc/crti.S: Likewise.
6123 * config/arc/t-arc700-uClibc: Likewise.
6124 * config/arc/asm.h: Likewise.
6125 * config/arc/libgcc-excl.ver: Likewise.
6126 * config/arc/t-arc-newlib: Likewise.
6127 * config/arc/divtab-arc700.c: Likewise.
6128 * config/arc/initfini.c: Likewise.
6129 * config/arc/fp-hack.h: Likewise.
6130
6131 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6132 Diego Novillo <dnovillo@google.com>
6133
6134 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6135 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6136 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6137 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6138
6139 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6140 Brendan Kehoe <brendan@zen.org>
6141 Simon Cook <simon.cook@embecosm.com>
6142
6143 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6144 * config/arc: New directory.
6145 * longlong.h [__arc__] (umul_ppmm): Remove.
6146 [__arc__] (__umulsidi3): Define.
6147 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6148 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6149
6150 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6151
6152 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6153 CreateSemaphoreA.
6154 * config/i386/gthr-win32.h: Likewise.
6155
6156 2013-09-16 DJ Delorie <dj@redhat.com>
6157
6158 * config/rl78/vregs.h: Add G10 register definitions.
6159 * config/rl78/lib2mul.c: Enable for RL78/G10.
6160 * config/rl78/lib2div.c: Likewise.
6161 * config/rl78/lshrsi3.S: Use vregs.h.
6162 * config/rl78/cmpsi2.S: Likewise.
6163 * config/rl78/trampoline.S: Likewise.
6164 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6165
6166 2013-09-14 DJ Delorie <dj@redhat.com>
6167 Nick Clifton <nickc@redhat.com>
6168
6169 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6170 * config/rl78/vregs.h: New.
6171 * config/rl78/signbit.S: New file. Implements signbit function.
6172 * config/rl78/divmodsi.S: New.
6173 * config/rl78/divmodhi.S: New.
6174 * config/rl78/divmodqi.S: New.
6175 * config/rl78/t-rl78: Build them here...
6176 * config/rl78/lib2div.c: ...but not here.
6177
6178 2013-09-12 DJ Delorie <dj@redhat.com>
6179
6180 * config.host (msp*-*-elf): New.
6181 * config/msp430/: New port.
6182
6183 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6184
6185 PR gcov-profile/58127
6186 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6187 __thread var for emulated TLS.
6188 (__gcov_indirect_call_counters): Likewise.
6189
6190 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6191 Catherine Moore <clm@codesourcery.com>
6192 Richard Sandiford <rdsandiford@googlemail.com>
6193
6194 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6195 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6196 (CALL_STUB_NO_RET): Likewise.
6197 (CALL_STUB_RET): Likewise.
6198 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6199 __mips16_ret call/return stub symbols.
6200 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6201 to tmake_file.
6202
6203 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6204
6205 * config.host <mips*-*-linux*>: Remove a stray comment.
6206
6207 2013-08-10 Jan Hubicka <jh@suse.cz>
6208
6209 Work around binutils PR14342
6210 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6211 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6212 (L_gcov_indirect_call_profiler_v2): New.
6213
6214 2013-08-06 Jan Hubicka <jh@suse.cz>
6215
6216 * libgcov.c (__gcov_indirect_call_callee,
6217 __gcov_indirect_call_counters): New global vars.
6218 (__gcov_indirect_call_profiler): replace by ...
6219 (__gcov_indirect_call_profiler_v2) ... this one.
6220
6221 2013-08-06 Caroline Tice <cmtice@google.com>
6222
6223 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6224 vtv_start_preinit.o and vtv_end_preinit.o.
6225 * configure.ac: Add code to check/set enable_vtable_verify.
6226 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6227 true.
6228 * vtv_start_preinit.c: New file.
6229 * vtv_end_preinit.c: New file.
6230 * vtv_start.c: New file.
6231 * vtv_end.c: New file.
6232 * configure: Regenerated.
6233
6234 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6235
6236 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6237 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6238 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6239 GPL-3.0-with-GCC-exception.
6240
6241 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6242
6243 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6244 ISA and up.
6245
6246 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6247
6248 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6249 mapping for FPRs when creating the fallback framestate.
6250
6251 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6252
6253 PR target/57516
6254 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6255 (__round_s2_const, __round_u2_const)
6256 (__round_s4_const, __round_u4_const, __round_x8):
6257 Saturate result if addition result cannot be represented.
6258
6259 2013-07-15 Matthias Klose <doko@ubuntu.com>
6260
6261 * libgcc2.c: Don't include <limits.h>.
6262
6263 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6264
6265 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6266
6267 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6268
6269 PR target/29776
6270 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6271
6272 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6273
6274 PR middle-end/36041
6275 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6276 Define.
6277 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6278 instead of table lookups.
6279 (__popcountDI2): Likewise.
6280
6281 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6282
6283 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6284 correctly.
6285
6286 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6287
6288 PR other/53317
6289 * soft-fp/adddf3.c: Update from glibc.
6290 * soft-fp/addsf3.c: Likewise.
6291 * soft-fp/addtf3.c: Likewise.
6292 * soft-fp/divdf3.c: Likewise.
6293 * soft-fp/divsf3.c: Likewise.
6294 * soft-fp/divtf3.c: Likewise.
6295 * soft-fp/double.h: Likewise.
6296 * soft-fp/eqdf2.c: Likewise.
6297 * soft-fp/eqsf2.c: Likewise.
6298 * soft-fp/eqtf2.c: Likewise.
6299 * soft-fp/extenddftf2.c: Likewise.
6300 * soft-fp/extended.h: Likewise.
6301 * soft-fp/extendsfdf2.c: Likewise.
6302 * soft-fp/extendsftf2.c: Likewise.
6303 * soft-fp/fixdfdi.c: Likewise.
6304 * soft-fp/fixdfsi.c: Likewise.
6305 * soft-fp/fixsfdi.c: Likewise.
6306 * soft-fp/fixsfsi.c: Likewise.
6307 * soft-fp/fixtfdi.c: Likewise.
6308 * soft-fp/fixtfsi.c: Likewise.
6309 * soft-fp/fixunsdfdi.c: Likewise.
6310 * soft-fp/fixunsdfsi.c: Likewise.
6311 * soft-fp/fixunssfdi.c: Likewise.
6312 * soft-fp/fixunssfsi.c: Likewise.
6313 * soft-fp/fixunstfdi.c: Likewise.
6314 * soft-fp/fixunstfsi.c: Likewise.
6315 * soft-fp/floatdidf.c: Likewise.
6316 * soft-fp/floatdisf.c: Likewise.
6317 * soft-fp/floatditf.c: Likewise.
6318 * soft-fp/floatsidf.c: Likewise.
6319 * soft-fp/floatsisf.c: Likewise.
6320 * soft-fp/floatsitf.c: Likewise.
6321 * soft-fp/floatundidf.c: Likewise.
6322 * soft-fp/floatundisf.c: Likewise.
6323 * soft-fp/floatunditf.c: Likewise.
6324 * soft-fp/floatunsidf.c: Likewise.
6325 * soft-fp/floatunsisf.c: Likewise.
6326 * soft-fp/floatunsitf.c: Likewise.
6327 * soft-fp/gedf2.c: Likewise.
6328 * soft-fp/gesf2.c: Likewise.
6329 * soft-fp/getf2.c: Likewise.
6330 * soft-fp/ledf2.c: Likewise.
6331 * soft-fp/lesf2.c: Likewise.
6332 * soft-fp/letf2.c: Likewise.
6333 * soft-fp/muldf3.c: Likewise.
6334 * soft-fp/mulsf3.c: Likewise.
6335 * soft-fp/multf3.c: Likewise.
6336 * soft-fp/negdf2.c: Likewise.
6337 * soft-fp/negsf2.c: Likewise.
6338 * soft-fp/negtf2.c: Likewise.
6339 * soft-fp/op-1.h: Likewise.
6340 * soft-fp/op-2.h: Likewise.
6341 * soft-fp/op-4.h: Likewise.
6342 * soft-fp/op-8.h: Likewise.
6343 * soft-fp/op-common.h: Likewise.
6344 * soft-fp/quad.h: Likewise.
6345 * soft-fp/single.h: Likewise.
6346 * soft-fp/soft-fp.h: Likewise.
6347 * soft-fp/subdf3.c: Likewise.
6348 * soft-fp/subsf3.c: Likewise.
6349 * soft-fp/subtf3.c: Likewise.
6350 * soft-fp/truncdfsf2.c: Likewise.
6351 * soft-fp/trunctfdf2.c: Likewise.
6352 * soft-fp/trunctfsf2.c: Likewise.
6353 * soft-fp/unorddf2.c: Likewise.
6354 * soft-fp/unordsf2.c: Likewise.
6355 * soft-fp/unordtf2.c: Likewise.
6356 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6357 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6358 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6359 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6360 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6361 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6362 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6363 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6364 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6365 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6366 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6367 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6368
6369 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6370
6371 * config/mips/lib2funcs.c: New file.
6372 * config/mips/t-mips (LIB2ADD_ST): Add it.
6373
6374 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6375
6376 PR target/6526
6377 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6378 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6379
6380 2013-06-08 Walter Lee <walt@tilera.com>
6381
6382 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6383 Replace int64_t with long long. Add __extension__ where
6384 appropriate.
6385 * config/tilepro/atomic.c: Include config.h.
6386
6387 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6388
6389 * config.host (arm-wrs-vxworks): Configure with other soft float.
6390
6391 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6392
6393 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6394 (mips64r5900el-*-elf*): New configurations.
6395
6396 2013-06-04 Alan Modra <amodra@gmail.com>
6397
6398 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6399
6400 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6401
6402 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6403
6404 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6405
6406 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6407 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6408 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6409
6410 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6411
6412 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6413 (powerpc-wrs-vxworks): Likewise.
6414
6415 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6416
6417 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6418 signal frames as well.
6419 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6420 STACK_BIAS to the CFA offset.
6421
6422 2013-05-17 Richard Henderson <rth@redhat.com>
6423
6424 PR target/49146
6425 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6426 (execute_cfa_program): Use it when storing to fs->regs.
6427
6428 2013-05-08 Kai Tietz <ktietz@redhat.com>
6429
6430 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6431 (__deregister_frame_info): Likewise.
6432
6433 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6434
6435 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6436 NaN's payload.
6437
6438 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6439
6440 2013-04-25 Alan Modra <amodra@gmail.com>
6441
6442 * config.host: Match little-endian powerpc-linux.
6443
6444 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6445
6446 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6447 as 'unsigned long long' instead of 'unsigned long'.
6448 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6449 'signed long'.
6450
6451 2013-04-10 Julian Brown <julian@codesourcery.com>
6452
6453 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6454 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6455 unsigned char/unsigned short.
6456 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6457
6458 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6459
6460 PR other/55274
6461 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6462
6463 2013-04-04 Meador Inge <meadori@codesourcery.com>
6464
6465 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6466 computing the location of the link register.
6467 (aeabi_uldivmod): Ditto.
6468
6469 2013-03-27 Kai Tietz <ktietz@redhat.com>
6470
6471 * config.host: Add support for cygwin x64 target.
6472 * configure: Regenerated.
6473
6474 2013-03-26 Walter Lee <walt@tilera.com>
6475
6476 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6477 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6478
6479 2013-03-25 Kai Tietz <ktietz@redhat.com>
6480
6481 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6482
6483 2013-03-20 Robert Mason <rbmj@verizon.net>
6484
6485 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6486 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6487 (__gthread_leave_tsd_dtor_context): Add prototypes.
6488 (tls_delete_hook): Update.
6489
6490 2013-03-20 Catherine Moore <clm@codesourcery.com>
6491 Joseph Myers <joseph@codesourcery.com>
6492 Chao-ying Fu <fu@mips.com>
6493
6494 * config/mips/mips16.S: Don't build for microMIPS.
6495 * config/mips/linux-unwind.h: Handle microMIPS frame.
6496 * config/mips/crtn.S (fini, init): New labels.
6497
6498 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6499
6500 PR tree-optimization/53265
6501 * unwind-dw2.c (execute_cfa_program): Avoid
6502 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6503 on targets with DWARF_FRAME_REGISTERS < 32.
6504
6505 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6506
6507 PR target/49880
6508 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6509 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6510
6511 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6512
6513 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6514 sandybridge processors.
6515
6516 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6517
6518 PR target/56529
6519 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6520 inclusion list.
6521
6522 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6523
6524 * config/microblaze/crti.S: Setup stack protection at entry
6525
6526 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6527
6528 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6529 (__rotldi3): Shift bytewise if applicable.
6530
6531 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6532
6533 * config/aarch64/sync-cache.c
6534 (__aarch64_sync_cache_range): Silence warnings.
6535
6536 2013-02-25 Catherine Moore <clm@codesourcery.com>
6537
6538 Revert:
6539 2013-02-24 Catherine Moore <clm@codesourcery.com>
6540 Joseph Myers <joseph@codesourcery.com>
6541 Chao-ying Fu <fu@mips.com>
6542
6543 * config/mips/mips16.S: Don't build for microMIPS.
6544 * config/mips/linux-unwind.h: Handle microMIPS frame.
6545 * config/mips/crtn.S (fini, init): New labels.
6546
6547 2013-02-24 Catherine Moore <clm@codesourcery.com>
6548 Joseph Myers <joseph@codesourcery.com>
6549 Chao-ying Fu <fu@mips.com>
6550
6551 * config/mips/mips16.S: Don't build for microMIPS.
6552 * config/mips/linux-unwind.h: Handle microMIPS frame.
6553 * config/mips/crtn.S (fini, init): New labels.
6554
6555 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6556 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6557 as dividend.
6558
6559 2013-02-16 Alan Modra <amodra@gmail.com>
6560
6561 PR target/55431
6562 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6563 (ppc_fallback_frame_state): Always set up save locations for fp
6564 and altivec. Don't bother with non-callee-saved regs, r0-r13
6565 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6566
6567 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6568
6569 PR target/54222
6570 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6571 _ssmulHA, _ssmulSA.
6572 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6573 _ssmulha3, _usmulusa3, _ssmulsa3.
6574 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6575 (__muldi3): XCALL __muldi3_6 instead of rcall.
6576 (__umulsidi3, __mulsidi3): New functions.
6577 (do_prologue_saves, do_epilogue_restores): New .macros.
6578 (__divdi3_moddi3): Use them.
6579 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6580 (__usmulusa3, __ssmulsa3): New functions.
6581
6582 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6583 Jack Howarth <howarth@bromo.med.uc.edu>
6584 Patrick Marlier <patrick.marlier@gmail.com>
6585
6586 PR libitm/55693
6587 * config/darwin-crt-tm.c: Remove dummy functions hack.
6588
6589 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6590
6591 PR target/54222
6592 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6593 * config/avr/lib2-object.mk: New iterator to build objects from it.
6594 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6595 lib2funcs.c.
6596 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6597 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6598 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6599 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6600 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6601 * config/avr/lib1funcs-fixed.S: Implement them.
6602
6603 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6604
6605 Update copyright years.
6606
6607 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6608
6609 PR target/54601
6610 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6611 Add crtcxa to extra_parts.
6612 * config/rs6000/exit.h: New file.
6613 * config/rs6000/cxa_atexit.c: New file.
6614 * config/rs6000/cxa_finalize.c: New file.
6615 * config/rs6000/crtcxa.c: New file.
6616 * config/rs6000/t-aix-cxa: New file.
6617 * config/rs6000/libgcc-aix-cxa.ver: New file.
6618
6619 2013-01-31 Nick Clifton <nickc@redhat.com>
6620
6621 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6622 variant.
6623
6624 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6625
6626 PR target/54222
6627 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6628 _mulQQ, _mulHQ, _mulHA, _mulSA,
6629 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6630 _divQQ, _divHQ, _divHA, _divSA,
6631 _divUQQ, _divUHQ, _divUHA, _divUSA.
6632
6633 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6634
6635 * config.host(microblaze*-linux*): tmake_file: Remove
6636 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6637 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6638 to exclude functions from being built with libgcc.c and use
6639 the microblaze assembly.
6640
6641 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6642
6643 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6644 extra_parts.
6645
6646 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6647
6648 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6649 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6650 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6651 alignment operation.
6652
6653 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6654
6655 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6656 loop start address for cache clearing.
6657
6658 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6659
6660 * config/avr/lib1funcs.S: Remove trailing blanks.
6661 * config/avr/lib1funcs-fixed.S: Ditto.
6662
6663 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6664
6665 * config/avr/avr-lib.h: Add GPL copyright notice.
6666
6667 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6668
6669 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6670 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6671 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6672 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6673
6674 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6675
6676 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6677 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6678
6679 2013-01-04 Nick Clifton <nickc@redhat.com>
6680
6681 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6682 the CALLT instruction is supported.
6683
6684 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6685
6686 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6687 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6688
6689 2012-12-13 John Tytgat <John@bass-software.com>
6690
6691 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6692 is 25.
6693
6694 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6695
6696 PR libgcc/55451
6697 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6698 undefined signed overflows.
6699
6700 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6701
6702 PR target/55344
6703 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6704
6705 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6706
6707 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6708 (FP_TRAPPING_EXCEPTIONS): Define.
6709 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6710 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6711
6712 2012-12-04 Richard Henderson <rth@redhat.com>
6713
6714 PR bootstrap/55571
6715 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6716
6717 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6718
6719 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6720 (FP_EX_SHIFT): Define.
6721 (FP_TRAPPING_EXCEPTIONS): Define.
6722
6723 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6724
6725 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6726 (FP_ROUNDMODE): Use FP_RND_MASK.
6727 * config/aarch64/sfp-exceptions.c: New.
6728 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6729 Use __sfp_handle_exceptions.
6730
6731 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6732
6733 * config.host: (arm*-*-freebsd*): Remove.
6734 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6735 (arm*-*-elf*): Remove.
6736 (arm*-*-wince-pe*): Remove.
6737 * arm/unwind-arm.c (struct fpa_reg): Delete.
6738 (struct fpa_regs): Delete.
6739 (phase1_vrs): Remove fpa element.
6740 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6741 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6742 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6743 * ieee754-sf.S (floatundisf): Remove FPA support.
6744 (floatdisf): Likewise.
6745 * ieee75f-df.S (floatundidf): Likewise.
6746 (floatdidf): Likewise.
6747
6748 2012-11-29 Kai Tietz <ktietz@redhat.com>
6749
6750 PR target/55445
6751 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6752 * unwind-generic.h: Likewise.
6753 * unwind-seh.c: Likewise.
6754
6755 2012-11-28 Richard Henderson <rth@redhat.com>
6756
6757 PR libgcc/48076
6758 * emutls.c (__emutls_get_address): Avoid race condition between
6759 obj->loc.offset read and emutls_key initialization.
6760
6761 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6762
6763 Adjust decimal point of signed accum mode to GCC default.
6764
6765 PR target/54222
6766 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6767 _divqq_helper.
6768 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6769 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6770 (__mulha3, __mulsa3)
6771 (__divqq3, __divha3, __divsa3): Adjust to new position of
6772 decimal point of signed accum types.
6773
6774 (__mulusa3_round): New function.
6775 (__mulusa3): Use it.
6776 (__divqq_helper): New function.
6777 (__udivuqq3): Use it.
6778
6779 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6780
6781 PR bootstrap/55370
6782 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6783
6784 2012-11-18 Teresa Johnson <tejohnson@google.com>
6785
6786 PR bootstrap/55051
6787 * libgcov.c (gcov_exit): Remove merged program summary
6788 comparison unless !GCOV_LOCKED.
6789
6790 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6791
6792 * soft-fp: Updated from glibc upstream.
6793
6794 2012-11-06 Ian Lance Taylor <iant@google.com>
6795
6796 * generic-morestack.c (__generic_morestack): Align the returned
6797 stack pointer to a 32 byte boundary.
6798 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6799 increment the return address until we have decided that we don't
6800 have a varargs function.
6801 (__morestack) [32-bit]: Align stack correctly when calling C
6802 functions.
6803 (__morestack) [64-bit]: Likewise.
6804
6805 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6806
6807 * configure: Regenerate.
6808
6809 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6810
6811 PR target/55175
6812 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6813 * config/i386/sfp-machine.h: Guard exception handling
6814 code with _SOFT_FLOAT.
6815 * config/i386/32/sfp-machine.h: Guard rounding handling
6816 code with _SOFT_FLOAT.
6817 * config/i386/64/sfp-machine.h: Ditto.
6818
6819 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6820
6821 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6822 as extra_parts.
6823
6824 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6825
6826 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6827 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6828 when appropriate. Correct structure element types.
6829 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6830 -minline-all-stringops from compile flags.
6831
6832 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6833
6834 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6835
6836 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6837
6838 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6839
6840 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6841
6842 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6843 tmake_file.
6844
6845 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6846 Jim MacArthur <jim.macarthur@arm.com>
6847 Marcus Shawcroft <marcus.shawcroft@arm.com>
6848 Nigel Stephens <nigel.stephens@arm.com>
6849 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6850 Richard Earnshaw <rearnsha@arm.com>
6851 Sofiane Naci <sofiane.naci@arm.com>
6852 Stephen Thomas <stephen.thomas@arm.com>
6853 Tejas Belagod <tejas.belagod@arm.com>
6854 Yufeng Zhang <yufeng.zhang@arm.com>
6855
6856 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6857 * config/aarch64/crti.S: New file.
6858 * config/aarch64/crtn.S: New file.
6859 * config/aarch64/linux-unwind.h: New file.
6860 * config/aarch64/sfp-machine.h: New file.
6861 * config/aarch64/sync-cache.c: New file.
6862 * config/aarch64/t-aarch64: New file.
6863 * config/aarch64/t-softfp: New file.
6864
6865 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6866
6867 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6868 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6869 no-longer-needed LDBU insns.
6870
6871 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6872
6873 * config.host
6874 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6875 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6876
6877 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6878
6879 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6880
6881 2012-10-15 Matthias Klose <doko@ubuntu.com>
6882
6883 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6884
6885 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6886
6887 * configure: Regenerate.
6888 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6889
6890 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6891
6892 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6893 instructions for 64bit targets only.
6894
6895 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6896
6897 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6898 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6899 * config/i386/32/sfp-machine.h: ... here.
6900 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6901 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6902 New defines.
6903
6904 2012-10-07 Matthias Klose <doko@ubuntu.com>
6905
6906 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6907 as unused.
6908 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6909
6910 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6911
6912 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6913 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6914 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6915 (ElfW): Likewise.
6916
6917 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6918
6919 PR other/53889
6920 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6921 Fix parameter names.
6922
6923 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6924
6925 PR target/33135
6926 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6927 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6928 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6929
6930 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6931
6932 PR target/50457
6933 * config/sh/linux-atomic.S: Delete.
6934 * config/sh/linux-atomic.c: New.
6935 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6936 linux-atomic.c. Add cflags to disable warnings.
6937
6938 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6939
6940 PR other/53889
6941 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6942 function.
6943 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6944 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6945 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6946 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6947 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6948 Likewise.
6949 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6950 Likewise.
6951 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6952 Likewise.
6953 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6954 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6955
6956 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6957
6958 * config.host (hppa-*-openbsd*): New target.
6959 * config/pa/t-openbsd: New file.
6960
6961 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6962
6963 PR target/54222
6964 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6965 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6966 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6967 (__divsa3): Use __negsi2 to negate r_quoL.
6968 * config/avr/lib1funcs.S (FALIAS): New macro.
6969 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6970 (__negsi2): ...this new function.
6971 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6972 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6973 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6974 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6975 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6976 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6977
6978 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6979
6980 PR target/54089
6981 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6982 (lshrsi3): Reimplement as lshrsi3_r0.
6983
6984 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6985
6986 PR target/46191
6987 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6988 of libgcc.a.
6989
6990 2012-09-07 Teresa Johnson <tejohnson@google.com>
6991
6992 PR gcov-profile/54487
6993 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6994 differences.
6995
6996 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6997
6998 PR target/54461
6999 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7000 not configured --with-avrlibc=no.
7001 * config/avr/t-avrlibc: New file.
7002 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7003 (DPBIT_FUNCS): Ditto.
7004 (TPBIT_FUNCS): Ditto.
7005
7006 2012-09-04 Teresa Johnson <tejohnson@google.com>
7007
7008 * libgcov.c (struct gcov_summary_buffer): New structure.
7009 (gcov_histogram_insert): New function.
7010 (gcov_compute_histogram): Ditto.
7011 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7012 histograms during summary merging.
7013
7014 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7015
7016 * config.host (x86_64-*-openbsd*): New target.
7017
7018 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7019
7020 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7021 attribute.
7022
7023 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7024
7025 PR target/54222
7026 * config/avr/t-avr (conv_X): Rename to func_X.
7027
7028 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7029
7030 PR target/54222
7031 * config/avr/lib1funcs-fixed.S: New file.
7032 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7033 after they are used.
7034 (neg2, neg4): New macros.
7035 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7036 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7037 (__umulhisi3): Speed up MUL variant if there is enough flash.
7038 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7039 avr-modes.def.
7040 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7041 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7042 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7043 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7044 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7045 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7046 (LIB2FUNCS_EXCLUDE): Add supported functions.
7047
7048 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7049
7050 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7051 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7052 libgcc-s-objects.
7053 * fixed-obj.mk: Only expand dependency if $o is not in
7054 LIB2FUNCS_EXCLUDE.
7055
7056 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7057
7058 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7059
7060 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7061
7062 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7063 depend on --enable-shared.
7064 ($(lib1asmfuncs-o)): Use %.vis files independent of
7065 --enable-shared.
7066 * static-object.mk ($(base)$(objext), $(base).vis)
7067 ($(base)_s$(objext)): Use same rules for visibility handling as in
7068 shared-object.mk.
7069
7070 2012-08-21 Ian Lance Taylor <iant@google.com>
7071
7072 * config/i386/morestack.S (__morestack_non_split): Increase amount
7073 of space allocated for non-split code stack.
7074
7075 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7076
7077 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7078 even if inhibit_libc.
7079
7080 2012-08-17 Julian Brown <julian@codesourcery.com>
7081
7082 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7083 -fexceptions -fnon-call-exceptions if not defined.
7084 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7085 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7086
7087 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7088
7089 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7090 type.
7091
7092 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7093
7094 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7095 rs6000/t-slibgcc-aix.
7096
7097 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7098
7099 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7100
7101 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7102
7103 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7104
7105 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7106
7107 PR driver/54171
7108 * Makefile.in (version): Replace top_srcdir with srcdir.
7109
7110 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7111
7112 * Makefile.in (version): set to BASE-VER file from gcc directory.
7113
7114 2012-08-01 Nick Clifton <nickc@redhat.com>
7115
7116 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7117 Implements __clrsb for an HImode argument.
7118
7119 2012-07-31 Nick Clifton <nickc@redhat.com>
7120
7121 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7122 Implements __clrsb for an HImode argument.
7123 * config/stormy16/clrsbhi2.c: New file:
7124 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7125
7126 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7127
7128 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7129
7130 2012-07-19 Tristan Gingold <gingold@adacore.com>
7131 Richard Henderson <rth@redhat.com>
7132
7133 * unwind-seh.c: New file.
7134 * unwind-generic.h: Include windows.h for SEH.
7135 (_Unwind_Exception): Use 6 private fields for SEH.
7136 (_GCC_specific_handler): Declare.
7137 * unwind-c.c (__gcc_personality_seh0): New function.
7138 Adjust for SEH.
7139 * config/i386/libgcc-cygming.ver: New file.
7140 * config/i386/t-seh-eh: New file.
7141 * config.host (x86_64-*-mingw*): Default to seh.
7142
7143 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7144
7145 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7146
7147 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7148
7149 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7150 __builtin_expect when checking for exceptions.
7151 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7152
7153 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7154
7155 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7156 function declaration.
7157 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7158 (FP_RND_MASK): New.
7159 * config/ia64/sfp-exceptions.c: New.
7160 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7161
7162 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7163
7164 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7165 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7166 * config/i386/64/sfp-machine: ... (delete here) ...
7167 * config/i386/sfp-machine.h: ... to here.
7168 (FP_EX_MASK): Remove.
7169 (FP_RND_MASK): New.
7170 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7171
7172 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7173
7174 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7175 * config/i386/libgcc-sol2.ver: Ditto.
7176 * config/i386/libgcc-glibc.ver: Ditto.
7177
7178 2012-06-11 Roland McGrath <mcgrathr@google.com>
7179
7180 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7181 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7182 pthread_cancel.
7183
7184 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7185
7186 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7187 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7188 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7189 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7190 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7191 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7192 * config/i386/64/sfp-machine: ... (delete here) ...
7193 * config/i386/sfp-machine.h: ... to here.
7194 (FP_EX_MASK): New.
7195 (__sfp_handle_exceptions): New function declaration.
7196 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7197 * config/i386/sfp-exceptions.c: New.
7198 * config/i386/t-softfp: New.
7199 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7200 i386/t-softfp to tmake_file.
7201
7202 2012-06-03 David S. Miller <davem@davemloft.net>
7203
7204 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7205 change.
7206
7207 2012-05-31 David S. Miller <davem@davemloft.net>
7208
7209 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7210 multiply and divide instructions on 32-bit when V9.
7211 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7212
7213 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7214
7215 * config/arm/ieee754-df.S: Fix typos.
7216 * config/arm/ieee754-sf.S: Fix typos.
7217 * config/c6x/libunwind.S: Fix typos.
7218 * config/epiphany/udivsi3-float.c: Fix typos.
7219 * config/microblaze/muldi3_hard.S: Fix typos.
7220 * config/picochip/adddi3.S: Fix typos.
7221 * config/picochip/ashlsi3.S: Fix typos.
7222 * config/picochip/ashrsi3.S: Fix typos.
7223 * config/picochip/clzsi2.S: Fix typos.
7224 * config/picochip/cmpsi2.S: Fix typos.
7225 * config/picochip/divmod15.S: Fix typos.
7226 * config/picochip/divmodhi4.S: Fix typos.
7227 * config/picochip/divmodsi4.S: Fix typos.
7228 * config/picochip/longjmp.S: Fix typos.
7229 * config/picochip/lshrsi3.S: Fix typos.
7230 * config/picochip/parityhi2.S: Fix typos.
7231 * config/picochip/popcounthi2.S: Fix typos.
7232 * config/picochip/setjmp.S: Fix typos.
7233 * config/picochip/subdi3.S: Fix typos.
7234 * config/picochip/ucmpsi2.S: Fix typos.
7235 * config/picochip/udivmodhi4.S: Fix typos.
7236 * config/picochip/udivmodsi4.S: Fix typos.
7237 * config/spu/divv2df3.c: Fix typos.
7238 * config/spu/mfc_multi_tag_release.c: Fix typos.
7239 * config/spu/mfc_tag_release.c: Fix typos.
7240 * configure.ac: Fix typos.
7241 * configure: Regenerate.
7242
7243 2012-05-25 Ian Lance Taylor <iant@google.com>
7244
7245 * config/i386/morestack.S (__morestack_non_split): Check whether
7246 caller is varargs and needs %bp to hold the stack frame on return.
7247
7248 2012-05-25 Olivier Hainque <hainque@adacore.com>
7249
7250 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7251 sequence in the non pic case on VxWorks.
7252
7253 2012-05-24 Olivier Hainque <hainque@adacore.com>
7254
7255 * Makefile.in: Move dependency on install-unwind_h from
7256 "install-leaf" to "install".
7257
7258 2012-05-24 Olivier Hainque <hainque@adacore.com>
7259
7260 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7261 Use a separate command for stamp removals.
7262
7263 2012-05-21 Andrew Pinski <apinski@cavium.com>
7264
7265 PR bootstrap/53183
7266 * configure.ac: Define the default includes to being none.
7267 * configure: Regenerate.
7268
7269 2012-05-16 Olivier Hainque <hainque@adacore.com>
7270
7271 * Makefile.in (install-unwind_h): Rename into ...
7272 (install-unwind_h-forbuild): New target.
7273 (all): Use it instead of the former install-unwind_h.
7274 (install-unwind_h): Reinstate, copy to user install destination
7275 for include files, not to the internal gcc object directory one.
7276 (install-leaf): Depend on it.
7277
7278 2012-05-15 Olivier Hainque <hainque@adacore.com>
7279
7280 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7281 register numbers. LR_REGNO replaces R_LR.
7282 (ucontext_for): New, helper for ...
7283 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7284 and 5.3 of ...
7285 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7286
7287 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7288
7289 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7290 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7291 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7292 i386/t-cpuinfo ...
7293 (i[34567]86-*-*, x86_64-*-*): ... here.
7294
7295 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7296 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7297
7298 * config/i386/i386-cpuinfo.c: Rename to ...
7299 * config/i386/cpuinfo.c: ... this.
7300 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7301
7302 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7303 (libgcc_cv_init_priority): New test.
7304 * configure: Regenerate.
7305 * config.in: New file.
7306 * Makefile.in (clean): Rename config.h to auto-target.h.
7307 (config.h): Likewise.
7308 (stamp-h): Likewise.
7309
7310 * config/i386/cpuinfo.c (auto-target.h): Include.
7311 (CONSTRUCTOR_PRIORITY): Define.
7312 (__cpu_indicator_init): Use it.
7313
7314 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7315
7316 * longlong.h: Use a URL instead of an FSF postal address.
7317 Replace spaces with tab.
7318
7319 2012-05-08 Teresa Johnson <tejohnson@google.com>
7320
7321 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7322 (__gcov_dump): Ditto.
7323 (gcov_dump_complete): New global variable.
7324 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7325 (__gcov_flush): Outline functionality now in gcov_clear.
7326 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7327
7328 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7329
7330 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7331 (mips*-*-linux*): Include mips/t-tpbit when long double is
7332 16 bytes long.
7333
7334 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7335
7336 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7337 (get_available_features): New argument. Check for AVX2.
7338 (__cpu_indicator_init): Modify call to get_available_features.
7339
7340 2012-04-25 Alan Modra <amodra@gmail.com>
7341
7342 * config/rs6000/crtsavevr.S: New file.
7343 * config/rs6000/crtrestvr.S: New file.
7344 * config/rs6000/t-savresfgpr: Build the above.
7345 * config/rs6000/t-netbsd: Likewise.
7346
7347 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7348
7349 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7350
7351 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7352
7353 * libgcc/config/i386/i386-cpuinfo.c: New file.
7354 * libgcc/config/i386/t-cpuinfo: New file.
7355 * libgcc/config.host: Include t-cpuinfo.
7356 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7357
7358 2012-04-24 Chao-ying Fu <fu@mips.com>
7359
7360 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7361
7362 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7363
7364 struct siginfo vs. siginfo_t
7365
7366 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7367 siginfo_t instead of struct siginfo.
7368 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7369 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7370 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7371 (ia64_handle_unwabi): Likewise.
7372 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7373 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7374 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7375 (sh_fallback_frame_state): Likewise.
7376 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7377 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7378
7379 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7380
7381 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7382 system call number.
7383
7384 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7385
7386 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7387 if it hasn't been previously saved.
7388
7389 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7390
7391 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7392 only for glibc.
7393
7394 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7395
7396 PR target/52737
7397 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7398 instead of __AVR_HAVE_8BIT_SP__.
7399
7400 2012-03-26 Tristan Gingold <gingold@adacore.com>
7401
7402 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7403 (unw_table_entry): Use unw_word instead of unsigned long.
7404 (_Unwind_FindTableEntry): Likewise.
7405 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7406 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7407 (_Unwind_FindTableEntry): Likewise.
7408 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7409 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7410 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7411 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7412 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7413 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7414 (uw_init_context_1, uw_install_context): Likewise.
7415 (unw_word): Move to unwind-ia64.h
7416
7417 2012-03-26 Tristan Gingold <gingold@adacore.com>
7418
7419 * config/vms/vms-ucrt0.c: Update copyright years.
7420 Add a sanity check.
7421 (___gcc_main_flags): Declare.
7422 (__main): Check flags to remap argv and exit code.
7423 * config.host (*-*-*vms*): Adjust extra_parts.
7424 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7425 (crt0.o): Add.
7426
7427 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7428
7429 * arm/lib1funcs.asm (ctzsi2): New function.
7430 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7431 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7432 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7433 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7434 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7435 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7436
7437 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7438
7439 * config.host: Add bits to support powerpc64-*-freebsd*.
7440 * config/rs6000/freebsd-unwind.h: New file.
7441 * config/rs6000/t-freebsd64: New file.
7442
7443 2012-03-20 Richard Guenther <rguenther@suse.de>
7444
7445 PR gcov-profile/52627
7446 * libgcov.c (init_mx): Fix mutex name.
7447
7448 2012-03-16 Tristan Gingold <gingold@adacore.com>
7449
7450 * config/ia64/vms-unwind.h: Remove ulong (and replace
7451 it by unw_reg where used). Define unw_reg with __int64.
7452
7453 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7454
7455 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7456 Solaris 8 handling.
7457 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7458 Solaris 8 handling.
7459 (sparc_is_sighandler): Likewise.
7460
7461 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7462
7463 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7464 <= saved reg size.
7465
7466 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7467
7468 * config/arm/crtn.S: Fix typo.
7469
7470 2012-03-13 Richard Guenther <rguenther@suse.de>
7471
7472 * libgcov.c: Remove stdio.h include and NULL un-define.
7473
7474 2012-03-13 Richard Guenther <rguenther@suse.de>
7475
7476 PR target/52569
7477 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7478
7479 2012-03-13 Richard Guenther <rguenther@suse.de>
7480
7481 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7482
7483 2012-03-13 Richard Guenther <rguenther@suse.de>
7484
7485 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7486 and __gthread_mutex_init_function definitions.
7487
7488 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7489
7490 * config.host (mips*-*-openbsd*): Remove.
7491
7492 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7493
7494 * config.host: Remove alpha*-dec-osf5.1* handling.
7495 * config/alpha/gthr-posix.c: Remove.
7496 * config/alpha/libgcc-osf5.ver: Remove.
7497 * config/alpha/osf5-unwind.h: Remove.
7498 * config/alpha/t-osf-pthread: Remove.
7499 * config/alpha/t-slibgcc-osf: Remove.
7500 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7501 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7502 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7503 * mkmap-flat.awk: Remove osf_export handling.
7504
7505 2012-03-12 Richard Guenther <rguenther@suse.de>
7506
7507 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7508 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7509 (__gthread_mutex_init_function): New function.
7510 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7511
7512 PR gcov/49484
7513 * libgcov.c: Include gthr.h.
7514 (__gcov_flush_mx): New global variable.
7515 (init_mx, init_mx_once): New functions.
7516 (__gcov_flush): Protect self with a mutex.
7517 (__gcov_fork): Re-initialize mutex after forking.
7518 * unwind-dw2-fde.c: Change condition under which to use
7519 __GTHREAD_MUTEX_INIT_FUNCTION.
7520
7521 2012-03-12 Tristan Gingold <gingold@adacore.com>
7522
7523 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7524 * config/ia64/t-vms: Likewise.
7525
7526 2012-03-11 Michael Hope <michael.hope@linaro.org>
7527
7528 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7529 for Thumb-2.
7530
7531 2012-03-07 Walter Lee <walt@tilera.com>
7532
7533 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7534 "arch_atomic_".
7535 (atomic_xor): Rename and move definition to
7536 config/tilepro/atomic.h.
7537 (atomic_nand): Ditto.
7538 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7539 "arch_atomic_".
7540 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7541 (arch_atomic_nand): Ditto.
7542
7543 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7544
7545 PR target/52507
7546 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7547
7548 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7549
7550 PR target/52505
7551 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7552 from RAM.
7553
7554 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7555
7556 PR target/52461
7557 PR target/52508
7558 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7559 if RAMPZ affects reading from RAM.
7560 (__tablejump_elpm__): Ditto.
7561 (.xload): Ditto.
7562 (__movmemx_hi): Ditto.
7563 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7564 (__do_global_dtors): Ditto.
7565 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7566 (__movmemx_hi): Ditto.
7567
7568 2012-03-05 Richard Henderson <rth@redhat.com>
7569
7570 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7571 [ARM] (count_trailing_zeros): Use the builtin.
7572
7573 2012-03-01 Kai Tietz <ktietz@redhat.com>
7574
7575 * soft-fp: Imported from glibc upstream.
7576
7577 2012-02-28 Kai Tietz <ktietz@redhat.com>
7578
7579 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7580 for mingw-targets as attribute gcc_struct.
7581
7582 2012-02-28 Ian Lance Taylor <iant@google.com>
7583
7584 * generic-morestack.c (__splitstack_releasecontext): Correct call
7585 to __morestack_release_segments.
7586
7587 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7588
7589 PR target/52390
7590 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7591 for __linux__ when removing signals from __morestack_fullmask.
7592
7593 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7594
7595 PR target/52261
7596 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7597
7598 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7599
7600 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7601 instead of HAVE_INITFINI_ARRAY.
7602 * config/ia64/crtend.S: Likewise.
7603
7604 2012-02-20 Kai Tietz <ktietz@redhat.com>
7605
7606 PR libstdc++/52300
7607 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7608
7609 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7610 to w32-unwind.h header.
7611
7612 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7613
7614 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7615 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7616 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7617 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7618
7619 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7620
7621 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7622
7623 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7624
7625 PR libitm/52220
7626 * config/darwin-crt-tm.c: Correct typo.
7627
7628 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7629 Patrick Marlier <patrick.marlier@gmail.com>
7630
7631 PR libitm/52220
7632 * config/darwin-crt-tm.c: Generate dummy functions.
7633
7634 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7635 Patrick Marlier <patrick.marlier@gmail.com>
7636
7637 PR libitm/52042
7638 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7639 (__doTMRegistrations): Call it.
7640 (__doTMdeRegistrations): Likewise.
7641
7642 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7643 Anatoly Sokolov <aesok@post.ru>
7644 Eric Weddington <eric.weddington@atmel.com>
7645
7646 PR target/52261
7647 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7648 (__epilogue_restores__): Ditto.
7649
7650 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7651
7652 PR target/51921
7653 PR target/52205
7654 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7655 Solaris 11 and slightly reformat.
7656 (sparc_is_sighandler): Likewise.
7657
7658 2012-02-14 Walter Lee <walt@tilera.com>
7659
7660 * config.host: Handle tilegx and tilepro.
7661 * config/tilegx/sfp-machine.h: New file.
7662 * config/tilegx/sfp-machine32.h: New file.
7663 * config/tilegx/sfp-machine64.h: New file.
7664 * config/tilegx/t-crtstuff: New file.
7665 * config/tilegx/t-softfp: New file.
7666 * config/tilegx/t-tilegx: New file.
7667 * config/tilepro/atomic.c: New file.
7668 * config/tilepro/atomic.h: New file.
7669 * config/tilepro/linux-unwind.h: New file.
7670 * config/tilepro/sfp-machine.h: New file.
7671 * config/tilepro/softdivide.c: New file.
7672 * config/tilepro/softmpy.S: New file.
7673 * config/tilepro/t-crtstuff: New file.
7674 * config/tilepro/t-tilepro: New file.
7675
7676 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7677
7678 PR libstdc++/51296
7679 PR libstdc++/51906
7680 * gthr-posix.h: Allow static initializer macros to be disabled.
7681 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7682
7683 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7684
7685 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7686 Add t-slibgcc-libgcc to tmake_file.
7687 * config/mips/libgcc-mips16.ver: Revert previous patch.
7688 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7689
7690 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7691 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7692
7693 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7694 * config/cr16/crti.S: New file.
7695 * config/cr16/crtlibid.S: New file.
7696 * config/cr16/crtn.S: New file.
7697 * config/cr16/lib1funcs.S: New file.
7698 * config/cr16/t-cr16: New file.
7699 * config/cr16/t-crtlibid: New file.
7700 * config/cr16/unwind-dw2.h: New file.
7701 * config/cr16/unwind-cr16.c: New file.
7702 * config/cr16/divmodhi3.c: New file.
7703
7704 2012-01-25 Alan Modra <amodra@gmail.com>
7705
7706 * config/rs6000/t-linux64: Delete. Move..
7707 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7708 * config/rs6000/t-linux: ..and libgcc flags to here.
7709
7710 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7711
7712 * config.host (i[34567]86-*-interix3*):
7713 Change triplet to i[34567]86-*-interix[3-9]*.
7714 * configure: Regenerate.
7715
7716 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7717 Richard Sandiford <rdsandiford@googlemail.com>
7718
7719 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7720 * config/mips/mips16.S (__mips16_rdhwr): New function.
7721 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7722
7723 2012-01-11 Nathan Sidwell <nathan@acm.org>
7724
7725 * libgcov.c (__gcov_init): Ignore objects with no functions.
7726
7727 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7728
7729 PR target/49868
7730 Extend __pgmx semantics to linearize memory.
7731 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7732 * config/avr/lib1funcs.S (__xload_1): New function.
7733 (__movmemx_qi, __movmemx_hi): New functions.
7734 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7735 semantics.
7736
7737 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7738
7739 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7740 purported sigacthandler address isn't null before dereferencing it.
7741 (sparc_is_sighandler): Likewise.
7742
7743 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7744
7745 PR ada/41929
7746 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7747 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7748 (sparc_is_sighandler): Likewise.
7749 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7750
7751 2012-01-06 Tristan Gingold <gingold@adacore.com>
7752
7753 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7754 compatibility thunks...
7755 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7756 (crtbeginS.o, crtendS.o): ... and these to ...
7757 * config/ia64/t-ia64-elf: ... this new file.
7758 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7759 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7760
7761 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7762
7763 * configure: Regenerate.
7764 * config/s390/t-crtstuff: Remove -fPIC.
7765
7766 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7767
7768 PR bootstrap/51006
7769 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7770 for NetBSD.
7771
7772 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7773
7774 PR target/51345
7775 * config/avr/lib1funcs.S: Remove FIXME comments.
7776 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7777
7778 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7779
7780 Implement light-weight DImode support.
7781 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7782 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7783 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7784 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7785
7786 2011-12-30 Nathan Sidwell <nathan@acm.org>
7787
7788 * libgcov.c (gcov_crc32): Remove global var.
7789 (free_fn_data): New function.
7790 (buffer_fn_data): Pass in filename, more robust error recovery.
7791 (crc32_unsigned): New function.
7792 (gcov_exit): More robust detection of new program. More robust
7793 error recovery.
7794 (__gcov_init): Do not update program's crc here.
7795
7796 2011-12-21 Tristan Gingold <gingold@adacore.com>
7797
7798 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7799
7800 2011-12-21 Ian Lance Taylor <iant@google.com>
7801
7802 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7803
7804 2011-12-20 Ian Lance Taylor <iant@google.com>
7805
7806 * config/i386/morestack.S (__morestack_non_split): If there is
7807 enough stack space already, don't split. Ask for more stack space
7808 than we required.
7809
7810 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7811
7812 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7813 `sys/sdt.h'.
7814 (_Unwind_DebugHook): New function.
7815 (uw_restore_core_regs): New define.
7816 (unwind_phase2): Use uw_restore_core_regs instead of
7817 restore_core_regs.
7818 (unwind_phase2_forced): Likewise.
7819 (__gnu_Unwind_Resume): Likewise.
7820
7821 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7822
7823 * config/alpha/linux-unwind.h: Update copyright years.
7824 (MD_FROB_UPDATE_CONTEXT): New define.
7825 (alpha_frob_update_context): New function.
7826
7827 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7828
7829 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7830 tmake_file rather replacing it.
7831
7832 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7833
7834 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7835 function is not used for PPC64.
7836 (save_world): Amend comments. Update the VRsave mask to reflect the
7837 saved regs.
7838 (rest_world): Update comments, do not clobber r10, do not use r8.
7839 (eh_rest_world_r10): Amend comments, do not use r8.
7840 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7841 no longer used, move restore of CR and target address to the end of
7842 the routine.
7843
7844 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7845
7846 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7847 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7848
7849 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7850
7851 PR target/49313
7852 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7853 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7854
7855 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7856
7857 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7858
7859 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7860
7861 PR target/49313
7862 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7863 * config/avr/lib1funcs.S (__muldi3): New function.
7864
7865 2011-12-06 Andrew Pinski <apinski@cavium.com>
7866
7867 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7868 size of func_ptr.
7869 (__frame_dummy_init_array_entry): Likewise.
7870
7871 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7872
7873 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7874
7875 PR target/51345
7876 PR target/51002
7877 * config/avr/lib1funcs.S (__prologue_saves__,
7878 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7879 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7880
7881 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7882
7883 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7884
7885 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7886
7887 PR other/51272
7888 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7889 (_ITM_deregisterTMCloneTable): Likewise.
7890 (__register_frame_info): Fix unused warning.
7891 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7892 pthread_default_stacksize_np): Likewise.
7893 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7894
7895 2011-11-29 DJ Delorie <dj@redhat.com>
7896
7897 * config.host (rl78-*-elf): New case.
7898 * config/rl78: New directory for the Renesas RL78.
7899
7900 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7901
7902 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7903 formatting.
7904
7905 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7906
7907 PR other/51022
7908 * config/rs6000/t-savresfgpr: New file.
7909 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7910 $(srcdir)/config/rs6000/eabi.S.
7911 * config/rs6000/t-ppccomm-ldbl: Remove.
7912 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7913 tmake_file.
7914 (powerpc-*-eabispe*): Likewise.
7915 (powerpc-*-eabi*): Likewise.
7916 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7917 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7918 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7919 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7920 tmake_file.
7921 (powerpc-*-eabisim*): Likewise.
7922 (powerpc-*-elf*): Likewise.
7923 (powerpc-*-eabialtivec*): Likewise.
7924 (powerpc-xilinx-eabi*): Likewise.
7925 (powerpc-*-rtems*): Likewise.
7926 (powerpcle-*-elf*): Likewise.
7927 (powerpcle-*-eabisim*): Likewise.
7928 (powerpcle-*-eabi*): Likewise.
7929
7930 2011-11-27 Ian Lance Taylor <iant@google.com>
7931
7932 * generic-morestack.c (__splitstack_find): Check for NULL old
7933 stack value.
7934 (__splitstack_resetcontext): New function.
7935 (__splitstack_releasecontext): New function.
7936 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7937
7938 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7939
7940 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7941
7942 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7943
7944 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7945
7946 2011-11-26 Richard Henderson <rth@redhat.com>
7947
7948 * config/m68k/linux-atomic.c: New file.
7949 * config/m68k/t-linux: New file.
7950 * config.host (m68k-uclinux, m68k-linux): Use it.
7951
7952 2011-11-26 Richard Henderson <rth@redhat.com>
7953
7954 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7955 (__TMC_END__): Only declare if hidden is available; in the definition,
7956 if hidden is unavailable add a null record.
7957 (deregister_tm_clones, register_tm_clones): New.
7958 (__do_global_dtors_aux, frame_dummy): Use them.
7959 (__do_global_dtors, __do_global_ctors_1): Likewise.
7960
7961 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7962
7963 * config/darwin-crt-tm.c: New file.
7964 * config.host (darwin): Build crttms.o crttme.o to provide
7965 startup and shutdown for tm clones.
7966 * config/t-darwin (crttms.o): New build rule.
7967 (crttme.o): Likewise.
7968
7969 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7970
7971 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7972 et al.
7973
7974 2011-11-21 Richard Henderson <rth@redhat.com>
7975
7976 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7977 (__TMC_LIST__, __TMC_END__): New.
7978 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7979 (__do_global_dtors): Likewise.
7980 (frame_dummy): Call _ITM_registerTMCloneTable.
7981 (__do_global_ctors_1): Likewise.
7982
7983 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7984
7985 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7986 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7987 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7988 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7989 * config/i386/t-darwin64: Remove.
7990 * config/sh/t-netbsd (LIB2ADD): Remove.
7991
7992 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7993
7994 PR target/49313
7995 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7996 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7997 * config/avr/lib1funcs.S (wmov): New assembler macro.
7998 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7999 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8000 (__udivmod64): New function.
8001 (__negdi2): New function.
8002
8003 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8004
8005 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8006 *-*-freebsd*aout*): Remove.
8007
8008 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8009
8010 * static-object.mk (c_flags-$o): Save c_flags.
8011 ($(base)$(objext)): Use it.
8012
8013 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8014
8015 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8016
8017 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8018
8019 PR target/49868
8020 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8021 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8022 New functions.
8023
8024 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8025
8026 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8027 functions.
8028 (aeabi_uidivmod): Likewise.
8029 (umodsi3): Likewise.
8030 (divsi3): Likewise.
8031 (aeabi_idivmod): Likewise.
8032 (modsi3): Likewise.
8033
8034 2011-11-16 Tristan Gingold <gingold@adacore.com>
8035
8036 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8037
8038 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8039
8040 PR target/49868
8041 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8042 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8043
8044 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8045
8046 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8047 tmake_file list.
8048 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8049 * config/pa/t-stublib64: Delete.
8050
8051 2011-11-12 Richard Henderson <rth@redhat.com>
8052
8053 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8054 cast the pointer argument to _Unwind_SetGRPtr.
8055
8056 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8057
8058 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8059
8060 2011-11-09 Ian Lance Taylor <iant@google.com>
8061
8062 * generic-morestack.c: Include <string.h>.
8063 (uintptr_type): Define.
8064 (struct initial_sp): Add dont_block_signals field. Reduce size of
8065 extra array by 1.
8066 (allocate_segment): Set prev field to NULL. Don't set
8067 __morestack_current_segment or __morestack_segments.
8068 (__generic_morestack): Update current->prev and *pp after calling
8069 allocate_segment.
8070 (__morestack_block_signals): Don't do anything if
8071 dont_block_signals is set.
8072 (__morestack_unblock_signals): Likewise.
8073 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8074 uintptr_type.
8075 (__splitstack_block_signals): New function.
8076 (enum __splitstack_content_offsets): Define.
8077 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8078 (__splitstack_makecontext): New function.
8079 (__splitstack_block_signals_context): New function.
8080 (__splitstack_find_context): New function.
8081 * config/i386/morestack.S (__morestack_get_guard): New function.
8082 (__morestack_set_guard, __morestack_make_guard): New functions.
8083 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8084
8085 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8086
8087 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8088 (i[34567]86-*-mingw*): ... here.
8089 (x86_64-*-mingw*): ... here.
8090
8091 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8092
8093 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8094
8095 2011-11-07 Nathan Sidwell <nathan@acm.org>
8096
8097 * libgcov.c (struct gcov_fn_buffer): New struct.
8098 (buffer_fn_data): New helper.
8099 (gcov_exit): Rework for new gcov data structures.
8100
8101 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8102
8103 PR target/49313
8104 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8105
8106 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8107
8108 * config.host (tmake_file): Correct comment.
8109 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8110 t-libgcc-pic.
8111 (bfin*-uclinux*): Likewise.
8112 (bfin*-linux-uclibc*): Likewise.
8113 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8114
8115 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8116 assigning.
8117 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8118 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8119 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8120 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8121 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8122 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8123 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8124 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8125 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8126 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8127 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8128 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8129 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8130
8131 * config/bfin/t-elf: Remove.
8132 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8133
8134 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8135
8136 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8137 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8138 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8139 (lm32-*-elf*): ... this.
8140 (lm32-*-rtems*): ... and this.
8141 Add to tmake_file.
8142 (m32r-*-rtems*): Add to tmake_file.
8143 (moxie-*-rtems*): Likewise.
8144 (sparc-*-rtems*): Likewise.
8145 Remove t-rtems from tmake_file.
8146 (sparc64-*-rtems*): Likewise.
8147 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8148 instead.
8149
8150 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8151
8152 PR bootstrap/50982
8153 * config/gthr-posix.h: Move ...
8154 * gthr-posix.h: ... here.
8155 * config/gthr-lynx.h: Reflect this.
8156 * config/gthr-vxworks.h: Likewise.
8157 * config/rs6000/gthr-aix.h: Likewise.
8158 * configure.ac (target_thread_file): Likewise.
8159 * configure: Regenerate.
8160
8161 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8162
8163 * config.host (arm*-*-rtemseabi*): New target.
8164
8165 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8166
8167 PR other/50991
8168 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8169 extra-parts.
8170
8171 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8172
8173 * config.host (epiphany-*-elf*): New configuration.
8174 * config/epiphany: New Directory.
8175
8176 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8177
8178 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8179 * config/avr/t-rtems: New.
8180 Filter out _exit from LIB1ASMFUNCS.
8181
8182 2011-11-04 David S. Miller <davem@davemloft.net>
8183
8184 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8185 * configure: Rebuild.
8186
8187 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8188
8189 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8190 variable.
8191
8192 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8193
8194 PR target/50931
8195 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8196 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8197
8198 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8199
8200 PR target/50989
8201 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8202
8203 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8204
8205 * config/c6x/t-elf (LIB2ADDEH): Set.
8206 * config/c6x/t-c6x-elf: Remove.
8207
8208 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8209
8210 * config/i386/sol2-ci.S: Rename to ...
8211 * config/i386/crti.S: ... this.
8212 * config/i386/sol2-cn.S: Rename to ...
8213 * config/i386/crtn.S: ... this.
8214 * config/sparc/sol2-ci.S: Rename to ...
8215 * config/sparc/crti.S: ... this.
8216 * config/sparc/sol2-cn.S: Rename to ...
8217 * config/sparc/crtn.S: ... this.
8218 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8219 (crti.o, crtn.o): Remove.
8220
8221 2011-11-04 Tristan Gingold <gingold@adacore.com>
8222
8223 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8224
8225 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8226
8227 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8228
8229 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8230
8231 * config.host (crisv32-*-none, cris-*-none): Remove.
8232 (crisv32-*-elf): Append to tmake_file, don't just set it.
8233 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8234
8235 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8236
8237 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8238 (ecrtn$(objext)): Likewise.
8239 (ncrti$(objext)): Likewise.
8240 (ncrtn$(objext)): Likewise.
8241
8242 2011-11-03 Andreas Schwab <schwab@redhat.com>
8243
8244 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8245
8246 2011-11-02 David S. Miller <davem@davemloft.net>
8247
8248 * configure.ac: Set host_address on sparc too.
8249 * configure: Regenerate.
8250 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8251 based upon host_address.
8252 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8253
8254 2011-11-02 Jason Merrill <jason@redhat.com>
8255
8256 * config/rs6000/t-ppccomm: Add missing \.
8257
8258 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8259
8260 * gthr-single.h, gthr.h: New files.
8261 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8262 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8263 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8264 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8265 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8266 * configure.ac (thread_header): New variable.
8267 Set it depending on target_thread_file.
8268 (gthr-default.h): Link from $thread_header.
8269 * configure: Regenerate.
8270 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8271
8272 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8273
8274 * configure.ac (tm_file_): New variable.
8275 Determine from tm_file.
8276 (tm_file, tm_defines): Substitute.
8277 * configure: Regenerate.
8278 * mkheader.sh: New file.
8279 * Makefile.in (clean): Remove libgcc_tm.h.
8280 ($(objects)): Depend on libgcc_tm.h.
8281 (libgcc_tm_defines, libgcc_tm_file): New variables.
8282 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8283 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8284 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8285 ($(extra-parts)): Depend on libgcc_tm.h.
8286 * config.host (tm_defines, tm_file): New variable.
8287 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8288 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8289 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8290 (avr-*-rtems*): Likewise.
8291 (avr-*-*): Likewise.
8292 (frv-*-elf): Likewise.
8293 (frv-*-*linux*): Likewise.
8294 (h8300-*-rtems*): Likewise.
8295 (h8300-*-elf*): Likewise.
8296 (i[34567]86-*-darwin*): Likewise.
8297 (x86_64-*-darwin*): Likewise.
8298 (rx-*-elf): Likewise.
8299 (tic6x-*-uclinux): Likewise.
8300 (tic6x-*-elf): Likewise.
8301 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8302 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8303 * config/i386/cygming-crtbegin.c: Likewise.
8304 * config/i386/cygming-crtend.c: Likewise.
8305 * config/ia64/fde-vms.c: Likewise.
8306 * config/ia64/unwind-ia64.c: Likewise.
8307 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8308 * config/rs6000/darwin-fallback.c: Likewise.
8309 * config/stormy16/lib2funcs.c: Likewise.
8310 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8311 * crtstuff.c: Likewise.
8312 * dfp-bit.h: Likewise.
8313 * emutls.c: Likewise.
8314 * fixed-bit.c: Likewise.
8315 * fp-bit.c: Likewise.
8316 * generic-morestack-thread.c: Likewise.
8317 * generic-morestack.c: Likewise.
8318 * libgcc2.c: Likewise.
8319 * libgcov.c: Likewise.
8320 * unwind-dw2-fde-dip.c: Likewise.
8321 * unwind-dw2-fde.c: Likewise.
8322 * unwind-dw2.c: Likewise.
8323 * unwind-sjlj.c: Likewise.
8324
8325 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8326
8327 * configure.ac: Include ../config/picflag.m4.
8328 (GCC_PICFLAG): Call it.
8329 Substitute.
8330 * configure: Regenerate.
8331 * Makefile.in (gcc_srcdir): Remove.
8332 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8333 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8334 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8335 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8336 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8337 Use $<.
8338 Remove comment.
8339 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8340 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8341 to refer to libgcc2.c.
8342 Use $<.
8343 * config/darwin-64.c: New file.
8344 * config/darwin-crt3.c: Remove comment.
8345 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8346 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8347 config/udivmodsi4.c: New files.
8348 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8349 config/memset.c: New files.
8350 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8351 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8352 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8353 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8354 * config/t-openbsd-thread: New file.
8355 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8356 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8357 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8358 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8359 qrnnd.S.
8360 Adapt filename.
8361 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8362 to refer to gthr-posix.c.
8363 * config/alpha/t-vms (LIB2ADD): Set.
8364 * config/alpha/vms-gcc_shell_handler.c: New file.
8365 * config/arm/bpabi.c, config/arm/fp16.c,
8366 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8367 config/arm/unaligned-funcs.c: New files.
8368 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8369 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8370 * config/arm/t-linux: Likewise.
8371 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8372 * config/arm/t-netbsd: New file.
8373 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8374 * config/arm/t-symbian (LIB2ADD_ST): Set.
8375 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8376 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8377 * config/bfin/t-elf: New file.
8378 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8379 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8380 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8381 config/c6x/ltf.c: New files.
8382 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8383 (HOST_LIBGCC2_CFLAGS): Set.
8384 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8385 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8386 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8387 New files.
8388 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8389 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8390 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8391 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8392 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8393 files.
8394 * config/frv/t-frv (LIB2ADD): Set.
8395 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8396 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8397 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8398 config/h8300/popcounthi2.c: New files.
8399 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8400 * config/i386/gthr-win32.c: New file.
8401 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8402 * config/i386/t-cygwin: Likewise.
8403 * config/i386/t-darwin, config/i386/t-darwin64,
8404 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8405 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8406 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8407 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8408 * config/ia64/quadlib.c: New file.
8409 * config/ia64/t-hpux (LIB2ADD): Set.
8410 * config/ia64/t-ia64: Add comment.
8411 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8412 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8413 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8414 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8415 * config/m32c/t-m32c (LIB2ADD): Set.
8416 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8417 * config/m32r/t-m32r: Likewise.
8418 * config/m68k/fpgnulib.c: New file.
8419 * config/m68k/t-floatlib (LIB2ADD): Set.
8420 (xfgnulib.c): New target.
8421 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8422 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8423 * config/mep/t-mep (LIB2ADD): Set.
8424 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8425 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8426 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8427 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8428 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8429 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8430 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8431 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8432 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8433 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8434 New files.
8435 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8436 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8437 * config/pa/fptr.c, config/pa/lib2funcs.S,
8438 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8439 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8440 (LIB2ADD, LIB2ADD_ST): Set.
8441 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8442 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8443 Set.
8444 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8445 * config/pdp11/t-pdp11: New file.
8446 * config/picochip/libgccExtras/adddi3.S,
8447 config/picochip/libgccExtras/ashlsi3.S,
8448 config/picochip/libgccExtras/ashrsi3.S,
8449 config/picochip/libgccExtras/clzsi2.S,
8450 config/picochip/libgccExtras/cmpsi2.S,
8451 config/picochip/libgccExtras/divmod15.S,
8452 config/picochip/libgccExtras/divmodhi4.S,
8453 config/picochip/libgccExtras/divmodsi4.S,
8454 config/picochip/libgccExtras/lshrsi3.S,
8455 config/picochip/libgccExtras/parityhi2.S,
8456 config/picochip/libgccExtras/popcounthi2.S,
8457 config/picochip/libgccExtras/subdi3.S,
8458 config/picochip/libgccExtras/ucmpsi2.S,
8459 config/picochip/libgccExtras/udivmodhi4.S,
8460 config/picochip/libgccExtras/udivmodsi4.S: New files.
8461 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8462 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8463 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8464 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8465 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8466 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8467 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8468 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8469 files.
8470 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8471 (HOST_LIBGCC2_CFLAGS): Set.
8472 * config/rs6000/t-darwin64: New file.
8473 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8474 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8475 * config/rs6000/t-ppccomm (LIB2ADD): Add
8476 $(srcdir)/config/rs6000/tramp.S.
8477 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8478 Add $(srcdir)/config/rs6000/eabi.S.
8479 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8480 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8481 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8482 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8483 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8484 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8485 * config/rs6000/tramp.S: New file.
8486 * config/s390/t-tpf: Remove.
8487 * config/sh/linux-atomic.S: New file.
8488 * config/sh/t-linux (LIB2ADD): Set.
8489 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8490 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8491 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8492 to unwind-dw2.c.
8493 (HOST_LIBGCC2_CFLAGS): Set.
8494 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8495 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8496 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8497 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8498 config/spu/mfc_multi_tag_release.c,
8499 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8500 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8501 config/spu/multi3.c: New files.
8502 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8503 (HOST_LIBGCC2_CFLAGS): Set.
8504 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8505 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8506 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8507 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8508 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8509 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8510 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8511 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8512 config/stormy16/umodsi3.c: New files.
8513 * config/xtensa/lib2funcs.S: New file.
8514 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8515 * config/xtensa/t-xtensa (LIB2ADD): Set.
8516 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8517 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8518 Add t-freebsd-thread to tmake_file for posix threads.
8519 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8520 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8521 (*-*-lynxos*): Likewise.
8522 (*-*-netbsd*): Likewise.
8523 (*-*-openbsd*): Likewise.
8524 Add t-openbsd-thread to tmake_file for posix threads.
8525 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8526 (*-*-vxworks*): Set tmake_file.
8527 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8528 (alpha*-*-freebsd*): Likewise.
8529 (alpha*-*-netbsd*): Likewise.
8530 (alpha*-*-openbsd*): Likewise.
8531 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8532 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8533 (alpha*-dec-*vms*): Likewise.
8534 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8535 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8536 (bfin*-uclinux*): Likewise.
8537 (bfin*-linux-uclibc*): Likewise.
8538 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8539 (crisv32-*-none): Likewise.
8540 (cris-*-elf): Likewise.
8541 (cris-*-none): Likewise.
8542 (cris-*-linux*, crisv32-*-linux*): Likewise.
8543 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8544 tmake_file.
8545 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8546 tmake_file.
8547 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8548 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8549 (x86_64-*-elf*): Likewise.
8550 (i[34567]86-*-nto-qnx*): Likewise.
8551 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8552 win32 threads.
8553 (x86_64-*-mingw*): Likewise.
8554 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8555 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8556 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8557 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8558 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8559 tmake_file.
8560 (mipsisa64sr71k-*-elf*): Likewise.
8561 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8562 (mips-*-elf*, mipsel-*-elf*): Likewise.
8563 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8564 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8565 (mips*-*-rtems*): Likewise.
8566 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8567 to tmake_file.
8568 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8569 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8570 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8571 (spu-*-elf*): Likewise.
8572 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8573
8574 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8575
8576 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8577 $(srcdir) to refer to $(LIB1ASMSRC).
8578 Use $<.
8579 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8580 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8581 config/arm/lib1funcs.S: New files.
8582 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8583 * config/arm/t-arm: New file.
8584 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8585 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8586 config/arm/t-strongarm-elf: New files.
8587 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8588 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8589 * config/avr/lib1funcs.S: New file.
8590 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8591 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8592 * config/c6x/lib1funcs.S: New file.
8593 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8594 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8595 * config/frv/lib1funcs.S: New file.
8596 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8597 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8598 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8599 * config/ia64/__divxf3.asm: Rename to ...
8600 * config/ia64/__divxf3.S: ... this.
8601 Adapt lib1funcs.asm filename.
8602 * config/ia64/_fixtfdi.asm: Rename to ...
8603 * config/ia64/_fixtfdi.S: ... this.
8604 Adapt lib1funcs.asm filename.
8605 * config/ia64/_fixunstfdi.asm: Rename to ...
8606 * config/ia64/_fixunstfdi.S: ... this.
8607 Adapt lib1funcs.asm filename.
8608 * config/ia64/_floatditf.asm: Rename to ...
8609 * config/ia64/_floatditf.S: ... this.
8610 Adapt lib1funcs.asm filename.
8611 * config/ia64/lib1funcs.S: New file.
8612 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8613 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8614 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8615 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8616 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8617 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8618 * config/mep/lib1funcs.S: New file.
8619 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8620 * config/mips/mips16.S: New file.
8621 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8622 * config/pa/milli64.S: New file.
8623 * config/pa/t-linux, config/pa/t-linux64: New files.
8624 * config/picochip/lib1funcs.S: New file.
8625 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8626 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8627 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8628 * config/sh/t-netbsd: New file.
8629 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8630 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8631 * config/sh/t-sh64: New file.
8632 * config/sparc/lb1spc.S: New file.
8633 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8634 filename.
8635 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8636 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8637 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8638 config/xtensa/lib1funcs.S: New files.
8639 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8640 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8641 tmake_file.
8642 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8643 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8644 (arm*-*-linux*): Likewise.
8645 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8646 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8647 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8648 (arm*-*-ecos-elf): Likewise.
8649 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8650 (arm*-*-rtems*): Likewise.
8651 (arm*-*-elf): Likewise.
8652 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8653 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8654 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8655 (bfin*-uclinux*): Likewise.
8656 (bfin*-linux-uclibc*): Likewise.
8657 (bfin*-rtems*): Likewise.
8658 (bfin*-*): Likewise.
8659 (fido-*-elf): Merge into m68k-*-elf*.
8660 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8661 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8662 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8663 (h8300-*-elf*): Likewise.
8664 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8665 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8666 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8667 (i[34567]86-*-mingw*): Likewise.
8668 (x86_64-*-mingw*): Likewise.
8669 (i[34567]86-*-interix3*): Likewise.
8670 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8671 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8672 (m68k-*-elf*): Also handle fido-*-elf.
8673 Add m68k/t-floatlib to tmake_file.
8674 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8675 (m68k-*-linux*): Likewise.
8676 (m68k-*-rtems*): Likewise.
8677 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8678 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8679 sh64*-*-*.
8680 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8681 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8682 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8683 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8684 sh/t-netbsd to tmake_file.
8685 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8686 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8687 (sh-wrs-vxworks): Likewise.
8688 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8689 *-leon[3-9]*.
8690 (v850*-*-*): Add v850/t-v850 to tmake_file.
8691 (vax-*-linux*): Add vax/t-linux to tmake_file.
8692 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8693
8694 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8695
8696 * crtstuff.c: New file.
8697 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8698 (CRTSTUFF_T_CFLAGS): Define.
8699 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8700 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8701 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8702 crtstuff.c.
8703 Use $<.
8704 (crtbeginT.o): Use $(objext).
8705 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8706 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8707 (gcc-extra-parts): Remove.
8708 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8709 Set extra_parts.
8710 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8711 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8712 Add t-crtstuff-pic to tmake_file.
8713 (*-*-lynxos*): New case.
8714 Set tmake_file, extra_parts.
8715 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8716 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8717 *-*-netbsdelf[2-9]*.
8718 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8719 (*-*-rtems*): Set extra_parts.
8720 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8721 (*-*-uclinux*): New case.
8722 Set extra_parts.
8723 (*-*-vms*): New case.
8724 Set tmake_file, extra_parts.
8725 (*-*-elf): Set extra_parts.
8726 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8727 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8728 vms/t-vms64.
8729 Set extra_parts.
8730 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8731 Set extra_parts.
8732 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8733 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8734 (arm-wrs-vxworks): Append to tmake_file.
8735 Set extra_parts.
8736 (arm*-*-uclinux*): Set extra_parts.
8737 (arm*-*-ecos-elf): Likewise.
8738 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8739 arm*-*-eabi*.
8740 (arm*-*-rtems*): Set extra_parts.
8741 (arm*-*-elf): Likewise.
8742 (avr-*-rtems*): Clear extra_parts.
8743 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8744 Set extra_parts.
8745 (bfin*-uclinux*): Likewise.
8746 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8747 (bfin*-rtems*): Append to tmake_file.
8748 Set extra_parts.
8749 (bfin*-*): Likewise.
8750 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8751 (crisv32-*-elf): ... this.
8752 (crisv32-*-none): ... this.
8753 (cris-*-elf, cris-*-none): New cases.
8754 Add cris/t-elfmulti to tmake_file.
8755 (fr30-*-elf): Append to tmake_file.
8756 Set extra_parts.
8757 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8758 Set extra_parts.
8759 (h8300-*-rtems*): Append to tmake_file.
8760 Set extra_parts.
8761 (h8300-*-elf*): Likewise.
8762 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8763 Set extra_parts.
8764 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8765 Set extra_parts.
8766 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8767 (x86_64-*-elf*): Likewise.
8768 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8769 (x86_64-*-freebsd*): Likewise.
8770 (x86_64-*-netbsd*): Likewise.
8771 (i[34567]86-*-linux*): Likewise.
8772 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8773 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8774 (x86_64-*-linux*): Likewise.
8775 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8776 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8777 tmake_file.
8778 Set extra_parts.
8779 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8780 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8781 Append to extra_parts, remove crtbegin.o, crtend.o.
8782 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8783 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8784 crtend.o, crtbeginS.o, crtendS.o.
8785 (ia64*-*-linux*): Comment extra_parts.
8786 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8787 Set extra_parts.
8788 (iq2000*-*-elf*): Clear extra_parts.
8789 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8790 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8791 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8792 (m32r-*-rtems*): ... this.
8793 Add m32r/t-m32r to tmake_file.
8794 (m68k-*-elf*): Add t-crtin to tmake_file.
8795 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8796 (mcore-*-elf): Likewise.
8797 (microblaze*-*-*): Set extra_parts.
8798 (mips*-sde-elf*): New case.
8799 Set tmake_file, extra_parts.
8800 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8801 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8802 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8803 tmake_file.
8804 Set extra_parts.
8805 (mipsisa64sr71k-*-elf*): Likewise.
8806 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8807 (mips-*-elf*, mipsel-*-elf*): Likewise.
8808 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8809 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8810 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8811 (mips*-*-rtems*): Likewise.
8812 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8813 (moxie-*-*): Split into ...
8814 (moxie-*-elf, moxie-*-uclinux*): ... this.
8815 Add to extra_parts, remove crtbegin.o, crtend.o.
8816 (moxie-*-rtems*): New case.
8817 Set tmake_file.
8818 Clear extra_parts.
8819 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8820 Set extra_parts.
8821 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8822 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8823 tmake_file.
8824 Set extra_parts.
8825 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8826 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8827 Set extra_parts.
8828 (powerpc-*-eabisim*): Likewise.
8829 (powerpc-*-elf*): Likewise.
8830 (powerpc-*-eabialtivec*): Likewise.
8831 (powerpc-xilinx-eabi*): Likewise.
8832 (powerpc-*-eabi*): Likewise.
8833 (powerpc-*-rtems*): Likewise.
8834 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8835 tmake_file.
8836 Set extra_parts.
8837 (powerpc-*-lynxos*): Add to tmake_file.
8838 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8839 rs6000/t-crtstuff, t-crtstuff-pic.
8840 Set extra_parts.
8841 (powerpcle-*-eabisim*): Likewise.
8842 (powerpcle-*-eabi*): Likewise.
8843 (rx-*-elf): Remove extra_parts.
8844 (s390x-ibm-tpf*): Set extra_parts.
8845 (score-*-elf): Set extra_parts.
8846 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8847 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8848 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8849 (sh64l*-*-netbsd*): Split into ...
8850 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8851 Add t-crtstuff-pic to tmake_file.
8852 Set extra_parts.
8853 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8854 Set extra_parts.
8855 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8856 (sparc-*-elf*): Remove t-crtin from tmake_file.
8857 Add to extra_parts, remove crtbegin.o, crtend.o.
8858 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8859 (sparc64-*-linux*): Likewise.
8860 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8861 Add to extra_parts, remove crtbegin.o, crtend.o.
8862 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8863 Add to extra_parts, remove crtbegin.o, crtend.o.
8864 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8865 Add to extra_parts, remove crtbegin.o, crtend.o.
8866 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8867 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8868 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8869 Set extra_parts.
8870 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8871 Set extra_parts.
8872 (tic6x-*-*): Change to ...
8873 (tic6x-*-elf): ... this.
8874 Set extra_parts.
8875 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8876 Set extra_parts.
8877 (am33_2.0-*-linux*): Add comment.
8878 (mep*-*-*): Add mep/t-mep to tmake_file.
8879 Set extra_parts.
8880 * config/alpha/t-vms: New file.
8881 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8882 * config/arm/crti.S, config/arm/crtn.S: New files.
8883 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8884 * config/bfin/crtlibid.S: New file.
8885 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8886 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8887 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8888 (crti.o, crtin.o): New rules.
8889 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8890 * config/c6x/t-uclinux: New file.
8891 * config/cris/t-elfmulti: New file.
8892 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8893 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8894 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8895 * config/frv/t-frv: New file.
8896 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8897 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8898 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8899 New files.
8900 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8901 refer to cygming-crtbegin.c, cygming-crtend.c.
8902 Use $<.
8903 * config/i386/t-nto: New file.
8904 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8905 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8906 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8907 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8908 Use .S extension.
8909 Use $<.
8910 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8911 (crtinitS.o): New rule.
8912 * config/ia64/vms-crtinit.S: New file.
8913 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8914 * config/m32r/initfini.c: New file.
8915 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8916 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8917 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8918 * config/mep/t-mep: New file.
8919 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8920 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8921 * config/mips/crti.S, config/mips/crtn.S: New files.
8922 * config/mips/t-crtstuff: New file.
8923 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8924 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8925 (CUSTOM_CRTIN): Set.
8926 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8927 dependencies.
8928 Use $(srcdir) to refer to crti.S, crtn.S.
8929 Use .S extension, $<.
8930 * config/moxie/crti.asm: Rename to ...
8931 * config/moxie/crti.S: ... this.
8932 * config/moxie/crtn.asm: Rename to ...
8933 * config/moxie/crtn.S: ... this.
8934 * config/moxie/t-moxie: Remove.
8935 * config/pa/stublib.c: New file.
8936 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8937 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8938 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8939 * config/rs6000/t-crtstuff: New file.
8940 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8941 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8942 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8943 Make output file explicit.
8944 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8945 Make output file explicit.
8946 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8947 Make output file explicit.
8948 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8949 Make output file explicit.
8950 * config/score/crti.S, config/score/crtn.S: New files.
8951 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8952 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8953 files.
8954 * config/sh/t-sh, config/sh/t-superh: New files.
8955 * config/sparc/t-linux64: New file.
8956 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8957 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8958 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8959 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8960 * config/t-crtin: Remove.
8961 * config/t-crtstuff-pic: New file.
8962 * config/t-sol2 (CUSTOM_CRTIN): Set.
8963 (crti.o, crtn.o): New rules.
8964 * config/vms/t-vms: New file.
8965 * config/vms/vms-ucrt0.c: New file.
8966 * config/xtensa/t-elf: New file.
8967
8968 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8969
8970 * Makefile.in (SHLIB_NM_FLAGS): Set.
8971 * mkmap-flat.awk, mkmap-symver.awk: New files.
8972 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8973 exceptions.
8974 * configure: Regenerate.
8975 * config/libgcc-glibc.ver: New file.
8976 * config/libgcc-libsystem.ver: New file.
8977 * config/t-libunwind (SHLIB_LC): Set.
8978 * config/t-linux: New file.
8979 * config/t-slibgcc (INSTALL_SHLIB): New.
8980 (SHLIB_INSTALL): Use it.
8981 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8982 to mkmap-symver.awk.
8983 (SHLIB_MAPFILES): Don't append, adapt pathname.
8984 (SHLIB_VERPFX): Set.
8985 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8986 to mkmap-symver.awk.
8987 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8988 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8989 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8990 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8991 to mkmap-flat.awk.
8992 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8993 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8994 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8995 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8996 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8997 * config/i386/libgcc-darwin.10.4.ver,
8998 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8999 New files.
9000 * config/i386/t-darwin: Remove.
9001 * config/i386/t-darwin64: Likewise.
9002 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9003 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9004 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9005 * config/i386/t-linux: New file.
9006 * config/i386/t-mingw32: New file.
9007 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9008 * config/ia64/t-glibc: Rename to ...
9009 * config/ia64/t-linux: ... this.
9010 (SHLIB_MAPFILES): Set.
9011 * config/ia64/t-glibc-libunwind: Rename to ...
9012 * config/ia64/t-linux-libunwind: ... this.
9013 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9014 * config/ia64/t-slibgcc-hpux: New file.
9015 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9016 * config/m68k/t-slibgcc-elf-ver: New file.
9017 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9018 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9019 to mkmap-flat.awk.
9020 * config/pa/t-slibgcc-hpux: New file.
9021 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9022 files.
9023 * config/rs6000/libgcc-darwin.10.4.ver,
9024 config/rs6000/libgcc-darwin.10.5.ver: New files.
9025 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9026 config/rs6000/libgcc-glibc.ver.
9027 * config/rs6000/libgcc-ppc64.ver: Rename to
9028 config/rs6000/libgcc-ibm-ldouble.ver.
9029 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9030 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9031 * config/rs6000/t-ldbl128: Rename to ...
9032 * config/rs6000/t-linux: ... this.
9033 (SHLIB_MAPFILES): Adapt filename.
9034 * config/rs6000/t-slibgcc-aix: New file.
9035 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9036 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9037 libgcc-excl.ver, libgcc-glibc.ver.
9038 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9039 * config/sparc/libgcc-glibc.ver: New file.
9040 * config/sparc/t-linux: New file.
9041 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9042 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9043 t-slibgcc-elf-ver to tmake_file.
9044 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9045 *-*-freebsd[34].
9046 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9047 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9048 t-slibgcc-elf-ver, t-linux to tmake_file.
9049 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9050 tmake_file.
9051 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9052 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9053 (alpha*-dec-*vms*): Likewise.
9054 (arm*-*-freebsd*): Append to tmake_file.
9055 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9056 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9057 arm*-*-linux-*eabi.
9058 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9059 tmake_file for arm*-*-symbianelf*.
9060 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9061 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9062 cris/t-linux.
9063 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9064 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9065 pa/t-slibgcc-dwarf-ver to tmake_file.
9066 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9067 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9068 (hppa*64*-*-hpux11*): Likewise.
9069 (hppa[12]*-*-hpux11*): Likewise.
9070 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9071 i386/t-crtpc, i386/t-crtfm.
9072 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9073 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9074 to tmake_file.
9075 Add i386/t-cygwin to tmake_file.
9076 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9077 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9078 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9079 to tmake_file.
9080 Add i386/t-mingw32 to tmake_file.
9081 (x86_64-*-mingw*): Likewise.
9082 (ia64*-*-freebsd*): Append to tmake_file.
9083 (ia64*-*-linux*): Append to tmake_file.
9084 Replace ia64/t-glibc by ia64/t-linux.
9085 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9086 system libunwind.
9087 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9088 t-slibgcc-hpux to tmake_file.
9089 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9090 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9091 (m32rle-*-linux*): Likewise.
9092 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9093 sjlj exceptions.
9094 (microblaze*-linux*): New case.
9095 Append to tmake_file, add t-slibgcc-nolc-override.
9096 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9097 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9098 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9099 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9100 rs6000/t-slibgcc-aix to tmake_file.
9101 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9102 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9103 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9104 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9105 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9106 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9107 sh*-*-linux*.
9108 (sparc-*-linux*): Append to tmake_file for *-leon*.
9109 Add sparc/t-linux to tmake_file for non-Leon targets.
9110 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9111 (tic6x-*-uclinux): New case.
9112 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9113 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9114 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9115 (am33_2.0-*-linux*): Append to tmake_file.
9116 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9117 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9118 x86_64-*-kfreebsd*-gnu.
9119 Add i386/t-linux to tmake_file.
9120
9121 2011-10-28 Ian Lance Taylor <iant@google.com>
9122
9123 * config/i386/morestack.S: Correct CFI information to do proper
9124 returns throughout function. In 32-bit mode, save %ebx so that it
9125 is restored on unwind.
9126
9127 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9128
9129 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9130 case where B3 isn't the return register.
9131
9132 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9133 logic for doubleword pops.
9134
9135 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9136
9137 * config/rs6000/t-freebsd: Add wildcard.
9138
9139 2011-10-21 Paul Brook <paul@codesourcery.com>
9140
9141 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9142
9143 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9144 Eric Botcazou <ebotcazou@adacore.com>
9145
9146 PR target/50737
9147 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9148 fs->signal_frame to 1.
9149
9150 2011-10-07 Ian Lance Taylor <iant@google.com>
9151
9152 * generic-morestack-thread.c: #include <errno.h>.
9153
9154 2011-10-07 Ian Lance Taylor <iant@google.com>
9155
9156 PR target/46093
9157 * generic-morestack.c (__generic_morestack): Make sure the segment
9158 is large enough for both the stack frame and the copied
9159 parameters.
9160
9161 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9162
9163 PR bootstrap/49804
9164 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9165 extra_parts.
9166
9167 2011-09-28 Nick Clifton <nickc@redhat.com>
9168
9169 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9170 64-bit doubles are not enabled.
9171 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9172 and floatunsisf functions.
9173
9174 2011-09-13 Paul Brook <paul@codesourcery.com>
9175
9176 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9177 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9178 * unwind-arm-common.inc: New file.
9179 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9180 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9181 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9182 * config/c6x/libunwind.S: New file.
9183 * config/c6x/pr-support.c: New file.
9184 * config/c6x/unwind-c6x.c: New file.
9185 * config/c6x/unwind-c6x.h: New file.
9186 * config/c6x/t-c6x-elf: New file.
9187
9188 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9189
9190 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9191 (ASM_DIVZERO): Ditto.
9192 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9193
9194 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9195
9196 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9197
9198 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9199
9200 PR target/50090
9201 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9202 instead of an assembly one.
9203
9204 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9205
9206 PR bootstrap/50047
9207 * Makefile.in (install-unwind_h): Create
9208 $(gcc_objdir)/include/unwind.h atomically.
9209
9210 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9211
9212 * Makefile.in (install-unwind_h): Remove destination file first.
9213
9214 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9215
9216 * sync.c: New file.
9217 * config/mips/t-mips16: New file.
9218 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9219 (mips*-*-linux*): Likewise.
9220 (mips*-sde-elf*): Likewise.
9221 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9222 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9223 Add mips/t-mips16 to tmake_file.
9224 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9225 (mips-*-elf*): Likewise.
9226 (mips64-*-elf*): Likewise.
9227 (mips64orion-*-elf*): Likewise.
9228 (mips*-*-rtems*): Likewise.
9229 (mipstx39-*-elf*): Likewise.
9230 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9231 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9232 LIBGCC_SYNC_CFLAGS.
9233 Use $(srcdir) to refer to sync.c.
9234 Use $<.
9235 ($(libgcc-sync-funcs-o)): Likewise.
9236 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9237 ($(libgcc-sync-funcs-s-o)): Likewise.
9238
9239 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9240
9241 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9242 t-libunwind.
9243
9244 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9245
9246 PR other/48007
9247 * config/i386/value-unwind.h: New.
9248
9249 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9250
9251 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9252 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9253 Add to tmake_file rather than overriding it.
9254
9255 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9256
9257 * config/t-softfp: Remove.
9258 * soft-fp: Moved from ../gcc/config.
9259 * soft-fp/README: Remove t-softfp reference.
9260 * soft-fp/t-softfp: Move to config/t-softfp.
9261 (softfp_machine_header): Remove.
9262 (softfp_file_list): Remove config subdir.
9263 (soft-fp-objects): New variable.
9264 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9265 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9266 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9267 * config/t-softfp-excl: New file.
9268 * config/t-softfp-sfdf: New file.
9269 * config/t-softfp-tf: New file.
9270 * config/no-sfp-machine.h: New file.
9271 * config/arm/sfp-machine.h: New file.
9272 * config/arm/t-softfp: New file.
9273 * config/c6x/sfp-machine.h: New file.
9274 * config/i386/32/t-fprules-softfp: Rename to ...
9275 * config/i386/32/t-softfp: ... this.
9276 (tifunctions, LIB2ADD): Remove.
9277 (softfp_int_modes): Override.
9278 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9279 subdir.
9280 * config/i386/64/eqtf2.c: Likewise.
9281 * config/i386/64/getf2.c: Likewise.
9282 * config/i386/64/letf2.c: Likewise.
9283 * config/ia64/sft-machine.h: New file.
9284 * config/ia64/t-fprules-softfp: Rename to ...
9285 * config/ia64/t-softfp: ... this.
9286 * config/lm32/sfp-machine.h: New file.
9287 * config/moxie/t-moxie-softfp: Remove.
9288 * config/rs6000/ibm-ldouble-format: New file.
9289 * config/rs6000/ibm-ldouble.c: New file.
9290 * config/rs6000/libgcc-ppc-glibc.ver: New file
9291 * config/rs6000/libgcc-ppc64.ver: New file
9292 * config/rs6000/sfp-machine.h: New file.
9293 * config/rs6000/t-freebsd: New file.
9294 * config/rs6000/t-ibm-ldouble: New file.
9295 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9296 libgcc-ppc-glibc.ver.
9297 * config/rs6000/t-linux64: New file.
9298 * config/rs6000/t-ppccomm (LIB2ADD): Add
9299 $(srcdir)/config/rs6000/ibm-ldouble.c.
9300 * config/rs6000/t-ppccomm-ldbl: New file.
9301 * config/score/sfp-machine.h: New file.
9302 * config.host (sfp_machine_header): Explain.
9303 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9304 t-softfp to tmake_file.
9305 (arm*-*-uclinux*): Likewise.
9306 (arm*-*-ecos-elf): Likewise.
9307 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9308 (arm*-*-rtems*): Likewise.
9309 (arm*-*-elf): Likewise.
9310 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9311 in tmake_file.
9312 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9313 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9314 (lm32-*-uclinux*): Likewise.
9315 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9316 t-softfp-excl, t-softfp.
9317 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9318 (powerpc64-*-darwin*): Likewise.
9319 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9320 to tmake_file.
9321 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9322 tmake_file.
9323 (powerpc-*-eabisim*): Likewise.
9324 (powerpc-*-elf*): Likewise.
9325 (powerpc-*-eabialtivec*): Likewise.
9326 (powerpc-xilinx-eabi*): Likewise.
9327 (powerpc-*-rtems*): Likewise.
9328 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9329 t-softfp-excl, t-softfp to tmake_file.
9330 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9331 rs6000/t-ppccomm-ldbl to tmake_file.
9332 (powerpcle-*-elf*): Likewise.
9333 (powerpcle-*-eabisim*): Likewise.
9334 (powerpcle-*-eabi*): Likewise.
9335 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9336 rs6000/t-ibm-ldouble to tmake_file.
9337 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9338 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9339 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9340 (tic6x-*-*): Likewise.
9341 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9342 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9343 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9344 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9345 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9346 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9347 t-softfp to tmake_file.
9348 * configure.ac (sfp_machine_header): Provide default if unset.
9349 Substitute.
9350 Link sfp-machine.h to config/$sfp_machine_header.
9351 * configure: Regenerate.
9352
9353 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9354
9355 * Makefile.in (double_type_size, long_double_type_size): Set.
9356 Remove $(fpbit-in-libgcc) support.
9357 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9358 (fpbit-src): New variable.
9359 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9360 Compile with -DFLOAT $(FPBIT_CFLAGS).
9361 Use $<.
9362 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9363 Compile with $(FPBIT_CFLAGS).
9364 Use $<.
9365 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9366 Compile with -DFLOAT $(TPBIT_CFLAGS).
9367 Use $<.
9368 * configure.ac (double_type_size, long_double_type_size):
9369 Determine and substitute.
9370 * configure: Regenerate.
9371 * fp-bit.c, fp-bit.h: New files.
9372 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9373 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9374 * config/mips/t-mips: New file.
9375 * config/mips/t-sdemtk: New file.
9376 * config/rs6000/ppc64-fp.c: New file.
9377 * config/rs6000/t-darwin (LIB2ADD): Add
9378 $(srcdir)/config/rs6000/ppc64-fp.c.
9379 * config/rs6000/t-ppc64-fp: New file.
9380 * config/rx/rx-lib.h: New file.
9381 * config/rx/t-rx (FPBIT): Set to true.
9382 ($(gcc_objdir)/fp-bit.c): Remove.
9383 (DPBIT): Set to true only with -m64bit-doubles.
9384 ($(gcc_objdir)/dp-bit.c): Remove.
9385 * config/sparc/t-softfp: Remove.
9386 * config/spu/t-elf: New file.
9387 * config/t-fdpbit, config/t-fpbit: New files.
9388 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9389 (mips*-*-*): Likewise.
9390 (arm-wrs-vxworks): Likewise.
9391 (arm*-*-freebsd*): Likewise.
9392 (avr-*-rtems*): Add t-fpbit to tmake_file.
9393 (avr-*-*): Likewise.
9394 (bfin*-elf*): Add t-fdpbit to tmake_file.
9395 (bfin*-uclinux*): Likewise.
9396 (bfin*-linux-uclibc*): Likewise.
9397 (bfin*-rtems*): New case.
9398 Add t-fdpbit to tmake_file.
9399 (bfin*-*): Add t-fdpbit to tmake_file.
9400 (crisv32-*-elf): Likewise.
9401 (cris-*-linux*): Likewise.
9402 (fr30-*-elf): Likewise.
9403 (frv-*-elf, frv-*-*linux*): Likewise.
9404 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9405 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9406 (m32r-*-elf*): Likewise.
9407 (m32rle-*-elf*): Likewise.
9408 (m32r-*-linux*): Likewise.
9409 (m32rle-*-linux*): Likewise.
9410 (mcore-*-elf): Add t-fdpbit to tmake_file.
9411 (microblaze*-*-*): Likewise.
9412 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9413 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9414 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9415 Fix typo.
9416 Add mips/t-tpbit to tmake-file.
9417 (mips*-*-linux*): Fix typo.
9418 (mips*-sde-elf*): New case
9419 Add mips/t-sdemtk unless using newlib.
9420 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9421 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9422 (mn10300-*-*): Likewise.
9423 (pdp11-*-*): Likewise.
9424 (picochip-*-*): Add t-fpbit to tmake_file.
9425 (powerpc-*-eabisimaltivec*): Likewise.
9426 (powerpc-*-eabisim*): Likewise.
9427 (powerpc-*-elf*): Likewise.
9428 (powerpc-*-eabialtivec*): Likewise.
9429 (powerpc-xilinx-eabi*): New case.
9430 Add t-fdpbit to tmake_file.
9431 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9432 (powerpc-*-rtems*): Likewise.
9433 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9434 tmake_file.
9435 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9436 tmake_file.
9437 (powerpc-*-lynxos*): Likewise.
9438 (powerpcle-*-elf*): Likewise.
9439 (powerpcle-*-eabisim*): Likewise.
9440 (powerpcle-*-eabi*): Likewise.
9441 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9442 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9443 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9444 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9445 (rx-*-elf): Add t-fdpbit to tmake_file.
9446 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9447 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9448 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9449 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9450 sh*-*-netbsd*.
9451 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9452 (sh-wrs-vxworks): Likewise.
9453 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9454 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9455 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9456 (sparc64-*-rtems*): ... new case.
9457 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9458 (spu-*-elf*): Likewise.
9459 Add spu/t-elf to tmake_file.
9460 (v850*-*-*): Add t-fdpbit to tmake_file.
9461 (xstormy16-*-elf): Likewise.
9462 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9463 (mep*-*-*): Likewise.
9464
9465 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9466
9467 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9468 variables.
9469 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9470 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9471 (install-unwind_h): New target.
9472 (all): Depend on it.
9473 * config.host (unwind_header): New variable.
9474 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9475 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9476 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9477 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9478 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9479 Set unwind_header.
9480 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9481 Set unwind_header.
9482 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9483 arm*-*-eabi*.
9484 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9485 Set unwind_header.
9486 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9487 (ia64*-*-freebsd*): Likewise.
9488 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9489 tmake_file.
9490 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9491 $with_system_libunwind.
9492 (ia64*-*-hpux*): Set tmake_file.
9493 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9494 (picochip-*-*): Set tmake_file.
9495 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9496 md_unwind_header.
9497 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9498 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9499 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9500 (xtensa*-*-elf*): Set tmake_file.
9501 (xtensa*-*-linux*): Likewise.
9502 * configure.ac: Include ../config/unwind_ipinfo.m4.
9503 Call GCC_CHECK_UNWIND_GETIPINFO.
9504 Link unwind.h to $unwind_header.
9505 * configure: Regenerate.
9506 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9507 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9508 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9509 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9510 * config/unwind-dw2-fde-darwin.c: New file.
9511 * config/arm/libunwind.S, config/arm/pr-support.c,
9512 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9513 config/arm/unwind-arm.h,: New files.
9514 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9515 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9516 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9517 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9518 config/ia64/unwind-ia64.h: New files.
9519 * config/picochip/t-picochip: New file.
9520 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9521 files.
9522 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9523 * config/s390/t-tpf (LIB2ADDEH): Remove.
9524 * config/t-darwin (LIB2ADDEH): Set.
9525 * config/t-eh-dw2-dip: New file.
9526 * config/t-libunwind, config/t-libunwind-elf: New files.
9527 * config/t-sol2 (LIB2ADDEH): Remove.
9528 * config/xtensa/t-xtensa: New file.
9529
9530 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9531
9532 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9533 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9534 long long to check rt_sigreturn syscall.
9535
9536 2011-08-02 Alan Modra <amodra@gmail.com>
9537
9538 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9539 Restore for indirect call bcrtl from correct stack slot, and only
9540 if cfa+40 isn't valid.
9541
9542 2011-08-01 Julian Brown <julian@codesourcery.com>
9543
9544 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9545 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9546 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9547
9548 2011-08-01 Julian Brown <julian@codesourcery.com>
9549
9550 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9551 (libgcc-std.ver.in): Use above.
9552 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9553 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9554 throughout file.
9555 * config/t-fixedpoint-gnu-prefix: New file.
9556 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9557 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9558 instead of __PFX__.
9559
9560 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9561
9562 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9563 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9564 for x86-64. Properly check __x86_64__ and __LP64__.
9565
9566 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9569 version.
9570 (_FP_WS_TYPE): Likewise.
9571 (_FP_I_TYPE): Likewise.
9572
9573 2011-07-28 Alan Modra <amodra@gmail.com>
9574
9575 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9576 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9577 in a plt call stub. Do restore r2 if stopped on bctrl.
9578
9579 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9580
9581 * config.host (i[3456x]86-*-netware*): Remove.
9582 * config/i386/netware-crt0.c, config/i386/t-nwld,
9583 config/i386/t-slibgcc-nwld: Remove.
9584
9585 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9586
9587 * config.host: Handle tic6x-*-*.
9588 * config/c6x/c6x-abi.h: New file.
9589
9590 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9591
9592 * config/i386/crtprec.c: New file.
9593 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9594 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9595 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9596 (x86_64-*-darwin*): Likewise.
9597 (i[34567]86-*-solaris2*: Likewise.
9598
9599 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9600
9601 * config/alpha/crtfastmath.c: New file.
9602 * config/i386/crtfastmath.c: New file.
9603 * config/ia64/crtfastmath.c: New file.
9604 * config/mips/crtfastmath.c: New file.
9605 * config/sparc/crtfastmath.c: New file.
9606
9607 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9608 crtfastmath.c.
9609 Add -frandom-seed=gcc-crtfastmath.
9610 * config/alpha/t-crtfm: Remove.
9611 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9612 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9613
9614 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9615 (alpha*-dec-osf5.1*): Likewise.
9616 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9617 Add crtfastmath.o to extra_parts.
9618 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9619 Add crtfastmath.o to extra_parts.
9620 (x86_64-*-darwin*): Likewise.
9621 (x86_64-*-mingw*): Likewise.
9622 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9623 (ia64*-*-freebsd*): Likewise.
9624 (ia64*-*-linux*): Likewise.
9625 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9626 Add crtfastmath.o to extra_parts.
9627
9628 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9629
9630 * config/darwin-crt3.o: New file.
9631 * config/rs6000/darwin-crt2.c: New file.
9632 * config/t-darwin: New file.
9633 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9634 (crt2.o): New rule.
9635 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9636 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9637 (powerpc64-*-darwin*): Likewise.
9638
9639 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9640
9641 * config/i386/netware-crt0.c: New file.
9642 * config/i386/t-nwld: Rename to ...
9643 * config/i386/t-slibgcc-nwld: ... this.
9644 * config/i386/t-nwld: New file.
9645 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9646 tmake_file.
9647 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9648 extra_parts.
9649
9650 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9651
9652 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9653 i386/t-crtstuff.
9654 * configure: Regenerate.
9655
9656 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9657
9658 * dfp-bit.c, dfp-bit.h: New files.
9659 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9660 variables.
9661 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9662 ($(d64pbit-o)): Likewise.
9663 ($(d128pbit-o)): Likewise.
9664 * config/t-dfprules: New file.
9665 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9666 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9667 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9668 (x86_64-*-linux*): Likewise.
9669 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9670 (i[34567]86-*-cygwin*): Likewise.
9671 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9672 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9673
9674 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9675
9676 * Makfile.in (LIBGCOV): New variable.
9677 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9678 * libgcov.c: New file.
9679
9680 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9681
9682 * fixed-bit.c, fixed-bit.h: New files.
9683 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9684 refer to fixed-bit.c.
9685
9686 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9687
9688 * config.host (*local*): Remove.
9689
9690 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9691
9692 PR target/39150
9693 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9694 like i?86-*-solaris2.1[0-9]*.
9695 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9696 * configure.ac (i?86-*-solaris2*): Likewise.
9697 * configure: Regenerate.
9698
9699 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9700
9701 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9702 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9703 md_unwind_header by splitting out of...
9704 (i[34567]86-*-linux*): ... this.
9705 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9706 Remove md_unwind_header by splitting out of...
9707 (x86_64-*-linux*): ... this.
9708
9709 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9710
9711 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9712
9713 2011-06-28 Nick Clifton <nickc@redhat.com>
9714
9715 * config.host: Recognize all V850 variants.
9716
9717 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9718
9719 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9720
9721 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9722
9723 * shared-object.mk (c_flags-$o): Save c_flags.
9724 ($(base)$(objext)): Use it.
9725 ($(base)_s$(objext)): Likewise.
9726
9727 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9728
9729 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9730 * libgcc-std.ver.in (GCC_4.7.0): New section.
9731
9732 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9733
9734 PR target/49313
9735 PR target/29524
9736 * config/avr/t-avr: Fix line endings.
9737 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9738 _parityXX2.
9739
9740 2011-06-14 Olivier Hainque <hainque@adacore.com>
9741 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9742
9743 * config/mips/irix6-unwind.h: New file.
9744 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9745
9746 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9747
9748 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9749 (sparc64_fallback_frame_state): Use it.
9750 (sparc64_frob_update_context): Further adjust context.
9751 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9752 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9753 * config/sparc/sol2-cn.S: Likewise.
9754
9755 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9756
9757 * enable-execute-stack-empty.c: New file.
9758 * enable-execute-stack-mprotect.c: New file.
9759 * config/i386/enable-execute-stack-mingw32.c: New file.
9760 * config.host (enable_execute_stack): New variable.
9761 Select appropriate variants.
9762 * configure.ac: Link enable-execute-stack.c to
9763 $enable_execute_stack.
9764 * configure: Regenerate.
9765 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9766 (lib2funcs): Remove _enable_execute_stack.
9767
9768 2011-06-09 David S. Miller <davem@davemloft.net>
9769 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9770
9771 * config.host (sparc-*-linux*): Correct md_unwind_header
9772 filename.
9773 (s390x-ibm-tpf*): Fix typo.
9774
9775 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9776
9777 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9778 Add crtfastmath.o to extra_parts.
9779 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9780 mips/t-crtfm.
9781 * config/mips/t-crtfm: Remove.
9782
9783 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9784
9785 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9786
9787 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9788
9789 * config.host (sh*-*-linux*): Fix typo.
9790
9791 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9792
9793 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9794 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9795 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9796 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9797 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9798 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9799 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9800 Wrap in !__MINGW64__.
9801 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9802 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9803 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9804 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9805 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9806 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9807 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9808 Wrap in !__LP64__.
9809 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9810 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9811 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9812 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9813 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9814 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9815 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9816 * config/no-unwind.h: New file.
9817 * config.host (md_unwind_header): Document.
9818 Define.
9819 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9820 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9821 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9822 hppa[12]*-*-hpux11*): Set md_unwind_header.
9823 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9824 Set md_unwind_header.
9825 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9826 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9827 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9828 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9829 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9830 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9831 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9832 md_unwind_header.
9833 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9834 * configure: Regenerate.
9835
9836 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9837
9838 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9839 Set tmake_file, extra_parts.
9840 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9841 Remove O32 support.
9842 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9843 Remove O32 support.
9844 * config/mips/t-irix6: New file.
9845 * config/mips/t-slibgcc-irix: New file.
9846
9847 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9848
9849 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9850 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9851
9852 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9853
9854 * configure.ac (target_thread_file): Determine thread model.
9855 * configure: Regenerate.
9856 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9857 * config/alpha/t-alpha: New file.
9858 * config/alpha/t-crtfm: Use $<.
9859 * config/alpha/t-ieee: New file.
9860 * config/alpha/t-osf-pthread: New file.
9861 * config/alpha/t-slibgcc-osf: New file.
9862 * config/alpha/libgcc-osf5.ver: New file.
9863
9864 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9865
9866 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9867 tmake_file.
9868 Add crtfastmath.o to extra_parts.
9869
9870 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9871
9872 * config/gmon-sol2.c: Reindent.
9873 Cleanup comments.
9874 Remove, correct casts.
9875 Use STDERR_FILENO, NULL.
9876 (BASEADDRESS): Remove.
9877 (minbrk): Remove.
9878 (errno, sbrk): Remove declarations.
9879 (monstartup) [hp300]: Remove.
9880 (mcount): Remove.
9881
9882 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9883
9884 * Makefile.in (cpu_type): Define.
9885 * config.host (i[34567]86-*-rtems*): Handle it.
9886 (i[34567]86-*-solaris2*): Move body ...
9887 (*-*-solaris2*): ... here.
9888 New case, generalize.
9889 (sparc-*-elf*): Handle it.
9890 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9891 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9892 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9893 Fold into ...
9894 (sparc*-*-solaris2*): ... this.
9895 New case.
9896 (sparc64-*-elf*): Handle it.
9897 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9898 Merge ../gcc/config/i386/gmon-sol2.c.
9899 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9900 Use C comments.
9901 Merge ../gcc/config/i386/sol2-gc1.asm.
9902 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9903 Use C comments.
9904 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9905 Use C comments.
9906 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9907 * config/i386/t-crtstuff: New file.
9908 * config/i386/t-softfp: New file.
9909 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9910 $(T)crti.o, $(T)crtn.o): Remove.
9911 (gcrt1.o): New rule.
9912 (TARGET_LIBGCC2_CFLAGS): Remove.
9913 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9914 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9915 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9916 * config/sparc/t-sol2: New file.
9917 * config/sparc/t-crtfm: Move to ...
9918 * config/t-crtfm: ... this.
9919 Use $(cpu_type), $<.
9920 * config/t-crtin: New file.
9921 * config/sparc/t-softfp: New file.
9922 * config/sparc/t-softmul: New file.
9923 * config/t-rtems: New file.
9924 * config/t-slibgcc: New file.
9925 * config/t-slibgcc-elf-ver: New file.
9926 * config/t-slibgcc-gld: New file.
9927 * config/t-slibgcc-sld: New file.
9928 * config/t-sol2: New file.
9929 * configure.ac: Include ../config/lib-ld.m4.
9930 Call AC_LIB_PROG_LD_GNU.
9931 Substitute cpu_type.
9932 * configure: Regenerate.
9933
9934 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9935
9936 PR bootstrap/49173
9937 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9938 libgcc-std.ver in the build directory.
9939 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9940 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9941
9942 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9943
9944 * libgcc-std.ver.in: New file.
9945 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9946 variables.
9947 (libgcc-std.ver): New rule.
9948 * config/t-gnu-prefix: New file.
9949
9950 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9951
9952 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9953
9954 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9955
9956 * config/i386/darwin-lib.h: New file.
9957
9958 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9959
9960 * config/arm/symbian-lib.h: New.
9961
9962 2011-05-04 Chris Demetriou <cgd@google.com>
9963
9964 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9965 (__x86.get_pc_thunk.bx): ...this.
9966 (__morestack): Adjust for rename, remove undef of __i686.
9967
9968 2011-05-03 Chris Demetriou <cgd@google.com>
9969
9970 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9971
9972 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9973
9974 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9975 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9976 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9977 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9978 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9979 Remove cases.
9980
9981 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9982
9983 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9984 Adjust copyright year.
9985
9986 2011-03-07 Ian Lance Taylor <iant@google.com>
9987
9988 * generic-morestack.c (__splitstack_find): Adjust returned stack
9989 pointer to include all registers pushed by __morestack.
9990
9991 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9992
9993 PR target/40125
9994 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9995 (toolexecdir): Calculate and AC_SUBST.
9996 (toolexeclibdir): Likewise.
9997 * Makefile.in (target_noncanonical): Import.
9998 (toolexecdir): Likewise.
9999 (toolexeclibdir): Likewise.
10000 * configure: Regenerate.
10001
10002 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10003
10004 PR target/46040
10005 * config/arm/bpabi.h: Rename to...
10006 * config/arm/bpabi-lib.h: ...this.
10007
10008 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10009
10010 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10011 appropriate.
10012 * configure: Regenerate.
10013
10014 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10015
10016 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10017 __FLOAT_WORD_ORDER__.
10018 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10019 Delete.
10020
10021 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10022
10023 PR other/46202
10024 * Makefile.in (install-strip): New phony target.
10025
10026 2010-11-07 Ian Lance Taylor <iant@google.com>
10027
10028 PR target/46089
10029 * config/i386/morestack.S (__morestack_large_model): New
10030 function.
10031
10032 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10033
10034 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10035 Delete.
10036 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10037
10038 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10039
10040 * config/arm/bpabi.h: New file.
10041 * config/frv/frv-abi.h: New file.
10042
10043 2010-10-01 Ian Lance Taylor <iant@google.com>
10044
10045 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10046 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10047
10048 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10049
10050 PR target/45858
10051 * config.host: Add the missing `$'.
10052
10053 2010-09-30 Michael Eager <eager@eagercon.com>
10054
10055 * config.host: Add microblaze*-*-*.
10056 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10057 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10058 udivsi3.asm,umodsi3.asm}: New.
10059
10060 2010-09-28 Ian Lance Taylor <iant@google.com>
10061
10062 * configure.ac: Adjust CFI test to test assembler directly rather
10063 than checking gcc preprocessor macro.
10064 * configure: Rebuild.
10065
10066 2010-09-27 Ian Lance Taylor <iant@google.com>
10067
10068 * configure.ac: Test whether assembler supports CFI directives.
10069 * config.host: Only add t-stack and i386/t-stack-i386 to
10070 tmake_file if libgcc_cv_cfi is "yes".
10071 * configure: Rebuild.
10072
10073 2010-09-27 Ian Lance Taylor <iant@google.com>
10074
10075 * generic-morestack.h: New file.
10076 * generic-morestack.c: New file.
10077 * generic-morestack-thread.c: New file.
10078 * config/i386/morestack.S: New file.
10079 * config/t-stack: New file.
10080 * config/i386/t-stack-i386: New file.
10081 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10082 i386/t-stack-i386 to tmake_file.
10083
10084 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10085
10086 * Makefile.in (libgcc-extra-parts): Check for static archives and
10087 invoke ranlib after installing them.
10088 (gcc-extra-parts): Likewise.
10089 (install-leaf): Likewise.
10090
10091 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10092
10093 * configure: Regenerated.
10094
10095 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10096
10097 * configure: Regenerated.
10098
10099 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10100 Andrew Pinski <pinskia@gmail.com>
10101
10102 PR target/40959
10103 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10104
10105 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10106
10107 PR target/45524
10108 * configure: Regenerated.
10109
10110 2010-09-06 Andreas Schwab <schwab@redhat.com>
10111
10112 * configure: Regenerate.
10113
10114 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10115
10116 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10117 64bit targets.
10118 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10119 for 64bit targets.
10120
10121 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10122 Iain Sandoe <iains@gcc.gnu.org>
10123
10124 PR target/45476
10125 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10126 LIB2FUNCS_EXCLUDE functions.
10127
10128 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10129
10130 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10131 Include dfp.m4.
10132 * configure: Regenerate.
10133
10134 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10135
10136 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10137 i386/t-freebsd to tmake_file.
10138 * config/i386/t-freebsd: New file.
10139 * config/i386/libgcc-bsd.ver: New file.
10140
10141 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10142
10143 * config.host (powerpc*-eabispe*): Set tmake_file.
10144 (powerpc*-eabi*): Likewise.
10145 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10146 crtbeginS, crtendS, crtbeginT.
10147
10148 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10149
10150 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10151 to tmake_file. Add crtfastmath.o to extra_parts.
10152 * config/mips/t-crtfm: New.
10153
10154 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10155
10156 * config.host (sparc64-*-rtems*): New target.
10157
10158 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10159
10160 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10161 assembler syntax.
10162
10163 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10164
10165 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10166
10167 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10168
10169 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10170 alpha-dec-osf5.0* support.
10171
10172 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10173
10174 * config.host: Add lm32-*-rtems*.
10175
10176 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10177 Uros Bizjak <ubizjak@gmail.com>
10178
10179 PR target/39048
10180 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10181 like other remaining 32-bit x86 OSes.
10182 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10183 assembler syntax.
10184 * config/i386/libgcc-sol2.ver: New file.
10185 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10186
10187 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10188
10189 PR c/43553
10190 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10191 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10192 is used and substitute set_use_emutls.
10193 * configure: Regenerated.
10194
10195 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10196
10197 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10198
10199 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10200
10201 PR target/38085
10202 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10203 MULTILIB_CFLAGS.
10204 ($(T)gcrt1.o): Likewise.
10205 ($(T)crt1.o): Likewise.
10206 ($(T)crti.o): Likewise.
10207 ($(T)crtn.o): Likewise.
10208
10209 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10210
10211 PR other/42980
10212 * Makefile.in (install): Use $(MAKE) string in rule, for
10213 parallel make.
10214
10215 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10216
10217 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10218 * config/mmix/t-mmix: New file.
10219 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10220
10221 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10222
10223 PR java/41991
10224 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10225 SHLIB_MAPFILES.
10226
10227 2010-01-04 Anthony Green <green@moxielogic.com>
10228
10229 * config/moxie/crti.asm, config/moxie/crtn.asm,
10230 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10231 config/moxie/t-moxie: New files.
10232 * config.host: Add t-moxie-softfp reference.
10233
10234 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10235
10236 PR other/39888
10237 * config/t-slibgcc-darwin: Fix embedded rpaths for
10238 --enable-version-specific-runtime-libs, build extension stub
10239 libs exposing features available from current libgcc_s.
10240
10241 2009-11-11 Jon Beniston <jon@beniston.com>
10242
10243 * config.host: Add lm32 targets.
10244 * config/lm32: New directory.
10245 * config/lm32/libgcc_lm32.h: New file.
10246 * config/lm32/_mulsi3.c: New file.
10247 * config/lm32/_udivmodsi4.c: New file.
10248 * config/lm32/_divsi3.c: New file.
10249 * config/lm32/_modsi3.c: New file.
10250 * config/lm32/_udivsi3.c: New file.
10251 * config/lm32/_umodsi3.c: New file.
10252 * config/lm32/_lshrsi3.S: New file.
10253 * config/lm32/_ashrsi3.S: New file.
10254 * config/lm32/_ashlsi3.S: New file.
10255 * config/lm32/crti.S: New file.
10256 * config/lm32/crtn.S: New file.
10257 * config/lm32/t-lm32: New file.
10258 * config/lm32/t-elf: New file.
10259 * config/lm32/t-uclinux: New file.
10260
10261 2009-10-26 Nick Clifton <nickc@redhat.com>
10262
10263 * config.host: Add support for RX target.
10264 * config/rx: New directory.
10265 * config/rx/rx-abi-functions.c: New file. Supplementary
10266 functions for libgcc to support the RX ABI.
10267 * config/rx/rx-abi.h: New file. Supplementary header file for
10268 libgcc RX ABI functions.
10269 * config/rx/t-rx: New file: Makefile fragment for building
10270 libgcc for the RX.
10271
10272 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10273
10274 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10275 constraint of y0 to "g".
10276
10277 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10278
10279 * config.host: Include the s390 makefile fragments.
10280 * config/s390/32/_fixdfdi.c: New file.
10281 * config/s390/32/_fixsfdi.c: New file.
10282 * config/s390/32/_fixtfdi.c: New file.
10283 * config/s390/32/_fixunsdfdi.c: New file.
10284 * config/s390/32/_fixunssfdi.c: New file.
10285 * config/s390/32/_fixunstfdi.c: New file.
10286 * config/s390/32/t-floattodi: New file.
10287 * config/s390/libgcc-glibc.ver: New file.
10288 * config/s390/t-crtstuff: New file.
10289 * config/s390/t-linux: New file.
10290 * config/s390/t-tpf: New file.
10291
10292 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10293
10294 * configure.ac (AC_PREREQ): Bump to 2.64.
10295
10296 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10297
10298 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10299
10300 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10301
10302 * configure: Regenerate.
10303
10304 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10305
10306 * config.host (ia64-hp-*vms*): New target.
10307 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10308 with ia64-hp-*vms*.
10309
10310 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10311
10312 * configure.ac: Add snippet for maintainer-mode.
10313 * configure: Regenerate.
10314 * Makefile.in (AUTOCONF, configure_deps): New variables.
10315 ($(srcdir)/configure)): New rule, active only with maintainer
10316 mode turned on.
10317
10318 2009-06-23 DJ Delorie <dj@redhat.com>
10319
10320 Add MeP port.
10321 * config.host: Add mep support.
10322
10323 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10324
10325 * config.host: Add i386/${host_address}/t-fprules-softfp and
10326 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10327
10328 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10329 for mingw targets.
10330 * config/i386/64/_multc3.c: Likewise.
10331 * config/i386/64/_powitf2.c: Likewise.
10332 * config/i386/64/eqtf2.c: Likewise.
10333 * config/i386/64/getf2.c: Likewise.
10334 * config/i386/64/letf2.c: Likewise.
10335 * config/i386/64/letf2.c: Likewise.
10336 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10337 unsigned long long for x64 mingw targets.
10338 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10339 (_FP_I_TYPE): Define as long long for x64 mingw target.
10340
10341 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10342
10343 * config.host (vax-*-linux*): New.
10344
10345 2009-05-31 Anthony Green <green@moxielogic.com>
10346
10347 * config.host: Add moxie support.
10348 * config/moxie/t-moxie: New file.
10349
10350 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10351
10352 * config.host: Add i386/${host_address}/t-fprules-softfp and
10353 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10354
10355 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10356
10357 * config.host: Add i386/${host_address}/t-fprules-softfp to
10358 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10359
10360 2009-04-09 Nick Clifton <nickc@redhat.com>
10361
10362 * config/ia64/tf-signs.c: Change copyright header to refer to
10363 version 3 of the GNU General Public License with version 3.1
10364 of the GCC Runtime Library Exception and to point readers at
10365 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10366 web page.
10367 * config/i386/32/tf-signs.c: Likewise.
10368 * config/libbid/_addsub_dd.c: Likewise.
10369 * config/libbid/_addsub_sd.c: Likewise.
10370 * config/libbid/_addsub_td.c: Likewise.
10371 * config/libbid/_dd_to_df.c: Likewise.
10372 * config/libbid/_dd_to_di.c: Likewise.
10373 * config/libbid/_dd_to_sd.c: Likewise.
10374 * config/libbid/_dd_to_sf.c: Likewise.
10375 * config/libbid/_dd_to_si.c: Likewise.
10376 * config/libbid/_dd_to_td.c: Likewise.
10377 * config/libbid/_dd_to_tf.c: Likewise.
10378 * config/libbid/_dd_to_udi.c: Likewise.
10379 * config/libbid/_dd_to_usi.c: Likewise.
10380 * config/libbid/_dd_to_xf.c: Likewise.
10381 * config/libbid/_df_to_dd.c: Likewise.
10382 * config/libbid/_df_to_sd.c: Likewise.
10383 * config/libbid/_df_to_td.c: Likewise.
10384 * config/libbid/_di_to_dd.c: Likewise.
10385 * config/libbid/_di_to_sd.c: Likewise.
10386 * config/libbid/_di_to_td.c: Likewise.
10387 * config/libbid/_div_dd.c: Likewise.
10388 * config/libbid/_div_sd.c: Likewise.
10389 * config/libbid/_div_td.c: Likewise.
10390 * config/libbid/_eq_dd.c: Likewise.
10391 * config/libbid/_eq_sd.c: Likewise.
10392 * config/libbid/_eq_td.c: Likewise.
10393 * config/libbid/_ge_dd.c: Likewise.
10394 * config/libbid/_ge_sd.c: Likewise.
10395 * config/libbid/_ge_td.c: Likewise.
10396 * config/libbid/_gt_dd.c: Likewise.
10397 * config/libbid/_gt_sd.c: Likewise.
10398 * config/libbid/_gt_td.c: Likewise.
10399 * config/libbid/_isinfd128.c: Likewise.
10400 * config/libbid/_isinfd32.c: Likewise.
10401 * config/libbid/_isinfd64.c: Likewise.
10402 * config/libbid/_le_dd.c: Likewise.
10403 * config/libbid/_le_sd.c: Likewise.
10404 * config/libbid/_le_td.c: Likewise.
10405 * config/libbid/_lt_dd.c: Likewise.
10406 * config/libbid/_lt_sd.c: Likewise.
10407 * config/libbid/_lt_td.c: Likewise.
10408 * config/libbid/_mul_dd.c: Likewise.
10409 * config/libbid/_mul_sd.c: Likewise.
10410 * config/libbid/_mul_td.c: Likewise.
10411 * config/libbid/_ne_dd.c: Likewise.
10412 * config/libbid/_ne_sd.c: Likewise.
10413 * config/libbid/_ne_td.c: Likewise.
10414 * config/libbid/_sd_to_dd.c: Likewise.
10415 * config/libbid/_sd_to_df.c: Likewise.
10416 * config/libbid/_sd_to_di.c: Likewise.
10417 * config/libbid/_sd_to_sf.c: Likewise.
10418 * config/libbid/_sd_to_si.c: Likewise.
10419 * config/libbid/_sd_to_td.c: Likewise.
10420 * config/libbid/_sd_to_tf.c: Likewise.
10421 * config/libbid/_sd_to_udi.c: Likewise.
10422 * config/libbid/_sd_to_usi.c: Likewise.
10423 * config/libbid/_sd_to_xf.c: Likewise.
10424 * config/libbid/_sf_to_dd.c: Likewise.
10425 * config/libbid/_sf_to_sd.c: Likewise.
10426 * config/libbid/_sf_to_td.c: Likewise.
10427 * config/libbid/_si_to_dd.c: Likewise.
10428 * config/libbid/_si_to_sd.c: Likewise.
10429 * config/libbid/_si_to_td.c: Likewise.
10430 * config/libbid/_td_to_dd.c: Likewise.
10431 * config/libbid/_td_to_df.c: Likewise.
10432 * config/libbid/_td_to_di.c: Likewise.
10433 * config/libbid/_td_to_sd.c: Likewise.
10434 * config/libbid/_td_to_sf.c: Likewise.
10435 * config/libbid/_td_to_si.c: Likewise.
10436 * config/libbid/_td_to_tf.c: Likewise.
10437 * config/libbid/_td_to_udi.c: Likewise.
10438 * config/libbid/_td_to_usi.c: Likewise.
10439 * config/libbid/_td_to_xf.c: Likewise.
10440 * config/libbid/_tf_to_dd.c: Likewise.
10441 * config/libbid/_tf_to_sd.c: Likewise.
10442 * config/libbid/_tf_to_td.c: Likewise.
10443 * config/libbid/_udi_to_dd.c: Likewise.
10444 * config/libbid/_udi_to_sd.c: Likewise.
10445 * config/libbid/_udi_to_td.c: Likewise.
10446 * config/libbid/_unord_dd.c: Likewise.
10447 * config/libbid/_unord_sd.c: Likewise.
10448 * config/libbid/_unord_td.c: Likewise.
10449 * config/libbid/_usi_to_dd.c: Likewise.
10450 * config/libbid/_usi_to_sd.c: Likewise.
10451 * config/libbid/_usi_to_td.c: Likewise.
10452 * config/libbid/_xf_to_dd.c: Likewise.
10453 * config/libbid/_xf_to_sd.c: Likewise.
10454 * config/libbid/_xf_to_td.c: Likewise.
10455 * config/libbid/bid128.c: Likewise.
10456 * config/libbid/bid128_2_str.h: Likewise.
10457 * config/libbid/bid128_2_str_macros.h: Likewise.
10458 * config/libbid/bid128_2_str_tables.c: Likewise.
10459 * config/libbid/bid128_add.c: Likewise.
10460 * config/libbid/bid128_compare.c: Likewise.
10461 * config/libbid/bid128_div.c: Likewise.
10462 * config/libbid/bid128_fma.c: Likewise.
10463 * config/libbid/bid128_logb.c: Likewise.
10464 * config/libbid/bid128_minmax.c: Likewise.
10465 * config/libbid/bid128_mul.c: Likewise.
10466 * config/libbid/bid128_next.c: Likewise.
10467 * config/libbid/bid128_noncomp.c: Likewise.
10468 * config/libbid/bid128_quantize.c: Likewise.
10469 * config/libbid/bid128_rem.c: Likewise.
10470 * config/libbid/bid128_round_integral.c: Likewise.
10471 * config/libbid/bid128_scalb.c: Likewise.
10472 * config/libbid/bid128_sqrt.c: Likewise.
10473 * config/libbid/bid128_string.c: Likewise.
10474 * config/libbid/bid128_to_int16.c: Likewise.
10475 * config/libbid/bid128_to_int32.c: Likewise.
10476 * config/libbid/bid128_to_int64.c: Likewise.
10477 * config/libbid/bid128_to_int8.c: Likewise.
10478 * config/libbid/bid128_to_uint16.c: Likewise.
10479 * config/libbid/bid128_to_uint32.c: Likewise.
10480 * config/libbid/bid128_to_uint64.c: Likewise.
10481 * config/libbid/bid128_to_uint8.c: Likewise.
10482 * config/libbid/bid32_to_bid128.c: Likewise.
10483 * config/libbid/bid32_to_bid64.c: Likewise.
10484 * config/libbid/bid64_add.c: Likewise.
10485 * config/libbid/bid64_compare.c: Likewise.
10486 * config/libbid/bid64_div.c: Likewise.
10487 * config/libbid/bid64_fma.c: Likewise.
10488 * config/libbid/bid64_logb.c: Likewise.
10489 * config/libbid/bid64_minmax.c: Likewise.
10490 * config/libbid/bid64_mul.c: Likewise.
10491 * config/libbid/bid64_next.c: Likewise.
10492 * config/libbid/bid64_noncomp.c: Likewise.
10493 * config/libbid/bid64_quantize.c: Likewise.
10494 * config/libbid/bid64_rem.c: Likewise.
10495 * config/libbid/bid64_round_integral.c: Likewise.
10496 * config/libbid/bid64_scalb.c: Likewise.
10497 * config/libbid/bid64_sqrt.c: Likewise.
10498 * config/libbid/bid64_string.c: Likewise.
10499 * config/libbid/bid64_to_bid128.c: Likewise.
10500 * config/libbid/bid64_to_int16.c: Likewise.
10501 * config/libbid/bid64_to_int32.c: Likewise.
10502 * config/libbid/bid64_to_int64.c: Likewise.
10503 * config/libbid/bid64_to_int8.c: Likewise.
10504 * config/libbid/bid64_to_uint16.c: Likewise.
10505 * config/libbid/bid64_to_uint32.c: Likewise.
10506 * config/libbid/bid64_to_uint64.c: Likewise.
10507 * config/libbid/bid64_to_uint8.c: Likewise.
10508 * config/libbid/bid_b2d.h: Likewise.
10509 * config/libbid/bid_binarydecimal.c: Likewise.
10510 * config/libbid/bid_conf.h: Likewise.
10511 * config/libbid/bid_convert_data.c: Likewise.
10512 * config/libbid/bid_decimal_data.c: Likewise.
10513 * config/libbid/bid_decimal_globals.c: Likewise.
10514 * config/libbid/bid_div_macros.h: Likewise.
10515 * config/libbid/bid_dpd.c: Likewise.
10516 * config/libbid/bid_flag_operations.c: Likewise.
10517 * config/libbid/bid_from_int.c: Likewise.
10518 * config/libbid/bid_functions.h: Likewise.
10519 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10520 * config/libbid/bid_inline_add.h: Likewise.
10521 * config/libbid/bid_internal.h: Likewise.
10522 * config/libbid/bid_round.c: Likewise.
10523 * config/libbid/bid_sqrt_macros.h: Likewise.
10524
10525 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10526
10527 * Makefile.in: Change copyright header to refer to version
10528 3 of the GNU General Public License and to point readers at the
10529 COPYING3 file and the FSF's license web page.
10530 * config.host: Likewise.
10531
10532 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10533
10534 * config.host: Reorder and merge to match config.gcc change.
10535
10536 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10537
10538 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10539
10540 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10541
10542 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10543 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10544 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10545 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10546
10547 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10548
10549 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10550 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10551
10552 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10553
10554 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10555 ia64/t-softfp-compat to tmake_file.
10556
10557 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10558
10559 * config/ia64/__divxf3.asm: New.
10560 * config/ia64/_fixtfdi.asm: Likewise.
10561 * config/ia64/_fixunstfdi.asm: Likewise.
10562 * config/ia64/_floatditf.asm: Likewise.
10563 * config/ia64/t-fprules-softfp: Likewise.
10564 * config/ia64/t-softfp-compat: Likewise.
10565 * config/ia64/tf-signs.c: Likewise.
10566
10567 2009-01-18 Ben Elliston <bje@au.ibm.com>
10568
10569 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10570
10571 2009-01-16 Ben Elliston <bje@au.ibm.com>
10572
10573 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10574 to tmake_file.
10575
10576 2009-01-13 Ben Elliston <bje@au.ibm.com>
10577
10578 * config/t-softfp: New file.
10579 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10580 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10581
10582 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10583
10584 * config.host: Add m32r*-*-rtems*.
10585
10586 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10587
10588 * config.host: Add m32c*-*-rtems*.
10589
10590 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10591
10592 PR bootstrap/33100
10593 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10594 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10595 * configure: Regenerate.
10596 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10597 tmake_file here from gcc/config.gcc.
10598 Move extra_parts here from gcc/config.gcc.
10599 * config/i386/t-sol2: Move here from gcc/config/i386.
10600 Use gcc_srcdir instead of srcdir.
10601
10602 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10603
10604 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10605 case.
10606
10607 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10608
10609 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10610
10611 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10612
10613 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10614
10615 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10616
10617 Add picoChip port.
10618 * config.host: Add picochip-*-*.
10619
10620 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10621
10622 * config.host: Match more processor names for Xtensa.
10623
10624 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10625
10626 * config/i386/64/t-softfp-compat: Update comments.
10627
10628 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10629
10630 * config/i386/64/_divtc3-compat.c: Moved to ...
10631 * config/i386/64/_divtc3.c: Here.
10632
10633 * config/i386/64/_multc3-compat.c: Moved to ...
10634 * config/i386/64/_multc3.c: Here.
10635
10636 * config/i386/64/_powitf2-compat.c: Moved to ...
10637 * config/i386/64/_powitf2.c: Here.
10638
10639 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10640 .c suffix instead of -compat.c.
10641
10642 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10643
10644 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10645 (_FP_MUL_MEAT_D): Ditto.
10646 (_FP_DIV_MEAT_S): Ditto.
10647 (_FP_DIV_MEAT_D): Ditto.
10648
10649 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10650
10651 * Makefile.in: Add support for __sync_* libgcc functions.
10652
10653 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10656
10657 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10658
10659 PR boostrap/36702
10660 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10661 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10662
10663 * config/i386/64/t-fprules-softfp: Moved to ...
10664 * config/i386/64/t-softfp-compat: This. New.
10665
10666 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10667
10668 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10669 Initialize f with 0.0.
10670
10671 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10672
10673 PR target/36669
10674 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10675
10676 * config/i386/64/_divtc3-compat.c: New.
10677 * config/i386/64/_multc3-compat.c: Likewise.
10678 * config/i386/64/_powitf2-compat.c: Likewise.
10679 * config/i386/64/eqtf2.c: Likewise.
10680 * config/i386/64/getf2.c: Likewise.
10681 * config/i386/64/letf2.c: Likewise.
10682 * config/i386/64/t-fprules-softfp: Likewise.
10683
10684 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10685
10686 * config.host: Add i386/${host_address}/t-fprules-softfp to
10687 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10688 i[34567]86-*-linux*, x86_64-*-linux*.
10689
10690 * configure.ac: Set host_address to 64 or 32 for x86.
10691 * configure: Regenerated.
10692
10693 * Makefile.in (config.status): Also depend on
10694 $(srcdir)/config.host.
10695
10696 * config/i386/32/t-fprules-softfp: New.
10697 * config/i386/32/tf-signs.c: Likewise.
10698
10699 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10700
10701 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10702 Uros Bizjak <ubizjak@gmail.com>
10703
10704 * config/i386/32/sfp-machine.h: New.
10705
10706 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10707
10708 * config/rs6000/t-ppccomm: Remove rules that conflict with
10709 auto-generated rules.
10710
10711 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10712
10713 * configure.ac: sinclude override.m4.
10714 * configure: Regenerate.
10715
10716 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10717
10718 * configure: Regenerate.
10719
10720 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10721
10722 * Makefile.in (DECNUMINC): Remove
10723 -I$(MULTIBUILDTOP)../../libdecnumber.
10724 * gstdint.h: New.
10725
10726 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10727
10728 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10729 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10730 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10731 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10732 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10733 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10734 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10735 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10736 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10737 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10738 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10739 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10740 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10741 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10742
10743 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10744
10745 * config.host (sh2[lbe]*-*-linux*): Allow target.
10746
10747 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10748
10749 * config/rs6000/t-ppccomm: Add build rules for new files.
10750 (LIB2ADD_ST): New variable.
10751
10752 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10753
10754 PR target/34210
10755 PR target/35508
10756 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10757 * config/t-avr: New file. Build 16bit libgcc functions.
10758
10759 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10760
10761 PR target/35401
10762 * config/t-slibgcc-darwin: Make install-leaf dependent on
10763 install-darwin-libgcc-stubs instead of install.
10764
10765 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10766
10767 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10768 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10769 sh-*-rtemscoff*): Remove cases.
10770
10771 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10772
10773 * Makefile.in (all): Use install-leaf rather than install.
10774 (install): Split most of the rule into...
10775 (install-leaf): ...this new one.
10776
10777 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10778 Paolo Bonzini <bonzini@gnu.org>
10779
10780 PR target/30572
10781 * Makefile.in: Use @shlib_slibdir@ substitution to get
10782 correct install name on darwin.
10783 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10784
10785 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10786
10787 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10788 cris-*-elf and cris-*-none.
10789 (crisv32-*-linux*): Similar, as cris-*-linux*.
10790
10791 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10792
10793 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10794
10795 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10796
10797 PR regression/33926
10798 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10799 * configure: Regenerated.
10800
10801 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10802
10803 * Makefile.in (dfp-filenames): Replace decimal_globals,
10804 decimal_data, binarydecimal and convert_data with
10805 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10806 and bid_convert_data, respectively.
10807
10808 2007-09-17 Chao-ying Fu <fu@mips.com>
10809 Nigel Stephens <nigel@mips.com>
10810
10811 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10812 * Makefile.in (fixed_point): Define.
10813 Check if fixed_point is yes to build support functions.
10814 * configure.ac: Check for fixed_point support.
10815 * configure: Regenerated.
10816 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10817 funcs, modes, from, to.
10818
10819 2007-09-11 Janis Johnson <janis187@us.ibm.com
10820
10821 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10822
10823 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10824
10825 * Makefile.in (dfp-filenames): Remove decUtility, add
10826 decDouble, decPacked, decQuad, decSingle.
10827
10828 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10829
10830 * config.host : Add x86_64-elf target.
10831
10832 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10833
10834 * configure.ac (set_have_cc_tls): Add a missing =.
10835 * configure: Regenerated.
10836
10837 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10838
10839 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10840 and x86_64-*-linux*.
10841
10842 * config/t-tls: New file.
10843
10844 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10845
10846 * configure.ac: Include ../config/enable.m4 and
10847 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10848 supports TLS and substitute set_have_cc_tls.
10849 * configure: Regenerated.
10850
10851 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10852
10853 * Makefile.in: Use libbid for DFP when BID is enabled.
10854
10855 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10856
10857 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10858 extra_parts. Add config/i386/t-cygming to tmake_file.
10859 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10860
10861 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10862 Danny Smith <dannysmith@users.sourceforge.net>
10863
10864 PR target/29498
10865 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10866 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10867 * config/i386/t-crtfm: Compile crtfastmath.o with
10868 -minline-all-stringops.
10869
10870 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10871
10872 * config.host (sparc-wrs-vxworks): New target.
10873
10874 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10875
10876 * config.host: Recognize fido.
10877
10878 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10879
10880 * configure: Check host, not target, for decimal float support.
10881
10882 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10883
10884 * config/i386/t-crtpc: New file.
10885 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10886 (x86_64-*-linux*): Ditto.
10887
10888 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10889
10890 * config.host (x86_64-*-mingw*): New target.
10891
10892 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10893 H.J. Lu <hongjiu.lu@intel.com>
10894
10895 * Makefile.in (enable_decimal_float): New.
10896 (DECNUMINC): Add
10897 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10898 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10899 (decbits-filenames): This.
10900 (decbits-objects): New.
10901 (libgcc-objects): Add $(decbits-objects).
10902
10903 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10904 Substitute enable_decimal_float.
10905 * configure: Regenerated.
10906
10907 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10908
10909 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10910
10911 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10912
10913 * Makefile.in (install-info): New dummy target.
10914
10915 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10916
10917 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10918
10919 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10920
10921 * Makefile.in: Add install-html and install-pdf dummy
10922 targets.
10923
10924 2007-02-05 Roger Sayle <roger@eyesopen.com>
10925 Daniel Jacobowitz <dan@codesourcery.com>
10926
10927 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10928 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10929 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10930
10931 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10932
10933 * Makefile.in (dec-filenames): Add decExcept.
10934
10935 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10936
10937 PR bootstrap/30469
10938 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10939 -fprofile-use.
10940
10941 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10942
10943 * configure.ac: Add --enable-version-specific-runtime-libs.
10944 Correct $slibdir default.
10945 * configure: Regenerated.
10946
10947 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10948
10949 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10950
10951 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10952
10953 PR target/30519
10954 * config.host (alpha*-*-linux*): Set extra_parts.
10955
10956 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10957
10958 * config/sh/t-linux: New.
10959 * config.host (sh*-*-linux*): Set tmake_file.
10960
10961 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10962
10963 * Makefile.in (install): Handle multilibs.
10964
10965 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10966
10967 * Makefile.in: Added .PHONY entry for documentation targets.
10968
10969 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10970
10971 * Makefile.in: Add empty info, html, dvi, pdf targets.
10972
10973 2007-01-04 Mike Stump <mrs@apple.com>
10974
10975 * Makefile.in (MAKEINFO): Remove.
10976 (PERL): Likewise.
10977
10978 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10979
10980 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10981 * configure: Regenerate.
10982 * Makefile.in (host_subdir): Substitute it.
10983 (gcc_objdir): Use it.
10984
10985 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10986
10987 * config.host (ia64*-*-linux*): Set tmake_file.
10988
10989 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10990
10991 * Makefile.in (version): Define.
10992
10993 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10994 Paolo Bonzini <bonzini@gnu.org>
10995
10996 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10997 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10998 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10999 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11000 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11001 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11002 * configure: Generated.
11003 \f
11004 Copyright (C) 2007-2020 Free Software Foundation, Inc.
11005
11006 Copying and distribution of this file, with or without modification,
11007 are permitted in any medium without royalty provided the copyright
11008 notice and this notice are preserved.
This page took 0.5212 seconds and 5 git commands to generate.