Add new shrpsi instruction variands to gcc/config/pa/pa.md.
[official-gcc.git] / libgcc / ChangeLog
blobcc66cc4b34db02abe13280bf27c54ad1898c3e6a
1 2020-09-09  Tom de Vries  <tdevries@suse.de>
3         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
4         Wbuiltin-declaration-mismatch.
6 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
8         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
9         * config/msp430/srai.S (__gnu_mspabi_srap): New.
10         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
12 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
14         * config/nvptx/atomic.c: New.
15         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
17 2020-08-03  Ian Lance Taylor  <iant@golang.org>
19         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
21 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
23         PR target/96402
24         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
25         of x(tmp0), x(tmp1) in STXP arguments.
27 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
29         * config/riscv/save-restore.S [__riscv_xlen == 64]
30         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
31         (__riscv_save_2): Replace negative immediates used for the final
32         stack pointer adjustment with positive ones, right-shifted by 4.
34 2020-07-31  Martin Liska  <mliska@suse.cz>
36         * libgcov-driver.c: Add __gcov_kvp_pool
37         and __gcov_kvp_pool_index variables.
38         * libgcov.h (allocate_gcov_kvp): New.
39         (gcov_topn_add_value): Use it.
41 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
43         * config/aarch64/lse.S: Add PAC property note.
45 2020-07-23  Martin Liska  <mliska@suse.cz>
47         PR gcov-profile/96035
48         * libgcov-driver-system.c: Create gcov folders with 0777
49         so that it respects a system umask.
51 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
53         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
55 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
57         PR target/94891
58         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
59         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
60         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
61         (MD_DEMANGLE_RETURN_ADDR): This.
62         (aarch64_post_extract_frame_addr): Rename to ...
63         (aarch64_demangle_return_addr): This.
64         (aarch64_post_frob_eh_handler_addr): Remove.
65         * unwind-dw2.c (uw_update_context): Demangle return address.
66         (uw_frob_return_addr): Remove.
68 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
70         PR target/96001
71         * config/aarch64/lse.S: Add BTI marking and related definitions,
72         and add BTI c to function entries.
74 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
76         * config/aarch64/lse.S: Add stack note.
78 2020-07-02  Martin Liska  <mliska@suse.cz>
80         PR gcov-profile/95348
81         * libgcov-driver.c (merge_one_data): Merge only profiles
82         that are not of non-zero type.
83         (write_one_data): Write counters only if there's one non-zero
84         value.
85         * libgcov-util.c (tag_function): Change signature from unsigned
86         to int.
87         (tag_blocks): Likewise.
88         (tag_arcs): Likewise.
89         (tag_counters): Likewise.
90         (tag_summary): Likewise.
91         (tag_lines): Read only if COUNTERS is non-zero.
92         (read_gcda_file): Handle negative length for COUNTERS type.
94 2020-06-25  Martin Liska  <mliska@suse.cz>
96         * libgcov-driver.c (merge_summary): Remove function as its name
97         is misleading and doing something different.
98         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
99         in gcov-tool.
100         * libgcov-util.c (curr_object_summary): Remove.
101         (read_gcda_file): Remove unused curr_object_summary.
102         (gcov_merge): Merge summaries.
103         * libgcov.h: Add summary argument for gcov_info struct.
105 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
107         PR target/95259
108         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
109         "common/config/i386/i386-cpuinfo.h" and
110         "common/config/i386/cpuinfo.h".
111         (__cpu_features2): Changed to array.
112         (get_amd_cpu): Removed.
113         (get_intel_cpu): Likewise.
114         (get_available_features): Likewise.
115         (__cpu_indicator_init): Call cpu_indicator_init.
116         * config/i386/cpuinfo.h: Removed.
118 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
120         * Makefile.in: Remove uses of empty.mk. Use -include.
121         * config/avr/t-avr: Use -include.
122         * empty.mk: Delete.
124 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
126         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
127         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
128         and 64 bit with -maix64.
129         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
130         Build and install AIX-style FAT libraries.
132 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
134         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
135         'i386/gnu-unwind.h'
136         * config/i386/gnu-unwind.h: New file.
138 2020-06-17  Martin Liska  <mliska@suse.cz>
140         * libgcov-util.c (read_gcda_finalize): Remove const operator.
141         (merge_wrapper): Add both counts and use them properly.
142         (topn_to_memory_representation): New function.
143         (gcov_merge): Covert on disk representation to in memory
144         representation.
145         * libgcov.h: Remove const operator.
147 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
149         * configure: Regenerate.
150         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
151         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
153 2020-06-09  Martin Liska  <mliska@suse.cz>
155         PR gcov-profile/95494
156         * libgcov-driver.c (write_top_counters): Cast first to
157         intptr_t as sizeof(*) != sizeof(gcov_type).
158         * libgcov.h (gcov_counter_set_if_null): Remove.
159         (gcov_topn_add_value): Cast first to intptr_t and update
160         linked list directly.
162 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
164         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
165         with uw_install_context_1.
167 2020-06-04  Andreas Schwab  <schwab@suse.de>
169         PR target/59230
170         PR libfortran/59227
171         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
172         soft-fp/divtf3.c.
173         (LIB2ADD): Add config/ia64/divtf3.c.
174         * config/ia64/divtf3.c: New file.
176 2020-06-03  Martin Liska  <mliska@suse.cz>
178         PR gcov-profile/95480
179         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
180         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
181         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
182         (gcov_counter_set_if_null): Likewise.
184 2020-06-02  Jim Wilson  <jimw@sifive.com>
186         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
187         to bgtz.
189 2020-06-02  Martin Liska  <mliska@suse.cz>
191         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
192         of xmalloc.
194 2020-06-02  Martin Liska  <mliska@suse.cz>
196         * libgcov-driver.c (prune_topn_counter): Remove.
197         (prune_counters): Likewise.
198         (merge_one_data): Special case TOP N counters
199         as they have variable length.
200         (write_top_counters): New.
201         (write_one_data): Special case TOP N.
202         (dump_one_gcov): Do not prune TOP N counters.
203         * libgcov-merge.c (merge_topn_values_set): Remove.
204         (__gcov_merge_topn): Use gcov_topn_add_value.
205         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
206         Likewise here.
207         * libgcov.h (gcov_counter_add): New.
208         (gcov_counter_set_if_null): Likewise.
209         (gcov_topn_add_value): New.
211 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
213         * config/i386/sfp-exceptions.c (struct fenv):
214         Add __attribute__ ((gcc_struct)).
216 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
218         PR bootstrap/95413
219         * configure: Regenerated.
221 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
223         PR gcov-profile/95332
224         * libgcov-util.c (read_gcda_file): Call gcov_magic.
225         * libgcov.h (gcov_magic): Disable GCC poison.
227 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
229         PR target/95212
230         * config/i386/cpuinfo.h (processor_features): Move
231         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
233 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
235         PR target/91695
236         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
237         check.
239 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
241         PR target/95212
242         PR target/95220
243         * config/i386/cpuinfo.c (get_available_features): Fix
244         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
245         * config/i386/cpuinfo.h (processor_features): Add
246         FEATURE_AVX512VP2INTERSECT.
248 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
250         PR bootstrap/95147
251         * configure: Regenerated.
253 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
255         * configure: Regenerated.
257 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
259         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
260         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
262 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
264         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
265         (__math_force_eval_div): New define.
266         (__sfp_handle_exceptions): Use __math_force_eval_div to use
267         generic division to generate INVALID, DIVZERO and INEXACT
268         exceptions.
270 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
272         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
273         instead of getauxval.
274         (AT_HWCAP): Define.
275         (HWCAP_ATOMICS): Define.
276         Guard detection on __gnu_linux__.
278 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
280         * config.host: Delete changes meant for a private branch.
281         * config/rs6000/t-float128: Likewise.
282         * configure.ac: Likewise.
283         * configure: Likewise.
285 2020-05-05  Martin Liska  <mliska@suse.cz>
287         PR gcov-profile/93623
288         * Makefile.in: Remove __gcov_flush.
289         * gcov.h (__gcov_flush): Remove.
290         * libgcov-interface.c (__gcov_flush): Remove.
291         (init_mx): Use renamed mutex.
292         (__gcov_lock): Likewise.
293         (__gcov_unlock): Likewise.
294         (__gcov_fork): Likewise.
295         (__gcov_flush): Remove.
297 2020-05-05  Martin Liska  <mliska@suse.cz>
299         PR gcov-profile/93623
300         * libgcov-interface.c (__gcov_fork): Do not flush
301         and reset only in child process.
302         (__gcov_execl): Dump counters only and reset them
303         only if exec* fails.
304         (__gcov_execlp): Likewise.
305         (__gcov_execle): Likewise.
306         (__gcov_execv): Likewise.
307         (__gcov_execvp): Likewise.
308         (__gcov_execve): Likewise.
310 2020-05-05  Martin Liska  <mliska@suse.cz>
312         PR gcov-profile/93623
313         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
314         * libgcov-interface.c (ALIAS_void_fn): Remove.
315         (__gcov_lock): New.
316         (__gcov_unlock): New.
317         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
318         (__gcov_reset): Likewise.
319         (__gcov_dump): Likewise.
320         * libgcov.h (__gcov_lock): New declaration.
321         (__gcov_unlock): Likewise.
323 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
325         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
326         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
327         generic division to generate INVALID and DIVZERO exceptions.
329 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
331         * config/rs6000/crtresfpr.S: Use .machine ppc.
332         * config/rs6000/crtresxfpr.S: Likewise.
333         * config/rs6000/crtsavfpr.S: Likewise.
335 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
337         PR target/94514
338         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
339         Update context->flags accroding to the frame state.
341 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
343         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
344         Remove unneeded assignments to volatile memory.
346 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
348         PR target/93053
349         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
350         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
351         is not defined, use just .arch armv8-a.
352         (B, M, N, OPN): Define.
353         (COMMENT): New .macro.
354         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
355         defined.  Otherwise, move the operands right after the glue? and
356         comment out operands where the macros are used.
357         * configure: Regenerated.
358         * config.in: Regenerated.
360 2020-04-07  Ian Lance Taylor  <iant@golang.org>
362         PR libgcc/94513
363         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
364         syscall instead.
366 2020-04-04  Ian Lance Taylor  <iant@golang.org>
368         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
370 2020-04-03  Ian Lance Taylor  <iant@golang.org>
372         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
373         than mmap/munmap, to avoid hooks.
375 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
377         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
378         (TPFRA_OFFSET): Macros removed.
379         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
380         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
381         (PG3_SKIPPING_OFFSET): New macros.
382         (__isPATrange): Use cinfc_fast for the check.
383         (__isSkipResetAddr): New function.
384         (s390_fallback_frame_state): Check for skip trace addresses. Use
385         either ICST_CRET or ICST_SRET to calculate return address
386         location.
387         (__tpf_eh_return): Handle skip trace addresses.
389 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
391         PR target/94220
392         * config/arm/lib1funcs.asm (COND): Use a single definition for
393         unified syntax.
394         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
395         (aeabi_idivmod): Likewise.
396         (divsi3_skip_div0_test): Likewise.
398 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
400         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
402 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
404         * config.host: Include the new makefile fragment.
405         * config/s390/t-tpf: New file.
407 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
409         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
410         syntax.
411         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
412         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
413         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
414         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
415         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
416         syntax.
417         (divsi3, modsi3): Likewise.
418         (clzdi2, ctzsi2): Likewise.
419         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
420         unified syntax.
421         (UNWIND_WRAPPER): Likewise.
423 2020-03-02  Martin Liska  <mliska@suse.cz>
425         * libgcov-interface.c: Remove duplicate
426         declaration of __gcov_flush_mx.
428 2020-02-18  Martin Liska  <mliska@suse.cz>
430         PR ipa/92924
431         * libgcov-merge.c (merge_topn_values_set): Record
432         when a TOP N counter becomes invalid.  When merging
433         remove a smallest value if the space is needed.
435 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
437         PR libstdc++/79193
438         PR libstdc++/88999
440         * configure: Regenerated.
442 2020-02-10  Jeff Law  <law@redhat.com>
444         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
445         sections.
446         * config/frv/frvend.c: Similarly.
448 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
450         PR libgcc/85334
451         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
452         New.
454 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
456         PR target/93615
457         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
458         _Unwind_gnu_Find_got.
459         * unwind-pe.h: Likewise.
461 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
463         PR target/93615
464         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
465         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
466         trailing :s in asm.  Formatting fixes.
467         (_Unwind_decode_typeinfo_ptr): Adjust caller.
469 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
471         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
473         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
474         * config/nios2-elf-lib.h: New.
475         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
476         code for finding GOT base for nios2.
478 2020-01-27  Martin Liska  <mliska@suse.cz>
480         PR gcov-profile/93403
481         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
482         Call __gcov_indirect_call_profiler_body.
483         (__gcov_indirect_call_profiler_body): New.
484         (__gcov_indirect_call_profiler_v4_atomic): New.
485         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
486         New declaration.
488 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
490         * config/arc/crti.S: Add RF16 object attribute.
491         * config/arc/crtn.S: Likewise.
492         * config/arc/crttls.S: Likewise.
493         * config/arc/lib1funcs.S: Likewise.
494         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
495         * config/arc/lib2funcs.c: New file.
496         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
498 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
500         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
501         * configure.ac: Handle `--with-toolexeclibdir='.
502         * configure: Regenerate.
504 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
506         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
508 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
510         * config/mips/gnustack.h: New file.
511         * config/mips/crti.S: Include gnustack.h.
512         * config/mips/crtn.S: Likewise.
513         * config/mips/mips16.S: Likewise.
514         * config/mips/vr4120-div.S: Likewise.
516 2020-01-23  Martin Liska  <mliska@suse.cz>
518         * libgcov-driver.c (prune_topn_counter): Remove
519         check for -1 as we only prune run-time counters
520         that do not generate an invalid state.
522 2020-01-22  Martin Liska  <mliska@suse.cz>
524         PR tree-optimization/92924
525         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
526         try to find an existing value, then find an empty slot
527         if not found.
529 2020-01-22  Martin Liska  <mliska@suse.cz>
531         PR tree-optimization/92924
532         * libgcov-driver.c (prune_topn_counter): New.
533         (prune_counters): Likewise.
534         (dump_one_gcov): Prune a run-time counter.
535         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
536         For a known value, add GCOV_TOPN_VALUES to value.
537         Otherwise, decrement all counters by one.
539 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
541         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
543 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
545         PR libgcc/92988
546         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
547         DEFAULT_USE_CXA_ATEXIT is true.
549 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
550             Thomas Preud'homme  <thomas.preudhomme@arm.com>
552         * config/arm/t-arm: Check return value of gcc rather than lack of
553         output.
555 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
557         * config/avr/lib1funcs.S (skip): Simplify.
559 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
561         * config/gcn/atomic.c: Remove include of stdint.h.
562         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
563         __UINTPTR_TYPE__.
565 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
567         * config/gcn/atomic.c: New.
568         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
570 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
572         Implement 64-bit double functions.
574         PR target/92055
575         * config.host (tmake_file) [target=avr]: Add t-libf7,
576         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
577         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
578         depending on sizeof (double) or sizeof (long double).
579         * config/avr/libf7: New folder.
581 2020-01-05  Olivier Hainque  <hainque@adacore.com>
583         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
584         by IN_LIBGCC2.
586 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
588         Update copyright years.
590 2019-12-30  Olivier Hainque  <hainque@adacore.com>
592         * config/gthr-vxworks.h: Use _vxworks-versions.h.
593         * config/gthr-vxworks-tls.c: Likewise.
595 2019-12-30  Olivier Hainque  <hainque@adacore.com>
597         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
598         standard zero-initializer syntax.
600 2019-12-30  Olivier Hainque  <hainque@adacore.com>
602         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
603         reference to the internal VX_GET_TLS_DATA interface.
605 2019-12-30  Olivier Hainque  <hainque@adacore.com>
607         * config/vxcrtstuff.c: Fix incorrect spelling of
608         USE_INITFINI_ARRAY in guard.
610 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
612         * config.host: s/msp430*-*-elf/msp430-*-elf*.
613         Override default "extra_parts" variable.
614         * configure: Regenerate.
615         * configure.ac: Disable TM clone registry by default for
616         msp430-elfbare.
618 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
620         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
621         "extra_parts".
622         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
624 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
626         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
627         true.
629 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
631         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
632         defined instead of its value.
634 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
636         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
637         if it will have contents.
639 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
641         PR target/92055
642         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
644 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
646         PR libgcc/91737
647         * config.host: Add t-gthr-noweak on *-*-musl*.
648         * config/t-gthr-noweak: New file.
650 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
652         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
653         volatile void *.  Remove trap check.
654         (__kernel_cmpxchg2): Likewise.
655         (FETCH_AND_OP_2): Adjust operand types.
656         (OP_AND_FETCH_2): Likewise.
657         (FETCH_AND_OP_WORD): Likewise.
658         (OP_AND_FETCH_WORD): Likewise.
659         (COMPARE_AND_SWAP_2): Likewise.
660         (__sync_val_compare_and_swap_4): Likewise.
661         (__sync_bool_compare_and_swap_4): Likewise.
662         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
663         (__sync_lock_test_and_set_4): Likewise.
664         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
665         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
666         for release.
667         (__sync_lock_release_8): Remove.
669 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
671         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
672         of __sigset_t.
674 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
675             Doug Rupp <rupp@adacore.com>
676             Olivier Hainque  <hainque@adacore.com>
678         * config.host: Collapse the arm-vxworks entries into
679         a single arm-wrs-vxworks7* one.
680         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
681         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
682         kernel modules, to be overriden by libstdc++ when we link with
683         it.  Rely on externally provided __exidx_start/end.
685 2019-11-14  Doug Rupp  <rupp@adacore.com>
686             Olivier Hainque  <hainque@adacore.com>
688         * config.host: Handle aarch64*-wrs-vxworks7*.
690 2019-11-12  Olivier Hainque  <hainque@adacore.com>
692         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
693         sources except the cxx0x support to LIB2ADDEH.  We don't support
694         cxx0x on AE/653.
695         * config/t-vxworksae: New file.
696         * config.host: Handle *-*-vxworksae: Add the two aforementioned
697         Makefile fragment files at their expected position in the tmake_file
698         list, in accordance with what is done for other VxWorks variants.
700 2019-11-12  Corentin Gay  <gay@adacore.com>
701             Jerome Lambourg  <lambourg@adacore.com>
702             Olivier Hainque  <hainque@adacore.com>
704         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
705         sources to LIB2ADDEH.
706         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
707         * config/t-vxworks7: Likewise.
709         * config.host: Append a block at the end of the file to add the
710         t-gthr files to the tmake_file list for VxWorks after everything
711         else.
713         * config/vxlib.c: Rename as gthr-vxworks.c.
714         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
716         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
717         API and a basic error checking API, both internal.  Simplify the
718         __gthread_once_t type definition and initializers.  Add sections
719         for condition variables support and for the C++0x thread support,
720         conditioned against Vx653 for the latter.
722         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
723         implementation, leveraging the TAS internal API.
724         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
725         API, leveraging the general availability of TLS services in VxWorks7
726         post SR6xxx.
727         (__gthread_setspecific, __gthread_setspecific): Use it.
728         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
729         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
730         support based on VxWorks primitives.
731         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
732         based on VxWorks primitives.
734 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
735             Olivier Hainque  <hainque@adacore.com>
737         * config/vxcrtstuff.c: New file.
738         * config/t-vxcrtstuff: New Makefile fragment.
739         * config.host: Append t-vxcrtstuff to the tmake_file list
740         on all VxWorks ports using dwarf for table based EH.
742 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
744         Support 64-bit double and 64-bit long double configurations.
746         PR target/92055
747         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
748         long double is a 32-bit type.
749         * config/avr/t-avrlibc: Copy double64 and long-double64
750         multilib(s) from the vanilla one.
751         * config/avr/t-copy-libgcc: New Makefile snip.
753 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
755         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
756         the target output object format is not ELF.
757         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
759 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
761         PR libgcc/78804
762         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
763         * fp-bit.c (pack_d, unpack_d): Remove special cases for
764         FLOAT_BIT_ORDER_MISMATCH.
765         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
767 2019-11-01  Jim Wilson  <jimw@sifive.com>
769         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
771 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
773         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
774         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
775         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
776         Define symbols for 32-bit and f5series hardware multiply
777         register addresses.
778         Replace hard-coded register addresses with symbols.
779         Fix "_mspabi*" typo.
780         Fix whitespace.
781         * config/msp430/lib2mul.c: Add comment.
783 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
785         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
786         unsigned int.  Adjust callers.
787         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
788         unsigned int *.  Load relocation offset before function pointer.
789         Add barrier to ensure ordering.
791 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
793         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
794         Load PIC register after branch target.  Fix white space.
795         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
796         implementations.  Load PIC register after branch target.  Don't
797         clobber function pointer when it points to function descriptor.
798         Use nullification instead of branch in LINUX implementation.
800 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
802         * config/pa/fptr.c: Disable -Warray-bounds warning.
804 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
806         * config.in, configure: Re-rebuild with stock autoconf 2.69,
807         not the ubuntu modified 2.69.
809         PR target/91833
810         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
811         initialization if !HAVE_SYS_AUXV_H.
812         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
813         * config.in, configure: Rebuild.
815         PR target/91834
816         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
817         overlap the inputs.
819 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
821         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
822         CTR_EL0.IDC and CTR_EL0.DIC.
824 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
826         Revert:
827         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
828                 Mickaël Guêné <mickael.guene@st.com>
830         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
831         architecture.
833 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
835         * config/aarch64/lse-init.c: New file.
836         * config/aarch64/lse.S: New file.
837         * config/aarch64/t-lse: New file.
838         * config.host: Add t-lse to all aarch64 tuples.
840 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
841         Mickaël Guêné <mickael.guene@st.com>
843         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
844         architecture.
846 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
847         Mickaël Guêné <mickael.guene@st.com>
849         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
850         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
851         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
852         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
853         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
854         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
855         (__gnu_personality_sigframe_fdpic): New.
856         (get_eit_entry): Add FDPIC signal frame support.
858 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
859         Mickaël Guêné <mickael.guene@st.com>
861         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
862         (__kernel_dmb): Likewise.
863         (__fdpic_cmpxchg): New function.
864         (__fdpic_dmb): New function.
865         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
866         (gnu_Unwind_Find_got): New function.
867         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
868         * unwind-arm-common.inc (UCB_PR_GOT): New.
869         (funcdesc_t): New struct.
870         (get_eit_entry): Add FDPIC support.
871         (unwind_phase2): Likewise.
872         (unwind_phase2_forced): Likewise.
873         (__gnu_Unwind_RaiseException): Likewise.
874         (__gnu_Unwind_Resume): Likewise.
875         (__gnu_Unwind_Backtrace): Likewise.
876         * unwind-pe.h (read_encoded_value_with_base): Likewise.
878 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
879         Mickaël Guêné <mickael.guene@st.com>
881         * libgcc/crtstuff.c: Add support for FDPIC.
883 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
885         * config.host: Handle *-*-uclinuxfdpiceabi.
887 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
889         * config.host: Set cpu_type for bpf-*-* targets.
890         * config/bpf/t-bpf: Likewise.
891         * config/bpf/crtn.S: Likewise.
892         * config/bpf/crti.S: New file.
894 2019-09-06  Jim Wilson  <jimw@sifive.com>
896         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
897         (riscv*-*-freebsd*): Likewise.
899 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
901         * config.host: Remove references to spu.
902         * config/spu/: Remove directory.
904 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
906         PR target/91306
907         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
908         element type, instead of "sizeof" the element type.
909         (__DTOR_LIST__): Likewise.
910         (__TMC_LIST__): Likewise.
911         (__do_global_dtors_aux_fini_array_entry): Likewise.
912         (__frame_dummy_init_array_entry): Likewise.
913         (__CTOR_END__): Likewise.
914         (__DTOR_END__): Likweise.
915         (__FRAME_END__): Likewise.
916         (__TMC_END__): Likewise.
918 2019-08-20  Lili Cui  <lilicui@intel.com>
920         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
921         INTEL_COREI7_COOPERLAKE.
923 2019-07-31  Matt Thomas  <matt@3am-software.com>
924             Nick Hudson <nick@nthcliff.demon.co.uk>
925             Matthew Green <mrg@eterna.com.au>
926             Maya Rashish <coypu@sdf.org>
928         * config.host (hppa*-*-netbsd*): New case.
929         * config/pa/t-netbsd: New file.
931 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
933         * config/arm/cmse.c (cmse_check_address_range): Add
934         warn_unused_result attribute.
936 2019-07-22  Martin Liska  <mliska@suse.cz>
938         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
939         * config/pa/t-stublib: Likewise.
941 2019-07-22  Stafford Horne  <shorne@gmail.com>
943         PR target/90362
944         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
945         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
946         instructions are not available on every processor.  Change a
947         l.bnf to l.bf to fix logic issue.
949 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
951         * config.host: Remove reference to t-darwin8.
953 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
955         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
956         list.
957         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
958         mmacosx-version-min for crts to run across all system versions.
959         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
960         * config/t-darwin: Revise mmacosx-version-min for crts to run across
961         system versions >= 10.4.
963 2019-07-03  Martin Liska  <mliska@suse.cz>
965         * Makefile.in: Use topn_values instead of one_value names.
966         * libgcov-merge.c (__gcov_merge_single): Move to ...
967         (__gcov_merge_topn): ... this.
968         (merge_single_value_set): Move to ...
969         (merge_topn_values_set): ... this.
970         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
971         ...
972         (__gcov_topn_values_profiler_body): ... this.
973         (__gcov_one_value_profiler_v2): Move to ...
974         (__gcov_topn_values_profiler): ... this.
975         (__gcov_one_value_profiler_v2_atomic): Move to ...
976         (__gcov_topn_values_profiler_atomic): ... this.
977         (__gcov_indirect_call_profiler_v4): Remove.
978         * libgcov-util.c (__gcov_single_counter_op): Move to ...
979         (__gcov_topn_counter_op): ... this.
980         * libgcov.h (L_gcov_merge_single): Remove.
981         (L_gcov_merge_topn): New.
982         (__gcov_merge_single): Remove.
983         (__gcov_merge_topn): New.
984         (__gcov_one_value_profiler_v2): Move to ..
985         (__gcov_topn_values_profiler): ... this.
986         (__gcov_one_value_profiler_v2_atomic): Move to ...
987         (__gcov_topn_values_profiler_atomic): ... this.
989 2019-07-03  Martin Liska  <mliska@suse.cz>
991         * libgcov-merge.c (merge_single_value_set): Support N values.
992         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
994 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
996         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
997         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
998         * configure.ac: Add --disable-tm-clone-registry option.
999         * configure: Regenerate.
1001 2019-06-27  Martin Liska  <mliska@suse.cz>
1003         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1004         dead assignments.
1005         * libgcov-util.c: Likewise.
1007 2019-06-27  Martin Liska  <mliska@suse.cz>
1009         * libgcov-util.c (gcov_profile_merge): Release allocated
1010         memory.
1011         (calculate_overlap): Likewise.
1013 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
1015         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1016         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1017         Build objects for the out of line save/restore register functions
1018         so that they can be used for any supported Darwin version.
1019         * config/t-darwin: Default the build Darwin version to Darwin8
1020         (MacOS 10.4).
1022 2019-06-25  Martin Liska  <mliska@suse.cz>
1024         * libgcov-driver-system.c (replace_filename_variables): Do not
1025         call strlen with NULL argument.
1027 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
1029         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1030         * config/gcn/unwind-gcn.c: New file.
1032 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
1033             Andrew Stubbs  <ams@codesourcery.com>
1035         * configure: Regenerate.
1036         * config/gcn/gthr-gcn.h: New.
1038 2019-06-18  Tom de Vries  <tdevries@suse.de>
1040         * config/nvptx/crt0.c (__main): Declare.
1042 2019-06-17  Matthew Green  <mrg@eterna.com.au>
1043             Maya Rashish  <coypu@sdf.org>
1045         * config.host (aarch64*-*-netbsd*): New case.
1047 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1049         * config/msp430/slli.S (__mspabi_sllll): New library function for
1050         performing a logical left shift of a 64-bit value.
1051         * config/msp430/srai.S (__mspabi_srall): New library function for
1052         performing a arithmetic right shift of a 64-bit value.
1053         * config/msp430/srll.S (__mspabi_srlll): New library function for
1054         performing a logical right shift of a 64-bit value.
1056 2019-06-14  Matt Thomas  <matt@3am-software.com>
1057             Matthew Green  <mrg@eterna.com.au>
1058             Nick Hudson  <skrll@netbsd.org>
1059             Maya Rashish  <coypu@sdf.org>
1061         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1062         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1063         functions to build.
1064         * config/arm/t-netbsd-eabi: New file.
1066 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
1068         * config.host: Add PRU target.
1069         * config/pru/asri.c: New file.
1070         * config/pru/eqd.c: New file.
1071         * config/pru/eqf.c: New file.
1072         * config/pru/ged.c: New file.
1073         * config/pru/gef.c: New file.
1074         * config/pru/gtd.c: New file.
1075         * config/pru/gtf.c: New file.
1076         * config/pru/led.c: New file.
1077         * config/pru/lef.c: New file.
1078         * config/pru/lib2bitcountHI.c: New file.
1079         * config/pru/lib2divHI.c: New file.
1080         * config/pru/lib2divQI.c: New file.
1081         * config/pru/lib2divSI.c: New file.
1082         * config/pru/libgcc-eabi.ver: New file.
1083         * config/pru/ltd.c: New file.
1084         * config/pru/ltf.c: New file.
1085         * config/pru/mpyll.S: New file.
1086         * config/pru/pru-abi.h: New file.
1087         * config/pru/pru-asm.h: New file.
1088         * config/pru/pru-divmod.h: New file.
1089         * config/pru/sfp-machine.h: New file.
1090         * config/pru/t-pru: New file.
1092 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
1094         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1096 2019-06-10  Martin Liska  <mliska@suse.cz>
1098         PR bootstrap/90808
1099         * libgcov.h: Add ATTRIBUTE_UNUSED.
1101 2019-06-10  Martin Liska  <mliska@suse.cz>
1103         * Makefile.in: Add __gcov_one_value_profiler_v2,
1104         __gcov_one_value_profiler_v2_atomic and
1105         __gcov_indirect_call_profiler_v4.
1106         * libgcov-merge.c (__gcov_merge_single): Change
1107         function signature.
1108         (merge_single_value_set): New.
1109         * libgcov-profiler.c (__gcov_one_value_profiler_body):
1110         Update functionality.
1111         (__gcov_one_value_profiler): Remove.
1112         (__gcov_one_value_profiler_v2): ... this.
1113         (__gcov_one_value_profiler_atomic): Rename to ...
1114         (__gcov_one_value_profiler_v2_atomic): this.
1115         (__gcov_indirect_call_profiler_v3): Rename to ...
1116         (__gcov_indirect_call_profiler_v4): ... this.
1117         * libgcov.h (__gcov_one_value_profiler): Remove.
1118         (__gcov_one_value_profiler_atomic): Remove.
1119         (__gcov_one_value_profiler_v2_atomic): New.
1120         (__gcov_indirect_call_profiler_v3): Remove.
1121         (__gcov_one_value_profiler_v2): New.
1122         (__gcov_indirect_call_profiler_v4): New.
1123         (gcov_get_counter_ignore_scaling): New function.
1125 2019-06-07  Martin Liska  <mliska@suse.cz>
1127         * Makefile.in: Remove usage of
1128         _gcov_merge_icall_topn.
1129         * libgcov-driver.c (gcov_sort_n_vals): Remove.
1130         (gcov_sort_icall_topn_counter): Likewise.
1131         (gcov_sort_topn_counter_arrays): Likewise.
1132         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1133         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1134         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1135         Likewise.
1136         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1137         (struct indirect_call_tuple): Remove.
1138         (__gcov_indirect_call_topn_profiler): Remove.
1139         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1140         * libgcov.h (gcov_sort_n_vals): Remove.
1141         (L_gcov_merge_icall_topn): Likewise.
1142         (__gcov_merge_icall_topn): Likewise.
1143         (__gcov_indirect_call_topn_profiler): Likewise.
1145 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
1147         * config/rs6000/t-darwin: Ensure that the unwinder is built with
1148         altivec enabled.
1150 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1152         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1153         section.
1154         (__mspabi_slli): Likewise.
1155         (__mspabi_slll_n): Likewise.
1156         (__mspabi_slll): Likewise.
1157         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1158         (__mspabi_srai): Likewise.
1159         (__mspabi_sral_n): Likewise.
1160         (__mspabi_sral): Likewise.
1161         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1162         (__mspabi_srli): Likewise.
1163         (__mspabi_srll_n): Likewise.
1164         (__mspabi_srll): Likewise.
1166 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
1168         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1169         Add appropriate tm_file clause as well.
1170         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1172 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
1174         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1175         rather than .data/.bss so it can be accessed via gp-relative
1176         addressing.
1178 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
1180         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1181         (CR2_REGNO): Rename to R_CR2.
1182         (XER_REGNO): Rename to R_XER.
1183         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1184         (VRSAVE_REGNO): Rename to R_VRSAVE.
1185         (VSCR_REGNO): R_VSCR.
1187 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
1189         * config.host (rx-*-linux*): Add new case.
1190         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1192 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
1194         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1195         function.
1196         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1197         aarch64_post_frob_eh_handler_addr): Add check for b-key.
1198         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1199         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1200         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1201         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1202         string.
1203         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1204         string.
1205         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1207 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1209         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1210         Remove Solaris 9 and 10 support.
1211         (sparc_is_sighandler): Likewise.
1213 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
1215         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1217 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1219         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1220         4_FP_W_TYPEs are used for IEEE quad precision.
1221         * soft-fp/extendhftf2.c: Likewise.
1222         * soft-fp/extendsftf2.c: Likewise.
1223         * soft-fp/extendxftf2.c: Likewise.
1224         * soft-fp/trunctfdf2.c: Likewise.
1225         * soft-fp/trunctfhf2.c: Likewise.
1226         * soft-fp/trunctfsf2.c: Likewise.
1227         * soft-fp/trunctfxf2.c: Likewise.
1228         * config/rs6000/ibm-ldouble.c: Likewise.
1230 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1232         * config.host: Simplify various *-*-solaris2.1[0-9]* to
1233         *-*-solaris2*.
1234         * configure.ac: Likewise.
1235         * configure: Regenerate.
1237         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1238         Solaris 10 and Solaris 11 < snv_125 handling.
1240 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
1242         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1244 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
1246         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1247         * config/i386/cpuinfo.h (enum processor_features): Add
1248         FEATURE_AVX512BF16.
1250 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1251             Bernd Edlinger  <bernd.edlinger@hotmail.de>
1252             Jakub Jelinek  <jakub@redhat.com>
1254         PR target/89093
1255         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1256         * config/arm/unwind-arm.c: Likewise.
1257         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1258         attribute for ARM.
1260 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
1262         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1263         (RT_SIGRETURN): Update.
1264         (nds32_fallback_frame_state): Update.
1266 2019-02-21  Martin Sebor  <msebor@redhat.com>
1268         * libgcc2.h (__clear_cache): Correct signature.
1269         * libgcc2.c (__clear_cache): Same.
1271 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
1273         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1274         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1276 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
1278         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1279         regno instead of index to DWARF_ZERO_REG.
1281 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1283         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1284         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1286 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
1288         * config/alpha/t-linux: Add -mfp-rounding-mode=d
1289         to HOST_LIBGCC2_CFLAGS.
1291 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
1293         PR libgcc/88931
1294         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1296 2019-01-18  Martin Liska  <mliska@suse.cz>
1298         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1299         to ...
1300         (__gcov_indirect_call_profiler_v3): ... this.
1301         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1302         (__gcov_indirect_call_profiler_v3): Likewise.
1303         * Makefile.in: Bump function name.
1305 2019-01-18  Martin Liska  <mliska@suse.cz>
1307         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1308         (gcov_version): Use in gcov_error.
1309         (merge_one_data): Likewise.
1310         (dump_one_gcov): Likewise.
1312 2019-01-18  Martin Liska  <mliska@suse.cz>
1314         * libgcov-driver.c (gcov_version_string): New function.
1315         (gcov_version): Convert version integer into string.
1317 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
1318             Kwok Cheung Yeung  <kcy@codesourcery.com>
1319             Julian Brown  <julian@codesourcery.com>
1320             Tom de Vries  <tom@codesourcery.com>
1322         * config.host: Recognize amdgcn*-*-amdhsa.
1323         * config/gcn/crt0.c: New file.
1324         * config/gcn/lib2-divmod-hi.c: New file.
1325         * config/gcn/lib2-divmod.c: New file.
1326         * config/gcn/lib2-gcn.h: New file.
1327         * config/gcn/sfp-machine.h: New file.
1328         * config/gcn/t-amdgcn: New file.
1330 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
1332         PR other/16615
1334         * config/c6x/libunwind.S: Mechanically replace "can not" with
1335         "cannot".
1336         * config/tilepro/atomic.h: Likewise.
1337         * config/vxlib-tls.c: Likewise.
1338         * generic-morestack-thread.c: Likewise.
1339         * generic-morestack.c: Likewise.
1340         * mkmap-symver.awk: Likewise.
1342 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1344         Update copyright years.
1346 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
1348         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1349         to ignore -Waddress-of-packed-member.
1351 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
1353         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1354         parameter and corresponding code.
1355         (ARM_FUNC_START): Likewise in both definitions.
1356         Also update footer comment about condition that need to match with
1357         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1358         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1359         defined.  Weakly define it in this case.
1360         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1361         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1362         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1363         comment to keep condition in sync with the one in
1364         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1366 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
1368         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1369         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1371 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1373         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1374         and .cfi_endproc directives for VxWorks targets.
1376 2018-12-05  Paul Koning  <ni1d@arrl.net>
1378         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1380 2018-11-27  Alan Modra  <amodra@gmail.com>
1382         * config/rs6000/morestack.S (__stack_split_initialize),
1383         (__morestack_get_guard, __morestack_set_guard),
1384         (__morestack_make_guard): Provide CFI covering these functions.
1385         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1387 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1389         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1390         (sc_pt_regs_lr): Update for kernel.
1391         (sc_pt_regs_tls): Update for kernel.
1393 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1395         * config/csky/linux-unwind.h: Fix coding style.
1397 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1399         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1400         (csky_fallback_frame_state): Modify the check of the
1401         instructions to adapt to changes in the kernel
1403 2018-11-09  Stafford Horne  <shorne@gmail.com>
1404             Richard Henderson  <rth@twiddle.net>
1406         * config.host: Add OpenRISC support.
1407         * config/or1k/*: New.
1409 2018-11-08  Kito Cheng  <kito@andestech.com>
1411         * soft-fp/adddf3.c: Update from glibc.
1412         * soft-fp/addsf3.c: Likewise.
1413         * soft-fp/addtf3.c: Likewise.
1414         * soft-fp/divdf3.c: Likewise.
1415         * soft-fp/divsf3.c: Likewise.
1416         * soft-fp/divtf3.c: Likewise.
1417         * soft-fp/double.h: Likewise.
1418         * soft-fp/eqdf2.c: Likewise.
1419         * soft-fp/eqsf2.c: Likewise.
1420         * soft-fp/eqtf2.c: Likewise.
1421         * soft-fp/extenddftf2.c: Likewise.
1422         * soft-fp/extended.h: Likewise.
1423         * soft-fp/extendhftf2.c: Likewise.
1424         * soft-fp/extendsfdf2.c: Likewise.
1425         * soft-fp/extendsftf2.c: Likewise.
1426         * soft-fp/extendxftf2.c: Likewise.
1427         * soft-fp/fixdfdi.c: Likewise.
1428         * soft-fp/fixdfsi.c: Likewise.
1429         * soft-fp/fixdfti.c: Likewise.
1430         * soft-fp/fixhfti.c: Likewise.
1431         * soft-fp/fixsfdi.c: Likewise.
1432         * soft-fp/fixsfsi.c: Likewise.
1433         * soft-fp/fixsfti.c: Likewise.
1434         * soft-fp/fixtfdi.c: Likewise.
1435         * soft-fp/fixtfsi.c: Likewise.
1436         * soft-fp/fixtfti.c: Likewise.
1437         * soft-fp/fixunsdfdi.c: Likewise.
1438         * soft-fp/fixunsdfsi.c: Likewise.
1439         * soft-fp/fixunsdfti.c: Likewise.
1440         * soft-fp/fixunshfti.c: Likewise.
1441         * soft-fp/fixunssfdi.c: Likewise.
1442         * soft-fp/fixunssfsi.c: Likewise.
1443         * soft-fp/fixunssfti.c: Likewise.
1444         * soft-fp/fixunstfdi.c: Likewise.
1445         * soft-fp/fixunstfsi.c: Likewise.
1446         * soft-fp/fixunstfti.c: Likewise.
1447         * soft-fp/floatdidf.c: Likewise.
1448         * soft-fp/floatdisf.c: Likewise.
1449         * soft-fp/floatditf.c: Likewise.
1450         * soft-fp/floatsidf.c: Likewise.
1451         * soft-fp/floatsisf.c: Likewise.
1452         * soft-fp/floatsitf.c: Likewise.
1453         * soft-fp/floattidf.c: Likewise.
1454         * soft-fp/floattihf.c: Likewise.
1455         * soft-fp/floattisf.c: Likewise.
1456         * soft-fp/floattitf.c: Likewise.
1457         * soft-fp/floatundidf.c: Likewise.
1458         * soft-fp/floatundisf.c: Likewise.
1459         * soft-fp/floatunditf.c: Likewise.
1460         * soft-fp/floatunsidf.c: Likewise.
1461         * soft-fp/floatunsisf.c: Likewise.
1462         * soft-fp/floatunsitf.c: Likewise.
1463         * soft-fp/floatuntidf.c: Likewise.
1464         * soft-fp/floatuntihf.c: Likewise.
1465         * soft-fp/floatuntisf.c: Likewise.
1466         * soft-fp/floatuntitf.c: Likewise.
1467         * soft-fp/gedf2.c: Likewise.
1468         * soft-fp/gesf2.c: Likewise.
1469         * soft-fp/getf2.c: Likewise.
1470         * soft-fp/half.h: Likewise.
1471         * soft-fp/ledf2.c: Likewise.
1472         * soft-fp/lesf2.c: Likewise.
1473         * soft-fp/letf2.c: Likewise.
1474         * soft-fp/muldf3.c: Likewise.
1475         * soft-fp/mulsf3.c: Likewise.
1476         * soft-fp/multf3.c: Likewise.
1477         * soft-fp/negdf2.c: Likewise.
1478         * soft-fp/negsf2.c: Likewise.
1479         * soft-fp/negtf2.c: Likewise.
1480         * soft-fp/op-1.h: Likewise.
1481         * soft-fp/op-2.h: Likewise.
1482         * soft-fp/op-4.h: Likewise.
1483         * soft-fp/op-8.h: Likewise.
1484         * soft-fp/op-common.h: Likewise.
1485         * soft-fp/quad.h: Likewise.
1486         * soft-fp/single.h: Likewise.
1487         * soft-fp/soft-fp.h: Likewise.
1488         * soft-fp/subdf3.c: Likewise.
1489         * soft-fp/subsf3.c: Likewise.
1490         * soft-fp/subtf3.c: Likewise.
1491         * soft-fp/truncdfsf2.c: Likewise.
1492         * soft-fp/trunctfdf2.c: Likewise.
1493         * soft-fp/trunctfhf2.c: Likewise.
1494         * soft-fp/trunctfsf2.c: Likewise.
1495         * soft-fp/trunctfxf2.c: Likewise.
1496         * soft-fp/unorddf2.c: Likewise.
1497         * soft-fp/unordsf2.c: Likewise.
1498         * soft-fp/unordtf2.c: Likewise.
1500 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
1502         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1503         * config/i386/cpuinfo.h (processor_types): Add znver2.
1505 2018-11-01  Paul Koning  <ni1d@arrl.net>
1507         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1508         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1510 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1512         PR bootstrap/82856
1513         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
1514         * configure: Regenerate.
1516 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
1518         * config/arc/lib1funcs.S (_muldi3): New function.
1519         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1521 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1523         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1525 2018-10-25  Martin Liska  <mliska@suse.cz>
1527         PR other/87735
1528         * libgcov-profiler.c: Revert.
1530 2018-10-24  Martin Liska  <mliska@suse.cz>
1532         * libgcov-profiler.c: Start from 1 in order to distinguish
1533         functions which were seen and these that were not.
1535 2018-10-18  Paul Koning  <ni1d@arrl.net>
1537         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1538         standard.
1539         * divmod.c: Update references to __udivmodsi4.
1540         * udivmod.c: Ditto.
1541         * udivhi3.c: New file.
1542         * udivmodhi4.c: New file.
1543         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1545 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1547         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1549 2018-10-12  Olivier Hainque  <hainque@adacore.com>
1551         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1552         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1554 2018-10-08  Paul Koning  <ni1d@arrl.net>
1556         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1558 2018-10-04  Martin Liska  <mliska@suse.cz>
1560         PR gcov-profile/84107
1561         * libgcov-profiler.c (__gcov_indirect_call):
1562         Change type to indirect_call_tuple.
1563         (struct indirect_call_tuple): New struct.
1564         (__gcov_indirect_call_topn_profiler): Change type.
1565         (__gcov_indirect_call_profiler_v2): Use the new
1566         variables.
1567         * libgcov.h (struct indirect_call_tuple): New struct
1568         definition.
1570 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
1572         * libgcc2.c (isnan): Use __builtin_isnan.
1573         (isfinite): Use __builtin_isfinite.
1574         (isinf): Use __builtin_isinf.
1576 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
1578         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1580 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
1582         * config/vxcache.c: New file.  Provide __clear_cache, based on
1583         the cacheTextUpdate VxWorks service.
1584         * config/t-vxworks (LIB2ADD): Add vxcache.c.
1585         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1586         * config/t-vxwoks7: Likewise.
1588 2018-09-21  Martin Liska  <mliska@suse.cz>
1590         * libgcov-driver.c (crc32_unsigned): Remove.
1591         (gcov_histogram_insert): Likewise.
1592         (gcov_compute_histogram): Likewise.
1593         (compute_summary): Simplify rapidly.
1594         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1595         (merge_summary): Rapidly simplify.
1596         (dump_one_gcov): Ignore gcov_summary.
1597         (gcov_do_dump): Do not handle program summary, it's not
1598         used.
1599         * libgcov-util.c (tag_summary): Remove.
1600         (read_gcda_finalize): Fix coding style.
1601         (read_gcda_file): Initialize curr_object_summary.
1602         (compute_summary): Remove.
1603         (calculate_overlap): Remove settings of run_max.
1605 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
1607         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1608         ucontext_t type instead.
1609         (nds32_fallback_frame_state): Remove struct _sigframe statement.
1611 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
1613         * config/nds32/t-nds32-glibc: New file.
1615 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1617         * configure.ac (solaris_ld_v2_maps): New test.
1618         * configure: Regenerate.
1619         * Makefile.in (solaris_ld_v2_maps): New variable.
1620         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1621         if supported.
1623 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
1625         PR target/86951
1626         * config/arm/lib1funcs.asm (speculation_barrier): New function.
1627         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1628         to build.
1630 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
1632         * config/unwind-dw2-fde-darwin.c
1633         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1634         * config/darwin10-unwind-find-enc-func.c: … to here.
1635         * config/t-darwin: Build Darwin10 unwinder shim crt.
1636         * libgcc/config.host: Add the Darwin10 unwinder shim.
1638 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1640         * config.host: Add crtbegin.o and crtend.o for
1641         powerpc-wrs-vxworks target.
1643 2018-08-17  Jojo  <jijie_rong@c-sky.com>
1644             Huibin Wang  <huibin_wang@c-sky.com>
1645             Sandra Loosemore  <sandra@codesourcery.com>
1646             Chung-Lin Tang  <cltang@codesourcery.com>
1648         C-SKY port: libgcc
1650         * config.host: Add C-SKY support.
1651         * config/csky/*: New.
1653 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
1655         * config/nds32/t-nds32-isr: Rearrange object dependency.
1656         * config/nds32/initfini.c: Add dwarf2 unwinding support.
1657         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1658         and registers usage.
1659         * config/nds32/isr-library/excp_isr.S: Ditto.
1660         * config/nds32/isr-library/intr_isr.S: Ditto.
1661         * config/nds32/isr-library/reset.S: Ditto.
1662         * config/nds32/isr-library/restore_all.inc: Ditto.
1663         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1664         * config/nds32/isr-library/restore_partial.inc: Ditto.
1665         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1666         * config/nds32/isr-library/save_all.inc: Ditto.
1667         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1668         * config/nds32/isr-library/save_partial.inc: Ditto.
1669         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1670         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1672 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
1674         * config/pa/linux-atomic.c: Update comment.
1675         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1676         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1677         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1678         __ATOMIC_RELAXED for atomic loads.
1679         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
1680         unordered store to release lock.
1681         (__sync_lock_release_8): Likewise.
1682         (SYNC_LOCK_RELEASE_2): Remove define.
1684 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
1686         PR libgcc/86512
1687         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1688         exponent goes negative. Update my email address.
1689         * config/arm/ieee754-sf.S: Likewise.
1691 2018-08-01  Martin Liska  <mliska@suse.cz>
1693         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1694         check that  __gcov_indirect_call_callee is non-null.
1696 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
1698         * config/arm/ieee754-df.S: Fix comment for code working on
1699         architectures >= 4.
1700         * config/arm/ieee754-sf.S: Likewise.
1702 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1704         PR libgcc/85334
1705         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1706         Removed.
1708 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
1710         * configure: Regenerated.
1712 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1714         * Makefile.in (install_leaf): Use enable_gcov instead of
1715         enable_libgcov.
1717 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1719         * configure.ac: Add --disable-gcov option.
1720         * configure: Regenerate.
1721         * Makefile.in: Honour @enable_gcov@.
1723 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
1725         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1726         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1727         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1728         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1729         __ARM_ARCH__.
1730         * config/arm/ieee754-sf.S: Likewise.
1731         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1733 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
1735         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1736         longer supported.
1737         * config/arm/ieee754-sf.S: Likewise.
1739 2018-06-20  Than McIntosh  <thanm@google.com>
1741         PR libgcc/86213
1742         * generic-morestack.c (allocate_segment): Move calls to getenv and
1743         getpagesize to __morestack_load_mmap.
1744         (__morestack_load_mmap) Initialize static_pagesize and
1745         use_guard_page here so as to avoid clobbering SSE regs during a
1746         __morestack call.
1748 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
1750         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1751         support modules with -mno-gnu-attribute.
1752         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1754 2018-06-07  Olivier Hainque  <hainque@adacore.com>
1756         * config/t-vxworks (LIBGCC_INCLUDES): Add
1757         -I$(MULTIBUILDTOP)../../gcc/include.
1758         * config/t-vxworks7: Likewise. Reformat a bit to match
1759         the t-vxworks layout.
1761 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
1763         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1765 2018-06-07  Martin Liska  <mliska@suse.cz>
1767         * libgcov-driver.c: Rename cs_all to all and assign it from
1768         all_prg.
1770 2018-06-07  Martin Liska  <mliska@suse.cz>
1772         PR bootstrap/86057
1773         * libgcov-driver-system.c (replace_filename_variables): Use
1774         memcpy instead of mempcpy.
1775         (allocate_filename_struct): Do not allocate filename, allocate
1776         prefix and set it.
1777         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1778         here and properly copy content into it.
1779         * libgcov-driver.c (struct gcov_filename): Remove max_length
1780         field, change prefix from size_t into char *.
1781         (compute_summary): Do not calculate longest filename.
1782         (gcov_do_dump): Release memory of gf.filename after each file.
1783         * libgcov-util.c (compute_summary): Use new signature of
1784         compute_summary.
1785         (calculate_overlap): Likewise.
1787 2018-06-05  Martin Liska  <mliska@suse.cz>
1789         PR gcov-profile/47618
1790         * libgcov-driver-system.c (replace_filename_variables): New
1791         function.
1792         (gcov_exit_open_gcda_file): Use it.
1794 2018-06-05  Martin Liska  <mliska@suse.cz>
1796         * libgcov-driver.c (gcov_compute_histogram): Remove usage
1797         of gcov_ctr_summary.
1798         (compute_summary): Do it just for a single summary.
1799         (merge_one_data): Likewise.
1800         (merge_summary): Simplify as we read just single summary.
1801         (dump_one_gcov): Pass proper argument.
1802         * libgcov-util.c (compute_one_gcov): Simplify as we have just
1803         single summary.
1804         (gcov_info_count_all_cold): Likewise.
1805         (calculate_overlap): Likewise.
1807 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
1808             Monk Chiang  <sh.chiang04@gmail.com>
1810         * config.host (nds32*-linux*): New.
1811         * config/nds32/linux-atomic.c: New file.
1812         * config/nds32/linux-unwind.h: New file.
1814 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
1816         PR target/85591
1817         * config/i386/cpuinfo.c (get_amd_cpu): Return
1818         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1820 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1822         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1824 2018-05-29  Martin Liska  <mliska@suse.cz>
1826         PR gcov-profile/85759
1827         * libgcov-driver-system.c (gcov_error): Introduce usage of
1828         GCOV_EXIT_AT_ERROR env. variable.
1829         * libgcov-driver.c (merge_one_data): Print error that we
1830         overwrite a gcov file with a different timestamp.
1832 2018-05-23  Kalamatee  <kalamatee@gmail.com>
1834         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1835         path to Lf$finfty.
1837 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
1838             Monk Chiang  <sh.chiang04@gmail.com>
1839             Jim Wilson <jimw@sifive.com>
1841         * config/riscv/save-restore.S: Add support for rv32e.
1843 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1845         * config/arm/libunwind.S: Update comment relating to armv5.
1847 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
1849         * config/arm/cmse.c (cmse_check_address_range): Replace
1850         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1852 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
1854         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1855         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1857 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
1859         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1860         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1862 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
1864         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1866 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
1867             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1869         PR libgcc/84292
1870         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1871         op_and_fetch to return the right result.
1873 2018-04-27  Alan Modra  <amodra@gmail.com>
1875         PR libgcc/85532
1876         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1877         -fno-asynchronous-unwind-tables.
1879 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1881         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1882         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1884 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1886         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1887         when including "config/i386/shadow-stack-unwind.h".
1889 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1891         * configure: Regenerated.
1893 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
1895         PR target/85456
1896         * config/rs6000/_powikf2.c: New file.  Add support for the
1897         __builtin_powil function when long double is IEEE 128-bit floating
1898         point.
1899         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1900         __powikf2 support.
1901         (__powikf2): Likewise.
1902         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1903         (__powikf2_hw): Likewise.
1904         (__powikf2): Likewise.
1905         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1906         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1907         (_powikf2-hw.c): Likewise.
1909 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1911         PR libgcc/85334
1912         * unwind-generic.h (_Unwind_Frames_Increment): New.
1913         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1914         Likewise.
1915         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1916         count with _Unwind_Frames_Increment.
1917         (_Unwind_ForcedUnwind_Phase2): Likewise.
1919 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1921         PR libgcc/85379
1922         * config/i386/morestack.S (__stack_split_initialize): Add
1923         _CET_ENDBR.
1925 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
1927         * configure: Regenerated.
1929 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
1931         PR jit/85384
1932         * configure: Regenerate.
1934 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
1936         PR target/84945
1937         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1938         -Wdangling-else warnings.  Mask shift counts to avoid
1939         -Wshift-count-negative and -Wshift-count-overflow false positives.
1941 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
1943         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1945 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1947         PR target/85100
1948         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1949         (XSTATE_FP): Likewise.
1950         (XSTATE_SSE): Likewise.
1951         (XSTATE_YMM): Likewise.
1952         (XSTATE_OPMASK): Likewise.
1953         (XSTATE_ZMM): Likewise.
1954         (XSTATE_HI_ZMM): Likewise.
1955         (XCR_AVX_ENABLED_MASK): Likewise.
1956         (XCR_AVX512F_ENABLED_MASK): Likewise.
1957         (get_available_features): Enable AVX and AVX512 features only
1958         if their states are supported by OSXSAVE.
1960 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1962         PR target/85025
1963         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1964         Fix a typo, tmp => 255.
1966 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
1968         PR target/84945
1969         * config/i386/cpuinfo.h (__cpu_features2): Declare.
1970         * config/i386/cpuinfo.c (__cpu_features2): New variable for
1971         ifndef SHARED only.
1972         (set_feature): Define.
1973         (get_available_features): Use set_feature macro.  Set __cpu_features2
1974         to the second word of features ifndef SHARED.
1976 2018-03-15  Julia Koval  <julia.koval@intel.com>
1978         * config/i386/cpuinfo.c (get_available_features): Add
1979         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1980         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1981         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1982         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1983         FEATURE_AVX512BITALG.
1985 2018-03-14  Julia Koval  <julia.koval@intel.com>
1987         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1988         icelake client and icelake server.
1990 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
1992         * config/pa/fptr.c (_dl_read_access_allowed): New.
1993         (__canonicalize_funcptr_for_compare): Use it.
1995 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
1997         PR debug/83917
1998         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1999         $asm_hidden_op if visibility ("hidden") attribute works.
2000         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2001         * config/i386/i386-asm.h: Don't include auto-host.h.
2002         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2003         PACKAGE_URL): Don't undefine.
2004         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2005         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2006         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2007         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2008         definition instead of hardcoded .hidden.
2009         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2010         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2011         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2012         (USE_GAS_CFI_DIRECTIVES): Don't define.
2013         * configure: Regenerated.
2014         * config.in: Likewise.
2016 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
2018         PR debug/83917
2019         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2020         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2021         inclusion of auto-target.h and auto-host.h.
2022         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2023         __GCC_HAVE_DWARF2_CFI_ASM.
2024         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2025         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2026         cfi_pop): Define.
2027         * config/i386/cygwin.S: Don't include auto-host.h here, just
2028         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2029         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2030         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2031         * config/i386/resms64fx.h: Add cfi_* directives.
2032         * config/i386/resms64x.h: Likewise.
2034 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
2036         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2037         .literal_position directive.
2038         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2040 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2042         PR target/84148
2043         * configure: Regenerate.
2045 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2047         PR target/84239
2048         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2049         Include cetintrin.h not x86intrin.h.
2051 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2053         PR target/84239
2054         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2055         Use new _get_ssp and _inc_ssp intrinsics.
2057 2018-02-02  Julia Koval  <julia.koval@intel.com>
2059         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2061 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2063         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2064         option.
2065         (__divsi3): Use RF16 safe registers.
2066         (__modsi3): Likewise.
2068 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
2070         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2071         (__divsf3): Make NaN return value quiet.
2072         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2073         (__divdf3): Make NaN return value quiet.
2075 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2077         * config/rl78/anddi3.S: New assembly file.
2078         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2080 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2082         * config/rl78/umindi3.S: New assembly file.
2083         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2085 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2087         * config/rl78/smindi3.S: New assembly file.
2088         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2090 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2092         * config/rl78/smaxdi3.S: New assembly file.
2093         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2095 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2097         * config/rl78/umaxdi3.S: New assembly file.
2098         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2100 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
2102         PR lto/83452
2103         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2104         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2106 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
2108         * config/aarch64/value-unwind.h (aarch64_vg): New function.
2109         (DWARF_LAZY_REGISTER_VALUE): Define.
2110         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2111         to provide a fallback register value.
2113 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
2115         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2116         __ibm128, instead of trying to use long double.
2117         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2118         accomidate -mabi=ieeelongdouble multilibs.
2119         (CVT_IBM128_TO_FLOAT128): Likewise.
2120         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2121         the appropriate IBM extended double type.
2122         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2123         (__gcc_qsub): Likewise.
2124         (__gcc_qmul): Likewise.
2125         (__gcc_qdiv): Likewise.
2126         (pack_ldouble): Likewise.
2127         (__gcc_qneg): Likewise.
2128         (__gcc_qeq): Likewise.
2129         (__gcc_qne): Likewise.
2130         (__gcc_qge): Likewise.
2131         (__gcc_qle): Likewise.
2132         (__gcc_stoq): Likewise.
2133         (__gcc_dtoq): Likewise.
2134         (__gcc_itoq): Likewise.
2135         (__gcc_utoq): Likewise.
2136         (__gcc_qunord): Likewise.
2137         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2138         quad-float128.h for the definitions.
2139         (COPYSIGN): Use the f128 version instead of the q version.
2140         (INFINITY): Likewise.
2141         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2142         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2143         quad-float128.h for the definitions.
2144         (COPYSIGN): Use the f128 version instead of the q version.
2145         (INFINITY): Likewise.
2146         (FABS): Likewise.
2147         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2148         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2149         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2151 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2153         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2154         configuration.
2156 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
2158         Update copyright years.
2160 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
2162         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2163         * config/riscv/multi3.c: New file.
2164         * config/riscv/multi3.S: Remove.
2166 2017-12-08  Jim Wilson  <jimw@sifive.com>
2168         * config/riscv/div.S: Use FUNC_* macros.
2169         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2170         * config/riscv/save-restore.S: Likewise.
2171         * config/riscv/riscv-asm.h: New.
2173 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
2175         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2176         * config/rs6000/_divkc3.c (__divkc3): Likewise.
2178         PR libgcc/83112
2179         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2180         correct type for all ifunc resolvers to silence -Wattribute-alias
2181         warnings.  Eliminate the forward declaration of the resolver
2182         functions which is no longer needed.
2183         (__subkf3_resolve): Likewise.
2184         (__mulkf3_resolve): Likewise.
2185         (__divkf3_resolve): Likewise.
2186         (__negkf2_resolve): Likewise.
2187         (__eqkf2_resolve): Likewise.
2188         (__nekf2_resolve): Likewise.
2189         (__gekf2_resolve): Likewise.
2190         (__gtkf2_resolve): Likewise.
2191         (__lekf2_resolve): Likewise.
2192         (__ltkf2_resolve): Likewise.
2193         (__unordkf2_resolve): Likewise.
2194         (__extendsfkf2_resolve): Likewise.
2195         (__extenddfkf2_resolve): Likewise.
2196         (__trunckfsf2_resolve): Likewise.
2197         (__trunckfdf2_resolve): Likewise.
2198         (__fixkfsi_resolve): Likewise.
2199         (__fixkfdi_resolve): Likewise.
2200         (__fixunskfsi_resolve): Likewise.
2201         (__fixunskfdi_resolve): Likewise.
2202         (__floatsikf_resolve): Likewise.
2203         (__floatdikf_resolve): Likewise.
2204         (__floatunsikf_resolve): Likewise.
2205         (__floatundikf_resolve): Likewise.
2206         (__extendkftf2_resolve): Likewise.
2207         (__trunctfkf2_resolve): Likewise.
2209         PR libgcc/83103
2210         * config/rs6000/quad-float128.h (TF): Don't define if long double
2211         is IEEE 128-bit floating point.
2212         (TCtype): Define as either TCmode or KCmode, depending on whether
2213         long double is IEEE 128-bit floating point.
2214         (__mulkc3_sw): Add declarations for software/hardware versions of
2215         complex multiply/divide.
2216         (__divkc3_sw): Likewise.
2217         (__mulkc3_hw): Likewise.
2218         (__divkc3_hw): Likewise.
2219         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2220         handlers to switch between using software emulation and hardware
2221         float128 instructions, build the complex multiply/divide functions
2222         for both software and hardware support.
2223         * config/rs6000/_divkc3.c (_divkc3): Likewise.
2224         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2225         (__divkc3_resolve): Likewise.
2226         (__mulkc3): Likewise.
2227         (__divkc3): Likewise.
2228         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2229         (fp128_hw_src): Likewise.
2230         (fp128_hw_static_obj): Likewise.
2231         (fp128_hw_shared_obj): Likewise.
2232         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2233         _mulkc3.c and _divkc3.c, changing the function name.
2234         (_divkc3-hw.c): Likewise.
2235         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2236         and _divkc3-hw.c.
2238 2017-11-26  Julia Koval  <julia.koval@intel.com>
2240         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2241         * config/i386/cpuinfo.h (processor_subtypes): Add
2242         INTEL_COREI7_CANNONLAKE.
2244 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2246         PR bootstrap/83015
2247         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2248         parameter.
2249         * config/xtensa/unwind-dw2-xtensa.c: Likewise
2250         * config/ia64/unwind-ia64.c: Add frames parameter.
2251         * unwind-sjlj.c: Likewise.
2253 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2255         * config/i386/linux-unwind.h: Include
2256         config/i386/shadow-stack-unwind.h.
2257         * config/i386/shadow-stack-unwind.h: New file.
2258         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2259         pass it to _Unwind_Frames_Extra.
2260         * unwind-generic.h (_Unwind_Frames_Extra): New.
2261         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2262         parameter. Add local variable frames to count number of frames.
2263         (_Unwind_ForcedUnwind_Phase2): Likewise.
2264         (_Unwind_RaiseException): Add local variable frames to count
2265         number of frames, pass it to _Unwind_RaiseException_Phase2 and
2266         uw_install_context.
2267         (_Unwind_ForcedUnwind): Likewise.
2268         (_Unwind_Resume): Likewise.
2269         (_Unwind_Resume_or_Rethrow): Likewise.
2271 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2273         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2274         (CET_FLAGS): New.
2275         * config/i386/morestack.S: Include <cet.h>.
2276         (__morestack_large_model): Add _CET_ENDBR at function entrance.
2277         * config/i386/resms64.h: Include <cet.h>.
2278         * config/i386/resms64f.h: Likewise.
2279         * config/i386/resms64fx.h: Likewise.
2280         * config/i386/resms64x.h: Likewise.
2281         * config/i386/savms64.h: Likewise.
2282         * config/i386/savms64f.h: Likewise.
2283         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2284         (CRTSTUFF_T_CFLAGS): Likewise.
2285         * configure.ac: Include ../config/cet.m4.
2286         Set and substitute CET_FLAGS.
2287         * configure: Regenerated.
2289 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2291         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2292         renaming.
2293         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2294         * configure.ac (libgcc_cv_solaris_crts): Likewise.
2295         * configure: Regenerate.
2297 2017-11-07  Tom de Vries  <tom@codesourcery.com>
2299         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2300         after "do {} while (0)".
2302 2017-11-07  Tom de Vries  <tom@codesourcery.com>
2304         PR other/82784
2305         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2306         semicolon after "do {} while (0)".
2307         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2308         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2309         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2310         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2312 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
2314         PR libgcc/82635
2315         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2316         sysctl to determine whether we're in a trampoline.
2317         Keep the pattern matching method for systems without
2318         KERN_PROC_SIGTRAMP sysctl.
2320 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
2321             Vineet Gupta <vgupta@synopsys.com>
2323         * config.host (arc*-*-linux*): Set md_unwind_header variable.
2324         * config/arc/linux-unwind-reg.def: New file.
2325         * config/arc/linux-unwind-reg.h: Likewise.
2327 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
2329         * config/rl78/subdi3.S: New assembly file.
2330         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2332 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
2334         * config/rl78/adddi3.S: New assembly file.
2335         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2337 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
2339         PR target/82274
2340         * libgcc2.c (__mulvDI3): If both operands have
2341         the same highpart of -1 and the topmost bit of lowpart is 0,
2342         multiplication overflows even if both lowparts are 0.
2344 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
2346         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2348 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
2350         * config/microblaze/crti.S, config/microblaze/crtn.S,
2351         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2352         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2353         config/microblaze/mulsi3.S,
2354         config/microblaze/stack_overflow_exit.S,
2355         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2356         config/pa/milli64.S: Add .note.GNU-stack section.
2358 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
2360         * configure.ac: Add Check for HAVE_AS_AVX.
2361         * config.in: Regenerate.
2362         * configure: Likewise.
2363         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2364         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2365         Correct out-of-date comments.
2367 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
2369         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2370         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2372 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
2374         * config/i386/i386-asm.h (PASTE2): New macro.
2375         (ASMNAME): Modify to use PASTE2.
2376         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2377         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2378         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2379         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2380         * config/i386/resms64f.S: Likewise.
2381         * config/i386/resms64fx.S: Likewise.
2382         * config/i386/resms64x.S: Likewise.
2383         * config/i386/savms64.S: Likewise.
2384         * config/i386/savms64f.S: Likewise.
2385         * config/i386/avx_resms64.S: New file that only defines a macro and
2386         includes it's corresponding header file.
2387         * config/i386/avx_resms64f.S: Likewise.
2388         * config/i386/avx_resms64fx.S: Likewise.
2389         * config/i386/avx_resms64x.S: Likewise.
2390         * config/i386/avx_savms64.S: Likewise.
2391         * config/i386/avx_savms64f.S: Likewise.
2392         * config/i386/sse_resms64.S: Likewise.
2393         * config/i386/sse_resms64f.S: Likewise.
2394         * config/i386/sse_resms64fx.S: Likewise.
2395         * config/i386/sse_resms64x.S: Likewise.
2396         * config/i386/sse_savms64.S: Likewise.
2397         * config/i386/sse_savms64f.S: Likewise.
2398         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2400 2017-09-01  Olivier Hainque  <hainque@adacore.com>
2401         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2403 2017-08-31  Olivier Hainque  <hainque@adacore.com>
2405         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2406         match as powerpc-wrs-vxworks*.
2408 2017-08-07  Jonathan Yong  <10walls@gmail.com>
2410         * config.host (*-cygwin): Include file from mingw
2411         config/i386/enable-execute-stack-mingw32.c
2413 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
2414             Doug Rupp  <rupp@adacore.com>
2415             Olivier Hainque  <hainque@adacore.com>
2417         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2418         as well as arm-wrs-vxworks.
2419         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
2420         LIB2ADDEH.
2421         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2422         __exidx_start and __exidx_end for downloadable modules.
2424 2017-08-01  Olivier Hainque  <hainque@adacore.com>
2426         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2427         * config/t-vxworks7: Likewise.
2429 2017-08-01  Olivier Hainque  <hainque@adacore.com>
2431         * config/t-vxworks: Instead of redefining LIB2ADD,
2432         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2434 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2436         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2438 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
2440         PR testsuite/80759
2441         * config.host: include i386/t-msabi for darwin and solaris.
2442         * config/i386/i386-asm.h
2443         (ELFFN): Rename to FN_TYPE.
2444         (FN_SIZE): New macro.
2445         (FN_HIDDEN): Likewise.
2446         (ASMNAME): Likewise.
2447         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2448         .globl.
2449         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2450         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2451         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2452         .macro.
2453         * config/i386/resms64f.S: Likewise.
2454         * config/i386/resms64fx.S: Likewise.
2455         * config/i386/resms64x.S: Likewise.
2456         * config/i386/savms64.S: Likewise.
2457         * config/i386/savms64f.S: Likewise.
2459 2017-07-19  John Marino  <gnugcc@marino.st>
2461         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2463 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
2465         PR target/81193
2466         * configure.ac (PowerPC float128 hardware support): Test whether
2467         we can use __builtin_cpu_supports before enabling the ifunc
2468         handler.
2469         * configure: Regenerate.
2471 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
2473         * config.host: Remove uclibc from arc target spec.
2475 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
2477         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2479 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
2481         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2482         (have_ieee_hw_p): Delete function.
2483         (SW_OR_HW) Use __builtin_cpu_supports().
2485 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2487         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2489 2017-07-03  Olivier Hainque  <hainque@adacore.com>
2491         * config/t-vxworks7: New file, really.
2493 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
2495         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2496         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2497         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2498         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2499         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2500         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2501         config/pa/linux-unwind.h (pa32_fallback_frame_state),
2502         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2503         config/sh/linux-unwind.h (sh_fallback_frame_state),
2504         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2505         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2506         ucontext_t instead of struct ucontext.
2508 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
2510         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2511         (x86_64-wrs-vxworks7): Likewise.
2513 2017-06-27  Olivier Hainque  <hainque@adacore.com>
2515         * config/t-vxworks7: New file.
2516         * config.host (*-*-vxworks7): Use it.
2518 2017-06-22  Matt Turner  <mattst88@gmail.com>
2520         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2521         skylake case.
2523 2017-06-21  Richard Biener  <rguenther@suse.de>
2525         PR gcov-profile/81080
2526         * configure.ac: Add AC_SYS_LARGEFILE.
2527         * libgcov.h: Include auto-target.h before tsystem.h to pick
2528         up _FILE_OFFSET_BITS which might differ for multilibs.
2529         * config.in: Regenerate.
2530         * configure: Likewise.
2532 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
2534         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2536 2017-06-09  Martin Liska  <mliska@suse.cz>
2538         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2539         Reset __gcov_indirect_call_callee to NULL.
2541 2017-06-08  Olivier Hainque  <hainque@adacore.com>
2543         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2544         the set of -I options, support for direct inclusions of net/uio.h
2545         by VxWorks header files via ioLib.h.
2547 2017-06-07  Tony Reix  <tony.reix@atos.net>
2548             Matthieu Sarter  <matthieu.sarter.external@atos.net>
2549             David Edelsohn  <dje.gcc@gmail.com>
2551         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2552         unconditionally.
2553         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
2554         AIX 7.2 support.
2556 2017-06-02  Olivier Hainque  <hainque@adacore.com>
2558         * config/vxlib.c (__gthread_once): Add missing value to
2559         return statement.
2561 2017-05-30  Olivier Hainque  <hainque@adacore.com>
2563         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2564         dollar sign before $(MULTIDIR).
2566 2017-05-26  Richard Henderson  <rth@redhat.com>
2568         PR libgcc/80037
2569         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2571 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
2573         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2574         _Unwind_SetIP available as functions for arm*-*-freebsd*.
2575         * config/arm/unwind-arm.c: Implement the above.
2577 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2579         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2580         section for a non-executable stack.
2582 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
2584         PR target/80600
2585         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2587 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
2589         * config.host: Add i386/t-msabi to i386/t-linux file list.
2590         * config/i386/i386-asm.h: New file.
2591         * config/i386/resms64.S: New file.
2592         * config/i386/resms64f.S: New file.
2593         * config/i386/resms64fx.S: New file.
2594         * config/i386/resms64x.S: New file.
2595         * config/i386/savms64.S: New file.
2596         * config/i386/savms64f.S: New file.
2597         * config/i386/t-msabi: New file.
2599 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
2601         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2602         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2604 2017-05-05  Joshua Conner  <joshconner@google.com>
2606         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2607         pc-relative indirect handling for fuchsia.
2608         * config/t-slibgcc-fuchsia: New file.
2609         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2610         x86_64-*-fuchsia*): Add definitions.
2612 2017-04-19  Martin Liska  <mliska@suse.cz>
2614         PR gcov-profile/80435
2615         * Makefile.in: Install gcov.h.
2616         * gcov.h: New file.
2617         * libgcov.h: Use the header and make __gcov_flush publicly
2618         visible.
2620 2017-04-18  Martin Liska  <mliska@suse.cz>
2622         PR gcov-profile/78783
2623         * libgcov-driver.c (gcov_get_filename): New function.
2625 2017-04-07  Jeff Law  <law@redhat.com>
2627         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2628         target makefile fragment.
2629         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2631 2017-04-07  Alan Modra  <amodra@gmail.com>
2633         PR target/45053
2634         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2636 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
2638         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2640 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
2642         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2644 2017-03-10  John Marino  <gnugcc@marino.st>
2646         * config/aarch64/freebsd-unwind.h: New file.
2647         * config.host: Add aarch64-*-freebsd unwinder.
2649 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
2651         * config/rs6000/crtrestvr.s: Use .machine altivec.
2652         * config/rs6000/crtsavevr.s: Ditto.
2654 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
2656         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2657         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
2658         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2659         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
2660         * configure: Regenerate.
2661         * config.in: Regenerate.
2663 2017-03-02  Jonathan Yong <10walls@gmail.com>
2665         * config/i386/gthr-win32.h: Define NOGDI before
2666         windows.h include to prevent w32api CC_NONE macro
2667         clash with libgfortran.
2669 2017-03-02  Jonathan Yong <10walls@gmail.com>
2671         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2673 2017-02-16  Andrew Pinski  <apinski@cavium.com>
2675         * config/aarch64/value-unwind.h: New file.
2676         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2677         to tm_file.
2679 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
2681         * config.host: Add RISC-V tuples.
2682         * config/riscv/atomic.c: New file.
2683         * config/riscv/crti.S: Likewise.
2684         * config/riscv/crtn.S: Likewise.
2685         * config/riscv/div.S: Likewise.
2686         * config/riscv/linux-unwind.h: Likewise.
2687         * config/riscv/muldi3.S: Likewise.
2688         * config/riscv/multi3.S: Likewise.
2689         * config/riscv/save-restore.S: Likewise.
2690         * config/riscv/sfp-machine.h: Likewise.
2691         * config/riscv/t-elf: Likewise.
2692         * config/riscv/t-elf32: Likewise.
2693         * config/riscv/t-elf64: Likewise.
2694         * config/riscv/t-softfp32: Likewise.
2695         * config/riscv/t-softfp64: Likewise.
2697 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2699         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2700         /* FALLTHRU */ comments.
2702 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
2704         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2706 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
2708         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2709         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
2710         DW_CFA_GNU_window_save for AArch64 and LP64.
2712 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
2714         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2716 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
2718         * config/aarch64/aarch64-unwind.h: New file.
2719         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2720         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2721         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2722         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2723         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2724         (aarch64_post_extract_frame_addr): New function.
2725         (aarch64_post_frob_eh_handler_addr): New function.
2726         (aarch64_frob_update_context): New function.
2727         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2728         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2729         aarch64*-*-freebsd*):
2730         Initialize md_unwind_header to include aarch64-unwind.h.
2731         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2732         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2733         __aarch64__.
2734         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2735         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2736         (uw_frob_return_addr): New function.
2737         (uw_install_context): Use uw_frob_return_addr.
2739 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
2741         PR other/79046
2742         * configure.ac: Add GCC_BASE_VER.
2743         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2744         version from BASE-VER file.
2745         * configure: Regenerated.
2747 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
2749         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2750         libmul_f5.a): Filter archived prerequisites.
2752 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
2754         * config/i386/cpuinfo.h (processor_features): Add
2755         FEATURE_AVX512VPOPCNTDQ.
2756         * config/i386/cpuinfo.c (get_available_features): Habdle new
2757         feature.
2759 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2761         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2762         payload if [__mips_nan2008].
2764 2017-01-04  Alan Modra  <amodra@gmail.com>
2766         * Makefile.in (configure_deps): Update.
2767         * configure: Regenerate.
2769 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
2771         Update copyright years.
2773 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
2775         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2776         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2777         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2779 2016-12-17  Matthias Klose  <doko@ubuntu.com>
2781         * config/arc/gmon: Remove empty directory.
2783 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
2785         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2786         crtgend.
2787         (arc*-*-elf*): Likewise.
2788         * config/arc/t-arc: Remove old gmon lib targets.
2789         * config/arc/crtg.S: Remove.
2790         * config/arc/crtgend.S: Likewise.
2791         * config/arc/gmon/atomic.h: Likewise.
2792         * config/arc/gmon/auxreg.h: Likewise.
2793         * config/arc/gmon/dcache_linesz.S: Likewise.
2794         * config/arc/gmon/gmon.c: Likewise.
2795         * config/arc/gmon/machine-gmon.h: Likewise.
2796         * config/arc/gmon/mcount.c: Likewise.
2797         * config/arc/gmon/prof-freq-stub.S: Likewise.
2798         * config/arc/gmon/prof-freq.c: Likewise.
2799         * config/arc/gmon/profil.S: Likewise.
2800         * config/arc/gmon/sys/gmon.h: Likewise.
2801         * config/arc/gmon/sys/gmon_out.h: Likewise.
2802         * config/arc/t-arc-newlib: Likewise.
2803         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2805 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2807         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2809 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2811         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2812         R16 instead of push + pop.
2813         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2815 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
2817         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2818         tmake_file.
2820 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
2822         * config.host (arc*-*-linux-uclibc*): Use default extra
2823         objects. Include linux-android header.
2824         * config/arc/crti.S (_init): Declare symbol as function.
2825         (_fini): Likewise.
2827 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
2829         PR fortran/78379
2830         * config/i386/cpuinfo.c:  Move denums for processor vendors,
2831         processor type, processor subtypes and declaration of
2832         struct __processor_model into
2833         * config/i386/cpuinfo.h:  New header file.
2835 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2836             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2838         * config/arm/cmse_nonsecure_call.S: New.
2839         * config/arm/t-arm: Compile cmse_nonsecure_call.S
2841 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2842             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2844         * config/arm/t-arm (HAVE_CMSE): New.
2845         * config/arm/cmse.c: New.
2847 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2849         PR gcc/74748
2850         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2851         use generic linker version information on Blackfin.
2853         PR gcc/74748
2854         * libgcc/mkmap-symver.awk: add support for skip_underscore
2856 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
2857             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2859         PR target/67710
2860         *  config/t-darwin: Default builds to 10.5 codegen.
2862 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
2864         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2865         (_FP_NANSIGN_H): Likewise.
2866         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2867         (softfp_truncations): Add tfhf.
2868         (softfp_extras): Add required conversion functions.
2870 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2871             Matthew Wahab  <matthew.wahab@arm.com>
2873         * config/arm/fp16.c (binary64): New.
2874         (__gnu_d2h_internal): New.
2875         (__gnu_d2h_ieee): New.
2876         (__gnu_d2h_alternative): New.
2878 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2879             Matthew Wahab  <matthew.wahab@arm.com>
2881         * config/arm/fp16.c (struct format): New.
2882         (binary32): New.
2883         (__gnu_float2h_internal): New.  Body moved from
2884         __gnu_f2h_internal and generalize.
2885         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2886         Call it with binary32.
2888 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2890         * soft-fp/extendhftf2.c: Update from glibc.
2891         * soft-fp/fixhfti.c: Likewise.
2892         * soft-fp/fixunshfti.c: Likewise.
2893         * soft-fp/floattihf.c: Likewise.
2894         * soft-fp/floatuntihf.c: Likewise.
2895         * soft-fp/half.h: Likewise.
2896         * soft-fp/trunctfhf2.c: Likewise.
2898 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
2900         PR libgcc/77813
2901         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2902         __TMC_END__ behind a passthrough asm.
2904 2016-11-18  Walter Lee  <walt@tilera.com>
2906         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2908 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
2910         * config/i386/cpuinfo.c (processor_features): Add
2911         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2913 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
2915         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2916         (__ARC_NORM__): Use instead ARC_OPTFPE.
2917         * config/arc/fp-hack.h: Likewise.
2918         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2919         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2921 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
2923         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2924         * config/nvptx/mgomp.c: New file.
2925         * config/nvptx/t-nvptx: Add mgomp.c
2927 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
2929         PR libgcc/68468
2930         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2932 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
2934         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2935         of checking for cpus.
2936         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2937         (__modsi3, __clzsi2): Likewise.
2939 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2941         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2942         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2943         * config/i386/t-cpuinfo-static: New.
2945 2016-11-03  Martin Liska  <mliska@suse.cz>
2947         * libgcov-profiler.c (__gcov_time_profiler): Remove.
2948         (__gcov_time_profiler_atomic): Likewise.
2950 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2952         PR libgcc/78067
2953         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2954         count_leading_zeros.
2956 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
2958         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2959         * libgcc2.c (__divmoddi4): New function.
2960         * libgcc2.h (__divmoddi4): Declare.
2961         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2962         and __PFX_divmodti4.
2964 2016-10-24  Florian Weimer  <fweimer@redhat.com>
2966         PR libgcc/78064
2967         * unwind-c.c: Include auto-target.h.
2969 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
2971         * config/pa/pa64-hpux-lib.h: New file.
2972         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2973         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2974         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2975         hppa*64*-*-hpux11*.
2977 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
2979         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2980         definition.
2981         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2982         definition.
2983         * config/xtensa/t-windowed (LIB2ADDEH): Use
2984         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2985         or xtensa/t-linux.
2987 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
2989         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2990         __ieee754_sqrt): New functions.
2991         (__divdf3): Add implementation with new FPU instructions under
2992         #if XCHAL_HAVE_DFP_DIV.
2993         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2994         __ieee754_sqrtf): New functions.
2995         (__divsf3): Add implementation with new FPU instructions under
2996         #if XCHAL_HAVE_FP_DIV.
2997         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2998         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3000 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3002         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3003         equivalent.
3004         * config/tilepro/atomic.c: Likewise and stop casting model to
3005         enum memmodel.
3007 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
3009         PR target/77586
3010         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3011         soft-fp.
3013 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
3015         * config.host: Add support for aarch64-*-freebsd*.
3017 2016-10-05  Andreas Schwab  <schwab@suse.de>
3019         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3020         (.section .init_array): Don't call __do_jv_register_classes.
3021         (.section .init): Likewise.
3023 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
3025         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3026         (__JCR_LIST__): Remove.
3027         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3028         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3029         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3030         * config/ia64/crtend.S (__JCR_END__): Remove.
3031         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3032         conditionals.
3033         (__JCR_LIST__, __JCR_END__): Remove.
3034         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3035         (__do_global_ctors_1): Likewise.
3037 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
3039         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3040         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3042 2016-09-27  Martin Liska  <mliska@suse.cz>
3044         PR gcov-profile/7970
3045         PR gcov-profile/16855
3046         PR gcov-profile/44779
3047         * libgcov-driver.c (__gcov_init): Do not register a atexit
3048         handler.
3049         (__gcov_exit): Rename from gcov_exit.
3050         * libgcov.h (__gcov_exit): Declare.
3052 2016-09-27  Martin Liska  <mliska@suse.cz>
3054         PR bootstrap/77749
3055         * Makefile.in: Remove _gcov_merge_delta.
3056         * libgcov-merge.c (void __gcov_merge_delta): Remove.
3057         * libgcov-util.c (__gcov_delta_counter_op): Remove.
3058         * libgcov.h: Remove declaration of __gcov_merge_delta.
3060 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
3062         * configure.ac: Do not create links, only substitute the filenames.
3063         * configure: Regenerate.
3064         * Makefile.in: Assign the substitution results to variables.
3065         (LIBGCC_LINKS): Define.
3066         (enable-execute-stack.c): New rule.
3067         (unwind.h): Likewise.
3068         (md-unwind-support.h): Likewise.
3069         (sfp-machine.h): Likewise.
3070         (gthr-default.h): Likewise.
3071         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3072         unwind.h as prerequisite of install-unwind_h-forbuild.
3074 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
3076         PR libgcc/71744
3077         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3078         is not the primary registry and atomics are available.
3079         (any_objects_registered): New variable.
3080         (__register_frame_info_bases, __register_frame_info_table_bases):
3081         Atomically store 1 to any_objects_registered after registering first
3082         unwind info.
3083         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3085 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
3087         PR target/63250
3088         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3089         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3090         (HFtype): Likewise.
3091         (HCtype): Likewise.
3092         (__divhc3): Likewise.
3093         (__mulhc3): Likewise.
3094         * libgcc2.c: Support _mulhc3 and _divhc3.
3096 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3098         PR libgcc/77519
3099         * libgcc2.c (NOTRUNC): Invert settings.
3101 2016-09-06  Martin Liska  <mliska@suse.cz>
3103         PR gcov-profile/77378
3104         PR gcov-profile/77466
3105         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3106         conditionaly enable/disable *_atomic functions.
3108 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
3110         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3111         where not already enabled.
3113 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3115         * config/mips/linux-unwind.h: Use sys/syscall.h.
3117 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3119         PR libgcc/77265
3120         * soft-fp/adddf3.c: Update from glibc.
3121         * soft-fp/addsf3.c: Likewise.
3122         * soft-fp/addtf3.c: Likewise.
3123         * soft-fp/divdf3.c: Likewise.
3124         * soft-fp/divsf3.c: Likewise.
3125         * soft-fp/divtf3.c: Likewise.
3126         * soft-fp/double.h: Likewise.
3127         * soft-fp/eqdf2.c: Likewise.
3128         * soft-fp/eqsf2.c: Likewise.
3129         * soft-fp/eqtf2.c: Likewise.
3130         * soft-fp/extenddftf2.c: Likewise.
3131         * soft-fp/extended.h: Likewise.
3132         * soft-fp/extendsfdf2.c: Likewise.
3133         * soft-fp/extendsftf2.c: Likewise.
3134         * soft-fp/extendxftf2.c: Likewise.
3135         * soft-fp/fixdfdi.c: Likewise.
3136         * soft-fp/fixdfsi.c: Likewise.
3137         * soft-fp/fixdfti.c: Likewise.
3138         * soft-fp/fixsfdi.c: Likewise.
3139         * soft-fp/fixsfsi.c: Likewise.
3140         * soft-fp/fixsfti.c: Likewise.
3141         * soft-fp/fixtfdi.c: Likewise.
3142         * soft-fp/fixtfsi.c: Likewise.
3143         * soft-fp/fixtfti.c: Likewise.
3144         * soft-fp/fixunsdfdi.c: Likewise.
3145         * soft-fp/fixunsdfsi.c: Likewise.
3146         * soft-fp/fixunsdfti.c: Likewise.
3147         * soft-fp/fixunssfdi.c: Likewise.
3148         * soft-fp/fixunssfsi.c: Likewise.
3149         * soft-fp/fixunssfti.c: Likewise.
3150         * soft-fp/fixunstfdi.c: Likewise.
3151         * soft-fp/fixunstfsi.c: Likewise.
3152         * soft-fp/fixunstfti.c: Likewise.
3153         * soft-fp/floatdidf.c: Likewise.
3154         * soft-fp/floatdisf.c: Likewise.
3155         * soft-fp/floatditf.c: Likewise.
3156         * soft-fp/floatsidf.c: Likewise.
3157         * soft-fp/floatsisf.c: Likewise.
3158         * soft-fp/floatsitf.c: Likewise.
3159         * soft-fp/floattidf.c: Likewise.
3160         * soft-fp/floattisf.c: Likewise.
3161         * soft-fp/floattitf.c: Likewise.
3162         * soft-fp/floatundidf.c: Likewise.
3163         * soft-fp/floatundisf.c: Likewise.
3164         * soft-fp/floatunditf.c: Likewise.
3165         * soft-fp/floatunsidf.c: Likewise.
3166         * soft-fp/floatunsisf.c: Likewise.
3167         * soft-fp/floatunsitf.c: Likewise.
3168         * soft-fp/floatuntidf.c: Likewise.
3169         * soft-fp/floatuntisf.c: Likewise.
3170         * soft-fp/floatuntitf.c: Likewise.
3171         * soft-fp/gedf2.c: Likewise.
3172         * soft-fp/gesf2.c: Likewise.
3173         * soft-fp/getf2.c: Likewise.
3174         * soft-fp/ledf2.c: Likewise.
3175         * soft-fp/lesf2.c: Likewise.
3176         * soft-fp/letf2.c: Likewise.
3177         * soft-fp/muldf3.c: Likewise.
3178         * soft-fp/mulsf3.c: Likewise.
3179         * soft-fp/multf3.c: Likewise.
3180         * soft-fp/negdf2.c: Likewise.
3181         * soft-fp/negsf2.c: Likewise.
3182         * soft-fp/negtf2.c: Likewise.
3183         * soft-fp/op-1.h: Likewise.
3184         * soft-fp/op-2.h: Likewise.
3185         * soft-fp/op-4.h: Likewise.
3186         * soft-fp/op-8.h: Likewise.
3187         * soft-fp/op-common.h: Likewise.
3188         * soft-fp/quad.h: Likewise.
3189         * soft-fp/single.h: Likewise.
3190         * soft-fp/soft-fp.h: Likewise.
3191         * soft-fp/subdf3.c: Likewise.
3192         * soft-fp/subsf3.c: Likewise.
3193         * soft-fp/subtf3.c: Likewise.
3194         * soft-fp/truncdfsf2.c: Likewise.
3195         * soft-fp/trunctfdf2.c: Likewise.
3196         * soft-fp/trunctfsf2.c: Likewise.
3197         * soft-fp/trunctfxf2.c: Likewise.
3198         * soft-fp/unorddf2.c: Likewise.
3199         * soft-fp/unordsf2.c: Likewise.
3200         * soft-fp/unordtf2.c: Likewise.
3202 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
3204         PR gcov-profile/67097
3205         * libgcov-util.c (gcov_profile_merge): Skip missing files.
3207 2016-08-10  Martin Liska  <mliska@suse.cz>
3209         PR gcov-profile/58306
3210         * Makefile.in: New functions (modules) are added.
3211         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3212         function.
3213         (__gcov_pow2_profiler_atomic): New function.
3214         (__gcov_one_value_profiler_body): New argument is instroduced.
3215         (__gcov_one_value_profiler): Call with the new argument.
3216         (__gcov_one_value_profiler_atomic): Likewise.
3217         (__gcov_indirect_call_profiler_v2): Likewise.
3218         (__gcov_time_profiler_atomic): New function.
3219         (__gcov_average_profiler_atomic): Likewise.
3220         (__gcov_ior_profiler_atomic): Likewise.
3221         * libgcov.h: Declare the aforementioned functions.
3223 2016-08-09  Martin Liska  <mliska@suse.cz>
3225         * libgcov-util.c: Fix typo and GNU coding style.
3227 2016-08-09  Martin Liska  <mliska@suse.cz>
3229         * Makefile.in: Remove __gcov_indirect_call_profiler.
3230         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3231         function.
3232         * libgcov.h: And the declaration of the function.
3234 2016-08-09  Martin Liska  <mliska@suse.cz>
3236         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3237         power of two.
3239 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3241         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3242         * config/rs6000/_mulkc3.c: Likewise.
3244 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
3246         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3247         zero_reg as previous call to __umulhisi3 already cleared it.
3249 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
3251         PR target/59833
3252         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3254 2016-07-19  Nick Clifton  <nickc@redhat.com>
3256         * config.host (m32r): Add m32r/t-m32r to tmake_file.
3257         Add crtinit.o and crtfini.o to extra_parts.
3259 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3261         * config/rs6000/_divkc3.c: New.
3262         * config/rs6000/_mulkc3.c: New.
3263         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3264         and _divkc3.
3265         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3266         fp128_ppc_funcs.
3268 2016-07-11  Hale Wang  <hale.wang@arm.com>
3269             Andre Vieira  <andre.simoesdiasvieira@arm.com>
3271         * config/arm/lib1funcs.S: Add new wrapper.
3273 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3275         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3277 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3279         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3280         and ARMv5t* rather than for a fixed list of architectures.
3282 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3284         * config/arm/bpabi-v6m.S: Clarify what architectures is the
3285         implementation suitable for.
3286         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3287         for all Thumb-1 only targets.
3288         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3289         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3290         __ARM_ARCH_6M__.
3291         (EQUIV): Likewise.
3292         (ARM_FUNC_ALIAS): Likewise.
3293         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3294         version.
3295         (modsi3): Likewise.
3296         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3297         (clzdi2): Likewise.
3298         (ctzsi2): Likewise.
3299         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3300         __ARM_ARCH_6M__ in guard for checking whether it is defined.
3301         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3302         __ARM_ARCH_6M__ and add comment to indicate the connection between
3303         this condition and the one in gcc/config/arm/elf.h.
3304         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3305         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3306         * config/arm/t-softfp: Likewise.
3308 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3310         * libgcc2.c (SYMBOL__MAIN): Remove checks for
3311         CTOR_LISTS_DEFINED_EXTERNALLY.
3313 2016-06-28  Walter Lee  <walt@tilera.com>
3315         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3316         asm/unistd.h.
3317         (SPR_CMPEXCH_VALUE): Define for tilegx.
3318         (__NR_FAST_cmpxchg): Define for tilepro.
3319         (__NR_FAST_atomic_update): Define for tilepro.
3320         (__NR_FAST_cmpxchg64): Define for tilepro.
3322 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
3324         * config.host: Add suport for arm*-*-phoenix* targets.
3326 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3328         * config.host: Remove support for mep-*.
3329         * config/mep/lib1funcs.S: Remove.
3330         * config/mep/lib2funcs.c: Remove.
3331         * config/mep/t-mep: Remove.
3332         * config/mep/tramp.c: Remove.
3334 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3336         * config.host: Remove support for avr-rtems.
3337         * config/avr/t-rtems: Remove.
3339 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3341         * config.host: Remove m32r-rtems support.
3343 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3345         * config.host: Remove h8300-rtems support.
3347 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3349         * config.host: Remove support for knetbsd.
3351 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3353         * config.host: Remove support for openbsd 2 and 3.
3355 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3357         * config.host: Remove interix support.
3358         * config/i386/t-interix: Remove.
3360 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
3362         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3363         least-significant bit in function pointer for fixup.
3365 2016-06-05  Aaron Conole  <aconole@redhat.com>
3366             Nathan Sidwell  <nathan@acm.org>
3368         PR libgcc/71400
3369         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3370         (get_gcov_error_file): Check __gcov_error_file before trying to
3371         initialize it.
3372         (gcov_error): Always use get_gcov_error_file.
3374 2016-06-02  Aaron Conole  <aconole@redhat.com>
3376         * libgcov-driver-system.c (__gcov_error_file): New.
3377         (get_gcov_error_file): New.
3378         (gcov_error): Use and set __gcov_error_file.
3379         (gcov_error_exit): New.
3380         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3382 2016-05-26  Nathan Sidwell  <nathan@acm.org>
3384         * config/nvptx/free.asm: Delete.
3385         * config/nvptx/malloc.asm: Delete.
3386         * config/nvptx/realloc.c: Delete.
3387         * t-nvptx: Update.
3389 2016-05-25  Nathan Sidwell  <nathan@acm.org>
3391         * config/nvptx/crt0.s: Delete.
3392         * config/nvptx/crt0.c: New.
3393         * t-nvptx: Update.
3395 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
3397         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3398         dw2/seh configuration.
3399         [x86_64-*-mingw*]: Likewise.
3401 2016-05-10  Joel Sherrill <joel@rtems.org>
3403         PR libgcc/70720
3404         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3405         targets so the same extra_parts are built.  Also have tmake_file add
3406         on to its value rather than override.
3408 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
3410         * config.host: Remove SH5 support.
3411         * configure: Likewise.
3413 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
3415         * config/sh/crt1.S: Remove SH5 support.
3416         * config/sh/crti.S: Likewise.
3417         * config/sh/crtn.S: Likewise.
3418         * config/sh/lib1funcs-4-300.S: Likewise.
3419         * config/sh/lib1funcs-Os-4-200.S: Likewise.
3420         * config/sh/lib1funcs.S: Likewise.
3421         * config/sh/linux-unwind.h: Likewise.
3422         * config/sh/t-sh64: Delete.
3424 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
3426         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3428 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
3429             Joern Rennecke  <joern.rennecke@embecosm.com>
3431         * config/arc/crttls.S: New file.
3432         * config/arc/t-arc: New rule.
3433         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3435 2016-04-25  Nick Clifton  <nickc@redhat.com>
3437         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3438         (__mspabi_cmpd): Likewise.
3439         * config/msp430/floathidf.c (__floathidf): Likewise.
3440         * config/msp430/floathisf.c (__floathisf): Likewise
3441         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3442         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3443         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3444         second parameter.
3445         (__ashrsi3): Likewise.
3447 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
3449         * config/m68k/linux-atomic.c: Do not include unistd.h
3451 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
3453         * config/arm/ieee754-df.S: Fix typos in comments.
3455 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
3457         PR target/70381
3458         * configure.ac (powerpc*-*-linux*): Rework tests to build
3459         __float128 emulation routines to not depend on using #pragma GCC
3460         target to enable -mfloat128.
3461         * configure: Regnerate.
3463 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
3465         PR target/67172
3466         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3467         __MINGW32__ is defined.
3469 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
3471         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3473 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
3475         PR libgcc/70363
3476         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3477         built with an assembler that does not support ISA 3.0
3478         instructions, rename __extendkftf2_sw to __extendkftf2.
3480 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3482         PR target/38239
3483         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3484         call-clobbered registers.
3485         (internal_mcount): Remove __i386__ handling.
3487 2016-02-26  Joel Sherrill <joel@rtems.org>
3489         * config.host: Add x86_64-*-rtems*.
3491 2016-02-26  Joel Sherrill <joel@rtems.org>
3493         * libgcc/config.host: Add aarch64-*-rtems*.
3495 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3496             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3498         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3499         union of u64 and double.
3500         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3501         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3502         value.
3503         (FP_ROUNDMODE): Update the usage of _fpscr.
3505 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
3507         PR driver/68463
3508         * Makefile.in (crtoffloadtable$(objext)): New rule.
3509         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3510         enable_offload_targets is not empty.
3511         * configure: Regenerate.
3512         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3513         crtoffloadtable.
3515 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
3517         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3518         .literal_position before the function.
3519         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3520         Likewise.
3522 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
3524         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3525         * config/s390/morestack.S: New file.
3526         * config/s390/t-stack-s390: New file.
3527         * generic-morestack.c (__splitstack_find): Add s390-specific code.
3529 2016-02-12  Walter Lee  <walt@tilera.com>
3531         * config.host (tilegx*-*-linux*): remove ti from
3532         softfp_int_modes for 32-bit configs.
3534 2016-02-10  Ian Lance Taylor  <iant@google.com>
3536         PR go/68562
3537         * config/i386/morestack.S (__stack_split_initialize): Align
3538         stack.
3540 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
3542         PR bootstrap/69611
3543         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3544         __FLOAT128__ to compile only for __float128 capable targets.
3546 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
3548         PR target/69444
3549         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3550         instead of ___NO_FPRS__.
3552 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
3553             Steven Munroe  <munroesj@linux.vnet.ibm.com>
3554             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
3556         * config/rs6000/float128-sed: New files to convert TF names to KF
3557         names for PowerPC IEEE 128-bit floating point support.
3558         * config/rs6000/float128-sed-hw: Likewise.
3560         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3561         floating point hardware support.
3563         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3564         128-bit floating point software emulation or use ISA 3.0 hardware
3565         support if it is available.
3567         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3568         floating point.
3570         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3571         floating point to IBM extended double.
3573         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3574         double to IEEE 128-bit floating point.
3576         * config/rs6000/t-float128: New Makefile fragments to enable
3577         building __float128 emulation support.
3578         * config/rs6000/t-float128-hw: Likewise.
3580         * config/rs6000/sfp-exceptions.c: New file to provide exception
3581         support for IEEE 128-bit floating point.
3583         * config/rs6000/floattikf.c: New files for converting between IEEE
3584         128-bit floating point and signed/unsigned 128-bit integers.
3585         * config/rs6000/fixunskfti.c: Likewise.
3586         * config/rs6000/fixkfti.c: Likewise.
3587         * config/rs6000/floatuntikf.c: Likewise.
3589         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3590         when building on 64-bit systems, or when VSX is enabled.
3591         (_FP_W_TYPE): Likewise.
3592         (_FP_WS_TYPE): Likewise.
3593         (_FP_I_TYPE): Likewise.
3594         (TItype): Define on 64-bit systems.
3595         (UTItype): Likewise.
3596         (TI_BITS): Likewise.
3597         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3598         (_FP_MUL_MEAT_Q): Likewise.
3599         (_FP_DIV_MEAT_D): Likewise.
3600         (_FP_DIV_MEAT_Q): Likewise.
3601         (_FP_NANFRAC_D): Likewise.
3602         (_FP_NANFRAC_Q): Likewise.
3603         (ISA_BIT): Add exception support if we are being compiled on a
3604         machine with hardware floating point support to build the IEEE
3605         128-bit emulation functions.
3606         (FP_EX_INVALID): Likewise.
3607         (FP_EX_OVERFLOW): Likewise.
3608         (FP_EX_UNDERFLOW): Likewise.
3609         (FP_EX_DIVZERO): Likewise.
3610         (FP_EX_INEXACT): Likewise.
3611         (FP_EX_ALL): Likewise.
3612         (__sfp_handle_exceptions): Likewise.
3613         (FP_HANDLE_EXCEPTIONS): Likewise.
3614         (FP_RND_NEAREST): Likewise.
3615         (FP_RND_ZERO): Likewise.
3616         (FP_RND_PINF): Likewise.
3617         (FP_RND_MINF): Likewise.
3618         (FP_RND_MASK): Likewise.
3619         (_FP_DECL_EX): Likewise.
3620         (FP_INIT_ROUNDMODE): Likewise.
3621         (FP_ROUNDMODE): Likewise.
3623         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3624         VSX code, enable IEEE 128-bit floating point.  If the compiler can
3625         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3626         floating point hardware instructions and it supports declaring
3627         functions with the ifunc attribute, enable ifunc functions to
3628         switch between software and hardware support.
3629         * configure.ac (powerpc*-*-linux*): Likewise.
3630         * configure: Regenerate.
3632 2016-01-15  Nick Clifton  <nickc@redhat.com>
3634         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3635         dependency as the source file to be compiled.
3636         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3637         (lib2hw_mul_f5.o): Likewise.
3639 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
3641         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3642         * libgcc/config/rs6000/fixkfti.c: Likewise.
3643         * libgcc/config/rs6000/fixunskfti.c: Likewise.
3644         * libgcc/config/rs6000/float128-hw.c: Likewise.
3645         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3646         * libgcc/config/rs6000/float128-sed: Likewise.
3647         * libgcc/config/rs6000/floattikf.c: Likewise.
3648         * libgcc/config/rs6000/floatuntikf.c: Likewise.
3649         * libgcc/config/rs6000/quad-float128.h: Likewise.
3650         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3651         * libgcc/config/rs6000/sfp-machine.h: Likewise.
3652         * libgcc/config/rs6000/t-float128: Likewise.
3653         * libgcc/config/rs6000/t-float128-hw: Likewise.
3654         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3655         * libgcc/config.host: Likewise.
3656         * libgcc/configure: Likewise.
3657         * libgcc/configure.ac: Likewise.
3659 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
3660             Steven Munroe  <munroesj@linux.vnet.ibm.com>
3661             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
3663         * config/rs6000/sfp-exceptions.c: New file to provide exception
3664         support for IEEE 128-bit floating point.
3666         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3667         floating point hardware support.
3669         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3670         point conversions.
3671         * config/rs6000/fixunskfti.c: Likewise.
3672         * config/rs6000/fixkfti.c: Likewise.
3673         * config/rs6000/floatuntikf.c: Likewise.
3674         * config/rs6000/extendkftf2-sw.c: Likewise.
3675         * config/rs6000/trunctfkf2-sw.c: Likewise.
3677         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3678         128-bit floating point software emulation or use ISA 3.0 hardware
3679         support if it is available.
3681         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3682         floating point.
3684         * config/rs6000/t-float128: New Makefile fragments to enable
3685         building __float128 emulation support.
3686         * config/rs6000/t-float128-hw: Likewise.
3688         * config/rs6000/float128-sed: New file to convert TF names to KF
3689         names for PowerPC IEEE 128-bit floating point support.
3691         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3692         when building on 64-bit systems, or when VSX is enabled.
3693         (_FP_W_TYPE): Likewise.
3694         (_FP_WS_TYPE): Likewise.
3695         (_FP_I_TYPE): Likewise.
3696         (TItype): Define on 64-bit systems.
3697         (UTItype): Likewise.
3698         (TI_BITS): Likewise.
3699         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3700         (_FP_MUL_MEAT_Q): Likewise.
3701         (_FP_DIV_MEAT_D): Likewise.
3702         (_FP_DIV_MEAT_Q): Likewise.
3703         (_FP_NANFRAC_D): Likewise.
3704         (_FP_NANFRAC_Q): Likewise.
3705         (ISA_BIT): Add exception support if we are being compiled on a
3706         machine with hardware floating point support to build the IEEE
3707         128-bit emulation functions.
3708         (FP_EX_INVALID): Likewise.
3709         (FP_EX_OVERFLOW): Likewise.
3710         (FP_EX_UNDERFLOW): Likewise.
3711         (FP_EX_DIVZERO): Likewise.
3712         (FP_EX_INEXACT): Likewise.
3713         (FP_EX_ALL): Likewise.
3714         (__sfp_handle_exceptions): Likewise.
3715         (FP_HANDLE_EXCEPTIONS): Likewise.
3716         (FP_RND_NEAREST): Likewise.
3717         (FP_RND_ZERO): Likewise.
3718         (FP_RND_PINF): Likewise.
3719         (FP_RND_MINF): Likewise.
3720         (FP_RND_MASK): Likewise.
3721         (_FP_DECL_EX): Likewise.
3722         (FP_INIT_ROUNDMODE): Likewise.
3723         (FP_ROUNDMODE): Likewise.
3725         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3726         compiler can do __float128.
3727         * configure: Regenerate.
3729         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3730         VSX code, enable IEEE 128-bit floating point.
3732 2016-01-05  Olivier Hainque  <hainque@adacore.com>
3734         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3735         specificities.
3737 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
3739         Update copyright years.
3741 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
3743         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3744         soft-fp targets.
3746 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3748         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3749         instead of abort to avoid dependency on stdlib.h.
3751 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
3753         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3754         to initialize call to __dl_fixup once.
3756 2015-12-04  Nick Clifton  <nickc@redhat.com>
3758         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3759         Allow for the second argument being negative.
3760         * config.host (extra_parts): Define for MSP430.  Create separate
3761         libraries for each of the hardware multiply formats.
3762         * config/msp430/lib2hw_mul.S: Build only the multiply routines
3763         that are needed.
3764         * config/msp430/lib2mul.c: Likewise.
3765         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3766         Add rules to build hardware multiply libraries.
3767         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3768         __mspabi_divul function.
3769         (__mspabi_divllu): New stub function.
3771 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
3773         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3774         fixup values if saved GOT address doesn't match runtime address.
3775         (fixup_branch_offset): Reorder list.
3777 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3779         * Makefile.in (VTV_CFLAGS): New variable.
3780         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3781         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3782         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3783         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3784         to extra_parts if $enable_vtable_verify = yes.
3786 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3788         PR target/68059
3789         * config/arm/linux-atomic-64bit.c (__write): Rename to...
3790         (write): ...this and fix the return type.
3792 2015-11-19  DJ Delorie  <dj@redhat.com>
3794         * config/msp430/lib2hw_mul.S: Fix alignment.
3796 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
3798         * config/nvptx/reduction.c: New.
3799         * config/nvptx/t-nvptx (LIB2ADD): Add it.
3801 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
3803         * config/rs6000/on_exit.c: New file.
3804         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3805         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3807 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
3809         * config/arc/dp-hack.h: Add support for ARCHS.
3810         * config/arc/ieee-754/divdf3.S: Likewise.
3811         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3812         * config/arc/ieee-754/muldf3.S: Likewise.
3813         * config/arc/ieee-754/mulsf3.S: Likewise
3814         * config/arc/lib1funcs.S: Likewise
3815         * config/arc/gmon/dcache_linesz.S: Don't read the build register
3816         for ARCv2 cores.
3817         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3818         for ARCv2 cores.
3819         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3820         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3821         cores.
3823 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3825         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3826         value.
3827         * config/ia64/crtend.S: Likewise.
3829 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3831         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3832         __CHAR_BIT__ instead of BITS_PER_UNIT.
3833         * fixed-bit.h: Likewise.
3834         * fp-bit.h: Likewise.
3835         * libgcc2.c (__popcountSI2): Likewise.
3836         (__popcountDI2): Likewise.
3837         * libgcc2.h: Likewise.
3838         * libgcov.h: Likewise.
3840 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
3842         * config/rs6000/atexit.c: New file.
3843         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3844         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3845         * config/rs6000/cxa_finalize.c
3846         (catomic_compare_and_exchange_bool_acq): Negate return value.
3848 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3850         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3851         (processor_subtypes): Add znver1.
3852         (get_amd_cpu): Detect znver1.
3854 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
3856         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3857         Include crtfastmath.o.
3859 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
3861         PR libgcc/66883
3862         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3864 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
3866         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3867         * config/rl78/divmodsi.S: Update return register to r8.
3868         * config/rl78/divmodhi.S: Update return register to r8,r9.
3869         Branch to main_loop_done_himode to pop registers before return.
3871 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3873         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3874         (__cpu_indicator_init): Fix model selection for AMD CPUs.
3876 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
3878         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3880 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
3882         * config.host (xtensa*-*-uclinux*): New configuration.
3884 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
3886         * config/i386/cpuinfo.c (processor_features): Add
3887         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3889 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3891         * soft-fp/adddf3.c: Update from glibc.
3892         * soft-fp/addsf3.c: Likewise.
3893         * soft-fp/addtf3.c: Likewise.
3894         * soft-fp/divdf3.c: Likewise.
3895         * soft-fp/divsf3.c: Likewise.
3896         * soft-fp/divtf3.c: Likewise.
3897         * soft-fp/double.h: Likewise.
3898         * soft-fp/eqdf2.c: Likewise.
3899         * soft-fp/eqsf2.c: Likewise.
3900         * soft-fp/eqtf2.c: Likewise.
3901         * soft-fp/extenddftf2.c: Likewise.
3902         * soft-fp/extended.h: Likewise.
3903         * soft-fp/extendsfdf2.c: Likewise.
3904         * soft-fp/extendsftf2.c: Likewise.
3905         * soft-fp/extendxftf2.c: Likewise.
3906         * soft-fp/fixdfdi.c: Likewise.
3907         * soft-fp/fixdfsi.c: Likewise.
3908         * soft-fp/fixdfti.c: Likewise.
3909         * soft-fp/fixsfdi.c: Likewise.
3910         * soft-fp/fixsfsi.c: Likewise.
3911         * soft-fp/fixsfti.c: Likewise.
3912         * soft-fp/fixtfdi.c: Likewise.
3913         * soft-fp/fixtfsi.c: Likewise.
3914         * soft-fp/fixtfti.c: Likewise.
3915         * soft-fp/fixunsdfdi.c: Likewise.
3916         * soft-fp/fixunsdfsi.c: Likewise.
3917         * soft-fp/fixunsdfti.c: Likewise.
3918         * soft-fp/fixunssfdi.c: Likewise.
3919         * soft-fp/fixunssfsi.c: Likewise.
3920         * soft-fp/fixunssfti.c: Likewise.
3921         * soft-fp/fixunstfdi.c: Likewise.
3922         * soft-fp/fixunstfsi.c: Likewise.
3923         * soft-fp/fixunstfti.c: Likewise.
3924         * soft-fp/floatdidf.c: Likewise.
3925         * soft-fp/floatdisf.c: Likewise.
3926         * soft-fp/floatditf.c: Likewise.
3927         * soft-fp/floatsidf.c: Likewise.
3928         * soft-fp/floatsisf.c: Likewise.
3929         * soft-fp/floatsitf.c: Likewise.
3930         * soft-fp/floattidf.c: Likewise.
3931         * soft-fp/floattisf.c: Likewise.
3932         * soft-fp/floattitf.c: Likewise.
3933         * soft-fp/floatundidf.c: Likewise.
3934         * soft-fp/floatundisf.c: Likewise.
3935         * soft-fp/floatunditf.c: Likewise.
3936         * soft-fp/floatunsidf.c: Likewise.
3937         * soft-fp/floatunsisf.c: Likewise.
3938         * soft-fp/floatunsitf.c: Likewise.
3939         * soft-fp/floatuntidf.c: Likewise.
3940         * soft-fp/floatuntisf.c: Likewise.
3941         * soft-fp/floatuntitf.c: Likewise.
3942         * soft-fp/gedf2.c: Likewise.
3943         * soft-fp/gesf2.c: Likewise.
3944         * soft-fp/getf2.c: Likewise.
3945         * soft-fp/ledf2.c: Likewise.
3946         * soft-fp/lesf2.c: Likewise.
3947         * soft-fp/letf2.c: Likewise.
3948         * soft-fp/muldf3.c: Likewise.
3949         * soft-fp/mulsf3.c: Likewise.
3950         * soft-fp/multf3.c: Likewise.
3951         * soft-fp/negdf2.c: Likewise.
3952         * soft-fp/negsf2.c: Likewise.
3953         * soft-fp/negtf2.c: Likewise.
3954         * soft-fp/op-1.h: Likewise.
3955         * soft-fp/op-2.h: Likewise.
3956         * soft-fp/op-4.h: Likewise.
3957         * soft-fp/op-8.h: Likewise.
3958         * soft-fp/op-common.h: Likewise.
3959         * soft-fp/quad.h: Likewise.
3960         * soft-fp/single.h: Likewise.
3961         * soft-fp/soft-fp.h: Likewise.
3962         * soft-fp/subdf3.c: Likewise.
3963         * soft-fp/subsf3.c: Likewise.
3964         * soft-fp/subtf3.c: Likewise.
3965         * soft-fp/truncdfsf2.c: Likewise.
3966         * soft-fp/trunctfdf2.c: Likewise.
3967         * soft-fp/trunctfsf2.c: Likewise.
3968         * soft-fp/trunctfxf2.c: Likewise.
3969         * soft-fp/unorddf2.c: Likewise.
3970         * soft-fp/unordsf2.c: Likewise.
3971         * soft-fp/unordtf2.c: Likewise.
3973 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
3975         PR libgcc/67624
3976         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3978 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3980         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3981         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3982         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3983         messages.
3984         (internal_mcount): Likewise.
3985         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3986         crt_compile, add CRTSTUFF_T_CFLAGS_S.
3988 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3990         * configure.ac (libgcc_cv_solaris_crts): New test.
3991         * configure: Regenerate.
3992         * config.in: Regenerate.
3993         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3994         * config/gmon-sol2.c: Rename to ...
3995         * config/sol2/gmon.c: ... this.
3996         Include auto-target.h.
3997         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3998         * config/t-sol2: Rename to ...
3999         * config/sol2/t-sol2: ... this.
4000         (gmon.o): Reflect renaming.
4001         (crtp.o, crtpg.o): New rules.
4002         * config.host (*-*-solaris2*): Reflect renaming.
4003         Use system CRTs if present.
4004         Remove default CRT case.
4006 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
4008         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4009         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4010         __kernel_cmpxchg2.
4011         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4012         (__sync_val_compare_and_swap_##WIDTH): Likewise.
4013         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4014         (__sync_lock_test_and_set_##WIDTH): Likewise.
4015         (__sync_lock_release_##WIDTH): Likewise.
4016         (__sync_fetch_and_##OP##_4): Change result to match type of
4017         __kernel_cmpxchg.
4018         (__sync_##OP##_and_fetch_4): Likewise.
4019         (__sync_val_compare_and_swap_4): Likewise.
4020         (__sync_bool_compare_and_swap_4): likewise.
4021         (__sync_lock_test_and_set_4): Likewise.
4022         (__sync_lock_release_4): Likewise.
4023         (FETCH_AND_OP_2): Add long long variants.
4024         (OP_AND_FETCH_2): Likewise.
4025         (COMPARE_AND_SWAP_2 ): Likewise.
4026         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4027         (SYNC_LOCK_RELEASE_2): Likewise.
4028         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4030 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
4032         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4033         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4034         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4035         (get_available_features): Habdle new features.
4037 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
4039         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4040         memory layout. Deal correctly with BSS region larger than 32K.
4041         Handle a watchdog reset like a power-on reset. Clean up unused
4042         code.
4044 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
4045             David Edelsohn  <dje.gcc@gmail.com>
4047         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4048         * config/rs6000/crtdbase.S: New file.
4049         * config/rs6000/t-aix-cxa: Build crtdbase.o.
4051 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
4053         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4054         Add support for call0 ABI.
4056 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
4058         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4060 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4062         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4063         (__GTHREAD_HAS_COND): Likewise.
4064         (__gthread_t): Likewise.
4065         (__gthread_cond_t): Likewise.
4066         (__gthread_time_t): Likewise.
4067         (__GTHREAD_MUTEX_INIT): Likewise.
4068         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4069         (__GTHREAD_COND_INIT): Likewise.
4070         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4071         (__GTHREAD_TIME_INIT): Likewise.
4072         (__gthread_create): Likewise.
4073         (__gthread_join): Likewise.
4074         (__gthread_detach): Likewise.
4075         (__gthread_equal): Likewise.
4076         (__gthread_self): Likewise.
4077         (__gthread_yield): Likewise.
4078         (__gthread_cond_broadcast): Likewise.
4079         (__gthread_cond_signal): Likewise.
4080         (__gthread_cond_wait): Likewise.
4081         (__gthread_cond_timedwait): Likewise.
4082         (__gthread_cond_wait_recursive): Likewise.
4083         (__gthread_cond_destroy): Likewise.
4084         (rtems_gxx_once): Delete.
4085         (rtems_gxx_key_create): Likewise.
4086         (rtems_gxx_key_delete): Likewise.
4087         (rtems_gxx_getspecific): Likewise.
4088         (rtems_gxx_setspecific): Likewise.
4089         (rtems_gxx_mutex_init): Likewise.
4090         (rtems_gxx_mutex_destroy): Likewise.
4091         (rtems_gxx_mutex_lock): Likewise.
4092         (rtems_gxx_mutex_trylock): Likewise.
4093         (rtems_gxx_mutex_unlock): Likewise.
4094         (rtems_gxx_recursive_mutex_init): Likewise.
4095         (rtems_gxx_recursive_mutex_lock): Likewise.
4096         (rtems_gxx_recursive_mutex_trylock): Likewise.
4097         (rtems_gxx_recursive_mutex_unlock): Likewise.
4098         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4099         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4100         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4101         (__gthread_once): Likewise.
4102         (__gthread_key_create): Likewise.
4103         (__gthread_key_delete): Likewise.
4104         (__gthread_getspecific): Likewise.
4105         (__gthread_setspecific): Likewise.
4106         (__gthread_key_t): Use <pthread.h> type.
4107         (__gthread_once_t): Likewise
4108         (__gthread_mutex_t): Use <sys/lock.h> type.
4109         (__gthread_recursive_mutex_t): Likewise
4110         (__gthread_mutex_lock): Use <sys/lock.h> function.
4111         (__gthread_mutex_trylock): Likewise.
4112         (__gthread_mutex_timedlock): Likewise.
4113         (__gthread_mutex_unlock): Likewise.
4114         (__gthread_mutex_destroy): Likewise.
4115         (__gthread_recursive_mutex_lock): Likewise.
4116         (__gthread_recursive_mutex_trylock): Likewise.
4117         (__gthread_recursive_mutex_timedlock): Likewise.
4118         (__gthread_recursive_mutex_unlock): Likewise.
4119         (__gthread_recursive_mutex_destroy): Likewise.
4121 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4123         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4124         context->sp instead of context->cfa.
4126 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4128         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4129         with unwind-dw2-fde-dip.
4131 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4133         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4134         CALL12 followed by series of ENTRY to spill windowed registers.
4135         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4136         instead of making linux spill syscall.
4138 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
4140         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4141         (get_intel_cpu): Likewise.
4143 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4145         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4146         (get_intel_cpu): Add Knights Landing support.
4148 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
4150         PR target/66954
4151         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4152         (get_available_features): Handle FEATURE_PCLMUL.
4154 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
4156         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4157         Broadwell.
4159 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
4161         PR target/66954
4162         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4163         (get_available_features): Handle FEATURE_AES.
4165 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
4167         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4168         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4170 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
4172         * offloadstuff.c: Constify host data.
4174 2015-07-17  Jan Beulich  <jbeulich@suse.com>
4176         * config/t-softfp: Split up "else ifneq".
4178 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
4179             Cesar Philippidis  <cesar@codesourcery.com>
4180             Chung-Lin Tang  <cltang@codesourcery.com>
4182         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4183         for __nios2_arch__ level.
4185 2015-07-13  John Marino  <gnugcc@marino.st>
4187         * config/i386/t-dragonfly: New.
4189 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
4191         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4192         better match light-weight syscall argument order.
4193         (__kernel_cmpxchg2): Likewise.
4194         Adjust callers.
4196 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4198         * config.host: Support i[34567]86-*-elfiamcu target.
4199         * config/t-softfp-sfdftf: New file.
4200         * config/i386/32/t-iamcu: Likewise.
4201         * configure: Regenerated.
4203 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
4205         libgcc/config/arm/
4206         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4208 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4210         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4212 2015-05-27  John Marino  <gnugcc@marino.st>
4214         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4215         md_unwind_header
4216         * config/i386/freebsd-unwind.h: New.
4218 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
4220         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4221         i386/t-crtfm to tmake_file.
4222         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4223         (set_fast_math): Use set_fast_math_sse for SSE targets.
4224         * config/i386/t-crtfm: Remove.
4226 2015-05-21  Alan Modra  <amodra@gmail.com>
4228         PR libgcc/66225
4229         * config/rs6000/morestack.S: Remove ".abiversion 1".
4231 2015-05-20  Alan Modra  <amodra@gmail.com>
4233         * config/rs6000/morestack.S: New.
4234         * config/rs6000/t-stack-rs6000: New.
4235         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4236         to tmake_file.
4237         * generic-morestack.c: Don't build for powerpc 32-bit.
4239 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
4241         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4242         Remove useless endif/ifneq ($(enable_shared),yes) pair.
4244 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
4246         * config.host: FT32 target added.
4247         * config/ft32/*: New files for FT32 target.
4249 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
4251         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4252         New macros.
4253         * config/arm/ieee754-df.S: Add CFI directives.
4254         * config/arm/ieee754-sf.S: Add CFI directives.
4256 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
4258         * configure.ac: Include config/sjlj.m4.
4259         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4260         * config.in: Regenerate.
4261         * configure: Likewise.
4262         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4264 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
4266         * libgcov-util.c: Add space between string literal and macro name.
4268 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
4269             Chris Jones  <chrisj@nvidia.com>
4270             Joshua Conner  <jconner@nvidia.com>
4272         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4273         (arm*-*-uclinux*): Likewise.
4274         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4275         * config/arm/crtfastmath.c: New file.
4277 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
4279         * Makefile.in (real_host_noncanonical): New variable.
4280         (libsubdir): Use it.
4281         * configure.ac (real_host_noncanonical): Compute.  Remove special
4282         case for intelmicemul.
4283         * configure: Regenerate.
4285 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
4287         * config/frv/elf-lib.h: New file.
4288         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4289         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4290         to tm_file.
4292 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
4294         * config/frv/frvbengin.c: Do not include defaults.h
4295         * config/frv/frvend.c: Ditto.
4297 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
4299         * config.host: Add h8300-*-linux
4300         * config/h8300/t-linux: New file.
4301         * config/h8300/lib1funs.s: Change symbol prefix.
4302         * config/h8300/sfp-machine.h: 64bit double support.
4304 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
4305             Szabolcs Nagy  <szabolcs.nagy@arm.com>
4307         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4308         Linux if target provides dl_iterate_phdr.
4310 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
4312         PR target/65612
4313         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4314         * config/i386/cpuinfo.c (__cpu_model): Initialize.
4315         (__cpu_indicator_init@GCC_4.8.0): New.
4316         (__cpu_model@GCC_4.8.0): Likewise.
4317         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4318         -DUSE_ELF_SYMVER.
4320 2015-04-16  Nick Clifton  <nickc@redhat.com>
4322         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4323         and __modhi3 functions.
4324         * config/rl78/divmodso.S: Add G14 and G13 versions of the
4325         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4327 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
4329         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4330         do-while loop as macro body to avoid warnings.
4332 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
4333             Iain Sandoe  <iain@codesourcery.com>
4335         PR target/65351
4336         * configure: Regenerate.
4338 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
4339             Iain Sandoe  <iain@codesourcery.com>
4341         PR target/65351
4342         * configure: Regenerate.
4344 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
4346         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4348 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
4350         Implement call0 ABI for xtensa
4351         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4352         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4353         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4354         use ret in call0 ABI.
4355         * config/xtensa/t-windowed: New file.
4356         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4357         * libgcc/configure: Regenerated.
4358         * libgcc/configure.ac: Check if xtensa target is configured for
4359         windowed ABI and thus needs to use custom unwind code.
4361 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
4363         PR libgcc/64885
4364         * gthr-single.h: Use __unused__ attribute instead of unused.
4365         * config/gthr-vxworks.h: Likewise.
4366         * config/i386/gthr-win32.h: Likewise.
4368 2015-02-27  Kai Tietz  <ktietz@redhat.com>
4370         PR target/65038
4371         * config.in: Regenerated.
4372         * configure: Likewise.
4373         * configure.ac (AC_HEADER_STDC): Added explicit.
4374         (AC_CHECK_HEADERS): Check for default headers  plus
4375         for ftw.h header.
4376         * libgcov-util.c (gcov_read_profile_dir): Disable use
4377         of ftw-function, if header is not found.
4378         (ftw_read_file): Likewise.
4380 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
4382         PR target/65181
4383         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4384         -Dinhibit_libc.
4386 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
4388         * config/arm/bpabi.S (test_div_by_zero): Make label names
4389         consistent between thumb2 and arm mode cases.  Separate the
4390         signed comparison on the high word of the numerator from the
4391         unsigned comparison on the low word.
4392         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4393         signed comparison.
4395 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4397         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4398         and <string.h>.
4399         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4401 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
4403         PR gcov-profile/61889
4404         * libgcov-driver-system.c: undefine clashing macro for mkdir.
4406 2015-02-02  Nick Clifton  <nickc@redhat.com>
4408         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4409         rounding up the fraction.
4411 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
4413         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4414         oldval and newval to const void *.  Fix typo.
4415         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4416         (FETCH_AND_OP_WORD): Likewise.
4417         (OP_AND_FETCH_WORD): Likewise.
4418         (COMPARE_AND_SWAP_2): Likewise.
4419         (__sync_val_compare_and_swap_4): Likewise.
4420         (__sync_lock_test_and_set_4): Likewise.
4421         (SYNC_LOCK_RELEASE_2): Likewise.
4422         Remove support for long long atomic operations.
4424 2015-01-27  Caroline Tice  <cmtice@google.com>
4426         Committing VTV Cywin/Ming patch for Patrick Wollgast
4427         * Makefile.in: Move rules to build vtv_*.o out of the check
4428         for CUSTOM_CRTSTUFF.
4429         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4430         i[34567]86-*-mingw*)
4431          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4432         enable_vtable_verify.
4434 2015-01-27  Nick Clifton  <nickc@redhat.com>
4436         * config/rl78/cmpsi2.S: Use function start and end macros.
4437         (__gcc_bcmp): New function.
4438         * config/rl78/lshrsi3.S: Use function start and end macros.
4439         * config/rl78/mulsi3.S: Add support for G10.
4440         (__mulqi3): New function for G10.
4441         * config/rl78/signbit.S: Use function start and end macros.
4442         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4443         fpmath-sf.S.
4444         (LIB2FUNCS_EXCLUDE): Define.
4445         (LIB2FUNCS_ST): Define.
4446         * config/rl78/trampoline.S: Use function start and end macros.
4447         * config/rl78/vregs.h (START_FUNC): New macro.
4448         (START_ANOTHER_FUNC): New macro.
4449         (END_FUNC): New macro.
4450         (END_ANOTHER_FUNC): New macro.
4451         * config/rl78/bit-count.S: New file.  Contains assembler
4452         implementations of the bit counting functions: ___clzhi2,
4453         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4454         __paritysi2, __popcounthi2 and __popcountsi2.
4455         * config/rl78/fpbit-sf.S: New file.  Contains assembler
4456         implementationas of the math functions: __negsf2, __cmpsf2,
4457         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4458         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
4459         * config/rl78/fpmath-sf.S: New file.  Contains assembler
4460         implementations of the math functions: __subsf3, __addsf3,
4461         __mulsf3 and __divsf3
4463 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4465         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4466         Add i386/elf-lib.h to tm_file.
4467         * config/i386/elf-lib.h: Fix comment.
4468         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4469         && __sun__ && __svr4__]: Remove workaround.
4471 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4473         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4474         FEATURE_BMI2.
4475         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4477 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
4479         * config/i386/cpuinfo.c (processor_subtypes): Add
4480         INTEL_COREI7_BROADWELL.
4481         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4482         model numbers.
4484 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
4486         * config/i386/elf-lib.h: New file.
4487         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4488         Wrap definition in #ifdef __i386__.
4489         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4490         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4491         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4492         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4493         to tm_file.
4495 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
4497         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4498         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4500 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
4502         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4503         Update rt_sigframe format and address for current Nios II
4504         Linux conventions.
4506 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
4508         * config.host (arm*-*-freebsd*): Add new configuration for
4509         arm*-*-freebsd*.
4510         * config/arm/freebsd-atomic.c: New file.
4511         * config/arm/t-freebsd: Likewise.
4512         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4513         'PC-relative indirect' OS's.
4515 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
4517         * config.host: Add Visium support.
4518         * config/visium: New directory.
4520 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
4522         Update copyright years.
4524 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
4526         * config.host: Support mipsisa32r6 and mipsisa64r6.
4527         * config/mips/mips16.S: Do not build for R6.
4529 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
4531         * config/sh/crt.h: New.
4532         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4533         symbols.
4534         * config/sh/crt1.S: Likewise.
4536 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
4538         PR libgcc/63832
4539         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4540         func_ptr *dtor_list temporary variable to avoid "array subscript
4541         is above array bounds" warnings.
4543 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
4545         * Makefile.in (with_aix_soname): Define.
4546         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4547         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4548         * configure: Recreate.
4550 2014-12-05  Olivier Hainque  <hainque@adacore.com>
4552         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4553         now provided by defaults.h.
4555 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
4557         PR target/55351
4558         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4559         whether it's defined.
4561 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
4563         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4564         * config/i386/cpuinfo.c (get_available_features): Detect it.
4566 2014-11-27  Tony Wang  <tony.wang@arm.com>
4568         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4569         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4570         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4572 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
4574         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4576 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
4578         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4579         instead.
4581 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4582             John David Anglin  <danglin@gcc.gnu.org>
4584         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4585         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
4586         (OP_AND_FETCH_2): Likewise.
4587         (COMPARE_AND_SWAP_2): Likewise.
4588         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4589         (SYNC_LOCK_RELEASE_2): Likewise.
4590         (SUBWORD_SYNC_OP): Remove.
4591         (SUBWORD_VAL_CAS): Likewise.
4592         (SUBWORD_BOOL_CAS): Likewise.
4593         (FETCH_AND_OP_WORD): Update.
4594         Consistently use signed types.
4596 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
4597             Thomas Schwinge  <thomas@codesourcery.com>
4598             Ilya Verbin  <ilya.verbin@intel.com>
4599             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4601         * Makefile.in (crtoffloadbegin$(objext)): New rule.
4602         (crtoffloadend$(objext)): Likewise.
4603         * configure: Regenerate.
4604         * configure.ac (accel_dir_suffix): Compute new variable.
4605         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4606         if enable_offload_targets is not empty.
4607         * offloadstuff.c: New file.
4609 2014-11-13  Nick Clifton  <nickc@redhat.com>
4611         * config/rl78/divmodhi.S: Add support for the G10 architecture.
4612         Use START_FUNC and END_FUNC macros to enable linker garbage
4613         collection.
4614         * config/rl78/divmodqi.S: Likewise.
4615         * config/rl78/divmodsi.S: Likewise.
4616         * config/rl78/mulsi3.S: Likewise.
4617         * config/rl78/lib2div.c: Remove G10 functions.
4618         * config/rl78/lib2muls.c: Likewise.
4619         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4620         * config/rl78/vregs.h (START_FUNC): New macro.
4621         (END_FUNC): New macro.
4623 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
4625         * config/mips/mips16.S: Set .module when supported.  Update O32
4626         FP64 calling convention and use for FPXX when possible.  Add FPXX
4627         calling convention fallback case.
4629 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
4631         * config.host: Handle nvptx-*-*.
4632         * shared-object.mk (as-flags-$o): Define.
4633         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4634         -xassembler-with-cpp.
4635         * static-object.mk: Identical changes.
4636         * config/nvptx/t-nvptx: New file.
4637         * config/nvptx/crt0.s: New file.
4638         * config/nvptx/free.asm: New file.
4639         * config/nvptx/malloc.asm: New file.
4640         * config/nvptx/realloc.c: New file.
4642 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4644         * Makefile.in (libgcc.map.in): New target.
4645         (libgcc.map): Use libgcc.map.in.
4646         * config/t-softfp (softfp_compat): New variable to be set by
4647         users.
4648         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4649         variables.
4650         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4651         directory.
4652         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4653         that use compat symbols and disable all code unless [SHARED].
4654         * config/t-softfp-compat: New file.
4655         * find-symver.awk: New file.
4656         * configure.ac (--with-glibc-version): New configure option.
4657         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4658         * configure: Regenerate.
4659         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4660         soft-float and e500.
4662 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
4664         * config/t-hardfp (hardfp_exclusions): Document new variable for
4665         user to define.
4666         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4667         * config/t-softfp (softfp_extras): Document new variable for user
4668         to define.
4669         (softfp_func_list): Add functions from $(softfp_extras).
4670         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4671         * config.host (powerpc*-*-linux*): For e500v1, use
4672         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4673         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4674         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4676 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
4678         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4679         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4680         memory read accesses are ok.
4682 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
4684         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4685         * configure: Regenerate.
4686         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4687         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
4688         of soft-fp for 32-bit classic hard float.  Do not use
4689         t-softfp-excl for soft float.
4691 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
4693         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4694         configurations.
4695         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4696         Remove variables.
4698 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
4700         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4701         introduced with 2014-10-21 trunk r216525.
4703 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
4704             Vidya Praveen  <vidya.praveen@atmel.com>
4705             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
4706             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
4707             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
4709         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4710         order.
4712         Updated library functions for AVRTINY arch.
4713         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4714         Replaced occurrences of r0/r1 with tmp/zero reg macros.
4715         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4716         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4717         wsubi/wadi macors.
4718         (__mulsi3_helper): Update stack, preserve callee saved regs and
4719         argument from stack. Restore callee save registers.
4720         (__mulpsi3): Likewise.
4721         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4722         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4723         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4724         AVRTINY.
4725         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4726         (__do_copy_data): Added new definition for AVRTINY.
4727         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4728         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4729         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4730         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4731         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4732         macors.
4733         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4734         AVRTINY.
4736         Fix broken long multiplication on tiny arch.
4738 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4740         * soft-fp/double.h: Update from glibc.
4741         * soft-fp/eqdf2.c: Likewise.
4742         * soft-fp/eqsf2.c: Likewise.
4743         * soft-fp/eqtf2.c: Likewise.
4744         * soft-fp/extenddftf2.c: Likewise.
4745         * soft-fp/extended.h: Likewise.
4746         * soft-fp/extendsfdf2.c: Likewise.
4747         * soft-fp/extendsftf2.c: Likewise.
4748         * soft-fp/extendxftf2.c: Likewise.
4749         * soft-fp/gedf2.c: Likewise.
4750         * soft-fp/gesf2.c: Likewise.
4751         * soft-fp/getf2.c: Likewise.
4752         * soft-fp/ledf2.c: Likewise.
4753         * soft-fp/lesf2.c: Likewise.
4754         * soft-fp/letf2.c: Likewise.
4755         * soft-fp/op-1.h: Likewise.
4756         * soft-fp/op-2.h: Likewise.
4757         * soft-fp/op-4.h: Likewise.
4758         * soft-fp/op-8.h: Likewise.
4759         * soft-fp/op-common.h: Likewise.
4760         * soft-fp/quad.h: Likewise.
4761         * soft-fp/single.h: Likewise.
4762         * soft-fp/soft-fp.h: Likewise.
4763         * soft-fp/unorddf2.c: Likewise.
4764         * soft-fp/unordsf2.c: Likewise.
4765         * soft-fp/unordtf2.c: Likewise.
4766         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4767         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4768         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4769         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4770         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4771         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4772         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4773         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4774         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4775         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4777 2014-10-08  Rong Xu  <xur@google.com>
4779         * libgcov-util.c (read_gcda_file): Fix format.
4780         (find_match_gcov_info): Ditto.
4781         (calculate_2_entries): New.
4782         (compute_one_gcov): Ditto.
4783         (gcov_info_count_all_cold): Ditto.
4784         (gcov_info_count_all_zero): Ditto.
4785         (extract_file_basename): Ditto.
4786         (get_file_basename): Ditto.
4787         (set_flag): Ditto.
4788         (matched_gcov_info): Ditto.
4789         (calculate_overlap): Ditto.
4790         (gcov_profile_overlap): Ditto.
4791         * libgcov-driver.c (compute_summary): Make
4792         it avavilable for external calls.
4794 2014-10-06  Rong Xu  <xur@google.com>
4796         * Makefile.in: Ditto.
4797         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4798         (gcov_sort_icall_topn_counter): Ditto.
4799         (gcov_sort_topn_counter_arrays): Ditto.
4800         (dump_one_gcov): Sort indirect_call topn counters.
4801         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4802         function.
4803         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4804         utility function.
4805         (__gcov_indirect_call_topn_profiler): New profiler function.
4806         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4807         * libgcov.h: New decls.
4809 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
4811         * config.host: Remove support for score-*.
4813 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4815         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4816         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4817         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4818         __LIBGCC_XF_MANT_DIG__.
4819         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4820         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4821         __LIBGCC_TF_MANT_DIG__.
4822         * libgcc2.c (NOTRUNC): Define in terms of
4823         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4824         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4826 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4828         PR target/63312
4829         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4830         New macros.
4832 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
4834         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4835         override USE_PT_GNU_EH_FRAME.
4836         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4837         check USE_EH_FRAME_REGISTRY_ALWAYS against
4838         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4839         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4840         variable for substituted force_explicit_eh_registry.
4841         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4842         * configure.ac (explicit-exception-frame-registration):
4843         New AC_ARG_ENABLE.
4844         * configure: Regenerate.
4846 2014-09-19  Olivier Hainque  <hainque@adacore.com>
4848         * config.host (powerpc-wrs-vxworksmils): New configuration,
4849         same as vxworksae.
4851 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4853         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4855 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4857         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4858         bits not set bits as indicating trapping exceptions.
4860 2014-09-17  Nathan sidwell  <nathan@acm.org>
4862         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4863         (LIBGCOV_DRIVER): ... here.
4864         * libgcov-driver.c (gcov_master): New.
4865         (gcov_exit): Remove from master chain.
4866         (__gcov_init): Add to master chain if version compatible.  Don't
4867         clear the version.
4868         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4869         (gcov_reset_int): Clear master chain, if compatible.
4870         (gcov_dump_int): New internal interface.  Dump master chain, if
4871         compatible.
4872         (gcov_dump): Alias for gcov_dump_int.
4873         * libgcov.h (struct gcov_root): Add next and prev fields.
4874         (struct gcov_master): New struct.
4875         (__gcov_master): New.
4876         (gcov_dump_int): Declare.
4878 2014-09-17  Olivier Hainque  <hainque@adacore.com>
4880         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4881         and crtbegin.o + crtend.o to extra_parts.
4883 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4885         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4886         __LIBGCC_HAS_SF_MODE__.
4887         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4888         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4889         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4890         * config/libbid/bid_gcc_intrinsics.h
4891         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4892         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4893         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4894         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4895         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4896         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4898 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
4900         PR target/63223
4901         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4902         and R24 as needed.  Make work for all devices and .text locations.
4903         (__do_global_ctors, __do_global_dtors): Use word addresses.
4904         (__tablejump__, __tablejump_elpm__): Remove functions.
4905         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4906         Add _tablejump2.
4907         (XICALL, XIJMP): New macros.
4909 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4910         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4912         * config.host (aarch64*): Include crtfastmath.o and
4913         t-crtfm.
4914         * config/aarch64/crtfastmath.c: New file.
4916 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
4918         * config.host: Remove picochip support.
4919         * config/picochip/adddi3.S: Remove.
4920         * config/picochip/ashlsi3.S: Remove.
4921         * config/picochip/ashlsi3.c: Remove.
4922         * config/picochip/ashrsi3.S: Remove.
4923         * config/picochip/ashrsi3.c: Remove.
4924         * config/picochip/clzsi2.S: Remove.
4925         * config/picochip/cmpsi2.S: Remove.
4926         * config/picochip/divmod15.S: Remove.
4927         * config/picochip/divmodhi4.S: Remove.
4928         * config/picochip/divmodsi4.S: Remove.
4929         * config/picochip/lib1funcs.S: Remove.
4930         * config/picochip/longjmp.S: Remove.
4931         * config/picochip/lshrsi3.S: Remove.
4932         * config/picochip/lshrsi3.c: Remove.
4933         * config/picochip/parityhi2.S: Remove.
4934         * config/picochip/popcounthi2.S: Remove.
4935         * config/picochip/setjmp.S: Remove.
4936         * config/picochip/subdi3.S: Remove.
4937         * config/picochip/t-picochip: Remove.
4938         * config/picochip/ucmpsi2.S: Remove.
4939         * config/picochip/udivmodhi4.S: Remove.
4940         * config/picochip/udivmodsi4.S: Remove.
4942 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4944         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4945         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4946         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4947         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4948         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
4949         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4950         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
4951         defined and LIBGCC2_HAS_DF_MODE is defined.
4952         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
4953         defined and LIBGCC2_HAS_XF_MODE is defined.
4954         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
4955         defined and LIBGCC2_HAS_TF_MODE is defined.
4957 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4959         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4960         and ROUND_TOWARDS_ZERO conditionals.
4962 2014-09-07  Nathan sidwell  <nathan@acm.org>
4964         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4965         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
4967 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
4969         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4970         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4971         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4972         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4973         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4974         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4975         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4976         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4977         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4978         (DWARF_FRAME_REGISTERS): Change all uses to
4979         __LIBGCC_DWARF_FRAME_REGISTERS__.
4980         (EH_RETURN_STACKADJ_RTX): Change all uses to
4981         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4982         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4983         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
4984         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4985         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4986         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4987         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4988         to __LIBGCC_EH_FRAME_SECTION_NAME__.
4989         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4990         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4991         __LIBGCC_STACK_POINTER_REGNUM__.
4992         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4993         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4994         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4995         to __LIBGCC_STACK_POINTER_REGNUM__.
4996         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4997         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4998         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4999         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5000         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5001         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5002         (STACK_POINTER_REGNUM): Change all uses to
5003         __LIBGCC_STACK_POINTER_REGNUM__.
5004         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5005         use to __LIBGCC_STACK_POINTER_REGNUM__.
5006         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5007         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5008         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5009         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5010         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5011         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5012         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5013         to __LIBGCC_STACK_POINTER_REGNUM__.
5014         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5015         Remove conditional definition.
5016         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5017         __LIBGCC_TEXT_SECTION_ASM_OP__.
5018         (EH_FRAME_SECTION_NAME): Change all uses to
5019         __LIBGCC_EH_FRAME_SECTION_NAME__.
5020         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5021         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5022         (CTORS_SECTION_ASM_OP): Change all uses to
5023         __LIBGCC_CTORS_SECTION_ASM_OP__.
5024         (DTORS_SECTION_ASM_OP): Change all uses to
5025         __LIBGCC_DTORS_SECTION_ASM_OP__.
5026         (JCR_SECTION_NAME): Change all uses to
5027         __LIBGCC_JCR_SECTION_NAME__.
5028         (INIT_SECTION_ASM_OP): Change all uses to
5029         __LIBGCC_INIT_SECTION_ASM_OP__.
5030         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5031         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5032         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5033         __LIBGCC_STACK_GROWS_DOWNWARD__.
5034         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5035         __LIBGCC_INIT_SECTION_ASM_OP__.
5036         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5037         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5038         (EH_FRAME_SECTION_NAME): Change all uses to
5039         __LIBGCC_EH_FRAME_SECTION_NAME__.
5040         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5041         definitions.  Change all uses to
5042         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5043         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5044         __LIBGCC_STACK_GROWS_DOWNWARD__.
5045         (DWARF_FRAME_REGISTERS): Change all uses to
5046         __LIBGCC_DWARF_FRAME_REGISTERS__.
5047         (EH_RETURN_STACKADJ_RTX): Change all uses to
5048         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5049         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5050         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5051         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5052         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5053         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5055 2014-09-02  Nathan sidwell  <nathan@acm.org>
5057         * libgcov-interface.c (STRONG_ALIAS): New.
5058         (__gcov_flush): Call __gcov_reset_int.
5059         (__gcov_reset): Strong alias for ...
5060         (__gcov_reset_ing): ... this renamed hidden version.
5061         * libgcov.h (__gcov_reset_int): New declaration.
5063 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
5065         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5066         call from here...
5067         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5068         (__dso_handle): Define on Cygwin.
5069         * config/i386/t-cygming (crtbeginS.o): New rule.
5070         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5072         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5073         declaration syntax.
5075 2014-08-13  Steve Ellcey  <sellcey@mips.com>
5077         * crtstuff.c: Undef caddr_t.
5079 2014-08-12  Steve Ellcey  <sellcey@mips.com>
5081         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
5083 2014-08-07  Nathan Sidwell  <nathan@acm.org>
5085         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5086         (LIBGCOV_DRIVER): ... to here.
5087         * libgcov.h (gcov_do_dump): New #define.
5088         (struct gcov_root): New.
5089         (__gcov_root): New declaration.
5090         (__gcov_dump_one): Declare.
5091         * libgcov-driver.c (gcov_list, gcov_dump_complete,
5092         run_accounted): Delete.
5093         (gcov_compute_histogram): Add LIST argument, adjust.
5094         (compute_summary): Adjust gcov_compute_histogram call.
5095         (gcov_do_dump): Not hidden, static in libgcov.
5096         (gcov_clear): Move  to interface.c.
5097         (__gcov_dump_one): New, broken out of ...
5098         (gcov_exit): ... here.  Make static.
5099         (__gcov_root): New.
5100         (__gcov_init): Adjust.
5101         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5102         declarations.
5103         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5104         (gcov_clear): Moved from driver.c.   Add LIST argument.
5105         (__gcov_reset): Adjust for changed interfaces.
5106         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5108 2014-08-04  Rohit  <rohitarulraj@freescale.com>
5110         PR target/60102
5111         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5112         based on change in SPE high register numbers and 3 HTM registers.
5114 2014-08-01  Nathan Sidwell  <nathan@acm.org>
5116         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5117         LIBGCOV_INTERFACE): Reformat.
5118         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5119         IN_GCOV_TOOL.
5120         * libgcov-interface.c: Reformat some comments.
5121         (__gcov_flush_mx): Add declaration.  Tidy up definition.
5123 2014-07-31  Alan Modra  <amodra@gmail.com>
5124             Peter Bergner  <bergner@vnet.ibm.com>
5126         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5127         (pack_ldouble): New function.
5128         (__gcc_qadd): Use it.
5129         (__gcc_qmul): Likewise.
5130         (__gcc_qdiv): Likewise.
5131         (__gcc_qneg): Likewise.
5132         (__gcc_stoq): Likewise.
5133         (__gcc_dtoq): Likewise.
5135 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
5137         * config/s390/tpf-unwind.h: Include <stdbool.h>.
5138         (__tpf_eh_return): Add original return address as second parameter.
5139         Handle cases where unwinder routines were called directly, instead
5140         of from within the C++ library.
5142 2014-07-29  Nathan Sidwell  <nathan@acm.org>
5144         * libgcov.h: Move renaming of entry points to lib gcov specific
5145         portion.
5146         (gcov_do_dump): New rename.
5147         (gcov_rewrite): Remove inline, make HIDDEN.
5148         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5149         (gcov_exit_compute_summary): Rename to ...
5150         (compute_summary): ... here.  Add LIST argument.
5151         (gcov_exit_merge_gcda): Rename to ...
5152         (merge_one_data): ... here.
5153         (gcov_exit_write_gcda): Rename to ...
5154         (write_one_data): ... here.
5155         (gcov_exit_merge_summary): Rename to ...
5156         (merge_summary): Add RUN_COUNTED argument.
5157         (gcov_exit_dump_gcov): Rename to ...
5158         (dump_one_gcov): Add RUN_COUNTED argument.
5159         (gcov_do_dump): New function, broken out of ...
5160         (gcov_exit): ... here.  Call it.
5162 2014-07-27  Anthony Green  <green@moxielogic.com>
5164         * config.host: Add moxiebox configuration suppport.
5166 2014-07-27  Nathan Sidwell  <nathan@acm.org>
5168         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5169         (struct gcov_filename): ... here.  Include buffer and max length
5170         fields.
5171         (gcov_max_filename): Remove.
5172         (gi_filename): Remove.
5173         (gcov_exit_compute_summary): Compute max filename here.
5174         (gcov_exit_merge_gcda): Add filename parm, adjust.
5175         (gcov_exit_merge_summary): Likewise.
5176         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5177         (gcov_exit): Likewise.
5178         (__gcov_init): Don't calculate max length here.
5179         * libgcov_util.c (max_filename_len): Remove.
5180         (read_gcda_file): Don't calculate max length here.
5181         (gcov_read_profile_dir): Don't propagate here.
5182         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5183         struct gcov_filename changes.
5184         (gcov_exit_open_gcda_file): Likewise.
5186 2014-07-25  Nathan Sidwell  <nathan@acm.org>
5188         * libgcov-driver.c (set_gcov_dump_complete,
5189         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5190         functions polluting user's namespace.
5191         (gcov_exit): Set variable directly.
5192         (gcov_clear): Reset variable directly.
5193         * libgcov-interface.c (get_gcov_dymp_complete,
5194         reset_gov_dump_complete): Remove declarations.
5195         (__gcov_reset, __gcov_dump): Don't call them.
5197 2014-07-24  DJ Delorie  <dj@redhat.com>
5199         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5200         (__gcc_deregister_frame): Move logic to detect deregister function
5201         to ...
5202         (__gcc_register_frame): here, so it's consistent with the register
5203         logic.
5205 2014-07-23  Nathan Sidwell  <nathan@acm.org>
5207         * libgcov-driver.c (set_gcov_list): Remove.
5208         (gcov_list): Make non-static in GCOV_TOOL.
5209         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5211 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
5213         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5214         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5215         Don't use SYNC_LOCK_RELEASE for int type.
5217 2014-07-14  Richard Biener  <rguenther@suse.de>
5219         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5221 2014-07-11  Rong Xu  <xur@google.com>
5223         * libgcov-util.c (gcov_max_filename): Fix declartion.
5225 2014-07-10  Rong Xu  <xur@google.com>
5227         Add gcov-tool: an offline gcda profile processing tool
5228         Support.
5229         * libgcov-driver.c (gcov_max_filename): Make available
5230         to gcov-tool.
5231         * libgcov-merge.c (__gcov_merge_add): Replace
5232         gcov_read_counter() with a Macro.
5233         (__gcov_merge_ior): Ditto.
5234         (__gcov_merge_time_profile): Ditto.
5235         (__gcov_merge_single): Ditto.
5236         (__gcov_merge_delta): Ditto.
5237         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5238         in the utility functions.
5239         (set_fn_ctrs): Utility function for reading gcda files to in-memory
5240         gcov_list object link lists.
5241         (tag_function): Ditto.
5242         (tag_blocks): Ditto.
5243         (tag_arcs): Ditto.
5244         (tag_lines): Ditto.
5245         (tag_counters): Ditto.
5246         (tag_summary): Ditto.
5247         (read_gcda_finalize): Ditto.
5248         (read_gcda_file): Ditto.
5249         (ftw_read_file): Ditto.
5250         (read_profile_dir_init): Ditto.
5251         (gcov_read_profile_dir): Ditto.
5252         (gcov_read_counter_mem): Ditto.
5253         (gcov_get_merge_weight): Ditto.
5254         (merge_wrapper): A wrapper function that calls merging handler.
5255         (gcov_merge): Merge two gcov_info objects with weights.
5256         (find_match_gcov_info): Find the matched gcov_info in the list.
5257         (gcov_profile_merge): Merge two gcov_info object lists.
5258         (__gcov_add_counter_op): Process edge profile counter values.
5259         (__gcov_ior_counter_op): Process IOR profile counter values.
5260         (__gcov_delta_counter_op): Process delta profile counter values.
5261         (__gcov_single_counter_op): Process single  profile counter values.
5262         (fp_scale): Callback function for float-point scaling.
5263         (int_scale): Callback function for integer fraction scaling.
5264         (gcov_profile_scale): Scaling profile counters.
5265         (gcov_profile_normalize): Normalize profile counters.
5266         * libgcov.h: Add headers and functions for gcov-tool use.
5267         (gcov_get_counter): New.
5268         (gcov_get_counter_target): Ditto.
5269         (struct gcov_info): Make the functions field mutable in gcov-tool
5270         compilation.
5272 2014-06-23  Kai Tietz  <ktietz@redhat.com>
5274         PR libgcc/61585
5275         * unwind-seh.c (_Unwind_GetGR): Check for proper
5276         index range.
5277         (_Unwind_SetGR): Likewise.
5279 2014-05-22  Nick Clifton  <nickc@redhat.com>
5281         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5282         -mhwmult=none.
5284 2014-05-22  Teresa Johnson  <tejohnson@google.com>
5286         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5287         include.
5289 2014-05-20  John Marino  <gnugcc@marino.st>
5291         * config.host (*-*-dragonfly*): New target.
5292         * crtstuff.c: Make dl_iterate_support generic on *bsd.
5293         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5294         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5295         * config/i386/dragonfly-unwind.h: New.
5297 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
5299         PR libgcc/60166
5300         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5301         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5303 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5305         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5306         implementation.
5308 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
5310         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5312 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5314         PR libgcc/61097
5315         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5316         if --enable-shared.
5318 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5320         Work around for current cygwin32 build problems.
5321         * config/i386/cygming-crtbegin.c (__register_frame_info,
5322         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5323         functions only for 64-bit systems.
5325 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5327         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5328         (sigill_caught, sigill_hdlr): Remove.
5330 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5332         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5333         check.
5334         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5335         Solaris 9 single-threaded support.
5336         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5337         Solaris 9 single-threaded support.  Add call_user_handler code
5338         sequences.
5339         (sparc_is_sighandler): Likewise.
5341 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5343         * config.host: Append t-floattodi to tmake_file depending on
5344         host_address.
5346 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
5348         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5350 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
5352         PR libgcc/60472
5353         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5354         variable to avoid "array subscript is above array bounds" warnings.
5355         Use __builtin_expect when checking *jcr_list for NULL.
5357 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5359         PR libgcc/59339
5360         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5361         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5362         vtv_*.o to extra_parts if enable_vtable_verify.
5364 2014-03-06  Nick Clifton  <nickc@redhat.com>
5366         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5367         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5369 2014-02-28  Joey Ye  <joey.ye@arm.com>
5371         PR libgcc/60166
5372         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5373         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5374         Set to zero.
5376 2014-02-24  Walter Lee  <walt@tilera.com>
5378         * config.host: Support "tilegx*" and "tilepro*" triplets.
5379         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5380         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5382 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
5383             Chung-Lin Tang  <cltang@codesourcery.com>
5385         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5386         * config/nios2/crti.S: Remove .file directive.
5387         * config/nios2/crtn.S: Likewise.
5389 2014-02-18  Kai Tietz  <ktietz@redhat.com>
5390         Jonathan Schleifer  <js@webkeks.org>
5392         PR objc/56870
5393         * unwind-seh.c (_GCC_specific_handler): Pass proper
5394         value to unwind-handler.
5396 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5398         * soft-fp/adddf3.c: Update from glibc.
5399         * soft-fp/addsf3.c: Likewise.
5400         * soft-fp/addtf3.c: Likewise.
5401         * soft-fp/divdf3.c: Likewise.
5402         * soft-fp/divsf3.c: Likewise.
5403         * soft-fp/divtf3.c: Likewise.
5404         * soft-fp/double.h: Likewise.
5405         * soft-fp/eqdf2.c: Likewise.
5406         * soft-fp/eqsf2.c: Likewise.
5407         * soft-fp/eqtf2.c: Likewise.
5408         * soft-fp/extenddftf2.c: Likewise.
5409         * soft-fp/extended.h: Likewise.
5410         * soft-fp/extendsfdf2.c: Likewise.
5411         * soft-fp/extendsftf2.c: Likewise.
5412         * soft-fp/extendxftf2.c: Likewise.
5413         * soft-fp/fixdfdi.c: Likewise.
5414         * soft-fp/fixdfsi.c: Likewise.
5415         * soft-fp/fixdfti.c: Likewise.
5416         * soft-fp/fixsfdi.c: Likewise.
5417         * soft-fp/fixsfsi.c: Likewise.
5418         * soft-fp/fixsfti.c: Likewise.
5419         * soft-fp/fixtfdi.c: Likewise.
5420         * soft-fp/fixtfsi.c: Likewise.
5421         * soft-fp/fixtfti.c: Likewise.
5422         * soft-fp/fixunsdfdi.c: Likewise.
5423         * soft-fp/fixunsdfsi.c: Likewise.
5424         * soft-fp/fixunsdfti.c: Likewise.
5425         * soft-fp/fixunssfdi.c: Likewise.
5426         * soft-fp/fixunssfsi.c: Likewise.
5427         * soft-fp/fixunssfti.c: Likewise.
5428         * soft-fp/fixunstfdi.c: Likewise.
5429         * soft-fp/fixunstfsi.c: Likewise.
5430         * soft-fp/fixunstfti.c: Likewise.
5431         * soft-fp/floatdidf.c: Likewise.
5432         * soft-fp/floatdisf.c: Likewise.
5433         * soft-fp/floatditf.c: Likewise.
5434         * soft-fp/floatsidf.c: Likewise.
5435         * soft-fp/floatsisf.c: Likewise.
5436         * soft-fp/floatsitf.c: Likewise.
5437         * soft-fp/floattidf.c: Likewise.
5438         * soft-fp/floattisf.c: Likewise.
5439         * soft-fp/floattitf.c: Likewise.
5440         * soft-fp/floatundidf.c: Likewise.
5441         * soft-fp/floatundisf.c: Likewise.
5442         * soft-fp/floatunditf.c: Likewise.
5443         * soft-fp/floatunsidf.c: Likewise.
5444         * soft-fp/floatunsisf.c: Likewise.
5445         * soft-fp/floatunsitf.c: Likewise.
5446         * soft-fp/floatuntidf.c: Likewise.
5447         * soft-fp/floatuntisf.c: Likewise.
5448         * soft-fp/floatuntitf.c: Likewise.
5449         * soft-fp/gedf2.c: Likewise.
5450         * soft-fp/gesf2.c: Likewise.
5451         * soft-fp/getf2.c: Likewise.
5452         * soft-fp/ledf2.c: Likewise.
5453         * soft-fp/lesf2.c: Likewise.
5454         * soft-fp/letf2.c: Likewise.
5455         * soft-fp/muldf3.c: Likewise.
5456         * soft-fp/mulsf3.c: Likewise.
5457         * soft-fp/multf3.c: Likewise.
5458         * soft-fp/negdf2.c: Likewise.
5459         * soft-fp/negsf2.c: Likewise.
5460         * soft-fp/negtf2.c: Likewise.
5461         * soft-fp/op-1.h: Likewise.
5462         * soft-fp/op-2.h: Likewise.
5463         * soft-fp/op-4.h: Likewise.
5464         * soft-fp/op-8.h: Likewise.
5465         * soft-fp/op-common.h: Likewise.
5466         * soft-fp/quad.h: Likewise.
5467         * soft-fp/single.h: Likewise.
5468         * soft-fp/soft-fp.h: Likewise.
5469         * soft-fp/subdf3.c: Likewise.
5470         * soft-fp/subsf3.c: Likewise.
5471         * soft-fp/subtf3.c: Likewise.
5472         * soft-fp/truncdfsf2.c: Likewise.
5473         * soft-fp/trunctfdf2.c: Likewise.
5474         * soft-fp/trunctfsf2.c: Likewise.
5475         * soft-fp/trunctfxf2.c: Likewise.
5476         * soft-fp/unorddf2.c: Likewise.
5477         * soft-fp/unordsf2.c: Likewise.
5478         * soft-fp/unordtf2.c: Likewise.
5479         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5480         macro.
5481         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5482         Likewise.
5483         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5484         Likewise.
5485         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5486         Likewise.
5487         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5488         Likewise.
5489         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5490         Likewise.
5491         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5492         Likewise.
5493         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5494         Likewise.
5495         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5496         Likewise.
5497         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5498         Likewise.
5499         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5500         Likewise.
5501         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5502         Likewise.
5503         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5504         Likewise.
5505         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5506         Likewise.
5507         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5508         Likewise.
5509         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5510         Likewise.
5512 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5514         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5515         cannot be represented.
5516         * config/s390/32/_fixsfdi.c: Likewise.
5517         * config/s390/32/_fixtfdi.c: Likewise.
5518         * config/s390/32/_fixunsdfdi.c: Likewise.
5519         * config/s390/32/_fixunssfdi.c: Likewise.
5520         * config/s390/32/_fixunstfdi.c: Likewise.
5522 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
5524         * configure.ac (libgcc_cv_mips_hard_float): New.
5525         * configure: Regenerate.
5526         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5527         t-softfp-sfdf for hard-float targets.
5528         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5529         (softfp_float_modes, softfp_int_modes, softfp_extensions)
5530         (softfp_truncations, softfp_exclude_libgcc2): New.
5531         * config/t-hardfp: New file.
5532         * config/t-hardfp-sfdf: Likewise.
5533         * config/hardfp.c: Likewise.
5535 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5537         * config.host: Include t-floattodi also for s390x.
5538         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5539         * config/s390/32/_fixsfdi.c: Likewise.
5540         * config/s390/32/_fixtfdi.c: Likewise.
5541         * config/s390/32/_fixunsdfdi.c: Likewise.
5542         * config/s390/32/_fixunssfdi.c: Likewise.
5543         * config/s390/32/_fixunstfdi.c: Likewise.
5545 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5547         PR target/59788
5548         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5549         (install-libgcc-unwind-map-forbuild): New target.
5550         (all): Depend on install-libgcc-unwind-map-forbuild.
5551         (install-libgcc-unwind-map): New target.
5552         (install): Depend on install-libgcc-unwind-map.
5554 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
5556         * config/nios2/crti.S (_init): Initialize GOT pointer from
5557         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5559 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
5561         * configure.ac: Check __mips64 when setting host_address.
5562         * configure: Regenerate.
5563         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5564         mips/t-mips64 and t-softfp.
5565         (mips*-*-linux*): Don't add mips/t-tpbit.
5566         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5567         (DPBIT, DPBIT_CFLAGS): Delete.
5568         * config/mips/sfp-machine.h: New file.
5569         * config/mips/t-mips64: Likewise.
5570         * config/mips/t-softfp-tf: Likewise.
5571         * config/mips/t-tpbit: Delete.
5573 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5575         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5576         as long long.
5578 2014-01-25  Walter Lee  <walt@tilera.com>
5580         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
5581         config.h or system.h.
5582         (bool) Define.
5584 2014-01-25  Walter Lee  <walt@tilera.com>
5586         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5587         (post_atomic_barrier): Ditto.
5588         (__fetch_and_do): New macro.
5589         (__atomic_fetch_and_do): Use __fetch_and_do.
5590         (__sync_fetch_and_do): New macro.
5591         (__sync_fetch_and_add_4): New function.
5592         (__sync_fetch_and_sub_4): New function.
5593         (__sync_fetch_and_or_4): New function.
5594         (__sync_fetch_and_and_4): New function.
5595         (__sync_fetch_and_xor_4): New function.
5596         (__sync_fetch_and_nand_4): New function.
5597         (__sync_fetch_and_add_8): New function.
5598         (__sync_fetch_and_sub_8): New function.
5599         (__sync_fetch_and_or_8): New function.
5600         (__sync_fetch_and_and_8): New function.
5601         (__sync_fetch_and_xor_8): New function.
5602         (__sync_fetch_and_nand_8): New function.
5603         (__do_and_fetch): New macro.
5604         (__atomic_do_and_fetch): Use __do_and_fetch.
5605         (__sync_do_and_fetch): New macro.
5606         (__sync_add_and_fetch_4): New function.
5607         (__sync_sub_and_fetch_4): New function.
5608         (__sync_or_and_fetch_4): New function.
5609         (__sync_and_and_fetch_4): New function.
5610         (__sync_xor_and_fetch_4): New function.
5611         (__sync_nand_and_fetch_4): New function.
5612         (__sync_add_and_fetch_8): New function.
5613         (__sync_sub_and_fetch_8): New function.
5614         (__sync_or_and_fetch_8): New function.
5615         (__sync_and_and_fetch_8): New function.
5616         (__sync_xor_and_fetch_8): New function.
5617         (__sync_nand_and_fetch_8): New function.
5618         (__sync_exchange_methods): New macro.
5619         (__sync_val_compare_and_swap_4): New function.
5620         (__sync_bool_compare_and_swap_4): New function.
5621         (__sync_lock_test_and_test_4): New function.
5622         (__sync_val_compare_and_swap_8): New function.
5623         (__sync_bool_compare_and_swap_8): New function.
5624         (__sync_lock_test_and_test_8): New function.
5625         (__subword_cmpxchg_body): New macro.
5626         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5627         (__atomic_compare_exchange_2): Ditto.
5628         (__sync_subword_cmpxchg): New macro.
5629         (__sync_val_compare_and_swap_1): New function.
5630         (__sync_bool_compare_and_swap_1): New function.
5631         (__sync_val_compare_and_swap_2): New function.
5632         (__sync_bool_compare_and_swap_2): New function.
5633         (__atomic_subword): Rename to ...
5634         (__subword): ... New name.
5635         (__atomic_subword_fetch): Use __subword.
5636         (__sync_subword_fetch): New macro.
5637         (__sync_fetch_and_add_1): New function.
5638         (__sync_fetch_and_sub_1): New function.
5639         (__sync_fetch_and_or_1): New function.
5640         (__sync_fetch_and_and_1): New function.
5641         (__sync_fetch_and_xor_1): New function.
5642         (__sync_fetch_and_nand_1): New function.
5643         (__sync_fetch_and_add_2): New function.
5644         (__sync_fetch_and_sub_2): New function.
5645         (__sync_fetch_and_or_2): New function.
5646         (__sync_fetch_and_and_2): New function.
5647         (__sync_fetch_and_xor_2): New function.
5648         (__sync_fetch_and_nand_2): New function.
5649         (__sync_add_and_fetch_1): New function.
5650         (__sync_sub_and_fetch_1): New function.
5651         (__sync_or_and_fetch_1): New function.
5652         (__sync_and_and_fetch_1): New function.
5653         (__sync_xor_and_fetch_1): New function.
5654         (__sync_nand_and_fetch_1): New function.
5655         (__sync_add_and_fetch_2): New function.
5656         (__sync_sub_and_fetch_2): New function.
5657         (__sync_or_and_fetch_2): New function.
5658         (__sync_and_and_fetch_2): New function.
5659         (__sync_xor_and_fetch_2): New function.
5660         (__sync_nand_and_fetch_2): New function.
5661         (__atomic_subword_lock): Use __subword.
5662         (__sync_subword_lock): New macro.
5663         (__sync_lock_test_and_set_1): New function.
5664         (__sync_lock_test_and_set_2): New function.
5666 2014-01-25  Walter Lee  <walt@tilera.com>
5668         * config/tilepro/atomic.c (BIT_OFFSET): Define.
5669         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5670         (__atomic_subword): Ditto.
5672 2014-01-25  Walter Lee  <walt@tilera.com>
5674         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5675         a prefix op argument.
5676         (__atomic_nand_fetch_4): Add prefix op.
5677         (__atomic_nand_fetch_8): Ditto.
5679 2014-01-21  Baruch Siach  <barch@tkos.co.il>
5681         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5683 2014-01-09  Rong Xu  <xur@google.com>
5685         * libgcov-driver.c (this_prg): make it local to save
5686         bss space.
5687         (gcov_exit_compute_summary): Ditto.
5688         (gcov_exit_merge_gcda): Ditto.
5689         (gcov_exit_merge_summary): Ditto.
5690         (gcov_exit_dump_gcov): Ditto.
5692 2014-01-08  Rong Xu  <xur@google.com>
5694         * libgcov-driver.c: Use libgcov.h.
5695         (buffer_fn_data): Use xmalloc instead of malloc.
5696         (gcov_exit_merge_gcda): Ditto.
5697         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5698         * libgcov.h: New common header files for libgcov-*.h.
5699         * libgcov-interface.c: Use libgcov.h
5700         * libgcov-merge.c: Ditto.
5701         * libgcov-profiler.c: Ditto.
5702         * Makefile.in: Add dependence to libgcov.h
5704 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5706         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5707         case of small numerator and finite nonzero result.
5709 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5711         Update copyright years
5713 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5715         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5716         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5717         config/arc/dp-hack.h, config/arc/fp-hack.h,
5718         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5719         config/arc/ieee-754/arc600-dsp/divdf3.S,
5720         config/arc/ieee-754/arc600-dsp/divsf3.S,
5721         config/arc/ieee-754/arc600-dsp/muldf3.S,
5722         config/arc/ieee-754/arc600-dsp/mulsf3.S,
5723         config/arc/ieee-754/arc600-mul64/divdf3.S,
5724         config/arc/ieee-754/arc600-mul64/divsf3.S,
5725         config/arc/ieee-754/arc600-mul64/muldf3.S,
5726         config/arc/ieee-754/arc600-mul64/mulsf3.S,
5727         config/arc/ieee-754/arc600/divsf3.S,
5728         config/arc/ieee-754/arc600/mulsf3.S,
5729         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5730         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5731         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5732         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5733         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5734         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5735         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5736         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5737         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5738         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5739         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5740         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5741         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5742         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5743         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5744         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5745         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5746         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5747         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5748         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5749         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5750         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5751         vtv_start_preinit.c: Use the standard form for the copyright notice.
5753 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
5754             Chung-Lin Tang  <cltang@codesourcery.com>
5755             Based on patches from Altera Corporation
5757         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5758         * config/nios2/lib2-nios2.h: New file.
5759         * config/nios2/lib2-divmod-hi.c: New file.
5760         * config/nios2/linux-unwind.h: New file.
5761         * config/nios2/lib2-divmod.c: New file.
5762         * config/nios2/linux-atomic.c: New file.
5763         * config/nios2/t-nios2: New file.
5764         * config/nios2/crti.asm: New file.
5765         * config/nios2/t-linux: New file.
5766         * config/nios2/lib2-divtable.c: New file.
5767         * config/nios2/lib2-mul.c: New file.
5768         * config/nios2/tramp.c: New file.
5769         * config/nios2/crtn.asm: New file.
5771 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
5773         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5774         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5775         from cpuid.h to check vendor signatures.
5777 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
5779         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5780         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5781         (get_amd_cpu): Likewise.
5783 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
5785         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5786         Haswell.
5788 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5789             H.J. Lu  <hongjiu.lu@intel.com>
5791         PR target/59422
5792         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
5793         and AMD_JAGUAR.
5794         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5795         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5796         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
5797         FEATURE_XOP and FEATURE_FMA.
5798         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5799         AMDFAM15H_BDVER3.
5800         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5801         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5802         FEATURE_FMA4 and FEATURE_XOP.
5804 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
5806         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5807         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5808         (get_intel_cpu): Updated.
5810 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
5812         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5814 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
5816         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5817         instructions when __SSE_MATH__ is defined.
5819 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
5821         * config.host (microblaze-*-rtems*): New.
5823 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
5825         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5826         architectures that do not have hardware divide instruction.
5827         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5829 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
5831         * longlong.h: Delete (moved to include/).
5833 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5835         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5836         of normal number and qNaN to not raise an inexact exception.
5838 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
5840         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5842 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
5844         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5845         for correct opcodes on BE.
5847 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
5849         * soft-fp/op-4.h: Update from glibc.
5851 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
5853         * libgcc2.c (__udivmoddi4): Define new implementation when
5854         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5855         divide instructions.
5857 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
5859         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5861 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5863         * config/t-softfp (soft-fp-objects-base): New variable.
5864         (soft-fp-objects): Use it.
5866 2013-11-23  David Edelson  <dje.gcc@gmail.com>
5867             Andrew Dixie  <andrewd@gentrack.com>
5869         PR target/33704
5870         * config/rs6000/aixinitfini.c: New file.
5871         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5872         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5873         symbols.
5875 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
5877         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5879 2013-11-18  Jan Hubicka  <jh@suse.cz>
5881         * libgcov-driver.c (run_accounted): Make global level static.
5882         (gcov_exit_merge_summary): Silence warning; do not clear
5883         run_accounted here.
5884         (gcov_exit): Clear it here.
5886         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5887         run_accounted.
5889         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5890         (all_prg, crc32): Remove static vars.
5891         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5892         all_prg.
5893         (gcov_exit_merge_gcda): Add crc32 parameter.
5894         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5895         do not account run if it was already accounted.
5896         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5897         (gcov_exit): Initialize all_prg; update.
5899 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
5901         * configure: Regenerate.
5903 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5904             Alan Modra  <amodra@gmail.com>
5906         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5907         (frob_update_context): Use it.
5909 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5910             Alan Modra  <amodra@gmail.com>
5912         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5913         (trampoline_initial): Provide ELFv2 variant.
5914         (__trampoline_setup): Likewise.
5916         * config/rs6000/linux-unwind.h (frob_update_context): Do not
5917         check for AIX indirect function call sequence if _CALL_ELF == 2.
5919 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5920             Alan Modra  <amodra@gmail.com>
5922         * config/rs6000/linux-unwind.h (get_regs): Do not support
5923         old kernel versions if _CALL_ELF == 2.
5924         (frob_update_context): Do not support PLT stub variants only
5925         generated by old linkers if _CALL_ELF == 2.
5927 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5928             Alan Modra  <amodra@gmail.com>
5930         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5931         location of CR save area for 64-bit little-endian systems.
5933 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
5935         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5936         in tmake_file.
5937         * config/arm/t-vxworks: Delete.
5939 2013-11-10  Kai Tietz  <ktietz@redhat.com>
5941         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5942         Increment load-count on use of LIBGCC_SONAME DLL.
5943         (hmod_libgcc): New static variable to hold handle of
5944         LIBGCC_SONAME DLL.
5945         (__gcc_deregister_frame): Decrement load-count of
5946         LIBGCC_SONAME DLL.
5948 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
5950         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5951         availability.
5952         * configure: Regenerate
5954 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
5956         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5957         FP_EX_DENORM.  Store result to volatile location after SSE division
5958         to close interrupt window.  Remove unneeded fwait after x87
5959         division since interrupt window will be closed by emitted fstp.
5960         Rewrite FP_EX_INEXACT handling.
5962 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
5964         * soft-fp/README: Update.
5965         * soft-fp/adddf3.c: Update from glibc.
5966         * soft-fp/addsf3.c: Likewise.
5967         * soft-fp/addtf3.c: Likewise.
5968         * soft-fp/divdf3.c: Likewise.
5969         * soft-fp/divsf3.c: Likewise.
5970         * soft-fp/divtf3.c: Likewise.
5971         * soft-fp/double.h: Likewise.
5972         * soft-fp/eqdf2.c: Likewise.
5973         * soft-fp/eqsf2.c: Likewise.
5974         * soft-fp/eqtf2.c: Likewise.
5975         * soft-fp/extenddftf2.c: Likewise.
5976         * soft-fp/extended.h: Likewise.
5977         * soft-fp/extendsfdf2.c: Likewise.
5978         * soft-fp/extendsftf2.c: Likewise.
5979         * soft-fp/extendxftf2.c: Likewise.
5980         * soft-fp/fixdfdi.c: Likewise.
5981         * soft-fp/fixdfsi.c: Likewise.
5982         * soft-fp/fixdfti.c: Likewise.
5983         * soft-fp/fixsfdi.c: Likewise.
5984         * soft-fp/fixsfsi.c: Likewise.
5985         * soft-fp/fixsfti.c: Likewise.
5986         * soft-fp/fixtfdi.c: Likewise.
5987         * soft-fp/fixtfsi.c: Likewise.
5988         * soft-fp/fixtfti.c: Likewise.
5989         * soft-fp/fixunsdfdi.c: Likewise.
5990         * soft-fp/fixunsdfsi.c: Likewise.
5991         * soft-fp/fixunsdfti.c: Likewise.
5992         * soft-fp/fixunssfdi.c: Likewise.
5993         * soft-fp/fixunssfsi.c: Likewise.
5994         * soft-fp/fixunssfti.c: Likewise.
5995         * soft-fp/fixunstfdi.c: Likewise.
5996         * soft-fp/fixunstfsi.c: Likewise.
5997         * soft-fp/fixunstfti.c: Likewise.
5998         * soft-fp/floatdidf.c: Likewise.
5999         * soft-fp/floatdisf.c: Likewise.
6000         * soft-fp/floatditf.c: Likewise.
6001         * soft-fp/floatsidf.c: Likewise.
6002         * soft-fp/floatsisf.c: Likewise.
6003         * soft-fp/floatsitf.c: Likewise.
6004         * soft-fp/floattidf.c: Likewise.
6005         * soft-fp/floattisf.c: Likewise.
6006         * soft-fp/floattitf.c: Likewise.
6007         * soft-fp/floatundidf.c: Likewise.
6008         * soft-fp/floatundisf.c: Likewise.
6009         * soft-fp/floatunditf.c: Likewise.
6010         * soft-fp/floatunsidf.c: Likewise.
6011         * soft-fp/floatunsisf.c: Likewise.
6012         * soft-fp/floatunsitf.c: Likewise.
6013         * soft-fp/floatuntidf.c: Likewise.
6014         * soft-fp/floatuntisf.c: Likewise.
6015         * soft-fp/floatuntitf.c: Likewise.
6016         * soft-fp/gedf2.c: Likewise.
6017         * soft-fp/gesf2.c: Likewise.
6018         * soft-fp/getf2.c: Likewise.
6019         * soft-fp/ledf2.c: Likewise.
6020         * soft-fp/lesf2.c: Likewise.
6021         * soft-fp/letf2.c: Likewise.
6022         * soft-fp/muldf3.c: Likewise.
6023         * soft-fp/mulsf3.c: Likewise.
6024         * soft-fp/multf3.c: Likewise.
6025         * soft-fp/negdf2.c: Likewise.
6026         * soft-fp/negsf2.c: Likewise.
6027         * soft-fp/negtf2.c: Likewise.
6028         * soft-fp/op-1.h: Likewise.
6029         * soft-fp/op-2.h: Likewise.
6030         * soft-fp/op-4.h: Likewise.
6031         * soft-fp/op-8.h: Likewise.
6032         * soft-fp/op-common.h: Likewise.
6033         * soft-fp/quad.h: Likewise.
6034         * soft-fp/single.h: Likewise.
6035         * soft-fp/soft-fp.h: Likewise.
6036         * soft-fp/subdf3.c: Likewise.
6037         * soft-fp/subsf3.c: Likewise.
6038         * soft-fp/subtf3.c: Likewise.
6039         * soft-fp/truncdfsf2.c: Likewise.
6040         * soft-fp/trunctfdf2.c: Likewise.
6041         * soft-fp/trunctfsf2.c: Likewise.
6042         * soft-fp/trunctfxf2.c: Likewise.
6043         * soft-fp/unorddf2.c: Likewise.
6044         * soft-fp/unordsf2.c: Likewise.
6045         * soft-fp/unordtf2.c: Likewise.
6047 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
6049         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6050         (_FP_MUL_MEAT_D): Ditto.
6051         (_FP_DIV_MEAT_S): Ditto.
6052         (_FP_DIV_MEAT_D): Ditto.
6053         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6054         t-softfp-sfdf and t-softfp to tmake_file.
6056 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
6058         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6059         * config/i386/crtprec.c: Ditto.
6061 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
6062             Shiva Chen  <shiva0217@gmail.com>
6064         * config.host (nds32*-elf*): Add nds32 target.
6065         * config/nds32 : New directory and files.
6067 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
6069         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
6070         * config.host (cpu_type) <Setting default>: Add entry for
6071         crisv32-*-*.
6072         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6073         <crisv32-*-linux*>: Adjust.
6074         * longlong.h: Wrap the whole CRIS section in a single
6075         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
6076         and sub_ddmmss.
6077         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6078         defined.
6079         [__CRIS__] (__umulsidi3): Define.
6080         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6081         * config/cris/sfp-machine.h: New file.
6082         * config/cris/umulsidi3.S: New file.
6083         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6084         * config/cris/arit.c (SIGNMULT): New macro.
6085         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6086         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6087         saving 3 out of originally 33 cycles from the fastest
6088         path, 3 out of 54 from the medium path and one from the longest
6089         path.  Improve comments.
6091 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
6093         * sync.c: Remove static aliases and define each function directly
6094         under its real name.
6096 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
6098         * config.host (hppa*64*-*-linux*): Define extra_parts.
6099         (hppa*-*-linux*): Likewise.
6101 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
6103         * config/arc/crtgend.S: Add 2013 to Copyright years.
6104         * config/arc/gmon/atomic.h: Likewise.
6105         * config/arc/gmon/auxreg.h: Likewise.
6106         * config/arc/gmon/sys/gmon_out.h: Likewise.
6107         * config/arc/gmon/sys/gmon.h: Likewise.
6108         * config/arc/gmon/prof-freq.c: Likewise.
6109         * config/arc/gmon/mcount.c: Likewise.
6110         * config/arc/gmon/prof-freq-stub.S: Likewise.
6111         * config/arc/gmon/gmon.c: Likewise.
6112         * config/arc/gmon/machine-gmon.h: Likewise.
6113         * config/arc/gmon/profil.S: Likewise.
6114         * config/arc/gmon/dcache_linesz.S: Likewise.
6115         * config/arc/crtg.S: Likewise.
6116         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6117         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6118         * config/arc/ieee-754/adddf3.S: Likewise.
6119         * config/arc/ieee-754/truncdfsf2.S: Likewise.
6120         * config/arc/ieee-754/fixsfsi.S: Likewise.
6121         * config/arc/ieee-754/gtsf2.S: Likewise.
6122         * config/arc/ieee-754/floatsisf.S: Likewise.
6123         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6124         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6125         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6126         * config/arc/ieee-754/fixdfsi.S: Likewise.
6127         * config/arc/ieee-754/addsf3.S: Likewise.
6128         * config/arc/ieee-754/gesf2.S: Likewise.
6129         * config/arc/ieee-754/floatsidf.S: Likewise.
6130         * config/arc/ieee-754/extendsfdf2.S: Likewise.
6131         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6132         * config/arc/ieee-754/gtdf2.S: Likewise.
6133         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6134         * config/arc/ieee-754/uneqdf2.S: Likewise.
6135         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6136         * config/arc/ieee-754/uneqsf2.S: Likewise.
6137         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6138         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6139         * config/arc/ieee-754/eqdf2.S: Likewise.
6140         * config/arc/ieee-754/ordsf2.S: Likewise.
6141         * config/arc/ieee-754/divsf3.S: Likewise.
6142         * config/arc/ieee-754/divdf3.S: Likewise.
6143         * config/arc/ieee-754/floatunsidf.S: Likewise.
6144         * config/arc/ieee-754/orddf2.S: Likewise.
6145         * config/arc/ieee-754/eqsf2.S: Likewise.
6146         * config/arc/ieee-754/gedf2.S: Likewise.
6147         * config/arc/crtn.S: Likewise.
6148         * config/arc/crti.S: Likewise.
6149         * config/arc/t-arc700-uClibc: Likewise.
6150         * config/arc/asm.h: Likewise.
6151         * config/arc/libgcc-excl.ver: Likewise.
6152         * config/arc/t-arc-newlib: Likewise.
6153         * config/arc/divtab-arc700.c: Likewise.
6154         * config/arc/initfini.c: Likewise.
6155         * config/arc/fp-hack.h: Likewise.
6157 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6158             Diego Novillo  <dnovillo@google.com>
6160         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6161         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6162         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6163         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6165 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6166             Brendan Kehoe  <brendan@zen.org>
6167             Simon Cook  <simon.cook@embecosm.com>
6169         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6170         * config/arc: New directory.
6171         * longlong.h [__arc__] (umul_ppmm): Remove.
6172         [__arc__] (__umulsidi3): Define.
6173         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6174         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6176 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
6178         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6179         CreateSemaphoreA.
6180         * config/i386/gthr-win32.h: Likewise.
6182 2013-09-16  DJ Delorie  <dj@redhat.com>
6184         * config/rl78/vregs.h: Add G10 register definitions.
6185         * config/rl78/lib2mul.c: Enable for RL78/G10.
6186         * config/rl78/lib2div.c: Likewise.
6187         * config/rl78/lshrsi3.S: Use vregs.h.
6188         * config/rl78/cmpsi2.S: Likewise.
6189         * config/rl78/trampoline.S: Likewise.
6190         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
6192 2013-09-14  DJ Delorie  <dj@redhat.com>
6193             Nick Clifton  <nickc@redhat.com>
6195         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6196         * config/rl78/vregs.h: New.
6197         * config/rl78/signbit.S: New file.  Implements signbit function.
6198         * config/rl78/divmodsi.S: New.
6199         * config/rl78/divmodhi.S: New.
6200         * config/rl78/divmodqi.S: New.
6201         * config/rl78/t-rl78: Build them here...
6202         * config/rl78/lib2div.c: ...but not here.
6204 2013-09-12  DJ Delorie  <dj@redhat.com>
6206         * config.host (msp*-*-elf): New.
6207         * config/msp430/: New port.
6209 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
6211         PR gcov-profile/58127
6212         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6213         __thread var for emulated TLS.
6214         (__gcov_indirect_call_counters): Likewise.
6216 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
6217             Catherine Moore  <clm@codesourcery.com>
6218             Richard Sandiford  <rdsandiford@googlemail.com>
6220         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6221         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6222         (CALL_STUB_NO_RET): Likewise.
6223         (CALL_STUB_RET): Likewise.
6224         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6225         __mips16_ret call/return stub symbols.
6226         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6227         to tmake_file.
6229 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
6231         * config.host <mips*-*-linux*>: Remove a stray comment.
6233 2013-08-10  Jan Hubicka  <jh@suse.cz>
6235         Work around binutils PR14342
6236         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6237         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6238         (L_gcov_indirect_call_profiler_v2): New.
6240 2013-08-06  Jan Hubicka  <jh@suse.cz>
6242         * libgcov.c (__gcov_indirect_call_callee,
6243         __gcov_indirect_call_counters): New global vars.
6244         (__gcov_indirect_call_profiler): replace by ...
6245         (__gcov_indirect_call_profiler_v2) ... this one.
6247 2013-08-06  Caroline Tice  <cmtice@google.com>
6249         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6250         vtv_start_preinit.o and vtv_end_preinit.o.
6251         * configure.ac: Add code to check/set enable_vtable_verify.
6252         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6253         true.
6254         * vtv_start_preinit.c: New file.
6255         * vtv_end_preinit.c: New file.
6256         * vtv_start.c: New file.
6257         * vtv_end.c: New file.
6258         * configure: Regenerated.
6260 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
6262         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6263         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6264         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6265         GPL-3.0-with-GCC-exception.
6267 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
6269         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6270         ISA and up.
6272 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6274         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6275         mapping for FPRs when creating the fallback framestate.
6277 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
6279         PR target/57516
6280         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6281         (__round_s2_const, __round_u2_const)
6282         (__round_s4_const, __round_u4_const, __round_x8):
6283         Saturate result if addition result cannot be represented.
6285 2013-07-15  Matthias Klose  <doko@ubuntu.com>
6287         * libgcc2.c: Don't include <limits.h>.
6289 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
6291         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6293 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
6295         PR target/29776
6296         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6298 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
6300         PR middle-end/36041
6301         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6302         Define.
6303         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6304         instead of table lookups.
6305         (__popcountDI2): Likewise.
6307 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
6309         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6310         correctly.
6312 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6314         PR other/53317
6315         * soft-fp/adddf3.c: Update from glibc.
6316         * soft-fp/addsf3.c: Likewise.
6317         * soft-fp/addtf3.c: Likewise.
6318         * soft-fp/divdf3.c: Likewise.
6319         * soft-fp/divsf3.c: Likewise.
6320         * soft-fp/divtf3.c: Likewise.
6321         * soft-fp/double.h: Likewise.
6322         * soft-fp/eqdf2.c: Likewise.
6323         * soft-fp/eqsf2.c: Likewise.
6324         * soft-fp/eqtf2.c: Likewise.
6325         * soft-fp/extenddftf2.c: Likewise.
6326         * soft-fp/extended.h: Likewise.
6327         * soft-fp/extendsfdf2.c: Likewise.
6328         * soft-fp/extendsftf2.c: Likewise.
6329         * soft-fp/fixdfdi.c: Likewise.
6330         * soft-fp/fixdfsi.c: Likewise.
6331         * soft-fp/fixsfdi.c: Likewise.
6332         * soft-fp/fixsfsi.c: Likewise.
6333         * soft-fp/fixtfdi.c: Likewise.
6334         * soft-fp/fixtfsi.c: Likewise.
6335         * soft-fp/fixunsdfdi.c: Likewise.
6336         * soft-fp/fixunsdfsi.c: Likewise.
6337         * soft-fp/fixunssfdi.c: Likewise.
6338         * soft-fp/fixunssfsi.c: Likewise.
6339         * soft-fp/fixunstfdi.c: Likewise.
6340         * soft-fp/fixunstfsi.c: Likewise.
6341         * soft-fp/floatdidf.c: Likewise.
6342         * soft-fp/floatdisf.c: Likewise.
6343         * soft-fp/floatditf.c: Likewise.
6344         * soft-fp/floatsidf.c: Likewise.
6345         * soft-fp/floatsisf.c: Likewise.
6346         * soft-fp/floatsitf.c: Likewise.
6347         * soft-fp/floatundidf.c: Likewise.
6348         * soft-fp/floatundisf.c: Likewise.
6349         * soft-fp/floatunditf.c: Likewise.
6350         * soft-fp/floatunsidf.c: Likewise.
6351         * soft-fp/floatunsisf.c: Likewise.
6352         * soft-fp/floatunsitf.c: Likewise.
6353         * soft-fp/gedf2.c: Likewise.
6354         * soft-fp/gesf2.c: Likewise.
6355         * soft-fp/getf2.c: Likewise.
6356         * soft-fp/ledf2.c: Likewise.
6357         * soft-fp/lesf2.c: Likewise.
6358         * soft-fp/letf2.c: Likewise.
6359         * soft-fp/muldf3.c: Likewise.
6360         * soft-fp/mulsf3.c: Likewise.
6361         * soft-fp/multf3.c: Likewise.
6362         * soft-fp/negdf2.c: Likewise.
6363         * soft-fp/negsf2.c: Likewise.
6364         * soft-fp/negtf2.c: Likewise.
6365         * soft-fp/op-1.h: Likewise.
6366         * soft-fp/op-2.h: Likewise.
6367         * soft-fp/op-4.h: Likewise.
6368         * soft-fp/op-8.h: Likewise.
6369         * soft-fp/op-common.h: Likewise.
6370         * soft-fp/quad.h: Likewise.
6371         * soft-fp/single.h: Likewise.
6372         * soft-fp/soft-fp.h: Likewise.
6373         * soft-fp/subdf3.c: Likewise.
6374         * soft-fp/subsf3.c: Likewise.
6375         * soft-fp/subtf3.c: Likewise.
6376         * soft-fp/truncdfsf2.c: Likewise.
6377         * soft-fp/trunctfdf2.c: Likewise.
6378         * soft-fp/trunctfsf2.c: Likewise.
6379         * soft-fp/unorddf2.c: Likewise.
6380         * soft-fp/unordsf2.c: Likewise.
6381         * soft-fp/unordtf2.c: Likewise.
6382         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6383         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6384         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6385         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6386         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6387         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6388         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6389         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6390         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6391         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6392         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6393         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6395 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
6397         * config/mips/lib2funcs.c: New file.
6398         * config/mips/t-mips (LIB2ADD_ST): Add it.
6400 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
6402         PR target/6526
6403         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6404         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
6406 2013-06-08  Walter Lee  <walt@tilera.com>
6408         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6409         Replace int64_t with long long.  Add __extension__ where
6410         appropriate.
6411         * config/tilepro/atomic.c: Include config.h.
6413 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
6415         * config.host (arm-wrs-vxworks): Configure with other soft float.
6417 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
6419         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6420         (mips64r5900el-*-elf*): New configurations.
6422 2013-06-04  Alan Modra  <amodra@gmail.com>
6424         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6426 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
6428         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6430 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
6432         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6433         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6434         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6436 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
6438         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6439         (powerpc-wrs-vxworks): Likewise.
6441 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
6443         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6444         signal frames as well.
6445         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6446         STACK_BIAS to the CFA offset.
6448 2013-05-17  Richard Henderson  <rth@redhat.com>
6450         PR target/49146
6451         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6452         (execute_cfa_program): Use it when storing to fs->regs.
6454 2013-05-08  Kai Tietz  <ktietz@redhat.com>
6456         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6457         (__deregister_frame_info): Likewise.
6459 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
6461         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6462         NaN's payload.
6464         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6466 2013-04-25  Alan Modra  <amodra@gmail.com>
6468         * config.host: Match little-endian powerpc-linux.
6470 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
6472         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6473         as 'unsigned long long' instead of 'unsigned long'.
6474         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6475         'signed long'.
6477 2013-04-10  Julian Brown  <julian@codesourcery.com>
6479         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6480         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6481         unsigned char/unsigned short.
6482         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6484 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6486         PR other/55274
6487         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6489 2013-04-04  Meador Inge  <meadori@codesourcery.com>
6491         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6492         computing the location of the link register.
6493         (aeabi_uldivmod): Ditto.
6495 2013-03-27  Kai Tietz  <ktietz@redhat.com>
6497         * config.host: Add support for cygwin x64 target.
6498         * configure: Regenerated.
6500 2013-03-26  Walter Lee  <walt@tilera.com>
6502         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6503         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6505 2013-03-25  Kai Tietz  <ktietz@redhat.com>
6507         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6509 2013-03-20  Robert Mason  <rbmj@verizon.net>
6511         * config/vxlib-tls.c (__gthread_get_tsd_data,)
6512         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6513         (__gthread_leave_tsd_dtor_context): Add prototypes.
6514         (tls_delete_hook): Update.
6516 2013-03-20  Catherine Moore  <clm@codesourcery.com>
6517             Joseph Myers  <joseph@codesourcery.com>
6518             Chao-ying Fu  <fu@mips.com>
6520         * config/mips/mips16.S:  Don't build for microMIPS.
6521         * config/mips/linux-unwind.h: Handle microMIPS frame.
6522         * config/mips/crtn.S (fini, init): New labels.
6524 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
6526         PR tree-optimization/53265
6527         * unwind-dw2.c (execute_cfa_program): Avoid
6528         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6529         on targets with DWARF_FRAME_REGISTERS < 32.
6531 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
6533         PR target/49880
6534         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6535         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6537 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
6539         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6540         sandybridge processors.
6542 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
6544         PR target/56529
6545         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6546         inclusion list.
6548 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6550         * config/microblaze/crti.S: Setup stack protection at entry
6552 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
6554         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6555         (__rotldi3): Shift bytewise if applicable.
6557 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
6559         * config/aarch64/sync-cache.c
6560         (__aarch64_sync_cache_range): Silence warnings.
6562 2013-02-25  Catherine Moore  <clm@codesourcery.com>
6564         Revert:
6565         2013-02-24  Catherine Moore  <clm@codesourcery.com>
6566             Joseph Myers  <joseph@codesourcery.com>
6567             Chao-ying Fu  <fu@mips.com>
6569         * config/mips/mips16.S:  Don't build for microMIPS.
6570         * config/mips/linux-unwind.h: Handle microMIPS frame.
6571         * config/mips/crtn.S (fini, init): New labels.
6573 2013-02-24  Catherine Moore  <clm@codesourcery.com>
6574             Joseph Myers  <joseph@codesourcery.com>
6575             Chao-ying Fu  <fu@mips.com>
6577         * config/mips/mips16.S:  Don't build for microMIPS.
6578         * config/mips/linux-unwind.h: Handle microMIPS frame.
6579         * config/mips/crtn.S (fini, init): New labels.
6581 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6582         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6583         as dividend.
6585 2013-02-16  Alan Modra  <amodra@gmail.com>
6587         PR target/55431
6588         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6589         (ppc_fallback_frame_state): Always set up save locations for fp
6590         and altivec.  Don't bother with non-callee-saved regs, r0-r13
6591         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6593 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
6595         PR target/54222
6596         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6597         _ssmulHA, _ssmulSA.
6598         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6599         _ssmulha3, _usmulusa3, _ssmulsa3.
6600         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6601         (__muldi3): XCALL __muldi3_6 instead of rcall.
6602         (__umulsidi3, __mulsidi3): New functions.
6603         (do_prologue_saves, do_epilogue_restores): New .macros.
6604         (__divdi3_moddi3): Use them.
6605         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6606         (__usmulusa3, __ssmulsa3): New functions.
6608 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
6609             Jack Howarth  <howarth@bromo.med.uc.edu>
6610             Patrick Marlier  <patrick.marlier@gmail.com>
6612         PR libitm/55693
6613         * config/darwin-crt-tm.c: Remove dummy functions hack.
6615 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
6617         PR target/54222
6618         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6619         * config/avr/lib2-object.mk: New iterator to build objects from it.
6620         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6621         lib2funcs.c.
6622         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6623         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6624         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6625         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6626         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6627         * config/avr/lib1funcs-fixed.S: Implement them.
6629 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
6631         Update copyright years.
6633 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
6635         PR target/54601
6636         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6637         Add crtcxa to extra_parts.
6638         * config/rs6000/exit.h: New file.
6639         * config/rs6000/cxa_atexit.c: New file.
6640         * config/rs6000/cxa_finalize.c: New file.
6641         * config/rs6000/crtcxa.c: New file.
6642         * config/rs6000/t-aix-cxa: New file.
6643         * config/rs6000/libgcc-aix-cxa.ver: New file.
6645 2013-01-31  Nick Clifton  <nickc@redhat.com>
6647         * config/v850/lib1funcs.S: Add support for e3v5 architecture
6648         variant.
6650 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
6652         PR target/54222
6653         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6654         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
6655         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6656         _divQQ,  _divHQ,  _divHA,  _divSA,
6657         _divUQQ, _divUHQ, _divUHA, _divUSA.
6659 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
6661         * config.host(microblaze*-linux*): tmake_file: Remove
6662         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6663         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6664         to exclude functions from being built with libgcc.c and use
6665         the microblaze assembly.
6667 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6669         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6670         extra_parts.
6672 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
6674         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6675         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6676         __UINTPTR_TYPE__; also cast 'base' to the same type before the
6677         alignment operation.
6679 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
6681         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6682         loop start address for cache clearing.
6684 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6686         * config/avr/lib1funcs.S: Remove trailing blanks.
6687         * config/avr/lib1funcs-fixed.S: Ditto.
6689 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6691         * config/avr/avr-lib.h: Add GPL copyright notice.
6693 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6695         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6696         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6697         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6698         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6700 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
6702         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6703         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6705 2013-01-04  Nick Clifton  <nickc@redhat.com>
6707         * config/v850/lib1funcs.S: Only provide CALLT support functions if
6708         the CALLT instruction is supported.
6710 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
6712         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6713         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6715 2012-12-13  John Tytgat  <John@bass-software.com>
6717         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6718         is 25.
6720 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
6722         PR libgcc/55451
6723         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6724         undefined signed overflows.
6726 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
6728         PR target/55344
6729         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6731 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
6733         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6734         (FP_TRAPPING_EXCEPTIONS): Define.
6735         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6736         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6738 2012-12-04  Richard Henderson  <rth@redhat.com>
6740         PR bootstrap/55571
6741         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6743 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6745         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6746         (FP_EX_SHIFT): Define.
6747         (FP_TRAPPING_EXCEPTIONS): Define.
6749 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6751         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6752         (FP_ROUNDMODE): Use FP_RND_MASK.
6753         * config/aarch64/sfp-exceptions.c: New.
6754         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6755         Use __sfp_handle_exceptions.
6757 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
6759         * config.host: (arm*-*-freebsd*): Remove.
6760         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6761         (arm*-*-elf*): Remove.
6762         (arm*-*-wince-pe*): Remove.
6763         * arm/unwind-arm.c (struct fpa_reg): Delete.
6764         (struct fpa_regs): Delete.
6765         (phase1_vrs): Remove fpa element.
6766         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6767         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6768         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6769         * ieee754-sf.S (floatundisf): Remove FPA support.
6770         (floatdisf): Likewise.
6771         * ieee75f-df.S (floatundidf): Likewise.
6772         (floatdidf): Likewise.
6774 2012-11-29  Kai Tietz  <ktietz@redhat.com>
6776         PR target/55445
6777         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6778         * unwind-generic.h: Likewise.
6779         * unwind-seh.c: Likewise.
6781 2012-11-28  Richard Henderson  <rth@redhat.com>
6783         PR libgcc/48076
6784         * emutls.c (__emutls_get_address): Avoid race condition between
6785         obj->loc.offset read and emutls_key initialization.
6787 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
6789         Adjust decimal point of signed accum mode to GCC default.
6791         PR target/54222
6792         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6793         _divqq_helper.
6794         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6795         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6796         (__mulha3, __mulsa3)
6797         (__divqq3, __divha3, __divsa3): Adjust to new position of
6798         decimal point of signed accum types.
6800         (__mulusa3_round): New function.
6801         (__mulusa3): Use it.
6802         (__divqq_helper): New function.
6803         (__udivuqq3): Use it.
6805 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
6807         PR bootstrap/55370
6808         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6810 2012-11-18  Teresa Johnson  <tejohnson@google.com>
6812         PR bootstrap/55051
6813         * libgcov.c (gcov_exit): Remove merged program summary
6814         comparison unless !GCOV_LOCKED.
6816 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6818         * soft-fp: Updated from glibc upstream.
6820 2012-11-06  Ian Lance Taylor  <iant@google.com>
6822         * generic-morestack.c (__generic_morestack): Align the returned
6823         stack pointer to a 32 byte boundary.
6824         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6825         increment the return address until we have decided that we don't
6826         have a varargs function.
6827         (__morestack) [32-bit]: Align stack correctly when calling C
6828         functions.
6829         (__morestack) [64-bit]: Likewise.
6831 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6833         * configure: Regenerate.
6835 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
6837         PR target/55175
6838         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6839         * config/i386/sfp-machine.h: Guard exception handling
6840         code with _SOFT_FLOAT.
6841         * config/i386/32/sfp-machine.h: Guard rounding handling
6842         code with _SOFT_FLOAT.
6843         * config/i386/64/sfp-machine.h: Ditto.
6845 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
6847         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6848         as extra_parts.
6850 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
6852         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6853         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
6854         when appropriate.  Correct structure element types.
6855         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6856         -minline-all-stringops from compile flags.
6858 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6860         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6862 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6864         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6866 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6868         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6869         tmake_file.
6871 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
6872             Jim MacArthur  <jim.macarthur@arm.com>
6873             Marcus Shawcroft  <marcus.shawcroft@arm.com>
6874             Nigel Stephens  <nigel.stephens@arm.com>
6875             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6876             Richard Earnshaw  <rearnsha@arm.com>
6877             Sofiane Naci  <sofiane.naci@arm.com>
6878             Stephen Thomas  <stephen.thomas@arm.com>
6879             Tejas Belagod  <tejas.belagod@arm.com>
6880             Yufeng Zhang  <yufeng.zhang@arm.com>
6882         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6883         * config/aarch64/crti.S: New file.
6884         * config/aarch64/crtn.S: New file.
6885         * config/aarch64/linux-unwind.h: New file.
6886         * config/aarch64/sfp-machine.h: New file.
6887         * config/aarch64/sync-cache.c: New file.
6888         * config/aarch64/t-aarch64: New file.
6889         * config/aarch64/t-softfp: New file.
6891 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
6893         * config/mmix/crti.S: Mark program and data addresses using PRELD.
6894         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
6895         no-longer-needed LDBU insns.
6897 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6899         * config.host
6900         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6901         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6903 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6905         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6907 2012-10-15  Matthias Klose  <doko@ubuntu.com>
6909         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6911 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
6913         * configure: Regenerate.
6914         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6916 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6918         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6919         instructions for 64bit targets only.
6921 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6923         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6924         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6925         * config/i386/32/sfp-machine.h: ... here.
6926         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6927         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6928         New defines.
6930 2012-10-07  Matthias Klose  <doko@ubuntu.com>
6932         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6933         as unused.
6934         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6936 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
6938         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6939         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6940         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6941         (ElfW): Likewise.
6943 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
6945         PR other/53889
6946         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6947         Fix parameter names.
6949 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
6951         PR target/33135
6952         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6953         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6954         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6956 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
6958         PR target/50457
6959         * config/sh/linux-atomic.S: Delete.
6960         * config/sh/linux-atomic.c: New.
6961         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6962         linux-atomic.c.  Add cflags to disable warnings.
6964 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6966         PR other/53889
6967         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6968         function.
6969         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6970         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6971         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6972         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6973         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6974         Likewise.
6975         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6976         Likewise.
6977         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6978         Likewise.
6979         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6980         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6982 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
6984         * config.host (hppa-*-openbsd*): New target.
6985         * config/pa/t-openbsd: New file.
6987 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
6989         PR target/54222
6990         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6991         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6992         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6993         (__divsa3): Use __negsi2 to negate r_quoL.
6994         * config/avr/lib1funcs.S (FALIAS): New macro.
6995         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6996         (__negsi2): ...this new function.
6997         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6998         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6999         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7000         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7001         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7002         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7004 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
7006         PR target/54089
7007         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7008         (lshrsi3): Reimplement as lshrsi3_r0.
7010 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
7012         PR target/46191
7013         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7014         of libgcc.a.
7016 2012-09-07  Teresa Johnson  <tejohnson@google.com>
7018         PR gcov-profile/54487
7019         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7020         differences.
7022 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
7024         PR target/54461
7025         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7026         not configured --with-avrlibc=no.
7027         * config/avr/t-avrlibc: New file.
7028         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7029         (DPBIT_FUNCS): Ditto.
7030         (TPBIT_FUNCS): Ditto.
7032 2012-09-04  Teresa Johnson  <tejohnson@google.com>
7034         * libgcov.c (struct gcov_summary_buffer): New structure.
7035         (gcov_histogram_insert): New function.
7036         (gcov_compute_histogram): Ditto.
7037         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7038         histograms during summary merging.
7040 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
7042         * config.host (x86_64-*-openbsd*): New target.
7044 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
7046         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7047         attribute.
7049 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7051         PR target/54222
7052         * config/avr/t-avr (conv_X): Rename to func_X.
7054 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7056         PR target/54222
7057         * config/avr/lib1funcs-fixed.S: New file.
7058         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
7059         after they are used.
7060         (neg2, neg4): New macros.
7061         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7062         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7063         (__umulhisi3): Speed up MUL variant if there is enough flash.
7064         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7065         avr-modes.def.
7066         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7067         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7068         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7069         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7070         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7071         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7072         (LIB2FUNCS_EXCLUDE): Add supported functions.
7074 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
7076         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7077         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7078         libgcc-s-objects.
7079         * fixed-obj.mk: Only expand dependency if $o is not in
7080         LIB2FUNCS_EXCLUDE.
7082 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
7084         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7086 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
7088         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7089         depend on --enable-shared.
7090         ($(lib1asmfuncs-o)): Use %.vis files independent of
7091         --enable-shared.
7092         * static-object.mk ($(base)$(objext), $(base).vis)
7093         ($(base)_s$(objext)): Use same rules for visibility handling as in
7094         shared-object.mk.
7096 2012-08-21  Ian Lance Taylor  <iant@google.com>
7098         * config/i386/morestack.S (__morestack_non_split): Increase amount
7099         of space allocated for non-split code stack.
7101 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
7103         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7104         even if inhibit_libc.
7106 2012-08-17  Julian Brown  <julian@codesourcery.com>
7108         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7109         -fexceptions -fnon-call-exceptions if not defined.
7110         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7111         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7113 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
7115         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7116         type.
7118 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
7120         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7121         rs6000/t-slibgcc-aix.
7123 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7125         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7127 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7129         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7131 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
7133         PR driver/54171
7134         * Makefile.in (version): Replace top_srcdir with srcdir.
7136 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
7138         * Makefile.in (version): set to BASE-VER file from gcc directory.
7140 2012-08-01  Nick Clifton  <nickc@redhat.com>
7142         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7143         Implements __clrsb for an HImode argument.
7145 2012-07-31  Nick Clifton  <nickc@redhat.com>
7147         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7148         Implements __clrsb for an HImode argument.
7149         * config/stormy16/clrsbhi2.c: New file:
7150         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7152 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
7154         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7156 2012-07-19  Tristan Gingold  <gingold@adacore.com>
7157             Richard Henderson  <rth@redhat.com>
7159         * unwind-seh.c: New file.
7160         * unwind-generic.h: Include windows.h for SEH.
7161         (_Unwind_Exception): Use 6 private fields for SEH.
7162         (_GCC_specific_handler): Declare.
7163         * unwind-c.c (__gcc_personality_seh0): New function.
7164         Adjust for SEH.
7165         * config/i386/libgcc-cygming.ver: New file.
7166         * config/i386/t-seh-eh: New file.
7167         * config.host (x86_64-*-mingw*): Default to seh.
7169 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
7171         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7173 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
7175         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7176         __builtin_expect when checking for exceptions.
7177         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7179 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7181         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7182         function declaration.
7183         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7184         (FP_RND_MASK): New.
7185         * config/ia64/sfp-exceptions.c: New.
7186         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7188 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7190         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7191         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7192         * config/i386/64/sfp-machine: ... (delete here) ...
7193         * config/i386/sfp-machine.h: ... to here.
7194         (FP_EX_MASK): Remove.
7195         (FP_RND_MASK): New.
7196         (FP_INIT_ROUNDMODE): Declare asm as volatile.
7198 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
7200         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7201         * config/i386/libgcc-sol2.ver: Ditto.
7202         * config/i386/libgcc-glibc.ver: Ditto.
7204 2012-06-11  Roland McGrath  <mcgrathr@google.com>
7206         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7207         If __GLIBC__ is defined, refer to __pthread_key_create instead of
7208         pthread_cancel.
7210 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
7212         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7213         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7214         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7215         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7216         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7217         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7218         * config/i386/64/sfp-machine: ... (delete here) ...
7219         * config/i386/sfp-machine.h: ... to here.
7220         (FP_EX_MASK): New.
7221         (__sfp_handle_exceptions): New function declaration.
7222         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7223         * config/i386/sfp-exceptions.c: New.
7224         * config/i386/t-softfp: New.
7225         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7226         i386/t-softfp to tmake_file.
7228 2012-06-03  David S. Miller  <davem@davemloft.net>
7230         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7231         change.
7233 2012-05-31  David S. Miller  <davem@davemloft.net>
7235         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7236         multiply and divide instructions on 32-bit when V9.
7237         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7239 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
7241         * config/arm/ieee754-df.S: Fix typos.
7242         * config/arm/ieee754-sf.S: Fix typos.
7243         * config/c6x/libunwind.S: Fix typos.
7244         * config/epiphany/udivsi3-float.c: Fix typos.
7245         * config/microblaze/muldi3_hard.S: Fix typos.
7246         * config/picochip/adddi3.S: Fix typos.
7247         * config/picochip/ashlsi3.S: Fix typos.
7248         * config/picochip/ashrsi3.S: Fix typos.
7249         * config/picochip/clzsi2.S: Fix typos.
7250         * config/picochip/cmpsi2.S: Fix typos.
7251         * config/picochip/divmod15.S: Fix typos.
7252         * config/picochip/divmodhi4.S: Fix typos.
7253         * config/picochip/divmodsi4.S: Fix typos.
7254         * config/picochip/longjmp.S: Fix typos.
7255         * config/picochip/lshrsi3.S: Fix typos.
7256         * config/picochip/parityhi2.S: Fix typos.
7257         * config/picochip/popcounthi2.S: Fix typos.
7258         * config/picochip/setjmp.S: Fix typos.
7259         * config/picochip/subdi3.S: Fix typos.
7260         * config/picochip/ucmpsi2.S: Fix typos.
7261         * config/picochip/udivmodhi4.S: Fix typos.
7262         * config/picochip/udivmodsi4.S: Fix typos.
7263         * config/spu/divv2df3.c: Fix typos.
7264         * config/spu/mfc_multi_tag_release.c: Fix typos.
7265         * config/spu/mfc_tag_release.c: Fix typos.
7266         * configure.ac: Fix typos.
7267         * configure: Regenerate.
7269 2012-05-25  Ian Lance Taylor  <iant@google.com>
7271         * config/i386/morestack.S (__morestack_non_split): Check whether
7272         caller is varargs and needs %bp to hold the stack frame on return.
7274 2012-05-25  Olivier Hainque  <hainque@adacore.com>
7276         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7277         sequence in the non pic case on VxWorks.
7279 2012-05-24  Olivier Hainque  <hainque@adacore.com>
7281         * Makefile.in: Move dependency on install-unwind_h from
7282         "install-leaf" to "install".
7284 2012-05-24  Olivier Hainque  <hainque@adacore.com>
7286         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7287         Use a separate command for stamp removals.
7289 2012-05-21  Andrew Pinski  <apinski@cavium.com>
7291         PR bootstrap/53183
7292         * configure.ac: Define the default includes to being none.
7293         * configure: Regenerate.
7295 2012-05-16  Olivier Hainque  <hainque@adacore.com>
7297         * Makefile.in (install-unwind_h): Rename into ...
7298         (install-unwind_h-forbuild): New target.
7299         (all): Use it instead of the former install-unwind_h.
7300         (install-unwind_h): Reinstate, copy to user install destination
7301         for include files, not to the internal gcc object directory one.
7302         (install-leaf): Depend on it.
7304 2012-05-15  Olivier Hainque  <hainque@adacore.com>
7306         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7307         register numbers. LR_REGNO replaces R_LR.
7308         (ucontext_for): New, helper for ...
7309         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7310         and 5.3 of ...
7311         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7313 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7315         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7316         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7317         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7318         i386/t-cpuinfo ...
7319         (i[34567]86-*-*, x86_64-*-*): ... here.
7321         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7322         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7324         * config/i386/i386-cpuinfo.c: Rename to ...
7325         * config/i386/cpuinfo.c: ... this.
7326         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7328         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7329         (libgcc_cv_init_priority): New test.
7330         * configure: Regenerate.
7331         * config.in: New file.
7332         * Makefile.in (clean): Rename config.h to auto-target.h.
7333         (config.h): Likewise.
7334         (stamp-h): Likewise.
7336         * config/i386/cpuinfo.c (auto-target.h): Include.
7337         (CONSTRUCTOR_PRIORITY): Define.
7338         (__cpu_indicator_init): Use it.
7340 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
7342         * longlong.h: Use a URL instead of an FSF postal address.
7343         Replace spaces with tab.
7345 2012-05-08  Teresa Johnson  <tejohnson@google.com>
7347         * libgcov.c (gcov_clear, __gcov_reset): New functions.
7348         (__gcov_dump): Ditto.
7349         (gcov_dump_complete): New global variable.
7350         (gcov_exit): Export hidden to enable use in L_gcov_dump.
7351         (__gcov_flush): Outline functionality now in gcov_clear.
7352         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7354 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
7356         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7357         (mips*-*-linux*): Include mips/t-tpbit when long double is
7358         16 bytes long.
7360 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
7362         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7363         (get_available_features): New argument. Check for AVX2.
7364         (__cpu_indicator_init): Modify call to get_available_features.
7366 2012-04-25  Alan Modra  <amodra@gmail.com>
7368         * config/rs6000/crtsavevr.S: New file.
7369         * config/rs6000/crtrestvr.S: New file.
7370         * config/rs6000/t-savresfgpr: Build the above.
7371         * config/rs6000/t-netbsd: Likewise.
7373 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
7375         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7377 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
7379         * libgcc/config/i386/i386-cpuinfo.c: New file.
7380         * libgcc/config/i386/t-cpuinfo: New file.
7381         * libgcc/config.host: Include t-cpuinfo.
7382         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7384 2012-04-24  Chao-ying Fu  <fu@mips.com>
7386         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7388 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
7390         struct siginfo vs. siginfo_t
7392         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7393         siginfo_t instead of struct siginfo.
7394         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7395         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7396         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7397         (ia64_handle_unwabi): Likewise.
7398         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7399         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7400         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7401         (sh_fallback_frame_state): Likewise.
7402         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7403         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7405 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
7407         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7408         system call number.
7410 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
7412         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7413         if it hasn't been previously saved.
7415 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
7417         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7418         only for glibc.
7420 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
7422         PR target/52737
7423         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7424         instead of __AVR_HAVE_8BIT_SP__.
7426 2012-03-26  Tristan Gingold  <gingold@adacore.com>
7428         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7429         (unw_table_entry): Use unw_word instead of unsigned long.
7430         (_Unwind_FindTableEntry): Likewise.
7431         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7432         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7433         (_Unwind_FindTableEntry): Likewise.
7434         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7435         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7436         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7437         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7438         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7439         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7440         (uw_init_context_1, uw_install_context): Likewise.
7441         (unw_word): Move to unwind-ia64.h
7443 2012-03-26  Tristan Gingold  <gingold@adacore.com>
7445         * config/vms/vms-ucrt0.c: Update copyright years.
7446         Add a sanity check.
7447         (___gcc_main_flags): Declare.
7448         (__main): Check flags to remap argv and exit code.
7449         * config.host (*-*-*vms*): Adjust extra_parts.
7450         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7451         (crt0.o): Add.
7453 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
7455         * arm/lib1funcs.asm (ctzsi2): New function.
7456         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7457         * arm/t-linux (LIB1ASMFUNCS): Likewise.
7458         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7459         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7460         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7461         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7463 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
7465         * config.host: Add bits to support powerpc64-*-freebsd*.
7466         * config/rs6000/freebsd-unwind.h: New file.
7467         * config/rs6000/t-freebsd64: New file.
7469 2012-03-20  Richard Guenther  <rguenther@suse.de>
7471         PR gcov-profile/52627
7472         * libgcov.c (init_mx): Fix mutex name.
7474 2012-03-16  Tristan Gingold  <gingold@adacore.com>
7476         * config/ia64/vms-unwind.h: Remove ulong (and replace
7477         it by unw_reg where used).  Define unw_reg with __int64.
7479 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7481         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7482         Solaris 8 handling.
7483         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7484         Solaris 8 handling.
7485         (sparc_is_sighandler): Likewise.
7487 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
7489         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7490         <= saved reg size.
7492 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7494         * config/arm/crtn.S: Fix typo.
7496 2012-03-13  Richard Guenther  <rguenther@suse.de>
7498         * libgcov.c: Remove stdio.h include and NULL un-define.
7500 2012-03-13  Richard Guenther  <rguenther@suse.de>
7502         PR target/52569
7503         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7505 2012-03-13  Richard Guenther  <rguenther@suse.de>
7507         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7509 2012-03-13  Richard Guenther  <rguenther@suse.de>
7511         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7512         and __gthread_mutex_init_function definitions.
7514 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7516         * config.host (mips*-*-openbsd*): Remove.
7518 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7520         * config.host: Remove alpha*-dec-osf5.1* handling.
7521         * config/alpha/gthr-posix.c: Remove.
7522         * config/alpha/libgcc-osf5.ver: Remove.
7523         * config/alpha/osf5-unwind.h: Remove.
7524         * config/alpha/t-osf-pthread: Remove.
7525         * config/alpha/t-slibgcc-osf: Remove.
7526         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7527         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7528         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7529         * mkmap-flat.awk: Remove osf_export handling.
7531 2012-03-12  Richard Guenther  <rguenther@suse.de>
7533         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7534         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7535         (__gthread_mutex_init_function): New function.
7536         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7538         PR gcov/49484
7539         * libgcov.c: Include gthr.h.
7540         (__gcov_flush_mx): New global variable.
7541         (init_mx, init_mx_once): New functions.
7542         (__gcov_flush): Protect self with a mutex.
7543         (__gcov_fork): Re-initialize mutex after forking.
7544         * unwind-dw2-fde.c: Change condition under which to use
7545         __GTHREAD_MUTEX_INIT_FUNCTION.
7547 2012-03-12  Tristan Gingold  <gingold@adacore.com>
7549         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7550         * config/ia64/t-vms: Likewise.
7552 2012-03-11  Michael Hope  <michael.hope@linaro.org>
7554         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7555         for Thumb-2.
7557 2012-03-07  Walter Lee  <walt@tilera.com>
7559         * config/tilepro/atomic.c: Rename "atomic_" prefix to
7560         "arch_atomic_".
7561         (atomic_xor): Rename and move definition to
7562         config/tilepro/atomic.h.
7563         (atomic_nand): Ditto.
7564         * config/tilepro/atomic.h: Rename "atomic_" prefix to
7565         "arch_atomic_".
7566         (arch_atomic_xor): Move from config/tilepro/atomic.c.
7567         (arch_atomic_nand): Ditto.
7569 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7571         PR target/52507
7572         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7574 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7576         PR target/52505
7577         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7578         from RAM.
7580 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7582         PR target/52461
7583         PR target/52508
7584         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7585         if RAMPZ affects reading from RAM.
7586         (__tablejump_elpm__): Ditto.
7587         (.xload): Ditto.
7588         (__movmemx_hi): Ditto.
7589         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7590         (__do_global_dtors): Ditto.
7591         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7592         (__movmemx_hi): Ditto.
7594 2012-03-05  Richard Henderson  <rth@redhat.com>
7596         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7597         [ARM] (count_trailing_zeros): Use the builtin.
7599 2012-03-01  Kai Tietz  <ktietz@redhat.com>
7601         * soft-fp: Imported from glibc upstream.
7603 2012-02-28  Kai Tietz  <ktietz@redhat.com>
7605         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7606         for mingw-targets as attribute gcc_struct.
7608 2012-02-28  Ian Lance Taylor  <iant@google.com>
7610         * generic-morestack.c (__splitstack_releasecontext): Correct call
7611         to __morestack_release_segments.
7613 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7615         PR target/52390
7616         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7617         for __linux__ when removing signals from __morestack_fullmask.
7619 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
7621         PR target/52261
7622         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7624 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7626         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7627         instead of HAVE_INITFINI_ARRAY.
7628         * config/ia64/crtend.S: Likewise.
7630 2012-02-20  Kai Tietz  <ktietz@redhat.com>
7632         PR libstdc++/52300
7633         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7635         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7636         to w32-unwind.h header.
7638 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
7640         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7641         (mips*-*-linux*): Remove t-slibgcc-libgcc.
7642         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7643         * config/mips/mips16.S (__mips16_rdhwr): Delete.
7645 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
7647         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7649 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7651         PR libitm/52220
7652         * config/darwin-crt-tm.c: Correct typo.
7654 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7655             Patrick Marlier  <patrick.marlier@gmail.com>
7657         PR libitm/52220
7658         * config/darwin-crt-tm.c: Generate dummy functions.
7660 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7661             Patrick Marlier  <patrick.marlier@gmail.com>
7663         PR libitm/52042
7664         * config/darwin-crt-tm.c (getTMCloneTable): New function.
7665         (__doTMRegistrations): Call it.
7666         (__doTMdeRegistrations): Likewise.
7668 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
7669             Anatoly Sokolov  <aesok@post.ru>
7670             Eric Weddington  <eric.weddington@atmel.com>
7672         PR target/52261
7673         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7674         (__epilogue_restores__): Ditto.
7676 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
7678         PR target/51921
7679         PR target/52205
7680         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7681         Solaris 11 and slightly reformat.
7682         (sparc_is_sighandler): Likewise.
7684 2012-02-14  Walter Lee  <walt@tilera.com>
7686         * config.host: Handle tilegx and tilepro.
7687         * config/tilegx/sfp-machine.h: New file.
7688         * config/tilegx/sfp-machine32.h: New file.
7689         * config/tilegx/sfp-machine64.h: New file.
7690         * config/tilegx/t-crtstuff: New file.
7691         * config/tilegx/t-softfp: New file.
7692         * config/tilegx/t-tilegx: New file.
7693         * config/tilepro/atomic.c: New file.
7694         * config/tilepro/atomic.h: New file.
7695         * config/tilepro/linux-unwind.h: New file.
7696         * config/tilepro/sfp-machine.h: New file.
7697         * config/tilepro/softdivide.c: New file.
7698         * config/tilepro/softmpy.S: New file.
7699         * config/tilepro/t-crtstuff: New file.
7700         * config/tilepro/t-tilepro: New file.
7702 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
7704         PR libstdc++/51296
7705         PR libstdc++/51906
7706         * gthr-posix.h: Allow static initializer macros to be disabled.
7707         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7709 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7711         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7712         Add t-slibgcc-libgcc to tmake_file.
7713         * config/mips/libgcc-mips16.ver: Revert previous patch.
7714         * config/mips/mips16.S (__mips16_rdhwr): Hide.
7716 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
7717             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
7719         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7720         * config/cr16/crti.S: New file.
7721         * config/cr16/crtlibid.S: New file.
7722         * config/cr16/crtn.S: New file.
7723         * config/cr16/lib1funcs.S: New file.
7724         * config/cr16/t-cr16: New file.
7725         * config/cr16/t-crtlibid: New file.
7726         * config/cr16/unwind-dw2.h: New file.
7727         * config/cr16/unwind-cr16.c: New file.
7728         * config/cr16/divmodhi3.c: New file.
7730 2012-01-25  Alan Modra  <amodra@gmail.com>
7732         * config/rs6000/t-linux64: Delete.  Move..
7733         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7734         * config/rs6000/t-linux: ..and libgcc flags to here.
7736 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
7738         * config.host (i[34567]86-*-interix3*):
7739         Change triplet to i[34567]86-*-interix[3-9]*.
7740         * configure: Regenerate.
7742 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
7743             Richard Sandiford  <rdsandiford@googlemail.com>
7745         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7746         * config/mips/mips16.S (__mips16_rdhwr): New function.
7747         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7749 2012-01-11  Nathan Sidwell  <nathan@acm.org>
7751         * libgcov.c (__gcov_init): Ignore objects with no functions.
7753 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
7755         PR target/49868
7756         Extend __pgmx semantics to linearize memory.
7757         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7758         * config/avr/lib1funcs.S (__xload_1): New function.
7759         (__movmemx_qi, __movmemx_hi): New functions.
7760         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7761         semantics.
7763 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
7765         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7766         purported sigacthandler address isn't null before dereferencing it.
7767         (sparc_is_sighandler): Likewise.
7769 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
7771         PR ada/41929
7772         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7773         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
7774         (sparc_is_sighandler): Likewise.
7775         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7777 2012-01-06  Tristan Gingold  <gingold@adacore.com>
7779         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7780         compatibility thunks...
7781         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7782         (crtbeginS.o, crtendS.o): ... and these to ...
7783         * config/ia64/t-ia64-elf: ... this new file.
7784         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7785         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7787 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7789         * configure: Regenerate.
7790         * config/s390/t-crtstuff: Remove -fPIC.
7792 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7794         PR bootstrap/51006
7795         * enable-execute-stack-mprotect.c (getpagesize): Do not define
7796         for NetBSD.
7798 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7800         PR target/51345
7801         * config/avr/lib1funcs.S: Remove FIXME comments.
7802         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7804 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7806         Implement light-weight DImode support.
7807         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7808         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7809         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7810         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7812 2011-12-30  Nathan Sidwell  <nathan@acm.org>
7814         * libgcov.c (gcov_crc32): Remove global var.
7815         (free_fn_data): New function.
7816         (buffer_fn_data): Pass in filename, more robust error recovery.
7817         (crc32_unsigned): New function.
7818         (gcov_exit): More robust detection of new program. More robust
7819         error recovery.
7820         (__gcov_init): Do not update program's crc here.
7822 2011-12-21  Tristan Gingold  <gingold@adacore.com>
7824         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7826 2011-12-21  Ian Lance Taylor  <iant@google.com>
7828         * config/i386/morestack.S: Simplify CFI opcodes throughout.
7830 2011-12-20  Ian Lance Taylor  <iant@google.com>
7832         * config/i386/morestack.S (__morestack_non_split): If there is
7833         enough stack space already, don't split.  Ask for more stack space
7834         than we required.
7836 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
7838         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7839         `sys/sdt.h'.
7840         (_Unwind_DebugHook): New function.
7841         (uw_restore_core_regs): New define.
7842         (unwind_phase2): Use uw_restore_core_regs instead of
7843         restore_core_regs.
7844         (unwind_phase2_forced): Likewise.
7845         (__gnu_Unwind_Resume): Likewise.
7847 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
7849         * config/alpha/linux-unwind.h: Update copyright years.
7850         (MD_FROB_UPDATE_CONTEXT): New define.
7851         (alpha_frob_update_context): New function.
7853 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
7855         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7856         tmake_file rather replacing it.
7858 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
7860         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7861         function is not used for PPC64.
7862         (save_world): Amend comments.  Update the VRsave mask to reflect the
7863         saved regs.
7864         (rest_world): Update comments, do not  clobber r10, do not use r8.
7865         (eh_rest_world_r10): Amend comments, do not use r8.
7866         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7867         no longer used, move restore of CR and target address to the end of
7868         the routine.
7870 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
7872         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7873         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7875 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
7877         PR target/49313
7878         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7879         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7881 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
7883         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7885 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
7887         PR target/49313
7888         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7889         * config/avr/lib1funcs.S (__muldi3): New function.
7891 2011-12-06  Andrew Pinski  <apinski@cavium.com>
7893         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7894         size of func_ptr.
7895         (__frame_dummy_init_array_entry): Likewise.
7897 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
7899         Forward-port from gcc-4_6-branch r181936 2011-12-02.
7901         PR target/51345
7902         PR target/51002
7903         * config/avr/lib1funcs.S (__prologue_saves__,
7904         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7905         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
7907 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
7909         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7911 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7913         PR other/51272
7914         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7915         (_ITM_deregisterTMCloneTable): Likewise.
7916         (__register_frame_info): Fix unused warning.
7917         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7918         pthread_default_stacksize_np): Likewise.
7919         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7921 2011-11-29  DJ Delorie  <dj@redhat.com>
7923         * config.host (rl78-*-elf): New case.
7924         * config/rl78: New directory for the Renesas RL78.
7926 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
7928         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
7929         formatting.
7931 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7933         PR other/51022
7934         * config/rs6000/t-savresfgpr: New file.
7935         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7936         $(srcdir)/config/rs6000/eabi.S.
7937         * config/rs6000/t-ppccomm-ldbl: Remove.
7938         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7939         tmake_file.
7940         (powerpc-*-eabispe*): Likewise.
7941         (powerpc-*-eabi*): Likewise.
7942         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7943         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7944         to tmake_file, remove rs6000/t-ppccomm-ldbl.
7945         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7946         tmake_file.
7947         (powerpc-*-eabisim*): Likewise.
7948         (powerpc-*-elf*): Likewise.
7949         (powerpc-*-eabialtivec*): Likewise.
7950         (powerpc-xilinx-eabi*): Likewise.
7951         (powerpc-*-rtems*): Likewise.
7952         (powerpcle-*-elf*): Likewise.
7953         (powerpcle-*-eabisim*): Likewise.
7954         (powerpcle-*-eabi*): Likewise.
7956 2011-11-27  Ian Lance Taylor  <iant@google.com>
7958         * generic-morestack.c (__splitstack_find): Check for NULL old
7959         stack value.
7960         (__splitstack_resetcontext): New function.
7961         (__splitstack_releasecontext): New function.
7962         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7964 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7966         * config/darwin-crt-tm.c: Correct comments, use correct licence.
7968 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7970         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7972 2011-11-26  Richard Henderson  <rth@redhat.com>
7974         * config/m68k/linux-atomic.c: New file.
7975         * config/m68k/t-linux: New file.
7976         * config.host (m68k-uclinux, m68k-linux): Use it.
7978 2011-11-26  Richard Henderson  <rth@redhat.com>
7980         * crtstuff.c (__TMC_LIST__): Mark used not unused.
7981         (__TMC_END__): Only declare if hidden is available; in the definition,
7982         if hidden is unavailable add a null record.
7983         (deregister_tm_clones, register_tm_clones): New.
7984         (__do_global_dtors_aux, frame_dummy): Use them.
7985         (__do_global_dtors, __do_global_ctors_1): Likewise.
7987 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
7989         * config/darwin-crt-tm.c: New file.
7990         * config.host (darwin): Build crttms.o crttme.o to provide
7991         startup and shutdown for tm clones.
7992         * config/t-darwin (crttms.o): New build rule.
7993         (crttme.o): Likewise.
7995 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
7997         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7998         et al.
8000 2011-11-21  Richard Henderson  <rth@redhat.com>
8002         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8003         (__TMC_LIST__, __TMC_END__): New.
8004         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8005         (__do_global_dtors): Likewise.
8006         (frame_dummy): Call _ITM_registerTMCloneTable.
8007         (__do_global_ctors_1): Likewise.
8009 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8011         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8012         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8013         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8014         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8015         * config/i386/t-darwin64: Remove.
8016         * config/sh/t-netbsd (LIB2ADD): Remove.
8018 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
8020         PR target/49313
8021         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8022         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8023         * config/avr/lib1funcs.S (wmov): New assembler macro.
8024         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8025         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8026         (__udivmod64): New function.
8027         (__negdi2): New function.
8029 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
8031         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8032         *-*-freebsd*aout*): Remove.
8034 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
8036         * static-object.mk (c_flags-$o): Save c_flags.
8037         ($(base)$(objext)): Use it.
8039 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
8041         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8043 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
8045         PR target/49868
8046         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8047         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8048         New functions.
8050 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8052         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8053         functions.
8054         (aeabi_uidivmod): Likewise.
8055         (umodsi3): Likewise.
8056         (divsi3): Likewise.
8057         (aeabi_idivmod): Likewise.
8058         (modsi3): Likewise.
8060 2011-11-16  Tristan Gingold  <gingold@adacore.com>
8062         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8064 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
8066         PR target/49868
8067         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
8068         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8070 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8072         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8073         tmake_file list.
8074         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8075         * config/pa/t-stublib64: Delete.
8077 2011-11-12  Richard Henderson  <rth@redhat.com>
8079         * config/rs6000/linux-unwind.h (frob_update_context): Properly
8080         cast the pointer argument to _Unwind_SetGRPtr.
8082 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8084         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8086 2011-11-09  Ian Lance Taylor  <iant@google.com>
8088         * generic-morestack.c: Include <string.h>.
8089         (uintptr_type): Define.
8090         (struct initial_sp): Add dont_block_signals field.  Reduce size of
8091         extra array by 1.
8092         (allocate_segment): Set prev field to NULL.  Don't set
8093         __morestack_current_segment or __morestack_segments.
8094         (__generic_morestack): Update current->prev and *pp after calling
8095         allocate_segment.
8096         (__morestack_block_signals): Don't do anything if
8097         dont_block_signals is set.
8098         (__morestack_unblock_signals): Likewise.
8099         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
8100         uintptr_type.
8101         (__splitstack_block_signals): New function.
8102         (enum __splitstack_content_offsets): Define.
8103         (__splitstack_getcontext, __splitstack_setcontext): New functions.
8104         (__splitstack_makecontext): New function.
8105         (__splitstack_block_signals_context): New function.
8106         (__splitstack_find_context): New function.
8107         * config/i386/morestack.S (__morestack_get_guard): New function.
8108         (__morestack_set_guard, __morestack_make_guard): New functions.
8109         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8111 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8113         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8114         (i[34567]86-*-mingw*): ... here.
8115         (x86_64-*-mingw*): ... here.
8117 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8119         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8121 2011-11-07  Nathan Sidwell  <nathan@acm.org>
8123         * libgcov.c (struct gcov_fn_buffer): New struct.
8124         (buffer_fn_data): New helper.
8125         (gcov_exit): Rework for new gcov data structures.
8127 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
8129         PR target/49313
8130         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8132 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8134         * config.host (tmake_file): Correct comment.
8135         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8136         t-libgcc-pic.
8137         (bfin*-uclinux*): Likewise.
8138         (bfin*-linux-uclibc*): Likewise.
8139         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8141         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8142         assigning.
8143         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8144         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8145         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8146         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8147         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8148         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8149         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8150         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8151         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8152         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8153         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8154         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8155         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8157         * config/bfin/t-elf: Remove.
8158         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8160 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8162         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8163         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8164         (lm32-*-elf*, lm32-*-rtems*): Split into ...
8165         (lm32-*-elf*): ... this.
8166         (lm32-*-rtems*): ... and this.
8167         Add to tmake_file.
8168         (m32r-*-rtems*): Add to tmake_file.
8169         (moxie-*-rtems*): Likewise.
8170         (sparc-*-rtems*): Likewise.
8171         Remove t-rtems from tmake_file.
8172         (sparc64-*-rtems*): Likewise.
8173         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8174         instead.
8176 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8178         PR bootstrap/50982
8179         * config/gthr-posix.h: Move ...
8180         * gthr-posix.h: ... here.
8181         * config/gthr-lynx.h: Reflect this.
8182         * config/gthr-vxworks.h: Likewise.
8183         * config/rs6000/gthr-aix.h: Likewise.
8184         * configure.ac (target_thread_file): Likewise.
8185         * configure: Regenerate.
8187 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8189         * config.host (arm*-*-rtemseabi*): New target.
8191 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8193         PR other/50991
8194         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8195         extra-parts.
8197 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
8199         * config.host (epiphany-*-elf*): New configuration.
8200         * config/epiphany: New Directory.
8202 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
8204         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8205         * config/avr/t-rtems: New.
8206         Filter out _exit from LIB1ASMFUNCS.
8208 2011-11-04  David S. Miller  <davem@davemloft.net>
8210         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8211         * configure: Rebuild.
8213 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8215         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8216         variable.
8218 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
8220         PR target/50931
8221         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8222         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8224 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
8226         PR target/50989
8227         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8229 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8231         * config/c6x/t-elf (LIB2ADDEH): Set.
8232         * config/c6x/t-c6x-elf: Remove.
8234 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8236         * config/i386/sol2-ci.S: Rename to ...
8237         * config/i386/crti.S: ... this.
8238         * config/i386/sol2-cn.S: Rename to ...
8239         * config/i386/crtn.S: ... this.
8240         * config/sparc/sol2-ci.S: Rename to ...
8241         * config/sparc/crti.S: ... this.
8242         * config/sparc/sol2-cn.S: Rename to ...
8243         * config/sparc/crtn.S: ... this.
8244         * config/t-sol2 (CUSTOM_CRTIN): Remove.
8245         (crti.o, crtn.o): Remove.
8247 2011-11-04  Tristan Gingold  <gingold@adacore.com>
8249         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8251 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8253         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8255 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
8257         * config.host (crisv32-*-none, cris-*-none): Remove.
8258         (crisv32-*-elf): Append to tmake_file, don't just set it.
8259         (cris-*-elf): Add missing t-fdpbit to tmake_file.
8261 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8263         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8264         (ecrtn$(objext)): Likewise.
8265         (ncrti$(objext)): Likewise.
8266         (ncrtn$(objext)): Likewise.
8268 2011-11-03  Andreas Schwab  <schwab@redhat.com>
8270         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8272 2011-11-02  David S. Miller  <davem@davemloft.net>
8274         * configure.ac: Set host_address on sparc too.
8275         * configure: Regenerate.
8276         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8277         based upon host_address.
8278         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8280 2011-11-02  Jason Merrill  <jason@redhat.com>
8282         * config/rs6000/t-ppccomm: Add missing \.
8284 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8286         * gthr-single.h, gthr.h: New files.
8287         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8288         config/gthr-vxworks.h, config/i386/gthr-win32.h,
8289         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8290         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8291         * config/i386/gthr-win32.c: Include "gthr-win32.h".
8292         * configure.ac (thread_header): New variable.
8293         Set it depending on target_thread_file.
8294         (gthr-default.h): Link from $thread_header.
8295         * configure: Regenerate.
8296         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8298 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8300         * configure.ac (tm_file_): New variable.
8301         Determine from tm_file.
8302         (tm_file, tm_defines): Substitute.
8303         * configure: Regenerate.
8304         * mkheader.sh: New file.
8305         * Makefile.in (clean): Remove libgcc_tm.h.
8306         ($(objects)): Depend on libgcc_tm.h.
8307         (libgcc_tm_defines, libgcc_tm_file): New variables.
8308         (libgcc_tm.h, libgcc_tm.stamp): New targets.
8309         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8310         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8311         ($(extra-parts)): Depend on libgcc_tm.h.
8312         * config.host (tm_defines, tm_file): New variable.
8313         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8314         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8315         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8316         (avr-*-rtems*): Likewise.
8317         (avr-*-*): Likewise.
8318         (frv-*-elf): Likewise.
8319         (frv-*-*linux*): Likewise.
8320         (h8300-*-rtems*): Likewise.
8321         (h8300-*-elf*): Likewise.
8322         (i[34567]86-*-darwin*): Likewise.
8323         (x86_64-*-darwin*): Likewise.
8324         (rx-*-elf): Likewise.
8325         (tic6x-*-uclinux): Likewise.
8326         (tic6x-*-elf): Likewise.
8327         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8328         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8329         * config/i386/cygming-crtbegin.c: Likewise.
8330         * config/i386/cygming-crtend.c: Likewise.
8331         * config/ia64/fde-vms.c: Likewise.
8332         * config/ia64/unwind-ia64.c: Likewise.
8333         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8334         * config/rs6000/darwin-fallback.c: Likewise.
8335         * config/stormy16/lib2funcs.c: Likewise.
8336         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8337         * crtstuff.c: Likewise.
8338         * dfp-bit.h: Likewise.
8339         * emutls.c: Likewise.
8340         * fixed-bit.c: Likewise.
8341         * fp-bit.c: Likewise.
8342         * generic-morestack-thread.c: Likewise.
8343         * generic-morestack.c: Likewise.
8344         * libgcc2.c: Likewise.
8345         * libgcov.c: Likewise.
8346         * unwind-dw2-fde-dip.c: Likewise.
8347         * unwind-dw2-fde.c: Likewise.
8348         * unwind-dw2.c: Likewise.
8349         * unwind-sjlj.c: Likewise.
8351 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8353         * configure.ac: Include ../config/picflag.m4.
8354         (GCC_PICFLAG): Call it.
8355         Substitute.
8356         * configure: Regenerate.
8357         * Makefile.in (gcc_srcdir): Remove.
8358         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8359         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8360         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8361         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8362         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8363         Use $<.
8364         Remove comment.
8365         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8366         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8367         to refer to libgcc2.c.
8368         Use $<.
8369         * config/darwin-64.c: New file.
8370         * config/darwin-crt3.c: Remove comment.
8371         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8372         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8373         config/udivmodsi4.c: New files.
8374         * config/memcmp.c, config/memcpy.c, config/memmove.c,
8375         config/memset.c: New files.
8376         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8377         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8378         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8379         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8380         * config/t-openbsd-thread: New file.
8381         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8382         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8383         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8384         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8385         qrnnd.S.
8386         Adapt filename.
8387         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8388         to refer to gthr-posix.c.
8389         * config/alpha/t-vms (LIB2ADD): Set.
8390         * config/alpha/vms-gcc_shell_handler.c: New file.
8391         * config/arm/bpabi.c, config/arm/fp16.c,
8392         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8393         config/arm/unaligned-funcs.c: New files.
8394         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8395         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8396         * config/arm/t-linux: Likewise.
8397         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8398         * config/arm/t-netbsd: New file.
8399         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8400         * config/arm/t-symbian (LIB2ADD_ST): Set.
8401         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8402         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8403         * config/bfin/t-elf: New file.
8404         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8405         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8406         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8407         config/c6x/ltf.c: New files.
8408         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8409         (HOST_LIBGCC2_CFLAGS): Set.
8410         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8411         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8412         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8413         New files.
8414         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8415         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8416         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8417         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8418         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8419         files.
8420         * config/frv/t-frv (LIB2ADD): Set.
8421         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8422         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8423         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8424         config/h8300/popcounthi2.c: New files.
8425         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8426         * config/i386/gthr-win32.c: New file.
8427         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8428         * config/i386/t-cygwin: Likewise.
8429         * config/i386/t-darwin, config/i386/t-darwin64,
8430         config/i386/t-gthr-win32, config/i386/t-interix: New files.
8431         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8432         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8433         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8434         * config/ia64/quadlib.c: New file.
8435         * config/ia64/t-hpux (LIB2ADD): Set.
8436         * config/ia64/t-ia64: Add comment.
8437         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8438         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8439         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8440         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8441         * config/m32c/t-m32c (LIB2ADD): Set.
8442         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8443         * config/m32r/t-m32r: Likewise.
8444         * config/m68k/fpgnulib.c: New file.
8445         * config/m68k/t-floatlib (LIB2ADD): Set.
8446         (xfgnulib.c): New target.
8447         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8448         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8449         * config/mep/t-mep (LIB2ADD): Set.
8450         * config/microblaze/divsi3.asm: Rename to divsi3.S.
8451         * config/microblaze/moddi3.asm: Rename to moddi3.S.
8452         * config/microblaze/modsi3.asm: Rename to modsi3.S.
8453         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8454         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8455         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8456         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8457         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8458         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8459         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8460         New files.
8461         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8462         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8463         * config/pa/fptr.c, config/pa/lib2funcs.S,
8464         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8465         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8466         (LIB2ADD, LIB2ADD_ST): Set.
8467         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8468         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8469         Set.
8470         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8471         * config/pdp11/t-pdp11: New file.
8472         * config/picochip/libgccExtras/adddi3.S,
8473         config/picochip/libgccExtras/ashlsi3.S,
8474         config/picochip/libgccExtras/ashrsi3.S,
8475         config/picochip/libgccExtras/clzsi2.S,
8476         config/picochip/libgccExtras/cmpsi2.S,
8477         config/picochip/libgccExtras/divmod15.S,
8478         config/picochip/libgccExtras/divmodhi4.S,
8479         config/picochip/libgccExtras/divmodsi4.S,
8480         config/picochip/libgccExtras/lshrsi3.S,
8481         config/picochip/libgccExtras/parityhi2.S,
8482         config/picochip/libgccExtras/popcounthi2.S,
8483         config/picochip/libgccExtras/subdi3.S,
8484         config/picochip/libgccExtras/ucmpsi2.S,
8485         config/picochip/libgccExtras/udivmodhi4.S,
8486         config/picochip/libgccExtras/udivmodsi4.S: New files.
8487         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8488         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8489         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8490         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8491         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8492         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8493         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
8494         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8495         files.
8496         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8497         (HOST_LIBGCC2_CFLAGS): Set.
8498         * config/rs6000/t-darwin64: New file.
8499         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8500         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8501         * config/rs6000/t-ppccomm (LIB2ADD): Add
8502         $(srcdir)/config/rs6000/tramp.S.
8503         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8504         Add  $(srcdir)/config/rs6000/eabi.S.
8505         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8506         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8507         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8508         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8509         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8510         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8511         * config/rs6000/tramp.S: New file.
8512         * config/s390/t-tpf: Remove.
8513         * config/sh/linux-atomic.S: New file.
8514         * config/sh/t-linux (LIB2ADD): Set.
8515         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8516         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8517         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8518         to unwind-dw2.c.
8519         (HOST_LIBGCC2_CFLAGS): Set.
8520         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8521         * config/spu/divmodti4.c, config/spu/divv2df3.c,
8522         config/spu/float_disf.c, config/spu/float_unsdidf.c,
8523         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8524         config/spu/mfc_multi_tag_release.c,
8525         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8526         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8527         config/spu/multi3.c: New files.
8528         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8529         (HOST_LIBGCC2_CFLAGS): Set.
8530         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8531         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8532         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8533         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8534         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8535         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8536         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8537         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8538         config/stormy16/umodsi3.c: New files.
8539         * config/xtensa/lib2funcs.S: New file.
8540         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8541         * config/xtensa/t-xtensa (LIB2ADD): Set.
8542         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8543         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8544         Add t-freebsd-thread to tmake_file for posix threads.
8545         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8546         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8547         (*-*-lynxos*): Likewise.
8548         (*-*-netbsd*): Likewise.
8549         (*-*-openbsd*): Likewise.
8550         Add t-openbsd-thread to tmake_file for posix threads.
8551         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8552         (*-*-vxworks*): Set tmake_file.
8553         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8554         (alpha*-*-freebsd*): Likewise.
8555         (alpha*-*-netbsd*): Likewise.
8556         (alpha*-*-openbsd*): Likewise.
8557         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8558         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8559         (alpha*-dec-*vms*): Likewise.
8560         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8561         (bfin*-elf*): Add bfin/t-elf to tmake_file.
8562         (bfin*-uclinux*): Likewise.
8563         (bfin*-linux-uclibc*): Likewise.
8564         (crisv32-*-elf): Add cris/t-cris to tmake_file.
8565         (crisv32-*-none): Likewise.
8566         (cris-*-elf): Likewise.
8567         (cris-*-none): Likewise.
8568         (cris-*-linux*, crisv32-*-linux*): Likewise.
8569         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8570         tmake_file.
8571         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8572         tmake_file.
8573         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8574         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8575         (x86_64-*-elf*): Likewise.
8576         (i[34567]86-*-nto-qnx*): Likewise.
8577         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8578         win32 threads.
8579         (x86_64-*-mingw*): Likewise.
8580         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8581         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8582         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8583         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8584         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8585         tmake_file.
8586         (mipsisa64sr71k-*-elf*): Likewise.
8587         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8588         (mips-*-elf*, mipsel-*-elf*): Likewise.
8589         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8590         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8591         (mips*-*-rtems*): Likewise.
8592         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8593         to tmake_file.
8594         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8595         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8596         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8597         (spu-*-elf*): Likewise.
8598         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8600 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8602         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8603         $(srcdir) to refer to $(LIB1ASMSRC).
8604         Use $<.
8605         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8606         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8607         config/arm/lib1funcs.S: New files.
8608         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8609         * config/arm/t-arm: New file.
8610         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8611         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8612         config/arm/t-strongarm-elf: New files.
8613         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8614         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8615         * config/avr/lib1funcs.S: New file.
8616         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8617         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8618         * config/c6x/lib1funcs.S: New file.
8619         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8620         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8621         * config/frv/lib1funcs.S: New file.
8622         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8623         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8624         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8625         * config/ia64/__divxf3.asm: Rename to ...
8626         * config/ia64/__divxf3.S: ... this.
8627         Adapt lib1funcs.asm filename.
8628         * config/ia64/_fixtfdi.asm: Rename to ...
8629         * config/ia64/_fixtfdi.S: ... this.
8630         Adapt lib1funcs.asm filename.
8631         * config/ia64/_fixunstfdi.asm: Rename to ...
8632         * config/ia64/_fixunstfdi.S: ... this.
8633         Adapt lib1funcs.asm filename.
8634         * config/ia64/_floatditf.asm: Rename to ...
8635         * config/ia64/_floatditf.S: ... this.
8636         Adapt lib1funcs.asm filename.
8637         * config/ia64/lib1funcs.S: New file.
8638         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8639         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8640         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8641         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8642         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8643         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8644         * config/mep/lib1funcs.S: New file.
8645         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8646         * config/mips/mips16.S: New file.
8647         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8648         * config/pa/milli64.S: New file.
8649         * config/pa/t-linux, config/pa/t-linux64: New files.
8650         * config/picochip/lib1funcs.S: New file.
8651         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8652         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8653         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8654         * config/sh/t-netbsd: New file.
8655         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8656         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8657         * config/sh/t-sh64: New file.
8658         * config/sparc/lb1spc.S: New file.
8659         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8660         filename.
8661         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8662         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8663         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8664         config/xtensa/lib1funcs.S: New files.
8665         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8666         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8667         tmake_file.
8668         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8669         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8670         (arm*-*-linux*): Likewise.
8671         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8672         arm*-*-linux-*eabi, add arm/t-linux otherwise.
8673         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8674         (arm*-*-ecos-elf): Likewise.
8675         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8676         (arm*-*-rtems*): Likewise.
8677         (arm*-*-elf): Likewise.
8678         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8679         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8680         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8681         (bfin*-uclinux*): Likewise.
8682         (bfin*-linux-uclibc*): Likewise.
8683         (bfin*-rtems*): Likewise.
8684         (bfin*-*): Likewise.
8685         (fido-*-elf): Merge into m68k-*-elf*.
8686         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8687         (frv-*-*linux*): Add frv/t-frv to tmake_file.
8688         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8689         (h8300-*-elf*): Likewise.
8690         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8691         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8692         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8693         (i[34567]86-*-mingw*): Likewise.
8694         (x86_64-*-mingw*): Likewise.
8695         (i[34567]86-*-interix3*): Likewise.
8696         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8697         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8698         (m68k-*-elf*): Also handle fido-*-elf.
8699         Add m68k/t-floatlib to tmake_file.
8700         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8701         (m68k-*-linux*): Likewise.
8702         (m68k-*-rtems*): Likewise.
8703         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8704         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8705         sh64*-*-*.
8706         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8707         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8708         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8709         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8710         sh/t-netbsd to tmake_file.
8711         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8712         (sh-*-rtems*): Add sh/t-sh to tmake_file.
8713         (sh-wrs-vxworks): Likewise.
8714         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8715         *-leon[3-9]*.
8716         (v850*-*-*): Add v850/t-v850 to tmake_file.
8717         (vax-*-linux*): Add vax/t-linux to tmake_file.
8718         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8720 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8722         * crtstuff.c: New file.
8723         * Makefile.in (CRTSTUFF_CFLAGS): Define.
8724         (CRTSTUFF_T_CFLAGS): Define.
8725         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8726         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8727         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8728         crtstuff.c.
8729         Use $<.
8730         (crtbeginT.o): Use $(objext).
8731         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8732         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8733         (gcc-extra-parts): Remove.
8734         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8735         Set extra_parts.
8736         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8737         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8738         Add t-crtstuff-pic to tmake_file.
8739         (*-*-lynxos*): New case.
8740         Set tmake_file, extra_parts.
8741         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8742         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8743         *-*-netbsdelf[2-9]*.
8744         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8745         (*-*-rtems*): Set extra_parts.
8746         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8747         (*-*-uclinux*): New case.
8748         Set extra_parts.
8749         (*-*-vms*): New case.
8750         Set tmake_file, extra_parts.
8751         (*-*-elf): Set extra_parts.
8752         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8753         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8754         vms/t-vms64.
8755         Set extra_parts.
8756         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8757         Set extra_parts.
8758         (arm*-*-freebsd*): Add t-crtin to tmake_file.
8759         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8760         (arm-wrs-vxworks): Append to tmake_file.
8761         Set extra_parts.
8762         (arm*-*-uclinux*): Set extra_parts.
8763         (arm*-*-ecos-elf): Likewise.
8764         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8765         arm*-*-eabi*.
8766         (arm*-*-rtems*): Set extra_parts.
8767         (arm*-*-elf): Likewise.
8768         (avr-*-rtems*): Clear extra_parts.
8769         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8770         Set extra_parts.
8771         (bfin*-uclinux*): Likewise.
8772         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8773         (bfin*-rtems*): Append to tmake_file.
8774         Set extra_parts.
8775         (bfin*-*): Likewise.
8776         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8777         (crisv32-*-elf): ... this.
8778         (crisv32-*-none): ... this.
8779         (cris-*-elf, cris-*-none): New cases.
8780         Add cris/t-elfmulti to tmake_file.
8781         (fr30-*-elf): Append to tmake_file.
8782         Set extra_parts.
8783         (frv-*-elf): Append to tmake_file, add frv/t-frv.
8784         Set extra_parts.
8785         (h8300-*-rtems*): Append to tmake_file.
8786         Set extra_parts.
8787         (h8300-*-elf*): Likewise.
8788         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8789         Set extra_parts.
8790         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8791         Set extra_parts.
8792         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8793         (x86_64-*-elf*): Likewise.
8794         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8795         (x86_64-*-freebsd*): Likewise.
8796         (x86_64-*-netbsd*): Likewise.
8797         (i[34567]86-*-linux*): Likewise.
8798         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8799         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8800         (x86_64-*-linux*): Likewise.
8801         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8802         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8803         tmake_file.
8804         Set extra_parts.
8805         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8806         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8807         Append to extra_parts, remove crtbegin.o, crtend.o.
8808         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8809         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8810         crtend.o, crtbeginS.o, crtendS.o.
8811         (ia64*-*-linux*): Comment extra_parts.
8812         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8813         Set extra_parts.
8814         (iq2000*-*-elf*): Clear extra_parts.
8815         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8816         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8817         (m32r-*-elf*, m32r-*-rtems*): Split off ...
8818         (m32r-*-rtems*): ... this.
8819         Add m32r/t-m32r to tmake_file.
8820         (m68k-*-elf*): Add t-crtin to tmake_file.
8821         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8822         (mcore-*-elf): Likewise.
8823         (microblaze*-*-*): Set extra_parts.
8824         (mips*-sde-elf*): New case.
8825         Set tmake_file, extra_parts.
8826         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8827         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8828         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8829         tmake_file.
8830         Set extra_parts.
8831         (mipsisa64sr71k-*-elf*): Likewise.
8832         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8833         (mips-*-elf*, mipsel-*-elf*): Likewise.
8834         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8835         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8836         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
8837         (mips*-*-rtems*): Likewise.
8838         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8839         (moxie-*-*): Split into ...
8840         (moxie-*-elf, moxie-*-uclinux*): ... this.
8841         Add to extra_parts, remove crtbegin.o, crtend.o.
8842         (moxie-*-rtems*): New case.
8843         Set tmake_file.
8844         Clear extra_parts.
8845         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8846         Set extra_parts.
8847         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8848         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8849         tmake_file.
8850         Set extra_parts.
8851         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8852         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8853         Set extra_parts.
8854         (powerpc-*-eabisim*): Likewise.
8855         (powerpc-*-elf*): Likewise.
8856         (powerpc-*-eabialtivec*): Likewise.
8857         (powerpc-xilinx-eabi*): Likewise.
8858         (powerpc-*-eabi*): Likewise.
8859         (powerpc-*-rtems*): Likewise.
8860         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8861         tmake_file.
8862         Set extra_parts.
8863         (powerpc-*-lynxos*): Add to tmake_file.
8864         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8865         rs6000/t-crtstuff, t-crtstuff-pic.
8866         Set extra_parts.
8867         (powerpcle-*-eabisim*): Likewise.
8868         (powerpcle-*-eabi*): Likewise.
8869         (rx-*-elf): Remove extra_parts.
8870         (s390x-ibm-tpf*): Set extra_parts.
8871         (score-*-elf): Set extra_parts.
8872         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8873         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8874         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8875         (sh64l*-*-netbsd*): Split into ...
8876         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8877         Add t-crtstuff-pic to tmake_file.
8878         Set extra_parts.
8879         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8880         Set extra_parts.
8881         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8882         (sparc-*-elf*): Remove t-crtin from tmake_file.
8883         Add to extra_parts, remove crtbegin.o, crtend.o.
8884         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8885         (sparc64-*-linux*): Likewise.
8886         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8887         Add to extra_parts, remove crtbegin.o, crtend.o.
8888         (sparc64-*-elf*): Remove t-crtin from tmake_file.
8889         Add to extra_parts, remove crtbegin.o, crtend.o.
8890         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8891         Add to extra_parts, remove crtbegin.o, crtend.o.
8892         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8893         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8894         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8895         Set extra_parts.
8896         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8897         Set extra_parts.
8898         (tic6x-*-*): Change to ...
8899         (tic6x-*-elf): ... this.
8900         Set extra_parts.
8901         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8902         Set extra_parts.
8903         (am33_2.0-*-linux*): Add comment.
8904         (mep*-*-*): Add mep/t-mep to tmake_file.
8905         Set extra_parts.
8906         * config/alpha/t-vms: New file.
8907         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8908         * config/arm/crti.S, config/arm/crtn.S: New files.
8909         * config/bfin/crti.S, config/bfin/crtn.S: New files.
8910         * config/bfin/crtlibid.S: New file.
8911         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8912         * config/c6x/crti.S, config/c6x/crtn.S: New files.
8913         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8914         (crti.o, crtin.o): New rules.
8915         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8916         * config/c6x/t-uclinux: New file.
8917         * config/cris/t-elfmulti: New file.
8918         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8919         * config/fr30/crti.S, config/fr30/crtn.S: New files.
8920         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8921         * config/frv/t-frv: New file.
8922         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8923         * config/h8300/crti.S, config/h8300/crtn.S: New files.
8924         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8925         New files.
8926         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8927         refer to cygming-crtbegin.c, cygming-crtend.c.
8928         Use $<.
8929         * config/i386/t-nto: New file.
8930         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8931         * config/ia64/crti.S, config/ia64/crtn.S: New files.
8932         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8933         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8934         Use .S extension.
8935         Use $<.
8936         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8937         (crtinitS.o): New rule.
8938         * config/ia64/vms-crtinit.S: New file.
8939         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8940         * config/m32r/initfini.c: New file.
8941         * config/m32r/t-linux, config/m32r/t-m32r: New files.
8942         * config/m68k/crti.S, config/m68k/crtn.S: New files.
8943         * config/mcore/crti.S, config/mcore/crtn.S: New files.
8944         * config/mep/t-mep: New file.
8945         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8946         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8947         * config/mips/crti.S, config/mips/crtn.S: New files.
8948         * config/mips/t-crtstuff: New file.
8949         * config/mmix/crti.S, config/mmix/crtn.S: New files.
8950         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8951         (CUSTOM_CRTIN): Set.
8952         ($(T)crti.o, $(T)crtn.o): Remove $(T),
8953         dependencies.
8954         Use $(srcdir) to refer to crti.S, crtn.S.
8955         Use .S extension, $<.
8956         * config/moxie/crti.asm: Rename to ...
8957         * config/moxie/crti.S: ... this.
8958         * config/moxie/crtn.asm: Rename to ...
8959         * config/moxie/crtn.S: ... this.
8960         * config/moxie/t-moxie: Remove.
8961         * config/pa/stublib.c: New file.
8962         * config/pa/t-stublib, config/pa/t-stublib64: New files.
8963         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8964         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8965         * config/rs6000/t-crtstuff: New file.
8966         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8967         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8968         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8969         Make output file explicit.
8970         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8971         Make output file explicit.
8972         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8973         Make output file explicit.
8974         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8975         Make output file explicit.
8976         * config/score/crti.S, config/score/crtn.S: New files.
8977         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8978         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8979         files.
8980         * config/sh/t-sh, config/sh/t-superh: New files.
8981         * config/sparc/t-linux64: New file.
8982         * config/spu/cache.S, config/spu/cachemgr.c: New files.
8983         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8984         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8985         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8986         * config/t-crtin: Remove.
8987         * config/t-crtstuff-pic: New file.
8988         * config/t-sol2 (CUSTOM_CRTIN): Set.
8989         (crti.o, crtn.o): New rules.
8990         * config/vms/t-vms: New file.
8991         * config/vms/vms-ucrt0.c: New file.
8992         * config/xtensa/t-elf: New file.
8994 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8996         * Makefile.in (SHLIB_NM_FLAGS): Set.
8997         * mkmap-flat.awk, mkmap-symver.awk: New files.
8998         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8999         exceptions.
9000         * configure: Regenerate.
9001         * config/libgcc-glibc.ver: New file.
9002         * config/libgcc-libsystem.ver: New file.
9003         * config/t-libunwind (SHLIB_LC): Set.
9004         * config/t-linux: New file.
9005         * config/t-slibgcc (INSTALL_SHLIB): New.
9006         (SHLIB_INSTALL): Use it.
9007         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9008         to mkmap-symver.awk.
9009         (SHLIB_MAPFILES): Don't append, adapt pathname.
9010         (SHLIB_VERPFX): Set.
9011         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9012         to mkmap-symver.awk.
9013         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9014         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9015         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9016         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9017         to mkmap-flat.awk.
9018         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9019         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9020         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9021         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9022         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9023         * config/i386/libgcc-darwin.10.4.ver,
9024         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9025         New files.
9026         * config/i386/t-darwin: Remove.
9027         * config/i386/t-darwin64: Likewise.
9028         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9029         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9030         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9031         * config/i386/t-linux: New file.
9032         * config/i386/t-mingw32: New file.
9033         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9034         * config/ia64/t-glibc: Rename to ...
9035         * config/ia64/t-linux: ... this.
9036         (SHLIB_MAPFILES): Set.
9037         * config/ia64/t-glibc-libunwind: Rename to ...
9038         * config/ia64/t-linux-libunwind: ... this.
9039         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9040         * config/ia64/t-slibgcc-hpux: New file.
9041         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9042         * config/m68k/t-slibgcc-elf-ver: New file.
9043         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9044         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9045         to mkmap-flat.awk.
9046         * config/pa/t-slibgcc-hpux: New file.
9047         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9048         files.
9049         * config/rs6000/libgcc-darwin.10.4.ver,
9050         config/rs6000/libgcc-darwin.10.5.ver: New files.
9051         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9052         config/rs6000/libgcc-glibc.ver.
9053         * config/rs6000/libgcc-ppc64.ver: Rename to
9054         config/rs6000/libgcc-ibm-ldouble.ver.
9055         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9056         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9057         * config/rs6000/t-ldbl128: Rename to ...
9058         * config/rs6000/t-linux: ... this.
9059         (SHLIB_MAPFILES): Adapt filename.
9060         * config/rs6000/t-slibgcc-aix: New file.
9061         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9062         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9063         libgcc-excl.ver, libgcc-glibc.ver.
9064         (SHLIB_LINK, SHLIB_INSTALL): Remove.
9065         * config/sparc/libgcc-glibc.ver: New file.
9066         * config/sparc/t-linux: New file.
9067         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9068         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9069         t-slibgcc-elf-ver to tmake_file.
9070         Add t-slibgcc-nolc-override to tmake_file for posix threads on
9071         *-*-freebsd[34].
9072         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9073         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9074         t-slibgcc-elf-ver, t-linux to tmake_file.
9075         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9076         tmake_file.
9077         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9078         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9079         (alpha*-dec-*vms*): Likewise.
9080         (arm*-*-freebsd*): Append to tmake_file.
9081         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9082         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9083         arm*-*-linux-*eabi.
9084         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9085         tmake_file for arm*-*-symbianelf*.
9086         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9087         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9088         cris/t-linux.
9089         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9090         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9091         pa/t-slibgcc-dwarf-ver to tmake_file.
9092         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9093         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9094         (hppa*64*-*-hpux11*): Likewise.
9095         (hppa[12]*-*-hpux11*): Likewise.
9096         (x86_64-*-darwin*): Don't override tmake_file, but only keep
9097         i386/t-crtpc, i386/t-crtfm.
9098         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9099         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9100         to tmake_file.
9101         Add i386/t-cygwin to tmake_file.
9102         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9103         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9104         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9105         to tmake_file.
9106         Add i386/t-mingw32 to tmake_file.
9107         (x86_64-*-mingw*): Likewise.
9108         (ia64*-*-freebsd*): Append to tmake_file.
9109         (ia64*-*-linux*): Append to tmake_file.
9110         Replace ia64/t-glibc by ia64/t-linux.
9111         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9112         system libunwind.
9113         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9114         t-slibgcc-hpux to tmake_file.
9115         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9116         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9117         (m32rle-*-linux*): Likewise.
9118         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9119         sjlj exceptions.
9120         (microblaze*-linux*): New case.
9121         Append to tmake_file, add t-slibgcc-nolc-override.
9122         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9123         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9124         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9125         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9126         rs6000/t-slibgcc-aix to tmake_file.
9127         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9128         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9129         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9130         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9131         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9132         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9133         sh*-*-linux*.
9134         (sparc-*-linux*): Append to tmake_file for *-leon*.
9135         Add sparc/t-linux to tmake_file for non-Leon targets.
9136         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9137         (tic6x-*-uclinux): New case.
9138         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9139         (tic6x-*-*): Add c6x/t-elf to tmake_file.
9140         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9141         (am33_2.0-*-linux*): Append to tmake_file.
9142         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9143         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9144         x86_64-*-kfreebsd*-gnu.
9145         Add i386/t-linux to tmake_file.
9147 2011-10-28  Ian Lance Taylor  <iant@google.com>
9149         * config/i386/morestack.S: Correct CFI information to do proper
9150         returns throughout function.  In 32-bit mode, save %ebx so that it
9151         is restored on unwind.
9153 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
9155         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9156         case where B3 isn't the return register.
9158         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9159         logic for doubleword pops.
9161 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
9163         * config/rs6000/t-freebsd: Add wildcard.
9165 2011-10-21  Paul Brook  <paul@codesourcery.com>
9167         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9169 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
9170             Eric Botcazou  <ebotcazou@adacore.com>
9172         PR target/50737
9173         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9174         fs->signal_frame to 1.
9176 2011-10-07  Ian Lance Taylor  <iant@google.com>
9178         * generic-morestack-thread.c: #include <errno.h>.
9180 2011-10-07  Ian Lance Taylor  <iant@google.com>
9182         PR target/46093
9183         * generic-morestack.c (__generic_morestack): Make sure the segment
9184         is large enough for both the stack frame and the copied
9185         parameters.
9187 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9189         PR bootstrap/49804
9190         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9191         extra_parts.
9193 2011-09-28  Nick Clifton  <nickc@redhat.com>
9195         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9196         64-bit doubles are not enabled.
9197         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9198         and floatunsisf functions.
9200 2011-09-13  Paul Brook  <paul@codesourcery.com>
9202         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
9203         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9204         * unwind-arm-common.inc: New file.
9205         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9206         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9207         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9208         * config/c6x/libunwind.S: New file.
9209         * config/c6x/pr-support.c: New file.
9210         * config/c6x/unwind-c6x.c: New file.
9211         * config/c6x/unwind-c6x.h: New file.
9212         * config/c6x/t-c6x-elf: New file.
9214 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
9216         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9217         (ASM_DIVZERO): Ditto.
9218         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9220 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
9222         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9224 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
9226         PR target/50090
9227         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9228         instead of an assembly one.
9230 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
9232         PR bootstrap/50047
9233         * Makefile.in (install-unwind_h): Create
9234         $(gcc_objdir)/include/unwind.h atomically.
9236 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9238         * Makefile.in (install-unwind_h): Remove destination file first.
9240 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9242         * sync.c: New file.
9243         * config/mips/t-mips16: New file.
9244         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9245         (mips*-*-linux*): Likewise.
9246         (mips*-sde-elf*): Likewise.
9247         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9248         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9249         Add mips/t-mips16 to tmake_file.
9250         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9251         (mips-*-elf*): Likewise.
9252         (mips64-*-elf*): Likewise.
9253         (mips64orion-*-elf*): Likewise.
9254         (mips*-*-rtems*): Likewise.
9255         (mipstx39-*-elf*): Likewise.
9256         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9257         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9258         LIBGCC_SYNC_CFLAGS.
9259         Use $(srcdir) to refer to sync.c.
9260         Use $<.
9261         ($(libgcc-sync-funcs-o)): Likewise.
9262         ($(libgcc-sync-size-funcs-s-o)): Likewise.
9263         ($(libgcc-sync-funcs-s-o)): Likewise.
9265 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9267         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9268         t-libunwind.
9270 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
9272         PR other/48007
9273         * config/i386/value-unwind.h: New.
9275 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
9277         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9278         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9279         Add to tmake_file rather than overriding it.
9281 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9283         * config/t-softfp: Remove.
9284         * soft-fp: Moved from ../gcc/config.
9285         * soft-fp/README: Remove t-softfp reference.
9286         * soft-fp/t-softfp: Move to config/t-softfp.
9287         (softfp_machine_header): Remove.
9288         (softfp_file_list): Remove config subdir.
9289         (soft-fp-objects): New variable.
9290         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9291         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9292         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9293         * config/t-softfp-excl: New file.
9294         * config/t-softfp-sfdf: New file.
9295         * config/t-softfp-tf: New file.
9296         * config/no-sfp-machine.h: New file.
9297         * config/arm/sfp-machine.h: New file.
9298         * config/arm/t-softfp: New file.
9299         * config/c6x/sfp-machine.h: New file.
9300         * config/i386/32/t-fprules-softfp: Rename to ...
9301         * config/i386/32/t-softfp: ... this.
9302         (tifunctions, LIB2ADD): Remove.
9303         (softfp_int_modes): Override.
9304         * config/i386/64/t-softfp-compat (tf-functions): Remove config
9305         subdir.
9306         * config/i386/64/eqtf2.c: Likewise.
9307         * config/i386/64/getf2.c: Likewise.
9308         * config/i386/64/letf2.c: Likewise.
9309         * config/ia64/sft-machine.h: New file.
9310         * config/ia64/t-fprules-softfp: Rename to ...
9311         * config/ia64/t-softfp: ... this.
9312         * config/lm32/sfp-machine.h: New file.
9313         * config/moxie/t-moxie-softfp: Remove.
9314         * config/rs6000/ibm-ldouble-format: New file.
9315         * config/rs6000/ibm-ldouble.c: New file.
9316         * config/rs6000/libgcc-ppc-glibc.ver: New file
9317         * config/rs6000/libgcc-ppc64.ver: New file
9318         * config/rs6000/sfp-machine.h: New file.
9319         * config/rs6000/t-freebsd: New file.
9320         * config/rs6000/t-ibm-ldouble: New file.
9321         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9322         libgcc-ppc-glibc.ver.
9323         * config/rs6000/t-linux64: New file.
9324         * config/rs6000/t-ppccomm (LIB2ADD): Add
9325         $(srcdir)/config/rs6000/ibm-ldouble.c.
9326         * config/rs6000/t-ppccomm-ldbl: New file.
9327         * config/score/sfp-machine.h: New file.
9328         * config.host (sfp_machine_header): Explain.
9329         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9330         t-softfp to tmake_file.
9331         (arm*-*-uclinux*): Likewise.
9332         (arm*-*-ecos-elf): Likewise.
9333         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9334         (arm*-*-rtems*): Likewise.
9335         (arm*-*-elf): Likewise.
9336         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9337         in tmake_file.
9338         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9339         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9340         (lm32-*-uclinux*): Likewise.
9341         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9342         t-softfp-excl, t-softfp.
9343         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9344         (powerpc64-*-darwin*): Likewise.
9345         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9346         to tmake_file.
9347         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9348         tmake_file.
9349         (powerpc-*-eabisim*): Likewise.
9350         (powerpc-*-elf*): Likewise.
9351         (powerpc-*-eabialtivec*): Likewise.
9352         (powerpc-xilinx-eabi*): Likewise.
9353         (powerpc-*-rtems*): Likewise.
9354         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9355         t-softfp-excl, t-softfp to tmake_file.
9356         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9357         rs6000/t-ppccomm-ldbl to tmake_file.
9358         (powerpcle-*-elf*): Likewise.
9359         (powerpcle-*-eabisim*): Likewise.
9360         (powerpcle-*-eabi*): Likewise.
9361         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9362         rs6000/t-ibm-ldouble to tmake_file.
9363         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9364         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9365         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9366         (tic6x-*-*): Likewise.
9367         (i[34567]86-*-darwin*, x86_64-*-darwin*,
9368         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9369         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9370         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9371         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9372         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9373         t-softfp to tmake_file.
9374         * configure.ac (sfp_machine_header): Provide default if unset.
9375         Substitute.
9376         Link sfp-machine.h to config/$sfp_machine_header.
9377         * configure: Regenerate.
9379 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9381         * Makefile.in (double_type_size, long_double_type_size): Set.
9382         Remove $(fpbit-in-libgcc) support.
9383         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9384         (fpbit-src): New variable.
9385         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9386         Compile with -DFLOAT $(FPBIT_CFLAGS).
9387         Use $<.
9388         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9389         Compile with $(FPBIT_CFLAGS).
9390         Use $<.
9391         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9392         Compile with -DFLOAT $(TPBIT_CFLAGS).
9393         Use $<.
9394         * configure.ac (double_type_size, long_double_type_size):
9395         Determine and substitute.
9396         * configure: Regenerate.
9397         * fp-bit.c, fp-bit.h: New files.
9398         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9399         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9400         * config/mips/t-mips: New file.
9401         * config/mips/t-sdemtk: New file.
9402         * config/rs6000/ppc64-fp.c: New file.
9403         * config/rs6000/t-darwin (LIB2ADD): Add
9404         $(srcdir)/config/rs6000/ppc64-fp.c.
9405         * config/rs6000/t-ppc64-fp: New file.
9406         * config/rx/rx-lib.h: New file.
9407         * config/rx/t-rx (FPBIT): Set to true.
9408         ($(gcc_objdir)/fp-bit.c): Remove.
9409         (DPBIT): Set to true only with -m64bit-doubles.
9410         ($(gcc_objdir)/dp-bit.c): Remove.
9411         * config/sparc/t-softfp: Remove.
9412         * config/spu/t-elf: New file.
9413         * config/t-fdpbit, config/t-fpbit: New files.
9414         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9415         (mips*-*-*): Likewise.
9416         (arm-wrs-vxworks): Likewise.
9417         (arm*-*-freebsd*): Likewise.
9418         (avr-*-rtems*): Add t-fpbit to tmake_file.
9419         (avr-*-*): Likewise.
9420         (bfin*-elf*): Add t-fdpbit to tmake_file.
9421         (bfin*-uclinux*): Likewise.
9422         (bfin*-linux-uclibc*): Likewise.
9423         (bfin*-rtems*): New case.
9424         Add t-fdpbit to tmake_file.
9425         (bfin*-*): Add t-fdpbit to tmake_file.
9426         (crisv32-*-elf): Likewise.
9427         (cris-*-linux*): Likewise.
9428         (fr30-*-elf): Likewise.
9429         (frv-*-elf, frv-*-*linux*): Likewise.
9430         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9431         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9432         (m32r-*-elf*): Likewise.
9433         (m32rle-*-elf*): Likewise.
9434         (m32r-*-linux*): Likewise.
9435         (m32rle-*-linux*): Likewise.
9436         (mcore-*-elf): Add t-fdpbit to tmake_file.
9437         (microblaze*-*-*): Likewise.
9438         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9439         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9440         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9441         Fix typo.
9442         Add mips/t-tpbit to tmake-file.
9443         (mips*-*-linux*): Fix typo.
9444         (mips*-sde-elf*): New case
9445         Add mips/t-sdemtk unless using newlib.
9446         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9447         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9448         (mn10300-*-*): Likewise.
9449         (pdp11-*-*): Likewise.
9450         (picochip-*-*): Add t-fpbit to tmake_file.
9451         (powerpc-*-eabisimaltivec*): Likewise.
9452         (powerpc-*-eabisim*): Likewise.
9453         (powerpc-*-elf*): Likewise.
9454         (powerpc-*-eabialtivec*): Likewise.
9455         (powerpc-xilinx-eabi*): New case.
9456         Add t-fdpbit to tmake_file.
9457         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
9458         (powerpc-*-rtems*): Likewise.
9459         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9460         tmake_file.
9461         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9462         tmake_file.
9463         (powerpc-*-lynxos*): Likewise.
9464         (powerpcle-*-elf*): Likewise.
9465         (powerpcle-*-eabisim*): Likewise.
9466         (powerpcle-*-eabi*): Likewise.
9467         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9468         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9469         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9470         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9471         (rx-*-elf): Add t-fdpbit to tmake_file.
9472         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9473         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9474         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9475         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9476         sh*-*-netbsd*.
9477         (sh-*-rtems*): Add t-fdpbit to tmake_file.
9478         (sh-wrs-vxworks): Likewise.
9479         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9480         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9481         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9482         (sparc64-*-rtems*): ... new case.
9483         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9484         (spu-*-elf*): Likewise.
9485         Add spu/t-elf to tmake_file.
9486         (v850*-*-*): Add t-fdpbit to tmake_file.
9487         (xstormy16-*-elf): Likewise.
9488         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9489         (mep*-*-*): Likewise.
9491 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9493         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9494         variables.
9495         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9496         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9497         (install-unwind_h): New target.
9498         (all): Depend on it.
9499         * config.host (unwind_header): New variable.
9500         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9501         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9502         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9503         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9504         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9505         Set unwind_header.
9506         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9507         Set unwind_header.
9508         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9509         arm*-*-eabi*.
9510         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9511         Set unwind_header.
9512         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9513         (ia64*-*-freebsd*): Likewise.
9514         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9515         tmake_file.
9516         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9517         $with_system_libunwind.
9518         (ia64*-*-hpux*): Set tmake_file.
9519         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9520         (picochip-*-*): Set tmake_file.
9521         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9522         md_unwind_header.
9523         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9524         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9525         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9526         (xtensa*-*-elf*): Set tmake_file.
9527         (xtensa*-*-linux*): Likewise.
9528         * configure.ac: Include ../config/unwind_ipinfo.m4.
9529         Call GCC_CHECK_UNWIND_GETIPINFO.
9530         Link unwind.h to $unwind_header.
9531         * configure: Regenerate.
9532         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9533         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9534         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9535         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9536         * config/unwind-dw2-fde-darwin.c: New file.
9537         * config/arm/libunwind.S, config/arm/pr-support.c,
9538         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9539         config/arm/unwind-arm.h,: New files.
9540         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9541         config/ia64/t-eh-ia64, config/ia64/t-glibc,
9542         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9543         config/ia64/t-vms, config/ia64/unwind-ia64.c,
9544         config/ia64/unwind-ia64.h: New files.
9545         * config/picochip/t-picochip: New file.
9546         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9547         files.
9548         * config/rs6000/t-darwin (LIB2ADDEH): Set.
9549         * config/s390/t-tpf (LIB2ADDEH): Remove.
9550         * config/t-darwin (LIB2ADDEH): Set.
9551         * config/t-eh-dw2-dip: New file.
9552         * config/t-libunwind, config/t-libunwind-elf: New files.
9553         * config/t-sol2 (LIB2ADDEH): Remove.
9554         * config/xtensa/t-xtensa: New file.
9556 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
9558         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9559         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9560         long long to check rt_sigreturn syscall.
9562 2011-08-02  Alan Modra  <amodra@gmail.com>
9564         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9565         Restore for indirect call bcrtl from correct stack slot, and only
9566         if cfa+40 isn't valid.
9568 2011-08-01  Julian Brown  <julian@codesourcery.com>
9570         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9571         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9572         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9574 2011-08-01  Julian Brown  <julian@codesourcery.com>
9576         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9577         (libgcc-std.ver.in): Use above.
9578         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9579         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
9580         throughout file.
9581         * config/t-fixedpoint-gnu-prefix: New file.
9582         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9583         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9584         instead of __PFX__.
9586 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
9588         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9589         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9590         for x86-64.  Properly check __x86_64__ and __LP64__.
9592 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
9594         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9595         version.
9596         (_FP_WS_TYPE): Likewise.
9597         (_FP_I_TYPE): Likewise.
9599 2011-07-28  Alan Modra  <amodra@gmail.com>
9601         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9602         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9603         in a plt call stub.  Do restore r2 if stopped on bctrl.
9605 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9607         * config.host (i[3456x]86-*-netware*): Remove.
9608         * config/i386/netware-crt0.c, config/i386/t-nwld,
9609         config/i386/t-slibgcc-nwld: Remove.
9611 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
9613         * config.host: Handle tic6x-*-*.
9614         * config/c6x/c6x-abi.h: New file.
9616 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9618         * config/i386/crtprec.c: New file.
9619         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9620         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9621         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9622         (x86_64-*-darwin*): Likewise.
9623         (i[34567]86-*-solaris2*: Likewise.
9625 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9627         * config/alpha/crtfastmath.c: New file.
9628         * config/i386/crtfastmath.c: New file.
9629         * config/ia64/crtfastmath.c: New file.
9630         * config/mips/crtfastmath.c: New file.
9631         * config/sparc/crtfastmath.c: New file.
9633         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9634         crtfastmath.c.
9635         Add -frandom-seed=gcc-crtfastmath.
9636         * config/alpha/t-crtfm: Remove.
9637         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9638         * config/ia64/t-ia64 (crtfastmath.o): Remove.
9640         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9641         (alpha*-dec-osf5.1*): Likewise.
9642         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9643         Add crtfastmath.o to extra_parts.
9644         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9645         Add crtfastmath.o to extra_parts.
9646         (x86_64-*-darwin*): Likewise.
9647         (x86_64-*-mingw*): Likewise.
9648         (ia64*-*-elf*): Add t-crtfm to tmake_file.
9649         (ia64*-*-freebsd*): Likewise.
9650         (ia64*-*-linux*): Likewise.
9651         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9652         Add crtfastmath.o to extra_parts.
9654 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9656         * config/darwin-crt3.o: New file.
9657         * config/rs6000/darwin-crt2.c: New file.
9658         * config/t-darwin: New file.
9659         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9660         (crt2.o): New rule.
9661         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9662         (powerpc-*-darwin*): Add crt2.o to extra_parts.
9663         (powerpc64-*-darwin*): Likewise.
9665 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9667         * config/i386/netware-crt0.c: New file.
9668         * config/i386/t-nwld: Rename to ...
9669         * config/i386/t-slibgcc-nwld: ... this.
9670         * config/i386/t-nwld: New file.
9671         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9672         tmake_file.
9673         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9674         extra_parts.
9676 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9678         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9679         i386/t-crtstuff.
9680         * configure: Regenerate.
9682 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9684         * dfp-bit.c, dfp-bit.h: New files.
9685         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9686         variables.
9687         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9688         ($(d64pbit-o)): Likewise.
9689         ($(d128pbit-o)): Likewise.
9690         * config/t-dfprules: New file.
9691         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9692         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9693         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9694         (x86_64-*-linux*): Likewise.
9695         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9696         (i[34567]86-*-cygwin*): Likewise.
9697         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
9698         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9700 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9702         * Makfile.in (LIBGCOV): New variable.
9703         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9704         * libgcov.c: New file.
9706 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9708         * fixed-bit.c, fixed-bit.h: New files.
9709         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9710         refer to fixed-bit.c.
9712 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
9714         * config.host (*local*): Remove.
9716 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9718         PR target/39150
9719         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9720         like i?86-*-solaris2.1[0-9]*.
9721         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9722         * configure.ac (i?86-*-solaris2*): Likewise.
9723         * configure: Regenerate.
9725 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
9727         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9728         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9729         md_unwind_header by splitting out of...
9730         (i[34567]86-*-linux*): ... this.
9731         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9732         Remove md_unwind_header by splitting out of...
9733         (x86_64-*-linux*): ... this.
9735 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
9737         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9739 2011-06-28  Nick Clifton  <nickc@redhat.com>
9741         * config.host: Recognize all V850 variants.
9743 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
9745         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9747 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9749         * shared-object.mk (c_flags-$o): Save c_flags.
9750         ($(base)$(objext)): Use it.
9751         ($(base)_s$(objext)): Likewise.
9753 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
9755         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9756         * libgcc-std.ver.in (GCC_4.7.0): New section.
9758 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
9760         PR target/49313
9761         PR target/29524
9762         * config/avr/t-avr: Fix line endings.
9763         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
9764         _parityXX2.
9766 2011-06-14  Olivier Hainque  <hainque@adacore.com>
9767             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9769         * config/mips/irix6-unwind.h: New file.
9770         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9772 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
9774         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9775         (sparc64_fallback_frame_state): Use it.
9776         (sparc64_frob_update_context): Further adjust context.
9777         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9778         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9779         * config/sparc/sol2-cn.S: Likewise.
9781 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9783         * enable-execute-stack-empty.c: New file.
9784         * enable-execute-stack-mprotect.c: New file.
9785         * config/i386/enable-execute-stack-mingw32.c: New file.
9786         * config.host (enable_execute_stack): New variable.
9787         Select appropriate variants.
9788         * configure.ac: Link enable-execute-stack.c to
9789         $enable_execute_stack.
9790         * configure: Regenerate.
9791         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9792         (lib2funcs): Remove _enable_execute_stack.
9794 2011-06-09  David S. Miller  <davem@davemloft.net>
9795             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9797         * config.host (sparc-*-linux*): Correct md_unwind_header
9798         filename.
9799         (s390x-ibm-tpf*): Fix typo.
9801 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9803         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9804         Add crtfastmath.o to extra_parts.
9805         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9806         mips/t-crtfm.
9807         * config/mips/t-crtfm: Remove.
9809 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9811         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9813 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9815         * config.host (sh*-*-linux*): Fix typo.
9817 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9819         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9820         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9821         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9822         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9823         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9824         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9825         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9826         Wrap in !__MINGW64__.
9827         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9828         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9829         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9830         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9831         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9832         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9833         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9834         Wrap in !__LP64__.
9835         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9836         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9837         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9838         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9839         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9840         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9841         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9842         * config/no-unwind.h: New file.
9843         * config.host (md_unwind_header): Document.
9844         Define.
9845         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9846         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9847         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9848         hppa[12]*-*-hpux11*): Set md_unwind_header.
9849         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9850         Set md_unwind_header.
9851         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9852         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9853         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9854         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9855         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9856         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9857         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9858         md_unwind_header.
9859         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9860         * configure: Regenerate.
9862 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9864         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9865         Set tmake_file, extra_parts.
9866         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9867         Remove O32 support.
9868         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9869         Remove O32 support.
9870         * config/mips/t-irix6: New file.
9871         * config/mips/t-slibgcc-irix: New file.
9873 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9875         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9876         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9878 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9880         * configure.ac (target_thread_file): Determine thread model.
9881         * configure: Regenerate.
9882         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9883         * config/alpha/t-alpha: New file.
9884         * config/alpha/t-crtfm: Use $<.
9885         * config/alpha/t-ieee: New file.
9886         * config/alpha/t-osf-pthread: New file.
9887         * config/alpha/t-slibgcc-osf: New file.
9888         * config/alpha/libgcc-osf5.ver: New file.
9890 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9892         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9893         tmake_file.
9894         Add crtfastmath.o to extra_parts.
9896 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9898         * config/gmon-sol2.c: Reindent.
9899         Cleanup comments.
9900         Remove, correct casts.
9901         Use STDERR_FILENO, NULL.
9902         (BASEADDRESS): Remove.
9903         (minbrk): Remove.
9904         (errno, sbrk): Remove declarations.
9905         (monstartup) [hp300]: Remove.
9906         (mcount): Remove.
9908 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9910         * Makefile.in (cpu_type): Define.
9911         * config.host (i[34567]86-*-rtems*): Handle it.
9912         (i[34567]86-*-solaris2*): Move body ...
9913         (*-*-solaris2*): ... here.
9914         New case, generalize.
9915         (sparc-*-elf*): Handle it.
9916         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9917         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9918         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9919         Fold into ...
9920         (sparc*-*-solaris2*): ... this.
9921         New case.
9922         (sparc64-*-elf*): Handle it.
9923         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9924         Merge ../gcc/config/i386/gmon-sol2.c.
9925         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9926         Use C comments.
9927         Merge ../gcc/config/i386/sol2-gc1.asm.
9928         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9929         Use C comments.
9930         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9931         Use C comments.
9932         * config/i386/t-crtfm (crtfastmath.o): Use $<.
9933         * config/i386/t-crtstuff: New file.
9934         * config/i386/t-softfp: New file.
9935         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9936         $(T)crti.o, $(T)crtn.o): Remove.
9937         (gcrt1.o): New rule.
9938         (TARGET_LIBGCC2_CFLAGS): Remove.
9939         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9940         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9941         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9942         * config/sparc/t-sol2: New file.
9943         * config/sparc/t-crtfm: Move to ...
9944         * config/t-crtfm: ... this.
9945         Use $(cpu_type), $<.
9946         * config/t-crtin: New file.
9947         * config/sparc/t-softfp: New file.
9948         * config/sparc/t-softmul: New file.
9949         * config/t-rtems: New file.
9950         * config/t-slibgcc: New file.
9951         * config/t-slibgcc-elf-ver: New file.
9952         * config/t-slibgcc-gld: New file.
9953         * config/t-slibgcc-sld: New file.
9954         * config/t-sol2: New file.
9955         * configure.ac: Include ../config/lib-ld.m4.
9956         Call AC_LIB_PROG_LD_GNU.
9957         Substitute cpu_type.
9958         * configure: Regenerate.
9960 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
9962         PR bootstrap/49173
9963         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9964         libgcc-std.ver in the build directory.
9965         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9966         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9968 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
9970         * libgcc-std.ver.in: New file.
9971         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9972         variables.
9973         (libgcc-std.ver): New rule.
9974         * config/t-gnu-prefix: New file.
9976 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9978         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9980 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9982         * config/i386/darwin-lib.h: New file.
9984 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9986         * config/arm/symbian-lib.h: New.
9988 2011-05-04  Chris Demetriou  <cgd@google.com>
9990         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9991         (__x86.get_pc_thunk.bx): ...this.
9992         (__morestack): Adjust for rename, remove undef of __i686.
9994 2011-05-03  Chris Demetriou  <cgd@google.com>
9996         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9998 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
10000         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10001         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10002         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10003         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10004         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10005         Remove cases.
10007 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
10009         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10010         Adjust copyright year.
10012 2011-03-07  Ian Lance Taylor  <iant@google.com>
10014         * generic-morestack.c (__splitstack_find): Adjust returned stack
10015         pointer to include all registers pushed by __morestack.
10017 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
10019         PR target/40125
10020         * configure.ac: Call ACX_NONCANONICAL_TARGET.
10021         (toolexecdir): Calculate and AC_SUBST.
10022         (toolexeclibdir): Likewise.
10023         * Makefile.in (target_noncanonical): Import.
10024         (toolexecdir): Likewise.
10025         (toolexeclibdir): Likewise.
10026         * configure: Regenerate.
10028 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
10030         PR target/46040
10031         * config/arm/bpabi.h: Rename to...
10032         * config/arm/bpabi-lib.h: ...this.
10034 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10036         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10037         appropriate.
10038         * configure: Regenerate.
10040 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
10042         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10043         __FLOAT_WORD_ORDER__.
10044         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10045         Delete.
10047 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10049         PR other/46202
10050         * Makefile.in (install-strip): New phony target.
10052 2010-11-07  Ian Lance Taylor  <iant@google.com>
10054         PR target/46089
10055         * config/i386/morestack.S (__morestack_large_model): New
10056         function.
10058 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
10060         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10061         Delete.
10062         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10064 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
10066         * config/arm/bpabi.h: New file.
10067         * config/frv/frv-abi.h: New file.
10069 2010-10-01  Ian Lance Taylor  <iant@google.com>
10071         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10072         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10074 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10076         PR target/45858
10077         * config.host: Add the missing `$'.
10079 2010-09-30  Michael Eager  <eager@eagercon.com>
10081         * config.host: Add microblaze*-*-*.
10082         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10083         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10084         udivsi3.asm,umodsi3.asm}:  New.
10086 2010-09-28  Ian Lance Taylor  <iant@google.com>
10088         * configure.ac: Adjust CFI test to test assembler directly rather
10089         than checking gcc preprocessor macro.
10090         * configure: Rebuild.
10092 2010-09-27  Ian Lance Taylor  <iant@google.com>
10094         * configure.ac: Test whether assembler supports CFI directives.
10095         * config.host: Only add t-stack and i386/t-stack-i386 to
10096         tmake_file if libgcc_cv_cfi is "yes".
10097         * configure: Rebuild.
10099 2010-09-27  Ian Lance Taylor  <iant@google.com>
10101         * generic-morestack.h: New file.
10102         * generic-morestack.c: New file.
10103         * generic-morestack-thread.c: New file.
10104         * config/i386/morestack.S: New file.
10105         * config/t-stack: New file.
10106         * config/i386/t-stack-i386: New file.
10107         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10108         i386/t-stack-i386 to tmake_file.
10110 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
10112         * Makefile.in (libgcc-extra-parts):  Check for static archives and
10113         invoke ranlib after installing them.
10114         (gcc-extra-parts): Likewise.
10115         (install-leaf): Likewise.
10117 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10119         * configure: Regenerated.
10121 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
10123         * configure: Regenerated.
10125 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
10126             Andrew Pinski  <pinskia@gmail.com>
10128         PR target/40959
10129         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
10131 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10133         PR target/45524
10134         * configure: Regenerated.
10136 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10138         * configure: Regenerate.
10140 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10142         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10143         64bit targets.
10144         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10145         for 64bit targets.
10147 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10148             Iain Sandoe  <iains@gcc.gnu.org>
10150         PR target/45476
10151         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10152         LIB2FUNCS_EXCLUDE functions.
10154 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10156         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10157         Include dfp.m4.
10158         * configure: Regenerate.
10160 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
10162         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10163         i386/t-freebsd to tmake_file.
10164         * config/i386/t-freebsd: New file.
10165         * config/i386/libgcc-bsd.ver: New file.
10167 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
10169         * config.host (powerpc*-eabispe*): Set tmake_file.
10170         (powerpc*-eabi*): Likewise.
10171         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10172         crtbeginS, crtendS, crtbeginT.
10174 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
10176         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10177         to tmake_file.  Add crtfastmath.o to extra_parts.
10178         * config/mips/t-crtfm: New.
10180 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
10182         * config.host (sparc64-*-rtems*): New target.
10184 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10186         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10187         assembler syntax.
10189 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
10191         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10193 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10195         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10196         alpha-dec-osf5.0* support.
10198 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
10200         * config.host: Add lm32-*-rtems*.
10202 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10203             Uros Bizjak  <ubizjak@gmail.com>
10205         PR target/39048
10206         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10207         like other remaining 32-bit x86 OSes.
10208         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10209         assembler syntax.
10210         * config/i386/libgcc-sol2.ver: New file.
10211         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10213 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
10215         PR c/43553
10216         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10217         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10218         is used and substitute set_use_emutls.
10219         * configure: Regenerated.
10221 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
10223         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10225 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10227         PR target/38085
10228         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10229         MULTILIB_CFLAGS.
10230         ($(T)gcrt1.o): Likewise.
10231         ($(T)crt1.o): Likewise.
10232         ($(T)crti.o): Likewise.
10233         ($(T)crtn.o): Likewise.
10235 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10237         PR other/42980
10238         * Makefile.in (install): Use $(MAKE) string in rule, for
10239         parallel make.
10241 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
10243         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10244         * config/mmix/t-mmix: New file.
10245         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10247 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
10249         PR java/41991
10250         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10251         SHLIB_MAPFILES.
10253 2010-01-04  Anthony Green  <green@moxielogic.com>
10255         * config/moxie/crti.asm, config/moxie/crtn.asm,
10256         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10257         config/moxie/t-moxie: New files.
10258         * config.host: Add t-moxie-softfp reference.
10260 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
10262         PR other/39888
10263         * config/t-slibgcc-darwin: Fix embedded rpaths for
10264         --enable-version-specific-runtime-libs, build extension stub
10265         libs exposing features available from current libgcc_s.
10267 2009-11-11  Jon Beniston  <jon@beniston.com>
10269         * config.host: Add lm32 targets.
10270         * config/lm32: New directory.
10271         * config/lm32/libgcc_lm32.h: New file.
10272         * config/lm32/_mulsi3.c: New file.
10273         * config/lm32/_udivmodsi4.c: New file.
10274         * config/lm32/_divsi3.c: New file.
10275         * config/lm32/_modsi3.c: New file.
10276         * config/lm32/_udivsi3.c: New file.
10277         * config/lm32/_umodsi3.c: New file.
10278         * config/lm32/_lshrsi3.S: New file.
10279         * config/lm32/_ashrsi3.S: New file.
10280         * config/lm32/_ashlsi3.S: New file.
10281         * config/lm32/crti.S: New file.
10282         * config/lm32/crtn.S: New file.
10283         * config/lm32/t-lm32: New file.
10284         * config/lm32/t-elf: New file.
10285         * config/lm32/t-uclinux: New file.
10287 2009-10-26  Nick Clifton  <nickc@redhat.com>
10289         * config.host: Add support for RX target.
10290         * config/rx: New directory.
10291         * config/rx/rx-abi-functions.c: New file. Supplementary
10292         functions for libgcc to support the RX ABI.
10293         * config/rx/rx-abi.h: New file.  Supplementary header file for
10294         libgcc RX ABI functions.
10295         * config/rx/t-rx: New file: Makefile fragment for building
10296         libgcc for the RX.
10298 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
10300         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10301         constraint of y0 to "g".
10303 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10305         * config.host: Include the s390 makefile fragments.
10306         * config/s390/32/_fixdfdi.c: New file.
10307         * config/s390/32/_fixsfdi.c: New file.
10308         * config/s390/32/_fixtfdi.c: New file.
10309         * config/s390/32/_fixunsdfdi.c: New file.
10310         * config/s390/32/_fixunssfdi.c: New file.
10311         * config/s390/32/_fixunstfdi.c: New file.
10312         * config/s390/32/t-floattodi: New file.
10313         * config/s390/libgcc-glibc.ver: New file.
10314         * config/s390/t-crtstuff: New file.
10315         * config/s390/t-linux: New file.
10316         * config/s390/t-tpf: New file.
10318 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10320         * configure.ac (AC_PREREQ): Bump to 2.64.
10322 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
10324         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10326 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10328         * configure: Regenerate.
10330 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
10332         * config.host (ia64-hp-*vms*): New target.
10333         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10334         with ia64-hp-*vms*.
10336 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10338         * configure.ac: Add snippet for maintainer-mode.
10339         * configure: Regenerate.
10340         * Makefile.in (AUTOCONF, configure_deps): New variables.
10341         ($(srcdir)/configure)): New rule, active only with maintainer
10342         mode turned on.
10344 2009-06-23  DJ Delorie  <dj@redhat.com>
10346         Add MeP port.
10347         * config.host: Add mep support.
10349 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
10351         * config.host: Add i386/${host_address}/t-fprules-softfp and
10352         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10354         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10355         for mingw targets.
10356         * config/i386/64/_multc3.c: Likewise.
10357         * config/i386/64/_powitf2.c: Likewise.
10358         * config/i386/64/eqtf2.c: Likewise.
10359         * config/i386/64/getf2.c: Likewise.
10360         * config/i386/64/letf2.c: Likewise.
10361         * config/i386/64/letf2.c: Likewise.
10362         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10363         unsigned long long for x64 mingw targets.
10364         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10365         (_FP_I_TYPE): Define as long long for x64 mingw target.
10367 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
10369         * config.host (vax-*-linux*): New.
10371 2009-05-31  Anthony Green  <green@moxielogic.com>
10373         * config.host: Add moxie support.
10374         * config/moxie/t-moxie: New file.
10376 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
10378         * config.host: Add i386/${host_address}/t-fprules-softfp and
10379         t-softfp to tmake_file for i[34567]86-*-cygwin*.
10381 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
10383         * config.host: Add i386/${host_address}/t-fprules-softfp to
10384         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10386 2009-04-09  Nick Clifton  <nickc@redhat.com>
10388         * config/ia64/tf-signs.c: Change copyright header to refer to
10389         version 3 of the GNU General Public License with version 3.1
10390         of the GCC Runtime Library Exception and to point readers at
10391         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10392         web page.
10393         * config/i386/32/tf-signs.c: Likewise.
10394         * config/libbid/_addsub_dd.c: Likewise.
10395         * config/libbid/_addsub_sd.c: Likewise.
10396         * config/libbid/_addsub_td.c: Likewise.
10397         * config/libbid/_dd_to_df.c: Likewise.
10398         * config/libbid/_dd_to_di.c: Likewise.
10399         * config/libbid/_dd_to_sd.c: Likewise.
10400         * config/libbid/_dd_to_sf.c: Likewise.
10401         * config/libbid/_dd_to_si.c: Likewise.
10402         * config/libbid/_dd_to_td.c: Likewise.
10403         * config/libbid/_dd_to_tf.c: Likewise.
10404         * config/libbid/_dd_to_udi.c: Likewise.
10405         * config/libbid/_dd_to_usi.c: Likewise.
10406         * config/libbid/_dd_to_xf.c: Likewise.
10407         * config/libbid/_df_to_dd.c: Likewise.
10408         * config/libbid/_df_to_sd.c: Likewise.
10409         * config/libbid/_df_to_td.c: Likewise.
10410         * config/libbid/_di_to_dd.c: Likewise.
10411         * config/libbid/_di_to_sd.c: Likewise.
10412         * config/libbid/_di_to_td.c: Likewise.
10413         * config/libbid/_div_dd.c: Likewise.
10414         * config/libbid/_div_sd.c: Likewise.
10415         * config/libbid/_div_td.c: Likewise.
10416         * config/libbid/_eq_dd.c: Likewise.
10417         * config/libbid/_eq_sd.c: Likewise.
10418         * config/libbid/_eq_td.c: Likewise.
10419         * config/libbid/_ge_dd.c: Likewise.
10420         * config/libbid/_ge_sd.c: Likewise.
10421         * config/libbid/_ge_td.c: Likewise.
10422         * config/libbid/_gt_dd.c: Likewise.
10423         * config/libbid/_gt_sd.c: Likewise.
10424         * config/libbid/_gt_td.c: Likewise.
10425         * config/libbid/_isinfd128.c: Likewise.
10426         * config/libbid/_isinfd32.c: Likewise.
10427         * config/libbid/_isinfd64.c: Likewise.
10428         * config/libbid/_le_dd.c: Likewise.
10429         * config/libbid/_le_sd.c: Likewise.
10430         * config/libbid/_le_td.c: Likewise.
10431         * config/libbid/_lt_dd.c: Likewise.
10432         * config/libbid/_lt_sd.c: Likewise.
10433         * config/libbid/_lt_td.c: Likewise.
10434         * config/libbid/_mul_dd.c: Likewise.
10435         * config/libbid/_mul_sd.c: Likewise.
10436         * config/libbid/_mul_td.c: Likewise.
10437         * config/libbid/_ne_dd.c: Likewise.
10438         * config/libbid/_ne_sd.c: Likewise.
10439         * config/libbid/_ne_td.c: Likewise.
10440         * config/libbid/_sd_to_dd.c: Likewise.
10441         * config/libbid/_sd_to_df.c: Likewise.
10442         * config/libbid/_sd_to_di.c: Likewise.
10443         * config/libbid/_sd_to_sf.c: Likewise.
10444         * config/libbid/_sd_to_si.c: Likewise.
10445         * config/libbid/_sd_to_td.c: Likewise.
10446         * config/libbid/_sd_to_tf.c: Likewise.
10447         * config/libbid/_sd_to_udi.c: Likewise.
10448         * config/libbid/_sd_to_usi.c: Likewise.
10449         * config/libbid/_sd_to_xf.c: Likewise.
10450         * config/libbid/_sf_to_dd.c: Likewise.
10451         * config/libbid/_sf_to_sd.c: Likewise.
10452         * config/libbid/_sf_to_td.c: Likewise.
10453         * config/libbid/_si_to_dd.c: Likewise.
10454         * config/libbid/_si_to_sd.c: Likewise.
10455         * config/libbid/_si_to_td.c: Likewise.
10456         * config/libbid/_td_to_dd.c: Likewise.
10457         * config/libbid/_td_to_df.c: Likewise.
10458         * config/libbid/_td_to_di.c: Likewise.
10459         * config/libbid/_td_to_sd.c: Likewise.
10460         * config/libbid/_td_to_sf.c: Likewise.
10461         * config/libbid/_td_to_si.c: Likewise.
10462         * config/libbid/_td_to_tf.c: Likewise.
10463         * config/libbid/_td_to_udi.c: Likewise.
10464         * config/libbid/_td_to_usi.c: Likewise.
10465         * config/libbid/_td_to_xf.c: Likewise.
10466         * config/libbid/_tf_to_dd.c: Likewise.
10467         * config/libbid/_tf_to_sd.c: Likewise.
10468         * config/libbid/_tf_to_td.c: Likewise.
10469         * config/libbid/_udi_to_dd.c: Likewise.
10470         * config/libbid/_udi_to_sd.c: Likewise.
10471         * config/libbid/_udi_to_td.c: Likewise.
10472         * config/libbid/_unord_dd.c: Likewise.
10473         * config/libbid/_unord_sd.c: Likewise.
10474         * config/libbid/_unord_td.c: Likewise.
10475         * config/libbid/_usi_to_dd.c: Likewise.
10476         * config/libbid/_usi_to_sd.c: Likewise.
10477         * config/libbid/_usi_to_td.c: Likewise.
10478         * config/libbid/_xf_to_dd.c: Likewise.
10479         * config/libbid/_xf_to_sd.c: Likewise.
10480         * config/libbid/_xf_to_td.c: Likewise.
10481         * config/libbid/bid128.c: Likewise.
10482         * config/libbid/bid128_2_str.h: Likewise.
10483         * config/libbid/bid128_2_str_macros.h: Likewise.
10484         * config/libbid/bid128_2_str_tables.c: Likewise.
10485         * config/libbid/bid128_add.c: Likewise.
10486         * config/libbid/bid128_compare.c: Likewise.
10487         * config/libbid/bid128_div.c: Likewise.
10488         * config/libbid/bid128_fma.c: Likewise.
10489         * config/libbid/bid128_logb.c: Likewise.
10490         * config/libbid/bid128_minmax.c: Likewise.
10491         * config/libbid/bid128_mul.c: Likewise.
10492         * config/libbid/bid128_next.c: Likewise.
10493         * config/libbid/bid128_noncomp.c: Likewise.
10494         * config/libbid/bid128_quantize.c: Likewise.
10495         * config/libbid/bid128_rem.c: Likewise.
10496         * config/libbid/bid128_round_integral.c: Likewise.
10497         * config/libbid/bid128_scalb.c: Likewise.
10498         * config/libbid/bid128_sqrt.c: Likewise.
10499         * config/libbid/bid128_string.c: Likewise.
10500         * config/libbid/bid128_to_int16.c: Likewise.
10501         * config/libbid/bid128_to_int32.c: Likewise.
10502         * config/libbid/bid128_to_int64.c: Likewise.
10503         * config/libbid/bid128_to_int8.c: Likewise.
10504         * config/libbid/bid128_to_uint16.c: Likewise.
10505         * config/libbid/bid128_to_uint32.c: Likewise.
10506         * config/libbid/bid128_to_uint64.c: Likewise.
10507         * config/libbid/bid128_to_uint8.c: Likewise.
10508         * config/libbid/bid32_to_bid128.c: Likewise.
10509         * config/libbid/bid32_to_bid64.c: Likewise.
10510         * config/libbid/bid64_add.c: Likewise.
10511         * config/libbid/bid64_compare.c: Likewise.
10512         * config/libbid/bid64_div.c: Likewise.
10513         * config/libbid/bid64_fma.c: Likewise.
10514         * config/libbid/bid64_logb.c: Likewise.
10515         * config/libbid/bid64_minmax.c: Likewise.
10516         * config/libbid/bid64_mul.c: Likewise.
10517         * config/libbid/bid64_next.c: Likewise.
10518         * config/libbid/bid64_noncomp.c: Likewise.
10519         * config/libbid/bid64_quantize.c: Likewise.
10520         * config/libbid/bid64_rem.c: Likewise.
10521         * config/libbid/bid64_round_integral.c: Likewise.
10522         * config/libbid/bid64_scalb.c: Likewise.
10523         * config/libbid/bid64_sqrt.c: Likewise.
10524         * config/libbid/bid64_string.c: Likewise.
10525         * config/libbid/bid64_to_bid128.c: Likewise.
10526         * config/libbid/bid64_to_int16.c: Likewise.
10527         * config/libbid/bid64_to_int32.c: Likewise.
10528         * config/libbid/bid64_to_int64.c: Likewise.
10529         * config/libbid/bid64_to_int8.c: Likewise.
10530         * config/libbid/bid64_to_uint16.c: Likewise.
10531         * config/libbid/bid64_to_uint32.c: Likewise.
10532         * config/libbid/bid64_to_uint64.c: Likewise.
10533         * config/libbid/bid64_to_uint8.c: Likewise.
10534         * config/libbid/bid_b2d.h: Likewise.
10535         * config/libbid/bid_binarydecimal.c: Likewise.
10536         * config/libbid/bid_conf.h: Likewise.
10537         * config/libbid/bid_convert_data.c: Likewise.
10538         * config/libbid/bid_decimal_data.c: Likewise.
10539         * config/libbid/bid_decimal_globals.c: Likewise.
10540         * config/libbid/bid_div_macros.h: Likewise.
10541         * config/libbid/bid_dpd.c: Likewise.
10542         * config/libbid/bid_flag_operations.c: Likewise.
10543         * config/libbid/bid_from_int.c: Likewise.
10544         * config/libbid/bid_functions.h: Likewise.
10545         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10546         * config/libbid/bid_inline_add.h: Likewise.
10547         * config/libbid/bid_internal.h: Likewise.
10548         * config/libbid/bid_round.c: Likewise.
10549         * config/libbid/bid_sqrt_macros.h: Likewise.
10551 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
10553         * Makefile.in: Change copyright header to refer to version
10554         3 of the GNU General Public License and to point readers at the
10555         COPYING3 file and the FSF's license web page.
10556         * config.host: Likewise.
10558 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
10560         * config.host: Reorder and merge to match config.gcc change.
10562 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
10564         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10566 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
10568         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10569         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10570         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10571         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10573 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
10575         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10576         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10578 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
10580         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10581         ia64/t-softfp-compat to tmake_file.
10583         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10585         * config/ia64/__divxf3.asm: New.
10586         * config/ia64/_fixtfdi.asm: Likewise.
10587         * config/ia64/_fixunstfdi.asm: Likewise.
10588         * config/ia64/_floatditf.asm: Likewise.
10589         * config/ia64/t-fprules-softfp: Likewise.
10590         * config/ia64/t-softfp-compat: Likewise.
10591         * config/ia64/tf-signs.c: Likewise.
10593 2009-01-18  Ben Elliston  <bje@au.ibm.com>
10595         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10597 2009-01-16  Ben Elliston  <bje@au.ibm.com>
10599         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10600         to tmake_file.
10602 2009-01-13  Ben Elliston  <bje@au.ibm.com>
10604         * config/t-softfp: New file.
10605         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10606         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10608 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
10610         * config.host: Add m32r*-*-rtems*.
10612 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
10614         * config.host: Add m32c*-*-rtems*.
10616 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10618         PR bootstrap/33100
10619         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10620         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10621         * configure: Regenerate.
10622         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10623         tmake_file here from gcc/config.gcc.
10624         Move extra_parts here from gcc/config.gcc.
10625         * config/i386/t-sol2: Move here from gcc/config/i386.
10626         Use gcc_srcdir instead of srcdir.
10628 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
10630         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10631         case.
10633 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
10635         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10637 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
10639         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10641 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
10643         Add picoChip port.
10644         * config.host: Add picochip-*-*.
10646 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
10648         * config.host: Match more processor names for Xtensa.
10650 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
10652         * config/i386/64/t-softfp-compat: Update comments.
10654 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10656         * config/i386/64/_divtc3-compat.c: Moved to ...
10657         * config/i386/64/_divtc3.c: Here.
10659         * config/i386/64/_multc3-compat.c: Moved to ...
10660         * config/i386/64/_multc3.c: Here.
10662         * config/i386/64/_powitf2-compat.c: Moved to ...
10663         * config/i386/64/_powitf2.c: Here.
10665         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10666         .c suffix instead of -compat.c.
10668 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
10670         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10671         (_FP_MUL_MEAT_D): Ditto.
10672         (_FP_DIV_MEAT_S): Ditto.
10673         (_FP_DIV_MEAT_D): Ditto.
10675 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
10677         * Makefile.in: Add support for __sync_* libgcc functions.
10679 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
10681         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10683 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10685         PR boostrap/36702
10686         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10687         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
10689         * config/i386/64/t-fprules-softfp: Moved to ...
10690         * config/i386/64/t-softfp-compat: This.  New.
10692 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
10694         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10695         Initialize f with 0.0.
10697 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10699         PR target/36669
10700         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10702         * config/i386/64/_divtc3-compat.c: New.
10703         * config/i386/64/_multc3-compat.c: Likewise.
10704         * config/i386/64/_powitf2-compat.c: Likewise.
10705         * config/i386/64/eqtf2.c: Likewise.
10706         * config/i386/64/getf2.c: Likewise.
10707         * config/i386/64/letf2.c: Likewise.
10708         * config/i386/64/t-fprules-softfp: Likewise.
10710 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10712         * config.host: Add i386/${host_address}/t-fprules-softfp to
10713         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10714         i[34567]86-*-linux*, x86_64-*-linux*.
10716         * configure.ac: Set host_address to 64 or 32 for x86.
10717         * configure: Regenerated.
10719         * Makefile.in (config.status): Also depend on
10720         $(srcdir)/config.host.
10722         * config/i386/32/t-fprules-softfp: New.
10723         * config/i386/32/tf-signs.c: Likewise.
10725         * config/i386/64/sfp-machine.h: New. Moved from gcc.
10727 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10728             Uros Bizjak  <ubizjak@gmail.com>
10730         * config/i386/32/sfp-machine.h: New.
10732 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
10734         * config/rs6000/t-ppccomm: Remove rules that conflict with
10735         auto-generated rules.
10737 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10739         * configure.ac: sinclude override.m4.
10740         * configure: Regenerate.
10742 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
10744         * configure: Regenerate.
10746 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
10748         * Makefile.in (DECNUMINC): Remove
10749         -I$(MULTIBUILDTOP)../../libdecnumber.
10750         * gstdint.h: New.
10752 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
10754         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10755         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10756         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10757         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10758         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10759         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10760         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10761         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10762         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10763         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10764         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10765         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10766         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10767         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10769 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
10771         * config.host (sh2[lbe]*-*-linux*): Allow target.
10773 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
10775         * config/rs6000/t-ppccomm: Add build rules for new files.
10776         (LIB2ADD_ST): New variable.
10778 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
10780         PR target/34210
10781         PR target/35508
10782         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10783         * config/t-avr: New file. Build 16bit libgcc functions.
10785 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
10787         PR target/35401
10788         * config/t-slibgcc-darwin: Make install-leaf dependent on
10789         install-darwin-libgcc-stubs instead of install.
10791 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
10793         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10794         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10795         sh-*-rtemscoff*): Remove cases.
10797 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
10799         * Makefile.in (all): Use install-leaf rather than install.
10800         (install): Split most of the rule into...
10801         (install-leaf): ...this new one.
10803 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
10804             Paolo Bonzini  <bonzini@gnu.org>
10806         PR target/30572
10807         * Makefile.in: Use @shlib_slibdir@ substitution to get
10808         correct install name on darwin.
10809         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10811 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
10813         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10814         cris-*-elf and cris-*-none.
10815         (crisv32-*-linux*): Similar, as cris-*-linux*.
10817 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
10819         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10821 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
10823         PR regression/33926
10824         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10825         * configure: Regenerated.
10827 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10829         * Makefile.in (dfp-filenames): Replace decimal_globals,
10830         decimal_data, binarydecimal and convert_data with
10831         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10832         and bid_convert_data, respectively.
10834 2007-09-17  Chao-ying Fu  <fu@mips.com>
10835             Nigel Stephens  <nigel@mips.com>
10837         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10838         * Makefile.in (fixed_point): Define.
10839         Check if fixed_point is yes to build support functions.
10840         * configure.ac: Check for fixed_point support.
10841         * configure: Regenerated.
10842         * gen-fixed.sh: New file to generate lists of fixed-point labels,
10843         funcs, modes, from, to.
10845 2007-09-11  Janis Johnson  <janis187@us.ibm.com
10847         * Makefile.in (dfp-filenames): Add bid128_noncomp.
10849 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
10851         * Makefile.in (dfp-filenames): Remove decUtility, add
10852         decDouble, decPacked, decQuad, decSingle.
10854 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
10856         * config.host : Add x86_64-elf target.
10858 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10860         * configure.ac (set_have_cc_tls): Add a missing =.
10861         * configure: Regenerated.
10863 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10865         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10866         and x86_64-*-linux*.
10868         * config/t-tls: New file.
10870         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10872         * configure.ac: Include ../config/enable.m4 and
10873         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
10874         supports TLS and substitute set_have_cc_tls.
10875         * configure: Regenerated.
10877 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10879         * Makefile.in: Use libbid for DFP when BID is enabled.
10881 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
10883         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10884         extra_parts. Add config/i386/t-cygming to tmake_file.
10885         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10887 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
10888             Danny Smith  <dannysmith@users.sourceforge.net>
10890         PR target/29498
10891         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10892         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
10893         * config/i386/t-crtfm: Compile crtfastmath.o with
10894         -minline-all-stringops.
10896 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
10898         * config.host (sparc-wrs-vxworks): New target.
10900 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
10902         * config.host: Recognize fido.
10904 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
10906         * configure: Check host, not target, for decimal float support.
10908 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
10910         * config/i386/t-crtpc: New file.
10911         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10912         (x86_64-*-linux*): Ditto.
10914 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
10916         * config.host (x86_64-*-mingw*): New target.
10918 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
10919             H.J. Lu  <hongjiu.lu@intel.com>
10921         * Makefile.in (enable_decimal_float): New.
10922         (DECNUMINC): Add
10923         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10924         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10925         (decbits-filenames): This.
10926         (decbits-objects): New.
10927         (libgcc-objects): Add $(decbits-objects).
10929         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10930         Substitute enable_decimal_float.
10931         * configure: Regenerated.
10933 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
10935         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10937 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
10939         * Makefile.in (install-info): New dummy target.
10941 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
10943         * config.host (bfin*-linux-uclibc*): Set extra_parts.
10945 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
10947         * Makefile.in: Add install-html and install-pdf dummy
10948         targets.
10950 2007-02-05  Roger Sayle  <roger@eyesopen.com>
10951             Daniel Jacobowitz  <dan@codesourcery.com>
10953         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10954         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10955         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10957 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
10959         * Makefile.in (dec-filenames): Add decExcept.
10961 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
10963         PR bootstrap/30469
10964         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10965         -fprofile-use.
10967 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
10969         * configure.ac: Add --enable-version-specific-runtime-libs.
10970         Correct $slibdir default.
10971         * configure: Regenerated.
10973 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
10975         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10977 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
10979         PR target/30519
10980         * config.host (alpha*-*-linux*): Set extra_parts.
10982 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
10984         * config/sh/t-linux: New.
10985         * config.host (sh*-*-linux*): Set tmake_file.
10987 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
10989         * Makefile.in (install): Handle multilibs.
10991 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10993         * Makefile.in: Added .PHONY entry for documentation targets.
10995 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10997         * Makefile.in: Add empty info, html, dvi, pdf targets.
10999 2007-01-04  Mike Stump  <mrs@apple.com>
11001         * Makefile.in (MAKEINFO): Remove.
11002         (PERL): Likewise.
11004 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
11006         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11007         * configure: Regenerate.
11008         * Makefile.in (host_subdir): Substitute it.
11009         (gcc_objdir): Use it.
11011 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11013         * config.host (ia64*-*-linux*): Set tmake_file.
11015 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11017         * Makefile.in (version): Define.
11019 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11020             Paolo Bonzini  <bonzini@gnu.org>
11022         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11023         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11024         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11025         config/sparc/t-crtfm, config/t-slibgcc-darwin,
11026         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11027         shared-object.mk, siditi-object.mk, static-object.mk: New files.
11028         * configure: Generated.
11030 Copyright (C) 2007-2020 Free Software Foundation, Inc.
11032 Copying and distribution of this file, with or without modification,
11033 are permitted in any medium without royalty provided the copyright
11034 notice and this notice are preserved.