VEC_COND_EXPR optimizations
[official-gcc.git] / libgcc / ChangeLog
blob01c5b50351ebe14575a830ea96f9ef1ec3451252
1 2020-08-03  Ian Lance Taylor  <iant@golang.org>
3         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
5 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
7         PR target/96402
8         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
9         of x(tmp0), x(tmp1) in STXP arguments.
11 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
13         * config/riscv/save-restore.S [__riscv_xlen == 64]
14         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
15         (__riscv_save_2): Replace negative immediates used for the final
16         stack pointer adjustment with positive ones, right-shifted by 4.
18 2020-07-31  Martin Liska  <mliska@suse.cz>
20         * libgcov-driver.c: Add __gcov_kvp_pool
21         and __gcov_kvp_pool_index variables.
22         * libgcov.h (allocate_gcov_kvp): New.
23         (gcov_topn_add_value): Use it.
25 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27         * config/aarch64/lse.S: Add PAC property note.
29 2020-07-23  Martin Liska  <mliska@suse.cz>
31         PR gcov-profile/96035
32         * libgcov-driver-system.c: Create gcov folders with 0777
33         so that it respects a system umask.
35 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
37         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
39 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
41         PR target/94891
42         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
43         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
44         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
45         (MD_DEMANGLE_RETURN_ADDR): This.
46         (aarch64_post_extract_frame_addr): Rename to ...
47         (aarch64_demangle_return_addr): This.
48         (aarch64_post_frob_eh_handler_addr): Remove.
49         * unwind-dw2.c (uw_update_context): Demangle return address.
50         (uw_frob_return_addr): Remove.
52 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
54         PR target/96001
55         * config/aarch64/lse.S: Add BTI marking and related definitions,
56         and add BTI c to function entries.
58 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
60         * config/aarch64/lse.S: Add stack note.
62 2020-07-02  Martin Liska  <mliska@suse.cz>
64         PR gcov-profile/95348
65         * libgcov-driver.c (merge_one_data): Merge only profiles
66         that are not of non-zero type.
67         (write_one_data): Write counters only if there's one non-zero
68         value.
69         * libgcov-util.c (tag_function): Change signature from unsigned
70         to int.
71         (tag_blocks): Likewise.
72         (tag_arcs): Likewise.
73         (tag_counters): Likewise.
74         (tag_summary): Likewise.
75         (tag_lines): Read only if COUNTERS is non-zero.
76         (read_gcda_file): Handle negative length for COUNTERS type.
78 2020-06-25  Martin Liska  <mliska@suse.cz>
80         * libgcov-driver.c (merge_summary): Remove function as its name
81         is misleading and doing something different.
82         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
83         in gcov-tool.
84         * libgcov-util.c (curr_object_summary): Remove.
85         (read_gcda_file): Remove unused curr_object_summary.
86         (gcov_merge): Merge summaries.
87         * libgcov.h: Add summary argument for gcov_info struct.
89 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
91         PR target/95259
92         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
93         "common/config/i386/i386-cpuinfo.h" and
94         "common/config/i386/cpuinfo.h".
95         (__cpu_features2): Changed to array.
96         (get_amd_cpu): Removed.
97         (get_intel_cpu): Likewise.
98         (get_available_features): Likewise.
99         (__cpu_indicator_init): Call cpu_indicator_init.
100         * config/i386/cpuinfo.h: Removed.
102 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
104         * Makefile.in: Remove uses of empty.mk. Use -include.
105         * config/avr/t-avr: Use -include.
106         * empty.mk: Delete.
108 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
110         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
111         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
112         and 64 bit with -maix64.
113         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
114         Build and install AIX-style FAT libraries.
116 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
118         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
119         'i386/gnu-unwind.h'
120         * config/i386/gnu-unwind.h: New file.
122 2020-06-17  Martin Liska  <mliska@suse.cz>
124         * libgcov-util.c (read_gcda_finalize): Remove const operator.
125         (merge_wrapper): Add both counts and use them properly.
126         (topn_to_memory_representation): New function.
127         (gcov_merge): Covert on disk representation to in memory
128         representation.
129         * libgcov.h: Remove const operator.
131 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
133         * configure: Regenerate.
134         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
135         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
137 2020-06-09  Martin Liska  <mliska@suse.cz>
139         PR gcov-profile/95494
140         * libgcov-driver.c (write_top_counters): Cast first to
141         intptr_t as sizeof(*) != sizeof(gcov_type).
142         * libgcov.h (gcov_counter_set_if_null): Remove.
143         (gcov_topn_add_value): Cast first to intptr_t and update
144         linked list directly.
146 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
148         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
149         with uw_install_context_1.
151 2020-06-04  Andreas Schwab  <schwab@suse.de>
153         PR target/59230
154         PR libfortran/59227
155         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
156         soft-fp/divtf3.c.
157         (LIB2ADD): Add config/ia64/divtf3.c.
158         * config/ia64/divtf3.c: New file.
160 2020-06-03  Martin Liska  <mliska@suse.cz>
162         PR gcov-profile/95480
163         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
164         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
165         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
166         (gcov_counter_set_if_null): Likewise.
168 2020-06-02  Jim Wilson  <jimw@sifive.com>
170         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
171         to bgtz.
173 2020-06-02  Martin Liska  <mliska@suse.cz>
175         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
176         of xmalloc.
178 2020-06-02  Martin Liska  <mliska@suse.cz>
180         * libgcov-driver.c (prune_topn_counter): Remove.
181         (prune_counters): Likewise.
182         (merge_one_data): Special case TOP N counters
183         as they have variable length.
184         (write_top_counters): New.
185         (write_one_data): Special case TOP N.
186         (dump_one_gcov): Do not prune TOP N counters.
187         * libgcov-merge.c (merge_topn_values_set): Remove.
188         (__gcov_merge_topn): Use gcov_topn_add_value.
189         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
190         Likewise here.
191         * libgcov.h (gcov_counter_add): New.
192         (gcov_counter_set_if_null): Likewise.
193         (gcov_topn_add_value): New.
195 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
197         * config/i386/sfp-exceptions.c (struct fenv):
198         Add __attribute__ ((gcc_struct)).
200 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
202         PR bootstrap/95413
203         * configure: Regenerated.
205 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
207         PR gcov-profile/95332
208         * libgcov-util.c (read_gcda_file): Call gcov_magic.
209         * libgcov.h (gcov_magic): Disable GCC poison.
211 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
213         PR target/95212
214         * config/i386/cpuinfo.h (processor_features): Move
215         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
217 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
219         PR target/91695
220         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
221         check.
223 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
225         PR target/95212
226         PR target/95220
227         * config/i386/cpuinfo.c (get_available_features): Fix
228         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
229         * config/i386/cpuinfo.h (processor_features): Add
230         FEATURE_AVX512VP2INTERSECT.
232 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
234         PR bootstrap/95147
235         * configure: Regenerated.
237 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
239         * configure: Regenerated.
241 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
243         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
244         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
246 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
248         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
249         (__math_force_eval_div): New define.
250         (__sfp_handle_exceptions): Use __math_force_eval_div to use
251         generic division to generate INVALID, DIVZERO and INEXACT
252         exceptions.
254 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
256         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
257         instead of getauxval.
258         (AT_HWCAP): Define.
259         (HWCAP_ATOMICS): Define.
260         Guard detection on __gnu_linux__.
262 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
264         * config.host: Delete changes meant for a private branch.
265         * config/rs6000/t-float128: Likewise.
266         * configure.ac: Likewise.
267         * configure: Likewise.
269 2020-05-05  Martin Liska  <mliska@suse.cz>
271         PR gcov-profile/93623
272         * Makefile.in: Remove __gcov_flush.
273         * gcov.h (__gcov_flush): Remove.
274         * libgcov-interface.c (__gcov_flush): Remove.
275         (init_mx): Use renamed mutex.
276         (__gcov_lock): Likewise.
277         (__gcov_unlock): Likewise.
278         (__gcov_fork): Likewise.
279         (__gcov_flush): Remove.
281 2020-05-05  Martin Liska  <mliska@suse.cz>
283         PR gcov-profile/93623
284         * libgcov-interface.c (__gcov_fork): Do not flush
285         and reset only in child process.
286         (__gcov_execl): Dump counters only and reset them
287         only if exec* fails.
288         (__gcov_execlp): Likewise.
289         (__gcov_execle): Likewise.
290         (__gcov_execv): Likewise.
291         (__gcov_execvp): Likewise.
292         (__gcov_execve): Likewise.
294 2020-05-05  Martin Liska  <mliska@suse.cz>
296         PR gcov-profile/93623
297         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
298         * libgcov-interface.c (ALIAS_void_fn): Remove.
299         (__gcov_lock): New.
300         (__gcov_unlock): New.
301         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
302         (__gcov_reset): Likewise.
303         (__gcov_dump): Likewise.
304         * libgcov.h (__gcov_lock): New declaration.
305         (__gcov_unlock): Likewise.
307 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
309         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
310         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
311         generic division to generate INVALID and DIVZERO exceptions.
313 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
315         * config/rs6000/crtresfpr.S: Use .machine ppc.
316         * config/rs6000/crtresxfpr.S: Likewise.
317         * config/rs6000/crtsavfpr.S: Likewise.
319 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
321         PR target/94514
322         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
323         Update context->flags accroding to the frame state.
325 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
327         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
328         Remove unneeded assignments to volatile memory.
330 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
332         PR target/93053
333         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
334         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
335         is not defined, use just .arch armv8-a.
336         (B, M, N, OPN): Define.
337         (COMMENT): New .macro.
338         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
339         defined.  Otherwise, move the operands right after the glue? and
340         comment out operands where the macros are used.
341         * configure: Regenerated.
342         * config.in: Regenerated.
344 2020-04-07  Ian Lance Taylor  <iant@golang.org>
346         PR libgcc/94513
347         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
348         syscall instead.
350 2020-04-04  Ian Lance Taylor  <iant@golang.org>
352         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
354 2020-04-03  Ian Lance Taylor  <iant@golang.org>
356         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
357         than mmap/munmap, to avoid hooks.
359 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
361         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
362         (TPFRA_OFFSET): Macros removed.
363         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
364         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
365         (PG3_SKIPPING_OFFSET): New macros.
366         (__isPATrange): Use cinfc_fast for the check.
367         (__isSkipResetAddr): New function.
368         (s390_fallback_frame_state): Check for skip trace addresses. Use
369         either ICST_CRET or ICST_SRET to calculate return address
370         location.
371         (__tpf_eh_return): Handle skip trace addresses.
373 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
375         PR target/94220
376         * config/arm/lib1funcs.asm (COND): Use a single definition for
377         unified syntax.
378         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
379         (aeabi_idivmod): Likewise.
380         (divsi3_skip_div0_test): Likewise.
382 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
384         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
386 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
388         * config.host: Include the new makefile fragment.
389         * config/s390/t-tpf: New file.
391 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
393         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
394         syntax.
395         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
396         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
397         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
398         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
399         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
400         syntax.
401         (divsi3, modsi3): Likewise.
402         (clzdi2, ctzsi2): Likewise.
403         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
404         unified syntax.
405         (UNWIND_WRAPPER): Likewise.
407 2020-03-02  Martin Liska  <mliska@suse.cz>
409         * libgcov-interface.c: Remove duplicate
410         declaration of __gcov_flush_mx.
412 2020-02-18  Martin Liska  <mliska@suse.cz>
414         PR ipa/92924
415         * libgcov-merge.c (merge_topn_values_set): Record
416         when a TOP N counter becomes invalid.  When merging
417         remove a smallest value if the space is needed.
419 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
421         PR libstdc++/79193
422         PR libstdc++/88999
424         * configure: Regenerated.
426 2020-02-10  Jeff Law  <law@redhat.com>
428         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
429         sections.
430         * config/frv/frvend.c: Similarly.
432 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
434         PR libgcc/85334
435         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
436         New.
438 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
440         PR target/93615
441         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
442         _Unwind_gnu_Find_got.
443         * unwind-pe.h: Likewise.
445 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
447         PR target/93615
448         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
449         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
450         trailing :s in asm.  Formatting fixes.
451         (_Unwind_decode_typeinfo_ptr): Adjust caller.
453 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
455         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
457         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
458         * config/nios2-elf-lib.h: New.
459         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
460         code for finding GOT base for nios2.
462 2020-01-27  Martin Liska  <mliska@suse.cz>
464         PR gcov-profile/93403
465         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
466         Call __gcov_indirect_call_profiler_body.
467         (__gcov_indirect_call_profiler_body): New.
468         (__gcov_indirect_call_profiler_v4_atomic): New.
469         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
470         New declaration.
472 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
474         * config/arc/crti.S: Add RF16 object attribute.
475         * config/arc/crtn.S: Likewise.
476         * config/arc/crttls.S: Likewise.
477         * config/arc/lib1funcs.S: Likewise.
478         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
479         * config/arc/lib2funcs.c: New file.
480         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
482 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
484         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
485         * configure.ac: Handle `--with-toolexeclibdir='.
486         * configure: Regenerate.
488 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
490         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
492 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
494         * config/mips/gnustack.h: New file.
495         * config/mips/crti.S: Include gnustack.h.
496         * config/mips/crtn.S: Likewise.
497         * config/mips/mips16.S: Likewise.
498         * config/mips/vr4120-div.S: Likewise.
500 2020-01-23  Martin Liska  <mliska@suse.cz>
502         * libgcov-driver.c (prune_topn_counter): Remove
503         check for -1 as we only prune run-time counters
504         that do not generate an invalid state.
506 2020-01-22  Martin Liska  <mliska@suse.cz>
508         PR tree-optimization/92924
509         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
510         try to find an existing value, then find an empty slot
511         if not found.
513 2020-01-22  Martin Liska  <mliska@suse.cz>
515         PR tree-optimization/92924
516         * libgcov-driver.c (prune_topn_counter): New.
517         (prune_counters): Likewise.
518         (dump_one_gcov): Prune a run-time counter.
519         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
520         For a known value, add GCOV_TOPN_VALUES to value.
521         Otherwise, decrement all counters by one.
523 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
525         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
527 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
529         PR libgcc/92988
530         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
531         DEFAULT_USE_CXA_ATEXIT is true.
533 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
534             Thomas Preud'homme  <thomas.preudhomme@arm.com>
536         * config/arm/t-arm: Check return value of gcc rather than lack of
537         output.
539 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
541         * config/avr/lib1funcs.S (skip): Simplify.
543 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
545         * config/gcn/atomic.c: Remove include of stdint.h.
546         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
547         __UINTPTR_TYPE__.
549 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
551         * config/gcn/atomic.c: New.
552         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
554 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
556         Implement 64-bit double functions.
558         PR target/92055
559         * config.host (tmake_file) [target=avr]: Add t-libf7,
560         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
561         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
562         depending on sizeof (double) or sizeof (long double).
563         * config/avr/libf7: New folder.
565 2020-01-05  Olivier Hainque  <hainque@adacore.com>
567         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
568         by IN_LIBGCC2.
570 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
572         Update copyright years.
574 2019-12-30  Olivier Hainque  <hainque@adacore.com>
576         * config/gthr-vxworks.h: Use _vxworks-versions.h.
577         * config/gthr-vxworks-tls.c: Likewise.
579 2019-12-30  Olivier Hainque  <hainque@adacore.com>
581         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
582         standard zero-initializer syntax.
584 2019-12-30  Olivier Hainque  <hainque@adacore.com>
586         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
587         reference to the internal VX_GET_TLS_DATA interface.
589 2019-12-30  Olivier Hainque  <hainque@adacore.com>
591         * config/vxcrtstuff.c: Fix incorrect spelling of
592         USE_INITFINI_ARRAY in guard.
594 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
596         * config.host: s/msp430*-*-elf/msp430-*-elf*.
597         Override default "extra_parts" variable.
598         * configure: Regenerate.
599         * configure.ac: Disable TM clone registry by default for
600         msp430-elfbare.
602 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
604         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
605         "extra_parts".
606         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
608 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
610         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
611         true.
613 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
615         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
616         defined instead of its value.
618 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
620         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
621         if it will have contents.
623 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
625         PR target/92055
626         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
628 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
630         PR libgcc/91737
631         * config.host: Add t-gthr-noweak on *-*-musl*.
632         * config/t-gthr-noweak: New file.
634 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
636         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
637         volatile void *.  Remove trap check.
638         (__kernel_cmpxchg2): Likewise.
639         (FETCH_AND_OP_2): Adjust operand types.
640         (OP_AND_FETCH_2): Likewise.
641         (FETCH_AND_OP_WORD): Likewise.
642         (OP_AND_FETCH_WORD): Likewise.
643         (COMPARE_AND_SWAP_2): Likewise.
644         (__sync_val_compare_and_swap_4): Likewise.
645         (__sync_bool_compare_and_swap_4): Likewise.
646         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
647         (__sync_lock_test_and_set_4): Likewise.
648         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
649         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
650         for release.
651         (__sync_lock_release_8): Remove.
653 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
655         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
656         of __sigset_t.
658 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
659             Doug Rupp <rupp@adacore.com>
660             Olivier Hainque  <hainque@adacore.com>
662         * config.host: Collapse the arm-vxworks entries into
663         a single arm-wrs-vxworks7* one.
664         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
665         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
666         kernel modules, to be overriden by libstdc++ when we link with
667         it.  Rely on externally provided __exidx_start/end.
669 2019-11-14  Doug Rupp  <rupp@adacore.com>
670             Olivier Hainque  <hainque@adacore.com>
672         * config.host: Handle aarch64*-wrs-vxworks7*.
674 2019-11-12  Olivier Hainque  <hainque@adacore.com>
676         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
677         sources except the cxx0x support to LIB2ADDEH.  We don't support
678         cxx0x on AE/653.
679         * config/t-vxworksae: New file.
680         * config.host: Handle *-*-vxworksae: Add the two aforementioned
681         Makefile fragment files at their expected position in the tmake_file
682         list, in accordance with what is done for other VxWorks variants.
684 2019-11-12  Corentin Gay  <gay@adacore.com>
685             Jerome Lambourg  <lambourg@adacore.com>
686             Olivier Hainque  <hainque@adacore.com>
688         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
689         sources to LIB2ADDEH.
690         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
691         * config/t-vxworks7: Likewise.
693         * config.host: Append a block at the end of the file to add the
694         t-gthr files to the tmake_file list for VxWorks after everything
695         else.
697         * config/vxlib.c: Rename as gthr-vxworks.c.
698         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
700         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
701         API and a basic error checking API, both internal.  Simplify the
702         __gthread_once_t type definition and initializers.  Add sections
703         for condition variables support and for the C++0x thread support,
704         conditioned against Vx653 for the latter.
706         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
707         implementation, leveraging the TAS internal API.
708         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
709         API, leveraging the general availability of TLS services in VxWorks7
710         post SR6xxx.
711         (__gthread_setspecific, __gthread_setspecific): Use it.
712         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
713         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
714         support based on VxWorks primitives.
715         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
716         based on VxWorks primitives.
718 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
719             Olivier Hainque  <hainque@adacore.com>
721         * config/vxcrtstuff.c: New file.
722         * config/t-vxcrtstuff: New Makefile fragment.
723         * config.host: Append t-vxcrtstuff to the tmake_file list
724         on all VxWorks ports using dwarf for table based EH.
726 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
728         Support 64-bit double and 64-bit long double configurations.
730         PR target/92055
731         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
732         long double is a 32-bit type.
733         * config/avr/t-avrlibc: Copy double64 and long-double64
734         multilib(s) from the vanilla one.
735         * config/avr/t-copy-libgcc: New Makefile snip.
737 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
739         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
740         the target output object format is not ELF.
741         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
743 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
745         PR libgcc/78804
746         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
747         * fp-bit.c (pack_d, unpack_d): Remove special cases for
748         FLOAT_BIT_ORDER_MISMATCH.
749         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
751 2019-11-01  Jim Wilson  <jimw@sifive.com>
753         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
755 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
757         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
758         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
759         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
760         Define symbols for 32-bit and f5series hardware multiply
761         register addresses.
762         Replace hard-coded register addresses with symbols.
763         Fix "_mspabi*" typo.
764         Fix whitespace.
765         * config/msp430/lib2mul.c: Add comment.
767 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
769         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
770         unsigned int.  Adjust callers.
771         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
772         unsigned int *.  Load relocation offset before function pointer.
773         Add barrier to ensure ordering.
775 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
777         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
778         Load PIC register after branch target.  Fix white space.
779         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
780         implementations.  Load PIC register after branch target.  Don't
781         clobber function pointer when it points to function descriptor.
782         Use nullification instead of branch in LINUX implementation.
784 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
786         * config/pa/fptr.c: Disable -Warray-bounds warning.
788 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
790         * config.in, configure: Re-rebuild with stock autoconf 2.69,
791         not the ubuntu modified 2.69.
793         PR target/91833
794         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
795         initialization if !HAVE_SYS_AUXV_H.
796         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
797         * config.in, configure: Rebuild.
799         PR target/91834
800         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
801         overlap the inputs.
803 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
805         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
806         CTR_EL0.IDC and CTR_EL0.DIC.
808 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
810         Revert:
811         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
812                 Mickaël Guêné <mickael.guene@st.com>
814         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
815         architecture.
817 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
819         * config/aarch64/lse-init.c: New file.
820         * config/aarch64/lse.S: New file.
821         * config/aarch64/t-lse: New file.
822         * config.host: Add t-lse to all aarch64 tuples.
824 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
825         Mickaël Guêné <mickael.guene@st.com>
827         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
828         architecture.
830 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
831         Mickaël Guêné <mickael.guene@st.com>
833         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
834         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
835         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
836         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
837         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
838         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
839         (__gnu_personality_sigframe_fdpic): New.
840         (get_eit_entry): Add FDPIC signal frame support.
842 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
843         Mickaël Guêné <mickael.guene@st.com>
845         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
846         (__kernel_dmb): Likewise.
847         (__fdpic_cmpxchg): New function.
848         (__fdpic_dmb): New function.
849         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
850         (gnu_Unwind_Find_got): New function.
851         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
852         * unwind-arm-common.inc (UCB_PR_GOT): New.
853         (funcdesc_t): New struct.
854         (get_eit_entry): Add FDPIC support.
855         (unwind_phase2): Likewise.
856         (unwind_phase2_forced): Likewise.
857         (__gnu_Unwind_RaiseException): Likewise.
858         (__gnu_Unwind_Resume): Likewise.
859         (__gnu_Unwind_Backtrace): Likewise.
860         * unwind-pe.h (read_encoded_value_with_base): Likewise.
862 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
863         Mickaël Guêné <mickael.guene@st.com>
865         * libgcc/crtstuff.c: Add support for FDPIC.
867 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
869         * config.host: Handle *-*-uclinuxfdpiceabi.
871 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
873         * config.host: Set cpu_type for bpf-*-* targets.
874         * config/bpf/t-bpf: Likewise.
875         * config/bpf/crtn.S: Likewise.
876         * config/bpf/crti.S: New file.
878 2019-09-06  Jim Wilson  <jimw@sifive.com>
880         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
881         (riscv*-*-freebsd*): Likewise.
883 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
885         * config.host: Remove references to spu.
886         * config/spu/: Remove directory.
888 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
890         PR target/91306
891         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
892         element type, instead of "sizeof" the element type.
893         (__DTOR_LIST__): Likewise.
894         (__TMC_LIST__): Likewise.
895         (__do_global_dtors_aux_fini_array_entry): Likewise.
896         (__frame_dummy_init_array_entry): Likewise.
897         (__CTOR_END__): Likewise.
898         (__DTOR_END__): Likweise.
899         (__FRAME_END__): Likewise.
900         (__TMC_END__): Likewise.
902 2019-08-20  Lili Cui  <lilicui@intel.com>
904         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
905         INTEL_COREI7_COOPERLAKE.
907 2019-07-31  Matt Thomas  <matt@3am-software.com>
908             Nick Hudson <nick@nthcliff.demon.co.uk>
909             Matthew Green <mrg@eterna.com.au>
910             Maya Rashish <coypu@sdf.org>
912         * config.host (hppa*-*-netbsd*): New case.
913         * config/pa/t-netbsd: New file.
915 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
917         * config/arm/cmse.c (cmse_check_address_range): Add
918         warn_unused_result attribute.
920 2019-07-22  Martin Liska  <mliska@suse.cz>
922         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
923         * config/pa/t-stublib: Likewise.
925 2019-07-22  Stafford Horne  <shorne@gmail.com>
927         PR target/90362
928         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
929         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
930         instructions are not available on every processor.  Change a
931         l.bnf to l.bf to fix logic issue.
933 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
935         * config.host: Remove reference to t-darwin8.
937 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
939         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
940         list.
941         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
942         mmacosx-version-min for crts to run across all system versions.
943         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
944         * config/t-darwin: Revise mmacosx-version-min for crts to run across
945         system versions >= 10.4.
947 2019-07-03  Martin Liska  <mliska@suse.cz>
949         * Makefile.in: Use topn_values instead of one_value names.
950         * libgcov-merge.c (__gcov_merge_single): Move to ...
951         (__gcov_merge_topn): ... this.
952         (merge_single_value_set): Move to ...
953         (merge_topn_values_set): ... this.
954         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
955         ...
956         (__gcov_topn_values_profiler_body): ... this.
957         (__gcov_one_value_profiler_v2): Move to ...
958         (__gcov_topn_values_profiler): ... this.
959         (__gcov_one_value_profiler_v2_atomic): Move to ...
960         (__gcov_topn_values_profiler_atomic): ... this.
961         (__gcov_indirect_call_profiler_v4): Remove.
962         * libgcov-util.c (__gcov_single_counter_op): Move to ...
963         (__gcov_topn_counter_op): ... this.
964         * libgcov.h (L_gcov_merge_single): Remove.
965         (L_gcov_merge_topn): New.
966         (__gcov_merge_single): Remove.
967         (__gcov_merge_topn): New.
968         (__gcov_one_value_profiler_v2): Move to ..
969         (__gcov_topn_values_profiler): ... this.
970         (__gcov_one_value_profiler_v2_atomic): Move to ...
971         (__gcov_topn_values_profiler_atomic): ... this.
973 2019-07-03  Martin Liska  <mliska@suse.cz>
975         * libgcov-merge.c (merge_single_value_set): Support N values.
976         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
978 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
980         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
981         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
982         * configure.ac: Add --disable-tm-clone-registry option.
983         * configure: Regenerate.
985 2019-06-27  Martin Liska  <mliska@suse.cz>
987         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
988         dead assignments.
989         * libgcov-util.c: Likewise.
991 2019-06-27  Martin Liska  <mliska@suse.cz>
993         * libgcov-util.c (gcov_profile_merge): Release allocated
994         memory.
995         (calculate_overlap): Likewise.
997 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
999         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1000         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1001         Build objects for the out of line save/restore register functions
1002         so that they can be used for any supported Darwin version.
1003         * config/t-darwin: Default the build Darwin version to Darwin8
1004         (MacOS 10.4).
1006 2019-06-25  Martin Liska  <mliska@suse.cz>
1008         * libgcov-driver-system.c (replace_filename_variables): Do not
1009         call strlen with NULL argument.
1011 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
1013         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1014         * config/gcn/unwind-gcn.c: New file.
1016 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
1017             Andrew Stubbs  <ams@codesourcery.com>
1019         * configure: Regenerate.
1020         * config/gcn/gthr-gcn.h: New.
1022 2019-06-18  Tom de Vries  <tdevries@suse.de>
1024         * config/nvptx/crt0.c (__main): Declare.
1026 2019-06-17  Matthew Green  <mrg@eterna.com.au>
1027             Maya Rashish  <coypu@sdf.org>
1029         * config.host (aarch64*-*-netbsd*): New case.
1031 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1033         * config/msp430/slli.S (__mspabi_sllll): New library function for
1034         performing a logical left shift of a 64-bit value.
1035         * config/msp430/srai.S (__mspabi_srall): New library function for
1036         performing a arithmetic right shift of a 64-bit value.
1037         * config/msp430/srll.S (__mspabi_srlll): New library function for
1038         performing a logical right shift of a 64-bit value.
1040 2019-06-14  Matt Thomas  <matt@3am-software.com>
1041             Matthew Green  <mrg@eterna.com.au>
1042             Nick Hudson  <skrll@netbsd.org>
1043             Maya Rashish  <coypu@sdf.org>
1045         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1046         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1047         functions to build.
1048         * config/arm/t-netbsd-eabi: New file.
1050 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
1052         * config.host: Add PRU target.
1053         * config/pru/asri.c: New file.
1054         * config/pru/eqd.c: New file.
1055         * config/pru/eqf.c: New file.
1056         * config/pru/ged.c: New file.
1057         * config/pru/gef.c: New file.
1058         * config/pru/gtd.c: New file.
1059         * config/pru/gtf.c: New file.
1060         * config/pru/led.c: New file.
1061         * config/pru/lef.c: New file.
1062         * config/pru/lib2bitcountHI.c: New file.
1063         * config/pru/lib2divHI.c: New file.
1064         * config/pru/lib2divQI.c: New file.
1065         * config/pru/lib2divSI.c: New file.
1066         * config/pru/libgcc-eabi.ver: New file.
1067         * config/pru/ltd.c: New file.
1068         * config/pru/ltf.c: New file.
1069         * config/pru/mpyll.S: New file.
1070         * config/pru/pru-abi.h: New file.
1071         * config/pru/pru-asm.h: New file.
1072         * config/pru/pru-divmod.h: New file.
1073         * config/pru/sfp-machine.h: New file.
1074         * config/pru/t-pru: New file.
1076 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
1078         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1080 2019-06-10  Martin Liska  <mliska@suse.cz>
1082         PR bootstrap/90808
1083         * libgcov.h: Add ATTRIBUTE_UNUSED.
1085 2019-06-10  Martin Liska  <mliska@suse.cz>
1087         * Makefile.in: Add __gcov_one_value_profiler_v2,
1088         __gcov_one_value_profiler_v2_atomic and
1089         __gcov_indirect_call_profiler_v4.
1090         * libgcov-merge.c (__gcov_merge_single): Change
1091         function signature.
1092         (merge_single_value_set): New.
1093         * libgcov-profiler.c (__gcov_one_value_profiler_body):
1094         Update functionality.
1095         (__gcov_one_value_profiler): Remove.
1096         (__gcov_one_value_profiler_v2): ... this.
1097         (__gcov_one_value_profiler_atomic): Rename to ...
1098         (__gcov_one_value_profiler_v2_atomic): this.
1099         (__gcov_indirect_call_profiler_v3): Rename to ...
1100         (__gcov_indirect_call_profiler_v4): ... this.
1101         * libgcov.h (__gcov_one_value_profiler): Remove.
1102         (__gcov_one_value_profiler_atomic): Remove.
1103         (__gcov_one_value_profiler_v2_atomic): New.
1104         (__gcov_indirect_call_profiler_v3): Remove.
1105         (__gcov_one_value_profiler_v2): New.
1106         (__gcov_indirect_call_profiler_v4): New.
1107         (gcov_get_counter_ignore_scaling): New function.
1109 2019-06-07  Martin Liska  <mliska@suse.cz>
1111         * Makefile.in: Remove usage of
1112         _gcov_merge_icall_topn.
1113         * libgcov-driver.c (gcov_sort_n_vals): Remove.
1114         (gcov_sort_icall_topn_counter): Likewise.
1115         (gcov_sort_topn_counter_arrays): Likewise.
1116         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1117         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1118         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1119         Likewise.
1120         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1121         (struct indirect_call_tuple): Remove.
1122         (__gcov_indirect_call_topn_profiler): Remove.
1123         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1124         * libgcov.h (gcov_sort_n_vals): Remove.
1125         (L_gcov_merge_icall_topn): Likewise.
1126         (__gcov_merge_icall_topn): Likewise.
1127         (__gcov_indirect_call_topn_profiler): Likewise.
1129 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
1131         * config/rs6000/t-darwin: Ensure that the unwinder is built with
1132         altivec enabled.
1134 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1136         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1137         section.
1138         (__mspabi_slli): Likewise.
1139         (__mspabi_slll_n): Likewise.
1140         (__mspabi_slll): Likewise.
1141         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1142         (__mspabi_srai): Likewise.
1143         (__mspabi_sral_n): Likewise.
1144         (__mspabi_sral): Likewise.
1145         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1146         (__mspabi_srli): Likewise.
1147         (__mspabi_srll_n): Likewise.
1148         (__mspabi_srll): Likewise.
1150 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
1152         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1153         Add appropriate tm_file clause as well.
1154         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1156 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
1158         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1159         rather than .data/.bss so it can be accessed via gp-relative
1160         addressing.
1162 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
1164         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1165         (CR2_REGNO): Rename to R_CR2.
1166         (XER_REGNO): Rename to R_XER.
1167         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1168         (VRSAVE_REGNO): Rename to R_VRSAVE.
1169         (VSCR_REGNO): R_VSCR.
1171 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
1173         * config.host (rx-*-linux*): Add new case.
1174         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1176 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
1178         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1179         function.
1180         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1181         aarch64_post_frob_eh_handler_addr): Add check for b-key.
1182         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1183         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1184         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1185         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1186         string.
1187         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1188         string.
1189         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1191 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1193         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1194         Remove Solaris 9 and 10 support.
1195         (sparc_is_sighandler): Likewise.
1197 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
1199         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1201 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1203         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1204         4_FP_W_TYPEs are used for IEEE quad precision.
1205         * soft-fp/extendhftf2.c: Likewise.
1206         * soft-fp/extendsftf2.c: Likewise.
1207         * soft-fp/extendxftf2.c: Likewise.
1208         * soft-fp/trunctfdf2.c: Likewise.
1209         * soft-fp/trunctfhf2.c: Likewise.
1210         * soft-fp/trunctfsf2.c: Likewise.
1211         * soft-fp/trunctfxf2.c: Likewise.
1212         * config/rs6000/ibm-ldouble.c: Likewise.
1214 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1216         * config.host: Simplify various *-*-solaris2.1[0-9]* to
1217         *-*-solaris2*.
1218         * configure.ac: Likewise.
1219         * configure: Regenerate.
1221         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1222         Solaris 10 and Solaris 11 < snv_125 handling.
1224 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
1226         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1228 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
1230         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1231         * config/i386/cpuinfo.h (enum processor_features): Add
1232         FEATURE_AVX512BF16.
1234 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1235             Bernd Edlinger  <bernd.edlinger@hotmail.de>
1236             Jakub Jelinek  <jakub@redhat.com>
1238         PR target/89093
1239         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1240         * config/arm/unwind-arm.c: Likewise.
1241         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1242         attribute for ARM.
1244 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
1246         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1247         (RT_SIGRETURN): Update.
1248         (nds32_fallback_frame_state): Update.
1250 2019-02-21  Martin Sebor  <msebor@redhat.com>
1252         * libgcc2.h (__clear_cache): Correct signature.
1253         * libgcc2.c (__clear_cache): Same.
1255 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
1257         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1258         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1260 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
1262         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1263         regno instead of index to DWARF_ZERO_REG.
1265 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1267         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1268         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1270 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
1272         * config/alpha/t-linux: Add -mfp-rounding-mode=d
1273         to HOST_LIBGCC2_CFLAGS.
1275 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
1277         PR libgcc/88931
1278         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1280 2019-01-18  Martin Liska  <mliska@suse.cz>
1282         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1283         to ...
1284         (__gcov_indirect_call_profiler_v3): ... this.
1285         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1286         (__gcov_indirect_call_profiler_v3): Likewise.
1287         * Makefile.in: Bump function name.
1289 2019-01-18  Martin Liska  <mliska@suse.cz>
1291         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1292         (gcov_version): Use in gcov_error.
1293         (merge_one_data): Likewise.
1294         (dump_one_gcov): Likewise.
1296 2019-01-18  Martin Liska  <mliska@suse.cz>
1298         * libgcov-driver.c (gcov_version_string): New function.
1299         (gcov_version): Convert version integer into string.
1301 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
1302             Kwok Cheung Yeung  <kcy@codesourcery.com>
1303             Julian Brown  <julian@codesourcery.com>
1304             Tom de Vries  <tom@codesourcery.com>
1306         * config.host: Recognize amdgcn*-*-amdhsa.
1307         * config/gcn/crt0.c: New file.
1308         * config/gcn/lib2-divmod-hi.c: New file.
1309         * config/gcn/lib2-divmod.c: New file.
1310         * config/gcn/lib2-gcn.h: New file.
1311         * config/gcn/sfp-machine.h: New file.
1312         * config/gcn/t-amdgcn: New file.
1314 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
1316         PR other/16615
1318         * config/c6x/libunwind.S: Mechanically replace "can not" with
1319         "cannot".
1320         * config/tilepro/atomic.h: Likewise.
1321         * config/vxlib-tls.c: Likewise.
1322         * generic-morestack-thread.c: Likewise.
1323         * generic-morestack.c: Likewise.
1324         * mkmap-symver.awk: Likewise.
1326 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1328         Update copyright years.
1330 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
1332         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1333         to ignore -Waddress-of-packed-member.
1335 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
1337         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1338         parameter and corresponding code.
1339         (ARM_FUNC_START): Likewise in both definitions.
1340         Also update footer comment about condition that need to match with
1341         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1342         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1343         defined.  Weakly define it in this case.
1344         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1345         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1346         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1347         comment to keep condition in sync with the one in
1348         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1350 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
1352         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1353         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1355 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1357         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1358         and .cfi_endproc directives for VxWorks targets.
1360 2018-12-05  Paul Koning  <ni1d@arrl.net>
1362         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1364 2018-11-27  Alan Modra  <amodra@gmail.com>
1366         * config/rs6000/morestack.S (__stack_split_initialize),
1367         (__morestack_get_guard, __morestack_set_guard),
1368         (__morestack_make_guard): Provide CFI covering these functions.
1369         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1371 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1373         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1374         (sc_pt_regs_lr): Update for kernel.
1375         (sc_pt_regs_tls): Update for kernel.
1377 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1379         * config/csky/linux-unwind.h: Fix coding style.
1381 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1383         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1384         (csky_fallback_frame_state): Modify the check of the
1385         instructions to adapt to changes in the kernel
1387 2018-11-09  Stafford Horne  <shorne@gmail.com>
1388             Richard Henderson  <rth@twiddle.net>
1390         * config.host: Add OpenRISC support.
1391         * config/or1k/*: New.
1393 2018-11-08  Kito Cheng  <kito@andestech.com>
1395         * soft-fp/adddf3.c: Update from glibc.
1396         * soft-fp/addsf3.c: Likewise.
1397         * soft-fp/addtf3.c: Likewise.
1398         * soft-fp/divdf3.c: Likewise.
1399         * soft-fp/divsf3.c: Likewise.
1400         * soft-fp/divtf3.c: Likewise.
1401         * soft-fp/double.h: Likewise.
1402         * soft-fp/eqdf2.c: Likewise.
1403         * soft-fp/eqsf2.c: Likewise.
1404         * soft-fp/eqtf2.c: Likewise.
1405         * soft-fp/extenddftf2.c: Likewise.
1406         * soft-fp/extended.h: Likewise.
1407         * soft-fp/extendhftf2.c: Likewise.
1408         * soft-fp/extendsfdf2.c: Likewise.
1409         * soft-fp/extendsftf2.c: Likewise.
1410         * soft-fp/extendxftf2.c: Likewise.
1411         * soft-fp/fixdfdi.c: Likewise.
1412         * soft-fp/fixdfsi.c: Likewise.
1413         * soft-fp/fixdfti.c: Likewise.
1414         * soft-fp/fixhfti.c: Likewise.
1415         * soft-fp/fixsfdi.c: Likewise.
1416         * soft-fp/fixsfsi.c: Likewise.
1417         * soft-fp/fixsfti.c: Likewise.
1418         * soft-fp/fixtfdi.c: Likewise.
1419         * soft-fp/fixtfsi.c: Likewise.
1420         * soft-fp/fixtfti.c: Likewise.
1421         * soft-fp/fixunsdfdi.c: Likewise.
1422         * soft-fp/fixunsdfsi.c: Likewise.
1423         * soft-fp/fixunsdfti.c: Likewise.
1424         * soft-fp/fixunshfti.c: Likewise.
1425         * soft-fp/fixunssfdi.c: Likewise.
1426         * soft-fp/fixunssfsi.c: Likewise.
1427         * soft-fp/fixunssfti.c: Likewise.
1428         * soft-fp/fixunstfdi.c: Likewise.
1429         * soft-fp/fixunstfsi.c: Likewise.
1430         * soft-fp/fixunstfti.c: Likewise.
1431         * soft-fp/floatdidf.c: Likewise.
1432         * soft-fp/floatdisf.c: Likewise.
1433         * soft-fp/floatditf.c: Likewise.
1434         * soft-fp/floatsidf.c: Likewise.
1435         * soft-fp/floatsisf.c: Likewise.
1436         * soft-fp/floatsitf.c: Likewise.
1437         * soft-fp/floattidf.c: Likewise.
1438         * soft-fp/floattihf.c: Likewise.
1439         * soft-fp/floattisf.c: Likewise.
1440         * soft-fp/floattitf.c: Likewise.
1441         * soft-fp/floatundidf.c: Likewise.
1442         * soft-fp/floatundisf.c: Likewise.
1443         * soft-fp/floatunditf.c: Likewise.
1444         * soft-fp/floatunsidf.c: Likewise.
1445         * soft-fp/floatunsisf.c: Likewise.
1446         * soft-fp/floatunsitf.c: Likewise.
1447         * soft-fp/floatuntidf.c: Likewise.
1448         * soft-fp/floatuntihf.c: Likewise.
1449         * soft-fp/floatuntisf.c: Likewise.
1450         * soft-fp/floatuntitf.c: Likewise.
1451         * soft-fp/gedf2.c: Likewise.
1452         * soft-fp/gesf2.c: Likewise.
1453         * soft-fp/getf2.c: Likewise.
1454         * soft-fp/half.h: Likewise.
1455         * soft-fp/ledf2.c: Likewise.
1456         * soft-fp/lesf2.c: Likewise.
1457         * soft-fp/letf2.c: Likewise.
1458         * soft-fp/muldf3.c: Likewise.
1459         * soft-fp/mulsf3.c: Likewise.
1460         * soft-fp/multf3.c: Likewise.
1461         * soft-fp/negdf2.c: Likewise.
1462         * soft-fp/negsf2.c: Likewise.
1463         * soft-fp/negtf2.c: Likewise.
1464         * soft-fp/op-1.h: Likewise.
1465         * soft-fp/op-2.h: Likewise.
1466         * soft-fp/op-4.h: Likewise.
1467         * soft-fp/op-8.h: Likewise.
1468         * soft-fp/op-common.h: Likewise.
1469         * soft-fp/quad.h: Likewise.
1470         * soft-fp/single.h: Likewise.
1471         * soft-fp/soft-fp.h: Likewise.
1472         * soft-fp/subdf3.c: Likewise.
1473         * soft-fp/subsf3.c: Likewise.
1474         * soft-fp/subtf3.c: Likewise.
1475         * soft-fp/truncdfsf2.c: Likewise.
1476         * soft-fp/trunctfdf2.c: Likewise.
1477         * soft-fp/trunctfhf2.c: Likewise.
1478         * soft-fp/trunctfsf2.c: Likewise.
1479         * soft-fp/trunctfxf2.c: Likewise.
1480         * soft-fp/unorddf2.c: Likewise.
1481         * soft-fp/unordsf2.c: Likewise.
1482         * soft-fp/unordtf2.c: Likewise.
1484 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
1486         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1487         * config/i386/cpuinfo.h (processor_types): Add znver2.
1489 2018-11-01  Paul Koning  <ni1d@arrl.net>
1491         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1492         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1494 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1496         PR bootstrap/82856
1497         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
1498         * configure: Regenerate.
1500 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
1502         * config/arc/lib1funcs.S (_muldi3): New function.
1503         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1505 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1507         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1509 2018-10-25  Martin Liska  <mliska@suse.cz>
1511         PR other/87735
1512         * libgcov-profiler.c: Revert.
1514 2018-10-24  Martin Liska  <mliska@suse.cz>
1516         * libgcov-profiler.c: Start from 1 in order to distinguish
1517         functions which were seen and these that were not.
1519 2018-10-18  Paul Koning  <ni1d@arrl.net>
1521         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1522         standard.
1523         * divmod.c: Update references to __udivmodsi4.
1524         * udivmod.c: Ditto.
1525         * udivhi3.c: New file.
1526         * udivmodhi4.c: New file.
1527         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1529 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1531         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1533 2018-10-12  Olivier Hainque  <hainque@adacore.com>
1535         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1536         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1538 2018-10-08  Paul Koning  <ni1d@arrl.net>
1540         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1542 2018-10-04  Martin Liska  <mliska@suse.cz>
1544         PR gcov-profile/84107
1545         * libgcov-profiler.c (__gcov_indirect_call):
1546         Change type to indirect_call_tuple.
1547         (struct indirect_call_tuple): New struct.
1548         (__gcov_indirect_call_topn_profiler): Change type.
1549         (__gcov_indirect_call_profiler_v2): Use the new
1550         variables.
1551         * libgcov.h (struct indirect_call_tuple): New struct
1552         definition.
1554 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
1556         * libgcc2.c (isnan): Use __builtin_isnan.
1557         (isfinite): Use __builtin_isfinite.
1558         (isinf): Use __builtin_isinf.
1560 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
1562         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1564 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
1566         * config/vxcache.c: New file.  Provide __clear_cache, based on
1567         the cacheTextUpdate VxWorks service.
1568         * config/t-vxworks (LIB2ADD): Add vxcache.c.
1569         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1570         * config/t-vxwoks7: Likewise.
1572 2018-09-21  Martin Liska  <mliska@suse.cz>
1574         * libgcov-driver.c (crc32_unsigned): Remove.
1575         (gcov_histogram_insert): Likewise.
1576         (gcov_compute_histogram): Likewise.
1577         (compute_summary): Simplify rapidly.
1578         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1579         (merge_summary): Rapidly simplify.
1580         (dump_one_gcov): Ignore gcov_summary.
1581         (gcov_do_dump): Do not handle program summary, it's not
1582         used.
1583         * libgcov-util.c (tag_summary): Remove.
1584         (read_gcda_finalize): Fix coding style.
1585         (read_gcda_file): Initialize curr_object_summary.
1586         (compute_summary): Remove.
1587         (calculate_overlap): Remove settings of run_max.
1589 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
1591         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1592         ucontext_t type instead.
1593         (nds32_fallback_frame_state): Remove struct _sigframe statement.
1595 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
1597         * config/nds32/t-nds32-glibc: New file.
1599 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1601         * configure.ac (solaris_ld_v2_maps): New test.
1602         * configure: Regenerate.
1603         * Makefile.in (solaris_ld_v2_maps): New variable.
1604         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1605         if supported.
1607 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
1609         PR target/86951
1610         * config/arm/lib1funcs.asm (speculation_barrier): New function.
1611         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1612         to build.
1614 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
1616         * config/unwind-dw2-fde-darwin.c
1617         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1618         * config/darwin10-unwind-find-enc-func.c: … to here.
1619         * config/t-darwin: Build Darwin10 unwinder shim crt.
1620         * libgcc/config.host: Add the Darwin10 unwinder shim.
1622 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1624         * config.host: Add crtbegin.o and crtend.o for
1625         powerpc-wrs-vxworks target.
1627 2018-08-17  Jojo  <jijie_rong@c-sky.com>
1628             Huibin Wang  <huibin_wang@c-sky.com>
1629             Sandra Loosemore  <sandra@codesourcery.com>
1630             Chung-Lin Tang  <cltang@codesourcery.com>
1632         C-SKY port: libgcc
1634         * config.host: Add C-SKY support.
1635         * config/csky/*: New.
1637 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
1639         * config/nds32/t-nds32-isr: Rearrange object dependency.
1640         * config/nds32/initfini.c: Add dwarf2 unwinding support.
1641         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1642         and registers usage.
1643         * config/nds32/isr-library/excp_isr.S: Ditto.
1644         * config/nds32/isr-library/intr_isr.S: Ditto.
1645         * config/nds32/isr-library/reset.S: Ditto.
1646         * config/nds32/isr-library/restore_all.inc: Ditto.
1647         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1648         * config/nds32/isr-library/restore_partial.inc: Ditto.
1649         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1650         * config/nds32/isr-library/save_all.inc: Ditto.
1651         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1652         * config/nds32/isr-library/save_partial.inc: Ditto.
1653         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1654         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1656 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
1658         * config/pa/linux-atomic.c: Update comment.
1659         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1660         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1661         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1662         __ATOMIC_RELAXED for atomic loads.
1663         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
1664         unordered store to release lock.
1665         (__sync_lock_release_8): Likewise.
1666         (SYNC_LOCK_RELEASE_2): Remove define.
1668 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
1670         PR libgcc/86512
1671         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1672         exponent goes negative. Update my email address.
1673         * config/arm/ieee754-sf.S: Likewise.
1675 2018-08-01  Martin Liska  <mliska@suse.cz>
1677         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1678         check that  __gcov_indirect_call_callee is non-null.
1680 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
1682         * config/arm/ieee754-df.S: Fix comment for code working on
1683         architectures >= 4.
1684         * config/arm/ieee754-sf.S: Likewise.
1686 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1688         PR libgcc/85334
1689         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1690         Removed.
1692 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
1694         * configure: Regenerated.
1696 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1698         * Makefile.in (install_leaf): Use enable_gcov instead of
1699         enable_libgcov.
1701 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1703         * configure.ac: Add --disable-gcov option.
1704         * configure: Regenerate.
1705         * Makefile.in: Honour @enable_gcov@.
1707 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
1709         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1710         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1711         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1712         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1713         __ARM_ARCH__.
1714         * config/arm/ieee754-sf.S: Likewise.
1715         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1717 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
1719         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1720         longer supported.
1721         * config/arm/ieee754-sf.S: Likewise.
1723 2018-06-20  Than McIntosh  <thanm@google.com>
1725         PR libgcc/86213
1726         * generic-morestack.c (allocate_segment): Move calls to getenv and
1727         getpagesize to __morestack_load_mmap.
1728         (__morestack_load_mmap) Initialize static_pagesize and
1729         use_guard_page here so as to avoid clobbering SSE regs during a
1730         __morestack call.
1732 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
1734         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1735         support modules with -mno-gnu-attribute.
1736         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1738 2018-06-07  Olivier Hainque  <hainque@adacore.com>
1740         * config/t-vxworks (LIBGCC_INCLUDES): Add
1741         -I$(MULTIBUILDTOP)../../gcc/include.
1742         * config/t-vxworks7: Likewise. Reformat a bit to match
1743         the t-vxworks layout.
1745 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
1747         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1749 2018-06-07  Martin Liska  <mliska@suse.cz>
1751         * libgcov-driver.c: Rename cs_all to all and assign it from
1752         all_prg.
1754 2018-06-07  Martin Liska  <mliska@suse.cz>
1756         PR bootstrap/86057
1757         * libgcov-driver-system.c (replace_filename_variables): Use
1758         memcpy instead of mempcpy.
1759         (allocate_filename_struct): Do not allocate filename, allocate
1760         prefix and set it.
1761         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1762         here and properly copy content into it.
1763         * libgcov-driver.c (struct gcov_filename): Remove max_length
1764         field, change prefix from size_t into char *.
1765         (compute_summary): Do not calculate longest filename.
1766         (gcov_do_dump): Release memory of gf.filename after each file.
1767         * libgcov-util.c (compute_summary): Use new signature of
1768         compute_summary.
1769         (calculate_overlap): Likewise.
1771 2018-06-05  Martin Liska  <mliska@suse.cz>
1773         PR gcov-profile/47618
1774         * libgcov-driver-system.c (replace_filename_variables): New
1775         function.
1776         (gcov_exit_open_gcda_file): Use it.
1778 2018-06-05  Martin Liska  <mliska@suse.cz>
1780         * libgcov-driver.c (gcov_compute_histogram): Remove usage
1781         of gcov_ctr_summary.
1782         (compute_summary): Do it just for a single summary.
1783         (merge_one_data): Likewise.
1784         (merge_summary): Simplify as we read just single summary.
1785         (dump_one_gcov): Pass proper argument.
1786         * libgcov-util.c (compute_one_gcov): Simplify as we have just
1787         single summary.
1788         (gcov_info_count_all_cold): Likewise.
1789         (calculate_overlap): Likewise.
1791 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
1792             Monk Chiang  <sh.chiang04@gmail.com>
1794         * config.host (nds32*-linux*): New.
1795         * config/nds32/linux-atomic.c: New file.
1796         * config/nds32/linux-unwind.h: New file.
1798 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
1800         PR target/85591
1801         * config/i386/cpuinfo.c (get_amd_cpu): Return
1802         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1804 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1806         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1808 2018-05-29  Martin Liska  <mliska@suse.cz>
1810         PR gcov-profile/85759
1811         * libgcov-driver-system.c (gcov_error): Introduce usage of
1812         GCOV_EXIT_AT_ERROR env. variable.
1813         * libgcov-driver.c (merge_one_data): Print error that we
1814         overwrite a gcov file with a different timestamp.
1816 2018-05-23  Kalamatee  <kalamatee@gmail.com>
1818         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1819         path to Lf$finfty.
1821 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
1822             Monk Chiang  <sh.chiang04@gmail.com>
1823             Jim Wilson <jimw@sifive.com>
1825         * config/riscv/save-restore.S: Add support for rv32e.
1827 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1829         * config/arm/libunwind.S: Update comment relating to armv5.
1831 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
1833         * config/arm/cmse.c (cmse_check_address_range): Replace
1834         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1836 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
1838         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1839         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1841 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
1843         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1844         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1846 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
1848         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1850 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
1851             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1853         PR libgcc/84292
1854         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1855         op_and_fetch to return the right result.
1857 2018-04-27  Alan Modra  <amodra@gmail.com>
1859         PR libgcc/85532
1860         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1861         -fno-asynchronous-unwind-tables.
1863 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1865         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1866         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1868 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1870         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1871         when including "config/i386/shadow-stack-unwind.h".
1873 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1875         * configure: Regenerated.
1877 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
1879         PR target/85456
1880         * config/rs6000/_powikf2.c: New file.  Add support for the
1881         __builtin_powil function when long double is IEEE 128-bit floating
1882         point.
1883         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1884         __powikf2 support.
1885         (__powikf2): Likewise.
1886         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1887         (__powikf2_hw): Likewise.
1888         (__powikf2): Likewise.
1889         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1890         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1891         (_powikf2-hw.c): Likewise.
1893 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1895         PR libgcc/85334
1896         * unwind-generic.h (_Unwind_Frames_Increment): New.
1897         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1898         Likewise.
1899         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1900         count with _Unwind_Frames_Increment.
1901         (_Unwind_ForcedUnwind_Phase2): Likewise.
1903 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1905         PR libgcc/85379
1906         * config/i386/morestack.S (__stack_split_initialize): Add
1907         _CET_ENDBR.
1909 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
1911         * configure: Regenerated.
1913 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
1915         PR jit/85384
1916         * configure: Regenerate.
1918 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
1920         PR target/84945
1921         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1922         -Wdangling-else warnings.  Mask shift counts to avoid
1923         -Wshift-count-negative and -Wshift-count-overflow false positives.
1925 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
1927         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1929 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1931         PR target/85100
1932         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1933         (XSTATE_FP): Likewise.
1934         (XSTATE_SSE): Likewise.
1935         (XSTATE_YMM): Likewise.
1936         (XSTATE_OPMASK): Likewise.
1937         (XSTATE_ZMM): Likewise.
1938         (XSTATE_HI_ZMM): Likewise.
1939         (XCR_AVX_ENABLED_MASK): Likewise.
1940         (XCR_AVX512F_ENABLED_MASK): Likewise.
1941         (get_available_features): Enable AVX and AVX512 features only
1942         if their states are supported by OSXSAVE.
1944 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1946         PR target/85025
1947         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1948         Fix a typo, tmp => 255.
1950 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
1952         PR target/84945
1953         * config/i386/cpuinfo.h (__cpu_features2): Declare.
1954         * config/i386/cpuinfo.c (__cpu_features2): New variable for
1955         ifndef SHARED only.
1956         (set_feature): Define.
1957         (get_available_features): Use set_feature macro.  Set __cpu_features2
1958         to the second word of features ifndef SHARED.
1960 2018-03-15  Julia Koval  <julia.koval@intel.com>
1962         * config/i386/cpuinfo.c (get_available_features): Add
1963         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1964         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1965         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1966         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1967         FEATURE_AVX512BITALG.
1969 2018-03-14  Julia Koval  <julia.koval@intel.com>
1971         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1972         icelake client and icelake server.
1974 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
1976         * config/pa/fptr.c (_dl_read_access_allowed): New.
1977         (__canonicalize_funcptr_for_compare): Use it.
1979 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
1981         PR debug/83917
1982         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1983         $asm_hidden_op if visibility ("hidden") attribute works.
1984         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1985         * config/i386/i386-asm.h: Don't include auto-host.h.
1986         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1987         PACKAGE_URL): Don't undefine.
1988         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1989         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1990         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1991         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1992         definition instead of hardcoded .hidden.
1993         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1994         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1995         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1996         (USE_GAS_CFI_DIRECTIVES): Don't define.
1997         * configure: Regenerated.
1998         * config.in: Likewise.
2000 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
2002         PR debug/83917
2003         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2004         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2005         inclusion of auto-target.h and auto-host.h.
2006         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2007         __GCC_HAVE_DWARF2_CFI_ASM.
2008         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2009         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2010         cfi_pop): Define.
2011         * config/i386/cygwin.S: Don't include auto-host.h here, just
2012         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2013         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2014         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2015         * config/i386/resms64fx.h: Add cfi_* directives.
2016         * config/i386/resms64x.h: Likewise.
2018 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
2020         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2021         .literal_position directive.
2022         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2024 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2026         PR target/84148
2027         * configure: Regenerate.
2029 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2031         PR target/84239
2032         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2033         Include cetintrin.h not x86intrin.h.
2035 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2037         PR target/84239
2038         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2039         Use new _get_ssp and _inc_ssp intrinsics.
2041 2018-02-02  Julia Koval  <julia.koval@intel.com>
2043         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2045 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2047         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2048         option.
2049         (__divsi3): Use RF16 safe registers.
2050         (__modsi3): Likewise.
2052 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
2054         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2055         (__divsf3): Make NaN return value quiet.
2056         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2057         (__divdf3): Make NaN return value quiet.
2059 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2061         * config/rl78/anddi3.S: New assembly file.
2062         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2064 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2066         * config/rl78/umindi3.S: New assembly file.
2067         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2069 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2071         * config/rl78/smindi3.S: New assembly file.
2072         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2074 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2076         * config/rl78/smaxdi3.S: New assembly file.
2077         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2079 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2081         * config/rl78/umaxdi3.S: New assembly file.
2082         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2084 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
2086         PR lto/83452
2087         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2088         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2090 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
2092         * config/aarch64/value-unwind.h (aarch64_vg): New function.
2093         (DWARF_LAZY_REGISTER_VALUE): Define.
2094         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2095         to provide a fallback register value.
2097 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
2099         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2100         __ibm128, instead of trying to use long double.
2101         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2102         accomidate -mabi=ieeelongdouble multilibs.
2103         (CVT_IBM128_TO_FLOAT128): Likewise.
2104         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2105         the appropriate IBM extended double type.
2106         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2107         (__gcc_qsub): Likewise.
2108         (__gcc_qmul): Likewise.
2109         (__gcc_qdiv): Likewise.
2110         (pack_ldouble): Likewise.
2111         (__gcc_qneg): Likewise.
2112         (__gcc_qeq): Likewise.
2113         (__gcc_qne): Likewise.
2114         (__gcc_qge): Likewise.
2115         (__gcc_qle): Likewise.
2116         (__gcc_stoq): Likewise.
2117         (__gcc_dtoq): Likewise.
2118         (__gcc_itoq): Likewise.
2119         (__gcc_utoq): Likewise.
2120         (__gcc_qunord): Likewise.
2121         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2122         quad-float128.h for the definitions.
2123         (COPYSIGN): Use the f128 version instead of the q version.
2124         (INFINITY): Likewise.
2125         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2126         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2127         quad-float128.h for the definitions.
2128         (COPYSIGN): Use the f128 version instead of the q version.
2129         (INFINITY): Likewise.
2130         (FABS): Likewise.
2131         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2132         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2133         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2135 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2137         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2138         configuration.
2140 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
2142         Update copyright years.
2144 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
2146         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2147         * config/riscv/multi3.c: New file.
2148         * config/riscv/multi3.S: Remove.
2150 2017-12-08  Jim Wilson  <jimw@sifive.com>
2152         * config/riscv/div.S: Use FUNC_* macros.
2153         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2154         * config/riscv/save-restore.S: Likewise.
2155         * config/riscv/riscv-asm.h: New.
2157 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
2159         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2160         * config/rs6000/_divkc3.c (__divkc3): Likewise.
2162         PR libgcc/83112
2163         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2164         correct type for all ifunc resolvers to silence -Wattribute-alias
2165         warnings.  Eliminate the forward declaration of the resolver
2166         functions which is no longer needed.
2167         (__subkf3_resolve): Likewise.
2168         (__mulkf3_resolve): Likewise.
2169         (__divkf3_resolve): Likewise.
2170         (__negkf2_resolve): Likewise.
2171         (__eqkf2_resolve): Likewise.
2172         (__nekf2_resolve): Likewise.
2173         (__gekf2_resolve): Likewise.
2174         (__gtkf2_resolve): Likewise.
2175         (__lekf2_resolve): Likewise.
2176         (__ltkf2_resolve): Likewise.
2177         (__unordkf2_resolve): Likewise.
2178         (__extendsfkf2_resolve): Likewise.
2179         (__extenddfkf2_resolve): Likewise.
2180         (__trunckfsf2_resolve): Likewise.
2181         (__trunckfdf2_resolve): Likewise.
2182         (__fixkfsi_resolve): Likewise.
2183         (__fixkfdi_resolve): Likewise.
2184         (__fixunskfsi_resolve): Likewise.
2185         (__fixunskfdi_resolve): Likewise.
2186         (__floatsikf_resolve): Likewise.
2187         (__floatdikf_resolve): Likewise.
2188         (__floatunsikf_resolve): Likewise.
2189         (__floatundikf_resolve): Likewise.
2190         (__extendkftf2_resolve): Likewise.
2191         (__trunctfkf2_resolve): Likewise.
2193         PR libgcc/83103
2194         * config/rs6000/quad-float128.h (TF): Don't define if long double
2195         is IEEE 128-bit floating point.
2196         (TCtype): Define as either TCmode or KCmode, depending on whether
2197         long double is IEEE 128-bit floating point.
2198         (__mulkc3_sw): Add declarations for software/hardware versions of
2199         complex multiply/divide.
2200         (__divkc3_sw): Likewise.
2201         (__mulkc3_hw): Likewise.
2202         (__divkc3_hw): Likewise.
2203         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2204         handlers to switch between using software emulation and hardware
2205         float128 instructions, build the complex multiply/divide functions
2206         for both software and hardware support.
2207         * config/rs6000/_divkc3.c (_divkc3): Likewise.
2208         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2209         (__divkc3_resolve): Likewise.
2210         (__mulkc3): Likewise.
2211         (__divkc3): Likewise.
2212         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2213         (fp128_hw_src): Likewise.
2214         (fp128_hw_static_obj): Likewise.
2215         (fp128_hw_shared_obj): Likewise.
2216         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2217         _mulkc3.c and _divkc3.c, changing the function name.
2218         (_divkc3-hw.c): Likewise.
2219         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2220         and _divkc3-hw.c.
2222 2017-11-26  Julia Koval  <julia.koval@intel.com>
2224         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2225         * config/i386/cpuinfo.h (processor_subtypes): Add
2226         INTEL_COREI7_CANNONLAKE.
2228 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2230         PR bootstrap/83015
2231         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2232         parameter.
2233         * config/xtensa/unwind-dw2-xtensa.c: Likewise
2234         * config/ia64/unwind-ia64.c: Add frames parameter.
2235         * unwind-sjlj.c: Likewise.
2237 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2239         * config/i386/linux-unwind.h: Include
2240         config/i386/shadow-stack-unwind.h.
2241         * config/i386/shadow-stack-unwind.h: New file.
2242         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2243         pass it to _Unwind_Frames_Extra.
2244         * unwind-generic.h (_Unwind_Frames_Extra): New.
2245         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2246         parameter. Add local variable frames to count number of frames.
2247         (_Unwind_ForcedUnwind_Phase2): Likewise.
2248         (_Unwind_RaiseException): Add local variable frames to count
2249         number of frames, pass it to _Unwind_RaiseException_Phase2 and
2250         uw_install_context.
2251         (_Unwind_ForcedUnwind): Likewise.
2252         (_Unwind_Resume): Likewise.
2253         (_Unwind_Resume_or_Rethrow): Likewise.
2255 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2257         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2258         (CET_FLAGS): New.
2259         * config/i386/morestack.S: Include <cet.h>.
2260         (__morestack_large_model): Add _CET_ENDBR at function entrance.
2261         * config/i386/resms64.h: Include <cet.h>.
2262         * config/i386/resms64f.h: Likewise.
2263         * config/i386/resms64fx.h: Likewise.
2264         * config/i386/resms64x.h: Likewise.
2265         * config/i386/savms64.h: Likewise.
2266         * config/i386/savms64f.h: Likewise.
2267         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2268         (CRTSTUFF_T_CFLAGS): Likewise.
2269         * configure.ac: Include ../config/cet.m4.
2270         Set and substitute CET_FLAGS.
2271         * configure: Regenerated.
2273 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2275         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2276         renaming.
2277         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2278         * configure.ac (libgcc_cv_solaris_crts): Likewise.
2279         * configure: Regenerate.
2281 2017-11-07  Tom de Vries  <tom@codesourcery.com>
2283         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2284         after "do {} while (0)".
2286 2017-11-07  Tom de Vries  <tom@codesourcery.com>
2288         PR other/82784
2289         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2290         semicolon after "do {} while (0)".
2291         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2292         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2293         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2294         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2296 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
2298         PR libgcc/82635
2299         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2300         sysctl to determine whether we're in a trampoline.
2301         Keep the pattern matching method for systems without
2302         KERN_PROC_SIGTRAMP sysctl.
2304 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
2305             Vineet Gupta <vgupta@synopsys.com>
2307         * config.host (arc*-*-linux*): Set md_unwind_header variable.
2308         * config/arc/linux-unwind-reg.def: New file.
2309         * config/arc/linux-unwind-reg.h: Likewise.
2311 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
2313         * config/rl78/subdi3.S: New assembly file.
2314         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2316 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
2318         * config/rl78/adddi3.S: New assembly file.
2319         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2321 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
2323         PR target/82274
2324         * libgcc2.c (__mulvDI3): If both operands have
2325         the same highpart of -1 and the topmost bit of lowpart is 0,
2326         multiplication overflows even if both lowparts are 0.
2328 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
2330         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2332 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
2334         * config/microblaze/crti.S, config/microblaze/crtn.S,
2335         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2336         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2337         config/microblaze/mulsi3.S,
2338         config/microblaze/stack_overflow_exit.S,
2339         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2340         config/pa/milli64.S: Add .note.GNU-stack section.
2342 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
2344         * configure.ac: Add Check for HAVE_AS_AVX.
2345         * config.in: Regenerate.
2346         * configure: Likewise.
2347         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2348         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2349         Correct out-of-date comments.
2351 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
2353         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2354         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2356 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
2358         * config/i386/i386-asm.h (PASTE2): New macro.
2359         (ASMNAME): Modify to use PASTE2.
2360         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2361         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2362         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2363         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2364         * config/i386/resms64f.S: Likewise.
2365         * config/i386/resms64fx.S: Likewise.
2366         * config/i386/resms64x.S: Likewise.
2367         * config/i386/savms64.S: Likewise.
2368         * config/i386/savms64f.S: Likewise.
2369         * config/i386/avx_resms64.S: New file that only defines a macro and
2370         includes it's corresponding header file.
2371         * config/i386/avx_resms64f.S: Likewise.
2372         * config/i386/avx_resms64fx.S: Likewise.
2373         * config/i386/avx_resms64x.S: Likewise.
2374         * config/i386/avx_savms64.S: Likewise.
2375         * config/i386/avx_savms64f.S: Likewise.
2376         * config/i386/sse_resms64.S: Likewise.
2377         * config/i386/sse_resms64f.S: Likewise.
2378         * config/i386/sse_resms64fx.S: Likewise.
2379         * config/i386/sse_resms64x.S: Likewise.
2380         * config/i386/sse_savms64.S: Likewise.
2381         * config/i386/sse_savms64f.S: Likewise.
2382         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2384 2017-09-01  Olivier Hainque  <hainque@adacore.com>
2385         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2387 2017-08-31  Olivier Hainque  <hainque@adacore.com>
2389         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2390         match as powerpc-wrs-vxworks*.
2392 2017-08-07  Jonathan Yong  <10walls@gmail.com>
2394         * config.host (*-cygwin): Include file from mingw
2395         config/i386/enable-execute-stack-mingw32.c
2397 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
2398             Doug Rupp  <rupp@adacore.com>
2399             Olivier Hainque  <hainque@adacore.com>
2401         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2402         as well as arm-wrs-vxworks.
2403         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
2404         LIB2ADDEH.
2405         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2406         __exidx_start and __exidx_end for downloadable modules.
2408 2017-08-01  Olivier Hainque  <hainque@adacore.com>
2410         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2411         * config/t-vxworks7: Likewise.
2413 2017-08-01  Olivier Hainque  <hainque@adacore.com>
2415         * config/t-vxworks: Instead of redefining LIB2ADD,
2416         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2418 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2420         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2422 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
2424         PR testsuite/80759
2425         * config.host: include i386/t-msabi for darwin and solaris.
2426         * config/i386/i386-asm.h
2427         (ELFFN): Rename to FN_TYPE.
2428         (FN_SIZE): New macro.
2429         (FN_HIDDEN): Likewise.
2430         (ASMNAME): Likewise.
2431         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2432         .globl.
2433         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2434         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2435         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2436         .macro.
2437         * config/i386/resms64f.S: Likewise.
2438         * config/i386/resms64fx.S: Likewise.
2439         * config/i386/resms64x.S: Likewise.
2440         * config/i386/savms64.S: Likewise.
2441         * config/i386/savms64f.S: Likewise.
2443 2017-07-19  John Marino  <gnugcc@marino.st>
2445         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2447 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
2449         PR target/81193
2450         * configure.ac (PowerPC float128 hardware support): Test whether
2451         we can use __builtin_cpu_supports before enabling the ifunc
2452         handler.
2453         * configure: Regenerate.
2455 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
2457         * config.host: Remove uclibc from arc target spec.
2459 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
2461         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2463 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
2465         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2466         (have_ieee_hw_p): Delete function.
2467         (SW_OR_HW) Use __builtin_cpu_supports().
2469 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2471         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2473 2017-07-03  Olivier Hainque  <hainque@adacore.com>
2475         * config/t-vxworks7: New file, really.
2477 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
2479         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2480         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2481         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2482         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2483         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2484         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2485         config/pa/linux-unwind.h (pa32_fallback_frame_state),
2486         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2487         config/sh/linux-unwind.h (sh_fallback_frame_state),
2488         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2489         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2490         ucontext_t instead of struct ucontext.
2492 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
2494         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2495         (x86_64-wrs-vxworks7): Likewise.
2497 2017-06-27  Olivier Hainque  <hainque@adacore.com>
2499         * config/t-vxworks7: New file.
2500         * config.host (*-*-vxworks7): Use it.
2502 2017-06-22  Matt Turner  <mattst88@gmail.com>
2504         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2505         skylake case.
2507 2017-06-21  Richard Biener  <rguenther@suse.de>
2509         PR gcov-profile/81080
2510         * configure.ac: Add AC_SYS_LARGEFILE.
2511         * libgcov.h: Include auto-target.h before tsystem.h to pick
2512         up _FILE_OFFSET_BITS which might differ for multilibs.
2513         * config.in: Regenerate.
2514         * configure: Likewise.
2516 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
2518         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2520 2017-06-09  Martin Liska  <mliska@suse.cz>
2522         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2523         Reset __gcov_indirect_call_callee to NULL.
2525 2017-06-08  Olivier Hainque  <hainque@adacore.com>
2527         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2528         the set of -I options, support for direct inclusions of net/uio.h
2529         by VxWorks header files via ioLib.h.
2531 2017-06-07  Tony Reix  <tony.reix@atos.net>
2532             Matthieu Sarter  <matthieu.sarter.external@atos.net>
2533             David Edelsohn  <dje.gcc@gmail.com>
2535         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2536         unconditionally.
2537         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
2538         AIX 7.2 support.
2540 2017-06-02  Olivier Hainque  <hainque@adacore.com>
2542         * config/vxlib.c (__gthread_once): Add missing value to
2543         return statement.
2545 2017-05-30  Olivier Hainque  <hainque@adacore.com>
2547         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2548         dollar sign before $(MULTIDIR).
2550 2017-05-26  Richard Henderson  <rth@redhat.com>
2552         PR libgcc/80037
2553         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2555 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
2557         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2558         _Unwind_SetIP available as functions for arm*-*-freebsd*.
2559         * config/arm/unwind-arm.c: Implement the above.
2561 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2563         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2564         section for a non-executable stack.
2566 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
2568         PR target/80600
2569         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2571 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
2573         * config.host: Add i386/t-msabi to i386/t-linux file list.
2574         * config/i386/i386-asm.h: New file.
2575         * config/i386/resms64.S: New file.
2576         * config/i386/resms64f.S: New file.
2577         * config/i386/resms64fx.S: New file.
2578         * config/i386/resms64x.S: New file.
2579         * config/i386/savms64.S: New file.
2580         * config/i386/savms64f.S: New file.
2581         * config/i386/t-msabi: New file.
2583 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
2585         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2586         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2588 2017-05-05  Joshua Conner  <joshconner@google.com>
2590         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2591         pc-relative indirect handling for fuchsia.
2592         * config/t-slibgcc-fuchsia: New file.
2593         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2594         x86_64-*-fuchsia*): Add definitions.
2596 2017-04-19  Martin Liska  <mliska@suse.cz>
2598         PR gcov-profile/80435
2599         * Makefile.in: Install gcov.h.
2600         * gcov.h: New file.
2601         * libgcov.h: Use the header and make __gcov_flush publicly
2602         visible.
2604 2017-04-18  Martin Liska  <mliska@suse.cz>
2606         PR gcov-profile/78783
2607         * libgcov-driver.c (gcov_get_filename): New function.
2609 2017-04-07  Jeff Law  <law@redhat.com>
2611         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2612         target makefile fragment.
2613         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2615 2017-04-07  Alan Modra  <amodra@gmail.com>
2617         PR target/45053
2618         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2620 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
2622         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2624 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
2626         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2628 2017-03-10  John Marino  <gnugcc@marino.st>
2630         * config/aarch64/freebsd-unwind.h: New file.
2631         * config.host: Add aarch64-*-freebsd unwinder.
2633 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
2635         * config/rs6000/crtrestvr.s: Use .machine altivec.
2636         * config/rs6000/crtsavevr.s: Ditto.
2638 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
2640         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2641         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
2642         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2643         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
2644         * configure: Regenerate.
2645         * config.in: Regenerate.
2647 2017-03-02  Jonathan Yong <10walls@gmail.com>
2649         * config/i386/gthr-win32.h: Define NOGDI before
2650         windows.h include to prevent w32api CC_NONE macro
2651         clash with libgfortran.
2653 2017-03-02  Jonathan Yong <10walls@gmail.com>
2655         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2657 2017-02-16  Andrew Pinski  <apinski@cavium.com>
2659         * config/aarch64/value-unwind.h: New file.
2660         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2661         to tm_file.
2663 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
2665         * config.host: Add RISC-V tuples.
2666         * config/riscv/atomic.c: New file.
2667         * config/riscv/crti.S: Likewise.
2668         * config/riscv/crtn.S: Likewise.
2669         * config/riscv/div.S: Likewise.
2670         * config/riscv/linux-unwind.h: Likewise.
2671         * config/riscv/muldi3.S: Likewise.
2672         * config/riscv/multi3.S: Likewise.
2673         * config/riscv/save-restore.S: Likewise.
2674         * config/riscv/sfp-machine.h: Likewise.
2675         * config/riscv/t-elf: Likewise.
2676         * config/riscv/t-elf32: Likewise.
2677         * config/riscv/t-elf64: Likewise.
2678         * config/riscv/t-softfp32: Likewise.
2679         * config/riscv/t-softfp64: Likewise.
2681 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2683         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2684         /* FALLTHRU */ comments.
2686 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
2688         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2690 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
2692         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2693         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
2694         DW_CFA_GNU_window_save for AArch64 and LP64.
2696 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
2698         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2700 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
2702         * config/aarch64/aarch64-unwind.h: New file.
2703         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2704         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2705         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2706         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2707         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2708         (aarch64_post_extract_frame_addr): New function.
2709         (aarch64_post_frob_eh_handler_addr): New function.
2710         (aarch64_frob_update_context): New function.
2711         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2712         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2713         aarch64*-*-freebsd*):
2714         Initialize md_unwind_header to include aarch64-unwind.h.
2715         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2716         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2717         __aarch64__.
2718         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2719         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2720         (uw_frob_return_addr): New function.
2721         (uw_install_context): Use uw_frob_return_addr.
2723 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
2725         PR other/79046
2726         * configure.ac: Add GCC_BASE_VER.
2727         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2728         version from BASE-VER file.
2729         * configure: Regenerated.
2731 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
2733         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2734         libmul_f5.a): Filter archived prerequisites.
2736 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
2738         * config/i386/cpuinfo.h (processor_features): Add
2739         FEATURE_AVX512VPOPCNTDQ.
2740         * config/i386/cpuinfo.c (get_available_features): Habdle new
2741         feature.
2743 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2745         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2746         payload if [__mips_nan2008].
2748 2017-01-04  Alan Modra  <amodra@gmail.com>
2750         * Makefile.in (configure_deps): Update.
2751         * configure: Regenerate.
2753 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
2755         Update copyright years.
2757 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
2759         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2760         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2761         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2763 2016-12-17  Matthias Klose  <doko@ubuntu.com>
2765         * config/arc/gmon: Remove empty directory.
2767 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
2769         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2770         crtgend.
2771         (arc*-*-elf*): Likewise.
2772         * config/arc/t-arc: Remove old gmon lib targets.
2773         * config/arc/crtg.S: Remove.
2774         * config/arc/crtgend.S: Likewise.
2775         * config/arc/gmon/atomic.h: Likewise.
2776         * config/arc/gmon/auxreg.h: Likewise.
2777         * config/arc/gmon/dcache_linesz.S: Likewise.
2778         * config/arc/gmon/gmon.c: Likewise.
2779         * config/arc/gmon/machine-gmon.h: Likewise.
2780         * config/arc/gmon/mcount.c: Likewise.
2781         * config/arc/gmon/prof-freq-stub.S: Likewise.
2782         * config/arc/gmon/prof-freq.c: Likewise.
2783         * config/arc/gmon/profil.S: Likewise.
2784         * config/arc/gmon/sys/gmon.h: Likewise.
2785         * config/arc/gmon/sys/gmon_out.h: Likewise.
2786         * config/arc/t-arc-newlib: Likewise.
2787         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2789 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2791         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2793 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2795         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2796         R16 instead of push + pop.
2797         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2799 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
2801         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2802         tmake_file.
2804 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
2806         * config.host (arc*-*-linux-uclibc*): Use default extra
2807         objects. Include linux-android header.
2808         * config/arc/crti.S (_init): Declare symbol as function.
2809         (_fini): Likewise.
2811 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
2813         PR fortran/78379
2814         * config/i386/cpuinfo.c:  Move denums for processor vendors,
2815         processor type, processor subtypes and declaration of
2816         struct __processor_model into
2817         * config/i386/cpuinfo.h:  New header file.
2819 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2820             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2822         * config/arm/cmse_nonsecure_call.S: New.
2823         * config/arm/t-arm: Compile cmse_nonsecure_call.S
2825 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2826             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2828         * config/arm/t-arm (HAVE_CMSE): New.
2829         * config/arm/cmse.c: New.
2831 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2833         PR gcc/74748
2834         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2835         use generic linker version information on Blackfin.
2837         PR gcc/74748
2838         * libgcc/mkmap-symver.awk: add support for skip_underscore
2840 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
2841             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2843         PR target/67710
2844         *  config/t-darwin: Default builds to 10.5 codegen.
2846 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
2848         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2849         (_FP_NANSIGN_H): Likewise.
2850         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2851         (softfp_truncations): Add tfhf.
2852         (softfp_extras): Add required conversion functions.
2854 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2855             Matthew Wahab  <matthew.wahab@arm.com>
2857         * config/arm/fp16.c (binary64): New.
2858         (__gnu_d2h_internal): New.
2859         (__gnu_d2h_ieee): New.
2860         (__gnu_d2h_alternative): New.
2862 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2863             Matthew Wahab  <matthew.wahab@arm.com>
2865         * config/arm/fp16.c (struct format): New.
2866         (binary32): New.
2867         (__gnu_float2h_internal): New.  Body moved from
2868         __gnu_f2h_internal and generalize.
2869         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2870         Call it with binary32.
2872 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2874         * soft-fp/extendhftf2.c: Update from glibc.
2875         * soft-fp/fixhfti.c: Likewise.
2876         * soft-fp/fixunshfti.c: Likewise.
2877         * soft-fp/floattihf.c: Likewise.
2878         * soft-fp/floatuntihf.c: Likewise.
2879         * soft-fp/half.h: Likewise.
2880         * soft-fp/trunctfhf2.c: Likewise.
2882 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
2884         PR libgcc/77813
2885         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2886         __TMC_END__ behind a passthrough asm.
2888 2016-11-18  Walter Lee  <walt@tilera.com>
2890         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2892 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
2894         * config/i386/cpuinfo.c (processor_features): Add
2895         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2897 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
2899         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2900         (__ARC_NORM__): Use instead ARC_OPTFPE.
2901         * config/arc/fp-hack.h: Likewise.
2902         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2903         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2905 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
2907         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2908         * config/nvptx/mgomp.c: New file.
2909         * config/nvptx/t-nvptx: Add mgomp.c
2911 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
2913         PR libgcc/68468
2914         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2916 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
2918         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2919         of checking for cpus.
2920         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2921         (__modsi3, __clzsi2): Likewise.
2923 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2925         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2926         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2927         * config/i386/t-cpuinfo-static: New.
2929 2016-11-03  Martin Liska  <mliska@suse.cz>
2931         * libgcov-profiler.c (__gcov_time_profiler): Remove.
2932         (__gcov_time_profiler_atomic): Likewise.
2934 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2936         PR libgcc/78067
2937         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2938         count_leading_zeros.
2940 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
2942         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2943         * libgcc2.c (__divmoddi4): New function.
2944         * libgcc2.h (__divmoddi4): Declare.
2945         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2946         and __PFX_divmodti4.
2948 2016-10-24  Florian Weimer  <fweimer@redhat.com>
2950         PR libgcc/78064
2951         * unwind-c.c: Include auto-target.h.
2953 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
2955         * config/pa/pa64-hpux-lib.h: New file.
2956         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2957         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2958         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2959         hppa*64*-*-hpux11*.
2961 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
2963         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2964         definition.
2965         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2966         definition.
2967         * config/xtensa/t-windowed (LIB2ADDEH): Use
2968         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2969         or xtensa/t-linux.
2971 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
2973         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2974         __ieee754_sqrt): New functions.
2975         (__divdf3): Add implementation with new FPU instructions under
2976         #if XCHAL_HAVE_DFP_DIV.
2977         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2978         __ieee754_sqrtf): New functions.
2979         (__divsf3): Add implementation with new FPU instructions under
2980         #if XCHAL_HAVE_FP_DIV.
2981         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2982         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2984 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2986         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2987         equivalent.
2988         * config/tilepro/atomic.c: Likewise and stop casting model to
2989         enum memmodel.
2991 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
2993         PR target/77586
2994         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2995         soft-fp.
2997 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
2999         * config.host: Add support for aarch64-*-freebsd*.
3001 2016-10-05  Andreas Schwab  <schwab@suse.de>
3003         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3004         (.section .init_array): Don't call __do_jv_register_classes.
3005         (.section .init): Likewise.
3007 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
3009         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3010         (__JCR_LIST__): Remove.
3011         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3012         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3013         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3014         * config/ia64/crtend.S (__JCR_END__): Remove.
3015         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3016         conditionals.
3017         (__JCR_LIST__, __JCR_END__): Remove.
3018         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3019         (__do_global_ctors_1): Likewise.
3021 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
3023         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3024         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3026 2016-09-27  Martin Liska  <mliska@suse.cz>
3028         PR gcov-profile/7970
3029         PR gcov-profile/16855
3030         PR gcov-profile/44779
3031         * libgcov-driver.c (__gcov_init): Do not register a atexit
3032         handler.
3033         (__gcov_exit): Rename from gcov_exit.
3034         * libgcov.h (__gcov_exit): Declare.
3036 2016-09-27  Martin Liska  <mliska@suse.cz>
3038         PR bootstrap/77749
3039         * Makefile.in: Remove _gcov_merge_delta.
3040         * libgcov-merge.c (void __gcov_merge_delta): Remove.
3041         * libgcov-util.c (__gcov_delta_counter_op): Remove.
3042         * libgcov.h: Remove declaration of __gcov_merge_delta.
3044 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
3046         * configure.ac: Do not create links, only substitute the filenames.
3047         * configure: Regenerate.
3048         * Makefile.in: Assign the substitution results to variables.
3049         (LIBGCC_LINKS): Define.
3050         (enable-execute-stack.c): New rule.
3051         (unwind.h): Likewise.
3052         (md-unwind-support.h): Likewise.
3053         (sfp-machine.h): Likewise.
3054         (gthr-default.h): Likewise.
3055         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3056         unwind.h as prerequisite of install-unwind_h-forbuild.
3058 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
3060         PR libgcc/71744
3061         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3062         is not the primary registry and atomics are available.
3063         (any_objects_registered): New variable.
3064         (__register_frame_info_bases, __register_frame_info_table_bases):
3065         Atomically store 1 to any_objects_registered after registering first
3066         unwind info.
3067         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3069 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
3071         PR target/63250
3072         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3073         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3074         (HFtype): Likewise.
3075         (HCtype): Likewise.
3076         (__divhc3): Likewise.
3077         (__mulhc3): Likewise.
3078         * libgcc2.c: Support _mulhc3 and _divhc3.
3080 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3082         PR libgcc/77519
3083         * libgcc2.c (NOTRUNC): Invert settings.
3085 2016-09-06  Martin Liska  <mliska@suse.cz>
3087         PR gcov-profile/77378
3088         PR gcov-profile/77466
3089         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3090         conditionaly enable/disable *_atomic functions.
3092 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
3094         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3095         where not already enabled.
3097 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3099         * config/mips/linux-unwind.h: Use sys/syscall.h.
3101 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3103         PR libgcc/77265
3104         * soft-fp/adddf3.c: Update from glibc.
3105         * soft-fp/addsf3.c: Likewise.
3106         * soft-fp/addtf3.c: Likewise.
3107         * soft-fp/divdf3.c: Likewise.
3108         * soft-fp/divsf3.c: Likewise.
3109         * soft-fp/divtf3.c: Likewise.
3110         * soft-fp/double.h: Likewise.
3111         * soft-fp/eqdf2.c: Likewise.
3112         * soft-fp/eqsf2.c: Likewise.
3113         * soft-fp/eqtf2.c: Likewise.
3114         * soft-fp/extenddftf2.c: Likewise.
3115         * soft-fp/extended.h: Likewise.
3116         * soft-fp/extendsfdf2.c: Likewise.
3117         * soft-fp/extendsftf2.c: Likewise.
3118         * soft-fp/extendxftf2.c: Likewise.
3119         * soft-fp/fixdfdi.c: Likewise.
3120         * soft-fp/fixdfsi.c: Likewise.
3121         * soft-fp/fixdfti.c: Likewise.
3122         * soft-fp/fixsfdi.c: Likewise.
3123         * soft-fp/fixsfsi.c: Likewise.
3124         * soft-fp/fixsfti.c: Likewise.
3125         * soft-fp/fixtfdi.c: Likewise.
3126         * soft-fp/fixtfsi.c: Likewise.
3127         * soft-fp/fixtfti.c: Likewise.
3128         * soft-fp/fixunsdfdi.c: Likewise.
3129         * soft-fp/fixunsdfsi.c: Likewise.
3130         * soft-fp/fixunsdfti.c: Likewise.
3131         * soft-fp/fixunssfdi.c: Likewise.
3132         * soft-fp/fixunssfsi.c: Likewise.
3133         * soft-fp/fixunssfti.c: Likewise.
3134         * soft-fp/fixunstfdi.c: Likewise.
3135         * soft-fp/fixunstfsi.c: Likewise.
3136         * soft-fp/fixunstfti.c: Likewise.
3137         * soft-fp/floatdidf.c: Likewise.
3138         * soft-fp/floatdisf.c: Likewise.
3139         * soft-fp/floatditf.c: Likewise.
3140         * soft-fp/floatsidf.c: Likewise.
3141         * soft-fp/floatsisf.c: Likewise.
3142         * soft-fp/floatsitf.c: Likewise.
3143         * soft-fp/floattidf.c: Likewise.
3144         * soft-fp/floattisf.c: Likewise.
3145         * soft-fp/floattitf.c: Likewise.
3146         * soft-fp/floatundidf.c: Likewise.
3147         * soft-fp/floatundisf.c: Likewise.
3148         * soft-fp/floatunditf.c: Likewise.
3149         * soft-fp/floatunsidf.c: Likewise.
3150         * soft-fp/floatunsisf.c: Likewise.
3151         * soft-fp/floatunsitf.c: Likewise.
3152         * soft-fp/floatuntidf.c: Likewise.
3153         * soft-fp/floatuntisf.c: Likewise.
3154         * soft-fp/floatuntitf.c: Likewise.
3155         * soft-fp/gedf2.c: Likewise.
3156         * soft-fp/gesf2.c: Likewise.
3157         * soft-fp/getf2.c: Likewise.
3158         * soft-fp/ledf2.c: Likewise.
3159         * soft-fp/lesf2.c: Likewise.
3160         * soft-fp/letf2.c: Likewise.
3161         * soft-fp/muldf3.c: Likewise.
3162         * soft-fp/mulsf3.c: Likewise.
3163         * soft-fp/multf3.c: Likewise.
3164         * soft-fp/negdf2.c: Likewise.
3165         * soft-fp/negsf2.c: Likewise.
3166         * soft-fp/negtf2.c: Likewise.
3167         * soft-fp/op-1.h: Likewise.
3168         * soft-fp/op-2.h: Likewise.
3169         * soft-fp/op-4.h: Likewise.
3170         * soft-fp/op-8.h: Likewise.
3171         * soft-fp/op-common.h: Likewise.
3172         * soft-fp/quad.h: Likewise.
3173         * soft-fp/single.h: Likewise.
3174         * soft-fp/soft-fp.h: Likewise.
3175         * soft-fp/subdf3.c: Likewise.
3176         * soft-fp/subsf3.c: Likewise.
3177         * soft-fp/subtf3.c: Likewise.
3178         * soft-fp/truncdfsf2.c: Likewise.
3179         * soft-fp/trunctfdf2.c: Likewise.
3180         * soft-fp/trunctfsf2.c: Likewise.
3181         * soft-fp/trunctfxf2.c: Likewise.
3182         * soft-fp/unorddf2.c: Likewise.
3183         * soft-fp/unordsf2.c: Likewise.
3184         * soft-fp/unordtf2.c: Likewise.
3186 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
3188         PR gcov-profile/67097
3189         * libgcov-util.c (gcov_profile_merge): Skip missing files.
3191 2016-08-10  Martin Liska  <mliska@suse.cz>
3193         PR gcov-profile/58306
3194         * Makefile.in: New functions (modules) are added.
3195         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3196         function.
3197         (__gcov_pow2_profiler_atomic): New function.
3198         (__gcov_one_value_profiler_body): New argument is instroduced.
3199         (__gcov_one_value_profiler): Call with the new argument.
3200         (__gcov_one_value_profiler_atomic): Likewise.
3201         (__gcov_indirect_call_profiler_v2): Likewise.
3202         (__gcov_time_profiler_atomic): New function.
3203         (__gcov_average_profiler_atomic): Likewise.
3204         (__gcov_ior_profiler_atomic): Likewise.
3205         * libgcov.h: Declare the aforementioned functions.
3207 2016-08-09  Martin Liska  <mliska@suse.cz>
3209         * libgcov-util.c: Fix typo and GNU coding style.
3211 2016-08-09  Martin Liska  <mliska@suse.cz>
3213         * Makefile.in: Remove __gcov_indirect_call_profiler.
3214         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3215         function.
3216         * libgcov.h: And the declaration of the function.
3218 2016-08-09  Martin Liska  <mliska@suse.cz>
3220         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3221         power of two.
3223 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3225         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3226         * config/rs6000/_mulkc3.c: Likewise.
3228 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
3230         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3231         zero_reg as previous call to __umulhisi3 already cleared it.
3233 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
3235         PR target/59833
3236         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3238 2016-07-19  Nick Clifton  <nickc@redhat.com>
3240         * config.host (m32r): Add m32r/t-m32r to tmake_file.
3241         Add crtinit.o and crtfini.o to extra_parts.
3243 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3245         * config/rs6000/_divkc3.c: New.
3246         * config/rs6000/_mulkc3.c: New.
3247         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3248         and _divkc3.
3249         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3250         fp128_ppc_funcs.
3252 2016-07-11  Hale Wang  <hale.wang@arm.com>
3253             Andre Vieira  <andre.simoesdiasvieira@arm.com>
3255         * config/arm/lib1funcs.S: Add new wrapper.
3257 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3259         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3261 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3263         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3264         and ARMv5t* rather than for a fixed list of architectures.
3266 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3268         * config/arm/bpabi-v6m.S: Clarify what architectures is the
3269         implementation suitable for.
3270         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3271         for all Thumb-1 only targets.
3272         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3273         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3274         __ARM_ARCH_6M__.
3275         (EQUIV): Likewise.
3276         (ARM_FUNC_ALIAS): Likewise.
3277         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3278         version.
3279         (modsi3): Likewise.
3280         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3281         (clzdi2): Likewise.
3282         (ctzsi2): Likewise.
3283         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3284         __ARM_ARCH_6M__ in guard for checking whether it is defined.
3285         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3286         __ARM_ARCH_6M__ and add comment to indicate the connection between
3287         this condition and the one in gcc/config/arm/elf.h.
3288         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3289         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3290         * config/arm/t-softfp: Likewise.
3292 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3294         * libgcc2.c (SYMBOL__MAIN): Remove checks for
3295         CTOR_LISTS_DEFINED_EXTERNALLY.
3297 2016-06-28  Walter Lee  <walt@tilera.com>
3299         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3300         asm/unistd.h.
3301         (SPR_CMPEXCH_VALUE): Define for tilegx.
3302         (__NR_FAST_cmpxchg): Define for tilepro.
3303         (__NR_FAST_atomic_update): Define for tilepro.
3304         (__NR_FAST_cmpxchg64): Define for tilepro.
3306 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
3308         * config.host: Add suport for arm*-*-phoenix* targets.
3310 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3312         * config.host: Remove support for mep-*.
3313         * config/mep/lib1funcs.S: Remove.
3314         * config/mep/lib2funcs.c: Remove.
3315         * config/mep/t-mep: Remove.
3316         * config/mep/tramp.c: Remove.
3318 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3320         * config.host: Remove support for avr-rtems.
3321         * config/avr/t-rtems: Remove.
3323 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3325         * config.host: Remove m32r-rtems support.
3327 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3329         * config.host: Remove h8300-rtems support.
3331 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3333         * config.host: Remove support for knetbsd.
3335 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3337         * config.host: Remove support for openbsd 2 and 3.
3339 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3341         * config.host: Remove interix support.
3342         * config/i386/t-interix: Remove.
3344 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
3346         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3347         least-significant bit in function pointer for fixup.
3349 2016-06-05  Aaron Conole  <aconole@redhat.com>
3350             Nathan Sidwell  <nathan@acm.org>
3352         PR libgcc/71400
3353         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3354         (get_gcov_error_file): Check __gcov_error_file before trying to
3355         initialize it.
3356         (gcov_error): Always use get_gcov_error_file.
3358 2016-06-02  Aaron Conole  <aconole@redhat.com>
3360         * libgcov-driver-system.c (__gcov_error_file): New.
3361         (get_gcov_error_file): New.
3362         (gcov_error): Use and set __gcov_error_file.
3363         (gcov_error_exit): New.
3364         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3366 2016-05-26  Nathan Sidwell  <nathan@acm.org>
3368         * config/nvptx/free.asm: Delete.
3369         * config/nvptx/malloc.asm: Delete.
3370         * config/nvptx/realloc.c: Delete.
3371         * t-nvptx: Update.
3373 2016-05-25  Nathan Sidwell  <nathan@acm.org>
3375         * config/nvptx/crt0.s: Delete.
3376         * config/nvptx/crt0.c: New.
3377         * t-nvptx: Update.
3379 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
3381         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3382         dw2/seh configuration.
3383         [x86_64-*-mingw*]: Likewise.
3385 2016-05-10  Joel Sherrill <joel@rtems.org>
3387         PR libgcc/70720
3388         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3389         targets so the same extra_parts are built.  Also have tmake_file add
3390         on to its value rather than override.
3392 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
3394         * config.host: Remove SH5 support.
3395         * configure: Likewise.
3397 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
3399         * config/sh/crt1.S: Remove SH5 support.
3400         * config/sh/crti.S: Likewise.
3401         * config/sh/crtn.S: Likewise.
3402         * config/sh/lib1funcs-4-300.S: Likewise.
3403         * config/sh/lib1funcs-Os-4-200.S: Likewise.
3404         * config/sh/lib1funcs.S: Likewise.
3405         * config/sh/linux-unwind.h: Likewise.
3406         * config/sh/t-sh64: Delete.
3408 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
3410         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3412 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
3413             Joern Rennecke  <joern.rennecke@embecosm.com>
3415         * config/arc/crttls.S: New file.
3416         * config/arc/t-arc: New rule.
3417         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3419 2016-04-25  Nick Clifton  <nickc@redhat.com>
3421         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3422         (__mspabi_cmpd): Likewise.
3423         * config/msp430/floathidf.c (__floathidf): Likewise.
3424         * config/msp430/floathisf.c (__floathisf): Likewise
3425         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3426         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3427         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3428         second parameter.
3429         (__ashrsi3): Likewise.
3431 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
3433         * config/m68k/linux-atomic.c: Do not include unistd.h
3435 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
3437         * config/arm/ieee754-df.S: Fix typos in comments.
3439 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
3441         PR target/70381
3442         * configure.ac (powerpc*-*-linux*): Rework tests to build
3443         __float128 emulation routines to not depend on using #pragma GCC
3444         target to enable -mfloat128.
3445         * configure: Regnerate.
3447 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
3449         PR target/67172
3450         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3451         __MINGW32__ is defined.
3453 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
3455         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3457 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
3459         PR libgcc/70363
3460         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3461         built with an assembler that does not support ISA 3.0
3462         instructions, rename __extendkftf2_sw to __extendkftf2.
3464 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3466         PR target/38239
3467         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3468         call-clobbered registers.
3469         (internal_mcount): Remove __i386__ handling.
3471 2016-02-26  Joel Sherrill <joel@rtems.org>
3473         * config.host: Add x86_64-*-rtems*.
3475 2016-02-26  Joel Sherrill <joel@rtems.org>
3477         * libgcc/config.host: Add aarch64-*-rtems*.
3479 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3480             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3482         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3483         union of u64 and double.
3484         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3485         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3486         value.
3487         (FP_ROUNDMODE): Update the usage of _fpscr.
3489 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
3491         PR driver/68463
3492         * Makefile.in (crtoffloadtable$(objext)): New rule.
3493         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3494         enable_offload_targets is not empty.
3495         * configure: Regenerate.
3496         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3497         crtoffloadtable.
3499 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
3501         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3502         .literal_position before the function.
3503         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3504         Likewise.
3506 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
3508         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3509         * config/s390/morestack.S: New file.
3510         * config/s390/t-stack-s390: New file.
3511         * generic-morestack.c (__splitstack_find): Add s390-specific code.
3513 2016-02-12  Walter Lee  <walt@tilera.com>
3515         * config.host (tilegx*-*-linux*): remove ti from
3516         softfp_int_modes for 32-bit configs.
3518 2016-02-10  Ian Lance Taylor  <iant@google.com>
3520         PR go/68562
3521         * config/i386/morestack.S (__stack_split_initialize): Align
3522         stack.
3524 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
3526         PR bootstrap/69611
3527         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3528         __FLOAT128__ to compile only for __float128 capable targets.
3530 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
3532         PR target/69444
3533         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3534         instead of ___NO_FPRS__.
3536 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
3537             Steven Munroe  <munroesj@linux.vnet.ibm.com>
3538             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
3540         * config/rs6000/float128-sed: New files to convert TF names to KF
3541         names for PowerPC IEEE 128-bit floating point support.
3542         * config/rs6000/float128-sed-hw: Likewise.
3544         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3545         floating point hardware support.
3547         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3548         128-bit floating point software emulation or use ISA 3.0 hardware
3549         support if it is available.
3551         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3552         floating point.
3554         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3555         floating point to IBM extended double.
3557         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3558         double to IEEE 128-bit floating point.
3560         * config/rs6000/t-float128: New Makefile fragments to enable
3561         building __float128 emulation support.
3562         * config/rs6000/t-float128-hw: Likewise.
3564         * config/rs6000/sfp-exceptions.c: New file to provide exception
3565         support for IEEE 128-bit floating point.
3567         * config/rs6000/floattikf.c: New files for converting between IEEE
3568         128-bit floating point and signed/unsigned 128-bit integers.
3569         * config/rs6000/fixunskfti.c: Likewise.
3570         * config/rs6000/fixkfti.c: Likewise.
3571         * config/rs6000/floatuntikf.c: Likewise.
3573         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3574         when building on 64-bit systems, or when VSX is enabled.
3575         (_FP_W_TYPE): Likewise.
3576         (_FP_WS_TYPE): Likewise.
3577         (_FP_I_TYPE): Likewise.
3578         (TItype): Define on 64-bit systems.
3579         (UTItype): Likewise.
3580         (TI_BITS): Likewise.
3581         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3582         (_FP_MUL_MEAT_Q): Likewise.
3583         (_FP_DIV_MEAT_D): Likewise.
3584         (_FP_DIV_MEAT_Q): Likewise.
3585         (_FP_NANFRAC_D): Likewise.
3586         (_FP_NANFRAC_Q): Likewise.
3587         (ISA_BIT): Add exception support if we are being compiled on a
3588         machine with hardware floating point support to build the IEEE
3589         128-bit emulation functions.
3590         (FP_EX_INVALID): Likewise.
3591         (FP_EX_OVERFLOW): Likewise.
3592         (FP_EX_UNDERFLOW): Likewise.
3593         (FP_EX_DIVZERO): Likewise.
3594         (FP_EX_INEXACT): Likewise.
3595         (FP_EX_ALL): Likewise.
3596         (__sfp_handle_exceptions): Likewise.
3597         (FP_HANDLE_EXCEPTIONS): Likewise.
3598         (FP_RND_NEAREST): Likewise.
3599         (FP_RND_ZERO): Likewise.
3600         (FP_RND_PINF): Likewise.
3601         (FP_RND_MINF): Likewise.
3602         (FP_RND_MASK): Likewise.
3603         (_FP_DECL_EX): Likewise.
3604         (FP_INIT_ROUNDMODE): Likewise.
3605         (FP_ROUNDMODE): Likewise.
3607         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3608         VSX code, enable IEEE 128-bit floating point.  If the compiler can
3609         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3610         floating point hardware instructions and it supports declaring
3611         functions with the ifunc attribute, enable ifunc functions to
3612         switch between software and hardware support.
3613         * configure.ac (powerpc*-*-linux*): Likewise.
3614         * configure: Regenerate.
3616 2016-01-15  Nick Clifton  <nickc@redhat.com>
3618         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3619         dependency as the source file to be compiled.
3620         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3621         (lib2hw_mul_f5.o): Likewise.
3623 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
3625         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3626         * libgcc/config/rs6000/fixkfti.c: Likewise.
3627         * libgcc/config/rs6000/fixunskfti.c: Likewise.
3628         * libgcc/config/rs6000/float128-hw.c: Likewise.
3629         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3630         * libgcc/config/rs6000/float128-sed: Likewise.
3631         * libgcc/config/rs6000/floattikf.c: Likewise.
3632         * libgcc/config/rs6000/floatuntikf.c: Likewise.
3633         * libgcc/config/rs6000/quad-float128.h: Likewise.
3634         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3635         * libgcc/config/rs6000/sfp-machine.h: Likewise.
3636         * libgcc/config/rs6000/t-float128: Likewise.
3637         * libgcc/config/rs6000/t-float128-hw: Likewise.
3638         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3639         * libgcc/config.host: Likewise.
3640         * libgcc/configure: Likewise.
3641         * libgcc/configure.ac: Likewise.
3643 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
3644             Steven Munroe  <munroesj@linux.vnet.ibm.com>
3645             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
3647         * config/rs6000/sfp-exceptions.c: New file to provide exception
3648         support for IEEE 128-bit floating point.
3650         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3651         floating point hardware support.
3653         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3654         point conversions.
3655         * config/rs6000/fixunskfti.c: Likewise.
3656         * config/rs6000/fixkfti.c: Likewise.
3657         * config/rs6000/floatuntikf.c: Likewise.
3658         * config/rs6000/extendkftf2-sw.c: Likewise.
3659         * config/rs6000/trunctfkf2-sw.c: Likewise.
3661         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3662         128-bit floating point software emulation or use ISA 3.0 hardware
3663         support if it is available.
3665         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3666         floating point.
3668         * config/rs6000/t-float128: New Makefile fragments to enable
3669         building __float128 emulation support.
3670         * config/rs6000/t-float128-hw: Likewise.
3672         * config/rs6000/float128-sed: New file to convert TF names to KF
3673         names for PowerPC IEEE 128-bit floating point support.
3675         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3676         when building on 64-bit systems, or when VSX is enabled.
3677         (_FP_W_TYPE): Likewise.
3678         (_FP_WS_TYPE): Likewise.
3679         (_FP_I_TYPE): Likewise.
3680         (TItype): Define on 64-bit systems.
3681         (UTItype): Likewise.
3682         (TI_BITS): Likewise.
3683         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3684         (_FP_MUL_MEAT_Q): Likewise.
3685         (_FP_DIV_MEAT_D): Likewise.
3686         (_FP_DIV_MEAT_Q): Likewise.
3687         (_FP_NANFRAC_D): Likewise.
3688         (_FP_NANFRAC_Q): Likewise.
3689         (ISA_BIT): Add exception support if we are being compiled on a
3690         machine with hardware floating point support to build the IEEE
3691         128-bit emulation functions.
3692         (FP_EX_INVALID): Likewise.
3693         (FP_EX_OVERFLOW): Likewise.
3694         (FP_EX_UNDERFLOW): Likewise.
3695         (FP_EX_DIVZERO): Likewise.
3696         (FP_EX_INEXACT): Likewise.
3697         (FP_EX_ALL): Likewise.
3698         (__sfp_handle_exceptions): Likewise.
3699         (FP_HANDLE_EXCEPTIONS): Likewise.
3700         (FP_RND_NEAREST): Likewise.
3701         (FP_RND_ZERO): Likewise.
3702         (FP_RND_PINF): Likewise.
3703         (FP_RND_MINF): Likewise.
3704         (FP_RND_MASK): Likewise.
3705         (_FP_DECL_EX): Likewise.
3706         (FP_INIT_ROUNDMODE): Likewise.
3707         (FP_ROUNDMODE): Likewise.
3709         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3710         compiler can do __float128.
3711         * configure: Regenerate.
3713         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3714         VSX code, enable IEEE 128-bit floating point.
3716 2016-01-05  Olivier Hainque  <hainque@adacore.com>
3718         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3719         specificities.
3721 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
3723         Update copyright years.
3725 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
3727         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3728         soft-fp targets.
3730 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3732         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3733         instead of abort to avoid dependency on stdlib.h.
3735 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
3737         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3738         to initialize call to __dl_fixup once.
3740 2015-12-04  Nick Clifton  <nickc@redhat.com>
3742         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3743         Allow for the second argument being negative.
3744         * config.host (extra_parts): Define for MSP430.  Create separate
3745         libraries for each of the hardware multiply formats.
3746         * config/msp430/lib2hw_mul.S: Build only the multiply routines
3747         that are needed.
3748         * config/msp430/lib2mul.c: Likewise.
3749         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3750         Add rules to build hardware multiply libraries.
3751         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3752         __mspabi_divul function.
3753         (__mspabi_divllu): New stub function.
3755 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
3757         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3758         fixup values if saved GOT address doesn't match runtime address.
3759         (fixup_branch_offset): Reorder list.
3761 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3763         * Makefile.in (VTV_CFLAGS): New variable.
3764         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3765         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3766         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3767         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3768         to extra_parts if $enable_vtable_verify = yes.
3770 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3772         PR target/68059
3773         * config/arm/linux-atomic-64bit.c (__write): Rename to...
3774         (write): ...this and fix the return type.
3776 2015-11-19  DJ Delorie  <dj@redhat.com>
3778         * config/msp430/lib2hw_mul.S: Fix alignment.
3780 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
3782         * config/nvptx/reduction.c: New.
3783         * config/nvptx/t-nvptx (LIB2ADD): Add it.
3785 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
3787         * config/rs6000/on_exit.c: New file.
3788         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3789         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3791 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
3793         * config/arc/dp-hack.h: Add support for ARCHS.
3794         * config/arc/ieee-754/divdf3.S: Likewise.
3795         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3796         * config/arc/ieee-754/muldf3.S: Likewise.
3797         * config/arc/ieee-754/mulsf3.S: Likewise
3798         * config/arc/lib1funcs.S: Likewise
3799         * config/arc/gmon/dcache_linesz.S: Don't read the build register
3800         for ARCv2 cores.
3801         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3802         for ARCv2 cores.
3803         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3804         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3805         cores.
3807 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3809         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3810         value.
3811         * config/ia64/crtend.S: Likewise.
3813 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3815         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3816         __CHAR_BIT__ instead of BITS_PER_UNIT.
3817         * fixed-bit.h: Likewise.
3818         * fp-bit.h: Likewise.
3819         * libgcc2.c (__popcountSI2): Likewise.
3820         (__popcountDI2): Likewise.
3821         * libgcc2.h: Likewise.
3822         * libgcov.h: Likewise.
3824 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
3826         * config/rs6000/atexit.c: New file.
3827         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3828         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3829         * config/rs6000/cxa_finalize.c
3830         (catomic_compare_and_exchange_bool_acq): Negate return value.
3832 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3834         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3835         (processor_subtypes): Add znver1.
3836         (get_amd_cpu): Detect znver1.
3838 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
3840         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3841         Include crtfastmath.o.
3843 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
3845         PR libgcc/66883
3846         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3848 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
3850         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3851         * config/rl78/divmodsi.S: Update return register to r8.
3852         * config/rl78/divmodhi.S: Update return register to r8,r9.
3853         Branch to main_loop_done_himode to pop registers before return.
3855 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3857         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3858         (__cpu_indicator_init): Fix model selection for AMD CPUs.
3860 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
3862         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3864 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
3866         * config.host (xtensa*-*-uclinux*): New configuration.
3868 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
3870         * config/i386/cpuinfo.c (processor_features): Add
3871         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3873 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3875         * soft-fp/adddf3.c: Update from glibc.
3876         * soft-fp/addsf3.c: Likewise.
3877         * soft-fp/addtf3.c: Likewise.
3878         * soft-fp/divdf3.c: Likewise.
3879         * soft-fp/divsf3.c: Likewise.
3880         * soft-fp/divtf3.c: Likewise.
3881         * soft-fp/double.h: Likewise.
3882         * soft-fp/eqdf2.c: Likewise.
3883         * soft-fp/eqsf2.c: Likewise.
3884         * soft-fp/eqtf2.c: Likewise.
3885         * soft-fp/extenddftf2.c: Likewise.
3886         * soft-fp/extended.h: Likewise.
3887         * soft-fp/extendsfdf2.c: Likewise.
3888         * soft-fp/extendsftf2.c: Likewise.
3889         * soft-fp/extendxftf2.c: Likewise.
3890         * soft-fp/fixdfdi.c: Likewise.
3891         * soft-fp/fixdfsi.c: Likewise.
3892         * soft-fp/fixdfti.c: Likewise.
3893         * soft-fp/fixsfdi.c: Likewise.
3894         * soft-fp/fixsfsi.c: Likewise.
3895         * soft-fp/fixsfti.c: Likewise.
3896         * soft-fp/fixtfdi.c: Likewise.
3897         * soft-fp/fixtfsi.c: Likewise.
3898         * soft-fp/fixtfti.c: Likewise.
3899         * soft-fp/fixunsdfdi.c: Likewise.
3900         * soft-fp/fixunsdfsi.c: Likewise.
3901         * soft-fp/fixunsdfti.c: Likewise.
3902         * soft-fp/fixunssfdi.c: Likewise.
3903         * soft-fp/fixunssfsi.c: Likewise.
3904         * soft-fp/fixunssfti.c: Likewise.
3905         * soft-fp/fixunstfdi.c: Likewise.
3906         * soft-fp/fixunstfsi.c: Likewise.
3907         * soft-fp/fixunstfti.c: Likewise.
3908         * soft-fp/floatdidf.c: Likewise.
3909         * soft-fp/floatdisf.c: Likewise.
3910         * soft-fp/floatditf.c: Likewise.
3911         * soft-fp/floatsidf.c: Likewise.
3912         * soft-fp/floatsisf.c: Likewise.
3913         * soft-fp/floatsitf.c: Likewise.
3914         * soft-fp/floattidf.c: Likewise.
3915         * soft-fp/floattisf.c: Likewise.
3916         * soft-fp/floattitf.c: Likewise.
3917         * soft-fp/floatundidf.c: Likewise.
3918         * soft-fp/floatundisf.c: Likewise.
3919         * soft-fp/floatunditf.c: Likewise.
3920         * soft-fp/floatunsidf.c: Likewise.
3921         * soft-fp/floatunsisf.c: Likewise.
3922         * soft-fp/floatunsitf.c: Likewise.
3923         * soft-fp/floatuntidf.c: Likewise.
3924         * soft-fp/floatuntisf.c: Likewise.
3925         * soft-fp/floatuntitf.c: Likewise.
3926         * soft-fp/gedf2.c: Likewise.
3927         * soft-fp/gesf2.c: Likewise.
3928         * soft-fp/getf2.c: Likewise.
3929         * soft-fp/ledf2.c: Likewise.
3930         * soft-fp/lesf2.c: Likewise.
3931         * soft-fp/letf2.c: Likewise.
3932         * soft-fp/muldf3.c: Likewise.
3933         * soft-fp/mulsf3.c: Likewise.
3934         * soft-fp/multf3.c: Likewise.
3935         * soft-fp/negdf2.c: Likewise.
3936         * soft-fp/negsf2.c: Likewise.
3937         * soft-fp/negtf2.c: Likewise.
3938         * soft-fp/op-1.h: Likewise.
3939         * soft-fp/op-2.h: Likewise.
3940         * soft-fp/op-4.h: Likewise.
3941         * soft-fp/op-8.h: Likewise.
3942         * soft-fp/op-common.h: Likewise.
3943         * soft-fp/quad.h: Likewise.
3944         * soft-fp/single.h: Likewise.
3945         * soft-fp/soft-fp.h: Likewise.
3946         * soft-fp/subdf3.c: Likewise.
3947         * soft-fp/subsf3.c: Likewise.
3948         * soft-fp/subtf3.c: Likewise.
3949         * soft-fp/truncdfsf2.c: Likewise.
3950         * soft-fp/trunctfdf2.c: Likewise.
3951         * soft-fp/trunctfsf2.c: Likewise.
3952         * soft-fp/trunctfxf2.c: Likewise.
3953         * soft-fp/unorddf2.c: Likewise.
3954         * soft-fp/unordsf2.c: Likewise.
3955         * soft-fp/unordtf2.c: Likewise.
3957 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
3959         PR libgcc/67624
3960         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3962 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3964         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3965         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3966         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3967         messages.
3968         (internal_mcount): Likewise.
3969         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3970         crt_compile, add CRTSTUFF_T_CFLAGS_S.
3972 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3974         * configure.ac (libgcc_cv_solaris_crts): New test.
3975         * configure: Regenerate.
3976         * config.in: Regenerate.
3977         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3978         * config/gmon-sol2.c: Rename to ...
3979         * config/sol2/gmon.c: ... this.
3980         Include auto-target.h.
3981         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3982         * config/t-sol2: Rename to ...
3983         * config/sol2/t-sol2: ... this.
3984         (gmon.o): Reflect renaming.
3985         (crtp.o, crtpg.o): New rules.
3986         * config.host (*-*-solaris2*): Reflect renaming.
3987         Use system CRTs if present.
3988         Remove default CRT case.
3990 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
3992         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3993         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3994         __kernel_cmpxchg2.
3995         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3996         (__sync_val_compare_and_swap_##WIDTH): Likewise.
3997         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3998         (__sync_lock_test_and_set_##WIDTH): Likewise.
3999         (__sync_lock_release_##WIDTH): Likewise.
4000         (__sync_fetch_and_##OP##_4): Change result to match type of
4001         __kernel_cmpxchg.
4002         (__sync_##OP##_and_fetch_4): Likewise.
4003         (__sync_val_compare_and_swap_4): Likewise.
4004         (__sync_bool_compare_and_swap_4): likewise.
4005         (__sync_lock_test_and_set_4): Likewise.
4006         (__sync_lock_release_4): Likewise.
4007         (FETCH_AND_OP_2): Add long long variants.
4008         (OP_AND_FETCH_2): Likewise.
4009         (COMPARE_AND_SWAP_2 ): Likewise.
4010         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4011         (SYNC_LOCK_RELEASE_2): Likewise.
4012         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4014 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
4016         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4017         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4018         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4019         (get_available_features): Habdle new features.
4021 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
4023         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4024         memory layout. Deal correctly with BSS region larger than 32K.
4025         Handle a watchdog reset like a power-on reset. Clean up unused
4026         code.
4028 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
4029             David Edelsohn  <dje.gcc@gmail.com>
4031         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4032         * config/rs6000/crtdbase.S: New file.
4033         * config/rs6000/t-aix-cxa: Build crtdbase.o.
4035 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
4037         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4038         Add support for call0 ABI.
4040 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
4042         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4044 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4046         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4047         (__GTHREAD_HAS_COND): Likewise.
4048         (__gthread_t): Likewise.
4049         (__gthread_cond_t): Likewise.
4050         (__gthread_time_t): Likewise.
4051         (__GTHREAD_MUTEX_INIT): Likewise.
4052         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4053         (__GTHREAD_COND_INIT): Likewise.
4054         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4055         (__GTHREAD_TIME_INIT): Likewise.
4056         (__gthread_create): Likewise.
4057         (__gthread_join): Likewise.
4058         (__gthread_detach): Likewise.
4059         (__gthread_equal): Likewise.
4060         (__gthread_self): Likewise.
4061         (__gthread_yield): Likewise.
4062         (__gthread_cond_broadcast): Likewise.
4063         (__gthread_cond_signal): Likewise.
4064         (__gthread_cond_wait): Likewise.
4065         (__gthread_cond_timedwait): Likewise.
4066         (__gthread_cond_wait_recursive): Likewise.
4067         (__gthread_cond_destroy): Likewise.
4068         (rtems_gxx_once): Delete.
4069         (rtems_gxx_key_create): Likewise.
4070         (rtems_gxx_key_delete): Likewise.
4071         (rtems_gxx_getspecific): Likewise.
4072         (rtems_gxx_setspecific): Likewise.
4073         (rtems_gxx_mutex_init): Likewise.
4074         (rtems_gxx_mutex_destroy): Likewise.
4075         (rtems_gxx_mutex_lock): Likewise.
4076         (rtems_gxx_mutex_trylock): Likewise.
4077         (rtems_gxx_mutex_unlock): Likewise.
4078         (rtems_gxx_recursive_mutex_init): Likewise.
4079         (rtems_gxx_recursive_mutex_lock): Likewise.
4080         (rtems_gxx_recursive_mutex_trylock): Likewise.
4081         (rtems_gxx_recursive_mutex_unlock): Likewise.
4082         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4083         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4084         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4085         (__gthread_once): Likewise.
4086         (__gthread_key_create): Likewise.
4087         (__gthread_key_delete): Likewise.
4088         (__gthread_getspecific): Likewise.
4089         (__gthread_setspecific): Likewise.
4090         (__gthread_key_t): Use <pthread.h> type.
4091         (__gthread_once_t): Likewise
4092         (__gthread_mutex_t): Use <sys/lock.h> type.
4093         (__gthread_recursive_mutex_t): Likewise
4094         (__gthread_mutex_lock): Use <sys/lock.h> function.
4095         (__gthread_mutex_trylock): Likewise.
4096         (__gthread_mutex_timedlock): Likewise.
4097         (__gthread_mutex_unlock): Likewise.
4098         (__gthread_mutex_destroy): Likewise.
4099         (__gthread_recursive_mutex_lock): Likewise.
4100         (__gthread_recursive_mutex_trylock): Likewise.
4101         (__gthread_recursive_mutex_timedlock): Likewise.
4102         (__gthread_recursive_mutex_unlock): Likewise.
4103         (__gthread_recursive_mutex_destroy): Likewise.
4105 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4107         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4108         context->sp instead of context->cfa.
4110 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4112         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4113         with unwind-dw2-fde-dip.
4115 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4117         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4118         CALL12 followed by series of ENTRY to spill windowed registers.
4119         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4120         instead of making linux spill syscall.
4122 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
4124         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4125         (get_intel_cpu): Likewise.
4127 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4129         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4130         (get_intel_cpu): Add Knights Landing support.
4132 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
4134         PR target/66954
4135         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4136         (get_available_features): Handle FEATURE_PCLMUL.
4138 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
4140         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4141         Broadwell.
4143 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
4145         PR target/66954
4146         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4147         (get_available_features): Handle FEATURE_AES.
4149 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
4151         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4152         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4154 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
4156         * offloadstuff.c: Constify host data.
4158 2015-07-17  Jan Beulich  <jbeulich@suse.com>
4160         * config/t-softfp: Split up "else ifneq".
4162 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
4163             Cesar Philippidis  <cesar@codesourcery.com>
4164             Chung-Lin Tang  <cltang@codesourcery.com>
4166         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4167         for __nios2_arch__ level.
4169 2015-07-13  John Marino  <gnugcc@marino.st>
4171         * config/i386/t-dragonfly: New.
4173 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
4175         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4176         better match light-weight syscall argument order.
4177         (__kernel_cmpxchg2): Likewise.
4178         Adjust callers.
4180 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4182         * config.host: Support i[34567]86-*-elfiamcu target.
4183         * config/t-softfp-sfdftf: New file.
4184         * config/i386/32/t-iamcu: Likewise.
4185         * configure: Regenerated.
4187 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
4189         libgcc/config/arm/
4190         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4192 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4194         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4196 2015-05-27  John Marino  <gnugcc@marino.st>
4198         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4199         md_unwind_header
4200         * config/i386/freebsd-unwind.h: New.
4202 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
4204         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4205         i386/t-crtfm to tmake_file.
4206         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4207         (set_fast_math): Use set_fast_math_sse for SSE targets.
4208         * config/i386/t-crtfm: Remove.
4210 2015-05-21  Alan Modra  <amodra@gmail.com>
4212         PR libgcc/66225
4213         * config/rs6000/morestack.S: Remove ".abiversion 1".
4215 2015-05-20  Alan Modra  <amodra@gmail.com>
4217         * config/rs6000/morestack.S: New.
4218         * config/rs6000/t-stack-rs6000: New.
4219         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4220         to tmake_file.
4221         * generic-morestack.c: Don't build for powerpc 32-bit.
4223 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
4225         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4226         Remove useless endif/ifneq ($(enable_shared),yes) pair.
4228 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
4230         * config.host: FT32 target added.
4231         * config/ft32/*: New files for FT32 target.
4233 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
4235         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4236         New macros.
4237         * config/arm/ieee754-df.S: Add CFI directives.
4238         * config/arm/ieee754-sf.S: Add CFI directives.
4240 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
4242         * configure.ac: Include config/sjlj.m4.
4243         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4244         * config.in: Regenerate.
4245         * configure: Likewise.
4246         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4248 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
4250         * libgcov-util.c: Add space between string literal and macro name.
4252 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
4253             Chris Jones  <chrisj@nvidia.com>
4254             Joshua Conner  <jconner@nvidia.com>
4256         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4257         (arm*-*-uclinux*): Likewise.
4258         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4259         * config/arm/crtfastmath.c: New file.
4261 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
4263         * Makefile.in (real_host_noncanonical): New variable.
4264         (libsubdir): Use it.
4265         * configure.ac (real_host_noncanonical): Compute.  Remove special
4266         case for intelmicemul.
4267         * configure: Regenerate.
4269 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
4271         * config/frv/elf-lib.h: New file.
4272         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4273         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4274         to tm_file.
4276 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
4278         * config/frv/frvbengin.c: Do not include defaults.h
4279         * config/frv/frvend.c: Ditto.
4281 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
4283         * config.host: Add h8300-*-linux
4284         * config/h8300/t-linux: New file.
4285         * config/h8300/lib1funs.s: Change symbol prefix.
4286         * config/h8300/sfp-machine.h: 64bit double support.
4288 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
4289             Szabolcs Nagy  <szabolcs.nagy@arm.com>
4291         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4292         Linux if target provides dl_iterate_phdr.
4294 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
4296         PR target/65612
4297         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4298         * config/i386/cpuinfo.c (__cpu_model): Initialize.
4299         (__cpu_indicator_init@GCC_4.8.0): New.
4300         (__cpu_model@GCC_4.8.0): Likewise.
4301         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4302         -DUSE_ELF_SYMVER.
4304 2015-04-16  Nick Clifton  <nickc@redhat.com>
4306         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4307         and __modhi3 functions.
4308         * config/rl78/divmodso.S: Add G14 and G13 versions of the
4309         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4311 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
4313         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4314         do-while loop as macro body to avoid warnings.
4316 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
4317             Iain Sandoe  <iain@codesourcery.com>
4319         PR target/65351
4320         * configure: Regenerate.
4322 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
4323             Iain Sandoe  <iain@codesourcery.com>
4325         PR target/65351
4326         * configure: Regenerate.
4328 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
4330         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4332 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
4334         Implement call0 ABI for xtensa
4335         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4336         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4337         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4338         use ret in call0 ABI.
4339         * config/xtensa/t-windowed: New file.
4340         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4341         * libgcc/configure: Regenerated.
4342         * libgcc/configure.ac: Check if xtensa target is configured for
4343         windowed ABI and thus needs to use custom unwind code.
4345 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
4347         PR libgcc/64885
4348         * gthr-single.h: Use __unused__ attribute instead of unused.
4349         * config/gthr-vxworks.h: Likewise.
4350         * config/i386/gthr-win32.h: Likewise.
4352 2015-02-27  Kai Tietz  <ktietz@redhat.com>
4354         PR target/65038
4355         * config.in: Regenerated.
4356         * configure: Likewise.
4357         * configure.ac (AC_HEADER_STDC): Added explicit.
4358         (AC_CHECK_HEADERS): Check for default headers  plus
4359         for ftw.h header.
4360         * libgcov-util.c (gcov_read_profile_dir): Disable use
4361         of ftw-function, if header is not found.
4362         (ftw_read_file): Likewise.
4364 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
4366         PR target/65181
4367         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4368         -Dinhibit_libc.
4370 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
4372         * config/arm/bpabi.S (test_div_by_zero): Make label names
4373         consistent between thumb2 and arm mode cases.  Separate the
4374         signed comparison on the high word of the numerator from the
4375         unsigned comparison on the low word.
4376         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4377         signed comparison.
4379 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4381         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4382         and <string.h>.
4383         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4385 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
4387         PR gcov-profile/61889
4388         * libgcov-driver-system.c: undefine clashing macro for mkdir.
4390 2015-02-02  Nick Clifton  <nickc@redhat.com>
4392         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4393         rounding up the fraction.
4395 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
4397         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4398         oldval and newval to const void *.  Fix typo.
4399         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4400         (FETCH_AND_OP_WORD): Likewise.
4401         (OP_AND_FETCH_WORD): Likewise.
4402         (COMPARE_AND_SWAP_2): Likewise.
4403         (__sync_val_compare_and_swap_4): Likewise.
4404         (__sync_lock_test_and_set_4): Likewise.
4405         (SYNC_LOCK_RELEASE_2): Likewise.
4406         Remove support for long long atomic operations.
4408 2015-01-27  Caroline Tice  <cmtice@google.com>
4410         Committing VTV Cywin/Ming patch for Patrick Wollgast
4411         * Makefile.in: Move rules to build vtv_*.o out of the check
4412         for CUSTOM_CRTSTUFF.
4413         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4414         i[34567]86-*-mingw*)
4415          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4416         enable_vtable_verify.
4418 2015-01-27  Nick Clifton  <nickc@redhat.com>
4420         * config/rl78/cmpsi2.S: Use function start and end macros.
4421         (__gcc_bcmp): New function.
4422         * config/rl78/lshrsi3.S: Use function start and end macros.
4423         * config/rl78/mulsi3.S: Add support for G10.
4424         (__mulqi3): New function for G10.
4425         * config/rl78/signbit.S: Use function start and end macros.
4426         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4427         fpmath-sf.S.
4428         (LIB2FUNCS_EXCLUDE): Define.
4429         (LIB2FUNCS_ST): Define.
4430         * config/rl78/trampoline.S: Use function start and end macros.
4431         * config/rl78/vregs.h (START_FUNC): New macro.
4432         (START_ANOTHER_FUNC): New macro.
4433         (END_FUNC): New macro.
4434         (END_ANOTHER_FUNC): New macro.
4435         * config/rl78/bit-count.S: New file.  Contains assembler
4436         implementations of the bit counting functions: ___clzhi2,
4437         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4438         __paritysi2, __popcounthi2 and __popcountsi2.
4439         * config/rl78/fpbit-sf.S: New file.  Contains assembler
4440         implementationas of the math functions: __negsf2, __cmpsf2,
4441         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4442         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
4443         * config/rl78/fpmath-sf.S: New file.  Contains assembler
4444         implementations of the math functions: __subsf3, __addsf3,
4445         __mulsf3 and __divsf3
4447 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4449         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4450         Add i386/elf-lib.h to tm_file.
4451         * config/i386/elf-lib.h: Fix comment.
4452         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4453         && __sun__ && __svr4__]: Remove workaround.
4455 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4457         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4458         FEATURE_BMI2.
4459         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4461 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
4463         * config/i386/cpuinfo.c (processor_subtypes): Add
4464         INTEL_COREI7_BROADWELL.
4465         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4466         model numbers.
4468 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
4470         * config/i386/elf-lib.h: New file.
4471         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4472         Wrap definition in #ifdef __i386__.
4473         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4474         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4475         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4476         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4477         to tm_file.
4479 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
4481         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4482         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4484 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
4486         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4487         Update rt_sigframe format and address for current Nios II
4488         Linux conventions.
4490 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
4492         * config.host (arm*-*-freebsd*): Add new configuration for
4493         arm*-*-freebsd*.
4494         * config/arm/freebsd-atomic.c: New file.
4495         * config/arm/t-freebsd: Likewise.
4496         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4497         'PC-relative indirect' OS's.
4499 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
4501         * config.host: Add Visium support.
4502         * config/visium: New directory.
4504 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
4506         Update copyright years.
4508 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
4510         * config.host: Support mipsisa32r6 and mipsisa64r6.
4511         * config/mips/mips16.S: Do not build for R6.
4513 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
4515         * config/sh/crt.h: New.
4516         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4517         symbols.
4518         * config/sh/crt1.S: Likewise.
4520 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
4522         PR libgcc/63832
4523         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4524         func_ptr *dtor_list temporary variable to avoid "array subscript
4525         is above array bounds" warnings.
4527 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
4529         * Makefile.in (with_aix_soname): Define.
4530         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4531         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4532         * configure: Recreate.
4534 2014-12-05  Olivier Hainque  <hainque@adacore.com>
4536         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4537         now provided by defaults.h.
4539 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
4541         PR target/55351
4542         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4543         whether it's defined.
4545 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
4547         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4548         * config/i386/cpuinfo.c (get_available_features): Detect it.
4550 2014-11-27  Tony Wang  <tony.wang@arm.com>
4552         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4553         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4554         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4556 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
4558         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4560 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
4562         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4563         instead.
4565 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4566             John David Anglin  <danglin@gcc.gnu.org>
4568         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4569         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
4570         (OP_AND_FETCH_2): Likewise.
4571         (COMPARE_AND_SWAP_2): Likewise.
4572         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4573         (SYNC_LOCK_RELEASE_2): Likewise.
4574         (SUBWORD_SYNC_OP): Remove.
4575         (SUBWORD_VAL_CAS): Likewise.
4576         (SUBWORD_BOOL_CAS): Likewise.
4577         (FETCH_AND_OP_WORD): Update.
4578         Consistently use signed types.
4580 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
4581             Thomas Schwinge  <thomas@codesourcery.com>
4582             Ilya Verbin  <ilya.verbin@intel.com>
4583             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4585         * Makefile.in (crtoffloadbegin$(objext)): New rule.
4586         (crtoffloadend$(objext)): Likewise.
4587         * configure: Regenerate.
4588         * configure.ac (accel_dir_suffix): Compute new variable.
4589         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4590         if enable_offload_targets is not empty.
4591         * offloadstuff.c: New file.
4593 2014-11-13  Nick Clifton  <nickc@redhat.com>
4595         * config/rl78/divmodhi.S: Add support for the G10 architecture.
4596         Use START_FUNC and END_FUNC macros to enable linker garbage
4597         collection.
4598         * config/rl78/divmodqi.S: Likewise.
4599         * config/rl78/divmodsi.S: Likewise.
4600         * config/rl78/mulsi3.S: Likewise.
4601         * config/rl78/lib2div.c: Remove G10 functions.
4602         * config/rl78/lib2muls.c: Likewise.
4603         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4604         * config/rl78/vregs.h (START_FUNC): New macro.
4605         (END_FUNC): New macro.
4607 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
4609         * config/mips/mips16.S: Set .module when supported.  Update O32
4610         FP64 calling convention and use for FPXX when possible.  Add FPXX
4611         calling convention fallback case.
4613 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
4615         * config.host: Handle nvptx-*-*.
4616         * shared-object.mk (as-flags-$o): Define.
4617         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4618         -xassembler-with-cpp.
4619         * static-object.mk: Identical changes.
4620         * config/nvptx/t-nvptx: New file.
4621         * config/nvptx/crt0.s: New file.
4622         * config/nvptx/free.asm: New file.
4623         * config/nvptx/malloc.asm: New file.
4624         * config/nvptx/realloc.c: New file.
4626 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4628         * Makefile.in (libgcc.map.in): New target.
4629         (libgcc.map): Use libgcc.map.in.
4630         * config/t-softfp (softfp_compat): New variable to be set by
4631         users.
4632         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4633         variables.
4634         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4635         directory.
4636         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4637         that use compat symbols and disable all code unless [SHARED].
4638         * config/t-softfp-compat: New file.
4639         * find-symver.awk: New file.
4640         * configure.ac (--with-glibc-version): New configure option.
4641         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4642         * configure: Regenerate.
4643         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4644         soft-float and e500.
4646 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
4648         * config/t-hardfp (hardfp_exclusions): Document new variable for
4649         user to define.
4650         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4651         * config/t-softfp (softfp_extras): Document new variable for user
4652         to define.
4653         (softfp_func_list): Add functions from $(softfp_extras).
4654         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4655         * config.host (powerpc*-*-linux*): For e500v1, use
4656         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4657         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4658         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4660 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
4662         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4663         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4664         memory read accesses are ok.
4666 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
4668         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4669         * configure: Regenerate.
4670         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4671         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
4672         of soft-fp for 32-bit classic hard float.  Do not use
4673         t-softfp-excl for soft float.
4675 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
4677         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4678         configurations.
4679         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4680         Remove variables.
4682 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
4684         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4685         introduced with 2014-10-21 trunk r216525.
4687 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
4688             Vidya Praveen  <vidya.praveen@atmel.com>
4689             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
4690             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
4691             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
4693         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4694         order.
4696         Updated library functions for AVRTINY arch.
4697         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4698         Replaced occurrences of r0/r1 with tmp/zero reg macros.
4699         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4700         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4701         wsubi/wadi macors.
4702         (__mulsi3_helper): Update stack, preserve callee saved regs and
4703         argument from stack. Restore callee save registers.
4704         (__mulpsi3): Likewise.
4705         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4706         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4707         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4708         AVRTINY.
4709         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4710         (__do_copy_data): Added new definition for AVRTINY.
4711         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4712         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4713         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4714         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4715         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4716         macors.
4717         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4718         AVRTINY.
4720         Fix broken long multiplication on tiny arch.
4722 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4724         * soft-fp/double.h: Update from glibc.
4725         * soft-fp/eqdf2.c: Likewise.
4726         * soft-fp/eqsf2.c: Likewise.
4727         * soft-fp/eqtf2.c: Likewise.
4728         * soft-fp/extenddftf2.c: Likewise.
4729         * soft-fp/extended.h: Likewise.
4730         * soft-fp/extendsfdf2.c: Likewise.
4731         * soft-fp/extendsftf2.c: Likewise.
4732         * soft-fp/extendxftf2.c: Likewise.
4733         * soft-fp/gedf2.c: Likewise.
4734         * soft-fp/gesf2.c: Likewise.
4735         * soft-fp/getf2.c: Likewise.
4736         * soft-fp/ledf2.c: Likewise.
4737         * soft-fp/lesf2.c: Likewise.
4738         * soft-fp/letf2.c: Likewise.
4739         * soft-fp/op-1.h: Likewise.
4740         * soft-fp/op-2.h: Likewise.
4741         * soft-fp/op-4.h: Likewise.
4742         * soft-fp/op-8.h: Likewise.
4743         * soft-fp/op-common.h: Likewise.
4744         * soft-fp/quad.h: Likewise.
4745         * soft-fp/single.h: Likewise.
4746         * soft-fp/soft-fp.h: Likewise.
4747         * soft-fp/unorddf2.c: Likewise.
4748         * soft-fp/unordsf2.c: Likewise.
4749         * soft-fp/unordtf2.c: Likewise.
4750         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4751         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4752         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4753         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4754         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4755         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4756         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4757         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4758         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4759         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4761 2014-10-08  Rong Xu  <xur@google.com>
4763         * libgcov-util.c (read_gcda_file): Fix format.
4764         (find_match_gcov_info): Ditto.
4765         (calculate_2_entries): New.
4766         (compute_one_gcov): Ditto.
4767         (gcov_info_count_all_cold): Ditto.
4768         (gcov_info_count_all_zero): Ditto.
4769         (extract_file_basename): Ditto.
4770         (get_file_basename): Ditto.
4771         (set_flag): Ditto.
4772         (matched_gcov_info): Ditto.
4773         (calculate_overlap): Ditto.
4774         (gcov_profile_overlap): Ditto.
4775         * libgcov-driver.c (compute_summary): Make
4776         it avavilable for external calls.
4778 2014-10-06  Rong Xu  <xur@google.com>
4780         * Makefile.in: Ditto.
4781         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4782         (gcov_sort_icall_topn_counter): Ditto.
4783         (gcov_sort_topn_counter_arrays): Ditto.
4784         (dump_one_gcov): Sort indirect_call topn counters.
4785         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4786         function.
4787         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4788         utility function.
4789         (__gcov_indirect_call_topn_profiler): New profiler function.
4790         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4791         * libgcov.h: New decls.
4793 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
4795         * config.host: Remove support for score-*.
4797 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4799         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4800         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4801         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4802         __LIBGCC_XF_MANT_DIG__.
4803         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4804         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4805         __LIBGCC_TF_MANT_DIG__.
4806         * libgcc2.c (NOTRUNC): Define in terms of
4807         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4808         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4810 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4812         PR target/63312
4813         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4814         New macros.
4816 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
4818         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4819         override USE_PT_GNU_EH_FRAME.
4820         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4821         check USE_EH_FRAME_REGISTRY_ALWAYS against
4822         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4823         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4824         variable for substituted force_explicit_eh_registry.
4825         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4826         * configure.ac (explicit-exception-frame-registration):
4827         New AC_ARG_ENABLE.
4828         * configure: Regenerate.
4830 2014-09-19  Olivier Hainque  <hainque@adacore.com>
4832         * config.host (powerpc-wrs-vxworksmils): New configuration,
4833         same as vxworksae.
4835 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4837         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4839 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4841         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4842         bits not set bits as indicating trapping exceptions.
4844 2014-09-17  Nathan sidwell  <nathan@acm.org>
4846         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4847         (LIBGCOV_DRIVER): ... here.
4848         * libgcov-driver.c (gcov_master): New.
4849         (gcov_exit): Remove from master chain.
4850         (__gcov_init): Add to master chain if version compatible.  Don't
4851         clear the version.
4852         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4853         (gcov_reset_int): Clear master chain, if compatible.
4854         (gcov_dump_int): New internal interface.  Dump master chain, if
4855         compatible.
4856         (gcov_dump): Alias for gcov_dump_int.
4857         * libgcov.h (struct gcov_root): Add next and prev fields.
4858         (struct gcov_master): New struct.
4859         (__gcov_master): New.
4860         (gcov_dump_int): Declare.
4862 2014-09-17  Olivier Hainque  <hainque@adacore.com>
4864         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4865         and crtbegin.o + crtend.o to extra_parts.
4867 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4869         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4870         __LIBGCC_HAS_SF_MODE__.
4871         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4872         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4873         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4874         * config/libbid/bid_gcc_intrinsics.h
4875         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4876         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4877         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4878         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4879         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4880         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4882 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
4884         PR target/63223
4885         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4886         and R24 as needed.  Make work for all devices and .text locations.
4887         (__do_global_ctors, __do_global_dtors): Use word addresses.
4888         (__tablejump__, __tablejump_elpm__): Remove functions.
4889         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4890         Add _tablejump2.
4891         (XICALL, XIJMP): New macros.
4893 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4894         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4896         * config.host (aarch64*): Include crtfastmath.o and
4897         t-crtfm.
4898         * config/aarch64/crtfastmath.c: New file.
4900 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
4902         * config.host: Remove picochip support.
4903         * config/picochip/adddi3.S: Remove.
4904         * config/picochip/ashlsi3.S: Remove.
4905         * config/picochip/ashlsi3.c: Remove.
4906         * config/picochip/ashrsi3.S: Remove.
4907         * config/picochip/ashrsi3.c: Remove.
4908         * config/picochip/clzsi2.S: Remove.
4909         * config/picochip/cmpsi2.S: Remove.
4910         * config/picochip/divmod15.S: Remove.
4911         * config/picochip/divmodhi4.S: Remove.
4912         * config/picochip/divmodsi4.S: Remove.
4913         * config/picochip/lib1funcs.S: Remove.
4914         * config/picochip/longjmp.S: Remove.
4915         * config/picochip/lshrsi3.S: Remove.
4916         * config/picochip/lshrsi3.c: Remove.
4917         * config/picochip/parityhi2.S: Remove.
4918         * config/picochip/popcounthi2.S: Remove.
4919         * config/picochip/setjmp.S: Remove.
4920         * config/picochip/subdi3.S: Remove.
4921         * config/picochip/t-picochip: Remove.
4922         * config/picochip/ucmpsi2.S: Remove.
4923         * config/picochip/udivmodhi4.S: Remove.
4924         * config/picochip/udivmodsi4.S: Remove.
4926 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4928         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4929         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4930         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4931         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4932         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
4933         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4934         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
4935         defined and LIBGCC2_HAS_DF_MODE is defined.
4936         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
4937         defined and LIBGCC2_HAS_XF_MODE is defined.
4938         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
4939         defined and LIBGCC2_HAS_TF_MODE is defined.
4941 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4943         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4944         and ROUND_TOWARDS_ZERO conditionals.
4946 2014-09-07  Nathan sidwell  <nathan@acm.org>
4948         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4949         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
4951 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
4953         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4954         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4955         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4956         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4957         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4958         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4959         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4960         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4961         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4962         (DWARF_FRAME_REGISTERS): Change all uses to
4963         __LIBGCC_DWARF_FRAME_REGISTERS__.
4964         (EH_RETURN_STACKADJ_RTX): Change all uses to
4965         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4966         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4967         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
4968         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4969         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4970         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4971         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4972         to __LIBGCC_EH_FRAME_SECTION_NAME__.
4973         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4974         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4975         __LIBGCC_STACK_POINTER_REGNUM__.
4976         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4977         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4978         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4979         to __LIBGCC_STACK_POINTER_REGNUM__.
4980         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4981         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4982         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4983         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4984         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4985         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4986         (STACK_POINTER_REGNUM): Change all uses to
4987         __LIBGCC_STACK_POINTER_REGNUM__.
4988         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4989         use to __LIBGCC_STACK_POINTER_REGNUM__.
4990         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4991         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4992         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4993         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4994         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4995         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4996         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4997         to __LIBGCC_STACK_POINTER_REGNUM__.
4998         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4999         Remove conditional definition.
5000         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5001         __LIBGCC_TEXT_SECTION_ASM_OP__.
5002         (EH_FRAME_SECTION_NAME): Change all uses to
5003         __LIBGCC_EH_FRAME_SECTION_NAME__.
5004         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5005         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5006         (CTORS_SECTION_ASM_OP): Change all uses to
5007         __LIBGCC_CTORS_SECTION_ASM_OP__.
5008         (DTORS_SECTION_ASM_OP): Change all uses to
5009         __LIBGCC_DTORS_SECTION_ASM_OP__.
5010         (JCR_SECTION_NAME): Change all uses to
5011         __LIBGCC_JCR_SECTION_NAME__.
5012         (INIT_SECTION_ASM_OP): Change all uses to
5013         __LIBGCC_INIT_SECTION_ASM_OP__.
5014         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5015         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5016         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5017         __LIBGCC_STACK_GROWS_DOWNWARD__.
5018         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5019         __LIBGCC_INIT_SECTION_ASM_OP__.
5020         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5021         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5022         (EH_FRAME_SECTION_NAME): Change all uses to
5023         __LIBGCC_EH_FRAME_SECTION_NAME__.
5024         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5025         definitions.  Change all uses to
5026         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5027         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5028         __LIBGCC_STACK_GROWS_DOWNWARD__.
5029         (DWARF_FRAME_REGISTERS): Change all uses to
5030         __LIBGCC_DWARF_FRAME_REGISTERS__.
5031         (EH_RETURN_STACKADJ_RTX): Change all uses to
5032         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5033         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5034         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5035         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5036         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5037         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5039 2014-09-02  Nathan sidwell  <nathan@acm.org>
5041         * libgcov-interface.c (STRONG_ALIAS): New.
5042         (__gcov_flush): Call __gcov_reset_int.
5043         (__gcov_reset): Strong alias for ...
5044         (__gcov_reset_ing): ... this renamed hidden version.
5045         * libgcov.h (__gcov_reset_int): New declaration.
5047 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
5049         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5050         call from here...
5051         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5052         (__dso_handle): Define on Cygwin.
5053         * config/i386/t-cygming (crtbeginS.o): New rule.
5054         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5056         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5057         declaration syntax.
5059 2014-08-13  Steve Ellcey  <sellcey@mips.com>
5061         * crtstuff.c: Undef caddr_t.
5063 2014-08-12  Steve Ellcey  <sellcey@mips.com>
5065         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
5067 2014-08-07  Nathan Sidwell  <nathan@acm.org>
5069         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5070         (LIBGCOV_DRIVER): ... to here.
5071         * libgcov.h (gcov_do_dump): New #define.
5072         (struct gcov_root): New.
5073         (__gcov_root): New declaration.
5074         (__gcov_dump_one): Declare.
5075         * libgcov-driver.c (gcov_list, gcov_dump_complete,
5076         run_accounted): Delete.
5077         (gcov_compute_histogram): Add LIST argument, adjust.
5078         (compute_summary): Adjust gcov_compute_histogram call.
5079         (gcov_do_dump): Not hidden, static in libgcov.
5080         (gcov_clear): Move  to interface.c.
5081         (__gcov_dump_one): New, broken out of ...
5082         (gcov_exit): ... here.  Make static.
5083         (__gcov_root): New.
5084         (__gcov_init): Adjust.
5085         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5086         declarations.
5087         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5088         (gcov_clear): Moved from driver.c.   Add LIST argument.
5089         (__gcov_reset): Adjust for changed interfaces.
5090         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5092 2014-08-04  Rohit  <rohitarulraj@freescale.com>
5094         PR target/60102
5095         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5096         based on change in SPE high register numbers and 3 HTM registers.
5098 2014-08-01  Nathan Sidwell  <nathan@acm.org>
5100         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5101         LIBGCOV_INTERFACE): Reformat.
5102         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5103         IN_GCOV_TOOL.
5104         * libgcov-interface.c: Reformat some comments.
5105         (__gcov_flush_mx): Add declaration.  Tidy up definition.
5107 2014-07-31  Alan Modra  <amodra@gmail.com>
5108             Peter Bergner  <bergner@vnet.ibm.com>
5110         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5111         (pack_ldouble): New function.
5112         (__gcc_qadd): Use it.
5113         (__gcc_qmul): Likewise.
5114         (__gcc_qdiv): Likewise.
5115         (__gcc_qneg): Likewise.
5116         (__gcc_stoq): Likewise.
5117         (__gcc_dtoq): Likewise.
5119 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
5121         * config/s390/tpf-unwind.h: Include <stdbool.h>.
5122         (__tpf_eh_return): Add original return address as second parameter.
5123         Handle cases where unwinder routines were called directly, instead
5124         of from within the C++ library.
5126 2014-07-29  Nathan Sidwell  <nathan@acm.org>
5128         * libgcov.h: Move renaming of entry points to lib gcov specific
5129         portion.
5130         (gcov_do_dump): New rename.
5131         (gcov_rewrite): Remove inline, make HIDDEN.
5132         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5133         (gcov_exit_compute_summary): Rename to ...
5134         (compute_summary): ... here.  Add LIST argument.
5135         (gcov_exit_merge_gcda): Rename to ...
5136         (merge_one_data): ... here.
5137         (gcov_exit_write_gcda): Rename to ...
5138         (write_one_data): ... here.
5139         (gcov_exit_merge_summary): Rename to ...
5140         (merge_summary): Add RUN_COUNTED argument.
5141         (gcov_exit_dump_gcov): Rename to ...
5142         (dump_one_gcov): Add RUN_COUNTED argument.
5143         (gcov_do_dump): New function, broken out of ...
5144         (gcov_exit): ... here.  Call it.
5146 2014-07-27  Anthony Green  <green@moxielogic.com>
5148         * config.host: Add moxiebox configuration suppport.
5150 2014-07-27  Nathan Sidwell  <nathan@acm.org>
5152         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5153         (struct gcov_filename): ... here.  Include buffer and max length
5154         fields.
5155         (gcov_max_filename): Remove.
5156         (gi_filename): Remove.
5157         (gcov_exit_compute_summary): Compute max filename here.
5158         (gcov_exit_merge_gcda): Add filename parm, adjust.
5159         (gcov_exit_merge_summary): Likewise.
5160         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5161         (gcov_exit): Likewise.
5162         (__gcov_init): Don't calculate max length here.
5163         * libgcov_util.c (max_filename_len): Remove.
5164         (read_gcda_file): Don't calculate max length here.
5165         (gcov_read_profile_dir): Don't propagate here.
5166         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5167         struct gcov_filename changes.
5168         (gcov_exit_open_gcda_file): Likewise.
5170 2014-07-25  Nathan Sidwell  <nathan@acm.org>
5172         * libgcov-driver.c (set_gcov_dump_complete,
5173         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5174         functions polluting user's namespace.
5175         (gcov_exit): Set variable directly.
5176         (gcov_clear): Reset variable directly.
5177         * libgcov-interface.c (get_gcov_dymp_complete,
5178         reset_gov_dump_complete): Remove declarations.
5179         (__gcov_reset, __gcov_dump): Don't call them.
5181 2014-07-24  DJ Delorie  <dj@redhat.com>
5183         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5184         (__gcc_deregister_frame): Move logic to detect deregister function
5185         to ...
5186         (__gcc_register_frame): here, so it's consistent with the register
5187         logic.
5189 2014-07-23  Nathan Sidwell  <nathan@acm.org>
5191         * libgcov-driver.c (set_gcov_list): Remove.
5192         (gcov_list): Make non-static in GCOV_TOOL.
5193         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5195 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
5197         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5198         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5199         Don't use SYNC_LOCK_RELEASE for int type.
5201 2014-07-14  Richard Biener  <rguenther@suse.de>
5203         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5205 2014-07-11  Rong Xu  <xur@google.com>
5207         * libgcov-util.c (gcov_max_filename): Fix declartion.
5209 2014-07-10  Rong Xu  <xur@google.com>
5211         Add gcov-tool: an offline gcda profile processing tool
5212         Support.
5213         * libgcov-driver.c (gcov_max_filename): Make available
5214         to gcov-tool.
5215         * libgcov-merge.c (__gcov_merge_add): Replace
5216         gcov_read_counter() with a Macro.
5217         (__gcov_merge_ior): Ditto.
5218         (__gcov_merge_time_profile): Ditto.
5219         (__gcov_merge_single): Ditto.
5220         (__gcov_merge_delta): Ditto.
5221         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5222         in the utility functions.
5223         (set_fn_ctrs): Utility function for reading gcda files to in-memory
5224         gcov_list object link lists.
5225         (tag_function): Ditto.
5226         (tag_blocks): Ditto.
5227         (tag_arcs): Ditto.
5228         (tag_lines): Ditto.
5229         (tag_counters): Ditto.
5230         (tag_summary): Ditto.
5231         (read_gcda_finalize): Ditto.
5232         (read_gcda_file): Ditto.
5233         (ftw_read_file): Ditto.
5234         (read_profile_dir_init): Ditto.
5235         (gcov_read_profile_dir): Ditto.
5236         (gcov_read_counter_mem): Ditto.
5237         (gcov_get_merge_weight): Ditto.
5238         (merge_wrapper): A wrapper function that calls merging handler.
5239         (gcov_merge): Merge two gcov_info objects with weights.
5240         (find_match_gcov_info): Find the matched gcov_info in the list.
5241         (gcov_profile_merge): Merge two gcov_info object lists.
5242         (__gcov_add_counter_op): Process edge profile counter values.
5243         (__gcov_ior_counter_op): Process IOR profile counter values.
5244         (__gcov_delta_counter_op): Process delta profile counter values.
5245         (__gcov_single_counter_op): Process single  profile counter values.
5246         (fp_scale): Callback function for float-point scaling.
5247         (int_scale): Callback function for integer fraction scaling.
5248         (gcov_profile_scale): Scaling profile counters.
5249         (gcov_profile_normalize): Normalize profile counters.
5250         * libgcov.h: Add headers and functions for gcov-tool use.
5251         (gcov_get_counter): New.
5252         (gcov_get_counter_target): Ditto.
5253         (struct gcov_info): Make the functions field mutable in gcov-tool
5254         compilation.
5256 2014-06-23  Kai Tietz  <ktietz@redhat.com>
5258         PR libgcc/61585
5259         * unwind-seh.c (_Unwind_GetGR): Check for proper
5260         index range.
5261         (_Unwind_SetGR): Likewise.
5263 2014-05-22  Nick Clifton  <nickc@redhat.com>
5265         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5266         -mhwmult=none.
5268 2014-05-22  Teresa Johnson  <tejohnson@google.com>
5270         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5271         include.
5273 2014-05-20  John Marino  <gnugcc@marino.st>
5275         * config.host (*-*-dragonfly*): New target.
5276         * crtstuff.c: Make dl_iterate_support generic on *bsd.
5277         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5278         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5279         * config/i386/dragonfly-unwind.h: New.
5281 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
5283         PR libgcc/60166
5284         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5285         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5287 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5289         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5290         implementation.
5292 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
5294         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5296 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5298         PR libgcc/61097
5299         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5300         if --enable-shared.
5302 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5304         Work around for current cygwin32 build problems.
5305         * config/i386/cygming-crtbegin.c (__register_frame_info,
5306         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5307         functions only for 64-bit systems.
5309 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5311         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5312         (sigill_caught, sigill_hdlr): Remove.
5314 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5316         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5317         check.
5318         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5319         Solaris 9 single-threaded support.
5320         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5321         Solaris 9 single-threaded support.  Add call_user_handler code
5322         sequences.
5323         (sparc_is_sighandler): Likewise.
5325 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5327         * config.host: Append t-floattodi to tmake_file depending on
5328         host_address.
5330 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
5332         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5334 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
5336         PR libgcc/60472
5337         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5338         variable to avoid "array subscript is above array bounds" warnings.
5339         Use __builtin_expect when checking *jcr_list for NULL.
5341 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5343         PR libgcc/59339
5344         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5345         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5346         vtv_*.o to extra_parts if enable_vtable_verify.
5348 2014-03-06  Nick Clifton  <nickc@redhat.com>
5350         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5351         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5353 2014-02-28  Joey Ye  <joey.ye@arm.com>
5355         PR libgcc/60166
5356         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5357         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5358         Set to zero.
5360 2014-02-24  Walter Lee  <walt@tilera.com>
5362         * config.host: Support "tilegx*" and "tilepro*" triplets.
5363         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5364         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5366 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
5367             Chung-Lin Tang  <cltang@codesourcery.com>
5369         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5370         * config/nios2/crti.S: Remove .file directive.
5371         * config/nios2/crtn.S: Likewise.
5373 2014-02-18  Kai Tietz  <ktietz@redhat.com>
5374         Jonathan Schleifer  <js@webkeks.org>
5376         PR objc/56870
5377         * unwind-seh.c (_GCC_specific_handler): Pass proper
5378         value to unwind-handler.
5380 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5382         * soft-fp/adddf3.c: Update from glibc.
5383         * soft-fp/addsf3.c: Likewise.
5384         * soft-fp/addtf3.c: Likewise.
5385         * soft-fp/divdf3.c: Likewise.
5386         * soft-fp/divsf3.c: Likewise.
5387         * soft-fp/divtf3.c: Likewise.
5388         * soft-fp/double.h: Likewise.
5389         * soft-fp/eqdf2.c: Likewise.
5390         * soft-fp/eqsf2.c: Likewise.
5391         * soft-fp/eqtf2.c: Likewise.
5392         * soft-fp/extenddftf2.c: Likewise.
5393         * soft-fp/extended.h: Likewise.
5394         * soft-fp/extendsfdf2.c: Likewise.
5395         * soft-fp/extendsftf2.c: Likewise.
5396         * soft-fp/extendxftf2.c: Likewise.
5397         * soft-fp/fixdfdi.c: Likewise.
5398         * soft-fp/fixdfsi.c: Likewise.
5399         * soft-fp/fixdfti.c: Likewise.
5400         * soft-fp/fixsfdi.c: Likewise.
5401         * soft-fp/fixsfsi.c: Likewise.
5402         * soft-fp/fixsfti.c: Likewise.
5403         * soft-fp/fixtfdi.c: Likewise.
5404         * soft-fp/fixtfsi.c: Likewise.
5405         * soft-fp/fixtfti.c: Likewise.
5406         * soft-fp/fixunsdfdi.c: Likewise.
5407         * soft-fp/fixunsdfsi.c: Likewise.
5408         * soft-fp/fixunsdfti.c: Likewise.
5409         * soft-fp/fixunssfdi.c: Likewise.
5410         * soft-fp/fixunssfsi.c: Likewise.
5411         * soft-fp/fixunssfti.c: Likewise.
5412         * soft-fp/fixunstfdi.c: Likewise.
5413         * soft-fp/fixunstfsi.c: Likewise.
5414         * soft-fp/fixunstfti.c: Likewise.
5415         * soft-fp/floatdidf.c: Likewise.
5416         * soft-fp/floatdisf.c: Likewise.
5417         * soft-fp/floatditf.c: Likewise.
5418         * soft-fp/floatsidf.c: Likewise.
5419         * soft-fp/floatsisf.c: Likewise.
5420         * soft-fp/floatsitf.c: Likewise.
5421         * soft-fp/floattidf.c: Likewise.
5422         * soft-fp/floattisf.c: Likewise.
5423         * soft-fp/floattitf.c: Likewise.
5424         * soft-fp/floatundidf.c: Likewise.
5425         * soft-fp/floatundisf.c: Likewise.
5426         * soft-fp/floatunditf.c: Likewise.
5427         * soft-fp/floatunsidf.c: Likewise.
5428         * soft-fp/floatunsisf.c: Likewise.
5429         * soft-fp/floatunsitf.c: Likewise.
5430         * soft-fp/floatuntidf.c: Likewise.
5431         * soft-fp/floatuntisf.c: Likewise.
5432         * soft-fp/floatuntitf.c: Likewise.
5433         * soft-fp/gedf2.c: Likewise.
5434         * soft-fp/gesf2.c: Likewise.
5435         * soft-fp/getf2.c: Likewise.
5436         * soft-fp/ledf2.c: Likewise.
5437         * soft-fp/lesf2.c: Likewise.
5438         * soft-fp/letf2.c: Likewise.
5439         * soft-fp/muldf3.c: Likewise.
5440         * soft-fp/mulsf3.c: Likewise.
5441         * soft-fp/multf3.c: Likewise.
5442         * soft-fp/negdf2.c: Likewise.
5443         * soft-fp/negsf2.c: Likewise.
5444         * soft-fp/negtf2.c: Likewise.
5445         * soft-fp/op-1.h: Likewise.
5446         * soft-fp/op-2.h: Likewise.
5447         * soft-fp/op-4.h: Likewise.
5448         * soft-fp/op-8.h: Likewise.
5449         * soft-fp/op-common.h: Likewise.
5450         * soft-fp/quad.h: Likewise.
5451         * soft-fp/single.h: Likewise.
5452         * soft-fp/soft-fp.h: Likewise.
5453         * soft-fp/subdf3.c: Likewise.
5454         * soft-fp/subsf3.c: Likewise.
5455         * soft-fp/subtf3.c: Likewise.
5456         * soft-fp/truncdfsf2.c: Likewise.
5457         * soft-fp/trunctfdf2.c: Likewise.
5458         * soft-fp/trunctfsf2.c: Likewise.
5459         * soft-fp/trunctfxf2.c: Likewise.
5460         * soft-fp/unorddf2.c: Likewise.
5461         * soft-fp/unordsf2.c: Likewise.
5462         * soft-fp/unordtf2.c: Likewise.
5463         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5464         macro.
5465         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5466         Likewise.
5467         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5468         Likewise.
5469         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5470         Likewise.
5471         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5472         Likewise.
5473         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5474         Likewise.
5475         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5476         Likewise.
5477         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5478         Likewise.
5479         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5480         Likewise.
5481         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5482         Likewise.
5483         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5484         Likewise.
5485         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5486         Likewise.
5487         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5488         Likewise.
5489         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5490         Likewise.
5491         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5492         Likewise.
5493         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5494         Likewise.
5496 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5498         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5499         cannot be represented.
5500         * config/s390/32/_fixsfdi.c: Likewise.
5501         * config/s390/32/_fixtfdi.c: Likewise.
5502         * config/s390/32/_fixunsdfdi.c: Likewise.
5503         * config/s390/32/_fixunssfdi.c: Likewise.
5504         * config/s390/32/_fixunstfdi.c: Likewise.
5506 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
5508         * configure.ac (libgcc_cv_mips_hard_float): New.
5509         * configure: Regenerate.
5510         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5511         t-softfp-sfdf for hard-float targets.
5512         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5513         (softfp_float_modes, softfp_int_modes, softfp_extensions)
5514         (softfp_truncations, softfp_exclude_libgcc2): New.
5515         * config/t-hardfp: New file.
5516         * config/t-hardfp-sfdf: Likewise.
5517         * config/hardfp.c: Likewise.
5519 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5521         * config.host: Include t-floattodi also for s390x.
5522         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5523         * config/s390/32/_fixsfdi.c: Likewise.
5524         * config/s390/32/_fixtfdi.c: Likewise.
5525         * config/s390/32/_fixunsdfdi.c: Likewise.
5526         * config/s390/32/_fixunssfdi.c: Likewise.
5527         * config/s390/32/_fixunstfdi.c: Likewise.
5529 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5531         PR target/59788
5532         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5533         (install-libgcc-unwind-map-forbuild): New target.
5534         (all): Depend on install-libgcc-unwind-map-forbuild.
5535         (install-libgcc-unwind-map): New target.
5536         (install): Depend on install-libgcc-unwind-map.
5538 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
5540         * config/nios2/crti.S (_init): Initialize GOT pointer from
5541         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5543 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
5545         * configure.ac: Check __mips64 when setting host_address.
5546         * configure: Regenerate.
5547         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5548         mips/t-mips64 and t-softfp.
5549         (mips*-*-linux*): Don't add mips/t-tpbit.
5550         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5551         (DPBIT, DPBIT_CFLAGS): Delete.
5552         * config/mips/sfp-machine.h: New file.
5553         * config/mips/t-mips64: Likewise.
5554         * config/mips/t-softfp-tf: Likewise.
5555         * config/mips/t-tpbit: Delete.
5557 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5559         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5560         as long long.
5562 2014-01-25  Walter Lee  <walt@tilera.com>
5564         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
5565         config.h or system.h.
5566         (bool) Define.
5568 2014-01-25  Walter Lee  <walt@tilera.com>
5570         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5571         (post_atomic_barrier): Ditto.
5572         (__fetch_and_do): New macro.
5573         (__atomic_fetch_and_do): Use __fetch_and_do.
5574         (__sync_fetch_and_do): New macro.
5575         (__sync_fetch_and_add_4): New function.
5576         (__sync_fetch_and_sub_4): New function.
5577         (__sync_fetch_and_or_4): New function.
5578         (__sync_fetch_and_and_4): New function.
5579         (__sync_fetch_and_xor_4): New function.
5580         (__sync_fetch_and_nand_4): New function.
5581         (__sync_fetch_and_add_8): New function.
5582         (__sync_fetch_and_sub_8): New function.
5583         (__sync_fetch_and_or_8): New function.
5584         (__sync_fetch_and_and_8): New function.
5585         (__sync_fetch_and_xor_8): New function.
5586         (__sync_fetch_and_nand_8): New function.
5587         (__do_and_fetch): New macro.
5588         (__atomic_do_and_fetch): Use __do_and_fetch.
5589         (__sync_do_and_fetch): New macro.
5590         (__sync_add_and_fetch_4): New function.
5591         (__sync_sub_and_fetch_4): New function.
5592         (__sync_or_and_fetch_4): New function.
5593         (__sync_and_and_fetch_4): New function.
5594         (__sync_xor_and_fetch_4): New function.
5595         (__sync_nand_and_fetch_4): New function.
5596         (__sync_add_and_fetch_8): New function.
5597         (__sync_sub_and_fetch_8): New function.
5598         (__sync_or_and_fetch_8): New function.
5599         (__sync_and_and_fetch_8): New function.
5600         (__sync_xor_and_fetch_8): New function.
5601         (__sync_nand_and_fetch_8): New function.
5602         (__sync_exchange_methods): New macro.
5603         (__sync_val_compare_and_swap_4): New function.
5604         (__sync_bool_compare_and_swap_4): New function.
5605         (__sync_lock_test_and_test_4): New function.
5606         (__sync_val_compare_and_swap_8): New function.
5607         (__sync_bool_compare_and_swap_8): New function.
5608         (__sync_lock_test_and_test_8): New function.
5609         (__subword_cmpxchg_body): New macro.
5610         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5611         (__atomic_compare_exchange_2): Ditto.
5612         (__sync_subword_cmpxchg): New macro.
5613         (__sync_val_compare_and_swap_1): New function.
5614         (__sync_bool_compare_and_swap_1): New function.
5615         (__sync_val_compare_and_swap_2): New function.
5616         (__sync_bool_compare_and_swap_2): New function.
5617         (__atomic_subword): Rename to ...
5618         (__subword): ... New name.
5619         (__atomic_subword_fetch): Use __subword.
5620         (__sync_subword_fetch): New macro.
5621         (__sync_fetch_and_add_1): New function.
5622         (__sync_fetch_and_sub_1): New function.
5623         (__sync_fetch_and_or_1): New function.
5624         (__sync_fetch_and_and_1): New function.
5625         (__sync_fetch_and_xor_1): New function.
5626         (__sync_fetch_and_nand_1): New function.
5627         (__sync_fetch_and_add_2): New function.
5628         (__sync_fetch_and_sub_2): New function.
5629         (__sync_fetch_and_or_2): New function.
5630         (__sync_fetch_and_and_2): New function.
5631         (__sync_fetch_and_xor_2): New function.
5632         (__sync_fetch_and_nand_2): New function.
5633         (__sync_add_and_fetch_1): New function.
5634         (__sync_sub_and_fetch_1): New function.
5635         (__sync_or_and_fetch_1): New function.
5636         (__sync_and_and_fetch_1): New function.
5637         (__sync_xor_and_fetch_1): New function.
5638         (__sync_nand_and_fetch_1): New function.
5639         (__sync_add_and_fetch_2): New function.
5640         (__sync_sub_and_fetch_2): New function.
5641         (__sync_or_and_fetch_2): New function.
5642         (__sync_and_and_fetch_2): New function.
5643         (__sync_xor_and_fetch_2): New function.
5644         (__sync_nand_and_fetch_2): New function.
5645         (__atomic_subword_lock): Use __subword.
5646         (__sync_subword_lock): New macro.
5647         (__sync_lock_test_and_set_1): New function.
5648         (__sync_lock_test_and_set_2): New function.
5650 2014-01-25  Walter Lee  <walt@tilera.com>
5652         * config/tilepro/atomic.c (BIT_OFFSET): Define.
5653         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5654         (__atomic_subword): Ditto.
5656 2014-01-25  Walter Lee  <walt@tilera.com>
5658         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5659         a prefix op argument.
5660         (__atomic_nand_fetch_4): Add prefix op.
5661         (__atomic_nand_fetch_8): Ditto.
5663 2014-01-21  Baruch Siach  <barch@tkos.co.il>
5665         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5667 2014-01-09  Rong Xu  <xur@google.com>
5669         * libgcov-driver.c (this_prg): make it local to save
5670         bss space.
5671         (gcov_exit_compute_summary): Ditto.
5672         (gcov_exit_merge_gcda): Ditto.
5673         (gcov_exit_merge_summary): Ditto.
5674         (gcov_exit_dump_gcov): Ditto.
5676 2014-01-08  Rong Xu  <xur@google.com>
5678         * libgcov-driver.c: Use libgcov.h.
5679         (buffer_fn_data): Use xmalloc instead of malloc.
5680         (gcov_exit_merge_gcda): Ditto.
5681         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5682         * libgcov.h: New common header files for libgcov-*.h.
5683         * libgcov-interface.c: Use libgcov.h
5684         * libgcov-merge.c: Ditto.
5685         * libgcov-profiler.c: Ditto.
5686         * Makefile.in: Add dependence to libgcov.h
5688 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5690         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5691         case of small numerator and finite nonzero result.
5693 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5695         Update copyright years
5697 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5699         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5700         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5701         config/arc/dp-hack.h, config/arc/fp-hack.h,
5702         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5703         config/arc/ieee-754/arc600-dsp/divdf3.S,
5704         config/arc/ieee-754/arc600-dsp/divsf3.S,
5705         config/arc/ieee-754/arc600-dsp/muldf3.S,
5706         config/arc/ieee-754/arc600-dsp/mulsf3.S,
5707         config/arc/ieee-754/arc600-mul64/divdf3.S,
5708         config/arc/ieee-754/arc600-mul64/divsf3.S,
5709         config/arc/ieee-754/arc600-mul64/muldf3.S,
5710         config/arc/ieee-754/arc600-mul64/mulsf3.S,
5711         config/arc/ieee-754/arc600/divsf3.S,
5712         config/arc/ieee-754/arc600/mulsf3.S,
5713         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5714         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5715         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5716         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5717         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5718         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5719         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5720         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5721         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5722         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5723         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5724         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5725         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5726         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5727         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5728         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5729         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5730         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5731         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5732         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5733         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5734         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5735         vtv_start_preinit.c: Use the standard form for the copyright notice.
5737 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
5738             Chung-Lin Tang  <cltang@codesourcery.com>
5739             Based on patches from Altera Corporation
5741         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5742         * config/nios2/lib2-nios2.h: New file.
5743         * config/nios2/lib2-divmod-hi.c: New file.
5744         * config/nios2/linux-unwind.h: New file.
5745         * config/nios2/lib2-divmod.c: New file.
5746         * config/nios2/linux-atomic.c: New file.
5747         * config/nios2/t-nios2: New file.
5748         * config/nios2/crti.asm: New file.
5749         * config/nios2/t-linux: New file.
5750         * config/nios2/lib2-divtable.c: New file.
5751         * config/nios2/lib2-mul.c: New file.
5752         * config/nios2/tramp.c: New file.
5753         * config/nios2/crtn.asm: New file.
5755 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
5757         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5758         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5759         from cpuid.h to check vendor signatures.
5761 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
5763         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5764         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5765         (get_amd_cpu): Likewise.
5767 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
5769         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5770         Haswell.
5772 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5773             H.J. Lu  <hongjiu.lu@intel.com>
5775         PR target/59422
5776         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
5777         and AMD_JAGUAR.
5778         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5779         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5780         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
5781         FEATURE_XOP and FEATURE_FMA.
5782         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5783         AMDFAM15H_BDVER3.
5784         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5785         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5786         FEATURE_FMA4 and FEATURE_XOP.
5788 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
5790         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5791         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5792         (get_intel_cpu): Updated.
5794 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
5796         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5798 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
5800         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5801         instructions when __SSE_MATH__ is defined.
5803 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
5805         * config.host (microblaze-*-rtems*): New.
5807 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
5809         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5810         architectures that do not have hardware divide instruction.
5811         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5813 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
5815         * longlong.h: Delete (moved to include/).
5817 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5819         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5820         of normal number and qNaN to not raise an inexact exception.
5822 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
5824         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5826 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
5828         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5829         for correct opcodes on BE.
5831 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
5833         * soft-fp/op-4.h: Update from glibc.
5835 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
5837         * libgcc2.c (__udivmoddi4): Define new implementation when
5838         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5839         divide instructions.
5841 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
5843         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5845 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5847         * config/t-softfp (soft-fp-objects-base): New variable.
5848         (soft-fp-objects): Use it.
5850 2013-11-23  David Edelson  <dje.gcc@gmail.com>
5851             Andrew Dixie  <andrewd@gentrack.com>
5853         PR target/33704
5854         * config/rs6000/aixinitfini.c: New file.
5855         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5856         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5857         symbols.
5859 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
5861         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5863 2013-11-18  Jan Hubicka  <jh@suse.cz>
5865         * libgcov-driver.c (run_accounted): Make global level static.
5866         (gcov_exit_merge_summary): Silence warning; do not clear
5867         run_accounted here.
5868         (gcov_exit): Clear it here.
5870         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5871         run_accounted.
5873         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5874         (all_prg, crc32): Remove static vars.
5875         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5876         all_prg.
5877         (gcov_exit_merge_gcda): Add crc32 parameter.
5878         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5879         do not account run if it was already accounted.
5880         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5881         (gcov_exit): Initialize all_prg; update.
5883 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
5885         * configure: Regenerate.
5887 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5888             Alan Modra  <amodra@gmail.com>
5890         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5891         (frob_update_context): Use it.
5893 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5894             Alan Modra  <amodra@gmail.com>
5896         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5897         (trampoline_initial): Provide ELFv2 variant.
5898         (__trampoline_setup): Likewise.
5900         * config/rs6000/linux-unwind.h (frob_update_context): Do not
5901         check for AIX indirect function call sequence if _CALL_ELF == 2.
5903 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5904             Alan Modra  <amodra@gmail.com>
5906         * config/rs6000/linux-unwind.h (get_regs): Do not support
5907         old kernel versions if _CALL_ELF == 2.
5908         (frob_update_context): Do not support PLT stub variants only
5909         generated by old linkers if _CALL_ELF == 2.
5911 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5912             Alan Modra  <amodra@gmail.com>
5914         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5915         location of CR save area for 64-bit little-endian systems.
5917 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
5919         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5920         in tmake_file.
5921         * config/arm/t-vxworks: Delete.
5923 2013-11-10  Kai Tietz  <ktietz@redhat.com>
5925         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5926         Increment load-count on use of LIBGCC_SONAME DLL.
5927         (hmod_libgcc): New static variable to hold handle of
5928         LIBGCC_SONAME DLL.
5929         (__gcc_deregister_frame): Decrement load-count of
5930         LIBGCC_SONAME DLL.
5932 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
5934         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5935         availability.
5936         * configure: Regenerate
5938 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
5940         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5941         FP_EX_DENORM.  Store result to volatile location after SSE division
5942         to close interrupt window.  Remove unneeded fwait after x87
5943         division since interrupt window will be closed by emitted fstp.
5944         Rewrite FP_EX_INEXACT handling.
5946 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
5948         * soft-fp/README: Update.
5949         * soft-fp/adddf3.c: Update from glibc.
5950         * soft-fp/addsf3.c: Likewise.
5951         * soft-fp/addtf3.c: Likewise.
5952         * soft-fp/divdf3.c: Likewise.
5953         * soft-fp/divsf3.c: Likewise.
5954         * soft-fp/divtf3.c: Likewise.
5955         * soft-fp/double.h: Likewise.
5956         * soft-fp/eqdf2.c: Likewise.
5957         * soft-fp/eqsf2.c: Likewise.
5958         * soft-fp/eqtf2.c: Likewise.
5959         * soft-fp/extenddftf2.c: Likewise.
5960         * soft-fp/extended.h: Likewise.
5961         * soft-fp/extendsfdf2.c: Likewise.
5962         * soft-fp/extendsftf2.c: Likewise.
5963         * soft-fp/extendxftf2.c: Likewise.
5964         * soft-fp/fixdfdi.c: Likewise.
5965         * soft-fp/fixdfsi.c: Likewise.
5966         * soft-fp/fixdfti.c: Likewise.
5967         * soft-fp/fixsfdi.c: Likewise.
5968         * soft-fp/fixsfsi.c: Likewise.
5969         * soft-fp/fixsfti.c: Likewise.
5970         * soft-fp/fixtfdi.c: Likewise.
5971         * soft-fp/fixtfsi.c: Likewise.
5972         * soft-fp/fixtfti.c: Likewise.
5973         * soft-fp/fixunsdfdi.c: Likewise.
5974         * soft-fp/fixunsdfsi.c: Likewise.
5975         * soft-fp/fixunsdfti.c: Likewise.
5976         * soft-fp/fixunssfdi.c: Likewise.
5977         * soft-fp/fixunssfsi.c: Likewise.
5978         * soft-fp/fixunssfti.c: Likewise.
5979         * soft-fp/fixunstfdi.c: Likewise.
5980         * soft-fp/fixunstfsi.c: Likewise.
5981         * soft-fp/fixunstfti.c: Likewise.
5982         * soft-fp/floatdidf.c: Likewise.
5983         * soft-fp/floatdisf.c: Likewise.
5984         * soft-fp/floatditf.c: Likewise.
5985         * soft-fp/floatsidf.c: Likewise.
5986         * soft-fp/floatsisf.c: Likewise.
5987         * soft-fp/floatsitf.c: Likewise.
5988         * soft-fp/floattidf.c: Likewise.
5989         * soft-fp/floattisf.c: Likewise.
5990         * soft-fp/floattitf.c: Likewise.
5991         * soft-fp/floatundidf.c: Likewise.
5992         * soft-fp/floatundisf.c: Likewise.
5993         * soft-fp/floatunditf.c: Likewise.
5994         * soft-fp/floatunsidf.c: Likewise.
5995         * soft-fp/floatunsisf.c: Likewise.
5996         * soft-fp/floatunsitf.c: Likewise.
5997         * soft-fp/floatuntidf.c: Likewise.
5998         * soft-fp/floatuntisf.c: Likewise.
5999         * soft-fp/floatuntitf.c: Likewise.
6000         * soft-fp/gedf2.c: Likewise.
6001         * soft-fp/gesf2.c: Likewise.
6002         * soft-fp/getf2.c: Likewise.
6003         * soft-fp/ledf2.c: Likewise.
6004         * soft-fp/lesf2.c: Likewise.
6005         * soft-fp/letf2.c: Likewise.
6006         * soft-fp/muldf3.c: Likewise.
6007         * soft-fp/mulsf3.c: Likewise.
6008         * soft-fp/multf3.c: Likewise.
6009         * soft-fp/negdf2.c: Likewise.
6010         * soft-fp/negsf2.c: Likewise.
6011         * soft-fp/negtf2.c: Likewise.
6012         * soft-fp/op-1.h: Likewise.
6013         * soft-fp/op-2.h: Likewise.
6014         * soft-fp/op-4.h: Likewise.
6015         * soft-fp/op-8.h: Likewise.
6016         * soft-fp/op-common.h: Likewise.
6017         * soft-fp/quad.h: Likewise.
6018         * soft-fp/single.h: Likewise.
6019         * soft-fp/soft-fp.h: Likewise.
6020         * soft-fp/subdf3.c: Likewise.
6021         * soft-fp/subsf3.c: Likewise.
6022         * soft-fp/subtf3.c: Likewise.
6023         * soft-fp/truncdfsf2.c: Likewise.
6024         * soft-fp/trunctfdf2.c: Likewise.
6025         * soft-fp/trunctfsf2.c: Likewise.
6026         * soft-fp/trunctfxf2.c: Likewise.
6027         * soft-fp/unorddf2.c: Likewise.
6028         * soft-fp/unordsf2.c: Likewise.
6029         * soft-fp/unordtf2.c: Likewise.
6031 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
6033         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6034         (_FP_MUL_MEAT_D): Ditto.
6035         (_FP_DIV_MEAT_S): Ditto.
6036         (_FP_DIV_MEAT_D): Ditto.
6037         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6038         t-softfp-sfdf and t-softfp to tmake_file.
6040 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
6042         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6043         * config/i386/crtprec.c: Ditto.
6045 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
6046             Shiva Chen  <shiva0217@gmail.com>
6048         * config.host (nds32*-elf*): Add nds32 target.
6049         * config/nds32 : New directory and files.
6051 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
6053         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
6054         * config.host (cpu_type) <Setting default>: Add entry for
6055         crisv32-*-*.
6056         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6057         <crisv32-*-linux*>: Adjust.
6058         * longlong.h: Wrap the whole CRIS section in a single
6059         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
6060         and sub_ddmmss.
6061         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6062         defined.
6063         [__CRIS__] (__umulsidi3): Define.
6064         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6065         * config/cris/sfp-machine.h: New file.
6066         * config/cris/umulsidi3.S: New file.
6067         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6068         * config/cris/arit.c (SIGNMULT): New macro.
6069         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6070         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6071         saving 3 out of originally 33 cycles from the fastest
6072         path, 3 out of 54 from the medium path and one from the longest
6073         path.  Improve comments.
6075 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
6077         * sync.c: Remove static aliases and define each function directly
6078         under its real name.
6080 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
6082         * config.host (hppa*64*-*-linux*): Define extra_parts.
6083         (hppa*-*-linux*): Likewise.
6085 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
6087         * config/arc/crtgend.S: Add 2013 to Copyright years.
6088         * config/arc/gmon/atomic.h: Likewise.
6089         * config/arc/gmon/auxreg.h: Likewise.
6090         * config/arc/gmon/sys/gmon_out.h: Likewise.
6091         * config/arc/gmon/sys/gmon.h: Likewise.
6092         * config/arc/gmon/prof-freq.c: Likewise.
6093         * config/arc/gmon/mcount.c: Likewise.
6094         * config/arc/gmon/prof-freq-stub.S: Likewise.
6095         * config/arc/gmon/gmon.c: Likewise.
6096         * config/arc/gmon/machine-gmon.h: Likewise.
6097         * config/arc/gmon/profil.S: Likewise.
6098         * config/arc/gmon/dcache_linesz.S: Likewise.
6099         * config/arc/crtg.S: Likewise.
6100         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6101         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6102         * config/arc/ieee-754/adddf3.S: Likewise.
6103         * config/arc/ieee-754/truncdfsf2.S: Likewise.
6104         * config/arc/ieee-754/fixsfsi.S: Likewise.
6105         * config/arc/ieee-754/gtsf2.S: Likewise.
6106         * config/arc/ieee-754/floatsisf.S: Likewise.
6107         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6108         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6109         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6110         * config/arc/ieee-754/fixdfsi.S: Likewise.
6111         * config/arc/ieee-754/addsf3.S: Likewise.
6112         * config/arc/ieee-754/gesf2.S: Likewise.
6113         * config/arc/ieee-754/floatsidf.S: Likewise.
6114         * config/arc/ieee-754/extendsfdf2.S: Likewise.
6115         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6116         * config/arc/ieee-754/gtdf2.S: Likewise.
6117         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6118         * config/arc/ieee-754/uneqdf2.S: Likewise.
6119         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6120         * config/arc/ieee-754/uneqsf2.S: Likewise.
6121         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6122         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6123         * config/arc/ieee-754/eqdf2.S: Likewise.
6124         * config/arc/ieee-754/ordsf2.S: Likewise.
6125         * config/arc/ieee-754/divsf3.S: Likewise.
6126         * config/arc/ieee-754/divdf3.S: Likewise.
6127         * config/arc/ieee-754/floatunsidf.S: Likewise.
6128         * config/arc/ieee-754/orddf2.S: Likewise.
6129         * config/arc/ieee-754/eqsf2.S: Likewise.
6130         * config/arc/ieee-754/gedf2.S: Likewise.
6131         * config/arc/crtn.S: Likewise.
6132         * config/arc/crti.S: Likewise.
6133         * config/arc/t-arc700-uClibc: Likewise.
6134         * config/arc/asm.h: Likewise.
6135         * config/arc/libgcc-excl.ver: Likewise.
6136         * config/arc/t-arc-newlib: Likewise.
6137         * config/arc/divtab-arc700.c: Likewise.
6138         * config/arc/initfini.c: Likewise.
6139         * config/arc/fp-hack.h: Likewise.
6141 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6142             Diego Novillo  <dnovillo@google.com>
6144         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6145         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6146         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6147         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6149 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6150             Brendan Kehoe  <brendan@zen.org>
6151             Simon Cook  <simon.cook@embecosm.com>
6153         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6154         * config/arc: New directory.
6155         * longlong.h [__arc__] (umul_ppmm): Remove.
6156         [__arc__] (__umulsidi3): Define.
6157         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6158         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6160 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
6162         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6163         CreateSemaphoreA.
6164         * config/i386/gthr-win32.h: Likewise.
6166 2013-09-16  DJ Delorie  <dj@redhat.com>
6168         * config/rl78/vregs.h: Add G10 register definitions.
6169         * config/rl78/lib2mul.c: Enable for RL78/G10.
6170         * config/rl78/lib2div.c: Likewise.
6171         * config/rl78/lshrsi3.S: Use vregs.h.
6172         * config/rl78/cmpsi2.S: Likewise.
6173         * config/rl78/trampoline.S: Likewise.
6174         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
6176 2013-09-14  DJ Delorie  <dj@redhat.com>
6177             Nick Clifton  <nickc@redhat.com>
6179         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6180         * config/rl78/vregs.h: New.
6181         * config/rl78/signbit.S: New file.  Implements signbit function.
6182         * config/rl78/divmodsi.S: New.
6183         * config/rl78/divmodhi.S: New.
6184         * config/rl78/divmodqi.S: New.
6185         * config/rl78/t-rl78: Build them here...
6186         * config/rl78/lib2div.c: ...but not here.
6188 2013-09-12  DJ Delorie  <dj@redhat.com>
6190         * config.host (msp*-*-elf): New.
6191         * config/msp430/: New port.
6193 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
6195         PR gcov-profile/58127
6196         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6197         __thread var for emulated TLS.
6198         (__gcov_indirect_call_counters): Likewise.
6200 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
6201             Catherine Moore  <clm@codesourcery.com>
6202             Richard Sandiford  <rdsandiford@googlemail.com>
6204         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6205         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6206         (CALL_STUB_NO_RET): Likewise.
6207         (CALL_STUB_RET): Likewise.
6208         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6209         __mips16_ret call/return stub symbols.
6210         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6211         to tmake_file.
6213 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
6215         * config.host <mips*-*-linux*>: Remove a stray comment.
6217 2013-08-10  Jan Hubicka  <jh@suse.cz>
6219         Work around binutils PR14342
6220         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6221         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6222         (L_gcov_indirect_call_profiler_v2): New.
6224 2013-08-06  Jan Hubicka  <jh@suse.cz>
6226         * libgcov.c (__gcov_indirect_call_callee,
6227         __gcov_indirect_call_counters): New global vars.
6228         (__gcov_indirect_call_profiler): replace by ...
6229         (__gcov_indirect_call_profiler_v2) ... this one.
6231 2013-08-06  Caroline Tice  <cmtice@google.com>
6233         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6234         vtv_start_preinit.o and vtv_end_preinit.o.
6235         * configure.ac: Add code to check/set enable_vtable_verify.
6236         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6237         true.
6238         * vtv_start_preinit.c: New file.
6239         * vtv_end_preinit.c: New file.
6240         * vtv_start.c: New file.
6241         * vtv_end.c: New file.
6242         * configure: Regenerated.
6244 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
6246         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6247         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6248         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6249         GPL-3.0-with-GCC-exception.
6251 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
6253         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6254         ISA and up.
6256 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6258         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6259         mapping for FPRs when creating the fallback framestate.
6261 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
6263         PR target/57516
6264         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6265         (__round_s2_const, __round_u2_const)
6266         (__round_s4_const, __round_u4_const, __round_x8):
6267         Saturate result if addition result cannot be represented.
6269 2013-07-15  Matthias Klose  <doko@ubuntu.com>
6271         * libgcc2.c: Don't include <limits.h>.
6273 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
6275         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6277 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
6279         PR target/29776
6280         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6282 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
6284         PR middle-end/36041
6285         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6286         Define.
6287         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6288         instead of table lookups.
6289         (__popcountDI2): Likewise.
6291 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
6293         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6294         correctly.
6296 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6298         PR other/53317
6299         * soft-fp/adddf3.c: Update from glibc.
6300         * soft-fp/addsf3.c: Likewise.
6301         * soft-fp/addtf3.c: Likewise.
6302         * soft-fp/divdf3.c: Likewise.
6303         * soft-fp/divsf3.c: Likewise.
6304         * soft-fp/divtf3.c: Likewise.
6305         * soft-fp/double.h: Likewise.
6306         * soft-fp/eqdf2.c: Likewise.
6307         * soft-fp/eqsf2.c: Likewise.
6308         * soft-fp/eqtf2.c: Likewise.
6309         * soft-fp/extenddftf2.c: Likewise.
6310         * soft-fp/extended.h: Likewise.
6311         * soft-fp/extendsfdf2.c: Likewise.
6312         * soft-fp/extendsftf2.c: Likewise.
6313         * soft-fp/fixdfdi.c: Likewise.
6314         * soft-fp/fixdfsi.c: Likewise.
6315         * soft-fp/fixsfdi.c: Likewise.
6316         * soft-fp/fixsfsi.c: Likewise.
6317         * soft-fp/fixtfdi.c: Likewise.
6318         * soft-fp/fixtfsi.c: Likewise.
6319         * soft-fp/fixunsdfdi.c: Likewise.
6320         * soft-fp/fixunsdfsi.c: Likewise.
6321         * soft-fp/fixunssfdi.c: Likewise.
6322         * soft-fp/fixunssfsi.c: Likewise.
6323         * soft-fp/fixunstfdi.c: Likewise.
6324         * soft-fp/fixunstfsi.c: Likewise.
6325         * soft-fp/floatdidf.c: Likewise.
6326         * soft-fp/floatdisf.c: Likewise.
6327         * soft-fp/floatditf.c: Likewise.
6328         * soft-fp/floatsidf.c: Likewise.
6329         * soft-fp/floatsisf.c: Likewise.
6330         * soft-fp/floatsitf.c: Likewise.
6331         * soft-fp/floatundidf.c: Likewise.
6332         * soft-fp/floatundisf.c: Likewise.
6333         * soft-fp/floatunditf.c: Likewise.
6334         * soft-fp/floatunsidf.c: Likewise.
6335         * soft-fp/floatunsisf.c: Likewise.
6336         * soft-fp/floatunsitf.c: Likewise.
6337         * soft-fp/gedf2.c: Likewise.
6338         * soft-fp/gesf2.c: Likewise.
6339         * soft-fp/getf2.c: Likewise.
6340         * soft-fp/ledf2.c: Likewise.
6341         * soft-fp/lesf2.c: Likewise.
6342         * soft-fp/letf2.c: Likewise.
6343         * soft-fp/muldf3.c: Likewise.
6344         * soft-fp/mulsf3.c: Likewise.
6345         * soft-fp/multf3.c: Likewise.
6346         * soft-fp/negdf2.c: Likewise.
6347         * soft-fp/negsf2.c: Likewise.
6348         * soft-fp/negtf2.c: Likewise.
6349         * soft-fp/op-1.h: Likewise.
6350         * soft-fp/op-2.h: Likewise.
6351         * soft-fp/op-4.h: Likewise.
6352         * soft-fp/op-8.h: Likewise.
6353         * soft-fp/op-common.h: Likewise.
6354         * soft-fp/quad.h: Likewise.
6355         * soft-fp/single.h: Likewise.
6356         * soft-fp/soft-fp.h: Likewise.
6357         * soft-fp/subdf3.c: Likewise.
6358         * soft-fp/subsf3.c: Likewise.
6359         * soft-fp/subtf3.c: Likewise.
6360         * soft-fp/truncdfsf2.c: Likewise.
6361         * soft-fp/trunctfdf2.c: Likewise.
6362         * soft-fp/trunctfsf2.c: Likewise.
6363         * soft-fp/unorddf2.c: Likewise.
6364         * soft-fp/unordsf2.c: Likewise.
6365         * soft-fp/unordtf2.c: Likewise.
6366         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6367         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6368         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6369         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6370         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6371         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6372         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6373         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6374         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6375         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6376         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6377         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6379 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
6381         * config/mips/lib2funcs.c: New file.
6382         * config/mips/t-mips (LIB2ADD_ST): Add it.
6384 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
6386         PR target/6526
6387         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6388         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
6390 2013-06-08  Walter Lee  <walt@tilera.com>
6392         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6393         Replace int64_t with long long.  Add __extension__ where
6394         appropriate.
6395         * config/tilepro/atomic.c: Include config.h.
6397 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
6399         * config.host (arm-wrs-vxworks): Configure with other soft float.
6401 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
6403         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6404         (mips64r5900el-*-elf*): New configurations.
6406 2013-06-04  Alan Modra  <amodra@gmail.com>
6408         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6410 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
6412         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6414 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
6416         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6417         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6418         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6420 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
6422         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6423         (powerpc-wrs-vxworks): Likewise.
6425 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
6427         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6428         signal frames as well.
6429         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6430         STACK_BIAS to the CFA offset.
6432 2013-05-17  Richard Henderson  <rth@redhat.com>
6434         PR target/49146
6435         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6436         (execute_cfa_program): Use it when storing to fs->regs.
6438 2013-05-08  Kai Tietz  <ktietz@redhat.com>
6440         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6441         (__deregister_frame_info): Likewise.
6443 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
6445         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6446         NaN's payload.
6448         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6450 2013-04-25  Alan Modra  <amodra@gmail.com>
6452         * config.host: Match little-endian powerpc-linux.
6454 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
6456         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6457         as 'unsigned long long' instead of 'unsigned long'.
6458         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6459         'signed long'.
6461 2013-04-10  Julian Brown  <julian@codesourcery.com>
6463         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6464         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6465         unsigned char/unsigned short.
6466         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6468 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6470         PR other/55274
6471         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6473 2013-04-04  Meador Inge  <meadori@codesourcery.com>
6475         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6476         computing the location of the link register.
6477         (aeabi_uldivmod): Ditto.
6479 2013-03-27  Kai Tietz  <ktietz@redhat.com>
6481         * config.host: Add support for cygwin x64 target.
6482         * configure: Regenerated.
6484 2013-03-26  Walter Lee  <walt@tilera.com>
6486         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6487         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6489 2013-03-25  Kai Tietz  <ktietz@redhat.com>
6491         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6493 2013-03-20  Robert Mason  <rbmj@verizon.net>
6495         * config/vxlib-tls.c (__gthread_get_tsd_data,)
6496         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6497         (__gthread_leave_tsd_dtor_context): Add prototypes.
6498         (tls_delete_hook): Update.
6500 2013-03-20  Catherine Moore  <clm@codesourcery.com>
6501             Joseph Myers  <joseph@codesourcery.com>
6502             Chao-ying Fu  <fu@mips.com>
6504         * config/mips/mips16.S:  Don't build for microMIPS.
6505         * config/mips/linux-unwind.h: Handle microMIPS frame.
6506         * config/mips/crtn.S (fini, init): New labels.
6508 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
6510         PR tree-optimization/53265
6511         * unwind-dw2.c (execute_cfa_program): Avoid
6512         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6513         on targets with DWARF_FRAME_REGISTERS < 32.
6515 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
6517         PR target/49880
6518         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6519         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6521 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
6523         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6524         sandybridge processors.
6526 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
6528         PR target/56529
6529         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6530         inclusion list.
6532 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6534         * config/microblaze/crti.S: Setup stack protection at entry
6536 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
6538         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6539         (__rotldi3): Shift bytewise if applicable.
6541 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
6543         * config/aarch64/sync-cache.c
6544         (__aarch64_sync_cache_range): Silence warnings.
6546 2013-02-25  Catherine Moore  <clm@codesourcery.com>
6548         Revert:
6549         2013-02-24  Catherine Moore  <clm@codesourcery.com>
6550             Joseph Myers  <joseph@codesourcery.com>
6551             Chao-ying Fu  <fu@mips.com>
6553         * config/mips/mips16.S:  Don't build for microMIPS.
6554         * config/mips/linux-unwind.h: Handle microMIPS frame.
6555         * config/mips/crtn.S (fini, init): New labels.
6557 2013-02-24  Catherine Moore  <clm@codesourcery.com>
6558             Joseph Myers  <joseph@codesourcery.com>
6559             Chao-ying Fu  <fu@mips.com>
6561         * config/mips/mips16.S:  Don't build for microMIPS.
6562         * config/mips/linux-unwind.h: Handle microMIPS frame.
6563         * config/mips/crtn.S (fini, init): New labels.
6565 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6566         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6567         as dividend.
6569 2013-02-16  Alan Modra  <amodra@gmail.com>
6571         PR target/55431
6572         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6573         (ppc_fallback_frame_state): Always set up save locations for fp
6574         and altivec.  Don't bother with non-callee-saved regs, r0-r13
6575         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6577 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
6579         PR target/54222
6580         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6581         _ssmulHA, _ssmulSA.
6582         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6583         _ssmulha3, _usmulusa3, _ssmulsa3.
6584         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6585         (__muldi3): XCALL __muldi3_6 instead of rcall.
6586         (__umulsidi3, __mulsidi3): New functions.
6587         (do_prologue_saves, do_epilogue_restores): New .macros.
6588         (__divdi3_moddi3): Use them.
6589         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6590         (__usmulusa3, __ssmulsa3): New functions.
6592 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
6593             Jack Howarth  <howarth@bromo.med.uc.edu>
6594             Patrick Marlier  <patrick.marlier@gmail.com>
6596         PR libitm/55693
6597         * config/darwin-crt-tm.c: Remove dummy functions hack.
6599 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
6601         PR target/54222
6602         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6603         * config/avr/lib2-object.mk: New iterator to build objects from it.
6604         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6605         lib2funcs.c.
6606         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6607         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6608         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6609         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6610         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6611         * config/avr/lib1funcs-fixed.S: Implement them.
6613 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
6615         Update copyright years.
6617 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
6619         PR target/54601
6620         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6621         Add crtcxa to extra_parts.
6622         * config/rs6000/exit.h: New file.
6623         * config/rs6000/cxa_atexit.c: New file.
6624         * config/rs6000/cxa_finalize.c: New file.
6625         * config/rs6000/crtcxa.c: New file.
6626         * config/rs6000/t-aix-cxa: New file.
6627         * config/rs6000/libgcc-aix-cxa.ver: New file.
6629 2013-01-31  Nick Clifton  <nickc@redhat.com>
6631         * config/v850/lib1funcs.S: Add support for e3v5 architecture
6632         variant.
6634 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
6636         PR target/54222
6637         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6638         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
6639         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6640         _divQQ,  _divHQ,  _divHA,  _divSA,
6641         _divUQQ, _divUHQ, _divUHA, _divUSA.
6643 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
6645         * config.host(microblaze*-linux*): tmake_file: Remove
6646         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6647         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6648         to exclude functions from being built with libgcc.c and use
6649         the microblaze assembly.
6651 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6653         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6654         extra_parts.
6656 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
6658         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6659         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6660         __UINTPTR_TYPE__; also cast 'base' to the same type before the
6661         alignment operation.
6663 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
6665         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6666         loop start address for cache clearing.
6668 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6670         * config/avr/lib1funcs.S: Remove trailing blanks.
6671         * config/avr/lib1funcs-fixed.S: Ditto.
6673 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6675         * config/avr/avr-lib.h: Add GPL copyright notice.
6677 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6679         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6680         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6681         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6682         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6684 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
6686         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6687         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6689 2013-01-04  Nick Clifton  <nickc@redhat.com>
6691         * config/v850/lib1funcs.S: Only provide CALLT support functions if
6692         the CALLT instruction is supported.
6694 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
6696         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6697         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6699 2012-12-13  John Tytgat  <John@bass-software.com>
6701         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6702         is 25.
6704 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
6706         PR libgcc/55451
6707         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6708         undefined signed overflows.
6710 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
6712         PR target/55344
6713         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6715 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
6717         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6718         (FP_TRAPPING_EXCEPTIONS): Define.
6719         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6720         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6722 2012-12-04  Richard Henderson  <rth@redhat.com>
6724         PR bootstrap/55571
6725         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6727 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6729         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6730         (FP_EX_SHIFT): Define.
6731         (FP_TRAPPING_EXCEPTIONS): Define.
6733 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6735         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6736         (FP_ROUNDMODE): Use FP_RND_MASK.
6737         * config/aarch64/sfp-exceptions.c: New.
6738         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6739         Use __sfp_handle_exceptions.
6741 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
6743         * config.host: (arm*-*-freebsd*): Remove.
6744         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6745         (arm*-*-elf*): Remove.
6746         (arm*-*-wince-pe*): Remove.
6747         * arm/unwind-arm.c (struct fpa_reg): Delete.
6748         (struct fpa_regs): Delete.
6749         (phase1_vrs): Remove fpa element.
6750         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6751         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6752         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6753         * ieee754-sf.S (floatundisf): Remove FPA support.
6754         (floatdisf): Likewise.
6755         * ieee75f-df.S (floatundidf): Likewise.
6756         (floatdidf): Likewise.
6758 2012-11-29  Kai Tietz  <ktietz@redhat.com>
6760         PR target/55445
6761         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6762         * unwind-generic.h: Likewise.
6763         * unwind-seh.c: Likewise.
6765 2012-11-28  Richard Henderson  <rth@redhat.com>
6767         PR libgcc/48076
6768         * emutls.c (__emutls_get_address): Avoid race condition between
6769         obj->loc.offset read and emutls_key initialization.
6771 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
6773         Adjust decimal point of signed accum mode to GCC default.
6775         PR target/54222
6776         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6777         _divqq_helper.
6778         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6779         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6780         (__mulha3, __mulsa3)
6781         (__divqq3, __divha3, __divsa3): Adjust to new position of
6782         decimal point of signed accum types.
6784         (__mulusa3_round): New function.
6785         (__mulusa3): Use it.
6786         (__divqq_helper): New function.
6787         (__udivuqq3): Use it.
6789 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
6791         PR bootstrap/55370
6792         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6794 2012-11-18  Teresa Johnson  <tejohnson@google.com>
6796         PR bootstrap/55051
6797         * libgcov.c (gcov_exit): Remove merged program summary
6798         comparison unless !GCOV_LOCKED.
6800 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6802         * soft-fp: Updated from glibc upstream.
6804 2012-11-06  Ian Lance Taylor  <iant@google.com>
6806         * generic-morestack.c (__generic_morestack): Align the returned
6807         stack pointer to a 32 byte boundary.
6808         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6809         increment the return address until we have decided that we don't
6810         have a varargs function.
6811         (__morestack) [32-bit]: Align stack correctly when calling C
6812         functions.
6813         (__morestack) [64-bit]: Likewise.
6815 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6817         * configure: Regenerate.
6819 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
6821         PR target/55175
6822         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6823         * config/i386/sfp-machine.h: Guard exception handling
6824         code with _SOFT_FLOAT.
6825         * config/i386/32/sfp-machine.h: Guard rounding handling
6826         code with _SOFT_FLOAT.
6827         * config/i386/64/sfp-machine.h: Ditto.
6829 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
6831         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6832         as extra_parts.
6834 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
6836         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6837         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
6838         when appropriate.  Correct structure element types.
6839         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6840         -minline-all-stringops from compile flags.
6842 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6844         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6846 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6848         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6850 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6852         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6853         tmake_file.
6855 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
6856             Jim MacArthur  <jim.macarthur@arm.com>
6857             Marcus Shawcroft  <marcus.shawcroft@arm.com>
6858             Nigel Stephens  <nigel.stephens@arm.com>
6859             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6860             Richard Earnshaw  <rearnsha@arm.com>
6861             Sofiane Naci  <sofiane.naci@arm.com>
6862             Stephen Thomas  <stephen.thomas@arm.com>
6863             Tejas Belagod  <tejas.belagod@arm.com>
6864             Yufeng Zhang  <yufeng.zhang@arm.com>
6866         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6867         * config/aarch64/crti.S: New file.
6868         * config/aarch64/crtn.S: New file.
6869         * config/aarch64/linux-unwind.h: New file.
6870         * config/aarch64/sfp-machine.h: New file.
6871         * config/aarch64/sync-cache.c: New file.
6872         * config/aarch64/t-aarch64: New file.
6873         * config/aarch64/t-softfp: New file.
6875 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
6877         * config/mmix/crti.S: Mark program and data addresses using PRELD.
6878         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
6879         no-longer-needed LDBU insns.
6881 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6883         * config.host
6884         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6885         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6887 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6889         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6891 2012-10-15  Matthias Klose  <doko@ubuntu.com>
6893         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6895 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
6897         * configure: Regenerate.
6898         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6900 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6902         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6903         instructions for 64bit targets only.
6905 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6907         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6908         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6909         * config/i386/32/sfp-machine.h: ... here.
6910         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6911         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6912         New defines.
6914 2012-10-07  Matthias Klose  <doko@ubuntu.com>
6916         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6917         as unused.
6918         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6920 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
6922         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6923         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6924         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6925         (ElfW): Likewise.
6927 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
6929         PR other/53889
6930         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6931         Fix parameter names.
6933 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
6935         PR target/33135
6936         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6937         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6938         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6940 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
6942         PR target/50457
6943         * config/sh/linux-atomic.S: Delete.
6944         * config/sh/linux-atomic.c: New.
6945         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6946         linux-atomic.c.  Add cflags to disable warnings.
6948 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6950         PR other/53889
6951         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6952         function.
6953         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6954         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6955         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6956         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6957         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6958         Likewise.
6959         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6960         Likewise.
6961         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6962         Likewise.
6963         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6964         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6966 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
6968         * config.host (hppa-*-openbsd*): New target.
6969         * config/pa/t-openbsd: New file.
6971 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
6973         PR target/54222
6974         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6975         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6976         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6977         (__divsa3): Use __negsi2 to negate r_quoL.
6978         * config/avr/lib1funcs.S (FALIAS): New macro.
6979         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6980         (__negsi2): ...this new function.
6981         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6982         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6983         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6984         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6985         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6986         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6988 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
6990         PR target/54089
6991         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6992         (lshrsi3): Reimplement as lshrsi3_r0.
6994 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
6996         PR target/46191
6997         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6998         of libgcc.a.
7000 2012-09-07  Teresa Johnson  <tejohnson@google.com>
7002         PR gcov-profile/54487
7003         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7004         differences.
7006 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
7008         PR target/54461
7009         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7010         not configured --with-avrlibc=no.
7011         * config/avr/t-avrlibc: New file.
7012         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7013         (DPBIT_FUNCS): Ditto.
7014         (TPBIT_FUNCS): Ditto.
7016 2012-09-04  Teresa Johnson  <tejohnson@google.com>
7018         * libgcov.c (struct gcov_summary_buffer): New structure.
7019         (gcov_histogram_insert): New function.
7020         (gcov_compute_histogram): Ditto.
7021         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7022         histograms during summary merging.
7024 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
7026         * config.host (x86_64-*-openbsd*): New target.
7028 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
7030         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7031         attribute.
7033 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7035         PR target/54222
7036         * config/avr/t-avr (conv_X): Rename to func_X.
7038 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7040         PR target/54222
7041         * config/avr/lib1funcs-fixed.S: New file.
7042         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
7043         after they are used.
7044         (neg2, neg4): New macros.
7045         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7046         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7047         (__umulhisi3): Speed up MUL variant if there is enough flash.
7048         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7049         avr-modes.def.
7050         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7051         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7052         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7053         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7054         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7055         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7056         (LIB2FUNCS_EXCLUDE): Add supported functions.
7058 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
7060         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7061         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7062         libgcc-s-objects.
7063         * fixed-obj.mk: Only expand dependency if $o is not in
7064         LIB2FUNCS_EXCLUDE.
7066 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
7068         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7070 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
7072         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7073         depend on --enable-shared.
7074         ($(lib1asmfuncs-o)): Use %.vis files independent of
7075         --enable-shared.
7076         * static-object.mk ($(base)$(objext), $(base).vis)
7077         ($(base)_s$(objext)): Use same rules for visibility handling as in
7078         shared-object.mk.
7080 2012-08-21  Ian Lance Taylor  <iant@google.com>
7082         * config/i386/morestack.S (__morestack_non_split): Increase amount
7083         of space allocated for non-split code stack.
7085 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
7087         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7088         even if inhibit_libc.
7090 2012-08-17  Julian Brown  <julian@codesourcery.com>
7092         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7093         -fexceptions -fnon-call-exceptions if not defined.
7094         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7095         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7097 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
7099         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7100         type.
7102 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
7104         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7105         rs6000/t-slibgcc-aix.
7107 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7109         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7111 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7113         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7115 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
7117         PR driver/54171
7118         * Makefile.in (version): Replace top_srcdir with srcdir.
7120 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
7122         * Makefile.in (version): set to BASE-VER file from gcc directory.
7124 2012-08-01  Nick Clifton  <nickc@redhat.com>
7126         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7127         Implements __clrsb for an HImode argument.
7129 2012-07-31  Nick Clifton  <nickc@redhat.com>
7131         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7132         Implements __clrsb for an HImode argument.
7133         * config/stormy16/clrsbhi2.c: New file:
7134         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7136 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
7138         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7140 2012-07-19  Tristan Gingold  <gingold@adacore.com>
7141             Richard Henderson  <rth@redhat.com>
7143         * unwind-seh.c: New file.
7144         * unwind-generic.h: Include windows.h for SEH.
7145         (_Unwind_Exception): Use 6 private fields for SEH.
7146         (_GCC_specific_handler): Declare.
7147         * unwind-c.c (__gcc_personality_seh0): New function.
7148         Adjust for SEH.
7149         * config/i386/libgcc-cygming.ver: New file.
7150         * config/i386/t-seh-eh: New file.
7151         * config.host (x86_64-*-mingw*): Default to seh.
7153 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
7155         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7157 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
7159         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7160         __builtin_expect when checking for exceptions.
7161         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7163 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7165         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7166         function declaration.
7167         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7168         (FP_RND_MASK): New.
7169         * config/ia64/sfp-exceptions.c: New.
7170         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7172 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7174         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7175         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7176         * config/i386/64/sfp-machine: ... (delete here) ...
7177         * config/i386/sfp-machine.h: ... to here.
7178         (FP_EX_MASK): Remove.
7179         (FP_RND_MASK): New.
7180         (FP_INIT_ROUNDMODE): Declare asm as volatile.
7182 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
7184         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7185         * config/i386/libgcc-sol2.ver: Ditto.
7186         * config/i386/libgcc-glibc.ver: Ditto.
7188 2012-06-11  Roland McGrath  <mcgrathr@google.com>
7190         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7191         If __GLIBC__ is defined, refer to __pthread_key_create instead of
7192         pthread_cancel.
7194 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
7196         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7197         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7198         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7199         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7200         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7201         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7202         * config/i386/64/sfp-machine: ... (delete here) ...
7203         * config/i386/sfp-machine.h: ... to here.
7204         (FP_EX_MASK): New.
7205         (__sfp_handle_exceptions): New function declaration.
7206         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7207         * config/i386/sfp-exceptions.c: New.
7208         * config/i386/t-softfp: New.
7209         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7210         i386/t-softfp to tmake_file.
7212 2012-06-03  David S. Miller  <davem@davemloft.net>
7214         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7215         change.
7217 2012-05-31  David S. Miller  <davem@davemloft.net>
7219         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7220         multiply and divide instructions on 32-bit when V9.
7221         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7223 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
7225         * config/arm/ieee754-df.S: Fix typos.
7226         * config/arm/ieee754-sf.S: Fix typos.
7227         * config/c6x/libunwind.S: Fix typos.
7228         * config/epiphany/udivsi3-float.c: Fix typos.
7229         * config/microblaze/muldi3_hard.S: Fix typos.
7230         * config/picochip/adddi3.S: Fix typos.
7231         * config/picochip/ashlsi3.S: Fix typos.
7232         * config/picochip/ashrsi3.S: Fix typos.
7233         * config/picochip/clzsi2.S: Fix typos.
7234         * config/picochip/cmpsi2.S: Fix typos.
7235         * config/picochip/divmod15.S: Fix typos.
7236         * config/picochip/divmodhi4.S: Fix typos.
7237         * config/picochip/divmodsi4.S: Fix typos.
7238         * config/picochip/longjmp.S: Fix typos.
7239         * config/picochip/lshrsi3.S: Fix typos.
7240         * config/picochip/parityhi2.S: Fix typos.
7241         * config/picochip/popcounthi2.S: Fix typos.
7242         * config/picochip/setjmp.S: Fix typos.
7243         * config/picochip/subdi3.S: Fix typos.
7244         * config/picochip/ucmpsi2.S: Fix typos.
7245         * config/picochip/udivmodhi4.S: Fix typos.
7246         * config/picochip/udivmodsi4.S: Fix typos.
7247         * config/spu/divv2df3.c: Fix typos.
7248         * config/spu/mfc_multi_tag_release.c: Fix typos.
7249         * config/spu/mfc_tag_release.c: Fix typos.
7250         * configure.ac: Fix typos.
7251         * configure: Regenerate.
7253 2012-05-25  Ian Lance Taylor  <iant@google.com>
7255         * config/i386/morestack.S (__morestack_non_split): Check whether
7256         caller is varargs and needs %bp to hold the stack frame on return.
7258 2012-05-25  Olivier Hainque  <hainque@adacore.com>
7260         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7261         sequence in the non pic case on VxWorks.
7263 2012-05-24  Olivier Hainque  <hainque@adacore.com>
7265         * Makefile.in: Move dependency on install-unwind_h from
7266         "install-leaf" to "install".
7268 2012-05-24  Olivier Hainque  <hainque@adacore.com>
7270         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7271         Use a separate command for stamp removals.
7273 2012-05-21  Andrew Pinski  <apinski@cavium.com>
7275         PR bootstrap/53183
7276         * configure.ac: Define the default includes to being none.
7277         * configure: Regenerate.
7279 2012-05-16  Olivier Hainque  <hainque@adacore.com>
7281         * Makefile.in (install-unwind_h): Rename into ...
7282         (install-unwind_h-forbuild): New target.
7283         (all): Use it instead of the former install-unwind_h.
7284         (install-unwind_h): Reinstate, copy to user install destination
7285         for include files, not to the internal gcc object directory one.
7286         (install-leaf): Depend on it.
7288 2012-05-15  Olivier Hainque  <hainque@adacore.com>
7290         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7291         register numbers. LR_REGNO replaces R_LR.
7292         (ucontext_for): New, helper for ...
7293         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7294         and 5.3 of ...
7295         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7297 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7299         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7300         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7301         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7302         i386/t-cpuinfo ...
7303         (i[34567]86-*-*, x86_64-*-*): ... here.
7305         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7306         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7308         * config/i386/i386-cpuinfo.c: Rename to ...
7309         * config/i386/cpuinfo.c: ... this.
7310         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7312         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7313         (libgcc_cv_init_priority): New test.
7314         * configure: Regenerate.
7315         * config.in: New file.
7316         * Makefile.in (clean): Rename config.h to auto-target.h.
7317         (config.h): Likewise.
7318         (stamp-h): Likewise.
7320         * config/i386/cpuinfo.c (auto-target.h): Include.
7321         (CONSTRUCTOR_PRIORITY): Define.
7322         (__cpu_indicator_init): Use it.
7324 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
7326         * longlong.h: Use a URL instead of an FSF postal address.
7327         Replace spaces with tab.
7329 2012-05-08  Teresa Johnson  <tejohnson@google.com>
7331         * libgcov.c (gcov_clear, __gcov_reset): New functions.
7332         (__gcov_dump): Ditto.
7333         (gcov_dump_complete): New global variable.
7334         (gcov_exit): Export hidden to enable use in L_gcov_dump.
7335         (__gcov_flush): Outline functionality now in gcov_clear.
7336         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7338 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
7340         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7341         (mips*-*-linux*): Include mips/t-tpbit when long double is
7342         16 bytes long.
7344 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
7346         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7347         (get_available_features): New argument. Check for AVX2.
7348         (__cpu_indicator_init): Modify call to get_available_features.
7350 2012-04-25  Alan Modra  <amodra@gmail.com>
7352         * config/rs6000/crtsavevr.S: New file.
7353         * config/rs6000/crtrestvr.S: New file.
7354         * config/rs6000/t-savresfgpr: Build the above.
7355         * config/rs6000/t-netbsd: Likewise.
7357 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
7359         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7361 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
7363         * libgcc/config/i386/i386-cpuinfo.c: New file.
7364         * libgcc/config/i386/t-cpuinfo: New file.
7365         * libgcc/config.host: Include t-cpuinfo.
7366         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7368 2012-04-24  Chao-ying Fu  <fu@mips.com>
7370         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7372 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
7374         struct siginfo vs. siginfo_t
7376         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7377         siginfo_t instead of struct siginfo.
7378         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7379         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7380         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7381         (ia64_handle_unwabi): Likewise.
7382         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7383         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7384         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7385         (sh_fallback_frame_state): Likewise.
7386         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7387         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7389 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
7391         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7392         system call number.
7394 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
7396         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7397         if it hasn't been previously saved.
7399 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
7401         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7402         only for glibc.
7404 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
7406         PR target/52737
7407         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7408         instead of __AVR_HAVE_8BIT_SP__.
7410 2012-03-26  Tristan Gingold  <gingold@adacore.com>
7412         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7413         (unw_table_entry): Use unw_word instead of unsigned long.
7414         (_Unwind_FindTableEntry): Likewise.
7415         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7416         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7417         (_Unwind_FindTableEntry): Likewise.
7418         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7419         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7420         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7421         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7422         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7423         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7424         (uw_init_context_1, uw_install_context): Likewise.
7425         (unw_word): Move to unwind-ia64.h
7427 2012-03-26  Tristan Gingold  <gingold@adacore.com>
7429         * config/vms/vms-ucrt0.c: Update copyright years.
7430         Add a sanity check.
7431         (___gcc_main_flags): Declare.
7432         (__main): Check flags to remap argv and exit code.
7433         * config.host (*-*-*vms*): Adjust extra_parts.
7434         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7435         (crt0.o): Add.
7437 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
7439         * arm/lib1funcs.asm (ctzsi2): New function.
7440         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7441         * arm/t-linux (LIB1ASMFUNCS): Likewise.
7442         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7443         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7444         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7445         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7447 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
7449         * config.host: Add bits to support powerpc64-*-freebsd*.
7450         * config/rs6000/freebsd-unwind.h: New file.
7451         * config/rs6000/t-freebsd64: New file.
7453 2012-03-20  Richard Guenther  <rguenther@suse.de>
7455         PR gcov-profile/52627
7456         * libgcov.c (init_mx): Fix mutex name.
7458 2012-03-16  Tristan Gingold  <gingold@adacore.com>
7460         * config/ia64/vms-unwind.h: Remove ulong (and replace
7461         it by unw_reg where used).  Define unw_reg with __int64.
7463 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7465         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7466         Solaris 8 handling.
7467         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7468         Solaris 8 handling.
7469         (sparc_is_sighandler): Likewise.
7471 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
7473         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7474         <= saved reg size.
7476 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7478         * config/arm/crtn.S: Fix typo.
7480 2012-03-13  Richard Guenther  <rguenther@suse.de>
7482         * libgcov.c: Remove stdio.h include and NULL un-define.
7484 2012-03-13  Richard Guenther  <rguenther@suse.de>
7486         PR target/52569
7487         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7489 2012-03-13  Richard Guenther  <rguenther@suse.de>
7491         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7493 2012-03-13  Richard Guenther  <rguenther@suse.de>
7495         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7496         and __gthread_mutex_init_function definitions.
7498 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7500         * config.host (mips*-*-openbsd*): Remove.
7502 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7504         * config.host: Remove alpha*-dec-osf5.1* handling.
7505         * config/alpha/gthr-posix.c: Remove.
7506         * config/alpha/libgcc-osf5.ver: Remove.
7507         * config/alpha/osf5-unwind.h: Remove.
7508         * config/alpha/t-osf-pthread: Remove.
7509         * config/alpha/t-slibgcc-osf: Remove.
7510         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7511         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7512         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7513         * mkmap-flat.awk: Remove osf_export handling.
7515 2012-03-12  Richard Guenther  <rguenther@suse.de>
7517         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7518         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7519         (__gthread_mutex_init_function): New function.
7520         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7522         PR gcov/49484
7523         * libgcov.c: Include gthr.h.
7524         (__gcov_flush_mx): New global variable.
7525         (init_mx, init_mx_once): New functions.
7526         (__gcov_flush): Protect self with a mutex.
7527         (__gcov_fork): Re-initialize mutex after forking.
7528         * unwind-dw2-fde.c: Change condition under which to use
7529         __GTHREAD_MUTEX_INIT_FUNCTION.
7531 2012-03-12  Tristan Gingold  <gingold@adacore.com>
7533         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7534         * config/ia64/t-vms: Likewise.
7536 2012-03-11  Michael Hope  <michael.hope@linaro.org>
7538         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7539         for Thumb-2.
7541 2012-03-07  Walter Lee  <walt@tilera.com>
7543         * config/tilepro/atomic.c: Rename "atomic_" prefix to
7544         "arch_atomic_".
7545         (atomic_xor): Rename and move definition to
7546         config/tilepro/atomic.h.
7547         (atomic_nand): Ditto.
7548         * config/tilepro/atomic.h: Rename "atomic_" prefix to
7549         "arch_atomic_".
7550         (arch_atomic_xor): Move from config/tilepro/atomic.c.
7551         (arch_atomic_nand): Ditto.
7553 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7555         PR target/52507
7556         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7558 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7560         PR target/52505
7561         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7562         from RAM.
7564 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7566         PR target/52461
7567         PR target/52508
7568         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7569         if RAMPZ affects reading from RAM.
7570         (__tablejump_elpm__): Ditto.
7571         (.xload): Ditto.
7572         (__movmemx_hi): Ditto.
7573         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7574         (__do_global_dtors): Ditto.
7575         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7576         (__movmemx_hi): Ditto.
7578 2012-03-05  Richard Henderson  <rth@redhat.com>
7580         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7581         [ARM] (count_trailing_zeros): Use the builtin.
7583 2012-03-01  Kai Tietz  <ktietz@redhat.com>
7585         * soft-fp: Imported from glibc upstream.
7587 2012-02-28  Kai Tietz  <ktietz@redhat.com>
7589         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7590         for mingw-targets as attribute gcc_struct.
7592 2012-02-28  Ian Lance Taylor  <iant@google.com>
7594         * generic-morestack.c (__splitstack_releasecontext): Correct call
7595         to __morestack_release_segments.
7597 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7599         PR target/52390
7600         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7601         for __linux__ when removing signals from __morestack_fullmask.
7603 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
7605         PR target/52261
7606         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7608 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7610         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7611         instead of HAVE_INITFINI_ARRAY.
7612         * config/ia64/crtend.S: Likewise.
7614 2012-02-20  Kai Tietz  <ktietz@redhat.com>
7616         PR libstdc++/52300
7617         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7619         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7620         to w32-unwind.h header.
7622 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
7624         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7625         (mips*-*-linux*): Remove t-slibgcc-libgcc.
7626         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7627         * config/mips/mips16.S (__mips16_rdhwr): Delete.
7629 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
7631         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7633 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7635         PR libitm/52220
7636         * config/darwin-crt-tm.c: Correct typo.
7638 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7639             Patrick Marlier  <patrick.marlier@gmail.com>
7641         PR libitm/52220
7642         * config/darwin-crt-tm.c: Generate dummy functions.
7644 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7645             Patrick Marlier  <patrick.marlier@gmail.com>
7647         PR libitm/52042
7648         * config/darwin-crt-tm.c (getTMCloneTable): New function.
7649         (__doTMRegistrations): Call it.
7650         (__doTMdeRegistrations): Likewise.
7652 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
7653             Anatoly Sokolov  <aesok@post.ru>
7654             Eric Weddington  <eric.weddington@atmel.com>
7656         PR target/52261
7657         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7658         (__epilogue_restores__): Ditto.
7660 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
7662         PR target/51921
7663         PR target/52205
7664         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7665         Solaris 11 and slightly reformat.
7666         (sparc_is_sighandler): Likewise.
7668 2012-02-14  Walter Lee  <walt@tilera.com>
7670         * config.host: Handle tilegx and tilepro.
7671         * config/tilegx/sfp-machine.h: New file.
7672         * config/tilegx/sfp-machine32.h: New file.
7673         * config/tilegx/sfp-machine64.h: New file.
7674         * config/tilegx/t-crtstuff: New file.
7675         * config/tilegx/t-softfp: New file.
7676         * config/tilegx/t-tilegx: New file.
7677         * config/tilepro/atomic.c: New file.
7678         * config/tilepro/atomic.h: New file.
7679         * config/tilepro/linux-unwind.h: New file.
7680         * config/tilepro/sfp-machine.h: New file.
7681         * config/tilepro/softdivide.c: New file.
7682         * config/tilepro/softmpy.S: New file.
7683         * config/tilepro/t-crtstuff: New file.
7684         * config/tilepro/t-tilepro: New file.
7686 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
7688         PR libstdc++/51296
7689         PR libstdc++/51906
7690         * gthr-posix.h: Allow static initializer macros to be disabled.
7691         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7693 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7695         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7696         Add t-slibgcc-libgcc to tmake_file.
7697         * config/mips/libgcc-mips16.ver: Revert previous patch.
7698         * config/mips/mips16.S (__mips16_rdhwr): Hide.
7700 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
7701             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
7703         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7704         * config/cr16/crti.S: New file.
7705         * config/cr16/crtlibid.S: New file.
7706         * config/cr16/crtn.S: New file.
7707         * config/cr16/lib1funcs.S: New file.
7708         * config/cr16/t-cr16: New file.
7709         * config/cr16/t-crtlibid: New file.
7710         * config/cr16/unwind-dw2.h: New file.
7711         * config/cr16/unwind-cr16.c: New file.
7712         * config/cr16/divmodhi3.c: New file.
7714 2012-01-25  Alan Modra  <amodra@gmail.com>
7716         * config/rs6000/t-linux64: Delete.  Move..
7717         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7718         * config/rs6000/t-linux: ..and libgcc flags to here.
7720 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
7722         * config.host (i[34567]86-*-interix3*):
7723         Change triplet to i[34567]86-*-interix[3-9]*.
7724         * configure: Regenerate.
7726 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
7727             Richard Sandiford  <rdsandiford@googlemail.com>
7729         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7730         * config/mips/mips16.S (__mips16_rdhwr): New function.
7731         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7733 2012-01-11  Nathan Sidwell  <nathan@acm.org>
7735         * libgcov.c (__gcov_init): Ignore objects with no functions.
7737 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
7739         PR target/49868
7740         Extend __pgmx semantics to linearize memory.
7741         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7742         * config/avr/lib1funcs.S (__xload_1): New function.
7743         (__movmemx_qi, __movmemx_hi): New functions.
7744         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7745         semantics.
7747 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
7749         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7750         purported sigacthandler address isn't null before dereferencing it.
7751         (sparc_is_sighandler): Likewise.
7753 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
7755         PR ada/41929
7756         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7757         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
7758         (sparc_is_sighandler): Likewise.
7759         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7761 2012-01-06  Tristan Gingold  <gingold@adacore.com>
7763         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7764         compatibility thunks...
7765         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7766         (crtbeginS.o, crtendS.o): ... and these to ...
7767         * config/ia64/t-ia64-elf: ... this new file.
7768         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7769         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7771 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7773         * configure: Regenerate.
7774         * config/s390/t-crtstuff: Remove -fPIC.
7776 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7778         PR bootstrap/51006
7779         * enable-execute-stack-mprotect.c (getpagesize): Do not define
7780         for NetBSD.
7782 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7784         PR target/51345
7785         * config/avr/lib1funcs.S: Remove FIXME comments.
7786         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7788 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7790         Implement light-weight DImode support.
7791         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7792         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7793         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7794         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7796 2011-12-30  Nathan Sidwell  <nathan@acm.org>
7798         * libgcov.c (gcov_crc32): Remove global var.
7799         (free_fn_data): New function.
7800         (buffer_fn_data): Pass in filename, more robust error recovery.
7801         (crc32_unsigned): New function.
7802         (gcov_exit): More robust detection of new program. More robust
7803         error recovery.
7804         (__gcov_init): Do not update program's crc here.
7806 2011-12-21  Tristan Gingold  <gingold@adacore.com>
7808         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7810 2011-12-21  Ian Lance Taylor  <iant@google.com>
7812         * config/i386/morestack.S: Simplify CFI opcodes throughout.
7814 2011-12-20  Ian Lance Taylor  <iant@google.com>
7816         * config/i386/morestack.S (__morestack_non_split): If there is
7817         enough stack space already, don't split.  Ask for more stack space
7818         than we required.
7820 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
7822         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7823         `sys/sdt.h'.
7824         (_Unwind_DebugHook): New function.
7825         (uw_restore_core_regs): New define.
7826         (unwind_phase2): Use uw_restore_core_regs instead of
7827         restore_core_regs.
7828         (unwind_phase2_forced): Likewise.
7829         (__gnu_Unwind_Resume): Likewise.
7831 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
7833         * config/alpha/linux-unwind.h: Update copyright years.
7834         (MD_FROB_UPDATE_CONTEXT): New define.
7835         (alpha_frob_update_context): New function.
7837 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
7839         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7840         tmake_file rather replacing it.
7842 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
7844         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7845         function is not used for PPC64.
7846         (save_world): Amend comments.  Update the VRsave mask to reflect the
7847         saved regs.
7848         (rest_world): Update comments, do not  clobber r10, do not use r8.
7849         (eh_rest_world_r10): Amend comments, do not use r8.
7850         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7851         no longer used, move restore of CR and target address to the end of
7852         the routine.
7854 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
7856         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7857         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7859 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
7861         PR target/49313
7862         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7863         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7865 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
7867         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7869 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
7871         PR target/49313
7872         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7873         * config/avr/lib1funcs.S (__muldi3): New function.
7875 2011-12-06  Andrew Pinski  <apinski@cavium.com>
7877         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7878         size of func_ptr.
7879         (__frame_dummy_init_array_entry): Likewise.
7881 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
7883         Forward-port from gcc-4_6-branch r181936 2011-12-02.
7885         PR target/51345
7886         PR target/51002
7887         * config/avr/lib1funcs.S (__prologue_saves__,
7888         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7889         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
7891 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
7893         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7895 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7897         PR other/51272
7898         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7899         (_ITM_deregisterTMCloneTable): Likewise.
7900         (__register_frame_info): Fix unused warning.
7901         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7902         pthread_default_stacksize_np): Likewise.
7903         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7905 2011-11-29  DJ Delorie  <dj@redhat.com>
7907         * config.host (rl78-*-elf): New case.
7908         * config/rl78: New directory for the Renesas RL78.
7910 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
7912         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
7913         formatting.
7915 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7917         PR other/51022
7918         * config/rs6000/t-savresfgpr: New file.
7919         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7920         $(srcdir)/config/rs6000/eabi.S.
7921         * config/rs6000/t-ppccomm-ldbl: Remove.
7922         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7923         tmake_file.
7924         (powerpc-*-eabispe*): Likewise.
7925         (powerpc-*-eabi*): Likewise.
7926         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7927         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7928         to tmake_file, remove rs6000/t-ppccomm-ldbl.
7929         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7930         tmake_file.
7931         (powerpc-*-eabisim*): Likewise.
7932         (powerpc-*-elf*): Likewise.
7933         (powerpc-*-eabialtivec*): Likewise.
7934         (powerpc-xilinx-eabi*): Likewise.
7935         (powerpc-*-rtems*): Likewise.
7936         (powerpcle-*-elf*): Likewise.
7937         (powerpcle-*-eabisim*): Likewise.
7938         (powerpcle-*-eabi*): Likewise.
7940 2011-11-27  Ian Lance Taylor  <iant@google.com>
7942         * generic-morestack.c (__splitstack_find): Check for NULL old
7943         stack value.
7944         (__splitstack_resetcontext): New function.
7945         (__splitstack_releasecontext): New function.
7946         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7948 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7950         * config/darwin-crt-tm.c: Correct comments, use correct licence.
7952 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7954         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7956 2011-11-26  Richard Henderson  <rth@redhat.com>
7958         * config/m68k/linux-atomic.c: New file.
7959         * config/m68k/t-linux: New file.
7960         * config.host (m68k-uclinux, m68k-linux): Use it.
7962 2011-11-26  Richard Henderson  <rth@redhat.com>
7964         * crtstuff.c (__TMC_LIST__): Mark used not unused.
7965         (__TMC_END__): Only declare if hidden is available; in the definition,
7966         if hidden is unavailable add a null record.
7967         (deregister_tm_clones, register_tm_clones): New.
7968         (__do_global_dtors_aux, frame_dummy): Use them.
7969         (__do_global_dtors, __do_global_ctors_1): Likewise.
7971 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
7973         * config/darwin-crt-tm.c: New file.
7974         * config.host (darwin): Build crttms.o crttme.o to provide
7975         startup and shutdown for tm clones.
7976         * config/t-darwin (crttms.o): New build rule.
7977         (crttme.o): Likewise.
7979 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
7981         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7982         et al.
7984 2011-11-21  Richard Henderson  <rth@redhat.com>
7986         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7987         (__TMC_LIST__, __TMC_END__): New.
7988         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7989         (__do_global_dtors): Likewise.
7990         (frame_dummy): Call _ITM_registerTMCloneTable.
7991         (__do_global_ctors_1): Likewise.
7993 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7995         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7996         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7997         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7998         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7999         * config/i386/t-darwin64: Remove.
8000         * config/sh/t-netbsd (LIB2ADD): Remove.
8002 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
8004         PR target/49313
8005         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8006         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8007         * config/avr/lib1funcs.S (wmov): New assembler macro.
8008         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8009         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8010         (__udivmod64): New function.
8011         (__negdi2): New function.
8013 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
8015         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8016         *-*-freebsd*aout*): Remove.
8018 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
8020         * static-object.mk (c_flags-$o): Save c_flags.
8021         ($(base)$(objext)): Use it.
8023 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
8025         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8027 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
8029         PR target/49868
8030         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8031         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8032         New functions.
8034 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8036         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8037         functions.
8038         (aeabi_uidivmod): Likewise.
8039         (umodsi3): Likewise.
8040         (divsi3): Likewise.
8041         (aeabi_idivmod): Likewise.
8042         (modsi3): Likewise.
8044 2011-11-16  Tristan Gingold  <gingold@adacore.com>
8046         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8048 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
8050         PR target/49868
8051         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
8052         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8054 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8056         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8057         tmake_file list.
8058         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8059         * config/pa/t-stublib64: Delete.
8061 2011-11-12  Richard Henderson  <rth@redhat.com>
8063         * config/rs6000/linux-unwind.h (frob_update_context): Properly
8064         cast the pointer argument to _Unwind_SetGRPtr.
8066 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8068         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8070 2011-11-09  Ian Lance Taylor  <iant@google.com>
8072         * generic-morestack.c: Include <string.h>.
8073         (uintptr_type): Define.
8074         (struct initial_sp): Add dont_block_signals field.  Reduce size of
8075         extra array by 1.
8076         (allocate_segment): Set prev field to NULL.  Don't set
8077         __morestack_current_segment or __morestack_segments.
8078         (__generic_morestack): Update current->prev and *pp after calling
8079         allocate_segment.
8080         (__morestack_block_signals): Don't do anything if
8081         dont_block_signals is set.
8082         (__morestack_unblock_signals): Likewise.
8083         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
8084         uintptr_type.
8085         (__splitstack_block_signals): New function.
8086         (enum __splitstack_content_offsets): Define.
8087         (__splitstack_getcontext, __splitstack_setcontext): New functions.
8088         (__splitstack_makecontext): New function.
8089         (__splitstack_block_signals_context): New function.
8090         (__splitstack_find_context): New function.
8091         * config/i386/morestack.S (__morestack_get_guard): New function.
8092         (__morestack_set_guard, __morestack_make_guard): New functions.
8093         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8095 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8097         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8098         (i[34567]86-*-mingw*): ... here.
8099         (x86_64-*-mingw*): ... here.
8101 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8103         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8105 2011-11-07  Nathan Sidwell  <nathan@acm.org>
8107         * libgcov.c (struct gcov_fn_buffer): New struct.
8108         (buffer_fn_data): New helper.
8109         (gcov_exit): Rework for new gcov data structures.
8111 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
8113         PR target/49313
8114         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8116 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8118         * config.host (tmake_file): Correct comment.
8119         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8120         t-libgcc-pic.
8121         (bfin*-uclinux*): Likewise.
8122         (bfin*-linux-uclibc*): Likewise.
8123         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8125         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8126         assigning.
8127         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8128         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8129         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8130         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8131         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8132         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8133         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8134         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8135         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8136         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8137         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8138         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8139         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8141         * config/bfin/t-elf: Remove.
8142         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8144 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8146         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8147         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8148         (lm32-*-elf*, lm32-*-rtems*): Split into ...
8149         (lm32-*-elf*): ... this.
8150         (lm32-*-rtems*): ... and this.
8151         Add to tmake_file.
8152         (m32r-*-rtems*): Add to tmake_file.
8153         (moxie-*-rtems*): Likewise.
8154         (sparc-*-rtems*): Likewise.
8155         Remove t-rtems from tmake_file.
8156         (sparc64-*-rtems*): Likewise.
8157         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8158         instead.
8160 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8162         PR bootstrap/50982
8163         * config/gthr-posix.h: Move ...
8164         * gthr-posix.h: ... here.
8165         * config/gthr-lynx.h: Reflect this.
8166         * config/gthr-vxworks.h: Likewise.
8167         * config/rs6000/gthr-aix.h: Likewise.
8168         * configure.ac (target_thread_file): Likewise.
8169         * configure: Regenerate.
8171 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8173         * config.host (arm*-*-rtemseabi*): New target.
8175 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8177         PR other/50991
8178         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8179         extra-parts.
8181 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
8183         * config.host (epiphany-*-elf*): New configuration.
8184         * config/epiphany: New Directory.
8186 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
8188         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8189         * config/avr/t-rtems: New.
8190         Filter out _exit from LIB1ASMFUNCS.
8192 2011-11-04  David S. Miller  <davem@davemloft.net>
8194         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8195         * configure: Rebuild.
8197 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8199         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8200         variable.
8202 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
8204         PR target/50931
8205         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8206         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8208 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
8210         PR target/50989
8211         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8213 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8215         * config/c6x/t-elf (LIB2ADDEH): Set.
8216         * config/c6x/t-c6x-elf: Remove.
8218 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8220         * config/i386/sol2-ci.S: Rename to ...
8221         * config/i386/crti.S: ... this.
8222         * config/i386/sol2-cn.S: Rename to ...
8223         * config/i386/crtn.S: ... this.
8224         * config/sparc/sol2-ci.S: Rename to ...
8225         * config/sparc/crti.S: ... this.
8226         * config/sparc/sol2-cn.S: Rename to ...
8227         * config/sparc/crtn.S: ... this.
8228         * config/t-sol2 (CUSTOM_CRTIN): Remove.
8229         (crti.o, crtn.o): Remove.
8231 2011-11-04  Tristan Gingold  <gingold@adacore.com>
8233         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8235 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8237         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8239 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
8241         * config.host (crisv32-*-none, cris-*-none): Remove.
8242         (crisv32-*-elf): Append to tmake_file, don't just set it.
8243         (cris-*-elf): Add missing t-fdpbit to tmake_file.
8245 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8247         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8248         (ecrtn$(objext)): Likewise.
8249         (ncrti$(objext)): Likewise.
8250         (ncrtn$(objext)): Likewise.
8252 2011-11-03  Andreas Schwab  <schwab@redhat.com>
8254         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8256 2011-11-02  David S. Miller  <davem@davemloft.net>
8258         * configure.ac: Set host_address on sparc too.
8259         * configure: Regenerate.
8260         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8261         based upon host_address.
8262         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8264 2011-11-02  Jason Merrill  <jason@redhat.com>
8266         * config/rs6000/t-ppccomm: Add missing \.
8268 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8270         * gthr-single.h, gthr.h: New files.
8271         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8272         config/gthr-vxworks.h, config/i386/gthr-win32.h,
8273         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8274         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8275         * config/i386/gthr-win32.c: Include "gthr-win32.h".
8276         * configure.ac (thread_header): New variable.
8277         Set it depending on target_thread_file.
8278         (gthr-default.h): Link from $thread_header.
8279         * configure: Regenerate.
8280         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8282 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8284         * configure.ac (tm_file_): New variable.
8285         Determine from tm_file.
8286         (tm_file, tm_defines): Substitute.
8287         * configure: Regenerate.
8288         * mkheader.sh: New file.
8289         * Makefile.in (clean): Remove libgcc_tm.h.
8290         ($(objects)): Depend on libgcc_tm.h.
8291         (libgcc_tm_defines, libgcc_tm_file): New variables.
8292         (libgcc_tm.h, libgcc_tm.stamp): New targets.
8293         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8294         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8295         ($(extra-parts)): Depend on libgcc_tm.h.
8296         * config.host (tm_defines, tm_file): New variable.
8297         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8298         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8299         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8300         (avr-*-rtems*): Likewise.
8301         (avr-*-*): Likewise.
8302         (frv-*-elf): Likewise.
8303         (frv-*-*linux*): Likewise.
8304         (h8300-*-rtems*): Likewise.
8305         (h8300-*-elf*): Likewise.
8306         (i[34567]86-*-darwin*): Likewise.
8307         (x86_64-*-darwin*): Likewise.
8308         (rx-*-elf): Likewise.
8309         (tic6x-*-uclinux): Likewise.
8310         (tic6x-*-elf): Likewise.
8311         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8312         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8313         * config/i386/cygming-crtbegin.c: Likewise.
8314         * config/i386/cygming-crtend.c: Likewise.
8315         * config/ia64/fde-vms.c: Likewise.
8316         * config/ia64/unwind-ia64.c: Likewise.
8317         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8318         * config/rs6000/darwin-fallback.c: Likewise.
8319         * config/stormy16/lib2funcs.c: Likewise.
8320         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8321         * crtstuff.c: Likewise.
8322         * dfp-bit.h: Likewise.
8323         * emutls.c: Likewise.
8324         * fixed-bit.c: Likewise.
8325         * fp-bit.c: Likewise.
8326         * generic-morestack-thread.c: Likewise.
8327         * generic-morestack.c: Likewise.
8328         * libgcc2.c: Likewise.
8329         * libgcov.c: Likewise.
8330         * unwind-dw2-fde-dip.c: Likewise.
8331         * unwind-dw2-fde.c: Likewise.
8332         * unwind-dw2.c: Likewise.
8333         * unwind-sjlj.c: Likewise.
8335 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8337         * configure.ac: Include ../config/picflag.m4.
8338         (GCC_PICFLAG): Call it.
8339         Substitute.
8340         * configure: Regenerate.
8341         * Makefile.in (gcc_srcdir): Remove.
8342         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8343         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8344         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8345         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8346         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8347         Use $<.
8348         Remove comment.
8349         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8350         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8351         to refer to libgcc2.c.
8352         Use $<.
8353         * config/darwin-64.c: New file.
8354         * config/darwin-crt3.c: Remove comment.
8355         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8356         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8357         config/udivmodsi4.c: New files.
8358         * config/memcmp.c, config/memcpy.c, config/memmove.c,
8359         config/memset.c: New files.
8360         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8361         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8362         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8363         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8364         * config/t-openbsd-thread: New file.
8365         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8366         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8367         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8368         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8369         qrnnd.S.
8370         Adapt filename.
8371         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8372         to refer to gthr-posix.c.
8373         * config/alpha/t-vms (LIB2ADD): Set.
8374         * config/alpha/vms-gcc_shell_handler.c: New file.
8375         * config/arm/bpabi.c, config/arm/fp16.c,
8376         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8377         config/arm/unaligned-funcs.c: New files.
8378         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8379         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8380         * config/arm/t-linux: Likewise.
8381         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8382         * config/arm/t-netbsd: New file.
8383         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8384         * config/arm/t-symbian (LIB2ADD_ST): Set.
8385         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8386         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8387         * config/bfin/t-elf: New file.
8388         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8389         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8390         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8391         config/c6x/ltf.c: New files.
8392         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8393         (HOST_LIBGCC2_CFLAGS): Set.
8394         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8395         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8396         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8397         New files.
8398         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8399         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8400         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8401         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8402         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8403         files.
8404         * config/frv/t-frv (LIB2ADD): Set.
8405         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8406         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8407         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8408         config/h8300/popcounthi2.c: New files.
8409         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8410         * config/i386/gthr-win32.c: New file.
8411         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8412         * config/i386/t-cygwin: Likewise.
8413         * config/i386/t-darwin, config/i386/t-darwin64,
8414         config/i386/t-gthr-win32, config/i386/t-interix: New files.
8415         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8416         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8417         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8418         * config/ia64/quadlib.c: New file.
8419         * config/ia64/t-hpux (LIB2ADD): Set.
8420         * config/ia64/t-ia64: Add comment.
8421         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8422         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8423         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8424         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8425         * config/m32c/t-m32c (LIB2ADD): Set.
8426         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8427         * config/m32r/t-m32r: Likewise.
8428         * config/m68k/fpgnulib.c: New file.
8429         * config/m68k/t-floatlib (LIB2ADD): Set.
8430         (xfgnulib.c): New target.
8431         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8432         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8433         * config/mep/t-mep (LIB2ADD): Set.
8434         * config/microblaze/divsi3.asm: Rename to divsi3.S.
8435         * config/microblaze/moddi3.asm: Rename to moddi3.S.
8436         * config/microblaze/modsi3.asm: Rename to modsi3.S.
8437         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8438         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8439         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8440         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8441         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8442         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8443         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8444         New files.
8445         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8446         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8447         * config/pa/fptr.c, config/pa/lib2funcs.S,
8448         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8449         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8450         (LIB2ADD, LIB2ADD_ST): Set.
8451         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8452         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8453         Set.
8454         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8455         * config/pdp11/t-pdp11: New file.
8456         * config/picochip/libgccExtras/adddi3.S,
8457         config/picochip/libgccExtras/ashlsi3.S,
8458         config/picochip/libgccExtras/ashrsi3.S,
8459         config/picochip/libgccExtras/clzsi2.S,
8460         config/picochip/libgccExtras/cmpsi2.S,
8461         config/picochip/libgccExtras/divmod15.S,
8462         config/picochip/libgccExtras/divmodhi4.S,
8463         config/picochip/libgccExtras/divmodsi4.S,
8464         config/picochip/libgccExtras/lshrsi3.S,
8465         config/picochip/libgccExtras/parityhi2.S,
8466         config/picochip/libgccExtras/popcounthi2.S,
8467         config/picochip/libgccExtras/subdi3.S,
8468         config/picochip/libgccExtras/ucmpsi2.S,
8469         config/picochip/libgccExtras/udivmodhi4.S,
8470         config/picochip/libgccExtras/udivmodsi4.S: New files.
8471         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8472         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8473         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8474         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8475         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8476         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8477         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
8478         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8479         files.
8480         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8481         (HOST_LIBGCC2_CFLAGS): Set.
8482         * config/rs6000/t-darwin64: New file.
8483         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8484         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8485         * config/rs6000/t-ppccomm (LIB2ADD): Add
8486         $(srcdir)/config/rs6000/tramp.S.
8487         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8488         Add  $(srcdir)/config/rs6000/eabi.S.
8489         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8490         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8491         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8492         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8493         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8494         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8495         * config/rs6000/tramp.S: New file.
8496         * config/s390/t-tpf: Remove.
8497         * config/sh/linux-atomic.S: New file.
8498         * config/sh/t-linux (LIB2ADD): Set.
8499         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8500         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8501         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8502         to unwind-dw2.c.
8503         (HOST_LIBGCC2_CFLAGS): Set.
8504         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8505         * config/spu/divmodti4.c, config/spu/divv2df3.c,
8506         config/spu/float_disf.c, config/spu/float_unsdidf.c,
8507         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8508         config/spu/mfc_multi_tag_release.c,
8509         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8510         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8511         config/spu/multi3.c: New files.
8512         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8513         (HOST_LIBGCC2_CFLAGS): Set.
8514         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8515         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8516         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8517         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8518         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8519         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8520         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8521         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8522         config/stormy16/umodsi3.c: New files.
8523         * config/xtensa/lib2funcs.S: New file.
8524         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8525         * config/xtensa/t-xtensa (LIB2ADD): Set.
8526         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8527         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8528         Add t-freebsd-thread to tmake_file for posix threads.
8529         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8530         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8531         (*-*-lynxos*): Likewise.
8532         (*-*-netbsd*): Likewise.
8533         (*-*-openbsd*): Likewise.
8534         Add t-openbsd-thread to tmake_file for posix threads.
8535         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8536         (*-*-vxworks*): Set tmake_file.
8537         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8538         (alpha*-*-freebsd*): Likewise.
8539         (alpha*-*-netbsd*): Likewise.
8540         (alpha*-*-openbsd*): Likewise.
8541         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8542         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8543         (alpha*-dec-*vms*): Likewise.
8544         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8545         (bfin*-elf*): Add bfin/t-elf to tmake_file.
8546         (bfin*-uclinux*): Likewise.
8547         (bfin*-linux-uclibc*): Likewise.
8548         (crisv32-*-elf): Add cris/t-cris to tmake_file.
8549         (crisv32-*-none): Likewise.
8550         (cris-*-elf): Likewise.
8551         (cris-*-none): Likewise.
8552         (cris-*-linux*, crisv32-*-linux*): Likewise.
8553         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8554         tmake_file.
8555         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8556         tmake_file.
8557         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8558         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8559         (x86_64-*-elf*): Likewise.
8560         (i[34567]86-*-nto-qnx*): Likewise.
8561         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8562         win32 threads.
8563         (x86_64-*-mingw*): Likewise.
8564         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8565         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8566         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8567         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8568         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8569         tmake_file.
8570         (mipsisa64sr71k-*-elf*): Likewise.
8571         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8572         (mips-*-elf*, mipsel-*-elf*): Likewise.
8573         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8574         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8575         (mips*-*-rtems*): Likewise.
8576         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8577         to tmake_file.
8578         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8579         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8580         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8581         (spu-*-elf*): Likewise.
8582         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8584 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8586         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8587         $(srcdir) to refer to $(LIB1ASMSRC).
8588         Use $<.
8589         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8590         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8591         config/arm/lib1funcs.S: New files.
8592         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8593         * config/arm/t-arm: New file.
8594         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8595         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8596         config/arm/t-strongarm-elf: New files.
8597         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8598         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8599         * config/avr/lib1funcs.S: New file.
8600         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8601         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8602         * config/c6x/lib1funcs.S: New file.
8603         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8604         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8605         * config/frv/lib1funcs.S: New file.
8606         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8607         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8608         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8609         * config/ia64/__divxf3.asm: Rename to ...
8610         * config/ia64/__divxf3.S: ... this.
8611         Adapt lib1funcs.asm filename.
8612         * config/ia64/_fixtfdi.asm: Rename to ...
8613         * config/ia64/_fixtfdi.S: ... this.
8614         Adapt lib1funcs.asm filename.
8615         * config/ia64/_fixunstfdi.asm: Rename to ...
8616         * config/ia64/_fixunstfdi.S: ... this.
8617         Adapt lib1funcs.asm filename.
8618         * config/ia64/_floatditf.asm: Rename to ...
8619         * config/ia64/_floatditf.S: ... this.
8620         Adapt lib1funcs.asm filename.
8621         * config/ia64/lib1funcs.S: New file.
8622         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8623         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8624         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8625         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8626         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8627         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8628         * config/mep/lib1funcs.S: New file.
8629         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8630         * config/mips/mips16.S: New file.
8631         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8632         * config/pa/milli64.S: New file.
8633         * config/pa/t-linux, config/pa/t-linux64: New files.
8634         * config/picochip/lib1funcs.S: New file.
8635         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8636         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8637         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8638         * config/sh/t-netbsd: New file.
8639         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8640         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8641         * config/sh/t-sh64: New file.
8642         * config/sparc/lb1spc.S: New file.
8643         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8644         filename.
8645         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8646         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8647         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8648         config/xtensa/lib1funcs.S: New files.
8649         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8650         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8651         tmake_file.
8652         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8653         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8654         (arm*-*-linux*): Likewise.
8655         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8656         arm*-*-linux-*eabi, add arm/t-linux otherwise.
8657         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8658         (arm*-*-ecos-elf): Likewise.
8659         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8660         (arm*-*-rtems*): Likewise.
8661         (arm*-*-elf): Likewise.
8662         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8663         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8664         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8665         (bfin*-uclinux*): Likewise.
8666         (bfin*-linux-uclibc*): Likewise.
8667         (bfin*-rtems*): Likewise.
8668         (bfin*-*): Likewise.
8669         (fido-*-elf): Merge into m68k-*-elf*.
8670         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8671         (frv-*-*linux*): Add frv/t-frv to tmake_file.
8672         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8673         (h8300-*-elf*): Likewise.
8674         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8675         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8676         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8677         (i[34567]86-*-mingw*): Likewise.
8678         (x86_64-*-mingw*): Likewise.
8679         (i[34567]86-*-interix3*): Likewise.
8680         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8681         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8682         (m68k-*-elf*): Also handle fido-*-elf.
8683         Add m68k/t-floatlib to tmake_file.
8684         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8685         (m68k-*-linux*): Likewise.
8686         (m68k-*-rtems*): Likewise.
8687         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8688         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8689         sh64*-*-*.
8690         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8691         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8692         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8693         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8694         sh/t-netbsd to tmake_file.
8695         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8696         (sh-*-rtems*): Add sh/t-sh to tmake_file.
8697         (sh-wrs-vxworks): Likewise.
8698         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8699         *-leon[3-9]*.
8700         (v850*-*-*): Add v850/t-v850 to tmake_file.
8701         (vax-*-linux*): Add vax/t-linux to tmake_file.
8702         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8704 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8706         * crtstuff.c: New file.
8707         * Makefile.in (CRTSTUFF_CFLAGS): Define.
8708         (CRTSTUFF_T_CFLAGS): Define.
8709         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8710         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8711         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8712         crtstuff.c.
8713         Use $<.
8714         (crtbeginT.o): Use $(objext).
8715         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8716         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8717         (gcc-extra-parts): Remove.
8718         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8719         Set extra_parts.
8720         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8721         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8722         Add t-crtstuff-pic to tmake_file.
8723         (*-*-lynxos*): New case.
8724         Set tmake_file, extra_parts.
8725         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8726         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8727         *-*-netbsdelf[2-9]*.
8728         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8729         (*-*-rtems*): Set extra_parts.
8730         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8731         (*-*-uclinux*): New case.
8732         Set extra_parts.
8733         (*-*-vms*): New case.
8734         Set tmake_file, extra_parts.
8735         (*-*-elf): Set extra_parts.
8736         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8737         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8738         vms/t-vms64.
8739         Set extra_parts.
8740         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8741         Set extra_parts.
8742         (arm*-*-freebsd*): Add t-crtin to tmake_file.
8743         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8744         (arm-wrs-vxworks): Append to tmake_file.
8745         Set extra_parts.
8746         (arm*-*-uclinux*): Set extra_parts.
8747         (arm*-*-ecos-elf): Likewise.
8748         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8749         arm*-*-eabi*.
8750         (arm*-*-rtems*): Set extra_parts.
8751         (arm*-*-elf): Likewise.
8752         (avr-*-rtems*): Clear extra_parts.
8753         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8754         Set extra_parts.
8755         (bfin*-uclinux*): Likewise.
8756         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8757         (bfin*-rtems*): Append to tmake_file.
8758         Set extra_parts.
8759         (bfin*-*): Likewise.
8760         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8761         (crisv32-*-elf): ... this.
8762         (crisv32-*-none): ... this.
8763         (cris-*-elf, cris-*-none): New cases.
8764         Add cris/t-elfmulti to tmake_file.
8765         (fr30-*-elf): Append to tmake_file.
8766         Set extra_parts.
8767         (frv-*-elf): Append to tmake_file, add frv/t-frv.
8768         Set extra_parts.
8769         (h8300-*-rtems*): Append to tmake_file.
8770         Set extra_parts.
8771         (h8300-*-elf*): Likewise.
8772         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8773         Set extra_parts.
8774         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8775         Set extra_parts.
8776         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8777         (x86_64-*-elf*): Likewise.
8778         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8779         (x86_64-*-freebsd*): Likewise.
8780         (x86_64-*-netbsd*): Likewise.
8781         (i[34567]86-*-linux*): Likewise.
8782         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8783         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8784         (x86_64-*-linux*): Likewise.
8785         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8786         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8787         tmake_file.
8788         Set extra_parts.
8789         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8790         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8791         Append to extra_parts, remove crtbegin.o, crtend.o.
8792         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8793         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8794         crtend.o, crtbeginS.o, crtendS.o.
8795         (ia64*-*-linux*): Comment extra_parts.
8796         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8797         Set extra_parts.
8798         (iq2000*-*-elf*): Clear extra_parts.
8799         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8800         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8801         (m32r-*-elf*, m32r-*-rtems*): Split off ...
8802         (m32r-*-rtems*): ... this.
8803         Add m32r/t-m32r to tmake_file.
8804         (m68k-*-elf*): Add t-crtin to tmake_file.
8805         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8806         (mcore-*-elf): Likewise.
8807         (microblaze*-*-*): Set extra_parts.
8808         (mips*-sde-elf*): New case.
8809         Set tmake_file, extra_parts.
8810         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8811         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8812         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8813         tmake_file.
8814         Set extra_parts.
8815         (mipsisa64sr71k-*-elf*): Likewise.
8816         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8817         (mips-*-elf*, mipsel-*-elf*): Likewise.
8818         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8819         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8820         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
8821         (mips*-*-rtems*): Likewise.
8822         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8823         (moxie-*-*): Split into ...
8824         (moxie-*-elf, moxie-*-uclinux*): ... this.
8825         Add to extra_parts, remove crtbegin.o, crtend.o.
8826         (moxie-*-rtems*): New case.
8827         Set tmake_file.
8828         Clear extra_parts.
8829         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8830         Set extra_parts.
8831         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8832         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8833         tmake_file.
8834         Set extra_parts.
8835         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8836         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8837         Set extra_parts.
8838         (powerpc-*-eabisim*): Likewise.
8839         (powerpc-*-elf*): Likewise.
8840         (powerpc-*-eabialtivec*): Likewise.
8841         (powerpc-xilinx-eabi*): Likewise.
8842         (powerpc-*-eabi*): Likewise.
8843         (powerpc-*-rtems*): Likewise.
8844         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8845         tmake_file.
8846         Set extra_parts.
8847         (powerpc-*-lynxos*): Add to tmake_file.
8848         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8849         rs6000/t-crtstuff, t-crtstuff-pic.
8850         Set extra_parts.
8851         (powerpcle-*-eabisim*): Likewise.
8852         (powerpcle-*-eabi*): Likewise.
8853         (rx-*-elf): Remove extra_parts.
8854         (s390x-ibm-tpf*): Set extra_parts.
8855         (score-*-elf): Set extra_parts.
8856         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8857         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8858         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8859         (sh64l*-*-netbsd*): Split into ...
8860         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8861         Add t-crtstuff-pic to tmake_file.
8862         Set extra_parts.
8863         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8864         Set extra_parts.
8865         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8866         (sparc-*-elf*): Remove t-crtin from tmake_file.
8867         Add to extra_parts, remove crtbegin.o, crtend.o.
8868         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8869         (sparc64-*-linux*): Likewise.
8870         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8871         Add to extra_parts, remove crtbegin.o, crtend.o.
8872         (sparc64-*-elf*): Remove t-crtin from tmake_file.
8873         Add to extra_parts, remove crtbegin.o, crtend.o.
8874         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8875         Add to extra_parts, remove crtbegin.o, crtend.o.
8876         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8877         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8878         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8879         Set extra_parts.
8880         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8881         Set extra_parts.
8882         (tic6x-*-*): Change to ...
8883         (tic6x-*-elf): ... this.
8884         Set extra_parts.
8885         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8886         Set extra_parts.
8887         (am33_2.0-*-linux*): Add comment.
8888         (mep*-*-*): Add mep/t-mep to tmake_file.
8889         Set extra_parts.
8890         * config/alpha/t-vms: New file.
8891         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8892         * config/arm/crti.S, config/arm/crtn.S: New files.
8893         * config/bfin/crti.S, config/bfin/crtn.S: New files.
8894         * config/bfin/crtlibid.S: New file.
8895         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8896         * config/c6x/crti.S, config/c6x/crtn.S: New files.
8897         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8898         (crti.o, crtin.o): New rules.
8899         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8900         * config/c6x/t-uclinux: New file.
8901         * config/cris/t-elfmulti: New file.
8902         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8903         * config/fr30/crti.S, config/fr30/crtn.S: New files.
8904         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8905         * config/frv/t-frv: New file.
8906         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8907         * config/h8300/crti.S, config/h8300/crtn.S: New files.
8908         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8909         New files.
8910         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8911         refer to cygming-crtbegin.c, cygming-crtend.c.
8912         Use $<.
8913         * config/i386/t-nto: New file.
8914         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8915         * config/ia64/crti.S, config/ia64/crtn.S: New files.
8916         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8917         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8918         Use .S extension.
8919         Use $<.
8920         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8921         (crtinitS.o): New rule.
8922         * config/ia64/vms-crtinit.S: New file.
8923         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8924         * config/m32r/initfini.c: New file.
8925         * config/m32r/t-linux, config/m32r/t-m32r: New files.
8926         * config/m68k/crti.S, config/m68k/crtn.S: New files.
8927         * config/mcore/crti.S, config/mcore/crtn.S: New files.
8928         * config/mep/t-mep: New file.
8929         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8930         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8931         * config/mips/crti.S, config/mips/crtn.S: New files.
8932         * config/mips/t-crtstuff: New file.
8933         * config/mmix/crti.S, config/mmix/crtn.S: New files.
8934         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8935         (CUSTOM_CRTIN): Set.
8936         ($(T)crti.o, $(T)crtn.o): Remove $(T),
8937         dependencies.
8938         Use $(srcdir) to refer to crti.S, crtn.S.
8939         Use .S extension, $<.
8940         * config/moxie/crti.asm: Rename to ...
8941         * config/moxie/crti.S: ... this.
8942         * config/moxie/crtn.asm: Rename to ...
8943         * config/moxie/crtn.S: ... this.
8944         * config/moxie/t-moxie: Remove.
8945         * config/pa/stublib.c: New file.
8946         * config/pa/t-stublib, config/pa/t-stublib64: New files.
8947         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8948         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8949         * config/rs6000/t-crtstuff: New file.
8950         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8951         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8952         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8953         Make output file explicit.
8954         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8955         Make output file explicit.
8956         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8957         Make output file explicit.
8958         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8959         Make output file explicit.
8960         * config/score/crti.S, config/score/crtn.S: New files.
8961         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8962         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8963         files.
8964         * config/sh/t-sh, config/sh/t-superh: New files.
8965         * config/sparc/t-linux64: New file.
8966         * config/spu/cache.S, config/spu/cachemgr.c: New files.
8967         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8968         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8969         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8970         * config/t-crtin: Remove.
8971         * config/t-crtstuff-pic: New file.
8972         * config/t-sol2 (CUSTOM_CRTIN): Set.
8973         (crti.o, crtn.o): New rules.
8974         * config/vms/t-vms: New file.
8975         * config/vms/vms-ucrt0.c: New file.
8976         * config/xtensa/t-elf: New file.
8978 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8980         * Makefile.in (SHLIB_NM_FLAGS): Set.
8981         * mkmap-flat.awk, mkmap-symver.awk: New files.
8982         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8983         exceptions.
8984         * configure: Regenerate.
8985         * config/libgcc-glibc.ver: New file.
8986         * config/libgcc-libsystem.ver: New file.
8987         * config/t-libunwind (SHLIB_LC): Set.
8988         * config/t-linux: New file.
8989         * config/t-slibgcc (INSTALL_SHLIB): New.
8990         (SHLIB_INSTALL): Use it.
8991         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8992         to mkmap-symver.awk.
8993         (SHLIB_MAPFILES): Don't append, adapt pathname.
8994         (SHLIB_VERPFX): Set.
8995         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8996         to mkmap-symver.awk.
8997         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8998         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8999         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9000         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9001         to mkmap-flat.awk.
9002         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9003         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9004         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9005         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9006         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9007         * config/i386/libgcc-darwin.10.4.ver,
9008         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9009         New files.
9010         * config/i386/t-darwin: Remove.
9011         * config/i386/t-darwin64: Likewise.
9012         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9013         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9014         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9015         * config/i386/t-linux: New file.
9016         * config/i386/t-mingw32: New file.
9017         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9018         * config/ia64/t-glibc: Rename to ...
9019         * config/ia64/t-linux: ... this.
9020         (SHLIB_MAPFILES): Set.
9021         * config/ia64/t-glibc-libunwind: Rename to ...
9022         * config/ia64/t-linux-libunwind: ... this.
9023         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9024         * config/ia64/t-slibgcc-hpux: New file.
9025         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9026         * config/m68k/t-slibgcc-elf-ver: New file.
9027         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9028         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9029         to mkmap-flat.awk.
9030         * config/pa/t-slibgcc-hpux: New file.
9031         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9032         files.
9033         * config/rs6000/libgcc-darwin.10.4.ver,
9034         config/rs6000/libgcc-darwin.10.5.ver: New files.
9035         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9036         config/rs6000/libgcc-glibc.ver.
9037         * config/rs6000/libgcc-ppc64.ver: Rename to
9038         config/rs6000/libgcc-ibm-ldouble.ver.
9039         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9040         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9041         * config/rs6000/t-ldbl128: Rename to ...
9042         * config/rs6000/t-linux: ... this.
9043         (SHLIB_MAPFILES): Adapt filename.
9044         * config/rs6000/t-slibgcc-aix: New file.
9045         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9046         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9047         libgcc-excl.ver, libgcc-glibc.ver.
9048         (SHLIB_LINK, SHLIB_INSTALL): Remove.
9049         * config/sparc/libgcc-glibc.ver: New file.
9050         * config/sparc/t-linux: New file.
9051         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9052         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9053         t-slibgcc-elf-ver to tmake_file.
9054         Add t-slibgcc-nolc-override to tmake_file for posix threads on
9055         *-*-freebsd[34].
9056         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9057         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9058         t-slibgcc-elf-ver, t-linux to tmake_file.
9059         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9060         tmake_file.
9061         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9062         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9063         (alpha*-dec-*vms*): Likewise.
9064         (arm*-*-freebsd*): Append to tmake_file.
9065         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9066         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9067         arm*-*-linux-*eabi.
9068         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9069         tmake_file for arm*-*-symbianelf*.
9070         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9071         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9072         cris/t-linux.
9073         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9074         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9075         pa/t-slibgcc-dwarf-ver to tmake_file.
9076         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9077         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9078         (hppa*64*-*-hpux11*): Likewise.
9079         (hppa[12]*-*-hpux11*): Likewise.
9080         (x86_64-*-darwin*): Don't override tmake_file, but only keep
9081         i386/t-crtpc, i386/t-crtfm.
9082         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9083         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9084         to tmake_file.
9085         Add i386/t-cygwin to tmake_file.
9086         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9087         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9088         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9089         to tmake_file.
9090         Add i386/t-mingw32 to tmake_file.
9091         (x86_64-*-mingw*): Likewise.
9092         (ia64*-*-freebsd*): Append to tmake_file.
9093         (ia64*-*-linux*): Append to tmake_file.
9094         Replace ia64/t-glibc by ia64/t-linux.
9095         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9096         system libunwind.
9097         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9098         t-slibgcc-hpux to tmake_file.
9099         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9100         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9101         (m32rle-*-linux*): Likewise.
9102         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9103         sjlj exceptions.
9104         (microblaze*-linux*): New case.
9105         Append to tmake_file, add t-slibgcc-nolc-override.
9106         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9107         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9108         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9109         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9110         rs6000/t-slibgcc-aix to tmake_file.
9111         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9112         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9113         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9114         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9115         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9116         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9117         sh*-*-linux*.
9118         (sparc-*-linux*): Append to tmake_file for *-leon*.
9119         Add sparc/t-linux to tmake_file for non-Leon targets.
9120         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9121         (tic6x-*-uclinux): New case.
9122         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9123         (tic6x-*-*): Add c6x/t-elf to tmake_file.
9124         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9125         (am33_2.0-*-linux*): Append to tmake_file.
9126         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9127         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9128         x86_64-*-kfreebsd*-gnu.
9129         Add i386/t-linux to tmake_file.
9131 2011-10-28  Ian Lance Taylor  <iant@google.com>
9133         * config/i386/morestack.S: Correct CFI information to do proper
9134         returns throughout function.  In 32-bit mode, save %ebx so that it
9135         is restored on unwind.
9137 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
9139         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9140         case where B3 isn't the return register.
9142         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9143         logic for doubleword pops.
9145 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
9147         * config/rs6000/t-freebsd: Add wildcard.
9149 2011-10-21  Paul Brook  <paul@codesourcery.com>
9151         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9153 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
9154             Eric Botcazou  <ebotcazou@adacore.com>
9156         PR target/50737
9157         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9158         fs->signal_frame to 1.
9160 2011-10-07  Ian Lance Taylor  <iant@google.com>
9162         * generic-morestack-thread.c: #include <errno.h>.
9164 2011-10-07  Ian Lance Taylor  <iant@google.com>
9166         PR target/46093
9167         * generic-morestack.c (__generic_morestack): Make sure the segment
9168         is large enough for both the stack frame and the copied
9169         parameters.
9171 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9173         PR bootstrap/49804
9174         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9175         extra_parts.
9177 2011-09-28  Nick Clifton  <nickc@redhat.com>
9179         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9180         64-bit doubles are not enabled.
9181         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9182         and floatunsisf functions.
9184 2011-09-13  Paul Brook  <paul@codesourcery.com>
9186         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
9187         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9188         * unwind-arm-common.inc: New file.
9189         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9190         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9191         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9192         * config/c6x/libunwind.S: New file.
9193         * config/c6x/pr-support.c: New file.
9194         * config/c6x/unwind-c6x.c: New file.
9195         * config/c6x/unwind-c6x.h: New file.
9196         * config/c6x/t-c6x-elf: New file.
9198 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
9200         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9201         (ASM_DIVZERO): Ditto.
9202         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9204 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
9206         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9208 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
9210         PR target/50090
9211         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9212         instead of an assembly one.
9214 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
9216         PR bootstrap/50047
9217         * Makefile.in (install-unwind_h): Create
9218         $(gcc_objdir)/include/unwind.h atomically.
9220 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9222         * Makefile.in (install-unwind_h): Remove destination file first.
9224 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9226         * sync.c: New file.
9227         * config/mips/t-mips16: New file.
9228         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9229         (mips*-*-linux*): Likewise.
9230         (mips*-sde-elf*): Likewise.
9231         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9232         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9233         Add mips/t-mips16 to tmake_file.
9234         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9235         (mips-*-elf*): Likewise.
9236         (mips64-*-elf*): Likewise.
9237         (mips64orion-*-elf*): Likewise.
9238         (mips*-*-rtems*): Likewise.
9239         (mipstx39-*-elf*): Likewise.
9240         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9241         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9242         LIBGCC_SYNC_CFLAGS.
9243         Use $(srcdir) to refer to sync.c.
9244         Use $<.
9245         ($(libgcc-sync-funcs-o)): Likewise.
9246         ($(libgcc-sync-size-funcs-s-o)): Likewise.
9247         ($(libgcc-sync-funcs-s-o)): Likewise.
9249 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9251         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9252         t-libunwind.
9254 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
9256         PR other/48007
9257         * config/i386/value-unwind.h: New.
9259 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
9261         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9262         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9263         Add to tmake_file rather than overriding it.
9265 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9267         * config/t-softfp: Remove.
9268         * soft-fp: Moved from ../gcc/config.
9269         * soft-fp/README: Remove t-softfp reference.
9270         * soft-fp/t-softfp: Move to config/t-softfp.
9271         (softfp_machine_header): Remove.
9272         (softfp_file_list): Remove config subdir.
9273         (soft-fp-objects): New variable.
9274         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9275         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9276         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9277         * config/t-softfp-excl: New file.
9278         * config/t-softfp-sfdf: New file.
9279         * config/t-softfp-tf: New file.
9280         * config/no-sfp-machine.h: New file.
9281         * config/arm/sfp-machine.h: New file.
9282         * config/arm/t-softfp: New file.
9283         * config/c6x/sfp-machine.h: New file.
9284         * config/i386/32/t-fprules-softfp: Rename to ...
9285         * config/i386/32/t-softfp: ... this.
9286         (tifunctions, LIB2ADD): Remove.
9287         (softfp_int_modes): Override.
9288         * config/i386/64/t-softfp-compat (tf-functions): Remove config
9289         subdir.
9290         * config/i386/64/eqtf2.c: Likewise.
9291         * config/i386/64/getf2.c: Likewise.
9292         * config/i386/64/letf2.c: Likewise.
9293         * config/ia64/sft-machine.h: New file.
9294         * config/ia64/t-fprules-softfp: Rename to ...
9295         * config/ia64/t-softfp: ... this.
9296         * config/lm32/sfp-machine.h: New file.
9297         * config/moxie/t-moxie-softfp: Remove.
9298         * config/rs6000/ibm-ldouble-format: New file.
9299         * config/rs6000/ibm-ldouble.c: New file.
9300         * config/rs6000/libgcc-ppc-glibc.ver: New file
9301         * config/rs6000/libgcc-ppc64.ver: New file
9302         * config/rs6000/sfp-machine.h: New file.
9303         * config/rs6000/t-freebsd: New file.
9304         * config/rs6000/t-ibm-ldouble: New file.
9305         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9306         libgcc-ppc-glibc.ver.
9307         * config/rs6000/t-linux64: New file.
9308         * config/rs6000/t-ppccomm (LIB2ADD): Add
9309         $(srcdir)/config/rs6000/ibm-ldouble.c.
9310         * config/rs6000/t-ppccomm-ldbl: New file.
9311         * config/score/sfp-machine.h: New file.
9312         * config.host (sfp_machine_header): Explain.
9313         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9314         t-softfp to tmake_file.
9315         (arm*-*-uclinux*): Likewise.
9316         (arm*-*-ecos-elf): Likewise.
9317         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9318         (arm*-*-rtems*): Likewise.
9319         (arm*-*-elf): Likewise.
9320         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9321         in tmake_file.
9322         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9323         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9324         (lm32-*-uclinux*): Likewise.
9325         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9326         t-softfp-excl, t-softfp.
9327         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9328         (powerpc64-*-darwin*): Likewise.
9329         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9330         to tmake_file.
9331         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9332         tmake_file.
9333         (powerpc-*-eabisim*): Likewise.
9334         (powerpc-*-elf*): Likewise.
9335         (powerpc-*-eabialtivec*): Likewise.
9336         (powerpc-xilinx-eabi*): Likewise.
9337         (powerpc-*-rtems*): Likewise.
9338         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9339         t-softfp-excl, t-softfp to tmake_file.
9340         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9341         rs6000/t-ppccomm-ldbl to tmake_file.
9342         (powerpcle-*-elf*): Likewise.
9343         (powerpcle-*-eabisim*): Likewise.
9344         (powerpcle-*-eabi*): Likewise.
9345         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9346         rs6000/t-ibm-ldouble to tmake_file.
9347         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9348         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9349         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9350         (tic6x-*-*): Likewise.
9351         (i[34567]86-*-darwin*, x86_64-*-darwin*,
9352         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9353         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9354         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9355         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9356         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9357         t-softfp to tmake_file.
9358         * configure.ac (sfp_machine_header): Provide default if unset.
9359         Substitute.
9360         Link sfp-machine.h to config/$sfp_machine_header.
9361         * configure: Regenerate.
9363 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9365         * Makefile.in (double_type_size, long_double_type_size): Set.
9366         Remove $(fpbit-in-libgcc) support.
9367         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9368         (fpbit-src): New variable.
9369         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9370         Compile with -DFLOAT $(FPBIT_CFLAGS).
9371         Use $<.
9372         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9373         Compile with $(FPBIT_CFLAGS).
9374         Use $<.
9375         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9376         Compile with -DFLOAT $(TPBIT_CFLAGS).
9377         Use $<.
9378         * configure.ac (double_type_size, long_double_type_size):
9379         Determine and substitute.
9380         * configure: Regenerate.
9381         * fp-bit.c, fp-bit.h: New files.
9382         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9383         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9384         * config/mips/t-mips: New file.
9385         * config/mips/t-sdemtk: New file.
9386         * config/rs6000/ppc64-fp.c: New file.
9387         * config/rs6000/t-darwin (LIB2ADD): Add
9388         $(srcdir)/config/rs6000/ppc64-fp.c.
9389         * config/rs6000/t-ppc64-fp: New file.
9390         * config/rx/rx-lib.h: New file.
9391         * config/rx/t-rx (FPBIT): Set to true.
9392         ($(gcc_objdir)/fp-bit.c): Remove.
9393         (DPBIT): Set to true only with -m64bit-doubles.
9394         ($(gcc_objdir)/dp-bit.c): Remove.
9395         * config/sparc/t-softfp: Remove.
9396         * config/spu/t-elf: New file.
9397         * config/t-fdpbit, config/t-fpbit: New files.
9398         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9399         (mips*-*-*): Likewise.
9400         (arm-wrs-vxworks): Likewise.
9401         (arm*-*-freebsd*): Likewise.
9402         (avr-*-rtems*): Add t-fpbit to tmake_file.
9403         (avr-*-*): Likewise.
9404         (bfin*-elf*): Add t-fdpbit to tmake_file.
9405         (bfin*-uclinux*): Likewise.
9406         (bfin*-linux-uclibc*): Likewise.
9407         (bfin*-rtems*): New case.
9408         Add t-fdpbit to tmake_file.
9409         (bfin*-*): Add t-fdpbit to tmake_file.
9410         (crisv32-*-elf): Likewise.
9411         (cris-*-linux*): Likewise.
9412         (fr30-*-elf): Likewise.
9413         (frv-*-elf, frv-*-*linux*): Likewise.
9414         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9415         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9416         (m32r-*-elf*): Likewise.
9417         (m32rle-*-elf*): Likewise.
9418         (m32r-*-linux*): Likewise.
9419         (m32rle-*-linux*): Likewise.
9420         (mcore-*-elf): Add t-fdpbit to tmake_file.
9421         (microblaze*-*-*): Likewise.
9422         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9423         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9424         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9425         Fix typo.
9426         Add mips/t-tpbit to tmake-file.
9427         (mips*-*-linux*): Fix typo.
9428         (mips*-sde-elf*): New case
9429         Add mips/t-sdemtk unless using newlib.
9430         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9431         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9432         (mn10300-*-*): Likewise.
9433         (pdp11-*-*): Likewise.
9434         (picochip-*-*): Add t-fpbit to tmake_file.
9435         (powerpc-*-eabisimaltivec*): Likewise.
9436         (powerpc-*-eabisim*): Likewise.
9437         (powerpc-*-elf*): Likewise.
9438         (powerpc-*-eabialtivec*): Likewise.
9439         (powerpc-xilinx-eabi*): New case.
9440         Add t-fdpbit to tmake_file.
9441         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
9442         (powerpc-*-rtems*): Likewise.
9443         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9444         tmake_file.
9445         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9446         tmake_file.
9447         (powerpc-*-lynxos*): Likewise.
9448         (powerpcle-*-elf*): Likewise.
9449         (powerpcle-*-eabisim*): Likewise.
9450         (powerpcle-*-eabi*): Likewise.
9451         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9452         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9453         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9454         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9455         (rx-*-elf): Add t-fdpbit to tmake_file.
9456         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9457         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9458         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9459         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9460         sh*-*-netbsd*.
9461         (sh-*-rtems*): Add t-fdpbit to tmake_file.
9462         (sh-wrs-vxworks): Likewise.
9463         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9464         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9465         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9466         (sparc64-*-rtems*): ... new case.
9467         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9468         (spu-*-elf*): Likewise.
9469         Add spu/t-elf to tmake_file.
9470         (v850*-*-*): Add t-fdpbit to tmake_file.
9471         (xstormy16-*-elf): Likewise.
9472         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9473         (mep*-*-*): Likewise.
9475 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9477         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9478         variables.
9479         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9480         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9481         (install-unwind_h): New target.
9482         (all): Depend on it.
9483         * config.host (unwind_header): New variable.
9484         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9485         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9486         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9487         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9488         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9489         Set unwind_header.
9490         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9491         Set unwind_header.
9492         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9493         arm*-*-eabi*.
9494         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9495         Set unwind_header.
9496         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9497         (ia64*-*-freebsd*): Likewise.
9498         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9499         tmake_file.
9500         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9501         $with_system_libunwind.
9502         (ia64*-*-hpux*): Set tmake_file.
9503         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9504         (picochip-*-*): Set tmake_file.
9505         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9506         md_unwind_header.
9507         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9508         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9509         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9510         (xtensa*-*-elf*): Set tmake_file.
9511         (xtensa*-*-linux*): Likewise.
9512         * configure.ac: Include ../config/unwind_ipinfo.m4.
9513         Call GCC_CHECK_UNWIND_GETIPINFO.
9514         Link unwind.h to $unwind_header.
9515         * configure: Regenerate.
9516         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9517         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9518         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9519         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9520         * config/unwind-dw2-fde-darwin.c: New file.
9521         * config/arm/libunwind.S, config/arm/pr-support.c,
9522         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9523         config/arm/unwind-arm.h,: New files.
9524         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9525         config/ia64/t-eh-ia64, config/ia64/t-glibc,
9526         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9527         config/ia64/t-vms, config/ia64/unwind-ia64.c,
9528         config/ia64/unwind-ia64.h: New files.
9529         * config/picochip/t-picochip: New file.
9530         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9531         files.
9532         * config/rs6000/t-darwin (LIB2ADDEH): Set.
9533         * config/s390/t-tpf (LIB2ADDEH): Remove.
9534         * config/t-darwin (LIB2ADDEH): Set.
9535         * config/t-eh-dw2-dip: New file.
9536         * config/t-libunwind, config/t-libunwind-elf: New files.
9537         * config/t-sol2 (LIB2ADDEH): Remove.
9538         * config/xtensa/t-xtensa: New file.
9540 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
9542         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9543         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9544         long long to check rt_sigreturn syscall.
9546 2011-08-02  Alan Modra  <amodra@gmail.com>
9548         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9549         Restore for indirect call bcrtl from correct stack slot, and only
9550         if cfa+40 isn't valid.
9552 2011-08-01  Julian Brown  <julian@codesourcery.com>
9554         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9555         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9556         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9558 2011-08-01  Julian Brown  <julian@codesourcery.com>
9560         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9561         (libgcc-std.ver.in): Use above.
9562         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9563         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
9564         throughout file.
9565         * config/t-fixedpoint-gnu-prefix: New file.
9566         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9567         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9568         instead of __PFX__.
9570 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
9572         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9573         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9574         for x86-64.  Properly check __x86_64__ and __LP64__.
9576 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
9578         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9579         version.
9580         (_FP_WS_TYPE): Likewise.
9581         (_FP_I_TYPE): Likewise.
9583 2011-07-28  Alan Modra  <amodra@gmail.com>
9585         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9586         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9587         in a plt call stub.  Do restore r2 if stopped on bctrl.
9589 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9591         * config.host (i[3456x]86-*-netware*): Remove.
9592         * config/i386/netware-crt0.c, config/i386/t-nwld,
9593         config/i386/t-slibgcc-nwld: Remove.
9595 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
9597         * config.host: Handle tic6x-*-*.
9598         * config/c6x/c6x-abi.h: New file.
9600 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9602         * config/i386/crtprec.c: New file.
9603         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9604         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9605         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9606         (x86_64-*-darwin*): Likewise.
9607         (i[34567]86-*-solaris2*: Likewise.
9609 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9611         * config/alpha/crtfastmath.c: New file.
9612         * config/i386/crtfastmath.c: New file.
9613         * config/ia64/crtfastmath.c: New file.
9614         * config/mips/crtfastmath.c: New file.
9615         * config/sparc/crtfastmath.c: New file.
9617         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9618         crtfastmath.c.
9619         Add -frandom-seed=gcc-crtfastmath.
9620         * config/alpha/t-crtfm: Remove.
9621         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9622         * config/ia64/t-ia64 (crtfastmath.o): Remove.
9624         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9625         (alpha*-dec-osf5.1*): Likewise.
9626         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9627         Add crtfastmath.o to extra_parts.
9628         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9629         Add crtfastmath.o to extra_parts.
9630         (x86_64-*-darwin*): Likewise.
9631         (x86_64-*-mingw*): Likewise.
9632         (ia64*-*-elf*): Add t-crtfm to tmake_file.
9633         (ia64*-*-freebsd*): Likewise.
9634         (ia64*-*-linux*): Likewise.
9635         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9636         Add crtfastmath.o to extra_parts.
9638 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9640         * config/darwin-crt3.o: New file.
9641         * config/rs6000/darwin-crt2.c: New file.
9642         * config/t-darwin: New file.
9643         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9644         (crt2.o): New rule.
9645         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9646         (powerpc-*-darwin*): Add crt2.o to extra_parts.
9647         (powerpc64-*-darwin*): Likewise.
9649 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9651         * config/i386/netware-crt0.c: New file.
9652         * config/i386/t-nwld: Rename to ...
9653         * config/i386/t-slibgcc-nwld: ... this.
9654         * config/i386/t-nwld: New file.
9655         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9656         tmake_file.
9657         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9658         extra_parts.
9660 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9662         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9663         i386/t-crtstuff.
9664         * configure: Regenerate.
9666 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9668         * dfp-bit.c, dfp-bit.h: New files.
9669         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9670         variables.
9671         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9672         ($(d64pbit-o)): Likewise.
9673         ($(d128pbit-o)): Likewise.
9674         * config/t-dfprules: New file.
9675         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9676         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9677         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9678         (x86_64-*-linux*): Likewise.
9679         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9680         (i[34567]86-*-cygwin*): Likewise.
9681         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
9682         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9684 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9686         * Makfile.in (LIBGCOV): New variable.
9687         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9688         * libgcov.c: New file.
9690 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9692         * fixed-bit.c, fixed-bit.h: New files.
9693         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9694         refer to fixed-bit.c.
9696 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
9698         * config.host (*local*): Remove.
9700 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9702         PR target/39150
9703         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9704         like i?86-*-solaris2.1[0-9]*.
9705         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9706         * configure.ac (i?86-*-solaris2*): Likewise.
9707         * configure: Regenerate.
9709 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
9711         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9712         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9713         md_unwind_header by splitting out of...
9714         (i[34567]86-*-linux*): ... this.
9715         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9716         Remove md_unwind_header by splitting out of...
9717         (x86_64-*-linux*): ... this.
9719 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
9721         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9723 2011-06-28  Nick Clifton  <nickc@redhat.com>
9725         * config.host: Recognize all V850 variants.
9727 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
9729         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9731 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9733         * shared-object.mk (c_flags-$o): Save c_flags.
9734         ($(base)$(objext)): Use it.
9735         ($(base)_s$(objext)): Likewise.
9737 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
9739         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9740         * libgcc-std.ver.in (GCC_4.7.0): New section.
9742 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
9744         PR target/49313
9745         PR target/29524
9746         * config/avr/t-avr: Fix line endings.
9747         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
9748         _parityXX2.
9750 2011-06-14  Olivier Hainque  <hainque@adacore.com>
9751             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9753         * config/mips/irix6-unwind.h: New file.
9754         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9756 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
9758         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9759         (sparc64_fallback_frame_state): Use it.
9760         (sparc64_frob_update_context): Further adjust context.
9761         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9762         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9763         * config/sparc/sol2-cn.S: Likewise.
9765 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9767         * enable-execute-stack-empty.c: New file.
9768         * enable-execute-stack-mprotect.c: New file.
9769         * config/i386/enable-execute-stack-mingw32.c: New file.
9770         * config.host (enable_execute_stack): New variable.
9771         Select appropriate variants.
9772         * configure.ac: Link enable-execute-stack.c to
9773         $enable_execute_stack.
9774         * configure: Regenerate.
9775         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9776         (lib2funcs): Remove _enable_execute_stack.
9778 2011-06-09  David S. Miller  <davem@davemloft.net>
9779             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9781         * config.host (sparc-*-linux*): Correct md_unwind_header
9782         filename.
9783         (s390x-ibm-tpf*): Fix typo.
9785 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9787         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9788         Add crtfastmath.o to extra_parts.
9789         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9790         mips/t-crtfm.
9791         * config/mips/t-crtfm: Remove.
9793 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9795         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9797 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9799         * config.host (sh*-*-linux*): Fix typo.
9801 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9803         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9804         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9805         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9806         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9807         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9808         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9809         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9810         Wrap in !__MINGW64__.
9811         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9812         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9813         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9814         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9815         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9816         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9817         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9818         Wrap in !__LP64__.
9819         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9820         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9821         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9822         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9823         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9824         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9825         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9826         * config/no-unwind.h: New file.
9827         * config.host (md_unwind_header): Document.
9828         Define.
9829         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9830         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9831         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9832         hppa[12]*-*-hpux11*): Set md_unwind_header.
9833         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9834         Set md_unwind_header.
9835         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9836         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9837         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9838         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9839         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9840         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9841         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9842         md_unwind_header.
9843         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9844         * configure: Regenerate.
9846 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9848         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9849         Set tmake_file, extra_parts.
9850         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9851         Remove O32 support.
9852         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9853         Remove O32 support.
9854         * config/mips/t-irix6: New file.
9855         * config/mips/t-slibgcc-irix: New file.
9857 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9859         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9860         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9862 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9864         * configure.ac (target_thread_file): Determine thread model.
9865         * configure: Regenerate.
9866         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9867         * config/alpha/t-alpha: New file.
9868         * config/alpha/t-crtfm: Use $<.
9869         * config/alpha/t-ieee: New file.
9870         * config/alpha/t-osf-pthread: New file.
9871         * config/alpha/t-slibgcc-osf: New file.
9872         * config/alpha/libgcc-osf5.ver: New file.
9874 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9876         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9877         tmake_file.
9878         Add crtfastmath.o to extra_parts.
9880 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9882         * config/gmon-sol2.c: Reindent.
9883         Cleanup comments.
9884         Remove, correct casts.
9885         Use STDERR_FILENO, NULL.
9886         (BASEADDRESS): Remove.
9887         (minbrk): Remove.
9888         (errno, sbrk): Remove declarations.
9889         (monstartup) [hp300]: Remove.
9890         (mcount): Remove.
9892 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9894         * Makefile.in (cpu_type): Define.
9895         * config.host (i[34567]86-*-rtems*): Handle it.
9896         (i[34567]86-*-solaris2*): Move body ...
9897         (*-*-solaris2*): ... here.
9898         New case, generalize.
9899         (sparc-*-elf*): Handle it.
9900         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9901         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9902         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9903         Fold into ...
9904         (sparc*-*-solaris2*): ... this.
9905         New case.
9906         (sparc64-*-elf*): Handle it.
9907         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9908         Merge ../gcc/config/i386/gmon-sol2.c.
9909         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9910         Use C comments.
9911         Merge ../gcc/config/i386/sol2-gc1.asm.
9912         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9913         Use C comments.
9914         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9915         Use C comments.
9916         * config/i386/t-crtfm (crtfastmath.o): Use $<.
9917         * config/i386/t-crtstuff: New file.
9918         * config/i386/t-softfp: New file.
9919         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9920         $(T)crti.o, $(T)crtn.o): Remove.
9921         (gcrt1.o): New rule.
9922         (TARGET_LIBGCC2_CFLAGS): Remove.
9923         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9924         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9925         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9926         * config/sparc/t-sol2: New file.
9927         * config/sparc/t-crtfm: Move to ...
9928         * config/t-crtfm: ... this.
9929         Use $(cpu_type), $<.
9930         * config/t-crtin: New file.
9931         * config/sparc/t-softfp: New file.
9932         * config/sparc/t-softmul: New file.
9933         * config/t-rtems: New file.
9934         * config/t-slibgcc: New file.
9935         * config/t-slibgcc-elf-ver: New file.
9936         * config/t-slibgcc-gld: New file.
9937         * config/t-slibgcc-sld: New file.
9938         * config/t-sol2: New file.
9939         * configure.ac: Include ../config/lib-ld.m4.
9940         Call AC_LIB_PROG_LD_GNU.
9941         Substitute cpu_type.
9942         * configure: Regenerate.
9944 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
9946         PR bootstrap/49173
9947         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9948         libgcc-std.ver in the build directory.
9949         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9950         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9952 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
9954         * libgcc-std.ver.in: New file.
9955         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9956         variables.
9957         (libgcc-std.ver): New rule.
9958         * config/t-gnu-prefix: New file.
9960 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9962         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9964 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9966         * config/i386/darwin-lib.h: New file.
9968 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9970         * config/arm/symbian-lib.h: New.
9972 2011-05-04  Chris Demetriou  <cgd@google.com>
9974         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9975         (__x86.get_pc_thunk.bx): ...this.
9976         (__morestack): Adjust for rename, remove undef of __i686.
9978 2011-05-03  Chris Demetriou  <cgd@google.com>
9980         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9982 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
9984         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9985         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9986         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9987         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9988         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9989         Remove cases.
9991 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
9993         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9994         Adjust copyright year.
9996 2011-03-07  Ian Lance Taylor  <iant@google.com>
9998         * generic-morestack.c (__splitstack_find): Adjust returned stack
9999         pointer to include all registers pushed by __morestack.
10001 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
10003         PR target/40125
10004         * configure.ac: Call ACX_NONCANONICAL_TARGET.
10005         (toolexecdir): Calculate and AC_SUBST.
10006         (toolexeclibdir): Likewise.
10007         * Makefile.in (target_noncanonical): Import.
10008         (toolexecdir): Likewise.
10009         (toolexeclibdir): Likewise.
10010         * configure: Regenerate.
10012 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
10014         PR target/46040
10015         * config/arm/bpabi.h: Rename to...
10016         * config/arm/bpabi-lib.h: ...this.
10018 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10020         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10021         appropriate.
10022         * configure: Regenerate.
10024 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
10026         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10027         __FLOAT_WORD_ORDER__.
10028         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10029         Delete.
10031 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10033         PR other/46202
10034         * Makefile.in (install-strip): New phony target.
10036 2010-11-07  Ian Lance Taylor  <iant@google.com>
10038         PR target/46089
10039         * config/i386/morestack.S (__morestack_large_model): New
10040         function.
10042 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
10044         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10045         Delete.
10046         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10048 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
10050         * config/arm/bpabi.h: New file.
10051         * config/frv/frv-abi.h: New file.
10053 2010-10-01  Ian Lance Taylor  <iant@google.com>
10055         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10056         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10058 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10060         PR target/45858
10061         * config.host: Add the missing `$'.
10063 2010-09-30  Michael Eager  <eager@eagercon.com>
10065         * config.host: Add microblaze*-*-*.
10066         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10067         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10068         udivsi3.asm,umodsi3.asm}:  New.
10070 2010-09-28  Ian Lance Taylor  <iant@google.com>
10072         * configure.ac: Adjust CFI test to test assembler directly rather
10073         than checking gcc preprocessor macro.
10074         * configure: Rebuild.
10076 2010-09-27  Ian Lance Taylor  <iant@google.com>
10078         * configure.ac: Test whether assembler supports CFI directives.
10079         * config.host: Only add t-stack and i386/t-stack-i386 to
10080         tmake_file if libgcc_cv_cfi is "yes".
10081         * configure: Rebuild.
10083 2010-09-27  Ian Lance Taylor  <iant@google.com>
10085         * generic-morestack.h: New file.
10086         * generic-morestack.c: New file.
10087         * generic-morestack-thread.c: New file.
10088         * config/i386/morestack.S: New file.
10089         * config/t-stack: New file.
10090         * config/i386/t-stack-i386: New file.
10091         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10092         i386/t-stack-i386 to tmake_file.
10094 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
10096         * Makefile.in (libgcc-extra-parts):  Check for static archives and
10097         invoke ranlib after installing them.
10098         (gcc-extra-parts): Likewise.
10099         (install-leaf): Likewise.
10101 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10103         * configure: Regenerated.
10105 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
10107         * configure: Regenerated.
10109 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
10110             Andrew Pinski  <pinskia@gmail.com>
10112         PR target/40959
10113         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
10115 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10117         PR target/45524
10118         * configure: Regenerated.
10120 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10122         * configure: Regenerate.
10124 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10126         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10127         64bit targets.
10128         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10129         for 64bit targets.
10131 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10132             Iain Sandoe  <iains@gcc.gnu.org>
10134         PR target/45476
10135         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10136         LIB2FUNCS_EXCLUDE functions.
10138 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10140         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10141         Include dfp.m4.
10142         * configure: Regenerate.
10144 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
10146         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10147         i386/t-freebsd to tmake_file.
10148         * config/i386/t-freebsd: New file.
10149         * config/i386/libgcc-bsd.ver: New file.
10151 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
10153         * config.host (powerpc*-eabispe*): Set tmake_file.
10154         (powerpc*-eabi*): Likewise.
10155         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10156         crtbeginS, crtendS, crtbeginT.
10158 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
10160         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10161         to tmake_file.  Add crtfastmath.o to extra_parts.
10162         * config/mips/t-crtfm: New.
10164 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
10166         * config.host (sparc64-*-rtems*): New target.
10168 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10170         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10171         assembler syntax.
10173 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
10175         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10177 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10179         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10180         alpha-dec-osf5.0* support.
10182 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
10184         * config.host: Add lm32-*-rtems*.
10186 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10187             Uros Bizjak  <ubizjak@gmail.com>
10189         PR target/39048
10190         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10191         like other remaining 32-bit x86 OSes.
10192         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10193         assembler syntax.
10194         * config/i386/libgcc-sol2.ver: New file.
10195         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10197 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
10199         PR c/43553
10200         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10201         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10202         is used and substitute set_use_emutls.
10203         * configure: Regenerated.
10205 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
10207         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10209 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10211         PR target/38085
10212         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10213         MULTILIB_CFLAGS.
10214         ($(T)gcrt1.o): Likewise.
10215         ($(T)crt1.o): Likewise.
10216         ($(T)crti.o): Likewise.
10217         ($(T)crtn.o): Likewise.
10219 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10221         PR other/42980
10222         * Makefile.in (install): Use $(MAKE) string in rule, for
10223         parallel make.
10225 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
10227         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10228         * config/mmix/t-mmix: New file.
10229         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10231 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
10233         PR java/41991
10234         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10235         SHLIB_MAPFILES.
10237 2010-01-04  Anthony Green  <green@moxielogic.com>
10239         * config/moxie/crti.asm, config/moxie/crtn.asm,
10240         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10241         config/moxie/t-moxie: New files.
10242         * config.host: Add t-moxie-softfp reference.
10244 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
10246         PR other/39888
10247         * config/t-slibgcc-darwin: Fix embedded rpaths for
10248         --enable-version-specific-runtime-libs, build extension stub
10249         libs exposing features available from current libgcc_s.
10251 2009-11-11  Jon Beniston  <jon@beniston.com>
10253         * config.host: Add lm32 targets.
10254         * config/lm32: New directory.
10255         * config/lm32/libgcc_lm32.h: New file.
10256         * config/lm32/_mulsi3.c: New file.
10257         * config/lm32/_udivmodsi4.c: New file.
10258         * config/lm32/_divsi3.c: New file.
10259         * config/lm32/_modsi3.c: New file.
10260         * config/lm32/_udivsi3.c: New file.
10261         * config/lm32/_umodsi3.c: New file.
10262         * config/lm32/_lshrsi3.S: New file.
10263         * config/lm32/_ashrsi3.S: New file.
10264         * config/lm32/_ashlsi3.S: New file.
10265         * config/lm32/crti.S: New file.
10266         * config/lm32/crtn.S: New file.
10267         * config/lm32/t-lm32: New file.
10268         * config/lm32/t-elf: New file.
10269         * config/lm32/t-uclinux: New file.
10271 2009-10-26  Nick Clifton  <nickc@redhat.com>
10273         * config.host: Add support for RX target.
10274         * config/rx: New directory.
10275         * config/rx/rx-abi-functions.c: New file. Supplementary
10276         functions for libgcc to support the RX ABI.
10277         * config/rx/rx-abi.h: New file.  Supplementary header file for
10278         libgcc RX ABI functions.
10279         * config/rx/t-rx: New file: Makefile fragment for building
10280         libgcc for the RX.
10282 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
10284         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10285         constraint of y0 to "g".
10287 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10289         * config.host: Include the s390 makefile fragments.
10290         * config/s390/32/_fixdfdi.c: New file.
10291         * config/s390/32/_fixsfdi.c: New file.
10292         * config/s390/32/_fixtfdi.c: New file.
10293         * config/s390/32/_fixunsdfdi.c: New file.
10294         * config/s390/32/_fixunssfdi.c: New file.
10295         * config/s390/32/_fixunstfdi.c: New file.
10296         * config/s390/32/t-floattodi: New file.
10297         * config/s390/libgcc-glibc.ver: New file.
10298         * config/s390/t-crtstuff: New file.
10299         * config/s390/t-linux: New file.
10300         * config/s390/t-tpf: New file.
10302 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10304         * configure.ac (AC_PREREQ): Bump to 2.64.
10306 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
10308         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10310 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10312         * configure: Regenerate.
10314 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
10316         * config.host (ia64-hp-*vms*): New target.
10317         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10318         with ia64-hp-*vms*.
10320 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10322         * configure.ac: Add snippet for maintainer-mode.
10323         * configure: Regenerate.
10324         * Makefile.in (AUTOCONF, configure_deps): New variables.
10325         ($(srcdir)/configure)): New rule, active only with maintainer
10326         mode turned on.
10328 2009-06-23  DJ Delorie  <dj@redhat.com>
10330         Add MeP port.
10331         * config.host: Add mep support.
10333 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
10335         * config.host: Add i386/${host_address}/t-fprules-softfp and
10336         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10338         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10339         for mingw targets.
10340         * config/i386/64/_multc3.c: Likewise.
10341         * config/i386/64/_powitf2.c: Likewise.
10342         * config/i386/64/eqtf2.c: Likewise.
10343         * config/i386/64/getf2.c: Likewise.
10344         * config/i386/64/letf2.c: Likewise.
10345         * config/i386/64/letf2.c: Likewise.
10346         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10347         unsigned long long for x64 mingw targets.
10348         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10349         (_FP_I_TYPE): Define as long long for x64 mingw target.
10351 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
10353         * config.host (vax-*-linux*): New.
10355 2009-05-31  Anthony Green  <green@moxielogic.com>
10357         * config.host: Add moxie support.
10358         * config/moxie/t-moxie: New file.
10360 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
10362         * config.host: Add i386/${host_address}/t-fprules-softfp and
10363         t-softfp to tmake_file for i[34567]86-*-cygwin*.
10365 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
10367         * config.host: Add i386/${host_address}/t-fprules-softfp to
10368         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10370 2009-04-09  Nick Clifton  <nickc@redhat.com>
10372         * config/ia64/tf-signs.c: Change copyright header to refer to
10373         version 3 of the GNU General Public License with version 3.1
10374         of the GCC Runtime Library Exception and to point readers at
10375         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10376         web page.
10377         * config/i386/32/tf-signs.c: Likewise.
10378         * config/libbid/_addsub_dd.c: Likewise.
10379         * config/libbid/_addsub_sd.c: Likewise.
10380         * config/libbid/_addsub_td.c: Likewise.
10381         * config/libbid/_dd_to_df.c: Likewise.
10382         * config/libbid/_dd_to_di.c: Likewise.
10383         * config/libbid/_dd_to_sd.c: Likewise.
10384         * config/libbid/_dd_to_sf.c: Likewise.
10385         * config/libbid/_dd_to_si.c: Likewise.
10386         * config/libbid/_dd_to_td.c: Likewise.
10387         * config/libbid/_dd_to_tf.c: Likewise.
10388         * config/libbid/_dd_to_udi.c: Likewise.
10389         * config/libbid/_dd_to_usi.c: Likewise.
10390         * config/libbid/_dd_to_xf.c: Likewise.
10391         * config/libbid/_df_to_dd.c: Likewise.
10392         * config/libbid/_df_to_sd.c: Likewise.
10393         * config/libbid/_df_to_td.c: Likewise.
10394         * config/libbid/_di_to_dd.c: Likewise.
10395         * config/libbid/_di_to_sd.c: Likewise.
10396         * config/libbid/_di_to_td.c: Likewise.
10397         * config/libbid/_div_dd.c: Likewise.
10398         * config/libbid/_div_sd.c: Likewise.
10399         * config/libbid/_div_td.c: Likewise.
10400         * config/libbid/_eq_dd.c: Likewise.
10401         * config/libbid/_eq_sd.c: Likewise.
10402         * config/libbid/_eq_td.c: Likewise.
10403         * config/libbid/_ge_dd.c: Likewise.
10404         * config/libbid/_ge_sd.c: Likewise.
10405         * config/libbid/_ge_td.c: Likewise.
10406         * config/libbid/_gt_dd.c: Likewise.
10407         * config/libbid/_gt_sd.c: Likewise.
10408         * config/libbid/_gt_td.c: Likewise.
10409         * config/libbid/_isinfd128.c: Likewise.
10410         * config/libbid/_isinfd32.c: Likewise.
10411         * config/libbid/_isinfd64.c: Likewise.
10412         * config/libbid/_le_dd.c: Likewise.
10413         * config/libbid/_le_sd.c: Likewise.
10414         * config/libbid/_le_td.c: Likewise.
10415         * config/libbid/_lt_dd.c: Likewise.
10416         * config/libbid/_lt_sd.c: Likewise.
10417         * config/libbid/_lt_td.c: Likewise.
10418         * config/libbid/_mul_dd.c: Likewise.
10419         * config/libbid/_mul_sd.c: Likewise.
10420         * config/libbid/_mul_td.c: Likewise.
10421         * config/libbid/_ne_dd.c: Likewise.
10422         * config/libbid/_ne_sd.c: Likewise.
10423         * config/libbid/_ne_td.c: Likewise.
10424         * config/libbid/_sd_to_dd.c: Likewise.
10425         * config/libbid/_sd_to_df.c: Likewise.
10426         * config/libbid/_sd_to_di.c: Likewise.
10427         * config/libbid/_sd_to_sf.c: Likewise.
10428         * config/libbid/_sd_to_si.c: Likewise.
10429         * config/libbid/_sd_to_td.c: Likewise.
10430         * config/libbid/_sd_to_tf.c: Likewise.
10431         * config/libbid/_sd_to_udi.c: Likewise.
10432         * config/libbid/_sd_to_usi.c: Likewise.
10433         * config/libbid/_sd_to_xf.c: Likewise.
10434         * config/libbid/_sf_to_dd.c: Likewise.
10435         * config/libbid/_sf_to_sd.c: Likewise.
10436         * config/libbid/_sf_to_td.c: Likewise.
10437         * config/libbid/_si_to_dd.c: Likewise.
10438         * config/libbid/_si_to_sd.c: Likewise.
10439         * config/libbid/_si_to_td.c: Likewise.
10440         * config/libbid/_td_to_dd.c: Likewise.
10441         * config/libbid/_td_to_df.c: Likewise.
10442         * config/libbid/_td_to_di.c: Likewise.
10443         * config/libbid/_td_to_sd.c: Likewise.
10444         * config/libbid/_td_to_sf.c: Likewise.
10445         * config/libbid/_td_to_si.c: Likewise.
10446         * config/libbid/_td_to_tf.c: Likewise.
10447         * config/libbid/_td_to_udi.c: Likewise.
10448         * config/libbid/_td_to_usi.c: Likewise.
10449         * config/libbid/_td_to_xf.c: Likewise.
10450         * config/libbid/_tf_to_dd.c: Likewise.
10451         * config/libbid/_tf_to_sd.c: Likewise.
10452         * config/libbid/_tf_to_td.c: Likewise.
10453         * config/libbid/_udi_to_dd.c: Likewise.
10454         * config/libbid/_udi_to_sd.c: Likewise.
10455         * config/libbid/_udi_to_td.c: Likewise.
10456         * config/libbid/_unord_dd.c: Likewise.
10457         * config/libbid/_unord_sd.c: Likewise.
10458         * config/libbid/_unord_td.c: Likewise.
10459         * config/libbid/_usi_to_dd.c: Likewise.
10460         * config/libbid/_usi_to_sd.c: Likewise.
10461         * config/libbid/_usi_to_td.c: Likewise.
10462         * config/libbid/_xf_to_dd.c: Likewise.
10463         * config/libbid/_xf_to_sd.c: Likewise.
10464         * config/libbid/_xf_to_td.c: Likewise.
10465         * config/libbid/bid128.c: Likewise.
10466         * config/libbid/bid128_2_str.h: Likewise.
10467         * config/libbid/bid128_2_str_macros.h: Likewise.
10468         * config/libbid/bid128_2_str_tables.c: Likewise.
10469         * config/libbid/bid128_add.c: Likewise.
10470         * config/libbid/bid128_compare.c: Likewise.
10471         * config/libbid/bid128_div.c: Likewise.
10472         * config/libbid/bid128_fma.c: Likewise.
10473         * config/libbid/bid128_logb.c: Likewise.
10474         * config/libbid/bid128_minmax.c: Likewise.
10475         * config/libbid/bid128_mul.c: Likewise.
10476         * config/libbid/bid128_next.c: Likewise.
10477         * config/libbid/bid128_noncomp.c: Likewise.
10478         * config/libbid/bid128_quantize.c: Likewise.
10479         * config/libbid/bid128_rem.c: Likewise.
10480         * config/libbid/bid128_round_integral.c: Likewise.
10481         * config/libbid/bid128_scalb.c: Likewise.
10482         * config/libbid/bid128_sqrt.c: Likewise.
10483         * config/libbid/bid128_string.c: Likewise.
10484         * config/libbid/bid128_to_int16.c: Likewise.
10485         * config/libbid/bid128_to_int32.c: Likewise.
10486         * config/libbid/bid128_to_int64.c: Likewise.
10487         * config/libbid/bid128_to_int8.c: Likewise.
10488         * config/libbid/bid128_to_uint16.c: Likewise.
10489         * config/libbid/bid128_to_uint32.c: Likewise.
10490         * config/libbid/bid128_to_uint64.c: Likewise.
10491         * config/libbid/bid128_to_uint8.c: Likewise.
10492         * config/libbid/bid32_to_bid128.c: Likewise.
10493         * config/libbid/bid32_to_bid64.c: Likewise.
10494         * config/libbid/bid64_add.c: Likewise.
10495         * config/libbid/bid64_compare.c: Likewise.
10496         * config/libbid/bid64_div.c: Likewise.
10497         * config/libbid/bid64_fma.c: Likewise.
10498         * config/libbid/bid64_logb.c: Likewise.
10499         * config/libbid/bid64_minmax.c: Likewise.
10500         * config/libbid/bid64_mul.c: Likewise.
10501         * config/libbid/bid64_next.c: Likewise.
10502         * config/libbid/bid64_noncomp.c: Likewise.
10503         * config/libbid/bid64_quantize.c: Likewise.
10504         * config/libbid/bid64_rem.c: Likewise.
10505         * config/libbid/bid64_round_integral.c: Likewise.
10506         * config/libbid/bid64_scalb.c: Likewise.
10507         * config/libbid/bid64_sqrt.c: Likewise.
10508         * config/libbid/bid64_string.c: Likewise.
10509         * config/libbid/bid64_to_bid128.c: Likewise.
10510         * config/libbid/bid64_to_int16.c: Likewise.
10511         * config/libbid/bid64_to_int32.c: Likewise.
10512         * config/libbid/bid64_to_int64.c: Likewise.
10513         * config/libbid/bid64_to_int8.c: Likewise.
10514         * config/libbid/bid64_to_uint16.c: Likewise.
10515         * config/libbid/bid64_to_uint32.c: Likewise.
10516         * config/libbid/bid64_to_uint64.c: Likewise.
10517         * config/libbid/bid64_to_uint8.c: Likewise.
10518         * config/libbid/bid_b2d.h: Likewise.
10519         * config/libbid/bid_binarydecimal.c: Likewise.
10520         * config/libbid/bid_conf.h: Likewise.
10521         * config/libbid/bid_convert_data.c: Likewise.
10522         * config/libbid/bid_decimal_data.c: Likewise.
10523         * config/libbid/bid_decimal_globals.c: Likewise.
10524         * config/libbid/bid_div_macros.h: Likewise.
10525         * config/libbid/bid_dpd.c: Likewise.
10526         * config/libbid/bid_flag_operations.c: Likewise.
10527         * config/libbid/bid_from_int.c: Likewise.
10528         * config/libbid/bid_functions.h: Likewise.
10529         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10530         * config/libbid/bid_inline_add.h: Likewise.
10531         * config/libbid/bid_internal.h: Likewise.
10532         * config/libbid/bid_round.c: Likewise.
10533         * config/libbid/bid_sqrt_macros.h: Likewise.
10535 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
10537         * Makefile.in: Change copyright header to refer to version
10538         3 of the GNU General Public License and to point readers at the
10539         COPYING3 file and the FSF's license web page.
10540         * config.host: Likewise.
10542 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
10544         * config.host: Reorder and merge to match config.gcc change.
10546 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
10548         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10550 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
10552         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10553         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10554         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10555         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10557 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
10559         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10560         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10562 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
10564         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10565         ia64/t-softfp-compat to tmake_file.
10567         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10569         * config/ia64/__divxf3.asm: New.
10570         * config/ia64/_fixtfdi.asm: Likewise.
10571         * config/ia64/_fixunstfdi.asm: Likewise.
10572         * config/ia64/_floatditf.asm: Likewise.
10573         * config/ia64/t-fprules-softfp: Likewise.
10574         * config/ia64/t-softfp-compat: Likewise.
10575         * config/ia64/tf-signs.c: Likewise.
10577 2009-01-18  Ben Elliston  <bje@au.ibm.com>
10579         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10581 2009-01-16  Ben Elliston  <bje@au.ibm.com>
10583         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10584         to tmake_file.
10586 2009-01-13  Ben Elliston  <bje@au.ibm.com>
10588         * config/t-softfp: New file.
10589         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10590         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10592 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
10594         * config.host: Add m32r*-*-rtems*.
10596 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
10598         * config.host: Add m32c*-*-rtems*.
10600 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10602         PR bootstrap/33100
10603         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10604         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10605         * configure: Regenerate.
10606         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10607         tmake_file here from gcc/config.gcc.
10608         Move extra_parts here from gcc/config.gcc.
10609         * config/i386/t-sol2: Move here from gcc/config/i386.
10610         Use gcc_srcdir instead of srcdir.
10612 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
10614         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10615         case.
10617 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
10619         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10621 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
10623         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10625 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
10627         Add picoChip port.
10628         * config.host: Add picochip-*-*.
10630 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
10632         * config.host: Match more processor names for Xtensa.
10634 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
10636         * config/i386/64/t-softfp-compat: Update comments.
10638 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10640         * config/i386/64/_divtc3-compat.c: Moved to ...
10641         * config/i386/64/_divtc3.c: Here.
10643         * config/i386/64/_multc3-compat.c: Moved to ...
10644         * config/i386/64/_multc3.c: Here.
10646         * config/i386/64/_powitf2-compat.c: Moved to ...
10647         * config/i386/64/_powitf2.c: Here.
10649         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10650         .c suffix instead of -compat.c.
10652 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
10654         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10655         (_FP_MUL_MEAT_D): Ditto.
10656         (_FP_DIV_MEAT_S): Ditto.
10657         (_FP_DIV_MEAT_D): Ditto.
10659 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
10661         * Makefile.in: Add support for __sync_* libgcc functions.
10663 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
10665         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10667 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10669         PR boostrap/36702
10670         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10671         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
10673         * config/i386/64/t-fprules-softfp: Moved to ...
10674         * config/i386/64/t-softfp-compat: This.  New.
10676 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
10678         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10679         Initialize f with 0.0.
10681 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10683         PR target/36669
10684         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10686         * config/i386/64/_divtc3-compat.c: New.
10687         * config/i386/64/_multc3-compat.c: Likewise.
10688         * config/i386/64/_powitf2-compat.c: Likewise.
10689         * config/i386/64/eqtf2.c: Likewise.
10690         * config/i386/64/getf2.c: Likewise.
10691         * config/i386/64/letf2.c: Likewise.
10692         * config/i386/64/t-fprules-softfp: Likewise.
10694 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10696         * config.host: Add i386/${host_address}/t-fprules-softfp to
10697         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10698         i[34567]86-*-linux*, x86_64-*-linux*.
10700         * configure.ac: Set host_address to 64 or 32 for x86.
10701         * configure: Regenerated.
10703         * Makefile.in (config.status): Also depend on
10704         $(srcdir)/config.host.
10706         * config/i386/32/t-fprules-softfp: New.
10707         * config/i386/32/tf-signs.c: Likewise.
10709         * config/i386/64/sfp-machine.h: New. Moved from gcc.
10711 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10712             Uros Bizjak  <ubizjak@gmail.com>
10714         * config/i386/32/sfp-machine.h: New.
10716 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
10718         * config/rs6000/t-ppccomm: Remove rules that conflict with
10719         auto-generated rules.
10721 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10723         * configure.ac: sinclude override.m4.
10724         * configure: Regenerate.
10726 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
10728         * configure: Regenerate.
10730 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
10732         * Makefile.in (DECNUMINC): Remove
10733         -I$(MULTIBUILDTOP)../../libdecnumber.
10734         * gstdint.h: New.
10736 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
10738         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10739         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10740         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10741         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10742         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10743         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10744         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10745         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10746         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10747         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10748         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10749         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10750         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10751         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10753 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
10755         * config.host (sh2[lbe]*-*-linux*): Allow target.
10757 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
10759         * config/rs6000/t-ppccomm: Add build rules for new files.
10760         (LIB2ADD_ST): New variable.
10762 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
10764         PR target/34210
10765         PR target/35508
10766         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10767         * config/t-avr: New file. Build 16bit libgcc functions.
10769 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
10771         PR target/35401
10772         * config/t-slibgcc-darwin: Make install-leaf dependent on
10773         install-darwin-libgcc-stubs instead of install.
10775 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
10777         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10778         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10779         sh-*-rtemscoff*): Remove cases.
10781 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
10783         * Makefile.in (all): Use install-leaf rather than install.
10784         (install): Split most of the rule into...
10785         (install-leaf): ...this new one.
10787 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
10788             Paolo Bonzini  <bonzini@gnu.org>
10790         PR target/30572
10791         * Makefile.in: Use @shlib_slibdir@ substitution to get
10792         correct install name on darwin.
10793         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10795 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
10797         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10798         cris-*-elf and cris-*-none.
10799         (crisv32-*-linux*): Similar, as cris-*-linux*.
10801 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
10803         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10805 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
10807         PR regression/33926
10808         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10809         * configure: Regenerated.
10811 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10813         * Makefile.in (dfp-filenames): Replace decimal_globals,
10814         decimal_data, binarydecimal and convert_data with
10815         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10816         and bid_convert_data, respectively.
10818 2007-09-17  Chao-ying Fu  <fu@mips.com>
10819             Nigel Stephens  <nigel@mips.com>
10821         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10822         * Makefile.in (fixed_point): Define.
10823         Check if fixed_point is yes to build support functions.
10824         * configure.ac: Check for fixed_point support.
10825         * configure: Regenerated.
10826         * gen-fixed.sh: New file to generate lists of fixed-point labels,
10827         funcs, modes, from, to.
10829 2007-09-11  Janis Johnson  <janis187@us.ibm.com
10831         * Makefile.in (dfp-filenames): Add bid128_noncomp.
10833 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
10835         * Makefile.in (dfp-filenames): Remove decUtility, add
10836         decDouble, decPacked, decQuad, decSingle.
10838 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
10840         * config.host : Add x86_64-elf target.
10842 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10844         * configure.ac (set_have_cc_tls): Add a missing =.
10845         * configure: Regenerated.
10847 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10849         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10850         and x86_64-*-linux*.
10852         * config/t-tls: New file.
10854         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10856         * configure.ac: Include ../config/enable.m4 and
10857         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
10858         supports TLS and substitute set_have_cc_tls.
10859         * configure: Regenerated.
10861 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10863         * Makefile.in: Use libbid for DFP when BID is enabled.
10865 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
10867         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10868         extra_parts. Add config/i386/t-cygming to tmake_file.
10869         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10871 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
10872             Danny Smith  <dannysmith@users.sourceforge.net>
10874         PR target/29498
10875         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10876         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
10877         * config/i386/t-crtfm: Compile crtfastmath.o with
10878         -minline-all-stringops.
10880 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
10882         * config.host (sparc-wrs-vxworks): New target.
10884 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
10886         * config.host: Recognize fido.
10888 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
10890         * configure: Check host, not target, for decimal float support.
10892 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
10894         * config/i386/t-crtpc: New file.
10895         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10896         (x86_64-*-linux*): Ditto.
10898 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
10900         * config.host (x86_64-*-mingw*): New target.
10902 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
10903             H.J. Lu  <hongjiu.lu@intel.com>
10905         * Makefile.in (enable_decimal_float): New.
10906         (DECNUMINC): Add
10907         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10908         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10909         (decbits-filenames): This.
10910         (decbits-objects): New.
10911         (libgcc-objects): Add $(decbits-objects).
10913         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10914         Substitute enable_decimal_float.
10915         * configure: Regenerated.
10917 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
10919         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10921 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
10923         * Makefile.in (install-info): New dummy target.
10925 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
10927         * config.host (bfin*-linux-uclibc*): Set extra_parts.
10929 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
10931         * Makefile.in: Add install-html and install-pdf dummy
10932         targets.
10934 2007-02-05  Roger Sayle  <roger@eyesopen.com>
10935             Daniel Jacobowitz  <dan@codesourcery.com>
10937         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10938         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10939         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10941 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
10943         * Makefile.in (dec-filenames): Add decExcept.
10945 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
10947         PR bootstrap/30469
10948         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10949         -fprofile-use.
10951 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
10953         * configure.ac: Add --enable-version-specific-runtime-libs.
10954         Correct $slibdir default.
10955         * configure: Regenerated.
10957 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
10959         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10961 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
10963         PR target/30519
10964         * config.host (alpha*-*-linux*): Set extra_parts.
10966 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
10968         * config/sh/t-linux: New.
10969         * config.host (sh*-*-linux*): Set tmake_file.
10971 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
10973         * Makefile.in (install): Handle multilibs.
10975 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10977         * Makefile.in: Added .PHONY entry for documentation targets.
10979 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10981         * Makefile.in: Add empty info, html, dvi, pdf targets.
10983 2007-01-04  Mike Stump  <mrs@apple.com>
10985         * Makefile.in (MAKEINFO): Remove.
10986         (PERL): Likewise.
10988 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
10990         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10991         * configure: Regenerate.
10992         * Makefile.in (host_subdir): Substitute it.
10993         (gcc_objdir): Use it.
10995 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10997         * config.host (ia64*-*-linux*): Set tmake_file.
10999 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11001         * Makefile.in (version): Define.
11003 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11004             Paolo Bonzini  <bonzini@gnu.org>
11006         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11007         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11008         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11009         config/sparc/t-crtfm, config/t-slibgcc-darwin,
11010         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11011         shared-object.mk, siditi-object.mk, static-object.mk: New files.
11012         * configure: Generated.
11014 Copyright (C) 2007-2020 Free Software Foundation, Inc.
11016 Copying and distribution of this file, with or without modification,
11017 are permitted in any medium without royalty provided the copyright
11018 notice and this notice are preserved.