PR middle-end/81331
[official-gcc.git] / libgcc / ChangeLog
blobdb33eea13781649e62436091ec62cb0b3e6e7518
1 2017-07-19  John Marino  <gnugcc@marino.st>
3         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
7         PR target/81193
8         * configure.ac (PowerPC float128 hardware support): Test whether
9         we can use __builtin_cpu_supports before enabling the ifunc
10         handler.
11         * configure: Regenerate.
13 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
15         * config.host: Remove uclibc from arc target spec.
17 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
19         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
21 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
23         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
24         (have_ieee_hw_p): Delete function.
25         (SW_OR_HW) Use __builtin_cpu_supports().
27 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
29         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
31 2017-07-03  Olivier Hainque  <hainque@adacore.com>
33         * config/t-vxworks7: New file, really.
35 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
37         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
38         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
39         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
40         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
41         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
42         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
43         config/pa/linux-unwind.h (pa32_fallback_frame_state),
44         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
45         config/sh/linux-unwind.h (sh_fallback_frame_state),
46         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
47         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
48         ucontext_t instead of struct ucontext.
50 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
52         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
53         (x86_64-wrs-vxworks7): Likewise.
55 2017-06-27  Olivier Hainque  <hainque@adacore.com>
57         * config/t-vxworks7: New file.
58         * config.host (*-*-vxworks7): Use it.
60 2017-06-22  Matt Turner  <mattst88@gmail.com>
62         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
63         skylake case.
65 2017-06-21  Richard Biener  <rguenther@suse.de>
67         PR gcov-profile/81080
68         * configure.ac: Add AC_SYS_LARGEFILE.
69         * libgcov.h: Include auto-target.h before tsystem.h to pick
70         up _FILE_OFFSET_BITS which might differ for multilibs.
71         * config.in: Regenerate.
72         * configure: Likewise.
74 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
76         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
78 2017-06-09  Martin Liska  <mliska@suse.cz>
80         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
81         Reset __gcov_indirect_call_callee to NULL.
83 2017-06-08  Olivier Hainque  <hainque@adacore.com>
85         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
86         the set of -I options, support for direct inclusions of net/uio.h
87         by VxWorks header files via ioLib.h.
89 2017-06-07  Tony Reix  <tony.reix@atos.net>
90             Matthieu Sarter  <matthieu.sarter.external@atos.net>
91             David Edelsohn  <dje.gcc@gmail.com>
93         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
94         unconditionally.
95         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
96         AIX 7.2 support.
98 2017-06-02  Olivier Hainque  <hainque@adacore.com>
100         * config/vxlib.c (__gthread_once): Add missing value to
101         return statement.
103 2017-05-30  Olivier Hainque  <hainque@adacore.com>
105         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
106         dollar sign before $(MULTIDIR).
108 2017-05-26  Richard Henderson  <rth@redhat.com>
110         PR libgcc/80037
111         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
113 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
115         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
116         _Unwind_SetIP available as functions for arm*-*-freebsd*.
117         * config/arm/unwind-arm.c: Implement the above.
119 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
121         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
122         section for a non-executable stack.
124 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
126         PR target/80600
127         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
129 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
131         * config.host: Add i386/t-msabi to i386/t-linux file list.
132         * config/i386/i386-asm.h: New file.
133         * config/i386/resms64.S: New file.
134         * config/i386/resms64f.S: New file.
135         * config/i386/resms64fx.S: New file.
136         * config/i386/resms64x.S: New file.
137         * config/i386/savms64.S: New file.
138         * config/i386/savms64f.S: New file.
139         * config/i386/t-msabi: New file.
141 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
143         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
144         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
146 2017-05-05  Joshua Conner  <joshconner@google.com>
148         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
149         pc-relative indirect handling for fuchsia.
150         * config/t-slibgcc-fuchsia: New file.
151         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
152         x86_64-*-fuchsia*): Add definitions.
154 2017-04-19  Martin Liska  <mliska@suse.cz>
156         PR gcov-profile/80435
157         * Makefile.in: Install gcov.h.
158         * gcov.h: New file.
159         * libgcov.h: Use the header and make __gcov_flush publicly
160         visible.
162 2017-04-18  Martin Liska  <mliska@suse.cz>
164         PR gcov-profile/78783
165         * libgcov-driver.c (gcov_get_filename): New function.
167 2017-04-07  Jeff Law  <law@redhat.com>
169         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
170         target makefile fragment.
171         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
173 2017-04-07  Alan Modra  <amodra@gmail.com>
175         PR target/45053
176         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
178 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
180         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
182 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
184         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
186 2017-03-10  John Marino  <gnugcc@marino.st>
188         * config/aarch64/freebsd-unwind.h: New file.
189         * config.host: Add aarch64-*-freebsd unwinder.
191 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
193         * config/rs6000/crtrestvr.s: Use .machine altivec.
194         * config/rs6000/crtsavevr.s: Ditto.
196 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
198         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
199         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
200         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
201         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
202         * configure: Regenerate.
203         * config.in: Regenerate.
205 2017-03-02  Jonathan Yong <10walls@gmail.com>
207         * config/i386/gthr-win32.h: Define NOGDI before
208         windows.h include to prevent w32api CC_NONE macro
209         clash with libgfortran.
211 2017-03-02  Jonathan Yong <10walls@gmail.com>
213         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
215 2017-02-16  Andrew Pinski  <apinski@cavium.com>
217         * config/aarch64/value-unwind.h: New file.
218         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
219         to tm_file.
221 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
223         * config.host: Add RISC-V tuples.
224         * config/riscv/atomic.c: New file.
225         * config/riscv/crti.S: Likewise.
226         * config/riscv/crtn.S: Likewise.
227         * config/riscv/div.S: Likewise.
228         * config/riscv/linux-unwind.h: Likewise.
229         * config/riscv/muldi3.S: Likewise.
230         * config/riscv/multi3.S: Likewise.
231         * config/riscv/save-restore.S: Likewise.
232         * config/riscv/sfp-machine.h: Likewise.
233         * config/riscv/t-elf: Likewise.
234         * config/riscv/t-elf32: Likewise.
235         * config/riscv/t-elf64: Likewise.
236         * config/riscv/t-softfp32: Likewise.
237         * config/riscv/t-softfp64: Likewise.
239 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
241         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
242         /* FALLTHRU */ comments.
244 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
246         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
248 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
250         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
251         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
252         DW_CFA_GNU_window_save for AArch64 and LP64.
254 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
256         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
258 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
260         * config/aarch64/aarch64-unwind.h: New file.
261         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
262         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
263         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
264         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
265         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
266         (aarch64_post_extract_frame_addr): New function.
267         (aarch64_post_frob_eh_handler_addr): New function.
268         (aarch64_frob_update_context): New function.
269         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
270         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
271         aarch64*-*-freebsd*):
272         Initialize md_unwind_header to include aarch64-unwind.h.
273         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
274         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
275         __aarch64__.
276         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
277         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
278         (uw_frob_return_addr): New function.
279         (uw_install_context): Use uw_frob_return_addr.
281 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
283         PR other/79046
284         * configure.ac: Add GCC_BASE_VER.
285         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
286         version from BASE-VER file.
287         * configure: Regenerated.
289 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
291         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
292         libmul_f5.a): Filter archived prerequisites.
294 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
296         * config/i386/cpuinfo.h (processor_features): Add
297         FEATURE_AVX512VPOPCNTDQ.
298         * config/i386/cpuinfo.c (get_available_features): Habdle new
299         feature.
301 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
303         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
304         payload if [__mips_nan2008].
306 2017-01-04  Alan Modra  <amodra@gmail.com>
308         * Makefile.in (configure_deps): Update.
309         * configure: Regenerate.
311 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
313         Update copyright years.
315 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
317         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
318         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
319         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
321 2016-12-17  Matthias Klose  <doko@ubuntu.com>
323         * config/arc/gmon: Remove empty directory.
325 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
327         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
328         crtgend.
329         (arc*-*-elf*): Likewise.
330         * config/arc/t-arc: Remove old gmon lib targets.
331         * config/arc/crtg.S: Remove.
332         * config/arc/crtgend.S: Likewise.
333         * config/arc/gmon/atomic.h: Likewise.
334         * config/arc/gmon/auxreg.h: Likewise.
335         * config/arc/gmon/dcache_linesz.S: Likewise.
336         * config/arc/gmon/gmon.c: Likewise.
337         * config/arc/gmon/machine-gmon.h: Likewise.
338         * config/arc/gmon/mcount.c: Likewise.
339         * config/arc/gmon/prof-freq-stub.S: Likewise.
340         * config/arc/gmon/prof-freq.c: Likewise.
341         * config/arc/gmon/profil.S: Likewise.
342         * config/arc/gmon/sys/gmon.h: Likewise.
343         * config/arc/gmon/sys/gmon_out.h: Likewise.
344         * config/arc/t-arc-newlib: Likewise.
345         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
347 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
349         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
351 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
353         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
354         R16 instead of push + pop.
355         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
357 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
359         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
360         tmake_file.
362 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
364         * config.host (arc*-*-linux-uclibc*): Use default extra
365         objects. Include linux-android header.
366         * config/arc/crti.S (_init): Declare symbol as function.
367         (_fini): Likewise.
369 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
371         PR fortran/78379
372         * config/i386/cpuinfo.c:  Move denums for processor vendors,
373         processor type, processor subtypes and declaration of
374         struct __processor_model into
375         * config/i386/cpuinfo.h:  New header file.
377 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
378             Thomas Preud'homme  <thomas.preudhomme@arm.com>
380         * config/arm/cmse_nonsecure_call.S: New.
381         * config/arm/t-arm: Compile cmse_nonsecure_call.S
383 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
384             Thomas Preud'homme  <thomas.preudhomme@arm.com>
386         * config/arm/t-arm (HAVE_CMSE): New.
387         * config/arm/cmse.c: New.
389 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
391         PR gcc/74748
392         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
393         use generic linker version information on Blackfin.
395         PR gcc/74748
396         * libgcc/mkmap-symver.awk: add support for skip_underscore
398 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
399             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
401         PR target/67710
402         *  config/t-darwin: Default builds to 10.5 codegen.
404 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
406         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
407         (_FP_NANSIGN_H): Likewise.
408         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
409         (softfp_truncations): Add tfhf.
410         (softfp_extras): Add required conversion functions.
412 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
413             Matthew Wahab  <matthew.wahab@arm.com>
415         * config/arm/fp16.c (binary64): New.
416         (__gnu_d2h_internal): New.
417         (__gnu_d2h_ieee): New.
418         (__gnu_d2h_alternative): New.
420 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
421             Matthew Wahab  <matthew.wahab@arm.com>
423         * config/arm/fp16.c (struct format): New.
424         (binary32): New.
425         (__gnu_float2h_internal): New.  Body moved from
426         __gnu_f2h_internal and generalize.
427         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
428         Call it with binary32.
430 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
432         * soft-fp/extendhftf2.c: Update from glibc.
433         * soft-fp/fixhfti.c: Likewise.
434         * soft-fp/fixunshfti.c: Likewise.
435         * soft-fp/floattihf.c: Likewise.
436         * soft-fp/floatuntihf.c: Likewise.
437         * soft-fp/half.h: Likewise.
438         * soft-fp/trunctfhf2.c: Likewise.
440 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
442         PR libgcc/77813
443         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
444         __TMC_END__ behind a passthrough asm.
446 2016-11-18  Walter Lee  <walt@tilera.com>
448         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
450 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
452         * config/i386/cpuinfo.c (processor_features): Add
453         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
455 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
457         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
458         (__ARC_NORM__): Use instead ARC_OPTFPE.
459         * config/arc/fp-hack.h: Likewise.
460         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
461         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
463 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
465         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
466         * config/nvptx/mgomp.c: New file.
467         * config/nvptx/t-nvptx: Add mgomp.c
469 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
471         PR libgcc/68468
472         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
474 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
476         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
477         of checking for cpus.
478         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
479         (__modsi3, __clzsi2): Likewise.
481 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
483         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
484         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
485         * config/i386/t-cpuinfo-static: New.
487 2016-11-03  Martin Liska  <mliska@suse.cz>
489         * libgcov-profiler.c (__gcov_time_profiler): Remove.
490         (__gcov_time_profiler_atomic): Likewise.
492 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
494         PR libgcc/78067
495         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
496         count_leading_zeros.
498 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
500         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
501         * libgcc2.c (__divmoddi4): New function.
502         * libgcc2.h (__divmoddi4): Declare.
503         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
504         and __PFX_divmodti4.
506 2016-10-24  Florian Weimer  <fweimer@redhat.com>
508         PR libgcc/78064
509         * unwind-c.c: Include auto-target.h.
511 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
513         * config/pa/pa64-hpux-lib.h: New file.
514         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
515         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
516         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
517         hppa*64*-*-hpux11*.
519 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
521         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
522         definition.
523         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
524         definition.
525         * config/xtensa/t-windowed (LIB2ADDEH): Use
526         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
527         or xtensa/t-linux.
529 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
531         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
532         __ieee754_sqrt): New functions.
533         (__divdf3): Add implementation with new FPU instructions under
534         #if XCHAL_HAVE_DFP_DIV.
535         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
536         __ieee754_sqrtf): New functions.
537         (__divsf3): Add implementation with new FPU instructions under
538         #if XCHAL_HAVE_FP_DIV.
539         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
540         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
542 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
544         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
545         equivalent.
546         * config/tilepro/atomic.c: Likewise and stop casting model to
547         enum memmodel.
549 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
551         PR target/77586
552         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
553         soft-fp.
555 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
557         * config.host: Add support for aarch64-*-freebsd*.
559 2016-10-05  Andreas Schwab  <schwab@suse.de>
561         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
562         (.section .init_array): Don't call __do_jv_register_classes.
563         (.section .init): Likewise.
565 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
567         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
568         (__JCR_LIST__): Remove.
569         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
570         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
571         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
572         * config/ia64/crtend.S (__JCR_END__): Remove.
573         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
574         conditionals.
575         (__JCR_LIST__, __JCR_END__): Remove.
576         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
577         (__do_global_ctors_1): Likewise.
579 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
581         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
582         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
584 2016-09-27  Martin Liska  <mliska@suse.cz>
586         PR gcov-profile/7970
587         PR gcov-profile/16855
588         PR gcov-profile/44779
589         * libgcov-driver.c (__gcov_init): Do not register a atexit
590         handler.
591         (__gcov_exit): Rename from gcov_exit.
592         * libgcov.h (__gcov_exit): Declare.
594 2016-09-27  Martin Liska  <mliska@suse.cz>
596         PR bootstrap/77749
597         * Makefile.in: Remove _gcov_merge_delta.
598         * libgcov-merge.c (void __gcov_merge_delta): Remove.
599         * libgcov-util.c (__gcov_delta_counter_op): Remove.
600         * libgcov.h: Remove declaration of __gcov_merge_delta.
602 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
604         * configure.ac: Do not create links, only substitute the filenames.
605         * configure: Regenerate.
606         * Makefile.in: Assign the substitution results to variables.
607         (LIBGCC_LINKS): Define.
608         (enable-execute-stack.c): New rule.
609         (unwind.h): Likewise.
610         (md-unwind-support.h): Likewise.
611         (sfp-machine.h): Likewise.
612         (gthr-default.h): Likewise.
613         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
614         unwind.h as prerequisite of install-unwind_h-forbuild.
616 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
618         PR libgcc/71744
619         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
620         is not the primary registry and atomics are available.
621         (any_objects_registered): New variable.
622         (__register_frame_info_bases, __register_frame_info_table_bases):
623         Atomically store 1 to any_objects_registered after registering first
624         unwind info.
625         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
627 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
629         PR target/63250
630         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
631         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
632         (HFtype): Likewise.
633         (HCtype): Likewise.
634         (__divhc3): Likewise.
635         (__mulhc3): Likewise.
636         * libgcc2.c: Support _mulhc3 and _divhc3.
638 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
640         PR libgcc/77519
641         * libgcc2.c (NOTRUNC): Invert settings.
643 2016-09-06  Martin Liska  <mliska@suse.cz>
645         PR gcov-profile/77378
646         PR gcov-profile/77466
647         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
648         conditionaly enable/disable *_atomic functions.
650 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
652         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
653         where not already enabled.
655 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
657         * config/mips/linux-unwind.h: Use sys/syscall.h.
659 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
661         PR libgcc/77265
662         * soft-fp/adddf3.c: Update from glibc.
663         * soft-fp/addsf3.c: Likewise.
664         * soft-fp/addtf3.c: Likewise.
665         * soft-fp/divdf3.c: Likewise.
666         * soft-fp/divsf3.c: Likewise.
667         * soft-fp/divtf3.c: Likewise.
668         * soft-fp/double.h: Likewise.
669         * soft-fp/eqdf2.c: Likewise.
670         * soft-fp/eqsf2.c: Likewise.
671         * soft-fp/eqtf2.c: Likewise.
672         * soft-fp/extenddftf2.c: Likewise.
673         * soft-fp/extended.h: Likewise.
674         * soft-fp/extendsfdf2.c: Likewise.
675         * soft-fp/extendsftf2.c: Likewise.
676         * soft-fp/extendxftf2.c: Likewise.
677         * soft-fp/fixdfdi.c: Likewise.
678         * soft-fp/fixdfsi.c: Likewise.
679         * soft-fp/fixdfti.c: Likewise.
680         * soft-fp/fixsfdi.c: Likewise.
681         * soft-fp/fixsfsi.c: Likewise.
682         * soft-fp/fixsfti.c: Likewise.
683         * soft-fp/fixtfdi.c: Likewise.
684         * soft-fp/fixtfsi.c: Likewise.
685         * soft-fp/fixtfti.c: Likewise.
686         * soft-fp/fixunsdfdi.c: Likewise.
687         * soft-fp/fixunsdfsi.c: Likewise.
688         * soft-fp/fixunsdfti.c: Likewise.
689         * soft-fp/fixunssfdi.c: Likewise.
690         * soft-fp/fixunssfsi.c: Likewise.
691         * soft-fp/fixunssfti.c: Likewise.
692         * soft-fp/fixunstfdi.c: Likewise.
693         * soft-fp/fixunstfsi.c: Likewise.
694         * soft-fp/fixunstfti.c: Likewise.
695         * soft-fp/floatdidf.c: Likewise.
696         * soft-fp/floatdisf.c: Likewise.
697         * soft-fp/floatditf.c: Likewise.
698         * soft-fp/floatsidf.c: Likewise.
699         * soft-fp/floatsisf.c: Likewise.
700         * soft-fp/floatsitf.c: Likewise.
701         * soft-fp/floattidf.c: Likewise.
702         * soft-fp/floattisf.c: Likewise.
703         * soft-fp/floattitf.c: Likewise.
704         * soft-fp/floatundidf.c: Likewise.
705         * soft-fp/floatundisf.c: Likewise.
706         * soft-fp/floatunditf.c: Likewise.
707         * soft-fp/floatunsidf.c: Likewise.
708         * soft-fp/floatunsisf.c: Likewise.
709         * soft-fp/floatunsitf.c: Likewise.
710         * soft-fp/floatuntidf.c: Likewise.
711         * soft-fp/floatuntisf.c: Likewise.
712         * soft-fp/floatuntitf.c: Likewise.
713         * soft-fp/gedf2.c: Likewise.
714         * soft-fp/gesf2.c: Likewise.
715         * soft-fp/getf2.c: Likewise.
716         * soft-fp/ledf2.c: Likewise.
717         * soft-fp/lesf2.c: Likewise.
718         * soft-fp/letf2.c: Likewise.
719         * soft-fp/muldf3.c: Likewise.
720         * soft-fp/mulsf3.c: Likewise.
721         * soft-fp/multf3.c: Likewise.
722         * soft-fp/negdf2.c: Likewise.
723         * soft-fp/negsf2.c: Likewise.
724         * soft-fp/negtf2.c: Likewise.
725         * soft-fp/op-1.h: Likewise.
726         * soft-fp/op-2.h: Likewise.
727         * soft-fp/op-4.h: Likewise.
728         * soft-fp/op-8.h: Likewise.
729         * soft-fp/op-common.h: Likewise.
730         * soft-fp/quad.h: Likewise.
731         * soft-fp/single.h: Likewise.
732         * soft-fp/soft-fp.h: Likewise.
733         * soft-fp/subdf3.c: Likewise.
734         * soft-fp/subsf3.c: Likewise.
735         * soft-fp/subtf3.c: Likewise.
736         * soft-fp/truncdfsf2.c: Likewise.
737         * soft-fp/trunctfdf2.c: Likewise.
738         * soft-fp/trunctfsf2.c: Likewise.
739         * soft-fp/trunctfxf2.c: Likewise.
740         * soft-fp/unorddf2.c: Likewise.
741         * soft-fp/unordsf2.c: Likewise.
742         * soft-fp/unordtf2.c: Likewise.
744 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
746         PR gcov-profile/67097
747         * libgcov-util.c (gcov_profile_merge): Skip missing files.
749 2016-08-10  Martin Liska  <mliska@suse.cz>
751         PR gcov-profile/58306
752         * Makefile.in: New functions (modules) are added.
753         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
754         function.
755         (__gcov_pow2_profiler_atomic): New function.
756         (__gcov_one_value_profiler_body): New argument is instroduced.
757         (__gcov_one_value_profiler): Call with the new argument.
758         (__gcov_one_value_profiler_atomic): Likewise.
759         (__gcov_indirect_call_profiler_v2): Likewise.
760         (__gcov_time_profiler_atomic): New function.
761         (__gcov_average_profiler_atomic): Likewise.
762         (__gcov_ior_profiler_atomic): Likewise.
763         * libgcov.h: Declare the aforementioned functions.
765 2016-08-09  Martin Liska  <mliska@suse.cz>
767         * libgcov-util.c: Fix typo and GNU coding style.
769 2016-08-09  Martin Liska  <mliska@suse.cz>
771         * Makefile.in: Remove __gcov_indirect_call_profiler.
772         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
773         function.
774         * libgcov.h: And the declaration of the function.
776 2016-08-09  Martin Liska  <mliska@suse.cz>
778         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
779         power of two.
781 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
783         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
784         * config/rs6000/_mulkc3.c: Likewise.
786 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
788         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
789         zero_reg as previous call to __umulhisi3 already cleared it.
791 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
793         PR target/59833
794         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
796 2016-07-19  Nick Clifton  <nickc@redhat.com>
798         * config.host (m32r): Add m32r/t-m32r to tmake_file.
799         Add crtinit.o and crtfini.o to extra_parts.
801 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
803         * config/rs6000/_divkc3.c: New.
804         * config/rs6000/_mulkc3.c: New.
805         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
806         and _divkc3.
807         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
808         fp128_ppc_funcs.
810 2016-07-11  Hale Wang  <hale.wang@arm.com>
811             Andre Vieira  <andre.simoesdiasvieira@arm.com>
813         * config/arm/lib1funcs.S: Add new wrapper.
815 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
817         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
819 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
821         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
822         and ARMv5t* rather than for a fixed list of architectures.
824 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
826         * config/arm/bpabi-v6m.S: Clarify what architectures is the
827         implementation suitable for.
828         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
829         for all Thumb-1 only targets.
830         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
831         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
832         __ARM_ARCH_6M__.
833         (EQUIV): Likewise.
834         (ARM_FUNC_ALIAS): Likewise.
835         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
836         version.
837         (modsi3): Likewise.
838         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
839         (clzdi2): Likewise.
840         (ctzsi2): Likewise.
841         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
842         __ARM_ARCH_6M__ in guard for checking whether it is defined.
843         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
844         __ARM_ARCH_6M__ and add comment to indicate the connection between
845         this condition and the one in gcc/config/arm/elf.h.
846         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
847         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
848         * config/arm/t-softfp: Likewise.
850 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
852         * libgcc2.c (SYMBOL__MAIN): Remove checks for
853         CTOR_LISTS_DEFINED_EXTERNALLY.
855 2016-06-28  Walter Lee  <walt@tilera.com>
857         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
858         asm/unistd.h.
859         (SPR_CMPEXCH_VALUE): Define for tilegx.
860         (__NR_FAST_cmpxchg): Define for tilepro.
861         (__NR_FAST_atomic_update): Define for tilepro.
862         (__NR_FAST_cmpxchg64): Define for tilepro.
864 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
866         * config.host: Add suport for arm*-*-phoenix* targets.
868 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
870         * config.host: Remove support for mep-*.
871         * config/mep/lib1funcs.S: Remove.
872         * config/mep/lib2funcs.c: Remove.
873         * config/mep/t-mep: Remove.
874         * config/mep/tramp.c: Remove.
876 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
878         * config.host: Remove support for avr-rtems.
879         * config/avr/t-rtems: Remove.
881 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
883         * config.host: Remove m32r-rtems support.
885 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
887         * config.host: Remove h8300-rtems support.
889 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
891         * config.host: Remove support for knetbsd.
893 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
895         * config.host: Remove support for openbsd 2 and 3.
897 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
899         * config.host: Remove interix support.
900         * config/i386/t-interix: Remove.
902 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
904         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
905         least-significant bit in function pointer for fixup.
907 2016-06-05  Aaron Conole  <aconole@redhat.com>
908             Nathan Sidwell  <nathan@acm.org>
910         PR libgcc/71400
911         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
912         (get_gcov_error_file): Check __gcov_error_file before trying to
913         initialize it.
914         (gcov_error): Always use get_gcov_error_file.
916 2016-06-02  Aaron Conole  <aconole@redhat.com>
918         * libgcov-driver-system.c (__gcov_error_file): New.
919         (get_gcov_error_file): New.
920         (gcov_error): Use and set __gcov_error_file.
921         (gcov_error_exit): New.
922         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
924 2016-05-26  Nathan Sidwell  <nathan@acm.org>
926         * config/nvptx/free.asm: Delete.
927         * config/nvptx/malloc.asm: Delete.
928         * config/nvptx/realloc.c: Delete.
929         * t-nvptx: Update.
931 2016-05-25  Nathan Sidwell  <nathan@acm.org>
933         * config/nvptx/crt0.s: Delete.
934         * config/nvptx/crt0.c: New.
935         * t-nvptx: Update.
937 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
939         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
940         dw2/seh configuration.
941         [x86_64-*-mingw*]: Likewise.
943 2016-05-10  Joel Sherrill <joel@rtems.org>
945         PR libgcc/70720
946         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
947         targets so the same extra_parts are built.  Also have tmake_file add
948         on to its value rather than override.
950 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
952         * config.host: Remove SH5 support.
953         * configure: Likewise.
955 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
957         * config/sh/crt1.S: Remove SH5 support.
958         * config/sh/crti.S: Likewise.
959         * config/sh/crtn.S: Likewise.
960         * config/sh/lib1funcs-4-300.S: Likewise.
961         * config/sh/lib1funcs-Os-4-200.S: Likewise.
962         * config/sh/lib1funcs.S: Likewise.
963         * config/sh/linux-unwind.h: Likewise.
964         * config/sh/t-sh64: Delete.
966 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
968         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
970 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
971             Joern Rennecke  <joern.rennecke@embecosm.com>
973         * config/arc/crttls.S: New file.
974         * config/arc/t-arc: New rule.
975         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
977 2016-04-25  Nick Clifton  <nickc@redhat.com>
979         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
980         (__mspabi_cmpd): Likewise.
981         * config/msp430/floathidf.c (__floathidf): Likewise.
982         * config/msp430/floathisf.c (__floathisf): Likewise
983         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
984         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
985         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
986         second parameter.
987         (__ashrsi3): Likewise.
989 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
991         * config/m68k/linux-atomic.c: Do not include unistd.h
993 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
995         * config/arm/ieee754-df.S: Fix typos in comments.
997 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
999         PR target/70381
1000         * configure.ac (powerpc*-*-linux*): Rework tests to build
1001         __float128 emulation routines to not depend on using #pragma GCC
1002         target to enable -mfloat128.
1003         * configure: Regnerate.
1005 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1007         PR target/67172
1008         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1009         __MINGW32__ is defined.
1011 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1013         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1015 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1017         PR libgcc/70363
1018         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1019         built with an assembler that does not support ISA 3.0
1020         instructions, rename __extendkftf2_sw to __extendkftf2.
1022 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1024         PR target/38239
1025         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1026         call-clobbered registers.
1027         (internal_mcount): Remove __i386__ handling.
1029 2016-02-26  Joel Sherrill <joel@rtems.org>
1031         * config.host: Add x86_64-*-rtems*.
1033 2016-02-26  Joel Sherrill <joel@rtems.org>
1035         * libgcc/config.host: Add aarch64-*-rtems*.
1037 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1038             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1040         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1041         union of u64 and double.
1042         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1043         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1044         value.
1045         (FP_ROUNDMODE): Update the usage of _fpscr.
1047 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1049         PR driver/68463
1050         * Makefile.in (crtoffloadtable$(objext)): New rule.
1051         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1052         enable_offload_targets is not empty.
1053         * configure: Regenerate.
1054         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1055         crtoffloadtable.
1057 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1059         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1060         .literal_position before the function.
1061         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1062         Likewise.
1064 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1066         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1067         * config/s390/morestack.S: New file.
1068         * config/s390/t-stack-s390: New file.
1069         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1071 2016-02-12  Walter Lee  <walt@tilera.com>
1073         * config.host (tilegx*-*-linux*): remove ti from
1074         softfp_int_modes for 32-bit configs.
1076 2016-02-10  Ian Lance Taylor  <iant@google.com>
1078         PR go/68562
1079         * config/i386/morestack.S (__stack_split_initialize): Align
1080         stack.
1082 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1084         PR bootstrap/69611
1085         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1086         __FLOAT128__ to compile only for __float128 capable targets.
1088 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1090         PR target/69444
1091         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1092         instead of ___NO_FPRS__.
1094 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1095             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1096             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1098         * config/rs6000/float128-sed: New files to convert TF names to KF
1099         names for PowerPC IEEE 128-bit floating point support.
1100         * config/rs6000/float128-sed-hw: Likewise.
1102         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1103         floating point hardware support.
1105         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1106         128-bit floating point software emulation or use ISA 3.0 hardware
1107         support if it is available.
1109         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1110         floating point.
1112         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1113         floating point to IBM extended double.
1115         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1116         double to IEEE 128-bit floating point.
1118         * config/rs6000/t-float128: New Makefile fragments to enable
1119         building __float128 emulation support.
1120         * config/rs6000/t-float128-hw: Likewise.
1122         * config/rs6000/sfp-exceptions.c: New file to provide exception
1123         support for IEEE 128-bit floating point.
1125         * config/rs6000/floattikf.c: New files for converting between IEEE
1126         128-bit floating point and signed/unsigned 128-bit integers.
1127         * config/rs6000/fixunskfti.c: Likewise.
1128         * config/rs6000/fixkfti.c: Likewise.
1129         * config/rs6000/floatuntikf.c: Likewise.
1131         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1132         when building on 64-bit systems, or when VSX is enabled.
1133         (_FP_W_TYPE): Likewise.
1134         (_FP_WS_TYPE): Likewise.
1135         (_FP_I_TYPE): Likewise.
1136         (TItype): Define on 64-bit systems.
1137         (UTItype): Likewise.
1138         (TI_BITS): Likewise.
1139         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1140         (_FP_MUL_MEAT_Q): Likewise.
1141         (_FP_DIV_MEAT_D): Likewise.
1142         (_FP_DIV_MEAT_Q): Likewise.
1143         (_FP_NANFRAC_D): Likewise.
1144         (_FP_NANFRAC_Q): Likewise.
1145         (ISA_BIT): Add exception support if we are being compiled on a
1146         machine with hardware floating point support to build the IEEE
1147         128-bit emulation functions.
1148         (FP_EX_INVALID): Likewise.
1149         (FP_EX_OVERFLOW): Likewise.
1150         (FP_EX_UNDERFLOW): Likewise.
1151         (FP_EX_DIVZERO): Likewise.
1152         (FP_EX_INEXACT): Likewise.
1153         (FP_EX_ALL): Likewise.
1154         (__sfp_handle_exceptions): Likewise.
1155         (FP_HANDLE_EXCEPTIONS): Likewise.
1156         (FP_RND_NEAREST): Likewise.
1157         (FP_RND_ZERO): Likewise.
1158         (FP_RND_PINF): Likewise.
1159         (FP_RND_MINF): Likewise.
1160         (FP_RND_MASK): Likewise.
1161         (_FP_DECL_EX): Likewise.
1162         (FP_INIT_ROUNDMODE): Likewise.
1163         (FP_ROUNDMODE): Likewise.
1165         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1166         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1167         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1168         floating point hardware instructions and it supports declaring
1169         functions with the ifunc attribute, enable ifunc functions to
1170         switch between software and hardware support.
1171         * configure.ac (powerpc*-*-linux*): Likewise.
1172         * configure: Regenerate.
1174 2016-01-15  Nick Clifton  <nickc@redhat.com>
1176         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1177         dependency as the source file to be compiled.
1178         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1179         (lib2hw_mul_f5.o): Likewise.
1181 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1183         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1184         * libgcc/config/rs6000/fixkfti.c: Likewise.
1185         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1186         * libgcc/config/rs6000/float128-hw.c: Likewise.
1187         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1188         * libgcc/config/rs6000/float128-sed: Likewise.
1189         * libgcc/config/rs6000/floattikf.c: Likewise.
1190         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1191         * libgcc/config/rs6000/quad-float128.h: Likewise.
1192         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1193         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1194         * libgcc/config/rs6000/t-float128: Likewise.
1195         * libgcc/config/rs6000/t-float128-hw: Likewise.
1196         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1197         * libgcc/config.host: Likewise.
1198         * libgcc/configure: Likewise.
1199         * libgcc/configure.ac: Likewise.
1201 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1202             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1203             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1205         * config/rs6000/sfp-exceptions.c: New file to provide exception
1206         support for IEEE 128-bit floating point.
1208         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1209         floating point hardware support.
1211         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1212         point conversions.
1213         * config/rs6000/fixunskfti.c: Likewise.
1214         * config/rs6000/fixkfti.c: Likewise.
1215         * config/rs6000/floatuntikf.c: Likewise.
1216         * config/rs6000/extendkftf2-sw.c: Likewise.
1217         * config/rs6000/trunctfkf2-sw.c: Likewise.
1219         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1220         128-bit floating point software emulation or use ISA 3.0 hardware
1221         support if it is available.
1223         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1224         floating point.
1226         * config/rs6000/t-float128: New Makefile fragments to enable
1227         building __float128 emulation support.
1228         * config/rs6000/t-float128-hw: Likewise.
1230         * config/rs6000/float128-sed: New file to convert TF names to KF
1231         names for PowerPC IEEE 128-bit floating point support.
1233         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1234         when building on 64-bit systems, or when VSX is enabled.
1235         (_FP_W_TYPE): Likewise.
1236         (_FP_WS_TYPE): Likewise.
1237         (_FP_I_TYPE): Likewise.
1238         (TItype): Define on 64-bit systems.
1239         (UTItype): Likewise.
1240         (TI_BITS): Likewise.
1241         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1242         (_FP_MUL_MEAT_Q): Likewise.
1243         (_FP_DIV_MEAT_D): Likewise.
1244         (_FP_DIV_MEAT_Q): Likewise.
1245         (_FP_NANFRAC_D): Likewise.
1246         (_FP_NANFRAC_Q): Likewise.
1247         (ISA_BIT): Add exception support if we are being compiled on a
1248         machine with hardware floating point support to build the IEEE
1249         128-bit emulation functions.
1250         (FP_EX_INVALID): Likewise.
1251         (FP_EX_OVERFLOW): Likewise.
1252         (FP_EX_UNDERFLOW): Likewise.
1253         (FP_EX_DIVZERO): Likewise.
1254         (FP_EX_INEXACT): Likewise.
1255         (FP_EX_ALL): Likewise.
1256         (__sfp_handle_exceptions): Likewise.
1257         (FP_HANDLE_EXCEPTIONS): Likewise.
1258         (FP_RND_NEAREST): Likewise.
1259         (FP_RND_ZERO): Likewise.
1260         (FP_RND_PINF): Likewise.
1261         (FP_RND_MINF): Likewise.
1262         (FP_RND_MASK): Likewise.
1263         (_FP_DECL_EX): Likewise.
1264         (FP_INIT_ROUNDMODE): Likewise.
1265         (FP_ROUNDMODE): Likewise.
1267         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1268         compiler can do __float128.
1269         * configure: Regenerate.
1271         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1272         VSX code, enable IEEE 128-bit floating point.
1274 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1276         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1277         specificities.
1279 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1281         Update copyright years.
1283 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1285         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1286         soft-fp targets.
1288 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1290         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1291         instead of abort to avoid dependency on stdlib.h.
1293 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1295         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1296         to initialize call to __dl_fixup once.
1298 2015-12-04  Nick Clifton  <nickc@redhat.com>
1300         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1301         Allow for the second argument being negative.
1302         * config.host (extra_parts): Define for MSP430.  Create separate
1303         libraries for each of the hardware multiply formats.
1304         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1305         that are needed.
1306         * config/msp430/lib2mul.c: Likewise.
1307         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1308         Add rules to build hardware multiply libraries.
1309         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1310         __mspabi_divul function.
1311         (__mspabi_divllu): New stub function.
1313 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1315         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1316         fixup values if saved GOT address doesn't match runtime address.
1317         (fixup_branch_offset): Reorder list.
1319 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1321         * Makefile.in (VTV_CFLAGS): New variable.
1322         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1323         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1324         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1325         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1326         to extra_parts if $enable_vtable_verify = yes.
1328 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1330         PR target/68059
1331         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1332         (write): ...this and fix the return type.
1334 2015-11-19  DJ Delorie  <dj@redhat.com>
1336         * config/msp430/lib2hw_mul.S: Fix alignment.
1338 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1340         * config/nvptx/reduction.c: New.
1341         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1343 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1345         * config/rs6000/on_exit.c: New file.
1346         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1347         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1349 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1351         * config/arc/dp-hack.h: Add support for ARCHS.
1352         * config/arc/ieee-754/divdf3.S: Likewise.
1353         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1354         * config/arc/ieee-754/muldf3.S: Likewise.
1355         * config/arc/ieee-754/mulsf3.S: Likewise
1356         * config/arc/lib1funcs.S: Likewise
1357         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1358         for ARCv2 cores.
1359         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1360         for ARCv2 cores.
1361         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1362         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1363         cores.
1365 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1367         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1368         value.
1369         * config/ia64/crtend.S: Likewise.
1371 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1373         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1374         __CHAR_BIT__ instead of BITS_PER_UNIT.
1375         * fixed-bit.h: Likewise.
1376         * fp-bit.h: Likewise.
1377         * libgcc2.c (__popcountSI2): Likewise.
1378         (__popcountDI2): Likewise.
1379         * libgcc2.h: Likewise.
1380         * libgcov.h: Likewise.
1382 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1384         * config/rs6000/atexit.c: New file.
1385         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1386         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1387         * config/rs6000/cxa_finalize.c
1388         (catomic_compare_and_exchange_bool_acq): Negate return value.
1390 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1392         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1393         (processor_subtypes): Add znver1.
1394         (get_amd_cpu): Detect znver1.
1396 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1398         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1399         Include crtfastmath.o.
1401 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1403         PR libgcc/66883
1404         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1406 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1408         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1409         * config/rl78/divmodsi.S: Update return register to r8.
1410         * config/rl78/divmodhi.S: Update return register to r8,r9.
1411         Branch to main_loop_done_himode to pop registers before return.
1413 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1415         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1416         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1418 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1420         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1422 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1424         * config.host (xtensa*-*-uclinux*): New configuration.
1426 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1428         * config/i386/cpuinfo.c (processor_features): Add
1429         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1431 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1433         * soft-fp/adddf3.c: Update from glibc.
1434         * soft-fp/addsf3.c: Likewise.
1435         * soft-fp/addtf3.c: Likewise.
1436         * soft-fp/divdf3.c: Likewise.
1437         * soft-fp/divsf3.c: Likewise.
1438         * soft-fp/divtf3.c: Likewise.
1439         * soft-fp/double.h: Likewise.
1440         * soft-fp/eqdf2.c: Likewise.
1441         * soft-fp/eqsf2.c: Likewise.
1442         * soft-fp/eqtf2.c: Likewise.
1443         * soft-fp/extenddftf2.c: Likewise.
1444         * soft-fp/extended.h: Likewise.
1445         * soft-fp/extendsfdf2.c: Likewise.
1446         * soft-fp/extendsftf2.c: Likewise.
1447         * soft-fp/extendxftf2.c: Likewise.
1448         * soft-fp/fixdfdi.c: Likewise.
1449         * soft-fp/fixdfsi.c: Likewise.
1450         * soft-fp/fixdfti.c: Likewise.
1451         * soft-fp/fixsfdi.c: Likewise.
1452         * soft-fp/fixsfsi.c: Likewise.
1453         * soft-fp/fixsfti.c: Likewise.
1454         * soft-fp/fixtfdi.c: Likewise.
1455         * soft-fp/fixtfsi.c: Likewise.
1456         * soft-fp/fixtfti.c: Likewise.
1457         * soft-fp/fixunsdfdi.c: Likewise.
1458         * soft-fp/fixunsdfsi.c: Likewise.
1459         * soft-fp/fixunsdfti.c: Likewise.
1460         * soft-fp/fixunssfdi.c: Likewise.
1461         * soft-fp/fixunssfsi.c: Likewise.
1462         * soft-fp/fixunssfti.c: Likewise.
1463         * soft-fp/fixunstfdi.c: Likewise.
1464         * soft-fp/fixunstfsi.c: Likewise.
1465         * soft-fp/fixunstfti.c: Likewise.
1466         * soft-fp/floatdidf.c: Likewise.
1467         * soft-fp/floatdisf.c: Likewise.
1468         * soft-fp/floatditf.c: Likewise.
1469         * soft-fp/floatsidf.c: Likewise.
1470         * soft-fp/floatsisf.c: Likewise.
1471         * soft-fp/floatsitf.c: Likewise.
1472         * soft-fp/floattidf.c: Likewise.
1473         * soft-fp/floattisf.c: Likewise.
1474         * soft-fp/floattitf.c: Likewise.
1475         * soft-fp/floatundidf.c: Likewise.
1476         * soft-fp/floatundisf.c: Likewise.
1477         * soft-fp/floatunditf.c: Likewise.
1478         * soft-fp/floatunsidf.c: Likewise.
1479         * soft-fp/floatunsisf.c: Likewise.
1480         * soft-fp/floatunsitf.c: Likewise.
1481         * soft-fp/floatuntidf.c: Likewise.
1482         * soft-fp/floatuntisf.c: Likewise.
1483         * soft-fp/floatuntitf.c: Likewise.
1484         * soft-fp/gedf2.c: Likewise.
1485         * soft-fp/gesf2.c: Likewise.
1486         * soft-fp/getf2.c: Likewise.
1487         * soft-fp/ledf2.c: Likewise.
1488         * soft-fp/lesf2.c: Likewise.
1489         * soft-fp/letf2.c: Likewise.
1490         * soft-fp/muldf3.c: Likewise.
1491         * soft-fp/mulsf3.c: Likewise.
1492         * soft-fp/multf3.c: Likewise.
1493         * soft-fp/negdf2.c: Likewise.
1494         * soft-fp/negsf2.c: Likewise.
1495         * soft-fp/negtf2.c: Likewise.
1496         * soft-fp/op-1.h: Likewise.
1497         * soft-fp/op-2.h: Likewise.
1498         * soft-fp/op-4.h: Likewise.
1499         * soft-fp/op-8.h: Likewise.
1500         * soft-fp/op-common.h: Likewise.
1501         * soft-fp/quad.h: Likewise.
1502         * soft-fp/single.h: Likewise.
1503         * soft-fp/soft-fp.h: Likewise.
1504         * soft-fp/subdf3.c: Likewise.
1505         * soft-fp/subsf3.c: Likewise.
1506         * soft-fp/subtf3.c: Likewise.
1507         * soft-fp/truncdfsf2.c: Likewise.
1508         * soft-fp/trunctfdf2.c: Likewise.
1509         * soft-fp/trunctfsf2.c: Likewise.
1510         * soft-fp/trunctfxf2.c: Likewise.
1511         * soft-fp/unorddf2.c: Likewise.
1512         * soft-fp/unordsf2.c: Likewise.
1513         * soft-fp/unordtf2.c: Likewise.
1515 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1517         PR libgcc/67624
1518         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1520 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1522         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1523         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1524         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1525         messages.
1526         (internal_mcount): Likewise.
1527         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1528         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1530 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1532         * configure.ac (libgcc_cv_solaris_crts): New test.
1533         * configure: Regenerate.
1534         * config.in: Regenerate.
1535         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1536         * config/gmon-sol2.c: Rename to ...
1537         * config/sol2/gmon.c: ... this.
1538         Include auto-target.h.
1539         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1540         * config/t-sol2: Rename to ...
1541         * config/sol2/t-sol2: ... this.
1542         (gmon.o): Reflect renaming.
1543         (crtp.o, crtpg.o): New rules.
1544         * config.host (*-*-solaris2*): Reflect renaming.
1545         Use system CRTs if present.
1546         Remove default CRT case.
1548 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1550         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1551         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1552         __kernel_cmpxchg2.
1553         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1554         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1555         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1556         (__sync_lock_test_and_set_##WIDTH): Likewise.
1557         (__sync_lock_release_##WIDTH): Likewise.
1558         (__sync_fetch_and_##OP##_4): Change result to match type of
1559         __kernel_cmpxchg.
1560         (__sync_##OP##_and_fetch_4): Likewise.
1561         (__sync_val_compare_and_swap_4): Likewise.
1562         (__sync_bool_compare_and_swap_4): likewise.
1563         (__sync_lock_test_and_set_4): Likewise.
1564         (__sync_lock_release_4): Likewise.
1565         (FETCH_AND_OP_2): Add long long variants.
1566         (OP_AND_FETCH_2): Likewise.
1567         (COMPARE_AND_SWAP_2 ): Likewise.
1568         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1569         (SYNC_LOCK_RELEASE_2): Likewise.
1570         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1572 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1574         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1575         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1576         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1577         (get_available_features): Habdle new features.
1579 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1581         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1582         memory layout. Deal correctly with BSS region larger than 32K.
1583         Handle a watchdog reset like a power-on reset. Clean up unused
1584         code.
1586 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1587             David Edelsohn  <dje.gcc@gmail.com>
1589         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1590         * config/rs6000/crtdbase.S: New file.
1591         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1593 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1595         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1596         Add support for call0 ABI.
1598 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1600         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1602 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1604         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1605         (__GTHREAD_HAS_COND): Likewise.
1606         (__gthread_t): Likewise.
1607         (__gthread_cond_t): Likewise.
1608         (__gthread_time_t): Likewise.
1609         (__GTHREAD_MUTEX_INIT): Likewise.
1610         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1611         (__GTHREAD_COND_INIT): Likewise.
1612         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1613         (__GTHREAD_TIME_INIT): Likewise.
1614         (__gthread_create): Likewise.
1615         (__gthread_join): Likewise.
1616         (__gthread_detach): Likewise.
1617         (__gthread_equal): Likewise.
1618         (__gthread_self): Likewise.
1619         (__gthread_yield): Likewise.
1620         (__gthread_cond_broadcast): Likewise.
1621         (__gthread_cond_signal): Likewise.
1622         (__gthread_cond_wait): Likewise.
1623         (__gthread_cond_timedwait): Likewise.
1624         (__gthread_cond_wait_recursive): Likewise.
1625         (__gthread_cond_destroy): Likewise.
1626         (rtems_gxx_once): Delete.
1627         (rtems_gxx_key_create): Likewise.
1628         (rtems_gxx_key_delete): Likewise.
1629         (rtems_gxx_getspecific): Likewise.
1630         (rtems_gxx_setspecific): Likewise.
1631         (rtems_gxx_mutex_init): Likewise.
1632         (rtems_gxx_mutex_destroy): Likewise.
1633         (rtems_gxx_mutex_lock): Likewise.
1634         (rtems_gxx_mutex_trylock): Likewise.
1635         (rtems_gxx_mutex_unlock): Likewise.
1636         (rtems_gxx_recursive_mutex_init): Likewise.
1637         (rtems_gxx_recursive_mutex_lock): Likewise.
1638         (rtems_gxx_recursive_mutex_trylock): Likewise.
1639         (rtems_gxx_recursive_mutex_unlock): Likewise.
1640         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1641         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1642         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1643         (__gthread_once): Likewise.
1644         (__gthread_key_create): Likewise.
1645         (__gthread_key_delete): Likewise.
1646         (__gthread_getspecific): Likewise.
1647         (__gthread_setspecific): Likewise.
1648         (__gthread_key_t): Use <pthread.h> type.
1649         (__gthread_once_t): Likewise
1650         (__gthread_mutex_t): Use <sys/lock.h> type.
1651         (__gthread_recursive_mutex_t): Likewise
1652         (__gthread_mutex_lock): Use <sys/lock.h> function.
1653         (__gthread_mutex_trylock): Likewise.
1654         (__gthread_mutex_timedlock): Likewise.
1655         (__gthread_mutex_unlock): Likewise.
1656         (__gthread_mutex_destroy): Likewise.
1657         (__gthread_recursive_mutex_lock): Likewise.
1658         (__gthread_recursive_mutex_trylock): Likewise.
1659         (__gthread_recursive_mutex_timedlock): Likewise.
1660         (__gthread_recursive_mutex_unlock): Likewise.
1661         (__gthread_recursive_mutex_destroy): Likewise.
1663 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1665         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1666         context->sp instead of context->cfa.
1668 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1670         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1671         with unwind-dw2-fde-dip.
1673 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1675         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1676         CALL12 followed by series of ENTRY to spill windowed registers.
1677         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1678         instead of making linux spill syscall.
1680 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1682         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1683         (get_intel_cpu): Likewise.
1685 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1687         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1688         (get_intel_cpu): Add Knights Landing support.
1690 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1692         PR target/66954
1693         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1694         (get_available_features): Handle FEATURE_PCLMUL.
1696 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1698         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1699         Broadwell.
1701 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1703         PR target/66954
1704         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1705         (get_available_features): Handle FEATURE_AES.
1707 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1709         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1710         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1712 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1714         * offloadstuff.c: Constify host data.
1716 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1718         * config/t-softfp: Split up "else ifneq".
1720 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1721             Cesar Philippidis  <cesar@codesourcery.com>
1722             Chung-Lin Tang  <cltang@codesourcery.com>
1724         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1725         for __nios2_arch__ level.
1727 2015-07-13  John Marino  <gnugcc@marino.st>
1729         * config/i386/t-dragonfly: New.
1731 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1733         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1734         better match light-weight syscall argument order.
1735         (__kernel_cmpxchg2): Likewise.
1736         Adjust callers.
1738 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1740         * config.host: Support i[34567]86-*-elfiamcu target.
1741         * config/t-softfp-sfdftf: New file.
1742         * config/i386/32/t-iamcu: Likewise.
1743         * configure: Regenerated.
1745 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1747         libgcc/config/arm/
1748         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1750 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1752         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1754 2015-05-27  John Marino  <gnugcc@marino.st>
1756         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1757         md_unwind_header
1758         * config/i386/freebsd-unwind.h: New.
1760 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1762         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1763         i386/t-crtfm to tmake_file.
1764         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1765         (set_fast_math): Use set_fast_math_sse for SSE targets.
1766         * config/i386/t-crtfm: Remove.
1768 2015-05-21  Alan Modra  <amodra@gmail.com>
1770         PR libgcc/66225
1771         * config/rs6000/morestack.S: Remove ".abiversion 1".
1773 2015-05-20  Alan Modra  <amodra@gmail.com>
1775         * config/rs6000/morestack.S: New.
1776         * config/rs6000/t-stack-rs6000: New.
1777         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1778         to tmake_file.
1779         * generic-morestack.c: Don't build for powerpc 32-bit.
1781 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1783         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1784         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1786 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1788         * config.host: FT32 target added.
1789         * config/ft32/*: New files for FT32 target.
1791 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1793         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1794         New macros.
1795         * config/arm/ieee754-df.S: Add CFI directives.
1796         * config/arm/ieee754-sf.S: Add CFI directives.
1798 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1800         * configure.ac: Include config/sjlj.m4.
1801         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1802         * config.in: Regenerate.
1803         * configure: Likewise.
1804         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1806 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1808         * libgcov-util.c: Add space between string literal and macro name.
1810 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1811             Chris Jones  <chrisj@nvidia.com>
1812             Joshua Conner  <jconner@nvidia.com>
1814         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1815         (arm*-*-uclinux*): Likewise.
1816         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1817         * config/arm/crtfastmath.c: New file.
1819 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1821         * Makefile.in (real_host_noncanonical): New variable.
1822         (libsubdir): Use it.
1823         * configure.ac (real_host_noncanonical): Compute.  Remove special
1824         case for intelmicemul.
1825         * configure: Regenerate.
1827 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1829         * config/frv/elf-lib.h: New file.
1830         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1831         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1832         to tm_file.
1834 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1836         * config/frv/frvbengin.c: Do not include defaults.h
1837         * config/frv/frvend.c: Ditto.
1839 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1841         * config.host: Add h8300-*-linux
1842         * config/h8300/t-linux: New file.
1843         * config/h8300/lib1funs.s: Change symbol prefix.
1844         * config/h8300/sfp-machine.h: 64bit double support.
1846 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1847             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1849         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1850         Linux if target provides dl_iterate_phdr.
1852 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1854         PR target/65612
1855         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1856         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1857         (__cpu_indicator_init@GCC_4.8.0): New.
1858         (__cpu_model@GCC_4.8.0): Likewise.
1859         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1860         -DUSE_ELF_SYMVER.
1862 2015-04-16  Nick Clifton  <nickc@redhat.com>
1864         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1865         and __modhi3 functions.
1866         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1867         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1869 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1871         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1872         do-while loop as macro body to avoid warnings.
1874 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1875             Iain Sandoe  <iain@codesourcery.com>
1877         PR target/65351
1878         * configure: Regenerate.
1880 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1881             Iain Sandoe  <iain@codesourcery.com>
1883         PR target/65351
1884         * configure: Regenerate.
1886 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1888         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1890 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1892         Implement call0 ABI for xtensa
1893         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1894         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1895         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1896         use ret in call0 ABI.
1897         * config/xtensa/t-windowed: New file.
1898         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1899         * libgcc/configure: Regenerated.
1900         * libgcc/configure.ac: Check if xtensa target is configured for
1901         windowed ABI and thus needs to use custom unwind code.
1903 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1905         PR libgcc/64885
1906         * gthr-single.h: Use __unused__ attribute instead of unused.
1907         * config/gthr-vxworks.h: Likewise.
1908         * config/i386/gthr-win32.h: Likewise.
1910 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1912         PR target/65038
1913         * config.in: Regenerated.
1914         * configure: Likewise.
1915         * configure.ac (AC_HEADER_STDC): Added explicit.
1916         (AC_CHECK_HEADERS): Check for default headers  plus
1917         for ftw.h header.
1918         * libgcov-util.c (gcov_read_profile_dir): Disable use
1919         of ftw-function, if header is not found.
1920         (ftw_read_file): Likewise.
1922 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1924         PR target/65181
1925         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1926         -Dinhibit_libc.
1928 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1930         * config/arm/bpabi.S (test_div_by_zero): Make label names
1931         consistent between thumb2 and arm mode cases.  Separate the
1932         signed comparison on the high word of the numerator from the
1933         unsigned comparison on the low word.
1934         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1935         signed comparison.
1937 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1939         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1940         and <string.h>.
1941         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1943 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1945         PR gcov-profile/61889
1946         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1948 2015-02-02  Nick Clifton  <nickc@redhat.com>
1950         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1951         rounding up the fraction.
1953 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1955         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1956         oldval and newval to const void *.  Fix typo.
1957         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1958         (FETCH_AND_OP_WORD): Likewise.
1959         (OP_AND_FETCH_WORD): Likewise.
1960         (COMPARE_AND_SWAP_2): Likewise.
1961         (__sync_val_compare_and_swap_4): Likewise.
1962         (__sync_lock_test_and_set_4): Likewise.
1963         (SYNC_LOCK_RELEASE_2): Likewise.
1964         Remove support for long long atomic operations.
1966 2015-01-27  Caroline Tice  <cmtice@google.com>
1968         Committing VTV Cywin/Ming patch for Patrick Wollgast
1969         * Makefile.in: Move rules to build vtv_*.o out of the check
1970         for CUSTOM_CRTSTUFF.
1971         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1972         i[34567]86-*-mingw*)
1973          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1974         enable_vtable_verify.
1976 2015-01-27  Nick Clifton  <nickc@redhat.com>
1978         * config/rl78/cmpsi2.S: Use function start and end macros.
1979         (__gcc_bcmp): New function.
1980         * config/rl78/lshrsi3.S: Use function start and end macros.
1981         * config/rl78/mulsi3.S: Add support for G10.
1982         (__mulqi3): New function for G10.
1983         * config/rl78/signbit.S: Use function start and end macros.
1984         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1985         fpmath-sf.S.
1986         (LIB2FUNCS_EXCLUDE): Define.
1987         (LIB2FUNCS_ST): Define.
1988         * config/rl78/trampoline.S: Use function start and end macros.
1989         * config/rl78/vregs.h (START_FUNC): New macro.
1990         (START_ANOTHER_FUNC): New macro.
1991         (END_FUNC): New macro.
1992         (END_ANOTHER_FUNC): New macro.
1993         * config/rl78/bit-count.S: New file.  Contains assembler
1994         implementations of the bit counting functions: ___clzhi2,
1995         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1996         __paritysi2, __popcounthi2 and __popcountsi2.
1997         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1998         implementationas of the math functions: __negsf2, __cmpsf2,
1999         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2000         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2001         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2002         implementations of the math functions: __subsf3, __addsf3,
2003         __mulsf3 and __divsf3
2005 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2007         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2008         Add i386/elf-lib.h to tm_file.
2009         * config/i386/elf-lib.h: Fix comment.
2010         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2011         && __sun__ && __svr4__]: Remove workaround.
2013 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2015         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2016         FEATURE_BMI2.
2017         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2019 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2021         * config/i386/cpuinfo.c (processor_subtypes): Add
2022         INTEL_COREI7_BROADWELL.
2023         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2024         model numbers.
2026 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2028         * config/i386/elf-lib.h: New file.
2029         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2030         Wrap definition in #ifdef __i386__.
2031         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2032         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2033         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2034         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2035         to tm_file.
2037 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2039         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2040         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2042 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2044         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2045         Update rt_sigframe format and address for current Nios II
2046         Linux conventions.
2048 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2050         * config.host (arm*-*-freebsd*): Add new configuration for
2051         arm*-*-freebsd*.
2052         * config/arm/freebsd-atomic.c: New file.
2053         * config/arm/t-freebsd: Likewise.
2054         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2055         'PC-relative indirect' OS's.
2057 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2059         * config.host: Add Visium support.
2060         * config/visium: New directory.
2062 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2064         Update copyright years.
2066 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2068         * config.host: Support mipsisa32r6 and mipsisa64r6.
2069         * config/mips/mips16.S: Do not build for R6.
2071 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2073         * config/sh/crt.h: New.
2074         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2075         symbols.
2076         * config/sh/crt1.S: Likewise.
2078 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2080         PR libgcc/63832
2081         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2082         func_ptr *dtor_list temporary variable to avoid "array subscript
2083         is above array bounds" warnings.
2085 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2087         * Makefile.in (with_aix_soname): Define.
2088         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2089         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2090         * configure: Recreate.
2092 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2094         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2095         now provided by defaults.h.
2097 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2099         PR target/55351
2100         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2101         whether it's defined.
2103 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2105         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2106         * config/i386/cpuinfo.c (get_available_features): Detect it.
2108 2014-11-27  Tony Wang  <tony.wang@arm.com>
2110         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2111         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2112         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2114 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2116         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2118 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2120         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2121         instead.
2123 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2124             John David Anglin  <danglin@gcc.gnu.org>
2126         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2127         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2128         (OP_AND_FETCH_2): Likewise.
2129         (COMPARE_AND_SWAP_2): Likewise.
2130         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2131         (SYNC_LOCK_RELEASE_2): Likewise.
2132         (SUBWORD_SYNC_OP): Remove.
2133         (SUBWORD_VAL_CAS): Likewise.
2134         (SUBWORD_BOOL_CAS): Likewise.
2135         (FETCH_AND_OP_WORD): Update.
2136         Consistently use signed types.
2138 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2139             Thomas Schwinge  <thomas@codesourcery.com>
2140             Ilya Verbin  <ilya.verbin@intel.com>
2141             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2143         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2144         (crtoffloadend$(objext)): Likewise.
2145         * configure: Regenerate.
2146         * configure.ac (accel_dir_suffix): Compute new variable.
2147         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2148         if enable_offload_targets is not empty.
2149         * offloadstuff.c: New file.
2151 2014-11-13  Nick Clifton  <nickc@redhat.com>
2153         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2154         Use START_FUNC and END_FUNC macros to enable linker garbage
2155         collection.
2156         * config/rl78/divmodqi.S: Likewise.
2157         * config/rl78/divmodsi.S: Likewise.
2158         * config/rl78/mulsi3.S: Likewise.
2159         * config/rl78/lib2div.c: Remove G10 functions.
2160         * config/rl78/lib2muls.c: Likewise.
2161         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2162         * config/rl78/vregs.h (START_FUNC): New macro.
2163         (END_FUNC): New macro.
2165 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2167         * config/mips/mips16.S: Set .module when supported.  Update O32
2168         FP64 calling convention and use for FPXX when possible.  Add FPXX
2169         calling convention fallback case.
2171 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2173         * config.host: Handle nvptx-*-*.
2174         * shared-object.mk (as-flags-$o): Define.
2175         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2176         -xassembler-with-cpp.
2177         * static-object.mk: Identical changes.
2178         * config/nvptx/t-nvptx: New file.
2179         * config/nvptx/crt0.s: New file.
2180         * config/nvptx/free.asm: New file.
2181         * config/nvptx/malloc.asm: New file.
2182         * config/nvptx/realloc.c: New file.
2184 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2186         * Makefile.in (libgcc.map.in): New target.
2187         (libgcc.map): Use libgcc.map.in.
2188         * config/t-softfp (softfp_compat): New variable to be set by
2189         users.
2190         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2191         variables.
2192         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2193         directory.
2194         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2195         that use compat symbols and disable all code unless [SHARED].
2196         * config/t-softfp-compat: New file.
2197         * find-symver.awk: New file.
2198         * configure.ac (--with-glibc-version): New configure option.
2199         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2200         * configure: Regenerate.
2201         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2202         soft-float and e500.
2204 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2206         * config/t-hardfp (hardfp_exclusions): Document new variable for
2207         user to define.
2208         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2209         * config/t-softfp (softfp_extras): Document new variable for user
2210         to define.
2211         (softfp_func_list): Add functions from $(softfp_extras).
2212         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2213         * config.host (powerpc*-*-linux*): For e500v1, use
2214         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2215         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2216         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2218 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2220         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2221         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2222         memory read accesses are ok.
2224 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2226         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2227         * configure: Regenerate.
2228         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2229         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2230         of soft-fp for 32-bit classic hard float.  Do not use
2231         t-softfp-excl for soft float.
2233 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2235         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2236         configurations.
2237         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2238         Remove variables.
2240 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2242         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2243         introduced with 2014-10-21 trunk r216525.
2245 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2246             Vidya Praveen  <vidya.praveen@atmel.com>
2247             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2248             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2249             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2251         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2252         order.
2254         Updated library functions for AVRTINY arch.
2255         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2256         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2257         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2258         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2259         wsubi/wadi macors.
2260         (__mulsi3_helper): Update stack, preserve callee saved regs and
2261         argument from stack. Restore callee save registers.
2262         (__mulpsi3): Likewise.
2263         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2264         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2265         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2266         AVRTINY.
2267         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2268         (__do_copy_data): Added new definition for AVRTINY.
2269         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2270         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2271         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2272         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2273         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2274         macors.
2275         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2276         AVRTINY.
2278         Fix broken long multiplication on tiny arch.
2280 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2282         * soft-fp/double.h: Update from glibc.
2283         * soft-fp/eqdf2.c: Likewise.
2284         * soft-fp/eqsf2.c: Likewise.
2285         * soft-fp/eqtf2.c: Likewise.
2286         * soft-fp/extenddftf2.c: Likewise.
2287         * soft-fp/extended.h: Likewise.
2288         * soft-fp/extendsfdf2.c: Likewise.
2289         * soft-fp/extendsftf2.c: Likewise.
2290         * soft-fp/extendxftf2.c: Likewise.
2291         * soft-fp/gedf2.c: Likewise.
2292         * soft-fp/gesf2.c: Likewise.
2293         * soft-fp/getf2.c: Likewise.
2294         * soft-fp/ledf2.c: Likewise.
2295         * soft-fp/lesf2.c: Likewise.
2296         * soft-fp/letf2.c: Likewise.
2297         * soft-fp/op-1.h: Likewise.
2298         * soft-fp/op-2.h: Likewise.
2299         * soft-fp/op-4.h: Likewise.
2300         * soft-fp/op-8.h: Likewise.
2301         * soft-fp/op-common.h: Likewise.
2302         * soft-fp/quad.h: Likewise.
2303         * soft-fp/single.h: Likewise.
2304         * soft-fp/soft-fp.h: Likewise.
2305         * soft-fp/unorddf2.c: Likewise.
2306         * soft-fp/unordsf2.c: Likewise.
2307         * soft-fp/unordtf2.c: Likewise.
2308         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2309         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2310         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2311         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2312         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2313         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2314         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2315         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2316         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2317         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2319 2014-10-08  Rong Xu  <xur@google.com>
2321         * libgcov-util.c (read_gcda_file): Fix format.
2322         (find_match_gcov_info): Ditto.
2323         (calculate_2_entries): New.
2324         (compute_one_gcov): Ditto.
2325         (gcov_info_count_all_cold): Ditto.
2326         (gcov_info_count_all_zero): Ditto.
2327         (extract_file_basename): Ditto.
2328         (get_file_basename): Ditto.
2329         (set_flag): Ditto.
2330         (matched_gcov_info): Ditto.
2331         (calculate_overlap): Ditto.
2332         (gcov_profile_overlap): Ditto.
2333         * libgcov-driver.c (compute_summary): Make
2334         it avavilable for external calls.
2336 2014-10-06  Rong Xu  <xur@google.com>
2338         * Makefile.in: Ditto.
2339         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2340         (gcov_sort_icall_topn_counter): Ditto.
2341         (gcov_sort_topn_counter_arrays): Ditto.
2342         (dump_one_gcov): Sort indirect_call topn counters.
2343         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2344         function.
2345         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2346         utility function.
2347         (__gcov_indirect_call_topn_profiler): New profiler function.
2348         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2349         * libgcov.h: New decls.
2351 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2353         * config.host: Remove support for score-*.
2355 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2357         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2358         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2359         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2360         __LIBGCC_XF_MANT_DIG__.
2361         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2362         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2363         __LIBGCC_TF_MANT_DIG__.
2364         * libgcc2.c (NOTRUNC): Define in terms of
2365         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2366         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2368 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2370         PR target/63312
2371         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2372         New macros.
2374 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2376         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2377         override USE_PT_GNU_EH_FRAME.
2378         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2379         check USE_EH_FRAME_REGISTRY_ALWAYS against
2380         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2381         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2382         variable for substituted force_explicit_eh_registry.
2383         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2384         * configure.ac (explicit-exception-frame-registration):
2385         New AC_ARG_ENABLE.
2386         * configure: Regenerate.
2388 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2390         * config.host (powerpc-wrs-vxworksmils): New configuration,
2391         same as vxworksae.
2393 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2395         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2397 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2399         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2400         bits not set bits as indicating trapping exceptions.
2402 2014-09-17  Nathan sidwell  <nathan@acm.org>
2404         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2405         (LIBGCOV_DRIVER): ... here.
2406         * libgcov-driver.c (gcov_master): New.
2407         (gcov_exit): Remove from master chain.
2408         (__gcov_init): Add to master chain if version compatible.  Don't
2409         clear the version.
2410         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2411         (gcov_reset_int): Clear master chain, if compatible.
2412         (gcov_dump_int): New internal interface.  Dump master chain, if
2413         compatible.
2414         (gcov_dump): Alias for gcov_dump_int.
2415         * libgcov.h (struct gcov_root): Add next and prev fields.
2416         (struct gcov_master): New struct.
2417         (__gcov_master): New.
2418         (gcov_dump_int): Declare.
2420 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2422         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2423         and crtbegin.o + crtend.o to extra_parts.
2425 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2427         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2428         __LIBGCC_HAS_SF_MODE__.
2429         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2430         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2431         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2432         * config/libbid/bid_gcc_intrinsics.h
2433         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2434         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2435         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2436         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2437         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2438         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2440 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2442         PR target/63223
2443         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2444         and R24 as needed.  Make work for all devices and .text locations.
2445         (__do_global_ctors, __do_global_dtors): Use word addresses.
2446         (__tablejump__, __tablejump_elpm__): Remove functions.
2447         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2448         Add _tablejump2.
2449         (XICALL, XIJMP): New macros.
2451 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2452         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2454         * config.host (aarch64*): Include crtfastmath.o and
2455         t-crtfm.
2456         * config/aarch64/crtfastmath.c: New file.
2458 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2460         * config.host: Remove picochip support.
2461         * config/picochip/adddi3.S: Remove.
2462         * config/picochip/ashlsi3.S: Remove.
2463         * config/picochip/ashlsi3.c: Remove.
2464         * config/picochip/ashrsi3.S: Remove.
2465         * config/picochip/ashrsi3.c: Remove.
2466         * config/picochip/clzsi2.S: Remove.
2467         * config/picochip/cmpsi2.S: Remove.
2468         * config/picochip/divmod15.S: Remove.
2469         * config/picochip/divmodhi4.S: Remove.
2470         * config/picochip/divmodsi4.S: Remove.
2471         * config/picochip/lib1funcs.S: Remove.
2472         * config/picochip/longjmp.S: Remove.
2473         * config/picochip/lshrsi3.S: Remove.
2474         * config/picochip/lshrsi3.c: Remove.
2475         * config/picochip/parityhi2.S: Remove.
2476         * config/picochip/popcounthi2.S: Remove.
2477         * config/picochip/setjmp.S: Remove.
2478         * config/picochip/subdi3.S: Remove.
2479         * config/picochip/t-picochip: Remove.
2480         * config/picochip/ucmpsi2.S: Remove.
2481         * config/picochip/udivmodhi4.S: Remove.
2482         * config/picochip/udivmodsi4.S: Remove.
2484 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2486         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2487         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2488         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2489         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2490         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2491         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2492         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2493         defined and LIBGCC2_HAS_DF_MODE is defined.
2494         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2495         defined and LIBGCC2_HAS_XF_MODE is defined.
2496         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2497         defined and LIBGCC2_HAS_TF_MODE is defined.
2499 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2501         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2502         and ROUND_TOWARDS_ZERO conditionals.
2504 2014-09-07  Nathan sidwell  <nathan@acm.org>
2506         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2507         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2509 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2511         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2512         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2513         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2514         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2515         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2516         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2517         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2518         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2519         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2520         (DWARF_FRAME_REGISTERS): Change all uses to
2521         __LIBGCC_DWARF_FRAME_REGISTERS__.
2522         (EH_RETURN_STACKADJ_RTX): Change all uses to
2523         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2524         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2525         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2526         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2527         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2528         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2529         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2530         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2531         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2532         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2533         __LIBGCC_STACK_POINTER_REGNUM__.
2534         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2535         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2536         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2537         to __LIBGCC_STACK_POINTER_REGNUM__.
2538         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2539         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2540         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2541         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2542         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2543         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2544         (STACK_POINTER_REGNUM): Change all uses to
2545         __LIBGCC_STACK_POINTER_REGNUM__.
2546         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2547         use to __LIBGCC_STACK_POINTER_REGNUM__.
2548         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2549         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2550         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2551         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2552         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2553         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2554         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2555         to __LIBGCC_STACK_POINTER_REGNUM__.
2556         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2557         Remove conditional definition.
2558         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2559         __LIBGCC_TEXT_SECTION_ASM_OP__.
2560         (EH_FRAME_SECTION_NAME): Change all uses to
2561         __LIBGCC_EH_FRAME_SECTION_NAME__.
2562         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2563         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2564         (CTORS_SECTION_ASM_OP): Change all uses to
2565         __LIBGCC_CTORS_SECTION_ASM_OP__.
2566         (DTORS_SECTION_ASM_OP): Change all uses to
2567         __LIBGCC_DTORS_SECTION_ASM_OP__.
2568         (JCR_SECTION_NAME): Change all uses to
2569         __LIBGCC_JCR_SECTION_NAME__.
2570         (INIT_SECTION_ASM_OP): Change all uses to
2571         __LIBGCC_INIT_SECTION_ASM_OP__.
2572         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2573         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2574         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2575         __LIBGCC_STACK_GROWS_DOWNWARD__.
2576         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2577         __LIBGCC_INIT_SECTION_ASM_OP__.
2578         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2579         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2580         (EH_FRAME_SECTION_NAME): Change all uses to
2581         __LIBGCC_EH_FRAME_SECTION_NAME__.
2582         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2583         definitions.  Change all uses to
2584         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2585         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2586         __LIBGCC_STACK_GROWS_DOWNWARD__.
2587         (DWARF_FRAME_REGISTERS): Change all uses to
2588         __LIBGCC_DWARF_FRAME_REGISTERS__.
2589         (EH_RETURN_STACKADJ_RTX): Change all uses to
2590         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2591         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2592         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2593         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2594         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2595         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2597 2014-09-02  Nathan sidwell  <nathan@acm.org>
2599         * libgcov-interface.c (STRONG_ALIAS): New.
2600         (__gcov_flush): Call __gcov_reset_int.
2601         (__gcov_reset): Strong alias for ...
2602         (__gcov_reset_ing): ... this renamed hidden version.
2603         * libgcov.h (__gcov_reset_int): New declaration.
2605 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2607         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2608         call from here...
2609         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2610         (__dso_handle): Define on Cygwin.
2611         * config/i386/t-cygming (crtbeginS.o): New rule.
2612         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2614         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2615         declaration syntax.
2617 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2619         * crtstuff.c: Undef caddr_t.
2621 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2623         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2625 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2627         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2628         (LIBGCOV_DRIVER): ... to here.
2629         * libgcov.h (gcov_do_dump): New #define.
2630         (struct gcov_root): New.
2631         (__gcov_root): New declaration.
2632         (__gcov_dump_one): Declare.
2633         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2634         run_accounted): Delete.
2635         (gcov_compute_histogram): Add LIST argument, adjust.
2636         (compute_summary): Adjust gcov_compute_histogram call.
2637         (gcov_do_dump): Not hidden, static in libgcov.
2638         (gcov_clear): Move  to interface.c.
2639         (__gcov_dump_one): New, broken out of ...
2640         (gcov_exit): ... here.  Make static.
2641         (__gcov_root): New.
2642         (__gcov_init): Adjust.
2643         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2644         declarations.
2645         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2646         (gcov_clear): Moved from driver.c.   Add LIST argument.
2647         (__gcov_reset): Adjust for changed interfaces.
2648         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2650 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2652         PR target/60102
2653         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2654         based on change in SPE high register numbers and 3 HTM registers.
2656 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2658         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2659         LIBGCOV_INTERFACE): Reformat.
2660         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2661         IN_GCOV_TOOL.
2662         * libgcov-interface.c: Reformat some comments.
2663         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2665 2014-07-31  Alan Modra  <amodra@gmail.com>
2666             Peter Bergner  <bergner@vnet.ibm.com>
2668         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2669         (pack_ldouble): New function.
2670         (__gcc_qadd): Use it.
2671         (__gcc_qmul): Likewise.
2672         (__gcc_qdiv): Likewise.
2673         (__gcc_qneg): Likewise.
2674         (__gcc_stoq): Likewise.
2675         (__gcc_dtoq): Likewise.
2677 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2679         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2680         (__tpf_eh_return): Add original return address as second parameter.
2681         Handle cases where unwinder routines were called directly, instead
2682         of from within the C++ library.
2684 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2686         * libgcov.h: Move renaming of entry points to lib gcov specific
2687         portion.
2688         (gcov_do_dump): New rename.
2689         (gcov_rewrite): Remove inline, make HIDDEN.
2690         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2691         (gcov_exit_compute_summary): Rename to ...
2692         (compute_summary): ... here.  Add LIST argument.
2693         (gcov_exit_merge_gcda): Rename to ...
2694         (merge_one_data): ... here.
2695         (gcov_exit_write_gcda): Rename to ...
2696         (write_one_data): ... here.
2697         (gcov_exit_merge_summary): Rename to ...
2698         (merge_summary): Add RUN_COUNTED argument.
2699         (gcov_exit_dump_gcov): Rename to ...
2700         (dump_one_gcov): Add RUN_COUNTED argument.
2701         (gcov_do_dump): New function, broken out of ...
2702         (gcov_exit): ... here.  Call it.
2704 2014-07-27  Anthony Green  <green@moxielogic.com>
2706         * config.host: Add moxiebox configuration suppport.
2708 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2710         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2711         (struct gcov_filename): ... here.  Include buffer and max length
2712         fields.
2713         (gcov_max_filename): Remove.
2714         (gi_filename): Remove.
2715         (gcov_exit_compute_summary): Compute max filename here.
2716         (gcov_exit_merge_gcda): Add filename parm, adjust.
2717         (gcov_exit_merge_summary): Likewise.
2718         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2719         (gcov_exit): Likewise.
2720         (__gcov_init): Don't calculate max length here.
2721         * libgcov_util.c (max_filename_len): Remove.
2722         (read_gcda_file): Don't calculate max length here.
2723         (gcov_read_profile_dir): Don't propagate here.
2724         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2725         struct gcov_filename changes.
2726         (gcov_exit_open_gcda_file): Likewise.
2728 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2730         * libgcov-driver.c (set_gcov_dump_complete,
2731         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2732         functions polluting user's namespace.
2733         (gcov_exit): Set variable directly.
2734         (gcov_clear): Reset variable directly.
2735         * libgcov-interface.c (get_gcov_dymp_complete,
2736         reset_gov_dump_complete): Remove declarations.
2737         (__gcov_reset, __gcov_dump): Don't call them.
2739 2014-07-24  DJ Delorie  <dj@redhat.com>
2741         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2742         (__gcc_deregister_frame): Move logic to detect deregister function
2743         to ...
2744         (__gcc_register_frame): here, so it's consistent with the register
2745         logic.
2747 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2749         * libgcov-driver.c (set_gcov_list): Remove.
2750         (gcov_list): Make non-static in GCOV_TOOL.
2751         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2753 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2755         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2756         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2757         Don't use SYNC_LOCK_RELEASE for int type.
2759 2014-07-14  Richard Biener  <rguenther@suse.de>
2761         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2763 2014-07-11  Rong Xu  <xur@google.com>
2765         * libgcov-util.c (gcov_max_filename): Fix declartion.
2767 2014-07-10  Rong Xu  <xur@google.com>
2769         Add gcov-tool: an offline gcda profile processing tool
2770         Support.
2771         * libgcov-driver.c (gcov_max_filename): Make available
2772         to gcov-tool.
2773         * libgcov-merge.c (__gcov_merge_add): Replace
2774         gcov_read_counter() with a Macro.
2775         (__gcov_merge_ior): Ditto.
2776         (__gcov_merge_time_profile): Ditto.
2777         (__gcov_merge_single): Ditto.
2778         (__gcov_merge_delta): Ditto.
2779         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2780         in the utility functions.
2781         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2782         gcov_list object link lists.
2783         (tag_function): Ditto.
2784         (tag_blocks): Ditto.
2785         (tag_arcs): Ditto.
2786         (tag_lines): Ditto.
2787         (tag_counters): Ditto.
2788         (tag_summary): Ditto.
2789         (read_gcda_finalize): Ditto.
2790         (read_gcda_file): Ditto.
2791         (ftw_read_file): Ditto.
2792         (read_profile_dir_init): Ditto.
2793         (gcov_read_profile_dir): Ditto.
2794         (gcov_read_counter_mem): Ditto.
2795         (gcov_get_merge_weight): Ditto.
2796         (merge_wrapper): A wrapper function that calls merging handler.
2797         (gcov_merge): Merge two gcov_info objects with weights.
2798         (find_match_gcov_info): Find the matched gcov_info in the list.
2799         (gcov_profile_merge): Merge two gcov_info object lists.
2800         (__gcov_add_counter_op): Process edge profile counter values.
2801         (__gcov_ior_counter_op): Process IOR profile counter values.
2802         (__gcov_delta_counter_op): Process delta profile counter values.
2803         (__gcov_single_counter_op): Process single  profile counter values.
2804         (fp_scale): Callback function for float-point scaling.
2805         (int_scale): Callback function for integer fraction scaling.
2806         (gcov_profile_scale): Scaling profile counters.
2807         (gcov_profile_normalize): Normalize profile counters.
2808         * libgcov.h: Add headers and functions for gcov-tool use.
2809         (gcov_get_counter): New.
2810         (gcov_get_counter_target): Ditto.
2811         (struct gcov_info): Make the functions field mutable in gcov-tool
2812         compilation.
2814 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2816         PR libgcc/61585
2817         * unwind-seh.c (_Unwind_GetGR): Check for proper
2818         index range.
2819         (_Unwind_SetGR): Likewise.
2821 2014-05-22  Nick Clifton  <nickc@redhat.com>
2823         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2824         -mhwmult=none.
2826 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2828         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2829         include.
2831 2014-05-20  John Marino  <gnugcc@marino.st>
2833         * config.host (*-*-dragonfly*): New target.
2834         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2835         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2836         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2837         * config/i386/dragonfly-unwind.h: New.
2839 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2841         PR libgcc/60166
2842         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2843         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2845 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2847         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2848         implementation.
2850 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2852         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2854 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2856         PR libgcc/61097
2857         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2858         if --enable-shared.
2860 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2862         Work around for current cygwin32 build problems.
2863         * config/i386/cygming-crtbegin.c (__register_frame_info,
2864         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2865         functions only for 64-bit systems.
2867 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2869         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2870         (sigill_caught, sigill_hdlr): Remove.
2872 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2874         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2875         check.
2876         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2877         Solaris 9 single-threaded support.
2878         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2879         Solaris 9 single-threaded support.  Add call_user_handler code
2880         sequences.
2881         (sparc_is_sighandler): Likewise.
2883 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2885         * config.host: Append t-floattodi to tmake_file depending on
2886         host_address.
2888 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2890         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2892 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2894         PR libgcc/60472
2895         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2896         variable to avoid "array subscript is above array bounds" warnings.
2897         Use __builtin_expect when checking *jcr_list for NULL.
2899 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2901         PR libgcc/59339
2902         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2903         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2904         vtv_*.o to extra_parts if enable_vtable_verify.
2906 2014-03-06  Nick Clifton  <nickc@redhat.com>
2908         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2909         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2911 2014-02-28  Joey Ye  <joey.ye@arm.com>
2913         PR libgcc/60166
2914         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2915         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2916         Set to zero.
2918 2014-02-24  Walter Lee  <walt@tilera.com>
2920         * config.host: Support "tilegx*" and "tilepro*" triplets.
2921         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2922         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2924 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2925             Chung-Lin Tang  <cltang@codesourcery.com>
2927         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2928         * config/nios2/crti.S: Remove .file directive.
2929         * config/nios2/crtn.S: Likewise.
2931 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2932         Jonathan Schleifer  <js@webkeks.org>
2934         PR objc/56870
2935         * unwind-seh.c (_GCC_specific_handler): Pass proper
2936         value to unwind-handler.
2938 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2940         * soft-fp/adddf3.c: Update from glibc.
2941         * soft-fp/addsf3.c: Likewise.
2942         * soft-fp/addtf3.c: Likewise.
2943         * soft-fp/divdf3.c: Likewise.
2944         * soft-fp/divsf3.c: Likewise.
2945         * soft-fp/divtf3.c: Likewise.
2946         * soft-fp/double.h: Likewise.
2947         * soft-fp/eqdf2.c: Likewise.
2948         * soft-fp/eqsf2.c: Likewise.
2949         * soft-fp/eqtf2.c: Likewise.
2950         * soft-fp/extenddftf2.c: Likewise.
2951         * soft-fp/extended.h: Likewise.
2952         * soft-fp/extendsfdf2.c: Likewise.
2953         * soft-fp/extendsftf2.c: Likewise.
2954         * soft-fp/extendxftf2.c: Likewise.
2955         * soft-fp/fixdfdi.c: Likewise.
2956         * soft-fp/fixdfsi.c: Likewise.
2957         * soft-fp/fixdfti.c: Likewise.
2958         * soft-fp/fixsfdi.c: Likewise.
2959         * soft-fp/fixsfsi.c: Likewise.
2960         * soft-fp/fixsfti.c: Likewise.
2961         * soft-fp/fixtfdi.c: Likewise.
2962         * soft-fp/fixtfsi.c: Likewise.
2963         * soft-fp/fixtfti.c: Likewise.
2964         * soft-fp/fixunsdfdi.c: Likewise.
2965         * soft-fp/fixunsdfsi.c: Likewise.
2966         * soft-fp/fixunsdfti.c: Likewise.
2967         * soft-fp/fixunssfdi.c: Likewise.
2968         * soft-fp/fixunssfsi.c: Likewise.
2969         * soft-fp/fixunssfti.c: Likewise.
2970         * soft-fp/fixunstfdi.c: Likewise.
2971         * soft-fp/fixunstfsi.c: Likewise.
2972         * soft-fp/fixunstfti.c: Likewise.
2973         * soft-fp/floatdidf.c: Likewise.
2974         * soft-fp/floatdisf.c: Likewise.
2975         * soft-fp/floatditf.c: Likewise.
2976         * soft-fp/floatsidf.c: Likewise.
2977         * soft-fp/floatsisf.c: Likewise.
2978         * soft-fp/floatsitf.c: Likewise.
2979         * soft-fp/floattidf.c: Likewise.
2980         * soft-fp/floattisf.c: Likewise.
2981         * soft-fp/floattitf.c: Likewise.
2982         * soft-fp/floatundidf.c: Likewise.
2983         * soft-fp/floatundisf.c: Likewise.
2984         * soft-fp/floatunditf.c: Likewise.
2985         * soft-fp/floatunsidf.c: Likewise.
2986         * soft-fp/floatunsisf.c: Likewise.
2987         * soft-fp/floatunsitf.c: Likewise.
2988         * soft-fp/floatuntidf.c: Likewise.
2989         * soft-fp/floatuntisf.c: Likewise.
2990         * soft-fp/floatuntitf.c: Likewise.
2991         * soft-fp/gedf2.c: Likewise.
2992         * soft-fp/gesf2.c: Likewise.
2993         * soft-fp/getf2.c: Likewise.
2994         * soft-fp/ledf2.c: Likewise.
2995         * soft-fp/lesf2.c: Likewise.
2996         * soft-fp/letf2.c: Likewise.
2997         * soft-fp/muldf3.c: Likewise.
2998         * soft-fp/mulsf3.c: Likewise.
2999         * soft-fp/multf3.c: Likewise.
3000         * soft-fp/negdf2.c: Likewise.
3001         * soft-fp/negsf2.c: Likewise.
3002         * soft-fp/negtf2.c: Likewise.
3003         * soft-fp/op-1.h: Likewise.
3004         * soft-fp/op-2.h: Likewise.
3005         * soft-fp/op-4.h: Likewise.
3006         * soft-fp/op-8.h: Likewise.
3007         * soft-fp/op-common.h: Likewise.
3008         * soft-fp/quad.h: Likewise.
3009         * soft-fp/single.h: Likewise.
3010         * soft-fp/soft-fp.h: Likewise.
3011         * soft-fp/subdf3.c: Likewise.
3012         * soft-fp/subsf3.c: Likewise.
3013         * soft-fp/subtf3.c: Likewise.
3014         * soft-fp/truncdfsf2.c: Likewise.
3015         * soft-fp/trunctfdf2.c: Likewise.
3016         * soft-fp/trunctfsf2.c: Likewise.
3017         * soft-fp/trunctfxf2.c: Likewise.
3018         * soft-fp/unorddf2.c: Likewise.
3019         * soft-fp/unordsf2.c: Likewise.
3020         * soft-fp/unordtf2.c: Likewise.
3021         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3022         macro.
3023         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3024         Likewise.
3025         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3026         Likewise.
3027         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3028         Likewise.
3029         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3030         Likewise.
3031         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3032         Likewise.
3033         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3034         Likewise.
3035         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3036         Likewise.
3037         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3038         Likewise.
3039         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3040         Likewise.
3041         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3042         Likewise.
3043         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3044         Likewise.
3045         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3046         Likewise.
3047         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3048         Likewise.
3049         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3050         Likewise.
3051         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3052         Likewise.
3054 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3056         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3057         cannot be represented.
3058         * config/s390/32/_fixsfdi.c: Likewise.
3059         * config/s390/32/_fixtfdi.c: Likewise.
3060         * config/s390/32/_fixunsdfdi.c: Likewise.
3061         * config/s390/32/_fixunssfdi.c: Likewise.
3062         * config/s390/32/_fixunstfdi.c: Likewise.
3064 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3066         * configure.ac (libgcc_cv_mips_hard_float): New.
3067         * configure: Regenerate.
3068         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3069         t-softfp-sfdf for hard-float targets.
3070         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3071         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3072         (softfp_truncations, softfp_exclude_libgcc2): New.
3073         * config/t-hardfp: New file.
3074         * config/t-hardfp-sfdf: Likewise.
3075         * config/hardfp.c: Likewise.
3077 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3079         * config.host: Include t-floattodi also for s390x.
3080         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3081         * config/s390/32/_fixsfdi.c: Likewise.
3082         * config/s390/32/_fixtfdi.c: Likewise.
3083         * config/s390/32/_fixunsdfdi.c: Likewise.
3084         * config/s390/32/_fixunssfdi.c: Likewise.
3085         * config/s390/32/_fixunstfdi.c: Likewise.
3087 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3089         PR target/59788
3090         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3091         (install-libgcc-unwind-map-forbuild): New target.
3092         (all): Depend on install-libgcc-unwind-map-forbuild.
3093         (install-libgcc-unwind-map): New target.
3094         (install): Depend on install-libgcc-unwind-map.
3096 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3098         * config/nios2/crti.S (_init): Initialize GOT pointer from
3099         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3101 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3103         * configure.ac: Check __mips64 when setting host_address.
3104         * configure: Regenerate.
3105         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3106         mips/t-mips64 and t-softfp.
3107         (mips*-*-linux*): Don't add mips/t-tpbit.
3108         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3109         (DPBIT, DPBIT_CFLAGS): Delete.
3110         * config/mips/sfp-machine.h: New file.
3111         * config/mips/t-mips64: Likewise.
3112         * config/mips/t-softfp-tf: Likewise.
3113         * config/mips/t-tpbit: Delete.
3115 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3117         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3118         as long long.
3120 2014-01-25  Walter Lee  <walt@tilera.com>
3122         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3123         config.h or system.h.
3124         (bool) Define.
3126 2014-01-25  Walter Lee  <walt@tilera.com>
3128         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3129         (post_atomic_barrier): Ditto.
3130         (__fetch_and_do): New macro.
3131         (__atomic_fetch_and_do): Use __fetch_and_do.
3132         (__sync_fetch_and_do): New macro.
3133         (__sync_fetch_and_add_4): New function.
3134         (__sync_fetch_and_sub_4): New function.
3135         (__sync_fetch_and_or_4): New function.
3136         (__sync_fetch_and_and_4): New function.
3137         (__sync_fetch_and_xor_4): New function.
3138         (__sync_fetch_and_nand_4): New function.
3139         (__sync_fetch_and_add_8): New function.
3140         (__sync_fetch_and_sub_8): New function.
3141         (__sync_fetch_and_or_8): New function.
3142         (__sync_fetch_and_and_8): New function.
3143         (__sync_fetch_and_xor_8): New function.
3144         (__sync_fetch_and_nand_8): New function.
3145         (__do_and_fetch): New macro.
3146         (__atomic_do_and_fetch): Use __do_and_fetch.
3147         (__sync_do_and_fetch): New macro.
3148         (__sync_add_and_fetch_4): New function.
3149         (__sync_sub_and_fetch_4): New function.
3150         (__sync_or_and_fetch_4): New function.
3151         (__sync_and_and_fetch_4): New function.
3152         (__sync_xor_and_fetch_4): New function.
3153         (__sync_nand_and_fetch_4): New function.
3154         (__sync_add_and_fetch_8): New function.
3155         (__sync_sub_and_fetch_8): New function.
3156         (__sync_or_and_fetch_8): New function.
3157         (__sync_and_and_fetch_8): New function.
3158         (__sync_xor_and_fetch_8): New function.
3159         (__sync_nand_and_fetch_8): New function.
3160         (__sync_exchange_methods): New macro.
3161         (__sync_val_compare_and_swap_4): New function.
3162         (__sync_bool_compare_and_swap_4): New function.
3163         (__sync_lock_test_and_test_4): New function.
3164         (__sync_val_compare_and_swap_8): New function.
3165         (__sync_bool_compare_and_swap_8): New function.
3166         (__sync_lock_test_and_test_8): New function.
3167         (__subword_cmpxchg_body): New macro.
3168         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3169         (__atomic_compare_exchange_2): Ditto.
3170         (__sync_subword_cmpxchg): New macro.
3171         (__sync_val_compare_and_swap_1): New function.
3172         (__sync_bool_compare_and_swap_1): New function.
3173         (__sync_val_compare_and_swap_2): New function.
3174         (__sync_bool_compare_and_swap_2): New function.
3175         (__atomic_subword): Rename to ...
3176         (__subword): ... New name.
3177         (__atomic_subword_fetch): Use __subword.
3178         (__sync_subword_fetch): New macro.
3179         (__sync_fetch_and_add_1): New function.
3180         (__sync_fetch_and_sub_1): New function.
3181         (__sync_fetch_and_or_1): New function.
3182         (__sync_fetch_and_and_1): New function.
3183         (__sync_fetch_and_xor_1): New function.
3184         (__sync_fetch_and_nand_1): New function.
3185         (__sync_fetch_and_add_2): New function.
3186         (__sync_fetch_and_sub_2): New function.
3187         (__sync_fetch_and_or_2): New function.
3188         (__sync_fetch_and_and_2): New function.
3189         (__sync_fetch_and_xor_2): New function.
3190         (__sync_fetch_and_nand_2): New function.
3191         (__sync_add_and_fetch_1): New function.
3192         (__sync_sub_and_fetch_1): New function.
3193         (__sync_or_and_fetch_1): New function.
3194         (__sync_and_and_fetch_1): New function.
3195         (__sync_xor_and_fetch_1): New function.
3196         (__sync_nand_and_fetch_1): New function.
3197         (__sync_add_and_fetch_2): New function.
3198         (__sync_sub_and_fetch_2): New function.
3199         (__sync_or_and_fetch_2): New function.
3200         (__sync_and_and_fetch_2): New function.
3201         (__sync_xor_and_fetch_2): New function.
3202         (__sync_nand_and_fetch_2): New function.
3203         (__atomic_subword_lock): Use __subword.
3204         (__sync_subword_lock): New macro.
3205         (__sync_lock_test_and_set_1): New function.
3206         (__sync_lock_test_and_set_2): New function.
3208 2014-01-25  Walter Lee  <walt@tilera.com>
3210         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3211         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3212         (__atomic_subword): Ditto.
3214 2014-01-25  Walter Lee  <walt@tilera.com>
3216         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3217         a prefix op argument.
3218         (__atomic_nand_fetch_4): Add prefix op.
3219         (__atomic_nand_fetch_8): Ditto.
3221 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3223         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3225 2014-01-09  Rong Xu  <xur@google.com>
3227         * libgcov-driver.c (this_prg): make it local to save
3228         bss space.
3229         (gcov_exit_compute_summary): Ditto.
3230         (gcov_exit_merge_gcda): Ditto.
3231         (gcov_exit_merge_summary): Ditto.
3232         (gcov_exit_dump_gcov): Ditto.
3234 2014-01-08  Rong Xu  <xur@google.com>
3236         * libgcov-driver.c: Use libgcov.h.
3237         (buffer_fn_data): Use xmalloc instead of malloc.
3238         (gcov_exit_merge_gcda): Ditto.
3239         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3240         * libgcov.h: New common header files for libgcov-*.h.
3241         * libgcov-interface.c: Use libgcov.h
3242         * libgcov-merge.c: Ditto.
3243         * libgcov-profiler.c: Ditto.
3244         * Makefile.in: Add dependence to libgcov.h
3246 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3248         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3249         case of small numerator and finite nonzero result.
3251 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3253         Update copyright years
3255 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3257         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3258         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3259         config/arc/dp-hack.h, config/arc/fp-hack.h,
3260         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3261         config/arc/ieee-754/arc600-dsp/divdf3.S,
3262         config/arc/ieee-754/arc600-dsp/divsf3.S,
3263         config/arc/ieee-754/arc600-dsp/muldf3.S,
3264         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3265         config/arc/ieee-754/arc600-mul64/divdf3.S,
3266         config/arc/ieee-754/arc600-mul64/divsf3.S,
3267         config/arc/ieee-754/arc600-mul64/muldf3.S,
3268         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3269         config/arc/ieee-754/arc600/divsf3.S,
3270         config/arc/ieee-754/arc600/mulsf3.S,
3271         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3272         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3273         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3274         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3275         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3276         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3277         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3278         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3279         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3280         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3281         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3282         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3283         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3284         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3285         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3286         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3287         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3288         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3289         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3290         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3291         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3292         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3293         vtv_start_preinit.c: Use the standard form for the copyright notice.
3295 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3296             Chung-Lin Tang  <cltang@codesourcery.com>
3297             Based on patches from Altera Corporation
3299         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3300         * config/nios2/lib2-nios2.h: New file.
3301         * config/nios2/lib2-divmod-hi.c: New file.
3302         * config/nios2/linux-unwind.h: New file.
3303         * config/nios2/lib2-divmod.c: New file.
3304         * config/nios2/linux-atomic.c: New file.
3305         * config/nios2/t-nios2: New file.
3306         * config/nios2/crti.asm: New file.
3307         * config/nios2/t-linux: New file.
3308         * config/nios2/lib2-divtable.c: New file.
3309         * config/nios2/lib2-mul.c: New file.
3310         * config/nios2/tramp.c: New file.
3311         * config/nios2/crtn.asm: New file.
3313 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3315         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3316         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3317         from cpuid.h to check vendor signatures.
3319 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3321         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3322         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3323         (get_amd_cpu): Likewise.
3325 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3327         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3328         Haswell.
3330 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3331             H.J. Lu  <hongjiu.lu@intel.com>
3333         PR target/59422
3334         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3335         and AMD_JAGUAR.
3336         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3337         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3338         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3339         FEATURE_XOP and FEATURE_FMA.
3340         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3341         AMDFAM15H_BDVER3.
3342         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3343         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3344         FEATURE_FMA4 and FEATURE_XOP.
3346 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3348         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3349         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3350         (get_intel_cpu): Updated.
3352 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3354         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3356 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3358         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3359         instructions when __SSE_MATH__ is defined.
3361 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3363         * config.host (microblaze-*-rtems*): New.
3365 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3367         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3368         architectures that do not have hardware divide instruction.
3369         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3371 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3373         * longlong.h: Delete (moved to include/).
3375 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3377         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3378         of normal number and qNaN to not raise an inexact exception.
3380 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3382         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3384 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3386         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3387         for correct opcodes on BE.
3389 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3391         * soft-fp/op-4.h: Update from glibc.
3393 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3395         * libgcc2.c (__udivmoddi4): Define new implementation when
3396         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3397         divide instructions.
3399 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3401         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3403 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3405         * config/t-softfp (soft-fp-objects-base): New variable.
3406         (soft-fp-objects): Use it.
3408 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3409             Andrew Dixie  <andrewd@gentrack.com>
3411         PR target/33704
3412         * config/rs6000/aixinitfini.c: New file.
3413         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3414         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3415         symbols.
3417 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3419         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3421 2013-11-18  Jan Hubicka  <jh@suse.cz>
3423         * libgcov-driver.c (run_accounted): Make global level static.
3424         (gcov_exit_merge_summary): Silence warning; do not clear
3425         run_accounted here.
3426         (gcov_exit): Clear it here.
3428         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3429         run_accounted.
3431         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3432         (all_prg, crc32): Remove static vars.
3433         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3434         all_prg.
3435         (gcov_exit_merge_gcda): Add crc32 parameter.
3436         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3437         do not account run if it was already accounted.
3438         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3439         (gcov_exit): Initialize all_prg; update.
3441 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3443         * configure: Regenerate.
3445 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3446             Alan Modra  <amodra@gmail.com>
3448         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3449         (frob_update_context): Use it.
3451 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3452             Alan Modra  <amodra@gmail.com>
3454         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3455         (trampoline_initial): Provide ELFv2 variant.
3456         (__trampoline_setup): Likewise.
3458         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3459         check for AIX indirect function call sequence if _CALL_ELF == 2.
3461 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3462             Alan Modra  <amodra@gmail.com>
3464         * config/rs6000/linux-unwind.h (get_regs): Do not support
3465         old kernel versions if _CALL_ELF == 2.
3466         (frob_update_context): Do not support PLT stub variants only
3467         generated by old linkers if _CALL_ELF == 2.
3469 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3470             Alan Modra  <amodra@gmail.com>
3472         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3473         location of CR save area for 64-bit little-endian systems.
3475 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3477         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3478         in tmake_file.
3479         * config/arm/t-vxworks: Delete.
3481 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3483         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3484         Increment load-count on use of LIBGCC_SONAME DLL.
3485         (hmod_libgcc): New static variable to hold handle of
3486         LIBGCC_SONAME DLL.
3487         (__gcc_deregister_frame): Decrement load-count of
3488         LIBGCC_SONAME DLL.
3490 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3492         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3493         availability.
3494         * configure: Regenerate
3496 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3498         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3499         FP_EX_DENORM.  Store result to volatile location after SSE division
3500         to close interrupt window.  Remove unneeded fwait after x87
3501         division since interrupt window will be closed by emitted fstp.
3502         Rewrite FP_EX_INEXACT handling.
3504 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3506         * soft-fp/README: Update.
3507         * soft-fp/adddf3.c: Update from glibc.
3508         * soft-fp/addsf3.c: Likewise.
3509         * soft-fp/addtf3.c: Likewise.
3510         * soft-fp/divdf3.c: Likewise.
3511         * soft-fp/divsf3.c: Likewise.
3512         * soft-fp/divtf3.c: Likewise.
3513         * soft-fp/double.h: Likewise.
3514         * soft-fp/eqdf2.c: Likewise.
3515         * soft-fp/eqsf2.c: Likewise.
3516         * soft-fp/eqtf2.c: Likewise.
3517         * soft-fp/extenddftf2.c: Likewise.
3518         * soft-fp/extended.h: Likewise.
3519         * soft-fp/extendsfdf2.c: Likewise.
3520         * soft-fp/extendsftf2.c: Likewise.
3521         * soft-fp/extendxftf2.c: Likewise.
3522         * soft-fp/fixdfdi.c: Likewise.
3523         * soft-fp/fixdfsi.c: Likewise.
3524         * soft-fp/fixdfti.c: Likewise.
3525         * soft-fp/fixsfdi.c: Likewise.
3526         * soft-fp/fixsfsi.c: Likewise.
3527         * soft-fp/fixsfti.c: Likewise.
3528         * soft-fp/fixtfdi.c: Likewise.
3529         * soft-fp/fixtfsi.c: Likewise.
3530         * soft-fp/fixtfti.c: Likewise.
3531         * soft-fp/fixunsdfdi.c: Likewise.
3532         * soft-fp/fixunsdfsi.c: Likewise.
3533         * soft-fp/fixunsdfti.c: Likewise.
3534         * soft-fp/fixunssfdi.c: Likewise.
3535         * soft-fp/fixunssfsi.c: Likewise.
3536         * soft-fp/fixunssfti.c: Likewise.
3537         * soft-fp/fixunstfdi.c: Likewise.
3538         * soft-fp/fixunstfsi.c: Likewise.
3539         * soft-fp/fixunstfti.c: Likewise.
3540         * soft-fp/floatdidf.c: Likewise.
3541         * soft-fp/floatdisf.c: Likewise.
3542         * soft-fp/floatditf.c: Likewise.
3543         * soft-fp/floatsidf.c: Likewise.
3544         * soft-fp/floatsisf.c: Likewise.
3545         * soft-fp/floatsitf.c: Likewise.
3546         * soft-fp/floattidf.c: Likewise.
3547         * soft-fp/floattisf.c: Likewise.
3548         * soft-fp/floattitf.c: Likewise.
3549         * soft-fp/floatundidf.c: Likewise.
3550         * soft-fp/floatundisf.c: Likewise.
3551         * soft-fp/floatunditf.c: Likewise.
3552         * soft-fp/floatunsidf.c: Likewise.
3553         * soft-fp/floatunsisf.c: Likewise.
3554         * soft-fp/floatunsitf.c: Likewise.
3555         * soft-fp/floatuntidf.c: Likewise.
3556         * soft-fp/floatuntisf.c: Likewise.
3557         * soft-fp/floatuntitf.c: Likewise.
3558         * soft-fp/gedf2.c: Likewise.
3559         * soft-fp/gesf2.c: Likewise.
3560         * soft-fp/getf2.c: Likewise.
3561         * soft-fp/ledf2.c: Likewise.
3562         * soft-fp/lesf2.c: Likewise.
3563         * soft-fp/letf2.c: Likewise.
3564         * soft-fp/muldf3.c: Likewise.
3565         * soft-fp/mulsf3.c: Likewise.
3566         * soft-fp/multf3.c: Likewise.
3567         * soft-fp/negdf2.c: Likewise.
3568         * soft-fp/negsf2.c: Likewise.
3569         * soft-fp/negtf2.c: Likewise.
3570         * soft-fp/op-1.h: Likewise.
3571         * soft-fp/op-2.h: Likewise.
3572         * soft-fp/op-4.h: Likewise.
3573         * soft-fp/op-8.h: Likewise.
3574         * soft-fp/op-common.h: Likewise.
3575         * soft-fp/quad.h: Likewise.
3576         * soft-fp/single.h: Likewise.
3577         * soft-fp/soft-fp.h: Likewise.
3578         * soft-fp/subdf3.c: Likewise.
3579         * soft-fp/subsf3.c: Likewise.
3580         * soft-fp/subtf3.c: Likewise.
3581         * soft-fp/truncdfsf2.c: Likewise.
3582         * soft-fp/trunctfdf2.c: Likewise.
3583         * soft-fp/trunctfsf2.c: Likewise.
3584         * soft-fp/trunctfxf2.c: Likewise.
3585         * soft-fp/unorddf2.c: Likewise.
3586         * soft-fp/unordsf2.c: Likewise.
3587         * soft-fp/unordtf2.c: Likewise.
3589 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3591         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3592         (_FP_MUL_MEAT_D): Ditto.
3593         (_FP_DIV_MEAT_S): Ditto.
3594         (_FP_DIV_MEAT_D): Ditto.
3595         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3596         t-softfp-sfdf and t-softfp to tmake_file.
3598 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3600         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3601         * config/i386/crtprec.c: Ditto.
3603 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3604             Shiva Chen  <shiva0217@gmail.com>
3606         * config.host (nds32*-elf*): Add nds32 target.
3607         * config/nds32 : New directory and files.
3609 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3611         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3612         * config.host (cpu_type) <Setting default>: Add entry for
3613         crisv32-*-*.
3614         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3615         <crisv32-*-linux*>: Adjust.
3616         * longlong.h: Wrap the whole CRIS section in a single
3617         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3618         and sub_ddmmss.
3619         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3620         defined.
3621         [__CRIS__] (__umulsidi3): Define.
3622         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3623         * config/cris/sfp-machine.h: New file.
3624         * config/cris/umulsidi3.S: New file.
3625         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3626         * config/cris/arit.c (SIGNMULT): New macro.
3627         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3628         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3629         saving 3 out of originally 33 cycles from the fastest
3630         path, 3 out of 54 from the medium path and one from the longest
3631         path.  Improve comments.
3633 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3635         * sync.c: Remove static aliases and define each function directly
3636         under its real name.
3638 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3640         * config.host (hppa*64*-*-linux*): Define extra_parts.
3641         (hppa*-*-linux*): Likewise.
3643 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3645         * config/arc/crtgend.S: Add 2013 to Copyright years.
3646         * config/arc/gmon/atomic.h: Likewise.
3647         * config/arc/gmon/auxreg.h: Likewise.
3648         * config/arc/gmon/sys/gmon_out.h: Likewise.
3649         * config/arc/gmon/sys/gmon.h: Likewise.
3650         * config/arc/gmon/prof-freq.c: Likewise.
3651         * config/arc/gmon/mcount.c: Likewise.
3652         * config/arc/gmon/prof-freq-stub.S: Likewise.
3653         * config/arc/gmon/gmon.c: Likewise.
3654         * config/arc/gmon/machine-gmon.h: Likewise.
3655         * config/arc/gmon/profil.S: Likewise.
3656         * config/arc/gmon/dcache_linesz.S: Likewise.
3657         * config/arc/crtg.S: Likewise.
3658         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3659         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3660         * config/arc/ieee-754/adddf3.S: Likewise.
3661         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3662         * config/arc/ieee-754/fixsfsi.S: Likewise.
3663         * config/arc/ieee-754/gtsf2.S: Likewise.
3664         * config/arc/ieee-754/floatsisf.S: Likewise.
3665         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3666         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3667         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3668         * config/arc/ieee-754/fixdfsi.S: Likewise.
3669         * config/arc/ieee-754/addsf3.S: Likewise.
3670         * config/arc/ieee-754/gesf2.S: Likewise.
3671         * config/arc/ieee-754/floatsidf.S: Likewise.
3672         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3673         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3674         * config/arc/ieee-754/gtdf2.S: Likewise.
3675         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3676         * config/arc/ieee-754/uneqdf2.S: Likewise.
3677         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3678         * config/arc/ieee-754/uneqsf2.S: Likewise.
3679         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3680         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3681         * config/arc/ieee-754/eqdf2.S: Likewise.
3682         * config/arc/ieee-754/ordsf2.S: Likewise.
3683         * config/arc/ieee-754/divsf3.S: Likewise.
3684         * config/arc/ieee-754/divdf3.S: Likewise.
3685         * config/arc/ieee-754/floatunsidf.S: Likewise.
3686         * config/arc/ieee-754/orddf2.S: Likewise.
3687         * config/arc/ieee-754/eqsf2.S: Likewise.
3688         * config/arc/ieee-754/gedf2.S: Likewise.
3689         * config/arc/crtn.S: Likewise.
3690         * config/arc/crti.S: Likewise.
3691         * config/arc/t-arc700-uClibc: Likewise.
3692         * config/arc/asm.h: Likewise.
3693         * config/arc/libgcc-excl.ver: Likewise.
3694         * config/arc/t-arc-newlib: Likewise.
3695         * config/arc/divtab-arc700.c: Likewise.
3696         * config/arc/initfini.c: Likewise.
3697         * config/arc/fp-hack.h: Likewise.
3699 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3700             Diego Novillo  <dnovillo@google.com>
3702         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3703         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3704         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3705         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3707 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3708             Brendan Kehoe  <brendan@zen.org>
3709             Simon Cook  <simon.cook@embecosm.com>
3711         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3712         * config/arc: New directory.
3713         * longlong.h [__arc__] (umul_ppmm): Remove.
3714         [__arc__] (__umulsidi3): Define.
3715         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3716         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3718 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3720         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3721         CreateSemaphoreA.
3722         * config/i386/gthr-win32.h: Likewise.
3724 2013-09-16  DJ Delorie  <dj@redhat.com>
3726         * config/rl78/vregs.h: Add G10 register definitions.
3727         * config/rl78/lib2mul.c: Enable for RL78/G10.
3728         * config/rl78/lib2div.c: Likewise.
3729         * config/rl78/lshrsi3.S: Use vregs.h.
3730         * config/rl78/cmpsi2.S: Likewise.
3731         * config/rl78/trampoline.S: Likewise.
3732         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3734 2013-09-14  DJ Delorie  <dj@redhat.com>
3735             Nick Clifton  <nickc@redhat.com>
3737         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3738         * config/rl78/vregs.h: New.
3739         * config/rl78/signbit.S: New file.  Implements signbit function.
3740         * config/rl78/divmodsi.S: New.
3741         * config/rl78/divmodhi.S: New.
3742         * config/rl78/divmodqi.S: New.
3743         * config/rl78/t-rl78: Build them here...
3744         * config/rl78/lib2div.c: ...but not here.
3746 2013-09-12  DJ Delorie  <dj@redhat.com>
3748         * config.host (msp*-*-elf): New.
3749         * config/msp430/: New port.
3751 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3753         PR gcov-profile/58127
3754         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3755         __thread var for emulated TLS.
3756         (__gcov_indirect_call_counters): Likewise.
3758 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3759             Catherine Moore  <clm@codesourcery.com>
3760             Richard Sandiford  <rdsandiford@googlemail.com>
3762         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3763         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3764         (CALL_STUB_NO_RET): Likewise.
3765         (CALL_STUB_RET): Likewise.
3766         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3767         __mips16_ret call/return stub symbols.
3768         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3769         to tmake_file.
3771 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3773         * config.host <mips*-*-linux*>: Remove a stray comment.
3775 2013-08-10  Jan Hubicka  <jh@suse.cz>
3777         Work around binutils PR14342
3778         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3779         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3780         (L_gcov_indirect_call_profiler_v2): New.
3782 2013-08-06  Jan Hubicka  <jh@suse.cz>
3784         * libgcov.c (__gcov_indirect_call_callee,
3785         __gcov_indirect_call_counters): New global vars.
3786         (__gcov_indirect_call_profiler): replace by ...
3787         (__gcov_indirect_call_profiler_v2) ... this one.
3789 2013-08-06  Caroline Tice  <cmtice@google.com>
3791         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3792         vtv_start_preinit.o and vtv_end_preinit.o.
3793         * configure.ac: Add code to check/set enable_vtable_verify.
3794         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3795         true.
3796         * vtv_start_preinit.c: New file.
3797         * vtv_end_preinit.c: New file.
3798         * vtv_start.c: New file.
3799         * vtv_end.c: New file.
3800         * configure: Regenerated.
3802 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3804         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3805         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3806         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3807         GPL-3.0-with-GCC-exception.
3809 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3811         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3812         ISA and up.
3814 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3816         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3817         mapping for FPRs when creating the fallback framestate.
3819 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3821         PR target/57516
3822         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3823         (__round_s2_const, __round_u2_const)
3824         (__round_s4_const, __round_u4_const, __round_x8):
3825         Saturate result if addition result cannot be represented.
3827 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3829         * libgcc2.c: Don't include <limits.h>.
3831 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3833         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3835 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3837         PR target/29776
3838         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3840 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3842         PR middle-end/36041
3843         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3844         Define.
3845         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3846         instead of table lookups.
3847         (__popcountDI2): Likewise.
3849 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3851         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3852         correctly.
3854 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3856         PR other/53317
3857         * soft-fp/adddf3.c: Update from glibc.
3858         * soft-fp/addsf3.c: Likewise.
3859         * soft-fp/addtf3.c: Likewise.
3860         * soft-fp/divdf3.c: Likewise.
3861         * soft-fp/divsf3.c: Likewise.
3862         * soft-fp/divtf3.c: Likewise.
3863         * soft-fp/double.h: Likewise.
3864         * soft-fp/eqdf2.c: Likewise.
3865         * soft-fp/eqsf2.c: Likewise.
3866         * soft-fp/eqtf2.c: Likewise.
3867         * soft-fp/extenddftf2.c: Likewise.
3868         * soft-fp/extended.h: Likewise.
3869         * soft-fp/extendsfdf2.c: Likewise.
3870         * soft-fp/extendsftf2.c: Likewise.
3871         * soft-fp/fixdfdi.c: Likewise.
3872         * soft-fp/fixdfsi.c: Likewise.
3873         * soft-fp/fixsfdi.c: Likewise.
3874         * soft-fp/fixsfsi.c: Likewise.
3875         * soft-fp/fixtfdi.c: Likewise.
3876         * soft-fp/fixtfsi.c: Likewise.
3877         * soft-fp/fixunsdfdi.c: Likewise.
3878         * soft-fp/fixunsdfsi.c: Likewise.
3879         * soft-fp/fixunssfdi.c: Likewise.
3880         * soft-fp/fixunssfsi.c: Likewise.
3881         * soft-fp/fixunstfdi.c: Likewise.
3882         * soft-fp/fixunstfsi.c: Likewise.
3883         * soft-fp/floatdidf.c: Likewise.
3884         * soft-fp/floatdisf.c: Likewise.
3885         * soft-fp/floatditf.c: Likewise.
3886         * soft-fp/floatsidf.c: Likewise.
3887         * soft-fp/floatsisf.c: Likewise.
3888         * soft-fp/floatsitf.c: Likewise.
3889         * soft-fp/floatundidf.c: Likewise.
3890         * soft-fp/floatundisf.c: Likewise.
3891         * soft-fp/floatunditf.c: Likewise.
3892         * soft-fp/floatunsidf.c: Likewise.
3893         * soft-fp/floatunsisf.c: Likewise.
3894         * soft-fp/floatunsitf.c: Likewise.
3895         * soft-fp/gedf2.c: Likewise.
3896         * soft-fp/gesf2.c: Likewise.
3897         * soft-fp/getf2.c: Likewise.
3898         * soft-fp/ledf2.c: Likewise.
3899         * soft-fp/lesf2.c: Likewise.
3900         * soft-fp/letf2.c: Likewise.
3901         * soft-fp/muldf3.c: Likewise.
3902         * soft-fp/mulsf3.c: Likewise.
3903         * soft-fp/multf3.c: Likewise.
3904         * soft-fp/negdf2.c: Likewise.
3905         * soft-fp/negsf2.c: Likewise.
3906         * soft-fp/negtf2.c: Likewise.
3907         * soft-fp/op-1.h: Likewise.
3908         * soft-fp/op-2.h: Likewise.
3909         * soft-fp/op-4.h: Likewise.
3910         * soft-fp/op-8.h: Likewise.
3911         * soft-fp/op-common.h: Likewise.
3912         * soft-fp/quad.h: Likewise.
3913         * soft-fp/single.h: Likewise.
3914         * soft-fp/soft-fp.h: Likewise.
3915         * soft-fp/subdf3.c: Likewise.
3916         * soft-fp/subsf3.c: Likewise.
3917         * soft-fp/subtf3.c: Likewise.
3918         * soft-fp/truncdfsf2.c: Likewise.
3919         * soft-fp/trunctfdf2.c: Likewise.
3920         * soft-fp/trunctfsf2.c: Likewise.
3921         * soft-fp/unorddf2.c: Likewise.
3922         * soft-fp/unordsf2.c: Likewise.
3923         * soft-fp/unordtf2.c: Likewise.
3924         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3925         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3926         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3927         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3928         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3929         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3930         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3931         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3932         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3933         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3934         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3935         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3937 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3939         * config/mips/lib2funcs.c: New file.
3940         * config/mips/t-mips (LIB2ADD_ST): Add it.
3942 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3944         PR target/6526
3945         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3946         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3948 2013-06-08  Walter Lee  <walt@tilera.com>
3950         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3951         Replace int64_t with long long.  Add __extension__ where
3952         appropriate.
3953         * config/tilepro/atomic.c: Include config.h.
3955 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3957         * config.host (arm-wrs-vxworks): Configure with other soft float.
3959 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3961         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3962         (mips64r5900el-*-elf*): New configurations.
3964 2013-06-04  Alan Modra  <amodra@gmail.com>
3966         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3968 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3970         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3972 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3974         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3975         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3976         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3978 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3980         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3981         (powerpc-wrs-vxworks): Likewise.
3983 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3985         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3986         signal frames as well.
3987         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3988         STACK_BIAS to the CFA offset.
3990 2013-05-17  Richard Henderson  <rth@redhat.com>
3992         PR target/49146
3993         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3994         (execute_cfa_program): Use it when storing to fs->regs.
3996 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3998         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3999         (__deregister_frame_info): Likewise.
4001 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4003         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4004         NaN's payload.
4006         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4008 2013-04-25  Alan Modra  <amodra@gmail.com>
4010         * config.host: Match little-endian powerpc-linux.
4012 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4014         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4015         as 'unsigned long long' instead of 'unsigned long'.
4016         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4017         'signed long'.
4019 2013-04-10  Julian Brown  <julian@codesourcery.com>
4021         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4022         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4023         unsigned char/unsigned short.
4024         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4026 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4028         PR other/55274
4029         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4031 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4033         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4034         computing the location of the link register.
4035         (aeabi_uldivmod): Ditto.
4037 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4039         * config.host: Add support for cygwin x64 target.
4040         * configure: Regenerated.
4042 2013-03-26  Walter Lee  <walt@tilera.com>
4044         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4045         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4047 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4049         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4051 2013-03-20  Robert Mason  <rbmj@verizon.net>
4053         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4054         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4055         (__gthread_leave_tsd_dtor_context): Add prototypes.
4056         (tls_delete_hook): Update.
4058 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4059             Joseph Myers  <joseph@codesourcery.com>
4060             Chao-ying Fu  <fu@mips.com>
4062         * config/mips/mips16.S:  Don't build for microMIPS.
4063         * config/mips/linux-unwind.h: Handle microMIPS frame.
4064         * config/mips/crtn.S (fini, init): New labels.
4066 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4068         PR tree-optimization/53265
4069         * unwind-dw2.c (execute_cfa_program): Avoid
4070         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4071         on targets with DWARF_FRAME_REGISTERS < 32.
4073 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4075         PR target/49880
4076         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4077         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4079 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4081         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4082         sandybridge processors.
4084 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4086         PR target/56529
4087         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4088         inclusion list.
4090 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4092         * config/microblaze/crti.S: Setup stack protection at entry
4094 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4096         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4097         (__rotldi3): Shift bytewise if applicable.
4099 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4101         * config/aarch64/sync-cache.c
4102         (__aarch64_sync_cache_range): Silence warnings.
4104 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4106         Revert:
4107         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4108             Joseph Myers  <joseph@codesourcery.com>
4109             Chao-ying Fu  <fu@mips.com>
4111         * config/mips/mips16.S:  Don't build for microMIPS.
4112         * config/mips/linux-unwind.h: Handle microMIPS frame.
4113         * config/mips/crtn.S (fini, init): New labels.
4115 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4116             Joseph Myers  <joseph@codesourcery.com>
4117             Chao-ying Fu  <fu@mips.com>
4119         * config/mips/mips16.S:  Don't build for microMIPS.
4120         * config/mips/linux-unwind.h: Handle microMIPS frame.
4121         * config/mips/crtn.S (fini, init): New labels.
4123 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4124         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4125         as dividend.
4127 2013-02-16  Alan Modra  <amodra@gmail.com>
4129         PR target/55431
4130         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4131         (ppc_fallback_frame_state): Always set up save locations for fp
4132         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4133         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4135 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4137         PR target/54222
4138         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4139         _ssmulHA, _ssmulSA.
4140         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4141         _ssmulha3, _usmulusa3, _ssmulsa3.
4142         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4143         (__muldi3): XCALL __muldi3_6 instead of rcall.
4144         (__umulsidi3, __mulsidi3): New functions.
4145         (do_prologue_saves, do_epilogue_restores): New .macros.
4146         (__divdi3_moddi3): Use them.
4147         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4148         (__usmulusa3, __ssmulsa3): New functions.
4150 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4151             Jack Howarth  <howarth@bromo.med.uc.edu>
4152             Patrick Marlier  <patrick.marlier@gmail.com>
4154         PR libitm/55693
4155         * config/darwin-crt-tm.c: Remove dummy functions hack.
4157 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4159         PR target/54222
4160         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4161         * config/avr/lib2-object.mk: New iterator to build objects from it.
4162         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4163         lib2funcs.c.
4164         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4165         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4166         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4167         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4168         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4169         * config/avr/lib1funcs-fixed.S: Implement them.
4171 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4173         Update copyright years.
4175 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4177         PR target/54601
4178         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4179         Add crtcxa to extra_parts.
4180         * config/rs6000/exit.h: New file.
4181         * config/rs6000/cxa_atexit.c: New file.
4182         * config/rs6000/cxa_finalize.c: New file.
4183         * config/rs6000/crtcxa.c: New file.
4184         * config/rs6000/t-aix-cxa: New file.
4185         * config/rs6000/libgcc-aix-cxa.ver: New file.
4187 2013-01-31  Nick Clifton  <nickc@redhat.com>
4189         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4190         variant.
4192 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4194         PR target/54222
4195         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4196         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4197         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4198         _divQQ,  _divHQ,  _divHA,  _divSA,
4199         _divUQQ, _divUHQ, _divUHA, _divUSA.
4201 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4203         * config.host(microblaze*-linux*): tmake_file: Remove
4204         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4205         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4206         to exclude functions from being built with libgcc.c and use
4207         the microblaze assembly.
4209 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4211         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4212         extra_parts.
4214 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4216         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4217         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4218         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4219         alignment operation.
4221 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4223         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4224         loop start address for cache clearing.
4226 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4228         * config/avr/lib1funcs.S: Remove trailing blanks.
4229         * config/avr/lib1funcs-fixed.S: Ditto.
4231 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4233         * config/avr/avr-lib.h: Add GPL copyright notice.
4235 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4237         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4238         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4239         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4240         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4242 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4244         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4245         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4247 2013-01-04  Nick Clifton  <nickc@redhat.com>
4249         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4250         the CALLT instruction is supported.
4252 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4254         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4255         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4257 2012-12-13  John Tytgat  <John@bass-software.com>
4259         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4260         is 25.
4262 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4264         PR libgcc/55451
4265         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4266         undefined signed overflows.
4268 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4270         PR target/55344
4271         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4273 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4275         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4276         (FP_TRAPPING_EXCEPTIONS): Define.
4277         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4278         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4280 2012-12-04  Richard Henderson  <rth@redhat.com>
4282         PR bootstrap/55571
4283         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4285 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4287         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4288         (FP_EX_SHIFT): Define.
4289         (FP_TRAPPING_EXCEPTIONS): Define.
4291 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4293         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4294         (FP_ROUNDMODE): Use FP_RND_MASK.
4295         * config/aarch64/sfp-exceptions.c: New.
4296         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4297         Use __sfp_handle_exceptions.
4299 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4301         * config.host: (arm*-*-freebsd*): Remove.
4302         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4303         (arm*-*-elf*): Remove.
4304         (arm*-*-wince-pe*): Remove.
4305         * arm/unwind-arm.c (struct fpa_reg): Delete.
4306         (struct fpa_regs): Delete.
4307         (phase1_vrs): Remove fpa element.
4308         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4309         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4310         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4311         * ieee754-sf.S (floatundisf): Remove FPA support.
4312         (floatdisf): Likewise.
4313         * ieee75f-df.S (floatundidf): Likewise.
4314         (floatdidf): Likewise.
4316 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4318         PR target/55445
4319         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4320         * unwind-generic.h: Likewise.
4321         * unwind-seh.c: Likewise.
4323 2012-11-28  Richard Henderson  <rth@redhat.com>
4325         PR libgcc/48076
4326         * emutls.c (__emutls_get_address): Avoid race condition between
4327         obj->loc.offset read and emutls_key initialization.
4329 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4331         Adjust decimal point of signed accum mode to GCC default.
4333         PR target/54222
4334         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4335         _divqq_helper.
4336         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4337         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4338         (__mulha3, __mulsa3)
4339         (__divqq3, __divha3, __divsa3): Adjust to new position of
4340         decimal point of signed accum types.
4342         (__mulusa3_round): New function.
4343         (__mulusa3): Use it.
4344         (__divqq_helper): New function.
4345         (__udivuqq3): Use it.
4347 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4349         PR bootstrap/55370
4350         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4352 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4354         PR bootstrap/55051
4355         * libgcov.c (gcov_exit): Remove merged program summary
4356         comparison unless !GCOV_LOCKED.
4358 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4360         * soft-fp: Updated from glibc upstream.
4362 2012-11-06  Ian Lance Taylor  <iant@google.com>
4364         * generic-morestack.c (__generic_morestack): Align the returned
4365         stack pointer to a 32 byte boundary.
4366         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4367         increment the return address until we have decided that we don't
4368         have a varargs function.
4369         (__morestack) [32-bit]: Align stack correctly when calling C
4370         functions.
4371         (__morestack) [64-bit]: Likewise.
4373 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4375         * configure: Regenerate.
4377 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4379         PR target/55175
4380         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4381         * config/i386/sfp-machine.h: Guard exception handling
4382         code with _SOFT_FLOAT.
4383         * config/i386/32/sfp-machine.h: Guard rounding handling
4384         code with _SOFT_FLOAT.
4385         * config/i386/64/sfp-machine.h: Ditto.
4387 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4389         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4390         as extra_parts.
4392 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4394         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4395         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4396         when appropriate.  Correct structure element types.
4397         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4398         -minline-all-stringops from compile flags.
4400 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4402         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4404 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4406         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4408 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4410         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4411         tmake_file.
4413 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4414             Jim MacArthur  <jim.macarthur@arm.com>
4415             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4416             Nigel Stephens  <nigel.stephens@arm.com>
4417             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4418             Richard Earnshaw  <rearnsha@arm.com>
4419             Sofiane Naci  <sofiane.naci@arm.com>
4420             Stephen Thomas  <stephen.thomas@arm.com>
4421             Tejas Belagod  <tejas.belagod@arm.com>
4422             Yufeng Zhang  <yufeng.zhang@arm.com>
4424         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4425         * config/aarch64/crti.S: New file.
4426         * config/aarch64/crtn.S: New file.
4427         * config/aarch64/linux-unwind.h: New file.
4428         * config/aarch64/sfp-machine.h: New file.
4429         * config/aarch64/sync-cache.c: New file.
4430         * config/aarch64/t-aarch64: New file.
4431         * config/aarch64/t-softfp: New file.
4433 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4435         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4436         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4437         no-longer-needed LDBU insns.
4439 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4441         * config.host
4442         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4443         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4445 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4447         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4449 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4451         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4453 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4455         * configure: Regenerate.
4456         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4458 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4460         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4461         instructions for 64bit targets only.
4463 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4465         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4466         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4467         * config/i386/32/sfp-machine.h: ... here.
4468         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4469         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4470         New defines.
4472 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4474         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4475         as unused.
4476         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4478 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4480         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4481         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4482         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4483         (ElfW): Likewise.
4485 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4487         PR other/53889
4488         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4489         Fix parameter names.
4491 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4493         PR target/33135
4494         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4495         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4496         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4498 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4500         PR target/50457
4501         * config/sh/linux-atomic.S: Delete.
4502         * config/sh/linux-atomic.c: New.
4503         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4504         linux-atomic.c.  Add cflags to disable warnings.
4506 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4508         PR other/53889
4509         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4510         function.
4511         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4512         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4513         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4514         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4515         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4516         Likewise.
4517         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4518         Likewise.
4519         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4520         Likewise.
4521         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4522         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4524 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4526         * config.host (hppa-*-openbsd*): New target.
4527         * config/pa/t-openbsd: New file.
4529 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4531         PR target/54222
4532         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4533         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4534         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4535         (__divsa3): Use __negsi2 to negate r_quoL.
4536         * config/avr/lib1funcs.S (FALIAS): New macro.
4537         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4538         (__negsi2): ...this new function.
4539         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4540         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4541         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4542         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4543         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4544         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4546 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4548         PR target/54089
4549         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4550         (lshrsi3): Reimplement as lshrsi3_r0.
4552 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4554         PR target/46191
4555         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4556         of libgcc.a.
4558 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4560         PR gcov-profile/54487
4561         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4562         differences.
4564 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4566         PR target/54461
4567         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4568         not configured --with-avrlibc=no.
4569         * config/avr/t-avrlibc: New file.
4570         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4571         (DPBIT_FUNCS): Ditto.
4572         (TPBIT_FUNCS): Ditto.
4574 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4576         * libgcov.c (struct gcov_summary_buffer): New structure.
4577         (gcov_histogram_insert): New function.
4578         (gcov_compute_histogram): Ditto.
4579         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4580         histograms during summary merging.
4582 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4584         * config.host (x86_64-*-openbsd*): New target.
4586 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4588         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4589         attribute.
4591 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4593         PR target/54222
4594         * config/avr/t-avr (conv_X): Rename to func_X.
4596 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4598         PR target/54222
4599         * config/avr/lib1funcs-fixed.S: New file.
4600         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4601         after they are used.
4602         (neg2, neg4): New macros.
4603         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4604         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4605         (__umulhisi3): Speed up MUL variant if there is enough flash.
4606         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4607         avr-modes.def.
4608         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4609         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4610         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4611         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4612         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4613         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4614         (LIB2FUNCS_EXCLUDE): Add supported functions.
4616 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4618         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4619         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4620         libgcc-s-objects.
4621         * fixed-obj.mk: Only expand dependency if $o is not in
4622         LIB2FUNCS_EXCLUDE.
4624 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4626         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4628 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4630         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4631         depend on --enable-shared.
4632         ($(lib1asmfuncs-o)): Use %.vis files independent of
4633         --enable-shared.
4634         * static-object.mk ($(base)$(objext), $(base).vis)
4635         ($(base)_s$(objext)): Use same rules for visibility handling as in
4636         shared-object.mk.
4638 2012-08-21  Ian Lance Taylor  <iant@google.com>
4640         * config/i386/morestack.S (__morestack_non_split): Increase amount
4641         of space allocated for non-split code stack.
4643 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4645         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4646         even if inhibit_libc.
4648 2012-08-17  Julian Brown  <julian@codesourcery.com>
4650         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4651         -fexceptions -fnon-call-exceptions if not defined.
4652         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4653         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4655 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4657         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4658         type.
4660 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4662         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4663         rs6000/t-slibgcc-aix.
4665 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4667         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4669 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4671         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4673 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4675         PR driver/54171
4676         * Makefile.in (version): Replace top_srcdir with srcdir.
4678 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4680         * Makefile.in (version): set to BASE-VER file from gcc directory.
4682 2012-08-01  Nick Clifton  <nickc@redhat.com>
4684         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4685         Implements __clrsb for an HImode argument.
4687 2012-07-31  Nick Clifton  <nickc@redhat.com>
4689         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4690         Implements __clrsb for an HImode argument.
4691         * config/stormy16/clrsbhi2.c: New file:
4692         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4694 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4696         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4698 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4699             Richard Henderson  <rth@redhat.com>
4701         * unwind-seh.c: New file.
4702         * unwind-generic.h: Include windows.h for SEH.
4703         (_Unwind_Exception): Use 6 private fields for SEH.
4704         (_GCC_specific_handler): Declare.
4705         * unwind-c.c (__gcc_personality_seh0): New function.
4706         Adjust for SEH.
4707         * config/i386/libgcc-cygming.ver: New file.
4708         * config/i386/t-seh-eh: New file.
4709         * config.host (x86_64-*-mingw*): Default to seh.
4711 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4713         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4715 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4717         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4718         __builtin_expect when checking for exceptions.
4719         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4721 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4723         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4724         function declaration.
4725         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4726         (FP_RND_MASK): New.
4727         * config/ia64/sfp-exceptions.c: New.
4728         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4730 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4732         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4733         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4734         * config/i386/64/sfp-machine: ... (delete here) ...
4735         * config/i386/sfp-machine.h: ... to here.
4736         (FP_EX_MASK): Remove.
4737         (FP_RND_MASK): New.
4738         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4740 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4742         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4743         * config/i386/libgcc-sol2.ver: Ditto.
4744         * config/i386/libgcc-glibc.ver: Ditto.
4746 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4748         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4749         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4750         pthread_cancel.
4752 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4754         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4755         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4756         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4757         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4758         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4759         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4760         * config/i386/64/sfp-machine: ... (delete here) ...
4761         * config/i386/sfp-machine.h: ... to here.
4762         (FP_EX_MASK): New.
4763         (__sfp_handle_exceptions): New function declaration.
4764         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4765         * config/i386/sfp-exceptions.c: New.
4766         * config/i386/t-softfp: New.
4767         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4768         i386/t-softfp to tmake_file.
4770 2012-06-03  David S. Miller  <davem@davemloft.net>
4772         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4773         change.
4775 2012-05-31  David S. Miller  <davem@davemloft.net>
4777         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4778         multiply and divide instructions on 32-bit when V9.
4779         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4781 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4783         * config/arm/ieee754-df.S: Fix typos.
4784         * config/arm/ieee754-sf.S: Fix typos.
4785         * config/c6x/libunwind.S: Fix typos.
4786         * config/epiphany/udivsi3-float.c: Fix typos.
4787         * config/microblaze/muldi3_hard.S: Fix typos.
4788         * config/picochip/adddi3.S: Fix typos.
4789         * config/picochip/ashlsi3.S: Fix typos.
4790         * config/picochip/ashrsi3.S: Fix typos.
4791         * config/picochip/clzsi2.S: Fix typos.
4792         * config/picochip/cmpsi2.S: Fix typos.
4793         * config/picochip/divmod15.S: Fix typos.
4794         * config/picochip/divmodhi4.S: Fix typos.
4795         * config/picochip/divmodsi4.S: Fix typos.
4796         * config/picochip/longjmp.S: Fix typos.
4797         * config/picochip/lshrsi3.S: Fix typos.
4798         * config/picochip/parityhi2.S: Fix typos.
4799         * config/picochip/popcounthi2.S: Fix typos.
4800         * config/picochip/setjmp.S: Fix typos.
4801         * config/picochip/subdi3.S: Fix typos.
4802         * config/picochip/ucmpsi2.S: Fix typos.
4803         * config/picochip/udivmodhi4.S: Fix typos.
4804         * config/picochip/udivmodsi4.S: Fix typos.
4805         * config/spu/divv2df3.c: Fix typos.
4806         * config/spu/mfc_multi_tag_release.c: Fix typos.
4807         * config/spu/mfc_tag_release.c: Fix typos.
4808         * configure.ac: Fix typos.
4809         * configure: Regenerate.
4811 2012-05-25  Ian Lance Taylor  <iant@google.com>
4813         * config/i386/morestack.S (__morestack_non_split): Check whether
4814         caller is varargs and needs %bp to hold the stack frame on return.
4816 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4818         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4819         sequence in the non pic case on VxWorks.
4821 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4823         * Makefile.in: Move dependency on install-unwind_h from
4824         "install-leaf" to "install".
4826 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4828         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4829         Use a separate command for stamp removals.
4831 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4833         PR bootstrap/53183
4834         * configure.ac: Define the default includes to being none.
4835         * configure: Regenerate.
4837 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4839         * Makefile.in (install-unwind_h): Rename into ...
4840         (install-unwind_h-forbuild): New target.
4841         (all): Use it instead of the former install-unwind_h.
4842         (install-unwind_h): Reinstate, copy to user install destination
4843         for include files, not to the internal gcc object directory one.
4844         (install-leaf): Depend on it.
4846 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4848         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4849         register numbers. LR_REGNO replaces R_LR.
4850         (ucontext_for): New, helper for ...
4851         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4852         and 5.3 of ...
4853         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4855 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4857         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4858         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4859         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4860         i386/t-cpuinfo ...
4861         (i[34567]86-*-*, x86_64-*-*): ... here.
4863         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4864         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4866         * config/i386/i386-cpuinfo.c: Rename to ...
4867         * config/i386/cpuinfo.c: ... this.
4868         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4870         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4871         (libgcc_cv_init_priority): New test.
4872         * configure: Regenerate.
4873         * config.in: New file.
4874         * Makefile.in (clean): Rename config.h to auto-target.h.
4875         (config.h): Likewise.
4876         (stamp-h): Likewise.
4878         * config/i386/cpuinfo.c (auto-target.h): Include.
4879         (CONSTRUCTOR_PRIORITY): Define.
4880         (__cpu_indicator_init): Use it.
4882 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4884         * longlong.h: Use a URL instead of an FSF postal address.
4885         Replace spaces with tab.
4887 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4889         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4890         (__gcov_dump): Ditto.
4891         (gcov_dump_complete): New global variable.
4892         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4893         (__gcov_flush): Outline functionality now in gcov_clear.
4894         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4896 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4898         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4899         (mips*-*-linux*): Include mips/t-tpbit when long double is
4900         16 bytes long.
4902 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4904         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4905         (get_available_features): New argument. Check for AVX2.
4906         (__cpu_indicator_init): Modify call to get_available_features.
4908 2012-04-25  Alan Modra  <amodra@gmail.com>
4910         * config/rs6000/crtsavevr.S: New file.
4911         * config/rs6000/crtrestvr.S: New file.
4912         * config/rs6000/t-savresfgpr: Build the above.
4913         * config/rs6000/t-netbsd: Likewise.
4915 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4917         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4919 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4921         * libgcc/config/i386/i386-cpuinfo.c: New file.
4922         * libgcc/config/i386/t-cpuinfo: New file.
4923         * libgcc/config.host: Include t-cpuinfo.
4924         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4926 2012-04-24  Chao-ying Fu  <fu@mips.com>
4928         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4930 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4932         struct siginfo vs. siginfo_t
4934         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4935         siginfo_t instead of struct siginfo.
4936         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4937         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4938         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4939         (ia64_handle_unwabi): Likewise.
4940         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4941         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4942         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4943         (sh_fallback_frame_state): Likewise.
4944         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4945         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4947 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4949         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4950         system call number.
4952 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4954         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4955         if it hasn't been previously saved.
4957 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4959         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4960         only for glibc.
4962 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4964         PR target/52737
4965         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4966         instead of __AVR_HAVE_8BIT_SP__.
4968 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4970         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4971         (unw_table_entry): Use unw_word instead of unsigned long.
4972         (_Unwind_FindTableEntry): Likewise.
4973         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4974         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4975         (_Unwind_FindTableEntry): Likewise.
4976         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4977         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4978         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4979         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4980         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4981         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4982         (uw_init_context_1, uw_install_context): Likewise.
4983         (unw_word): Move to unwind-ia64.h
4985 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4987         * config/vms/vms-ucrt0.c: Update copyright years.
4988         Add a sanity check.
4989         (___gcc_main_flags): Declare.
4990         (__main): Check flags to remap argv and exit code.
4991         * config.host (*-*-*vms*): Adjust extra_parts.
4992         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4993         (crt0.o): Add.
4995 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4997         * arm/lib1funcs.asm (ctzsi2): New function.
4998         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4999         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5000         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5001         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5002         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5003         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5005 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5007         * config.host: Add bits to support powerpc64-*-freebsd*.
5008         * config/rs6000/freebsd-unwind.h: New file.
5009         * config/rs6000/t-freebsd64: New file.
5011 2012-03-20  Richard Guenther  <rguenther@suse.de>
5013         PR gcov-profile/52627
5014         * libgcov.c (init_mx): Fix mutex name.
5016 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5018         * config/ia64/vms-unwind.h: Remove ulong (and replace
5019         it by unw_reg where used).  Define unw_reg with __int64.
5021 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5023         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5024         Solaris 8 handling.
5025         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5026         Solaris 8 handling.
5027         (sparc_is_sighandler): Likewise.
5029 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5031         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5032         <= saved reg size.
5034 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5036         * config/arm/crtn.S: Fix typo.
5038 2012-03-13  Richard Guenther  <rguenther@suse.de>
5040         * libgcov.c: Remove stdio.h include and NULL un-define.
5042 2012-03-13  Richard Guenther  <rguenther@suse.de>
5044         PR target/52569
5045         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5047 2012-03-13  Richard Guenther  <rguenther@suse.de>
5049         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5051 2012-03-13  Richard Guenther  <rguenther@suse.de>
5053         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5054         and __gthread_mutex_init_function definitions.
5056 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5058         * config.host (mips*-*-openbsd*): Remove.
5060 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5062         * config.host: Remove alpha*-dec-osf5.1* handling.
5063         * config/alpha/gthr-posix.c: Remove.
5064         * config/alpha/libgcc-osf5.ver: Remove.
5065         * config/alpha/osf5-unwind.h: Remove.
5066         * config/alpha/t-osf-pthread: Remove.
5067         * config/alpha/t-slibgcc-osf: Remove.
5068         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5069         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5070         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5071         * mkmap-flat.awk: Remove osf_export handling.
5073 2012-03-12  Richard Guenther  <rguenther@suse.de>
5075         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5076         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5077         (__gthread_mutex_init_function): New function.
5078         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5080         PR gcov/49484
5081         * libgcov.c: Include gthr.h.
5082         (__gcov_flush_mx): New global variable.
5083         (init_mx, init_mx_once): New functions.
5084         (__gcov_flush): Protect self with a mutex.
5085         (__gcov_fork): Re-initialize mutex after forking.
5086         * unwind-dw2-fde.c: Change condition under which to use
5087         __GTHREAD_MUTEX_INIT_FUNCTION.
5089 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5091         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5092         * config/ia64/t-vms: Likewise.
5094 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5096         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5097         for Thumb-2.
5099 2012-03-07  Walter Lee  <walt@tilera.com>
5101         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5102         "arch_atomic_".
5103         (atomic_xor): Rename and move definition to
5104         config/tilepro/atomic.h.
5105         (atomic_nand): Ditto.
5106         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5107         "arch_atomic_".
5108         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5109         (arch_atomic_nand): Ditto.
5111 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5113         PR target/52507
5114         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5116 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5118         PR target/52505
5119         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5120         from RAM.
5122 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5124         PR target/52461
5125         PR target/52508
5126         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5127         if RAMPZ affects reading from RAM.
5128         (__tablejump_elpm__): Ditto.
5129         (.xload): Ditto.
5130         (__movmemx_hi): Ditto.
5131         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5132         (__do_global_dtors): Ditto.
5133         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5134         (__movmemx_hi): Ditto.
5136 2012-03-05  Richard Henderson  <rth@redhat.com>
5138         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5139         [ARM] (count_trailing_zeros): Use the builtin.
5141 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5143         * soft-fp: Imported from glibc upstream.
5145 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5147         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5148         for mingw-targets as attribute gcc_struct.
5150 2012-02-28  Ian Lance Taylor  <iant@google.com>
5152         * generic-morestack.c (__splitstack_releasecontext): Correct call
5153         to __morestack_release_segments.
5155 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5157         PR target/52390
5158         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5159         for __linux__ when removing signals from __morestack_fullmask.
5161 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5163         PR target/52261
5164         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5166 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5168         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5169         instead of HAVE_INITFINI_ARRAY.
5170         * config/ia64/crtend.S: Likewise.
5172 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5174         PR libstdc++/52300
5175         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5177         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5178         to w32-unwind.h header.
5180 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5182         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5183         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5184         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5185         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5187 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5189         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5191 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5193         PR libitm/52220
5194         * config/darwin-crt-tm.c: Correct typo.
5196 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5197             Patrick Marlier  <patrick.marlier@gmail.com>
5199         PR libitm/52220
5200         * config/darwin-crt-tm.c: Generate dummy functions.
5202 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5203             Patrick Marlier  <patrick.marlier@gmail.com>
5205         PR libitm/52042
5206         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5207         (__doTMRegistrations): Call it.
5208         (__doTMdeRegistrations): Likewise.
5210 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5211             Anatoly Sokolov  <aesok@post.ru>
5212             Eric Weddington  <eric.weddington@atmel.com>
5214         PR target/52261
5215         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5216         (__epilogue_restores__): Ditto.
5218 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5220         PR target/51921
5221         PR target/52205
5222         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5223         Solaris 11 and slightly reformat.
5224         (sparc_is_sighandler): Likewise.
5226 2012-02-14  Walter Lee  <walt@tilera.com>
5228         * config.host: Handle tilegx and tilepro.
5229         * config/tilegx/sfp-machine.h: New file.
5230         * config/tilegx/sfp-machine32.h: New file.
5231         * config/tilegx/sfp-machine64.h: New file.
5232         * config/tilegx/t-crtstuff: New file.
5233         * config/tilegx/t-softfp: New file.
5234         * config/tilegx/t-tilegx: New file.
5235         * config/tilepro/atomic.c: New file.
5236         * config/tilepro/atomic.h: New file.
5237         * config/tilepro/linux-unwind.h: New file.
5238         * config/tilepro/sfp-machine.h: New file.
5239         * config/tilepro/softdivide.c: New file.
5240         * config/tilepro/softmpy.S: New file.
5241         * config/tilepro/t-crtstuff: New file.
5242         * config/tilepro/t-tilepro: New file.
5244 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5246         PR libstdc++/51296
5247         PR libstdc++/51906
5248         * gthr-posix.h: Allow static initializer macros to be disabled.
5249         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5251 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5253         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5254         Add t-slibgcc-libgcc to tmake_file.
5255         * config/mips/libgcc-mips16.ver: Revert previous patch.
5256         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5258 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5259             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5261         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5262         * config/cr16/crti.S: New file.
5263         * config/cr16/crtlibid.S: New file.
5264         * config/cr16/crtn.S: New file.
5265         * config/cr16/lib1funcs.S: New file.
5266         * config/cr16/t-cr16: New file.
5267         * config/cr16/t-crtlibid: New file.
5268         * config/cr16/unwind-dw2.h: New file.
5269         * config/cr16/unwind-cr16.c: New file.
5270         * config/cr16/divmodhi3.c: New file.
5272 2012-01-25  Alan Modra  <amodra@gmail.com>
5274         * config/rs6000/t-linux64: Delete.  Move..
5275         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5276         * config/rs6000/t-linux: ..and libgcc flags to here.
5278 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5280         * config.host (i[34567]86-*-interix3*):
5281         Change triplet to i[34567]86-*-interix[3-9]*.
5282         * configure: Regenerate.
5284 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5285             Richard Sandiford  <rdsandiford@googlemail.com>
5287         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5288         * config/mips/mips16.S (__mips16_rdhwr): New function.
5289         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5291 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5293         * libgcov.c (__gcov_init): Ignore objects with no functions.
5295 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5297         PR target/49868
5298         Extend __pgmx semantics to linearize memory.
5299         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5300         * config/avr/lib1funcs.S (__xload_1): New function.
5301         (__movmemx_qi, __movmemx_hi): New functions.
5302         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5303         semantics.
5305 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5307         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5308         purported sigacthandler address isn't null before dereferencing it.
5309         (sparc_is_sighandler): Likewise.
5311 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5313         PR ada/41929
5314         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5315         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5316         (sparc_is_sighandler): Likewise.
5317         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5319 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5321         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5322         compatibility thunks...
5323         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5324         (crtbeginS.o, crtendS.o): ... and these to ...
5325         * config/ia64/t-ia64-elf: ... this new file.
5326         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5327         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5329 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5331         * configure: Regenerate.
5332         * config/s390/t-crtstuff: Remove -fPIC.
5334 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5336         PR bootstrap/51006
5337         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5338         for NetBSD.
5340 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5342         PR target/51345
5343         * config/avr/lib1funcs.S: Remove FIXME comments.
5344         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5346 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5348         Implement light-weight DImode support.
5349         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5350         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5351         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5352         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5354 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5356         * libgcov.c (gcov_crc32): Remove global var.
5357         (free_fn_data): New function.
5358         (buffer_fn_data): Pass in filename, more robust error recovery.
5359         (crc32_unsigned): New function.
5360         (gcov_exit): More robust detection of new program. More robust
5361         error recovery.
5362         (__gcov_init): Do not update program's crc here.
5364 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5366         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5368 2011-12-21  Ian Lance Taylor  <iant@google.com>
5370         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5372 2011-12-20  Ian Lance Taylor  <iant@google.com>
5374         * config/i386/morestack.S (__morestack_non_split): If there is
5375         enough stack space already, don't split.  Ask for more stack space
5376         than we required.
5378 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5380         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5381         `sys/sdt.h'.
5382         (_Unwind_DebugHook): New function.
5383         (uw_restore_core_regs): New define.
5384         (unwind_phase2): Use uw_restore_core_regs instead of
5385         restore_core_regs.
5386         (unwind_phase2_forced): Likewise.
5387         (__gnu_Unwind_Resume): Likewise.
5389 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5391         * config/alpha/linux-unwind.h: Update copyright years.
5392         (MD_FROB_UPDATE_CONTEXT): New define.
5393         (alpha_frob_update_context): New function.
5395 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5397         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5398         tmake_file rather replacing it.
5400 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5402         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5403         function is not used for PPC64.
5404         (save_world): Amend comments.  Update the VRsave mask to reflect the
5405         saved regs.
5406         (rest_world): Update comments, do not  clobber r10, do not use r8.
5407         (eh_rest_world_r10): Amend comments, do not use r8.
5408         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5409         no longer used, move restore of CR and target address to the end of
5410         the routine.
5412 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5414         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5415         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5417 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5419         PR target/49313
5420         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5421         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5423 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5425         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5427 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5429         PR target/49313
5430         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5431         * config/avr/lib1funcs.S (__muldi3): New function.
5433 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5435         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5436         size of func_ptr.
5437         (__frame_dummy_init_array_entry): Likewise.
5439 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5441         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5443         PR target/51345
5444         PR target/51002
5445         * config/avr/lib1funcs.S (__prologue_saves__,
5446         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5447         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5449 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5451         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5453 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5455         PR other/51272
5456         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5457         (_ITM_deregisterTMCloneTable): Likewise.
5458         (__register_frame_info): Fix unused warning.
5459         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5460         pthread_default_stacksize_np): Likewise.
5461         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5463 2011-11-29  DJ Delorie  <dj@redhat.com>
5465         * config.host (rl78-*-elf): New case.
5466         * config/rl78: New directory for the Renesas RL78.
5468 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5470         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5471         formatting.
5473 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5475         PR other/51022
5476         * config/rs6000/t-savresfgpr: New file.
5477         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5478         $(srcdir)/config/rs6000/eabi.S.
5479         * config/rs6000/t-ppccomm-ldbl: Remove.
5480         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5481         tmake_file.
5482         (powerpc-*-eabispe*): Likewise.
5483         (powerpc-*-eabi*): Likewise.
5484         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5485         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5486         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5487         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5488         tmake_file.
5489         (powerpc-*-eabisim*): Likewise.
5490         (powerpc-*-elf*): Likewise.
5491         (powerpc-*-eabialtivec*): Likewise.
5492         (powerpc-xilinx-eabi*): Likewise.
5493         (powerpc-*-rtems*): Likewise.
5494         (powerpcle-*-elf*): Likewise.
5495         (powerpcle-*-eabisim*): Likewise.
5496         (powerpcle-*-eabi*): Likewise.
5498 2011-11-27  Ian Lance Taylor  <iant@google.com>
5500         * generic-morestack.c (__splitstack_find): Check for NULL old
5501         stack value.
5502         (__splitstack_resetcontext): New function.
5503         (__splitstack_releasecontext): New function.
5504         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5506 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5508         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5510 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5512         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5514 2011-11-26  Richard Henderson  <rth@redhat.com>
5516         * config/m68k/linux-atomic.c: New file.
5517         * config/m68k/t-linux: New file.
5518         * config.host (m68k-uclinux, m68k-linux): Use it.
5520 2011-11-26  Richard Henderson  <rth@redhat.com>
5522         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5523         (__TMC_END__): Only declare if hidden is available; in the definition,
5524         if hidden is unavailable add a null record.
5525         (deregister_tm_clones, register_tm_clones): New.
5526         (__do_global_dtors_aux, frame_dummy): Use them.
5527         (__do_global_dtors, __do_global_ctors_1): Likewise.
5529 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5531         * config/darwin-crt-tm.c: New file.
5532         * config.host (darwin): Build crttms.o crttme.o to provide
5533         startup and shutdown for tm clones.
5534         * config/t-darwin (crttms.o): New build rule.
5535         (crttme.o): Likewise.
5537 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5539         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5540         et al.
5542 2011-11-21  Richard Henderson  <rth@redhat.com>
5544         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5545         (__TMC_LIST__, __TMC_END__): New.
5546         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5547         (__do_global_dtors): Likewise.
5548         (frame_dummy): Call _ITM_registerTMCloneTable.
5549         (__do_global_ctors_1): Likewise.
5551 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5553         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5554         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5555         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5556         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5557         * config/i386/t-darwin64: Remove.
5558         * config/sh/t-netbsd (LIB2ADD): Remove.
5560 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5562         PR target/49313
5563         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5564         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5565         * config/avr/lib1funcs.S (wmov): New assembler macro.
5566         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5567         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5568         (__udivmod64): New function.
5569         (__negdi2): New function.
5571 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5573         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5574         *-*-freebsd*aout*): Remove.
5576 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5578         * static-object.mk (c_flags-$o): Save c_flags.
5579         ($(base)$(objext)): Use it.
5581 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5583         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5585 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5587         PR target/49868
5588         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5589         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5590         New functions.
5592 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5594         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5595         functions.
5596         (aeabi_uidivmod): Likewise.
5597         (umodsi3): Likewise.
5598         (divsi3): Likewise.
5599         (aeabi_idivmod): Likewise.
5600         (modsi3): Likewise.
5602 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5604         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5606 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5608         PR target/49868
5609         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5610         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5612 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5614         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5615         tmake_file list.
5616         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5617         * config/pa/t-stublib64: Delete.
5619 2011-11-12  Richard Henderson  <rth@redhat.com>
5621         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5622         cast the pointer argument to _Unwind_SetGRPtr.
5624 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5626         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5628 2011-11-09  Ian Lance Taylor  <iant@google.com>
5630         * generic-morestack.c: Include <string.h>.
5631         (uintptr_type): Define.
5632         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5633         extra array by 1.
5634         (allocate_segment): Set prev field to NULL.  Don't set
5635         __morestack_current_segment or __morestack_segments.
5636         (__generic_morestack): Update current->prev and *pp after calling
5637         allocate_segment.
5638         (__morestack_block_signals): Don't do anything if
5639         dont_block_signals is set.
5640         (__morestack_unblock_signals): Likewise.
5641         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5642         uintptr_type.
5643         (__splitstack_block_signals): New function.
5644         (enum __splitstack_content_offsets): Define.
5645         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5646         (__splitstack_makecontext): New function.
5647         (__splitstack_block_signals_context): New function.
5648         (__splitstack_find_context): New function.
5649         * config/i386/morestack.S (__morestack_get_guard): New function.
5650         (__morestack_set_guard, __morestack_make_guard): New functions.
5651         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5653 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5655         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5656         (i[34567]86-*-mingw*): ... here.
5657         (x86_64-*-mingw*): ... here.
5659 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5661         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5663 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5665         * libgcov.c (struct gcov_fn_buffer): New struct.
5666         (buffer_fn_data): New helper.
5667         (gcov_exit): Rework for new gcov data structures.
5669 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5671         PR target/49313
5672         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5674 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5676         * config.host (tmake_file): Correct comment.
5677         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5678         t-libgcc-pic.
5679         (bfin*-uclinux*): Likewise.
5680         (bfin*-linux-uclibc*): Likewise.
5681         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5683         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5684         assigning.
5685         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5686         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5687         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5688         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5689         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5690         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5691         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5692         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5693         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5694         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5695         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5696         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5697         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5699         * config/bfin/t-elf: Remove.
5700         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5702 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5704         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5705         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5706         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5707         (lm32-*-elf*): ... this.
5708         (lm32-*-rtems*): ... and this.
5709         Add to tmake_file.
5710         (m32r-*-rtems*): Add to tmake_file.
5711         (moxie-*-rtems*): Likewise.
5712         (sparc-*-rtems*): Likewise.
5713         Remove t-rtems from tmake_file.
5714         (sparc64-*-rtems*): Likewise.
5715         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5716         instead.
5718 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5720         PR bootstrap/50982
5721         * config/gthr-posix.h: Move ...
5722         * gthr-posix.h: ... here.
5723         * config/gthr-lynx.h: Reflect this.
5724         * config/gthr-vxworks.h: Likewise.
5725         * config/rs6000/gthr-aix.h: Likewise.
5726         * configure.ac (target_thread_file): Likewise.
5727         * configure: Regenerate.
5729 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5731         * config.host (arm*-*-rtemseabi*): New target.
5733 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5735         PR other/50991
5736         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5737         extra-parts.
5739 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5741         * config.host (epiphany-*-elf*): New configuration.
5742         * config/epiphany: New Directory.
5744 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5746         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5747         * config/avr/t-rtems: New.
5748         Filter out _exit from LIB1ASMFUNCS.
5750 2011-11-04  David S. Miller  <davem@davemloft.net>
5752         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5753         * configure: Rebuild.
5755 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5757         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5758         variable.
5760 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5762         PR target/50931
5763         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5764         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5766 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5768         PR target/50989
5769         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5771 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5773         * config/c6x/t-elf (LIB2ADDEH): Set.
5774         * config/c6x/t-c6x-elf: Remove.
5776 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5778         * config/i386/sol2-ci.S: Rename to ...
5779         * config/i386/crti.S: ... this.
5780         * config/i386/sol2-cn.S: Rename to ...
5781         * config/i386/crtn.S: ... this.
5782         * config/sparc/sol2-ci.S: Rename to ...
5783         * config/sparc/crti.S: ... this.
5784         * config/sparc/sol2-cn.S: Rename to ...
5785         * config/sparc/crtn.S: ... this.
5786         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5787         (crti.o, crtn.o): Remove.
5789 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5791         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5793 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5795         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5797 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5799         * config.host (crisv32-*-none, cris-*-none): Remove.
5800         (crisv32-*-elf): Append to tmake_file, don't just set it.
5801         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5803 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5805         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5806         (ecrtn$(objext)): Likewise.
5807         (ncrti$(objext)): Likewise.
5808         (ncrtn$(objext)): Likewise.
5810 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5812         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5814 2011-11-02  David S. Miller  <davem@davemloft.net>
5816         * configure.ac: Set host_address on sparc too.
5817         * configure: Regenerate.
5818         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5819         based upon host_address.
5820         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5822 2011-11-02  Jason Merrill  <jason@redhat.com>
5824         * config/rs6000/t-ppccomm: Add missing \.
5826 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5828         * gthr-single.h, gthr.h: New files.
5829         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5830         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5831         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5832         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5833         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5834         * configure.ac (thread_header): New variable.
5835         Set it depending on target_thread_file.
5836         (gthr-default.h): Link from $thread_header.
5837         * configure: Regenerate.
5838         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5840 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5842         * configure.ac (tm_file_): New variable.
5843         Determine from tm_file.
5844         (tm_file, tm_defines): Substitute.
5845         * configure: Regenerate.
5846         * mkheader.sh: New file.
5847         * Makefile.in (clean): Remove libgcc_tm.h.
5848         ($(objects)): Depend on libgcc_tm.h.
5849         (libgcc_tm_defines, libgcc_tm_file): New variables.
5850         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5851         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5852         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5853         ($(extra-parts)): Depend on libgcc_tm.h.
5854         * config.host (tm_defines, tm_file): New variable.
5855         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5856         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5857         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5858         (avr-*-rtems*): Likewise.
5859         (avr-*-*): Likewise.
5860         (frv-*-elf): Likewise.
5861         (frv-*-*linux*): Likewise.
5862         (h8300-*-rtems*): Likewise.
5863         (h8300-*-elf*): Likewise.
5864         (i[34567]86-*-darwin*): Likewise.
5865         (x86_64-*-darwin*): Likewise.
5866         (rx-*-elf): Likewise.
5867         (tic6x-*-uclinux): Likewise.
5868         (tic6x-*-elf): Likewise.
5869         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5870         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5871         * config/i386/cygming-crtbegin.c: Likewise.
5872         * config/i386/cygming-crtend.c: Likewise.
5873         * config/ia64/fde-vms.c: Likewise.
5874         * config/ia64/unwind-ia64.c: Likewise.
5875         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5876         * config/rs6000/darwin-fallback.c: Likewise.
5877         * config/stormy16/lib2funcs.c: Likewise.
5878         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5879         * crtstuff.c: Likewise.
5880         * dfp-bit.h: Likewise.
5881         * emutls.c: Likewise.
5882         * fixed-bit.c: Likewise.
5883         * fp-bit.c: Likewise.
5884         * generic-morestack-thread.c: Likewise.
5885         * generic-morestack.c: Likewise.
5886         * libgcc2.c: Likewise.
5887         * libgcov.c: Likewise.
5888         * unwind-dw2-fde-dip.c: Likewise.
5889         * unwind-dw2-fde.c: Likewise.
5890         * unwind-dw2.c: Likewise.
5891         * unwind-sjlj.c: Likewise.
5893 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5895         * configure.ac: Include ../config/picflag.m4.
5896         (GCC_PICFLAG): Call it.
5897         Substitute.
5898         * configure: Regenerate.
5899         * Makefile.in (gcc_srcdir): Remove.
5900         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5901         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5902         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5903         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5904         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5905         Use $<.
5906         Remove comment.
5907         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5908         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5909         to refer to libgcc2.c.
5910         Use $<.
5911         * config/darwin-64.c: New file.
5912         * config/darwin-crt3.c: Remove comment.
5913         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5914         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5915         config/udivmodsi4.c: New files.
5916         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5917         config/memset.c: New files.
5918         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5919         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5920         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5921         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5922         * config/t-openbsd-thread: New file.
5923         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5924         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5925         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5926         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5927         qrnnd.S.
5928         Adapt filename.
5929         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5930         to refer to gthr-posix.c.
5931         * config/alpha/t-vms (LIB2ADD): Set.
5932         * config/alpha/vms-gcc_shell_handler.c: New file.
5933         * config/arm/bpabi.c, config/arm/fp16.c,
5934         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5935         config/arm/unaligned-funcs.c: New files.
5936         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5937         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5938         * config/arm/t-linux: Likewise.
5939         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5940         * config/arm/t-netbsd: New file.
5941         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5942         * config/arm/t-symbian (LIB2ADD_ST): Set.
5943         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5944         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5945         * config/bfin/t-elf: New file.
5946         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5947         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5948         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5949         config/c6x/ltf.c: New files.
5950         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5951         (HOST_LIBGCC2_CFLAGS): Set.
5952         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5953         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5954         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5955         New files.
5956         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5957         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5958         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5959         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5960         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5961         files.
5962         * config/frv/t-frv (LIB2ADD): Set.
5963         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5964         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5965         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5966         config/h8300/popcounthi2.c: New files.
5967         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5968         * config/i386/gthr-win32.c: New file.
5969         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5970         * config/i386/t-cygwin: Likewise.
5971         * config/i386/t-darwin, config/i386/t-darwin64,
5972         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5973         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5974         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5975         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5976         * config/ia64/quadlib.c: New file.
5977         * config/ia64/t-hpux (LIB2ADD): Set.
5978         * config/ia64/t-ia64: Add comment.
5979         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5980         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5981         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5982         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5983         * config/m32c/t-m32c (LIB2ADD): Set.
5984         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5985         * config/m32r/t-m32r: Likewise.
5986         * config/m68k/fpgnulib.c: New file.
5987         * config/m68k/t-floatlib (LIB2ADD): Set.
5988         (xfgnulib.c): New target.
5989         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5990         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5991         * config/mep/t-mep (LIB2ADD): Set.
5992         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5993         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5994         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5995         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5996         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5997         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5998         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5999         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6000         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6001         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6002         New files.
6003         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6004         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6005         * config/pa/fptr.c, config/pa/lib2funcs.S,
6006         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6007         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6008         (LIB2ADD, LIB2ADD_ST): Set.
6009         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6010         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6011         Set.
6012         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6013         * config/pdp11/t-pdp11: New file.
6014         * config/picochip/libgccExtras/adddi3.S,
6015         config/picochip/libgccExtras/ashlsi3.S,
6016         config/picochip/libgccExtras/ashrsi3.S,
6017         config/picochip/libgccExtras/clzsi2.S,
6018         config/picochip/libgccExtras/cmpsi2.S,
6019         config/picochip/libgccExtras/divmod15.S,
6020         config/picochip/libgccExtras/divmodhi4.S,
6021         config/picochip/libgccExtras/divmodsi4.S,
6022         config/picochip/libgccExtras/lshrsi3.S,
6023         config/picochip/libgccExtras/parityhi2.S,
6024         config/picochip/libgccExtras/popcounthi2.S,
6025         config/picochip/libgccExtras/subdi3.S,
6026         config/picochip/libgccExtras/ucmpsi2.S,
6027         config/picochip/libgccExtras/udivmodhi4.S,
6028         config/picochip/libgccExtras/udivmodsi4.S: New files.
6029         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6030         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6031         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6032         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6033         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6034         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6035         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6036         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6037         files.
6038         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6039         (HOST_LIBGCC2_CFLAGS): Set.
6040         * config/rs6000/t-darwin64: New file.
6041         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6042         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6043         * config/rs6000/t-ppccomm (LIB2ADD): Add
6044         $(srcdir)/config/rs6000/tramp.S.
6045         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6046         Add  $(srcdir)/config/rs6000/eabi.S.
6047         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6048         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6049         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6050         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6051         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6052         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6053         * config/rs6000/tramp.S: New file.
6054         * config/s390/t-tpf: Remove.
6055         * config/sh/linux-atomic.S: New file.
6056         * config/sh/t-linux (LIB2ADD): Set.
6057         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6058         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6059         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6060         to unwind-dw2.c.
6061         (HOST_LIBGCC2_CFLAGS): Set.
6062         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6063         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6064         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6065         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6066         config/spu/mfc_multi_tag_release.c,
6067         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6068         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6069         config/spu/multi3.c: New files.
6070         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6071         (HOST_LIBGCC2_CFLAGS): Set.
6072         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6073         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6074         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6075         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6076         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6077         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6078         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6079         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6080         config/stormy16/umodsi3.c: New files.
6081         * config/xtensa/lib2funcs.S: New file.
6082         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6083         * config/xtensa/t-xtensa (LIB2ADD): Set.
6084         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6085         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6086         Add t-freebsd-thread to tmake_file for posix threads.
6087         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6088         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6089         (*-*-lynxos*): Likewise.
6090         (*-*-netbsd*): Likewise.
6091         (*-*-openbsd*): Likewise.
6092         Add t-openbsd-thread to tmake_file for posix threads.
6093         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6094         (*-*-vxworks*): Set tmake_file.
6095         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6096         (alpha*-*-freebsd*): Likewise.
6097         (alpha*-*-netbsd*): Likewise.
6098         (alpha*-*-openbsd*): Likewise.
6099         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6100         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6101         (alpha*-dec-*vms*): Likewise.
6102         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6103         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6104         (bfin*-uclinux*): Likewise.
6105         (bfin*-linux-uclibc*): Likewise.
6106         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6107         (crisv32-*-none): Likewise.
6108         (cris-*-elf): Likewise.
6109         (cris-*-none): Likewise.
6110         (cris-*-linux*, crisv32-*-linux*): Likewise.
6111         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6112         tmake_file.
6113         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6114         tmake_file.
6115         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6116         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6117         (x86_64-*-elf*): Likewise.
6118         (i[34567]86-*-nto-qnx*): Likewise.
6119         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6120         win32 threads.
6121         (x86_64-*-mingw*): Likewise.
6122         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6123         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6124         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6125         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6126         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6127         tmake_file.
6128         (mipsisa64sr71k-*-elf*): Likewise.
6129         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6130         (mips-*-elf*, mipsel-*-elf*): Likewise.
6131         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6132         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6133         (mips*-*-rtems*): Likewise.
6134         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6135         to tmake_file.
6136         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6137         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6138         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6139         (spu-*-elf*): Likewise.
6140         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6142 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6144         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6145         $(srcdir) to refer to $(LIB1ASMSRC).
6146         Use $<.
6147         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6148         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6149         config/arm/lib1funcs.S: New files.
6150         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6151         * config/arm/t-arm: New file.
6152         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6153         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6154         config/arm/t-strongarm-elf: New files.
6155         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6156         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6157         * config/avr/lib1funcs.S: New file.
6158         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6159         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6160         * config/c6x/lib1funcs.S: New file.
6161         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6162         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6163         * config/frv/lib1funcs.S: New file.
6164         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6165         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6166         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6167         * config/ia64/__divxf3.asm: Rename to ...
6168         * config/ia64/__divxf3.S: ... this.
6169         Adapt lib1funcs.asm filename.
6170         * config/ia64/_fixtfdi.asm: Rename to ...
6171         * config/ia64/_fixtfdi.S: ... this.
6172         Adapt lib1funcs.asm filename.
6173         * config/ia64/_fixunstfdi.asm: Rename to ...
6174         * config/ia64/_fixunstfdi.S: ... this.
6175         Adapt lib1funcs.asm filename.
6176         * config/ia64/_floatditf.asm: Rename to ...
6177         * config/ia64/_floatditf.S: ... this.
6178         Adapt lib1funcs.asm filename.
6179         * config/ia64/lib1funcs.S: New file.
6180         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6181         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6182         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6183         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6184         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6185         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6186         * config/mep/lib1funcs.S: New file.
6187         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6188         * config/mips/mips16.S: New file.
6189         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6190         * config/pa/milli64.S: New file.
6191         * config/pa/t-linux, config/pa/t-linux64: New files.
6192         * config/picochip/lib1funcs.S: New file.
6193         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6194         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6195         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6196         * config/sh/t-netbsd: New file.
6197         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6198         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6199         * config/sh/t-sh64: New file.
6200         * config/sparc/lb1spc.S: New file.
6201         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6202         filename.
6203         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6204         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6205         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6206         config/xtensa/lib1funcs.S: New files.
6207         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6208         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6209         tmake_file.
6210         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6211         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6212         (arm*-*-linux*): Likewise.
6213         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6214         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6215         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6216         (arm*-*-ecos-elf): Likewise.
6217         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6218         (arm*-*-rtems*): Likewise.
6219         (arm*-*-elf): Likewise.
6220         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6221         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6222         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6223         (bfin*-uclinux*): Likewise.
6224         (bfin*-linux-uclibc*): Likewise.
6225         (bfin*-rtems*): Likewise.
6226         (bfin*-*): Likewise.
6227         (fido-*-elf): Merge into m68k-*-elf*.
6228         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6229         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6230         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6231         (h8300-*-elf*): Likewise.
6232         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6233         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6234         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6235         (i[34567]86-*-mingw*): Likewise.
6236         (x86_64-*-mingw*): Likewise.
6237         (i[34567]86-*-interix3*): Likewise.
6238         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6239         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6240         (m68k-*-elf*): Also handle fido-*-elf.
6241         Add m68k/t-floatlib to tmake_file.
6242         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6243         (m68k-*-linux*): Likewise.
6244         (m68k-*-rtems*): Likewise.
6245         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6246         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6247         sh64*-*-*.
6248         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6249         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6250         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6251         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6252         sh/t-netbsd to tmake_file.
6253         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6254         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6255         (sh-wrs-vxworks): Likewise.
6256         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6257         *-leon[3-9]*.
6258         (v850*-*-*): Add v850/t-v850 to tmake_file.
6259         (vax-*-linux*): Add vax/t-linux to tmake_file.
6260         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6262 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6264         * crtstuff.c: New file.
6265         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6266         (CRTSTUFF_T_CFLAGS): Define.
6267         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6268         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6269         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6270         crtstuff.c.
6271         Use $<.
6272         (crtbeginT.o): Use $(objext).
6273         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6274         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6275         (gcc-extra-parts): Remove.
6276         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6277         Set extra_parts.
6278         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6279         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6280         Add t-crtstuff-pic to tmake_file.
6281         (*-*-lynxos*): New case.
6282         Set tmake_file, extra_parts.
6283         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6284         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6285         *-*-netbsdelf[2-9]*.
6286         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6287         (*-*-rtems*): Set extra_parts.
6288         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6289         (*-*-uclinux*): New case.
6290         Set extra_parts.
6291         (*-*-vms*): New case.
6292         Set tmake_file, extra_parts.
6293         (*-*-elf): Set extra_parts.
6294         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6295         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6296         vms/t-vms64.
6297         Set extra_parts.
6298         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6299         Set extra_parts.
6300         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6301         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6302         (arm-wrs-vxworks): Append to tmake_file.
6303         Set extra_parts.
6304         (arm*-*-uclinux*): Set extra_parts.
6305         (arm*-*-ecos-elf): Likewise.
6306         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6307         arm*-*-eabi*.
6308         (arm*-*-rtems*): Set extra_parts.
6309         (arm*-*-elf): Likewise.
6310         (avr-*-rtems*): Clear extra_parts.
6311         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6312         Set extra_parts.
6313         (bfin*-uclinux*): Likewise.
6314         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6315         (bfin*-rtems*): Append to tmake_file.
6316         Set extra_parts.
6317         (bfin*-*): Likewise.
6318         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6319         (crisv32-*-elf): ... this.
6320         (crisv32-*-none): ... this.
6321         (cris-*-elf, cris-*-none): New cases.
6322         Add cris/t-elfmulti to tmake_file.
6323         (fr30-*-elf): Append to tmake_file.
6324         Set extra_parts.
6325         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6326         Set extra_parts.
6327         (h8300-*-rtems*): Append to tmake_file.
6328         Set extra_parts.
6329         (h8300-*-elf*): Likewise.
6330         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6331         Set extra_parts.
6332         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6333         Set extra_parts.
6334         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6335         (x86_64-*-elf*): Likewise.
6336         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6337         (x86_64-*-freebsd*): Likewise.
6338         (x86_64-*-netbsd*): Likewise.
6339         (i[34567]86-*-linux*): Likewise.
6340         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6341         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6342         (x86_64-*-linux*): Likewise.
6343         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6344         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6345         tmake_file.
6346         Set extra_parts.
6347         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6348         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6349         Append to extra_parts, remove crtbegin.o, crtend.o.
6350         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6351         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6352         crtend.o, crtbeginS.o, crtendS.o.
6353         (ia64*-*-linux*): Comment extra_parts.
6354         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6355         Set extra_parts.
6356         (iq2000*-*-elf*): Clear extra_parts.
6357         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6358         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6359         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6360         (m32r-*-rtems*): ... this.
6361         Add m32r/t-m32r to tmake_file.
6362         (m68k-*-elf*): Add t-crtin to tmake_file.
6363         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6364         (mcore-*-elf): Likewise.
6365         (microblaze*-*-*): Set extra_parts.
6366         (mips*-sde-elf*): New case.
6367         Set tmake_file, extra_parts.
6368         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6369         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6370         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6371         tmake_file.
6372         Set extra_parts.
6373         (mipsisa64sr71k-*-elf*): Likewise.
6374         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6375         (mips-*-elf*, mipsel-*-elf*): Likewise.
6376         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6377         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6378         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6379         (mips*-*-rtems*): Likewise.
6380         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6381         (moxie-*-*): Split into ...
6382         (moxie-*-elf, moxie-*-uclinux*): ... this.
6383         Add to extra_parts, remove crtbegin.o, crtend.o.
6384         (moxie-*-rtems*): New case.
6385         Set tmake_file.
6386         Clear extra_parts.
6387         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6388         Set extra_parts.
6389         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6390         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6391         tmake_file.
6392         Set extra_parts.
6393         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6394         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6395         Set extra_parts.
6396         (powerpc-*-eabisim*): Likewise.
6397         (powerpc-*-elf*): Likewise.
6398         (powerpc-*-eabialtivec*): Likewise.
6399         (powerpc-xilinx-eabi*): Likewise.
6400         (powerpc-*-eabi*): Likewise.
6401         (powerpc-*-rtems*): Likewise.
6402         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6403         tmake_file.
6404         Set extra_parts.
6405         (powerpc-*-lynxos*): Add to tmake_file.
6406         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6407         rs6000/t-crtstuff, t-crtstuff-pic.
6408         Set extra_parts.
6409         (powerpcle-*-eabisim*): Likewise.
6410         (powerpcle-*-eabi*): Likewise.
6411         (rx-*-elf): Remove extra_parts.
6412         (s390x-ibm-tpf*): Set extra_parts.
6413         (score-*-elf): Set extra_parts.
6414         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6415         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6416         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6417         (sh64l*-*-netbsd*): Split into ...
6418         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6419         Add t-crtstuff-pic to tmake_file.
6420         Set extra_parts.
6421         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6422         Set extra_parts.
6423         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6424         (sparc-*-elf*): Remove t-crtin from tmake_file.
6425         Add to extra_parts, remove crtbegin.o, crtend.o.
6426         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6427         (sparc64-*-linux*): Likewise.
6428         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6429         Add to extra_parts, remove crtbegin.o, crtend.o.
6430         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6431         Add to extra_parts, remove crtbegin.o, crtend.o.
6432         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6433         Add to extra_parts, remove crtbegin.o, crtend.o.
6434         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6435         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6436         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6437         Set extra_parts.
6438         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6439         Set extra_parts.
6440         (tic6x-*-*): Change to ...
6441         (tic6x-*-elf): ... this.
6442         Set extra_parts.
6443         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6444         Set extra_parts.
6445         (am33_2.0-*-linux*): Add comment.
6446         (mep*-*-*): Add mep/t-mep to tmake_file.
6447         Set extra_parts.
6448         * config/alpha/t-vms: New file.
6449         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6450         * config/arm/crti.S, config/arm/crtn.S: New files.
6451         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6452         * config/bfin/crtlibid.S: New file.
6453         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6454         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6455         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6456         (crti.o, crtin.o): New rules.
6457         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6458         * config/c6x/t-uclinux: New file.
6459         * config/cris/t-elfmulti: New file.
6460         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6461         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6462         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6463         * config/frv/t-frv: New file.
6464         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6465         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6466         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6467         New files.
6468         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6469         refer to cygming-crtbegin.c, cygming-crtend.c.
6470         Use $<.
6471         * config/i386/t-nto: New file.
6472         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6473         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6474         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6475         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6476         Use .S extension.
6477         Use $<.
6478         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6479         (crtinitS.o): New rule.
6480         * config/ia64/vms-crtinit.S: New file.
6481         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6482         * config/m32r/initfini.c: New file.
6483         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6484         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6485         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6486         * config/mep/t-mep: New file.
6487         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6488         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6489         * config/mips/crti.S, config/mips/crtn.S: New files.
6490         * config/mips/t-crtstuff: New file.
6491         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6492         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6493         (CUSTOM_CRTIN): Set.
6494         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6495         dependencies.
6496         Use $(srcdir) to refer to crti.S, crtn.S.
6497         Use .S extension, $<.
6498         * config/moxie/crti.asm: Rename to ...
6499         * config/moxie/crti.S: ... this.
6500         * config/moxie/crtn.asm: Rename to ...
6501         * config/moxie/crtn.S: ... this.
6502         * config/moxie/t-moxie: Remove.
6503         * config/pa/stublib.c: New file.
6504         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6505         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6506         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6507         * config/rs6000/t-crtstuff: New file.
6508         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6509         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6510         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6511         Make output file explicit.
6512         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6513         Make output file explicit.
6514         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6515         Make output file explicit.
6516         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6517         Make output file explicit.
6518         * config/score/crti.S, config/score/crtn.S: New files.
6519         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6520         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6521         files.
6522         * config/sh/t-sh, config/sh/t-superh: New files.
6523         * config/sparc/t-linux64: New file.
6524         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6525         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6526         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6527         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6528         * config/t-crtin: Remove.
6529         * config/t-crtstuff-pic: New file.
6530         * config/t-sol2 (CUSTOM_CRTIN): Set.
6531         (crti.o, crtn.o): New rules.
6532         * config/vms/t-vms: New file.
6533         * config/vms/vms-ucrt0.c: New file.
6534         * config/xtensa/t-elf: New file.
6536 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6538         * Makefile.in (SHLIB_NM_FLAGS): Set.
6539         * mkmap-flat.awk, mkmap-symver.awk: New files.
6540         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6541         exceptions.
6542         * configure: Regenerate.
6543         * config/libgcc-glibc.ver: New file.
6544         * config/libgcc-libsystem.ver: New file.
6545         * config/t-libunwind (SHLIB_LC): Set.
6546         * config/t-linux: New file.
6547         * config/t-slibgcc (INSTALL_SHLIB): New.
6548         (SHLIB_INSTALL): Use it.
6549         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6550         to mkmap-symver.awk.
6551         (SHLIB_MAPFILES): Don't append, adapt pathname.
6552         (SHLIB_VERPFX): Set.
6553         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6554         to mkmap-symver.awk.
6555         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6556         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6557         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6558         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6559         to mkmap-flat.awk.
6560         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6561         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6562         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6563         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6564         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6565         * config/i386/libgcc-darwin.10.4.ver,
6566         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6567         New files.
6568         * config/i386/t-darwin: Remove.
6569         * config/i386/t-darwin64: Likewise.
6570         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6571         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6572         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6573         * config/i386/t-linux: New file.
6574         * config/i386/t-mingw32: New file.
6575         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6576         * config/ia64/t-glibc: Rename to ...
6577         * config/ia64/t-linux: ... this.
6578         (SHLIB_MAPFILES): Set.
6579         * config/ia64/t-glibc-libunwind: Rename to ...
6580         * config/ia64/t-linux-libunwind: ... this.
6581         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6582         * config/ia64/t-slibgcc-hpux: New file.
6583         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6584         * config/m68k/t-slibgcc-elf-ver: New file.
6585         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6586         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6587         to mkmap-flat.awk.
6588         * config/pa/t-slibgcc-hpux: New file.
6589         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6590         files.
6591         * config/rs6000/libgcc-darwin.10.4.ver,
6592         config/rs6000/libgcc-darwin.10.5.ver: New files.
6593         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6594         config/rs6000/libgcc-glibc.ver.
6595         * config/rs6000/libgcc-ppc64.ver: Rename to
6596         config/rs6000/libgcc-ibm-ldouble.ver.
6597         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6598         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6599         * config/rs6000/t-ldbl128: Rename to ...
6600         * config/rs6000/t-linux: ... this.
6601         (SHLIB_MAPFILES): Adapt filename.
6602         * config/rs6000/t-slibgcc-aix: New file.
6603         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6604         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6605         libgcc-excl.ver, libgcc-glibc.ver.
6606         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6607         * config/sparc/libgcc-glibc.ver: New file.
6608         * config/sparc/t-linux: New file.
6609         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6610         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6611         t-slibgcc-elf-ver to tmake_file.
6612         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6613         *-*-freebsd[34].
6614         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6615         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6616         t-slibgcc-elf-ver, t-linux to tmake_file.
6617         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6618         tmake_file.
6619         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6620         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6621         (alpha*-dec-*vms*): Likewise.
6622         (arm*-*-freebsd*): Append to tmake_file.
6623         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6624         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6625         arm*-*-linux-*eabi.
6626         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6627         tmake_file for arm*-*-symbianelf*.
6628         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6629         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6630         cris/t-linux.
6631         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6632         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6633         pa/t-slibgcc-dwarf-ver to tmake_file.
6634         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6635         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6636         (hppa*64*-*-hpux11*): Likewise.
6637         (hppa[12]*-*-hpux11*): Likewise.
6638         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6639         i386/t-crtpc, i386/t-crtfm.
6640         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6641         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6642         to tmake_file.
6643         Add i386/t-cygwin to tmake_file.
6644         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6645         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6646         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6647         to tmake_file.
6648         Add i386/t-mingw32 to tmake_file.
6649         (x86_64-*-mingw*): Likewise.
6650         (ia64*-*-freebsd*): Append to tmake_file.
6651         (ia64*-*-linux*): Append to tmake_file.
6652         Replace ia64/t-glibc by ia64/t-linux.
6653         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6654         system libunwind.
6655         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6656         t-slibgcc-hpux to tmake_file.
6657         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6658         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6659         (m32rle-*-linux*): Likewise.
6660         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6661         sjlj exceptions.
6662         (microblaze*-linux*): New case.
6663         Append to tmake_file, add t-slibgcc-nolc-override.
6664         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6665         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6666         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6667         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6668         rs6000/t-slibgcc-aix to tmake_file.
6669         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6670         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6671         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6672         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6673         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6674         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6675         sh*-*-linux*.
6676         (sparc-*-linux*): Append to tmake_file for *-leon*.
6677         Add sparc/t-linux to tmake_file for non-Leon targets.
6678         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6679         (tic6x-*-uclinux): New case.
6680         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6681         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6682         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6683         (am33_2.0-*-linux*): Append to tmake_file.
6684         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6685         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6686         x86_64-*-kfreebsd*-gnu.
6687         Add i386/t-linux to tmake_file.
6689 2011-10-28  Ian Lance Taylor  <iant@google.com>
6691         * config/i386/morestack.S: Correct CFI information to do proper
6692         returns throughout function.  In 32-bit mode, save %ebx so that it
6693         is restored on unwind.
6695 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6697         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6698         case where B3 isn't the return register.
6700         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6701         logic for doubleword pops.
6703 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6705         * config/rs6000/t-freebsd: Add wildcard.
6707 2011-10-21  Paul Brook  <paul@codesourcery.com>
6709         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6711 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6712             Eric Botcazou  <ebotcazou@adacore.com>
6714         PR target/50737
6715         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6716         fs->signal_frame to 1.
6718 2011-10-07  Ian Lance Taylor  <iant@google.com>
6720         * generic-morestack-thread.c: #include <errno.h>.
6722 2011-10-07  Ian Lance Taylor  <iant@google.com>
6724         PR target/46093
6725         * generic-morestack.c (__generic_morestack): Make sure the segment
6726         is large enough for both the stack frame and the copied
6727         parameters.
6729 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6731         PR bootstrap/49804
6732         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6733         extra_parts.
6735 2011-09-28  Nick Clifton  <nickc@redhat.com>
6737         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6738         64-bit doubles are not enabled.
6739         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6740         and floatunsisf functions.
6742 2011-09-13  Paul Brook  <paul@codesourcery.com>
6744         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6745         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6746         * unwind-arm-common.inc: New file.
6747         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6748         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6749         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6750         * config/c6x/libunwind.S: New file.
6751         * config/c6x/pr-support.c: New file.
6752         * config/c6x/unwind-c6x.c: New file.
6753         * config/c6x/unwind-c6x.h: New file.
6754         * config/c6x/t-c6x-elf: New file.
6756 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6758         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6759         (ASM_DIVZERO): Ditto.
6760         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6762 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6764         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6766 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6768         PR target/50090
6769         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6770         instead of an assembly one.
6772 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6774         PR bootstrap/50047
6775         * Makefile.in (install-unwind_h): Create
6776         $(gcc_objdir)/include/unwind.h atomically.
6778 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6780         * Makefile.in (install-unwind_h): Remove destination file first.
6782 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6784         * sync.c: New file.
6785         * config/mips/t-mips16: New file.
6786         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6787         (mips*-*-linux*): Likewise.
6788         (mips*-sde-elf*): Likewise.
6789         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6790         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6791         Add mips/t-mips16 to tmake_file.
6792         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6793         (mips-*-elf*): Likewise.
6794         (mips64-*-elf*): Likewise.
6795         (mips64orion-*-elf*): Likewise.
6796         (mips*-*-rtems*): Likewise.
6797         (mipstx39-*-elf*): Likewise.
6798         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6799         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6800         LIBGCC_SYNC_CFLAGS.
6801         Use $(srcdir) to refer to sync.c.
6802         Use $<.
6803         ($(libgcc-sync-funcs-o)): Likewise.
6804         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6805         ($(libgcc-sync-funcs-s-o)): Likewise.
6807 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6809         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6810         t-libunwind.
6812 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6814         PR other/48007
6815         * config/i386/value-unwind.h: New.
6817 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6819         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6820         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6821         Add to tmake_file rather than overriding it.
6823 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6825         * config/t-softfp: Remove.
6826         * soft-fp: Moved from ../gcc/config.
6827         * soft-fp/README: Remove t-softfp reference.
6828         * soft-fp/t-softfp: Move to config/t-softfp.
6829         (softfp_machine_header): Remove.
6830         (softfp_file_list): Remove config subdir.
6831         (soft-fp-objects): New variable.
6832         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6833         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6834         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6835         * config/t-softfp-excl: New file.
6836         * config/t-softfp-sfdf: New file.
6837         * config/t-softfp-tf: New file.
6838         * config/no-sfp-machine.h: New file.
6839         * config/arm/sfp-machine.h: New file.
6840         * config/arm/t-softfp: New file.
6841         * config/c6x/sfp-machine.h: New file.
6842         * config/i386/32/t-fprules-softfp: Rename to ...
6843         * config/i386/32/t-softfp: ... this.
6844         (tifunctions, LIB2ADD): Remove.
6845         (softfp_int_modes): Override.
6846         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6847         subdir.
6848         * config/i386/64/eqtf2.c: Likewise.
6849         * config/i386/64/getf2.c: Likewise.
6850         * config/i386/64/letf2.c: Likewise.
6851         * config/ia64/sft-machine.h: New file.
6852         * config/ia64/t-fprules-softfp: Rename to ...
6853         * config/ia64/t-softfp: ... this.
6854         * config/lm32/sfp-machine.h: New file.
6855         * config/moxie/t-moxie-softfp: Remove.
6856         * config/rs6000/ibm-ldouble-format: New file.
6857         * config/rs6000/ibm-ldouble.c: New file.
6858         * config/rs6000/libgcc-ppc-glibc.ver: New file
6859         * config/rs6000/libgcc-ppc64.ver: New file
6860         * config/rs6000/sfp-machine.h: New file.
6861         * config/rs6000/t-freebsd: New file.
6862         * config/rs6000/t-ibm-ldouble: New file.
6863         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6864         libgcc-ppc-glibc.ver.
6865         * config/rs6000/t-linux64: New file.
6866         * config/rs6000/t-ppccomm (LIB2ADD): Add
6867         $(srcdir)/config/rs6000/ibm-ldouble.c.
6868         * config/rs6000/t-ppccomm-ldbl: New file.
6869         * config/score/sfp-machine.h: New file.
6870         * config.host (sfp_machine_header): Explain.
6871         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6872         t-softfp to tmake_file.
6873         (arm*-*-uclinux*): Likewise.
6874         (arm*-*-ecos-elf): Likewise.
6875         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6876         (arm*-*-rtems*): Likewise.
6877         (arm*-*-elf): Likewise.
6878         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6879         in tmake_file.
6880         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6881         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6882         (lm32-*-uclinux*): Likewise.
6883         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6884         t-softfp-excl, t-softfp.
6885         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6886         (powerpc64-*-darwin*): Likewise.
6887         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6888         to tmake_file.
6889         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6890         tmake_file.
6891         (powerpc-*-eabisim*): Likewise.
6892         (powerpc-*-elf*): Likewise.
6893         (powerpc-*-eabialtivec*): Likewise.
6894         (powerpc-xilinx-eabi*): Likewise.
6895         (powerpc-*-rtems*): Likewise.
6896         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6897         t-softfp-excl, t-softfp to tmake_file.
6898         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6899         rs6000/t-ppccomm-ldbl to tmake_file.
6900         (powerpcle-*-elf*): Likewise.
6901         (powerpcle-*-eabisim*): Likewise.
6902         (powerpcle-*-eabi*): Likewise.
6903         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6904         rs6000/t-ibm-ldouble to tmake_file.
6905         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6906         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6907         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6908         (tic6x-*-*): Likewise.
6909         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6910         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6911         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6912         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6913         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6914         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6915         t-softfp to tmake_file.
6916         * configure.ac (sfp_machine_header): Provide default if unset.
6917         Substitute.
6918         Link sfp-machine.h to config/$sfp_machine_header.
6919         * configure: Regenerate.
6921 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6923         * Makefile.in (double_type_size, long_double_type_size): Set.
6924         Remove $(fpbit-in-libgcc) support.
6925         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6926         (fpbit-src): New variable.
6927         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6928         Compile with -DFLOAT $(FPBIT_CFLAGS).
6929         Use $<.
6930         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6931         Compile with $(FPBIT_CFLAGS).
6932         Use $<.
6933         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6934         Compile with -DFLOAT $(TPBIT_CFLAGS).
6935         Use $<.
6936         * configure.ac (double_type_size, long_double_type_size):
6937         Determine and substitute.
6938         * configure: Regenerate.
6939         * fp-bit.c, fp-bit.h: New files.
6940         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6941         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6942         * config/mips/t-mips: New file.
6943         * config/mips/t-sdemtk: New file.
6944         * config/rs6000/ppc64-fp.c: New file.
6945         * config/rs6000/t-darwin (LIB2ADD): Add
6946         $(srcdir)/config/rs6000/ppc64-fp.c.
6947         * config/rs6000/t-ppc64-fp: New file.
6948         * config/rx/rx-lib.h: New file.
6949         * config/rx/t-rx (FPBIT): Set to true.
6950         ($(gcc_objdir)/fp-bit.c): Remove.
6951         (DPBIT): Set to true only with -m64bit-doubles.
6952         ($(gcc_objdir)/dp-bit.c): Remove.
6953         * config/sparc/t-softfp: Remove.
6954         * config/spu/t-elf: New file.
6955         * config/t-fdpbit, config/t-fpbit: New files.
6956         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6957         (mips*-*-*): Likewise.
6958         (arm-wrs-vxworks): Likewise.
6959         (arm*-*-freebsd*): Likewise.
6960         (avr-*-rtems*): Add t-fpbit to tmake_file.
6961         (avr-*-*): Likewise.
6962         (bfin*-elf*): Add t-fdpbit to tmake_file.
6963         (bfin*-uclinux*): Likewise.
6964         (bfin*-linux-uclibc*): Likewise.
6965         (bfin*-rtems*): New case.
6966         Add t-fdpbit to tmake_file.
6967         (bfin*-*): Add t-fdpbit to tmake_file.
6968         (crisv32-*-elf): Likewise.
6969         (cris-*-linux*): Likewise.
6970         (fr30-*-elf): Likewise.
6971         (frv-*-elf, frv-*-*linux*): Likewise.
6972         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6973         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6974         (m32r-*-elf*): Likewise.
6975         (m32rle-*-elf*): Likewise.
6976         (m32r-*-linux*): Likewise.
6977         (m32rle-*-linux*): Likewise.
6978         (mcore-*-elf): Add t-fdpbit to tmake_file.
6979         (microblaze*-*-*): Likewise.
6980         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6981         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6982         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6983         Fix typo.
6984         Add mips/t-tpbit to tmake-file.
6985         (mips*-*-linux*): Fix typo.
6986         (mips*-sde-elf*): New case
6987         Add mips/t-sdemtk unless using newlib.
6988         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6989         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6990         (mn10300-*-*): Likewise.
6991         (pdp11-*-*): Likewise.
6992         (picochip-*-*): Add t-fpbit to tmake_file.
6993         (powerpc-*-eabisimaltivec*): Likewise.
6994         (powerpc-*-eabisim*): Likewise.
6995         (powerpc-*-elf*): Likewise.
6996         (powerpc-*-eabialtivec*): Likewise.
6997         (powerpc-xilinx-eabi*): New case.
6998         Add t-fdpbit to tmake_file.
6999         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7000         (powerpc-*-rtems*): Likewise.
7001         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7002         tmake_file.
7003         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7004         tmake_file.
7005         (powerpc-*-lynxos*): Likewise.
7006         (powerpcle-*-elf*): Likewise.
7007         (powerpcle-*-eabisim*): Likewise.
7008         (powerpcle-*-eabi*): Likewise.
7009         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7010         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7011         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7012         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7013         (rx-*-elf): Add t-fdpbit to tmake_file.
7014         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7015         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7016         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7017         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7018         sh*-*-netbsd*.
7019         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7020         (sh-wrs-vxworks): Likewise.
7021         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7022         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7023         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7024         (sparc64-*-rtems*): ... new case.
7025         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7026         (spu-*-elf*): Likewise.
7027         Add spu/t-elf to tmake_file.
7028         (v850*-*-*): Add t-fdpbit to tmake_file.
7029         (xstormy16-*-elf): Likewise.
7030         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7031         (mep*-*-*): Likewise.
7033 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7035         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7036         variables.
7037         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7038         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7039         (install-unwind_h): New target.
7040         (all): Depend on it.
7041         * config.host (unwind_header): New variable.
7042         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7043         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7044         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7045         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7046         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7047         Set unwind_header.
7048         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7049         Set unwind_header.
7050         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7051         arm*-*-eabi*.
7052         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7053         Set unwind_header.
7054         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7055         (ia64*-*-freebsd*): Likewise.
7056         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7057         tmake_file.
7058         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7059         $with_system_libunwind.
7060         (ia64*-*-hpux*): Set tmake_file.
7061         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7062         (picochip-*-*): Set tmake_file.
7063         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7064         md_unwind_header.
7065         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7066         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7067         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7068         (xtensa*-*-elf*): Set tmake_file.
7069         (xtensa*-*-linux*): Likewise.
7070         * configure.ac: Include ../config/unwind_ipinfo.m4.
7071         Call GCC_CHECK_UNWIND_GETIPINFO.
7072         Link unwind.h to $unwind_header.
7073         * configure: Regenerate.
7074         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7075         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7076         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7077         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7078         * config/unwind-dw2-fde-darwin.c: New file.
7079         * config/arm/libunwind.S, config/arm/pr-support.c,
7080         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7081         config/arm/unwind-arm.h,: New files.
7082         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7083         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7084         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7085         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7086         config/ia64/unwind-ia64.h: New files.
7087         * config/picochip/t-picochip: New file.
7088         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7089         files.
7090         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7091         * config/s390/t-tpf (LIB2ADDEH): Remove.
7092         * config/t-darwin (LIB2ADDEH): Set.
7093         * config/t-eh-dw2-dip: New file.
7094         * config/t-libunwind, config/t-libunwind-elf: New files.
7095         * config/t-sol2 (LIB2ADDEH): Remove.
7096         * config/xtensa/t-xtensa: New file.
7098 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7100         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7101         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7102         long long to check rt_sigreturn syscall.
7104 2011-08-02  Alan Modra  <amodra@gmail.com>
7106         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7107         Restore for indirect call bcrtl from correct stack slot, and only
7108         if cfa+40 isn't valid.
7110 2011-08-01  Julian Brown  <julian@codesourcery.com>
7112         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7113         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7114         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7116 2011-08-01  Julian Brown  <julian@codesourcery.com>
7118         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7119         (libgcc-std.ver.in): Use above.
7120         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7121         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7122         throughout file.
7123         * config/t-fixedpoint-gnu-prefix: New file.
7124         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7125         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7126         instead of __PFX__.
7128 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7130         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7131         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7132         for x86-64.  Properly check __x86_64__ and __LP64__.
7134 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7136         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7137         version.
7138         (_FP_WS_TYPE): Likewise.
7139         (_FP_I_TYPE): Likewise.
7141 2011-07-28  Alan Modra  <amodra@gmail.com>
7143         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7144         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7145         in a plt call stub.  Do restore r2 if stopped on bctrl.
7147 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7149         * config.host (i[3456x]86-*-netware*): Remove.
7150         * config/i386/netware-crt0.c, config/i386/t-nwld,
7151         config/i386/t-slibgcc-nwld: Remove.
7153 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7155         * config.host: Handle tic6x-*-*.
7156         * config/c6x/c6x-abi.h: New file.
7158 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7160         * config/i386/crtprec.c: New file.
7161         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7162         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7163         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7164         (x86_64-*-darwin*): Likewise.
7165         (i[34567]86-*-solaris2*: Likewise.
7167 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7169         * config/alpha/crtfastmath.c: New file.
7170         * config/i386/crtfastmath.c: New file.
7171         * config/ia64/crtfastmath.c: New file.
7172         * config/mips/crtfastmath.c: New file.
7173         * config/sparc/crtfastmath.c: New file.
7175         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7176         crtfastmath.c.
7177         Add -frandom-seed=gcc-crtfastmath.
7178         * config/alpha/t-crtfm: Remove.
7179         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7180         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7182         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7183         (alpha*-dec-osf5.1*): Likewise.
7184         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7185         Add crtfastmath.o to extra_parts.
7186         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7187         Add crtfastmath.o to extra_parts.
7188         (x86_64-*-darwin*): Likewise.
7189         (x86_64-*-mingw*): Likewise.
7190         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7191         (ia64*-*-freebsd*): Likewise.
7192         (ia64*-*-linux*): Likewise.
7193         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7194         Add crtfastmath.o to extra_parts.
7196 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7198         * config/darwin-crt3.o: New file.
7199         * config/rs6000/darwin-crt2.c: New file.
7200         * config/t-darwin: New file.
7201         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7202         (crt2.o): New rule.
7203         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7204         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7205         (powerpc64-*-darwin*): Likewise.
7207 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7209         * config/i386/netware-crt0.c: New file.
7210         * config/i386/t-nwld: Rename to ...
7211         * config/i386/t-slibgcc-nwld: ... this.
7212         * config/i386/t-nwld: New file.
7213         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7214         tmake_file.
7215         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7216         extra_parts.
7218 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7220         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7221         i386/t-crtstuff.
7222         * configure: Regenerate.
7224 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7226         * dfp-bit.c, dfp-bit.h: New files.
7227         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7228         variables.
7229         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7230         ($(d64pbit-o)): Likewise.
7231         ($(d128pbit-o)): Likewise.
7232         * config/t-dfprules: New file.
7233         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7234         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7235         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7236         (x86_64-*-linux*): Likewise.
7237         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7238         (i[34567]86-*-cygwin*): Likewise.
7239         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7240         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7242 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7244         * Makfile.in (LIBGCOV): New variable.
7245         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7246         * libgcov.c: New file.
7248 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7250         * fixed-bit.c, fixed-bit.h: New files.
7251         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7252         refer to fixed-bit.c.
7254 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7256         * config.host (*local*): Remove.
7258 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7260         PR target/39150
7261         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7262         like i?86-*-solaris2.1[0-9]*.
7263         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7264         * configure.ac (i?86-*-solaris2*): Likewise.
7265         * configure: Regenerate.
7267 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7269         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7270         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7271         md_unwind_header by splitting out of...
7272         (i[34567]86-*-linux*): ... this.
7273         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7274         Remove md_unwind_header by splitting out of...
7275         (x86_64-*-linux*): ... this.
7277 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7279         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7281 2011-06-28  Nick Clifton  <nickc@redhat.com>
7283         * config.host: Recognize all V850 variants.
7285 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7287         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7289 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7291         * shared-object.mk (c_flags-$o): Save c_flags.
7292         ($(base)$(objext)): Use it.
7293         ($(base)_s$(objext)): Likewise.
7295 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7297         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7298         * libgcc-std.ver.in (GCC_4.7.0): New section.
7300 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7302         PR target/49313
7303         PR target/29524
7304         * config/avr/t-avr: Fix line endings.
7305         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7306         _parityXX2.
7308 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7309             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7311         * config/mips/irix6-unwind.h: New file.
7312         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7314 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7316         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7317         (sparc64_fallback_frame_state): Use it.
7318         (sparc64_frob_update_context): Further adjust context.
7319         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7320         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7321         * config/sparc/sol2-cn.S: Likewise.
7323 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7325         * enable-execute-stack-empty.c: New file.
7326         * enable-execute-stack-mprotect.c: New file.
7327         * config/i386/enable-execute-stack-mingw32.c: New file.
7328         * config.host (enable_execute_stack): New variable.
7329         Select appropriate variants.
7330         * configure.ac: Link enable-execute-stack.c to
7331         $enable_execute_stack.
7332         * configure: Regenerate.
7333         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7334         (lib2funcs): Remove _enable_execute_stack.
7336 2011-06-09  David S. Miller  <davem@davemloft.net>
7337             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7339         * config.host (sparc-*-linux*): Correct md_unwind_header
7340         filename.
7341         (s390x-ibm-tpf*): Fix typo.
7343 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7345         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7346         Add crtfastmath.o to extra_parts.
7347         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7348         mips/t-crtfm.
7349         * config/mips/t-crtfm: Remove.
7351 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7353         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7355 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7357         * config.host (sh*-*-linux*): Fix typo.
7359 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7361         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7362         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7363         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7364         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7365         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7366         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7367         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7368         Wrap in !__MINGW64__.
7369         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7370         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7371         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7372         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7373         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7374         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7375         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7376         Wrap in !__LP64__.
7377         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7378         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7379         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7380         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7381         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7382         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7383         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7384         * config/no-unwind.h: New file.
7385         * config.host (md_unwind_header): Document.
7386         Define.
7387         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7388         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7389         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7390         hppa[12]*-*-hpux11*): Set md_unwind_header.
7391         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7392         Set md_unwind_header.
7393         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7394         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7395         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7396         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7397         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7398         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7399         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7400         md_unwind_header.
7401         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7402         * configure: Regenerate.
7404 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7406         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7407         Set tmake_file, extra_parts.
7408         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7409         Remove O32 support.
7410         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7411         Remove O32 support.
7412         * config/mips/t-irix6: New file.
7413         * config/mips/t-slibgcc-irix: New file.
7415 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7417         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7418         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7420 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7422         * configure.ac (target_thread_file): Determine thread model.
7423         * configure: Regenerate.
7424         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7425         * config/alpha/t-alpha: New file.
7426         * config/alpha/t-crtfm: Use $<.
7427         * config/alpha/t-ieee: New file.
7428         * config/alpha/t-osf-pthread: New file.
7429         * config/alpha/t-slibgcc-osf: New file.
7430         * config/alpha/libgcc-osf5.ver: New file.
7432 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7434         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7435         tmake_file.
7436         Add crtfastmath.o to extra_parts.
7438 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7440         * config/gmon-sol2.c: Reindent.
7441         Cleanup comments.
7442         Remove, correct casts.
7443         Use STDERR_FILENO, NULL.
7444         (BASEADDRESS): Remove.
7445         (minbrk): Remove.
7446         (errno, sbrk): Remove declarations.
7447         (monstartup) [hp300]: Remove.
7448         (mcount): Remove.
7450 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7452         * Makefile.in (cpu_type): Define.
7453         * config.host (i[34567]86-*-rtems*): Handle it.
7454         (i[34567]86-*-solaris2*): Move body ...
7455         (*-*-solaris2*): ... here.
7456         New case, generalize.
7457         (sparc-*-elf*): Handle it.
7458         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7459         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7460         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7461         Fold into ...
7462         (sparc*-*-solaris2*): ... this.
7463         New case.
7464         (sparc64-*-elf*): Handle it.
7465         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7466         Merge ../gcc/config/i386/gmon-sol2.c.
7467         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7468         Use C comments.
7469         Merge ../gcc/config/i386/sol2-gc1.asm.
7470         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7471         Use C comments.
7472         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7473         Use C comments.
7474         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7475         * config/i386/t-crtstuff: New file.
7476         * config/i386/t-softfp: New file.
7477         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7478         $(T)crti.o, $(T)crtn.o): Remove.
7479         (gcrt1.o): New rule.
7480         (TARGET_LIBGCC2_CFLAGS): Remove.
7481         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7482         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7483         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7484         * config/sparc/t-sol2: New file.
7485         * config/sparc/t-crtfm: Move to ...
7486         * config/t-crtfm: ... this.
7487         Use $(cpu_type), $<.
7488         * config/t-crtin: New file.
7489         * config/sparc/t-softfp: New file.
7490         * config/sparc/t-softmul: New file.
7491         * config/t-rtems: New file.
7492         * config/t-slibgcc: New file.
7493         * config/t-slibgcc-elf-ver: New file.
7494         * config/t-slibgcc-gld: New file.
7495         * config/t-slibgcc-sld: New file.
7496         * config/t-sol2: New file.
7497         * configure.ac: Include ../config/lib-ld.m4.
7498         Call AC_LIB_PROG_LD_GNU.
7499         Substitute cpu_type.
7500         * configure: Regenerate.
7502 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7504         PR bootstrap/49173
7505         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7506         libgcc-std.ver in the build directory.
7507         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7508         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7510 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7512         * libgcc-std.ver.in: New file.
7513         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7514         variables.
7515         (libgcc-std.ver): New rule.
7516         * config/t-gnu-prefix: New file.
7518 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7520         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7522 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7524         * config/i386/darwin-lib.h: New file.
7526 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7528         * config/arm/symbian-lib.h: New.
7530 2011-05-04  Chris Demetriou  <cgd@google.com>
7532         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7533         (__x86.get_pc_thunk.bx): ...this.
7534         (__morestack): Adjust for rename, remove undef of __i686.
7536 2011-05-03  Chris Demetriou  <cgd@google.com>
7538         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7540 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7542         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7543         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7544         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7545         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7546         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7547         Remove cases.
7549 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7551         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7552         Adjust copyright year.
7554 2011-03-07  Ian Lance Taylor  <iant@google.com>
7556         * generic-morestack.c (__splitstack_find): Adjust returned stack
7557         pointer to include all registers pushed by __morestack.
7559 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7561         PR target/40125
7562         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7563         (toolexecdir): Calculate and AC_SUBST.
7564         (toolexeclibdir): Likewise.
7565         * Makefile.in (target_noncanonical): Import.
7566         (toolexecdir): Likewise.
7567         (toolexeclibdir): Likewise.
7568         * configure: Regenerate.
7570 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7572         PR target/46040
7573         * config/arm/bpabi.h: Rename to...
7574         * config/arm/bpabi-lib.h: ...this.
7576 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7578         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7579         appropriate.
7580         * configure: Regenerate.
7582 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7584         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7585         __FLOAT_WORD_ORDER__.
7586         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7587         Delete.
7589 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7591         PR other/46202
7592         * Makefile.in (install-strip): New phony target.
7594 2010-11-07  Ian Lance Taylor  <iant@google.com>
7596         PR target/46089
7597         * config/i386/morestack.S (__morestack_large_model): New
7598         function.
7600 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7602         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7603         Delete.
7604         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7606 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7608         * config/arm/bpabi.h: New file.
7609         * config/frv/frv-abi.h: New file.
7611 2010-10-01  Ian Lance Taylor  <iant@google.com>
7613         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7614         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7616 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7618         PR target/45858
7619         * config.host: Add the missing `$'.
7621 2010-09-30  Michael Eager  <eager@eagercon.com>
7623         * config.host: Add microblaze*-*-*.
7624         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7625         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7626         udivsi3.asm,umodsi3.asm}:  New.
7628 2010-09-28  Ian Lance Taylor  <iant@google.com>
7630         * configure.ac: Adjust CFI test to test assembler directly rather
7631         than checking gcc preprocessor macro.
7632         * configure: Rebuild.
7634 2010-09-27  Ian Lance Taylor  <iant@google.com>
7636         * configure.ac: Test whether assembler supports CFI directives.
7637         * config.host: Only add t-stack and i386/t-stack-i386 to
7638         tmake_file if libgcc_cv_cfi is "yes".
7639         * configure: Rebuild.
7641 2010-09-27  Ian Lance Taylor  <iant@google.com>
7643         * generic-morestack.h: New file.
7644         * generic-morestack.c: New file.
7645         * generic-morestack-thread.c: New file.
7646         * config/i386/morestack.S: New file.
7647         * config/t-stack: New file.
7648         * config/i386/t-stack-i386: New file.
7649         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7650         i386/t-stack-i386 to tmake_file.
7652 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7654         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7655         invoke ranlib after installing them.
7656         (gcc-extra-parts): Likewise.
7657         (install-leaf): Likewise.
7659 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7661         * configure: Regenerated.
7663 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7665         * configure: Regenerated.
7667 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7668             Andrew Pinski  <pinskia@gmail.com>
7670         PR target/40959
7671         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7673 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7675         PR target/45524
7676         * configure: Regenerated.
7678 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7680         * configure: Regenerate.
7682 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7684         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7685         64bit targets.
7686         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7687         for 64bit targets.
7689 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7690             Iain Sandoe  <iains@gcc.gnu.org>
7692         PR target/45476
7693         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7694         LIB2FUNCS_EXCLUDE functions.
7696 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7698         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7699         Include dfp.m4.
7700         * configure: Regenerate.
7702 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7704         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7705         i386/t-freebsd to tmake_file.
7706         * config/i386/t-freebsd: New file.
7707         * config/i386/libgcc-bsd.ver: New file.
7709 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7711         * config.host (powerpc*-eabispe*): Set tmake_file.
7712         (powerpc*-eabi*): Likewise.
7713         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7714         crtbeginS, crtendS, crtbeginT.
7716 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7718         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7719         to tmake_file.  Add crtfastmath.o to extra_parts.
7720         * config/mips/t-crtfm: New.
7722 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7724         * config.host (sparc64-*-rtems*): New target.
7726 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7728         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7729         assembler syntax.
7731 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7733         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7735 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7737         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7738         alpha-dec-osf5.0* support.
7740 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7742         * config.host: Add lm32-*-rtems*.
7744 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7745             Uros Bizjak  <ubizjak@gmail.com>
7747         PR target/39048
7748         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7749         like other remaining 32-bit x86 OSes.
7750         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7751         assembler syntax.
7752         * config/i386/libgcc-sol2.ver: New file.
7753         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7755 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7757         PR c/43553
7758         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7759         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7760         is used and substitute set_use_emutls.
7761         * configure: Regenerated.
7763 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7765         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7767 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7769         PR target/38085
7770         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7771         MULTILIB_CFLAGS.
7772         ($(T)gcrt1.o): Likewise.
7773         ($(T)crt1.o): Likewise.
7774         ($(T)crti.o): Likewise.
7775         ($(T)crtn.o): Likewise.
7777 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7779         PR other/42980
7780         * Makefile.in (install): Use $(MAKE) string in rule, for
7781         parallel make.
7783 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7785         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7786         * config/mmix/t-mmix: New file.
7787         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7789 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7791         PR java/41991
7792         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7793         SHLIB_MAPFILES.
7795 2010-01-04  Anthony Green  <green@moxielogic.com>
7797         * config/moxie/crti.asm, config/moxie/crtn.asm,
7798         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7799         config/moxie/t-moxie: New files.
7800         * config.host: Add t-moxie-softfp reference.
7802 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7804         PR other/39888
7805         * config/t-slibgcc-darwin: Fix embedded rpaths for
7806         --enable-version-specific-runtime-libs, build extension stub
7807         libs exposing features available from current libgcc_s.
7809 2009-11-11  Jon Beniston  <jon@beniston.com>
7811         * config.host: Add lm32 targets.
7812         * config/lm32: New directory.
7813         * config/lm32/libgcc_lm32.h: New file.
7814         * config/lm32/_mulsi3.c: New file.
7815         * config/lm32/_udivmodsi4.c: New file.
7816         * config/lm32/_divsi3.c: New file.
7817         * config/lm32/_modsi3.c: New file.
7818         * config/lm32/_udivsi3.c: New file.
7819         * config/lm32/_umodsi3.c: New file.
7820         * config/lm32/_lshrsi3.S: New file.
7821         * config/lm32/_ashrsi3.S: New file.
7822         * config/lm32/_ashlsi3.S: New file.
7823         * config/lm32/crti.S: New file.
7824         * config/lm32/crtn.S: New file.
7825         * config/lm32/t-lm32: New file.
7826         * config/lm32/t-elf: New file.
7827         * config/lm32/t-uclinux: New file.
7829 2009-10-26  Nick Clifton  <nickc@redhat.com>
7831         * config.host: Add support for RX target.
7832         * config/rx: New directory.
7833         * config/rx/rx-abi-functions.c: New file. Supplementary
7834         functions for libgcc to support the RX ABI.
7835         * config/rx/rx-abi.h: New file.  Supplementary header file for
7836         libgcc RX ABI functions.
7837         * config/rx/t-rx: New file: Makefile fragment for building
7838         libgcc for the RX.
7840 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7842         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7843         constraint of y0 to "g".
7845 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7847         * config.host: Include the s390 makefile fragments.
7848         * config/s390/32/_fixdfdi.c: New file.
7849         * config/s390/32/_fixsfdi.c: New file.
7850         * config/s390/32/_fixtfdi.c: New file.
7851         * config/s390/32/_fixunsdfdi.c: New file.
7852         * config/s390/32/_fixunssfdi.c: New file.
7853         * config/s390/32/_fixunstfdi.c: New file.
7854         * config/s390/32/t-floattodi: New file.
7855         * config/s390/libgcc-glibc.ver: New file.
7856         * config/s390/t-crtstuff: New file.
7857         * config/s390/t-linux: New file.
7858         * config/s390/t-tpf: New file.
7860 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7862         * configure.ac (AC_PREREQ): Bump to 2.64.
7864 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7866         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7868 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7870         * configure: Regenerate.
7872 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7874         * config.host (ia64-hp-*vms*): New target.
7875         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7876         with ia64-hp-*vms*.
7878 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7880         * configure.ac: Add snippet for maintainer-mode.
7881         * configure: Regenerate.
7882         * Makefile.in (AUTOCONF, configure_deps): New variables.
7883         ($(srcdir)/configure)): New rule, active only with maintainer
7884         mode turned on.
7886 2009-06-23  DJ Delorie  <dj@redhat.com>
7888         Add MeP port.
7889         * config.host: Add mep support.
7891 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7893         * config.host: Add i386/${host_address}/t-fprules-softfp and
7894         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7896         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7897         for mingw targets.
7898         * config/i386/64/_multc3.c: Likewise.
7899         * config/i386/64/_powitf2.c: Likewise.
7900         * config/i386/64/eqtf2.c: Likewise.
7901         * config/i386/64/getf2.c: Likewise.
7902         * config/i386/64/letf2.c: Likewise.
7903         * config/i386/64/letf2.c: Likewise.
7904         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7905         unsigned long long for x64 mingw targets.
7906         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7907         (_FP_I_TYPE): Define as long long for x64 mingw target.
7909 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7911         * config.host (vax-*-linux*): New.
7913 2009-05-31  Anthony Green  <green@moxielogic.com>
7915         * config.host: Add moxie support.
7916         * config/moxie/t-moxie: New file.
7918 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7920         * config.host: Add i386/${host_address}/t-fprules-softfp and
7921         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7923 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7925         * config.host: Add i386/${host_address}/t-fprules-softfp to
7926         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7928 2009-04-09  Nick Clifton  <nickc@redhat.com>
7930         * config/ia64/tf-signs.c: Change copyright header to refer to
7931         version 3 of the GNU General Public License with version 3.1
7932         of the GCC Runtime Library Exception and to point readers at
7933         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7934         web page.
7935         * config/i386/32/tf-signs.c: Likewise.
7936         * config/libbid/_addsub_dd.c: Likewise.
7937         * config/libbid/_addsub_sd.c: Likewise.
7938         * config/libbid/_addsub_td.c: Likewise.
7939         * config/libbid/_dd_to_df.c: Likewise.
7940         * config/libbid/_dd_to_di.c: Likewise.
7941         * config/libbid/_dd_to_sd.c: Likewise.
7942         * config/libbid/_dd_to_sf.c: Likewise.
7943         * config/libbid/_dd_to_si.c: Likewise.
7944         * config/libbid/_dd_to_td.c: Likewise.
7945         * config/libbid/_dd_to_tf.c: Likewise.
7946         * config/libbid/_dd_to_udi.c: Likewise.
7947         * config/libbid/_dd_to_usi.c: Likewise.
7948         * config/libbid/_dd_to_xf.c: Likewise.
7949         * config/libbid/_df_to_dd.c: Likewise.
7950         * config/libbid/_df_to_sd.c: Likewise.
7951         * config/libbid/_df_to_td.c: Likewise.
7952         * config/libbid/_di_to_dd.c: Likewise.
7953         * config/libbid/_di_to_sd.c: Likewise.
7954         * config/libbid/_di_to_td.c: Likewise.
7955         * config/libbid/_div_dd.c: Likewise.
7956         * config/libbid/_div_sd.c: Likewise.
7957         * config/libbid/_div_td.c: Likewise.
7958         * config/libbid/_eq_dd.c: Likewise.
7959         * config/libbid/_eq_sd.c: Likewise.
7960         * config/libbid/_eq_td.c: Likewise.
7961         * config/libbid/_ge_dd.c: Likewise.
7962         * config/libbid/_ge_sd.c: Likewise.
7963         * config/libbid/_ge_td.c: Likewise.
7964         * config/libbid/_gt_dd.c: Likewise.
7965         * config/libbid/_gt_sd.c: Likewise.
7966         * config/libbid/_gt_td.c: Likewise.
7967         * config/libbid/_isinfd128.c: Likewise.
7968         * config/libbid/_isinfd32.c: Likewise.
7969         * config/libbid/_isinfd64.c: Likewise.
7970         * config/libbid/_le_dd.c: Likewise.
7971         * config/libbid/_le_sd.c: Likewise.
7972         * config/libbid/_le_td.c: Likewise.
7973         * config/libbid/_lt_dd.c: Likewise.
7974         * config/libbid/_lt_sd.c: Likewise.
7975         * config/libbid/_lt_td.c: Likewise.
7976         * config/libbid/_mul_dd.c: Likewise.
7977         * config/libbid/_mul_sd.c: Likewise.
7978         * config/libbid/_mul_td.c: Likewise.
7979         * config/libbid/_ne_dd.c: Likewise.
7980         * config/libbid/_ne_sd.c: Likewise.
7981         * config/libbid/_ne_td.c: Likewise.
7982         * config/libbid/_sd_to_dd.c: Likewise.
7983         * config/libbid/_sd_to_df.c: Likewise.
7984         * config/libbid/_sd_to_di.c: Likewise.
7985         * config/libbid/_sd_to_sf.c: Likewise.
7986         * config/libbid/_sd_to_si.c: Likewise.
7987         * config/libbid/_sd_to_td.c: Likewise.
7988         * config/libbid/_sd_to_tf.c: Likewise.
7989         * config/libbid/_sd_to_udi.c: Likewise.
7990         * config/libbid/_sd_to_usi.c: Likewise.
7991         * config/libbid/_sd_to_xf.c: Likewise.
7992         * config/libbid/_sf_to_dd.c: Likewise.
7993         * config/libbid/_sf_to_sd.c: Likewise.
7994         * config/libbid/_sf_to_td.c: Likewise.
7995         * config/libbid/_si_to_dd.c: Likewise.
7996         * config/libbid/_si_to_sd.c: Likewise.
7997         * config/libbid/_si_to_td.c: Likewise.
7998         * config/libbid/_td_to_dd.c: Likewise.
7999         * config/libbid/_td_to_df.c: Likewise.
8000         * config/libbid/_td_to_di.c: Likewise.
8001         * config/libbid/_td_to_sd.c: Likewise.
8002         * config/libbid/_td_to_sf.c: Likewise.
8003         * config/libbid/_td_to_si.c: Likewise.
8004         * config/libbid/_td_to_tf.c: Likewise.
8005         * config/libbid/_td_to_udi.c: Likewise.
8006         * config/libbid/_td_to_usi.c: Likewise.
8007         * config/libbid/_td_to_xf.c: Likewise.
8008         * config/libbid/_tf_to_dd.c: Likewise.
8009         * config/libbid/_tf_to_sd.c: Likewise.
8010         * config/libbid/_tf_to_td.c: Likewise.
8011         * config/libbid/_udi_to_dd.c: Likewise.
8012         * config/libbid/_udi_to_sd.c: Likewise.
8013         * config/libbid/_udi_to_td.c: Likewise.
8014         * config/libbid/_unord_dd.c: Likewise.
8015         * config/libbid/_unord_sd.c: Likewise.
8016         * config/libbid/_unord_td.c: Likewise.
8017         * config/libbid/_usi_to_dd.c: Likewise.
8018         * config/libbid/_usi_to_sd.c: Likewise.
8019         * config/libbid/_usi_to_td.c: Likewise.
8020         * config/libbid/_xf_to_dd.c: Likewise.
8021         * config/libbid/_xf_to_sd.c: Likewise.
8022         * config/libbid/_xf_to_td.c: Likewise.
8023         * config/libbid/bid128.c: Likewise.
8024         * config/libbid/bid128_2_str.h: Likewise.
8025         * config/libbid/bid128_2_str_macros.h: Likewise.
8026         * config/libbid/bid128_2_str_tables.c: Likewise.
8027         * config/libbid/bid128_add.c: Likewise.
8028         * config/libbid/bid128_compare.c: Likewise.
8029         * config/libbid/bid128_div.c: Likewise.
8030         * config/libbid/bid128_fma.c: Likewise.
8031         * config/libbid/bid128_logb.c: Likewise.
8032         * config/libbid/bid128_minmax.c: Likewise.
8033         * config/libbid/bid128_mul.c: Likewise.
8034         * config/libbid/bid128_next.c: Likewise.
8035         * config/libbid/bid128_noncomp.c: Likewise.
8036         * config/libbid/bid128_quantize.c: Likewise.
8037         * config/libbid/bid128_rem.c: Likewise.
8038         * config/libbid/bid128_round_integral.c: Likewise.
8039         * config/libbid/bid128_scalb.c: Likewise.
8040         * config/libbid/bid128_sqrt.c: Likewise.
8041         * config/libbid/bid128_string.c: Likewise.
8042         * config/libbid/bid128_to_int16.c: Likewise.
8043         * config/libbid/bid128_to_int32.c: Likewise.
8044         * config/libbid/bid128_to_int64.c: Likewise.
8045         * config/libbid/bid128_to_int8.c: Likewise.
8046         * config/libbid/bid128_to_uint16.c: Likewise.
8047         * config/libbid/bid128_to_uint32.c: Likewise.
8048         * config/libbid/bid128_to_uint64.c: Likewise.
8049         * config/libbid/bid128_to_uint8.c: Likewise.
8050         * config/libbid/bid32_to_bid128.c: Likewise.
8051         * config/libbid/bid32_to_bid64.c: Likewise.
8052         * config/libbid/bid64_add.c: Likewise.
8053         * config/libbid/bid64_compare.c: Likewise.
8054         * config/libbid/bid64_div.c: Likewise.
8055         * config/libbid/bid64_fma.c: Likewise.
8056         * config/libbid/bid64_logb.c: Likewise.
8057         * config/libbid/bid64_minmax.c: Likewise.
8058         * config/libbid/bid64_mul.c: Likewise.
8059         * config/libbid/bid64_next.c: Likewise.
8060         * config/libbid/bid64_noncomp.c: Likewise.
8061         * config/libbid/bid64_quantize.c: Likewise.
8062         * config/libbid/bid64_rem.c: Likewise.
8063         * config/libbid/bid64_round_integral.c: Likewise.
8064         * config/libbid/bid64_scalb.c: Likewise.
8065         * config/libbid/bid64_sqrt.c: Likewise.
8066         * config/libbid/bid64_string.c: Likewise.
8067         * config/libbid/bid64_to_bid128.c: Likewise.
8068         * config/libbid/bid64_to_int16.c: Likewise.
8069         * config/libbid/bid64_to_int32.c: Likewise.
8070         * config/libbid/bid64_to_int64.c: Likewise.
8071         * config/libbid/bid64_to_int8.c: Likewise.
8072         * config/libbid/bid64_to_uint16.c: Likewise.
8073         * config/libbid/bid64_to_uint32.c: Likewise.
8074         * config/libbid/bid64_to_uint64.c: Likewise.
8075         * config/libbid/bid64_to_uint8.c: Likewise.
8076         * config/libbid/bid_b2d.h: Likewise.
8077         * config/libbid/bid_binarydecimal.c: Likewise.
8078         * config/libbid/bid_conf.h: Likewise.
8079         * config/libbid/bid_convert_data.c: Likewise.
8080         * config/libbid/bid_decimal_data.c: Likewise.
8081         * config/libbid/bid_decimal_globals.c: Likewise.
8082         * config/libbid/bid_div_macros.h: Likewise.
8083         * config/libbid/bid_dpd.c: Likewise.
8084         * config/libbid/bid_flag_operations.c: Likewise.
8085         * config/libbid/bid_from_int.c: Likewise.
8086         * config/libbid/bid_functions.h: Likewise.
8087         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8088         * config/libbid/bid_inline_add.h: Likewise.
8089         * config/libbid/bid_internal.h: Likewise.
8090         * config/libbid/bid_round.c: Likewise.
8091         * config/libbid/bid_sqrt_macros.h: Likewise.
8093 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8095         * Makefile.in: Change copyright header to refer to version
8096         3 of the GNU General Public License and to point readers at the
8097         COPYING3 file and the FSF's license web page.
8098         * config.host: Likewise.
8100 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8102         * config.host: Reorder and merge to match config.gcc change.
8104 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8106         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8108 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8110         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8111         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8112         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8113         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8115 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8117         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8118         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8120 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8122         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8123         ia64/t-softfp-compat to tmake_file.
8125         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8127         * config/ia64/__divxf3.asm: New.
8128         * config/ia64/_fixtfdi.asm: Likewise.
8129         * config/ia64/_fixunstfdi.asm: Likewise.
8130         * config/ia64/_floatditf.asm: Likewise.
8131         * config/ia64/t-fprules-softfp: Likewise.
8132         * config/ia64/t-softfp-compat: Likewise.
8133         * config/ia64/tf-signs.c: Likewise.
8135 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8137         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8139 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8141         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8142         to tmake_file.
8144 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8146         * config/t-softfp: New file.
8147         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8148         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8150 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8152         * config.host: Add m32r*-*-rtems*.
8154 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8156         * config.host: Add m32c*-*-rtems*.
8158 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8160         PR bootstrap/33100
8161         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8162         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8163         * configure: Regenerate.
8164         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8165         tmake_file here from gcc/config.gcc.
8166         Move extra_parts here from gcc/config.gcc.
8167         * config/i386/t-sol2: Move here from gcc/config/i386.
8168         Use gcc_srcdir instead of srcdir.
8170 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8172         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8173         case.
8175 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8177         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8179 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8181         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8183 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8185         Add picoChip port.
8186         * config.host: Add picochip-*-*.
8188 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8190         * config.host: Match more processor names for Xtensa.
8192 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8194         * config/i386/64/t-softfp-compat: Update comments.
8196 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8198         * config/i386/64/_divtc3-compat.c: Moved to ...
8199         * config/i386/64/_divtc3.c: Here.
8201         * config/i386/64/_multc3-compat.c: Moved to ...
8202         * config/i386/64/_multc3.c: Here.
8204         * config/i386/64/_powitf2-compat.c: Moved to ...
8205         * config/i386/64/_powitf2.c: Here.
8207         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8208         .c suffix instead of -compat.c.
8210 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8212         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8213         (_FP_MUL_MEAT_D): Ditto.
8214         (_FP_DIV_MEAT_S): Ditto.
8215         (_FP_DIV_MEAT_D): Ditto.
8217 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8219         * Makefile.in: Add support for __sync_* libgcc functions.
8221 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8223         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8225 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8227         PR boostrap/36702
8228         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8229         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8231         * config/i386/64/t-fprules-softfp: Moved to ...
8232         * config/i386/64/t-softfp-compat: This.  New.
8234 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8236         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8237         Initialize f with 0.0.
8239 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8241         PR target/36669
8242         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8244         * config/i386/64/_divtc3-compat.c: New.
8245         * config/i386/64/_multc3-compat.c: Likewise.
8246         * config/i386/64/_powitf2-compat.c: Likewise.
8247         * config/i386/64/eqtf2.c: Likewise.
8248         * config/i386/64/getf2.c: Likewise.
8249         * config/i386/64/letf2.c: Likewise.
8250         * config/i386/64/t-fprules-softfp: Likewise.
8252 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8254         * config.host: Add i386/${host_address}/t-fprules-softfp to
8255         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8256         i[34567]86-*-linux*, x86_64-*-linux*.
8258         * configure.ac: Set host_address to 64 or 32 for x86.
8259         * configure: Regenerated.
8261         * Makefile.in (config.status): Also depend on
8262         $(srcdir)/config.host.
8264         * config/i386/32/t-fprules-softfp: New.
8265         * config/i386/32/tf-signs.c: Likewise.
8267         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8269 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8270             Uros Bizjak  <ubizjak@gmail.com>
8272         * config/i386/32/sfp-machine.h: New.
8274 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8276         * config/rs6000/t-ppccomm: Remove rules that conflict with
8277         auto-generated rules.
8279 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8281         * configure.ac: sinclude override.m4.
8282         * configure: Regenerate.
8284 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8286         * configure: Regenerate.
8288 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8290         * Makefile.in (DECNUMINC): Remove
8291         -I$(MULTIBUILDTOP)../../libdecnumber.
8292         * gstdint.h: New.
8294 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8296         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8297         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8298         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8299         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8300         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8301         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8302         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8303         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8304         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8305         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8306         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8307         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8308         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8309         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8311 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8313         * config.host (sh2[lbe]*-*-linux*): Allow target.
8315 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8317         * config/rs6000/t-ppccomm: Add build rules for new files.
8318         (LIB2ADD_ST): New variable.
8320 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8322         PR target/34210
8323         PR target/35508
8324         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8325         * config/t-avr: New file. Build 16bit libgcc functions.
8327 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8329         PR target/35401
8330         * config/t-slibgcc-darwin: Make install-leaf dependent on
8331         install-darwin-libgcc-stubs instead of install.
8333 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8335         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8336         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8337         sh-*-rtemscoff*): Remove cases.
8339 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8341         * Makefile.in (all): Use install-leaf rather than install.
8342         (install): Split most of the rule into...
8343         (install-leaf): ...this new one.
8345 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8346             Paolo Bonzini  <bonzini@gnu.org>
8348         PR target/30572
8349         * Makefile.in: Use @shlib_slibdir@ substitution to get
8350         correct install name on darwin.
8351         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8353 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8355         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8356         cris-*-elf and cris-*-none.
8357         (crisv32-*-linux*): Similar, as cris-*-linux*.
8359 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8361         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8363 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8365         PR regression/33926
8366         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8367         * configure: Regenerated.
8369 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8371         * Makefile.in (dfp-filenames): Replace decimal_globals,
8372         decimal_data, binarydecimal and convert_data with
8373         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8374         and bid_convert_data, respectively.
8376 2007-09-17  Chao-ying Fu  <fu@mips.com>
8377             Nigel Stephens  <nigel@mips.com>
8379         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8380         * Makefile.in (fixed_point): Define.
8381         Check if fixed_point is yes to build support functions.
8382         * configure.ac: Check for fixed_point support.
8383         * configure: Regenerated.
8384         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8385         funcs, modes, from, to.
8387 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8389         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8391 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8393         * Makefile.in (dfp-filenames): Remove decUtility, add
8394         decDouble, decPacked, decQuad, decSingle.
8396 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8398         * config.host : Add x86_64-elf target.
8400 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8402         * configure.ac (set_have_cc_tls): Add a missing =.
8403         * configure: Regenerated.
8405 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8407         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8408         and x86_64-*-linux*.
8410         * config/t-tls: New file.
8412         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8414         * configure.ac: Include ../config/enable.m4 and
8415         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8416         supports TLS and substitute set_have_cc_tls.
8417         * configure: Regenerated.
8419 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8421         * Makefile.in: Use libbid for DFP when BID is enabled.
8423 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8425         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8426         extra_parts. Add config/i386/t-cygming to tmake_file.
8427         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8429 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8430             Danny Smith  <dannysmith@users.sourceforge.net>
8432         PR target/29498
8433         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8434         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8435         * config/i386/t-crtfm: Compile crtfastmath.o with
8436         -minline-all-stringops.
8438 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8440         * config.host (sparc-wrs-vxworks): New target.
8442 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8444         * config.host: Recognize fido.
8446 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8448         * configure: Check host, not target, for decimal float support.
8450 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8452         * config/i386/t-crtpc: New file.
8453         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8454         (x86_64-*-linux*): Ditto.
8456 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8458         * config.host (x86_64-*-mingw*): New target.
8460 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8461             H.J. Lu  <hongjiu.lu@intel.com>
8463         * Makefile.in (enable_decimal_float): New.
8464         (DECNUMINC): Add
8465         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8466         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8467         (decbits-filenames): This.
8468         (decbits-objects): New.
8469         (libgcc-objects): Add $(decbits-objects).
8471         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8472         Substitute enable_decimal_float.
8473         * configure: Regenerated.
8475 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8477         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8479 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8481         * Makefile.in (install-info): New dummy target.
8483 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8485         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8487 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8489         * Makefile.in: Add install-html and install-pdf dummy
8490         targets.
8492 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8493             Daniel Jacobowitz  <dan@codesourcery.com>
8495         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8496         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8497         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8499 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8501         * Makefile.in (dec-filenames): Add decExcept.
8503 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8505         PR bootstrap/30469
8506         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8507         -fprofile-use.
8509 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8511         * configure.ac: Add --enable-version-specific-runtime-libs.
8512         Correct $slibdir default.
8513         * configure: Regenerated.
8515 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8517         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8519 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8521         PR target/30519
8522         * config.host (alpha*-*-linux*): Set extra_parts.
8524 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8526         * config/sh/t-linux: New.
8527         * config.host (sh*-*-linux*): Set tmake_file.
8529 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8531         * Makefile.in (install): Handle multilibs.
8533 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8535         * Makefile.in: Added .PHONY entry for documentation targets.
8537 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8539         * Makefile.in: Add empty info, html, dvi, pdf targets.
8541 2007-01-04  Mike Stump  <mrs@apple.com>
8543         * Makefile.in (MAKEINFO): Remove.
8544         (PERL): Likewise.
8546 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8548         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8549         * configure: Regenerate.
8550         * Makefile.in (host_subdir): Substitute it.
8551         (gcc_objdir): Use it.
8553 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8555         * config.host (ia64*-*-linux*): Set tmake_file.
8557 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8559         * Makefile.in (version): Define.
8561 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8562             Paolo Bonzini  <bonzini@gnu.org>
8564         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8565         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8566         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8567         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8568         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8569         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8570         * configure: Generated.
8572 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8574 Copying and distribution of this file, with or without modification,
8575 are permitted in any medium without royalty provided the copyright
8576 notice and this notice are preserved.