[Demangle PATCH] Some pre-fix cleanups
[official-gcc.git] / libgcc / ChangeLog
blob8c1e1738c737fb3e69937e1a4e2a10cf1b45a435
1 2017-09-01  Olivier Hainque  <hainque@adacore.com>
3         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
5 2017-08-31  Olivier Hainque  <hainque@adacore.com>
7         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
8         match as powerpc-wrs-vxworks*.
10 2017-08-07  Jonathan Yong  <10walls@gmail.com>
12         * config.host (*-cygwin): Include file from mingw
13         config/i386/enable-execute-stack-mingw32.c
15 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
16             Doug Rupp  <rupp@adacore.com>
17             Olivier Hainque  <hainque@adacore.com>
19         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
20         as well as arm-wrs-vxworks.
21         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
22         LIB2ADDEH.
23         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
24         __exidx_start and __exidx_end for downloadable modules.
26 2017-08-01  Olivier Hainque  <hainque@adacore.com>
28         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
29         * config/t-vxworks7: Likewise.
31 2017-08-01  Olivier Hainque  <hainque@adacore.com>
33         * config/t-vxworks: Instead of redefining LIB2ADD,
34         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
36 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
38         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
40 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
42         PR testsuite/80759
43         * config.host: include i386/t-msabi for darwin and solaris.
44         * config/i386/i386-asm.h
45         (ELFFN): Rename to FN_TYPE.
46         (FN_SIZE): New macro.
47         (FN_HIDDEN): Likewise.
48         (ASMNAME): Likewise.
49         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
50         .globl.
51         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
52         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
53         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
54         .macro.
55         * config/i386/resms64f.S: Likewise.
56         * config/i386/resms64fx.S: Likewise.
57         * config/i386/resms64x.S: Likewise.
58         * config/i386/savms64.S: Likewise.
59         * config/i386/savms64f.S: Likewise.
61 2017-07-19  John Marino  <gnugcc@marino.st>
63         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
65 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
67         PR target/81193
68         * configure.ac (PowerPC float128 hardware support): Test whether
69         we can use __builtin_cpu_supports before enabling the ifunc
70         handler.
71         * configure: Regenerate.
73 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
75         * config.host: Remove uclibc from arc target spec.
77 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
79         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
81 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
83         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
84         (have_ieee_hw_p): Delete function.
85         (SW_OR_HW) Use __builtin_cpu_supports().
87 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
89         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
91 2017-07-03  Olivier Hainque  <hainque@adacore.com>
93         * config/t-vxworks7: New file, really.
95 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
97         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
98         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
99         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
100         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
101         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
102         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
103         config/pa/linux-unwind.h (pa32_fallback_frame_state),
104         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
105         config/sh/linux-unwind.h (sh_fallback_frame_state),
106         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
107         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
108         ucontext_t instead of struct ucontext.
110 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
112         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
113         (x86_64-wrs-vxworks7): Likewise.
115 2017-06-27  Olivier Hainque  <hainque@adacore.com>
117         * config/t-vxworks7: New file.
118         * config.host (*-*-vxworks7): Use it.
120 2017-06-22  Matt Turner  <mattst88@gmail.com>
122         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
123         skylake case.
125 2017-06-21  Richard Biener  <rguenther@suse.de>
127         PR gcov-profile/81080
128         * configure.ac: Add AC_SYS_LARGEFILE.
129         * libgcov.h: Include auto-target.h before tsystem.h to pick
130         up _FILE_OFFSET_BITS which might differ for multilibs.
131         * config.in: Regenerate.
132         * configure: Likewise.
134 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
136         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
138 2017-06-09  Martin Liska  <mliska@suse.cz>
140         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
141         Reset __gcov_indirect_call_callee to NULL.
143 2017-06-08  Olivier Hainque  <hainque@adacore.com>
145         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
146         the set of -I options, support for direct inclusions of net/uio.h
147         by VxWorks header files via ioLib.h.
149 2017-06-07  Tony Reix  <tony.reix@atos.net>
150             Matthieu Sarter  <matthieu.sarter.external@atos.net>
151             David Edelsohn  <dje.gcc@gmail.com>
153         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
154         unconditionally.
155         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
156         AIX 7.2 support.
158 2017-06-02  Olivier Hainque  <hainque@adacore.com>
160         * config/vxlib.c (__gthread_once): Add missing value to
161         return statement.
163 2017-05-30  Olivier Hainque  <hainque@adacore.com>
165         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
166         dollar sign before $(MULTIDIR).
168 2017-05-26  Richard Henderson  <rth@redhat.com>
170         PR libgcc/80037
171         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
173 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
175         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
176         _Unwind_SetIP available as functions for arm*-*-freebsd*.
177         * config/arm/unwind-arm.c: Implement the above.
179 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
181         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
182         section for a non-executable stack.
184 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
186         PR target/80600
187         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
189 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
191         * config.host: Add i386/t-msabi to i386/t-linux file list.
192         * config/i386/i386-asm.h: New file.
193         * config/i386/resms64.S: New file.
194         * config/i386/resms64f.S: New file.
195         * config/i386/resms64fx.S: New file.
196         * config/i386/resms64x.S: New file.
197         * config/i386/savms64.S: New file.
198         * config/i386/savms64f.S: New file.
199         * config/i386/t-msabi: New file.
201 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
203         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
204         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
206 2017-05-05  Joshua Conner  <joshconner@google.com>
208         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
209         pc-relative indirect handling for fuchsia.
210         * config/t-slibgcc-fuchsia: New file.
211         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
212         x86_64-*-fuchsia*): Add definitions.
214 2017-04-19  Martin Liska  <mliska@suse.cz>
216         PR gcov-profile/80435
217         * Makefile.in: Install gcov.h.
218         * gcov.h: New file.
219         * libgcov.h: Use the header and make __gcov_flush publicly
220         visible.
222 2017-04-18  Martin Liska  <mliska@suse.cz>
224         PR gcov-profile/78783
225         * libgcov-driver.c (gcov_get_filename): New function.
227 2017-04-07  Jeff Law  <law@redhat.com>
229         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
230         target makefile fragment.
231         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
233 2017-04-07  Alan Modra  <amodra@gmail.com>
235         PR target/45053
236         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
238 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
240         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
242 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
244         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
246 2017-03-10  John Marino  <gnugcc@marino.st>
248         * config/aarch64/freebsd-unwind.h: New file.
249         * config.host: Add aarch64-*-freebsd unwinder.
251 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
253         * config/rs6000/crtrestvr.s: Use .machine altivec.
254         * config/rs6000/crtsavevr.s: Ditto.
256 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
258         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
259         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
260         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
261         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
262         * configure: Regenerate.
263         * config.in: Regenerate.
265 2017-03-02  Jonathan Yong <10walls@gmail.com>
267         * config/i386/gthr-win32.h: Define NOGDI before
268         windows.h include to prevent w32api CC_NONE macro
269         clash with libgfortran.
271 2017-03-02  Jonathan Yong <10walls@gmail.com>
273         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
275 2017-02-16  Andrew Pinski  <apinski@cavium.com>
277         * config/aarch64/value-unwind.h: New file.
278         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
279         to tm_file.
281 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
283         * config.host: Add RISC-V tuples.
284         * config/riscv/atomic.c: New file.
285         * config/riscv/crti.S: Likewise.
286         * config/riscv/crtn.S: Likewise.
287         * config/riscv/div.S: Likewise.
288         * config/riscv/linux-unwind.h: Likewise.
289         * config/riscv/muldi3.S: Likewise.
290         * config/riscv/multi3.S: Likewise.
291         * config/riscv/save-restore.S: Likewise.
292         * config/riscv/sfp-machine.h: Likewise.
293         * config/riscv/t-elf: Likewise.
294         * config/riscv/t-elf32: Likewise.
295         * config/riscv/t-elf64: Likewise.
296         * config/riscv/t-softfp32: Likewise.
297         * config/riscv/t-softfp64: Likewise.
299 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
301         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
302         /* FALLTHRU */ comments.
304 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
306         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
308 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
310         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
311         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
312         DW_CFA_GNU_window_save for AArch64 and LP64.
314 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
316         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
318 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
320         * config/aarch64/aarch64-unwind.h: New file.
321         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
322         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
323         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
324         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
325         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
326         (aarch64_post_extract_frame_addr): New function.
327         (aarch64_post_frob_eh_handler_addr): New function.
328         (aarch64_frob_update_context): New function.
329         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
330         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
331         aarch64*-*-freebsd*):
332         Initialize md_unwind_header to include aarch64-unwind.h.
333         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
334         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
335         __aarch64__.
336         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
337         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
338         (uw_frob_return_addr): New function.
339         (uw_install_context): Use uw_frob_return_addr.
341 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
343         PR other/79046
344         * configure.ac: Add GCC_BASE_VER.
345         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
346         version from BASE-VER file.
347         * configure: Regenerated.
349 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
351         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
352         libmul_f5.a): Filter archived prerequisites.
354 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
356         * config/i386/cpuinfo.h (processor_features): Add
357         FEATURE_AVX512VPOPCNTDQ.
358         * config/i386/cpuinfo.c (get_available_features): Habdle new
359         feature.
361 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
363         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
364         payload if [__mips_nan2008].
366 2017-01-04  Alan Modra  <amodra@gmail.com>
368         * Makefile.in (configure_deps): Update.
369         * configure: Regenerate.
371 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
373         Update copyright years.
375 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
377         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
378         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
379         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
381 2016-12-17  Matthias Klose  <doko@ubuntu.com>
383         * config/arc/gmon: Remove empty directory.
385 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
387         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
388         crtgend.
389         (arc*-*-elf*): Likewise.
390         * config/arc/t-arc: Remove old gmon lib targets.
391         * config/arc/crtg.S: Remove.
392         * config/arc/crtgend.S: Likewise.
393         * config/arc/gmon/atomic.h: Likewise.
394         * config/arc/gmon/auxreg.h: Likewise.
395         * config/arc/gmon/dcache_linesz.S: Likewise.
396         * config/arc/gmon/gmon.c: Likewise.
397         * config/arc/gmon/machine-gmon.h: Likewise.
398         * config/arc/gmon/mcount.c: Likewise.
399         * config/arc/gmon/prof-freq-stub.S: Likewise.
400         * config/arc/gmon/prof-freq.c: Likewise.
401         * config/arc/gmon/profil.S: Likewise.
402         * config/arc/gmon/sys/gmon.h: Likewise.
403         * config/arc/gmon/sys/gmon_out.h: Likewise.
404         * config/arc/t-arc-newlib: Likewise.
405         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
407 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
409         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
411 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
413         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
414         R16 instead of push + pop.
415         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
417 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
419         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
420         tmake_file.
422 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
424         * config.host (arc*-*-linux-uclibc*): Use default extra
425         objects. Include linux-android header.
426         * config/arc/crti.S (_init): Declare symbol as function.
427         (_fini): Likewise.
429 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
431         PR fortran/78379
432         * config/i386/cpuinfo.c:  Move denums for processor vendors,
433         processor type, processor subtypes and declaration of
434         struct __processor_model into
435         * config/i386/cpuinfo.h:  New header file.
437 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
438             Thomas Preud'homme  <thomas.preudhomme@arm.com>
440         * config/arm/cmse_nonsecure_call.S: New.
441         * config/arm/t-arm: Compile cmse_nonsecure_call.S
443 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
444             Thomas Preud'homme  <thomas.preudhomme@arm.com>
446         * config/arm/t-arm (HAVE_CMSE): New.
447         * config/arm/cmse.c: New.
449 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
451         PR gcc/74748
452         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
453         use generic linker version information on Blackfin.
455         PR gcc/74748
456         * libgcc/mkmap-symver.awk: add support for skip_underscore
458 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
459             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
461         PR target/67710
462         *  config/t-darwin: Default builds to 10.5 codegen.
464 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
466         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
467         (_FP_NANSIGN_H): Likewise.
468         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
469         (softfp_truncations): Add tfhf.
470         (softfp_extras): Add required conversion functions.
472 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
473             Matthew Wahab  <matthew.wahab@arm.com>
475         * config/arm/fp16.c (binary64): New.
476         (__gnu_d2h_internal): New.
477         (__gnu_d2h_ieee): New.
478         (__gnu_d2h_alternative): New.
480 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
481             Matthew Wahab  <matthew.wahab@arm.com>
483         * config/arm/fp16.c (struct format): New.
484         (binary32): New.
485         (__gnu_float2h_internal): New.  Body moved from
486         __gnu_f2h_internal and generalize.
487         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
488         Call it with binary32.
490 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
492         * soft-fp/extendhftf2.c: Update from glibc.
493         * soft-fp/fixhfti.c: Likewise.
494         * soft-fp/fixunshfti.c: Likewise.
495         * soft-fp/floattihf.c: Likewise.
496         * soft-fp/floatuntihf.c: Likewise.
497         * soft-fp/half.h: Likewise.
498         * soft-fp/trunctfhf2.c: Likewise.
500 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
502         PR libgcc/77813
503         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
504         __TMC_END__ behind a passthrough asm.
506 2016-11-18  Walter Lee  <walt@tilera.com>
508         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
510 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
512         * config/i386/cpuinfo.c (processor_features): Add
513         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
515 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
517         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
518         (__ARC_NORM__): Use instead ARC_OPTFPE.
519         * config/arc/fp-hack.h: Likewise.
520         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
521         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
523 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
525         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
526         * config/nvptx/mgomp.c: New file.
527         * config/nvptx/t-nvptx: Add mgomp.c
529 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
531         PR libgcc/68468
532         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
534 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
536         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
537         of checking for cpus.
538         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
539         (__modsi3, __clzsi2): Likewise.
541 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
543         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
544         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
545         * config/i386/t-cpuinfo-static: New.
547 2016-11-03  Martin Liska  <mliska@suse.cz>
549         * libgcov-profiler.c (__gcov_time_profiler): Remove.
550         (__gcov_time_profiler_atomic): Likewise.
552 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
554         PR libgcc/78067
555         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
556         count_leading_zeros.
558 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
560         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
561         * libgcc2.c (__divmoddi4): New function.
562         * libgcc2.h (__divmoddi4): Declare.
563         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
564         and __PFX_divmodti4.
566 2016-10-24  Florian Weimer  <fweimer@redhat.com>
568         PR libgcc/78064
569         * unwind-c.c: Include auto-target.h.
571 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
573         * config/pa/pa64-hpux-lib.h: New file.
574         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
575         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
576         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
577         hppa*64*-*-hpux11*.
579 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
581         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
582         definition.
583         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
584         definition.
585         * config/xtensa/t-windowed (LIB2ADDEH): Use
586         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
587         or xtensa/t-linux.
589 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
591         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
592         __ieee754_sqrt): New functions.
593         (__divdf3): Add implementation with new FPU instructions under
594         #if XCHAL_HAVE_DFP_DIV.
595         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
596         __ieee754_sqrtf): New functions.
597         (__divsf3): Add implementation with new FPU instructions under
598         #if XCHAL_HAVE_FP_DIV.
599         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
600         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
602 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
604         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
605         equivalent.
606         * config/tilepro/atomic.c: Likewise and stop casting model to
607         enum memmodel.
609 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
611         PR target/77586
612         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
613         soft-fp.
615 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
617         * config.host: Add support for aarch64-*-freebsd*.
619 2016-10-05  Andreas Schwab  <schwab@suse.de>
621         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
622         (.section .init_array): Don't call __do_jv_register_classes.
623         (.section .init): Likewise.
625 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
627         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
628         (__JCR_LIST__): Remove.
629         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
630         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
631         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
632         * config/ia64/crtend.S (__JCR_END__): Remove.
633         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
634         conditionals.
635         (__JCR_LIST__, __JCR_END__): Remove.
636         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
637         (__do_global_ctors_1): Likewise.
639 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
641         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
642         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
644 2016-09-27  Martin Liska  <mliska@suse.cz>
646         PR gcov-profile/7970
647         PR gcov-profile/16855
648         PR gcov-profile/44779
649         * libgcov-driver.c (__gcov_init): Do not register a atexit
650         handler.
651         (__gcov_exit): Rename from gcov_exit.
652         * libgcov.h (__gcov_exit): Declare.
654 2016-09-27  Martin Liska  <mliska@suse.cz>
656         PR bootstrap/77749
657         * Makefile.in: Remove _gcov_merge_delta.
658         * libgcov-merge.c (void __gcov_merge_delta): Remove.
659         * libgcov-util.c (__gcov_delta_counter_op): Remove.
660         * libgcov.h: Remove declaration of __gcov_merge_delta.
662 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
664         * configure.ac: Do not create links, only substitute the filenames.
665         * configure: Regenerate.
666         * Makefile.in: Assign the substitution results to variables.
667         (LIBGCC_LINKS): Define.
668         (enable-execute-stack.c): New rule.
669         (unwind.h): Likewise.
670         (md-unwind-support.h): Likewise.
671         (sfp-machine.h): Likewise.
672         (gthr-default.h): Likewise.
673         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
674         unwind.h as prerequisite of install-unwind_h-forbuild.
676 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
678         PR libgcc/71744
679         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
680         is not the primary registry and atomics are available.
681         (any_objects_registered): New variable.
682         (__register_frame_info_bases, __register_frame_info_table_bases):
683         Atomically store 1 to any_objects_registered after registering first
684         unwind info.
685         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
687 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
689         PR target/63250
690         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
691         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
692         (HFtype): Likewise.
693         (HCtype): Likewise.
694         (__divhc3): Likewise.
695         (__mulhc3): Likewise.
696         * libgcc2.c: Support _mulhc3 and _divhc3.
698 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
700         PR libgcc/77519
701         * libgcc2.c (NOTRUNC): Invert settings.
703 2016-09-06  Martin Liska  <mliska@suse.cz>
705         PR gcov-profile/77378
706         PR gcov-profile/77466
707         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
708         conditionaly enable/disable *_atomic functions.
710 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
712         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
713         where not already enabled.
715 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
717         * config/mips/linux-unwind.h: Use sys/syscall.h.
719 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
721         PR libgcc/77265
722         * soft-fp/adddf3.c: Update from glibc.
723         * soft-fp/addsf3.c: Likewise.
724         * soft-fp/addtf3.c: Likewise.
725         * soft-fp/divdf3.c: Likewise.
726         * soft-fp/divsf3.c: Likewise.
727         * soft-fp/divtf3.c: Likewise.
728         * soft-fp/double.h: Likewise.
729         * soft-fp/eqdf2.c: Likewise.
730         * soft-fp/eqsf2.c: Likewise.
731         * soft-fp/eqtf2.c: Likewise.
732         * soft-fp/extenddftf2.c: Likewise.
733         * soft-fp/extended.h: Likewise.
734         * soft-fp/extendsfdf2.c: Likewise.
735         * soft-fp/extendsftf2.c: Likewise.
736         * soft-fp/extendxftf2.c: Likewise.
737         * soft-fp/fixdfdi.c: Likewise.
738         * soft-fp/fixdfsi.c: Likewise.
739         * soft-fp/fixdfti.c: Likewise.
740         * soft-fp/fixsfdi.c: Likewise.
741         * soft-fp/fixsfsi.c: Likewise.
742         * soft-fp/fixsfti.c: Likewise.
743         * soft-fp/fixtfdi.c: Likewise.
744         * soft-fp/fixtfsi.c: Likewise.
745         * soft-fp/fixtfti.c: Likewise.
746         * soft-fp/fixunsdfdi.c: Likewise.
747         * soft-fp/fixunsdfsi.c: Likewise.
748         * soft-fp/fixunsdfti.c: Likewise.
749         * soft-fp/fixunssfdi.c: Likewise.
750         * soft-fp/fixunssfsi.c: Likewise.
751         * soft-fp/fixunssfti.c: Likewise.
752         * soft-fp/fixunstfdi.c: Likewise.
753         * soft-fp/fixunstfsi.c: Likewise.
754         * soft-fp/fixunstfti.c: Likewise.
755         * soft-fp/floatdidf.c: Likewise.
756         * soft-fp/floatdisf.c: Likewise.
757         * soft-fp/floatditf.c: Likewise.
758         * soft-fp/floatsidf.c: Likewise.
759         * soft-fp/floatsisf.c: Likewise.
760         * soft-fp/floatsitf.c: Likewise.
761         * soft-fp/floattidf.c: Likewise.
762         * soft-fp/floattisf.c: Likewise.
763         * soft-fp/floattitf.c: Likewise.
764         * soft-fp/floatundidf.c: Likewise.
765         * soft-fp/floatundisf.c: Likewise.
766         * soft-fp/floatunditf.c: Likewise.
767         * soft-fp/floatunsidf.c: Likewise.
768         * soft-fp/floatunsisf.c: Likewise.
769         * soft-fp/floatunsitf.c: Likewise.
770         * soft-fp/floatuntidf.c: Likewise.
771         * soft-fp/floatuntisf.c: Likewise.
772         * soft-fp/floatuntitf.c: Likewise.
773         * soft-fp/gedf2.c: Likewise.
774         * soft-fp/gesf2.c: Likewise.
775         * soft-fp/getf2.c: Likewise.
776         * soft-fp/ledf2.c: Likewise.
777         * soft-fp/lesf2.c: Likewise.
778         * soft-fp/letf2.c: Likewise.
779         * soft-fp/muldf3.c: Likewise.
780         * soft-fp/mulsf3.c: Likewise.
781         * soft-fp/multf3.c: Likewise.
782         * soft-fp/negdf2.c: Likewise.
783         * soft-fp/negsf2.c: Likewise.
784         * soft-fp/negtf2.c: Likewise.
785         * soft-fp/op-1.h: Likewise.
786         * soft-fp/op-2.h: Likewise.
787         * soft-fp/op-4.h: Likewise.
788         * soft-fp/op-8.h: Likewise.
789         * soft-fp/op-common.h: Likewise.
790         * soft-fp/quad.h: Likewise.
791         * soft-fp/single.h: Likewise.
792         * soft-fp/soft-fp.h: Likewise.
793         * soft-fp/subdf3.c: Likewise.
794         * soft-fp/subsf3.c: Likewise.
795         * soft-fp/subtf3.c: Likewise.
796         * soft-fp/truncdfsf2.c: Likewise.
797         * soft-fp/trunctfdf2.c: Likewise.
798         * soft-fp/trunctfsf2.c: Likewise.
799         * soft-fp/trunctfxf2.c: Likewise.
800         * soft-fp/unorddf2.c: Likewise.
801         * soft-fp/unordsf2.c: Likewise.
802         * soft-fp/unordtf2.c: Likewise.
804 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
806         PR gcov-profile/67097
807         * libgcov-util.c (gcov_profile_merge): Skip missing files.
809 2016-08-10  Martin Liska  <mliska@suse.cz>
811         PR gcov-profile/58306
812         * Makefile.in: New functions (modules) are added.
813         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
814         function.
815         (__gcov_pow2_profiler_atomic): New function.
816         (__gcov_one_value_profiler_body): New argument is instroduced.
817         (__gcov_one_value_profiler): Call with the new argument.
818         (__gcov_one_value_profiler_atomic): Likewise.
819         (__gcov_indirect_call_profiler_v2): Likewise.
820         (__gcov_time_profiler_atomic): New function.
821         (__gcov_average_profiler_atomic): Likewise.
822         (__gcov_ior_profiler_atomic): Likewise.
823         * libgcov.h: Declare the aforementioned functions.
825 2016-08-09  Martin Liska  <mliska@suse.cz>
827         * libgcov-util.c: Fix typo and GNU coding style.
829 2016-08-09  Martin Liska  <mliska@suse.cz>
831         * Makefile.in: Remove __gcov_indirect_call_profiler.
832         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
833         function.
834         * libgcov.h: And the declaration of the function.
836 2016-08-09  Martin Liska  <mliska@suse.cz>
838         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
839         power of two.
841 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
843         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
844         * config/rs6000/_mulkc3.c: Likewise.
846 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
848         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
849         zero_reg as previous call to __umulhisi3 already cleared it.
851 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
853         PR target/59833
854         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
856 2016-07-19  Nick Clifton  <nickc@redhat.com>
858         * config.host (m32r): Add m32r/t-m32r to tmake_file.
859         Add crtinit.o and crtfini.o to extra_parts.
861 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
863         * config/rs6000/_divkc3.c: New.
864         * config/rs6000/_mulkc3.c: New.
865         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
866         and _divkc3.
867         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
868         fp128_ppc_funcs.
870 2016-07-11  Hale Wang  <hale.wang@arm.com>
871             Andre Vieira  <andre.simoesdiasvieira@arm.com>
873         * config/arm/lib1funcs.S: Add new wrapper.
875 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
877         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
879 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
881         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
882         and ARMv5t* rather than for a fixed list of architectures.
884 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
886         * config/arm/bpabi-v6m.S: Clarify what architectures is the
887         implementation suitable for.
888         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
889         for all Thumb-1 only targets.
890         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
891         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
892         __ARM_ARCH_6M__.
893         (EQUIV): Likewise.
894         (ARM_FUNC_ALIAS): Likewise.
895         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
896         version.
897         (modsi3): Likewise.
898         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
899         (clzdi2): Likewise.
900         (ctzsi2): Likewise.
901         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
902         __ARM_ARCH_6M__ in guard for checking whether it is defined.
903         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
904         __ARM_ARCH_6M__ and add comment to indicate the connection between
905         this condition and the one in gcc/config/arm/elf.h.
906         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
907         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
908         * config/arm/t-softfp: Likewise.
910 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
912         * libgcc2.c (SYMBOL__MAIN): Remove checks for
913         CTOR_LISTS_DEFINED_EXTERNALLY.
915 2016-06-28  Walter Lee  <walt@tilera.com>
917         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
918         asm/unistd.h.
919         (SPR_CMPEXCH_VALUE): Define for tilegx.
920         (__NR_FAST_cmpxchg): Define for tilepro.
921         (__NR_FAST_atomic_update): Define for tilepro.
922         (__NR_FAST_cmpxchg64): Define for tilepro.
924 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
926         * config.host: Add suport for arm*-*-phoenix* targets.
928 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
930         * config.host: Remove support for mep-*.
931         * config/mep/lib1funcs.S: Remove.
932         * config/mep/lib2funcs.c: Remove.
933         * config/mep/t-mep: Remove.
934         * config/mep/tramp.c: Remove.
936 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
938         * config.host: Remove support for avr-rtems.
939         * config/avr/t-rtems: Remove.
941 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
943         * config.host: Remove m32r-rtems support.
945 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
947         * config.host: Remove h8300-rtems support.
949 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
951         * config.host: Remove support for knetbsd.
953 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
955         * config.host: Remove support for openbsd 2 and 3.
957 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
959         * config.host: Remove interix support.
960         * config/i386/t-interix: Remove.
962 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
964         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
965         least-significant bit in function pointer for fixup.
967 2016-06-05  Aaron Conole  <aconole@redhat.com>
968             Nathan Sidwell  <nathan@acm.org>
970         PR libgcc/71400
971         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
972         (get_gcov_error_file): Check __gcov_error_file before trying to
973         initialize it.
974         (gcov_error): Always use get_gcov_error_file.
976 2016-06-02  Aaron Conole  <aconole@redhat.com>
978         * libgcov-driver-system.c (__gcov_error_file): New.
979         (get_gcov_error_file): New.
980         (gcov_error): Use and set __gcov_error_file.
981         (gcov_error_exit): New.
982         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
984 2016-05-26  Nathan Sidwell  <nathan@acm.org>
986         * config/nvptx/free.asm: Delete.
987         * config/nvptx/malloc.asm: Delete.
988         * config/nvptx/realloc.c: Delete.
989         * t-nvptx: Update.
991 2016-05-25  Nathan Sidwell  <nathan@acm.org>
993         * config/nvptx/crt0.s: Delete.
994         * config/nvptx/crt0.c: New.
995         * t-nvptx: Update.
997 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
999         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1000         dw2/seh configuration.
1001         [x86_64-*-mingw*]: Likewise.
1003 2016-05-10  Joel Sherrill <joel@rtems.org>
1005         PR libgcc/70720
1006         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1007         targets so the same extra_parts are built.  Also have tmake_file add
1008         on to its value rather than override.
1010 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1012         * config.host: Remove SH5 support.
1013         * configure: Likewise.
1015 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1017         * config/sh/crt1.S: Remove SH5 support.
1018         * config/sh/crti.S: Likewise.
1019         * config/sh/crtn.S: Likewise.
1020         * config/sh/lib1funcs-4-300.S: Likewise.
1021         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1022         * config/sh/lib1funcs.S: Likewise.
1023         * config/sh/linux-unwind.h: Likewise.
1024         * config/sh/t-sh64: Delete.
1026 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1028         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1030 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1031             Joern Rennecke  <joern.rennecke@embecosm.com>
1033         * config/arc/crttls.S: New file.
1034         * config/arc/t-arc: New rule.
1035         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1037 2016-04-25  Nick Clifton  <nickc@redhat.com>
1039         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1040         (__mspabi_cmpd): Likewise.
1041         * config/msp430/floathidf.c (__floathidf): Likewise.
1042         * config/msp430/floathisf.c (__floathisf): Likewise
1043         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1044         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1045         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1046         second parameter.
1047         (__ashrsi3): Likewise.
1049 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1051         * config/m68k/linux-atomic.c: Do not include unistd.h
1053 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1055         * config/arm/ieee754-df.S: Fix typos in comments.
1057 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1059         PR target/70381
1060         * configure.ac (powerpc*-*-linux*): Rework tests to build
1061         __float128 emulation routines to not depend on using #pragma GCC
1062         target to enable -mfloat128.
1063         * configure: Regnerate.
1065 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1067         PR target/67172
1068         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1069         __MINGW32__ is defined.
1071 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1073         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1075 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1077         PR libgcc/70363
1078         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1079         built with an assembler that does not support ISA 3.0
1080         instructions, rename __extendkftf2_sw to __extendkftf2.
1082 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1084         PR target/38239
1085         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1086         call-clobbered registers.
1087         (internal_mcount): Remove __i386__ handling.
1089 2016-02-26  Joel Sherrill <joel@rtems.org>
1091         * config.host: Add x86_64-*-rtems*.
1093 2016-02-26  Joel Sherrill <joel@rtems.org>
1095         * libgcc/config.host: Add aarch64-*-rtems*.
1097 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1098             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1100         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1101         union of u64 and double.
1102         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1103         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1104         value.
1105         (FP_ROUNDMODE): Update the usage of _fpscr.
1107 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1109         PR driver/68463
1110         * Makefile.in (crtoffloadtable$(objext)): New rule.
1111         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1112         enable_offload_targets is not empty.
1113         * configure: Regenerate.
1114         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1115         crtoffloadtable.
1117 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1119         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1120         .literal_position before the function.
1121         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1122         Likewise.
1124 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1126         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1127         * config/s390/morestack.S: New file.
1128         * config/s390/t-stack-s390: New file.
1129         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1131 2016-02-12  Walter Lee  <walt@tilera.com>
1133         * config.host (tilegx*-*-linux*): remove ti from
1134         softfp_int_modes for 32-bit configs.
1136 2016-02-10  Ian Lance Taylor  <iant@google.com>
1138         PR go/68562
1139         * config/i386/morestack.S (__stack_split_initialize): Align
1140         stack.
1142 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1144         PR bootstrap/69611
1145         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1146         __FLOAT128__ to compile only for __float128 capable targets.
1148 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1150         PR target/69444
1151         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1152         instead of ___NO_FPRS__.
1154 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1155             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1156             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1158         * config/rs6000/float128-sed: New files to convert TF names to KF
1159         names for PowerPC IEEE 128-bit floating point support.
1160         * config/rs6000/float128-sed-hw: Likewise.
1162         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1163         floating point hardware support.
1165         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1166         128-bit floating point software emulation or use ISA 3.0 hardware
1167         support if it is available.
1169         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1170         floating point.
1172         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1173         floating point to IBM extended double.
1175         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1176         double to IEEE 128-bit floating point.
1178         * config/rs6000/t-float128: New Makefile fragments to enable
1179         building __float128 emulation support.
1180         * config/rs6000/t-float128-hw: Likewise.
1182         * config/rs6000/sfp-exceptions.c: New file to provide exception
1183         support for IEEE 128-bit floating point.
1185         * config/rs6000/floattikf.c: New files for converting between IEEE
1186         128-bit floating point and signed/unsigned 128-bit integers.
1187         * config/rs6000/fixunskfti.c: Likewise.
1188         * config/rs6000/fixkfti.c: Likewise.
1189         * config/rs6000/floatuntikf.c: Likewise.
1191         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1192         when building on 64-bit systems, or when VSX is enabled.
1193         (_FP_W_TYPE): Likewise.
1194         (_FP_WS_TYPE): Likewise.
1195         (_FP_I_TYPE): Likewise.
1196         (TItype): Define on 64-bit systems.
1197         (UTItype): Likewise.
1198         (TI_BITS): Likewise.
1199         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1200         (_FP_MUL_MEAT_Q): Likewise.
1201         (_FP_DIV_MEAT_D): Likewise.
1202         (_FP_DIV_MEAT_Q): Likewise.
1203         (_FP_NANFRAC_D): Likewise.
1204         (_FP_NANFRAC_Q): Likewise.
1205         (ISA_BIT): Add exception support if we are being compiled on a
1206         machine with hardware floating point support to build the IEEE
1207         128-bit emulation functions.
1208         (FP_EX_INVALID): Likewise.
1209         (FP_EX_OVERFLOW): Likewise.
1210         (FP_EX_UNDERFLOW): Likewise.
1211         (FP_EX_DIVZERO): Likewise.
1212         (FP_EX_INEXACT): Likewise.
1213         (FP_EX_ALL): Likewise.
1214         (__sfp_handle_exceptions): Likewise.
1215         (FP_HANDLE_EXCEPTIONS): Likewise.
1216         (FP_RND_NEAREST): Likewise.
1217         (FP_RND_ZERO): Likewise.
1218         (FP_RND_PINF): Likewise.
1219         (FP_RND_MINF): Likewise.
1220         (FP_RND_MASK): Likewise.
1221         (_FP_DECL_EX): Likewise.
1222         (FP_INIT_ROUNDMODE): Likewise.
1223         (FP_ROUNDMODE): Likewise.
1225         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1226         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1227         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1228         floating point hardware instructions and it supports declaring
1229         functions with the ifunc attribute, enable ifunc functions to
1230         switch between software and hardware support.
1231         * configure.ac (powerpc*-*-linux*): Likewise.
1232         * configure: Regenerate.
1234 2016-01-15  Nick Clifton  <nickc@redhat.com>
1236         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1237         dependency as the source file to be compiled.
1238         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1239         (lib2hw_mul_f5.o): Likewise.
1241 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1243         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1244         * libgcc/config/rs6000/fixkfti.c: Likewise.
1245         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1246         * libgcc/config/rs6000/float128-hw.c: Likewise.
1247         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1248         * libgcc/config/rs6000/float128-sed: Likewise.
1249         * libgcc/config/rs6000/floattikf.c: Likewise.
1250         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1251         * libgcc/config/rs6000/quad-float128.h: Likewise.
1252         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1253         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1254         * libgcc/config/rs6000/t-float128: Likewise.
1255         * libgcc/config/rs6000/t-float128-hw: Likewise.
1256         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1257         * libgcc/config.host: Likewise.
1258         * libgcc/configure: Likewise.
1259         * libgcc/configure.ac: Likewise.
1261 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1262             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1263             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1265         * config/rs6000/sfp-exceptions.c: New file to provide exception
1266         support for IEEE 128-bit floating point.
1268         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1269         floating point hardware support.
1271         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1272         point conversions.
1273         * config/rs6000/fixunskfti.c: Likewise.
1274         * config/rs6000/fixkfti.c: Likewise.
1275         * config/rs6000/floatuntikf.c: Likewise.
1276         * config/rs6000/extendkftf2-sw.c: Likewise.
1277         * config/rs6000/trunctfkf2-sw.c: Likewise.
1279         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1280         128-bit floating point software emulation or use ISA 3.0 hardware
1281         support if it is available.
1283         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1284         floating point.
1286         * config/rs6000/t-float128: New Makefile fragments to enable
1287         building __float128 emulation support.
1288         * config/rs6000/t-float128-hw: Likewise.
1290         * config/rs6000/float128-sed: New file to convert TF names to KF
1291         names for PowerPC IEEE 128-bit floating point support.
1293         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1294         when building on 64-bit systems, or when VSX is enabled.
1295         (_FP_W_TYPE): Likewise.
1296         (_FP_WS_TYPE): Likewise.
1297         (_FP_I_TYPE): Likewise.
1298         (TItype): Define on 64-bit systems.
1299         (UTItype): Likewise.
1300         (TI_BITS): Likewise.
1301         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1302         (_FP_MUL_MEAT_Q): Likewise.
1303         (_FP_DIV_MEAT_D): Likewise.
1304         (_FP_DIV_MEAT_Q): Likewise.
1305         (_FP_NANFRAC_D): Likewise.
1306         (_FP_NANFRAC_Q): Likewise.
1307         (ISA_BIT): Add exception support if we are being compiled on a
1308         machine with hardware floating point support to build the IEEE
1309         128-bit emulation functions.
1310         (FP_EX_INVALID): Likewise.
1311         (FP_EX_OVERFLOW): Likewise.
1312         (FP_EX_UNDERFLOW): Likewise.
1313         (FP_EX_DIVZERO): Likewise.
1314         (FP_EX_INEXACT): Likewise.
1315         (FP_EX_ALL): Likewise.
1316         (__sfp_handle_exceptions): Likewise.
1317         (FP_HANDLE_EXCEPTIONS): Likewise.
1318         (FP_RND_NEAREST): Likewise.
1319         (FP_RND_ZERO): Likewise.
1320         (FP_RND_PINF): Likewise.
1321         (FP_RND_MINF): Likewise.
1322         (FP_RND_MASK): Likewise.
1323         (_FP_DECL_EX): Likewise.
1324         (FP_INIT_ROUNDMODE): Likewise.
1325         (FP_ROUNDMODE): Likewise.
1327         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1328         compiler can do __float128.
1329         * configure: Regenerate.
1331         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1332         VSX code, enable IEEE 128-bit floating point.
1334 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1336         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1337         specificities.
1339 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1341         Update copyright years.
1343 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1345         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1346         soft-fp targets.
1348 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1350         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1351         instead of abort to avoid dependency on stdlib.h.
1353 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1355         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1356         to initialize call to __dl_fixup once.
1358 2015-12-04  Nick Clifton  <nickc@redhat.com>
1360         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1361         Allow for the second argument being negative.
1362         * config.host (extra_parts): Define for MSP430.  Create separate
1363         libraries for each of the hardware multiply formats.
1364         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1365         that are needed.
1366         * config/msp430/lib2mul.c: Likewise.
1367         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1368         Add rules to build hardware multiply libraries.
1369         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1370         __mspabi_divul function.
1371         (__mspabi_divllu): New stub function.
1373 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1375         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1376         fixup values if saved GOT address doesn't match runtime address.
1377         (fixup_branch_offset): Reorder list.
1379 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1381         * Makefile.in (VTV_CFLAGS): New variable.
1382         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1383         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1384         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1385         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1386         to extra_parts if $enable_vtable_verify = yes.
1388 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1390         PR target/68059
1391         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1392         (write): ...this and fix the return type.
1394 2015-11-19  DJ Delorie  <dj@redhat.com>
1396         * config/msp430/lib2hw_mul.S: Fix alignment.
1398 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1400         * config/nvptx/reduction.c: New.
1401         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1403 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1405         * config/rs6000/on_exit.c: New file.
1406         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1407         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1409 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1411         * config/arc/dp-hack.h: Add support for ARCHS.
1412         * config/arc/ieee-754/divdf3.S: Likewise.
1413         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1414         * config/arc/ieee-754/muldf3.S: Likewise.
1415         * config/arc/ieee-754/mulsf3.S: Likewise
1416         * config/arc/lib1funcs.S: Likewise
1417         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1418         for ARCv2 cores.
1419         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1420         for ARCv2 cores.
1421         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1422         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1423         cores.
1425 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1427         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1428         value.
1429         * config/ia64/crtend.S: Likewise.
1431 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1433         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1434         __CHAR_BIT__ instead of BITS_PER_UNIT.
1435         * fixed-bit.h: Likewise.
1436         * fp-bit.h: Likewise.
1437         * libgcc2.c (__popcountSI2): Likewise.
1438         (__popcountDI2): Likewise.
1439         * libgcc2.h: Likewise.
1440         * libgcov.h: Likewise.
1442 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1444         * config/rs6000/atexit.c: New file.
1445         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1446         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1447         * config/rs6000/cxa_finalize.c
1448         (catomic_compare_and_exchange_bool_acq): Negate return value.
1450 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1452         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1453         (processor_subtypes): Add znver1.
1454         (get_amd_cpu): Detect znver1.
1456 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1458         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1459         Include crtfastmath.o.
1461 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1463         PR libgcc/66883
1464         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1466 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1468         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1469         * config/rl78/divmodsi.S: Update return register to r8.
1470         * config/rl78/divmodhi.S: Update return register to r8,r9.
1471         Branch to main_loop_done_himode to pop registers before return.
1473 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1475         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1476         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1478 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1480         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1482 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1484         * config.host (xtensa*-*-uclinux*): New configuration.
1486 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1488         * config/i386/cpuinfo.c (processor_features): Add
1489         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1491 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1493         * soft-fp/adddf3.c: Update from glibc.
1494         * soft-fp/addsf3.c: Likewise.
1495         * soft-fp/addtf3.c: Likewise.
1496         * soft-fp/divdf3.c: Likewise.
1497         * soft-fp/divsf3.c: Likewise.
1498         * soft-fp/divtf3.c: Likewise.
1499         * soft-fp/double.h: Likewise.
1500         * soft-fp/eqdf2.c: Likewise.
1501         * soft-fp/eqsf2.c: Likewise.
1502         * soft-fp/eqtf2.c: Likewise.
1503         * soft-fp/extenddftf2.c: Likewise.
1504         * soft-fp/extended.h: Likewise.
1505         * soft-fp/extendsfdf2.c: Likewise.
1506         * soft-fp/extendsftf2.c: Likewise.
1507         * soft-fp/extendxftf2.c: Likewise.
1508         * soft-fp/fixdfdi.c: Likewise.
1509         * soft-fp/fixdfsi.c: Likewise.
1510         * soft-fp/fixdfti.c: Likewise.
1511         * soft-fp/fixsfdi.c: Likewise.
1512         * soft-fp/fixsfsi.c: Likewise.
1513         * soft-fp/fixsfti.c: Likewise.
1514         * soft-fp/fixtfdi.c: Likewise.
1515         * soft-fp/fixtfsi.c: Likewise.
1516         * soft-fp/fixtfti.c: Likewise.
1517         * soft-fp/fixunsdfdi.c: Likewise.
1518         * soft-fp/fixunsdfsi.c: Likewise.
1519         * soft-fp/fixunsdfti.c: Likewise.
1520         * soft-fp/fixunssfdi.c: Likewise.
1521         * soft-fp/fixunssfsi.c: Likewise.
1522         * soft-fp/fixunssfti.c: Likewise.
1523         * soft-fp/fixunstfdi.c: Likewise.
1524         * soft-fp/fixunstfsi.c: Likewise.
1525         * soft-fp/fixunstfti.c: Likewise.
1526         * soft-fp/floatdidf.c: Likewise.
1527         * soft-fp/floatdisf.c: Likewise.
1528         * soft-fp/floatditf.c: Likewise.
1529         * soft-fp/floatsidf.c: Likewise.
1530         * soft-fp/floatsisf.c: Likewise.
1531         * soft-fp/floatsitf.c: Likewise.
1532         * soft-fp/floattidf.c: Likewise.
1533         * soft-fp/floattisf.c: Likewise.
1534         * soft-fp/floattitf.c: Likewise.
1535         * soft-fp/floatundidf.c: Likewise.
1536         * soft-fp/floatundisf.c: Likewise.
1537         * soft-fp/floatunditf.c: Likewise.
1538         * soft-fp/floatunsidf.c: Likewise.
1539         * soft-fp/floatunsisf.c: Likewise.
1540         * soft-fp/floatunsitf.c: Likewise.
1541         * soft-fp/floatuntidf.c: Likewise.
1542         * soft-fp/floatuntisf.c: Likewise.
1543         * soft-fp/floatuntitf.c: Likewise.
1544         * soft-fp/gedf2.c: Likewise.
1545         * soft-fp/gesf2.c: Likewise.
1546         * soft-fp/getf2.c: Likewise.
1547         * soft-fp/ledf2.c: Likewise.
1548         * soft-fp/lesf2.c: Likewise.
1549         * soft-fp/letf2.c: Likewise.
1550         * soft-fp/muldf3.c: Likewise.
1551         * soft-fp/mulsf3.c: Likewise.
1552         * soft-fp/multf3.c: Likewise.
1553         * soft-fp/negdf2.c: Likewise.
1554         * soft-fp/negsf2.c: Likewise.
1555         * soft-fp/negtf2.c: Likewise.
1556         * soft-fp/op-1.h: Likewise.
1557         * soft-fp/op-2.h: Likewise.
1558         * soft-fp/op-4.h: Likewise.
1559         * soft-fp/op-8.h: Likewise.
1560         * soft-fp/op-common.h: Likewise.
1561         * soft-fp/quad.h: Likewise.
1562         * soft-fp/single.h: Likewise.
1563         * soft-fp/soft-fp.h: Likewise.
1564         * soft-fp/subdf3.c: Likewise.
1565         * soft-fp/subsf3.c: Likewise.
1566         * soft-fp/subtf3.c: Likewise.
1567         * soft-fp/truncdfsf2.c: Likewise.
1568         * soft-fp/trunctfdf2.c: Likewise.
1569         * soft-fp/trunctfsf2.c: Likewise.
1570         * soft-fp/trunctfxf2.c: Likewise.
1571         * soft-fp/unorddf2.c: Likewise.
1572         * soft-fp/unordsf2.c: Likewise.
1573         * soft-fp/unordtf2.c: Likewise.
1575 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1577         PR libgcc/67624
1578         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1580 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1582         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1583         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1584         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1585         messages.
1586         (internal_mcount): Likewise.
1587         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1588         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1590 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1592         * configure.ac (libgcc_cv_solaris_crts): New test.
1593         * configure: Regenerate.
1594         * config.in: Regenerate.
1595         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1596         * config/gmon-sol2.c: Rename to ...
1597         * config/sol2/gmon.c: ... this.
1598         Include auto-target.h.
1599         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1600         * config/t-sol2: Rename to ...
1601         * config/sol2/t-sol2: ... this.
1602         (gmon.o): Reflect renaming.
1603         (crtp.o, crtpg.o): New rules.
1604         * config.host (*-*-solaris2*): Reflect renaming.
1605         Use system CRTs if present.
1606         Remove default CRT case.
1608 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1610         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1611         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1612         __kernel_cmpxchg2.
1613         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1614         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1615         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1616         (__sync_lock_test_and_set_##WIDTH): Likewise.
1617         (__sync_lock_release_##WIDTH): Likewise.
1618         (__sync_fetch_and_##OP##_4): Change result to match type of
1619         __kernel_cmpxchg.
1620         (__sync_##OP##_and_fetch_4): Likewise.
1621         (__sync_val_compare_and_swap_4): Likewise.
1622         (__sync_bool_compare_and_swap_4): likewise.
1623         (__sync_lock_test_and_set_4): Likewise.
1624         (__sync_lock_release_4): Likewise.
1625         (FETCH_AND_OP_2): Add long long variants.
1626         (OP_AND_FETCH_2): Likewise.
1627         (COMPARE_AND_SWAP_2 ): Likewise.
1628         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1629         (SYNC_LOCK_RELEASE_2): Likewise.
1630         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1632 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1634         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1635         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1636         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1637         (get_available_features): Habdle new features.
1639 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1641         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1642         memory layout. Deal correctly with BSS region larger than 32K.
1643         Handle a watchdog reset like a power-on reset. Clean up unused
1644         code.
1646 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1647             David Edelsohn  <dje.gcc@gmail.com>
1649         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1650         * config/rs6000/crtdbase.S: New file.
1651         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1653 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1655         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1656         Add support for call0 ABI.
1658 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1660         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1662 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1664         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1665         (__GTHREAD_HAS_COND): Likewise.
1666         (__gthread_t): Likewise.
1667         (__gthread_cond_t): Likewise.
1668         (__gthread_time_t): Likewise.
1669         (__GTHREAD_MUTEX_INIT): Likewise.
1670         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1671         (__GTHREAD_COND_INIT): Likewise.
1672         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1673         (__GTHREAD_TIME_INIT): Likewise.
1674         (__gthread_create): Likewise.
1675         (__gthread_join): Likewise.
1676         (__gthread_detach): Likewise.
1677         (__gthread_equal): Likewise.
1678         (__gthread_self): Likewise.
1679         (__gthread_yield): Likewise.
1680         (__gthread_cond_broadcast): Likewise.
1681         (__gthread_cond_signal): Likewise.
1682         (__gthread_cond_wait): Likewise.
1683         (__gthread_cond_timedwait): Likewise.
1684         (__gthread_cond_wait_recursive): Likewise.
1685         (__gthread_cond_destroy): Likewise.
1686         (rtems_gxx_once): Delete.
1687         (rtems_gxx_key_create): Likewise.
1688         (rtems_gxx_key_delete): Likewise.
1689         (rtems_gxx_getspecific): Likewise.
1690         (rtems_gxx_setspecific): Likewise.
1691         (rtems_gxx_mutex_init): Likewise.
1692         (rtems_gxx_mutex_destroy): Likewise.
1693         (rtems_gxx_mutex_lock): Likewise.
1694         (rtems_gxx_mutex_trylock): Likewise.
1695         (rtems_gxx_mutex_unlock): Likewise.
1696         (rtems_gxx_recursive_mutex_init): Likewise.
1697         (rtems_gxx_recursive_mutex_lock): Likewise.
1698         (rtems_gxx_recursive_mutex_trylock): Likewise.
1699         (rtems_gxx_recursive_mutex_unlock): Likewise.
1700         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1701         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1702         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1703         (__gthread_once): Likewise.
1704         (__gthread_key_create): Likewise.
1705         (__gthread_key_delete): Likewise.
1706         (__gthread_getspecific): Likewise.
1707         (__gthread_setspecific): Likewise.
1708         (__gthread_key_t): Use <pthread.h> type.
1709         (__gthread_once_t): Likewise
1710         (__gthread_mutex_t): Use <sys/lock.h> type.
1711         (__gthread_recursive_mutex_t): Likewise
1712         (__gthread_mutex_lock): Use <sys/lock.h> function.
1713         (__gthread_mutex_trylock): Likewise.
1714         (__gthread_mutex_timedlock): Likewise.
1715         (__gthread_mutex_unlock): Likewise.
1716         (__gthread_mutex_destroy): Likewise.
1717         (__gthread_recursive_mutex_lock): Likewise.
1718         (__gthread_recursive_mutex_trylock): Likewise.
1719         (__gthread_recursive_mutex_timedlock): Likewise.
1720         (__gthread_recursive_mutex_unlock): Likewise.
1721         (__gthread_recursive_mutex_destroy): Likewise.
1723 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1725         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1726         context->sp instead of context->cfa.
1728 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1730         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1731         with unwind-dw2-fde-dip.
1733 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1735         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1736         CALL12 followed by series of ENTRY to spill windowed registers.
1737         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1738         instead of making linux spill syscall.
1740 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1742         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1743         (get_intel_cpu): Likewise.
1745 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1747         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1748         (get_intel_cpu): Add Knights Landing support.
1750 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1752         PR target/66954
1753         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1754         (get_available_features): Handle FEATURE_PCLMUL.
1756 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1758         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1759         Broadwell.
1761 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1763         PR target/66954
1764         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1765         (get_available_features): Handle FEATURE_AES.
1767 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1769         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1770         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1772 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1774         * offloadstuff.c: Constify host data.
1776 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1778         * config/t-softfp: Split up "else ifneq".
1780 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1781             Cesar Philippidis  <cesar@codesourcery.com>
1782             Chung-Lin Tang  <cltang@codesourcery.com>
1784         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1785         for __nios2_arch__ level.
1787 2015-07-13  John Marino  <gnugcc@marino.st>
1789         * config/i386/t-dragonfly: New.
1791 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1793         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1794         better match light-weight syscall argument order.
1795         (__kernel_cmpxchg2): Likewise.
1796         Adjust callers.
1798 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1800         * config.host: Support i[34567]86-*-elfiamcu target.
1801         * config/t-softfp-sfdftf: New file.
1802         * config/i386/32/t-iamcu: Likewise.
1803         * configure: Regenerated.
1805 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1807         libgcc/config/arm/
1808         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1810 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1812         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1814 2015-05-27  John Marino  <gnugcc@marino.st>
1816         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1817         md_unwind_header
1818         * config/i386/freebsd-unwind.h: New.
1820 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1822         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1823         i386/t-crtfm to tmake_file.
1824         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1825         (set_fast_math): Use set_fast_math_sse for SSE targets.
1826         * config/i386/t-crtfm: Remove.
1828 2015-05-21  Alan Modra  <amodra@gmail.com>
1830         PR libgcc/66225
1831         * config/rs6000/morestack.S: Remove ".abiversion 1".
1833 2015-05-20  Alan Modra  <amodra@gmail.com>
1835         * config/rs6000/morestack.S: New.
1836         * config/rs6000/t-stack-rs6000: New.
1837         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1838         to tmake_file.
1839         * generic-morestack.c: Don't build for powerpc 32-bit.
1841 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1843         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1844         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1846 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1848         * config.host: FT32 target added.
1849         * config/ft32/*: New files for FT32 target.
1851 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1853         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1854         New macros.
1855         * config/arm/ieee754-df.S: Add CFI directives.
1856         * config/arm/ieee754-sf.S: Add CFI directives.
1858 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1860         * configure.ac: Include config/sjlj.m4.
1861         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1862         * config.in: Regenerate.
1863         * configure: Likewise.
1864         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1866 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1868         * libgcov-util.c: Add space between string literal and macro name.
1870 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1871             Chris Jones  <chrisj@nvidia.com>
1872             Joshua Conner  <jconner@nvidia.com>
1874         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1875         (arm*-*-uclinux*): Likewise.
1876         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1877         * config/arm/crtfastmath.c: New file.
1879 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1881         * Makefile.in (real_host_noncanonical): New variable.
1882         (libsubdir): Use it.
1883         * configure.ac (real_host_noncanonical): Compute.  Remove special
1884         case for intelmicemul.
1885         * configure: Regenerate.
1887 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1889         * config/frv/elf-lib.h: New file.
1890         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1891         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1892         to tm_file.
1894 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1896         * config/frv/frvbengin.c: Do not include defaults.h
1897         * config/frv/frvend.c: Ditto.
1899 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1901         * config.host: Add h8300-*-linux
1902         * config/h8300/t-linux: New file.
1903         * config/h8300/lib1funs.s: Change symbol prefix.
1904         * config/h8300/sfp-machine.h: 64bit double support.
1906 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1907             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1909         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1910         Linux if target provides dl_iterate_phdr.
1912 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1914         PR target/65612
1915         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1916         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1917         (__cpu_indicator_init@GCC_4.8.0): New.
1918         (__cpu_model@GCC_4.8.0): Likewise.
1919         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1920         -DUSE_ELF_SYMVER.
1922 2015-04-16  Nick Clifton  <nickc@redhat.com>
1924         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1925         and __modhi3 functions.
1926         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1927         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1929 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1931         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1932         do-while loop as macro body to avoid warnings.
1934 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1935             Iain Sandoe  <iain@codesourcery.com>
1937         PR target/65351
1938         * configure: Regenerate.
1940 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1941             Iain Sandoe  <iain@codesourcery.com>
1943         PR target/65351
1944         * configure: Regenerate.
1946 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1948         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1950 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1952         Implement call0 ABI for xtensa
1953         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1954         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1955         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1956         use ret in call0 ABI.
1957         * config/xtensa/t-windowed: New file.
1958         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1959         * libgcc/configure: Regenerated.
1960         * libgcc/configure.ac: Check if xtensa target is configured for
1961         windowed ABI and thus needs to use custom unwind code.
1963 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1965         PR libgcc/64885
1966         * gthr-single.h: Use __unused__ attribute instead of unused.
1967         * config/gthr-vxworks.h: Likewise.
1968         * config/i386/gthr-win32.h: Likewise.
1970 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1972         PR target/65038
1973         * config.in: Regenerated.
1974         * configure: Likewise.
1975         * configure.ac (AC_HEADER_STDC): Added explicit.
1976         (AC_CHECK_HEADERS): Check for default headers  plus
1977         for ftw.h header.
1978         * libgcov-util.c (gcov_read_profile_dir): Disable use
1979         of ftw-function, if header is not found.
1980         (ftw_read_file): Likewise.
1982 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1984         PR target/65181
1985         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1986         -Dinhibit_libc.
1988 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1990         * config/arm/bpabi.S (test_div_by_zero): Make label names
1991         consistent between thumb2 and arm mode cases.  Separate the
1992         signed comparison on the high word of the numerator from the
1993         unsigned comparison on the low word.
1994         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1995         signed comparison.
1997 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1999         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2000         and <string.h>.
2001         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2003 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2005         PR gcov-profile/61889
2006         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2008 2015-02-02  Nick Clifton  <nickc@redhat.com>
2010         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2011         rounding up the fraction.
2013 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2015         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2016         oldval and newval to const void *.  Fix typo.
2017         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2018         (FETCH_AND_OP_WORD): Likewise.
2019         (OP_AND_FETCH_WORD): Likewise.
2020         (COMPARE_AND_SWAP_2): Likewise.
2021         (__sync_val_compare_and_swap_4): Likewise.
2022         (__sync_lock_test_and_set_4): Likewise.
2023         (SYNC_LOCK_RELEASE_2): Likewise.
2024         Remove support for long long atomic operations.
2026 2015-01-27  Caroline Tice  <cmtice@google.com>
2028         Committing VTV Cywin/Ming patch for Patrick Wollgast
2029         * Makefile.in: Move rules to build vtv_*.o out of the check
2030         for CUSTOM_CRTSTUFF.
2031         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2032         i[34567]86-*-mingw*)
2033          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2034         enable_vtable_verify.
2036 2015-01-27  Nick Clifton  <nickc@redhat.com>
2038         * config/rl78/cmpsi2.S: Use function start and end macros.
2039         (__gcc_bcmp): New function.
2040         * config/rl78/lshrsi3.S: Use function start and end macros.
2041         * config/rl78/mulsi3.S: Add support for G10.
2042         (__mulqi3): New function for G10.
2043         * config/rl78/signbit.S: Use function start and end macros.
2044         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2045         fpmath-sf.S.
2046         (LIB2FUNCS_EXCLUDE): Define.
2047         (LIB2FUNCS_ST): Define.
2048         * config/rl78/trampoline.S: Use function start and end macros.
2049         * config/rl78/vregs.h (START_FUNC): New macro.
2050         (START_ANOTHER_FUNC): New macro.
2051         (END_FUNC): New macro.
2052         (END_ANOTHER_FUNC): New macro.
2053         * config/rl78/bit-count.S: New file.  Contains assembler
2054         implementations of the bit counting functions: ___clzhi2,
2055         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2056         __paritysi2, __popcounthi2 and __popcountsi2.
2057         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2058         implementationas of the math functions: __negsf2, __cmpsf2,
2059         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2060         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2061         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2062         implementations of the math functions: __subsf3, __addsf3,
2063         __mulsf3 and __divsf3
2065 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2067         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2068         Add i386/elf-lib.h to tm_file.
2069         * config/i386/elf-lib.h: Fix comment.
2070         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2071         && __sun__ && __svr4__]: Remove workaround.
2073 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2075         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2076         FEATURE_BMI2.
2077         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2079 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2081         * config/i386/cpuinfo.c (processor_subtypes): Add
2082         INTEL_COREI7_BROADWELL.
2083         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2084         model numbers.
2086 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2088         * config/i386/elf-lib.h: New file.
2089         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2090         Wrap definition in #ifdef __i386__.
2091         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2092         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2093         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2094         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2095         to tm_file.
2097 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2099         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2100         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2102 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2104         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2105         Update rt_sigframe format and address for current Nios II
2106         Linux conventions.
2108 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2110         * config.host (arm*-*-freebsd*): Add new configuration for
2111         arm*-*-freebsd*.
2112         * config/arm/freebsd-atomic.c: New file.
2113         * config/arm/t-freebsd: Likewise.
2114         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2115         'PC-relative indirect' OS's.
2117 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2119         * config.host: Add Visium support.
2120         * config/visium: New directory.
2122 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2124         Update copyright years.
2126 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2128         * config.host: Support mipsisa32r6 and mipsisa64r6.
2129         * config/mips/mips16.S: Do not build for R6.
2131 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2133         * config/sh/crt.h: New.
2134         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2135         symbols.
2136         * config/sh/crt1.S: Likewise.
2138 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2140         PR libgcc/63832
2141         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2142         func_ptr *dtor_list temporary variable to avoid "array subscript
2143         is above array bounds" warnings.
2145 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2147         * Makefile.in (with_aix_soname): Define.
2148         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2149         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2150         * configure: Recreate.
2152 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2154         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2155         now provided by defaults.h.
2157 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2159         PR target/55351
2160         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2161         whether it's defined.
2163 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2165         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2166         * config/i386/cpuinfo.c (get_available_features): Detect it.
2168 2014-11-27  Tony Wang  <tony.wang@arm.com>
2170         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2171         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2172         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2174 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2176         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2178 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2180         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2181         instead.
2183 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2184             John David Anglin  <danglin@gcc.gnu.org>
2186         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2187         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2188         (OP_AND_FETCH_2): Likewise.
2189         (COMPARE_AND_SWAP_2): Likewise.
2190         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2191         (SYNC_LOCK_RELEASE_2): Likewise.
2192         (SUBWORD_SYNC_OP): Remove.
2193         (SUBWORD_VAL_CAS): Likewise.
2194         (SUBWORD_BOOL_CAS): Likewise.
2195         (FETCH_AND_OP_WORD): Update.
2196         Consistently use signed types.
2198 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2199             Thomas Schwinge  <thomas@codesourcery.com>
2200             Ilya Verbin  <ilya.verbin@intel.com>
2201             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2203         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2204         (crtoffloadend$(objext)): Likewise.
2205         * configure: Regenerate.
2206         * configure.ac (accel_dir_suffix): Compute new variable.
2207         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2208         if enable_offload_targets is not empty.
2209         * offloadstuff.c: New file.
2211 2014-11-13  Nick Clifton  <nickc@redhat.com>
2213         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2214         Use START_FUNC and END_FUNC macros to enable linker garbage
2215         collection.
2216         * config/rl78/divmodqi.S: Likewise.
2217         * config/rl78/divmodsi.S: Likewise.
2218         * config/rl78/mulsi3.S: Likewise.
2219         * config/rl78/lib2div.c: Remove G10 functions.
2220         * config/rl78/lib2muls.c: Likewise.
2221         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2222         * config/rl78/vregs.h (START_FUNC): New macro.
2223         (END_FUNC): New macro.
2225 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2227         * config/mips/mips16.S: Set .module when supported.  Update O32
2228         FP64 calling convention and use for FPXX when possible.  Add FPXX
2229         calling convention fallback case.
2231 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2233         * config.host: Handle nvptx-*-*.
2234         * shared-object.mk (as-flags-$o): Define.
2235         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2236         -xassembler-with-cpp.
2237         * static-object.mk: Identical changes.
2238         * config/nvptx/t-nvptx: New file.
2239         * config/nvptx/crt0.s: New file.
2240         * config/nvptx/free.asm: New file.
2241         * config/nvptx/malloc.asm: New file.
2242         * config/nvptx/realloc.c: New file.
2244 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2246         * Makefile.in (libgcc.map.in): New target.
2247         (libgcc.map): Use libgcc.map.in.
2248         * config/t-softfp (softfp_compat): New variable to be set by
2249         users.
2250         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2251         variables.
2252         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2253         directory.
2254         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2255         that use compat symbols and disable all code unless [SHARED].
2256         * config/t-softfp-compat: New file.
2257         * find-symver.awk: New file.
2258         * configure.ac (--with-glibc-version): New configure option.
2259         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2260         * configure: Regenerate.
2261         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2262         soft-float and e500.
2264 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2266         * config/t-hardfp (hardfp_exclusions): Document new variable for
2267         user to define.
2268         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2269         * config/t-softfp (softfp_extras): Document new variable for user
2270         to define.
2271         (softfp_func_list): Add functions from $(softfp_extras).
2272         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2273         * config.host (powerpc*-*-linux*): For e500v1, use
2274         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2275         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2276         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2278 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2280         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2281         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2282         memory read accesses are ok.
2284 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2286         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2287         * configure: Regenerate.
2288         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2289         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2290         of soft-fp for 32-bit classic hard float.  Do not use
2291         t-softfp-excl for soft float.
2293 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2295         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2296         configurations.
2297         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2298         Remove variables.
2300 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2302         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2303         introduced with 2014-10-21 trunk r216525.
2305 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2306             Vidya Praveen  <vidya.praveen@atmel.com>
2307             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2308             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2309             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2311         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2312         order.
2314         Updated library functions for AVRTINY arch.
2315         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2316         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2317         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2318         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2319         wsubi/wadi macors.
2320         (__mulsi3_helper): Update stack, preserve callee saved regs and
2321         argument from stack. Restore callee save registers.
2322         (__mulpsi3): Likewise.
2323         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2324         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2325         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2326         AVRTINY.
2327         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2328         (__do_copy_data): Added new definition for AVRTINY.
2329         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2330         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2331         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2332         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2333         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2334         macors.
2335         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2336         AVRTINY.
2338         Fix broken long multiplication on tiny arch.
2340 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2342         * soft-fp/double.h: Update from glibc.
2343         * soft-fp/eqdf2.c: Likewise.
2344         * soft-fp/eqsf2.c: Likewise.
2345         * soft-fp/eqtf2.c: Likewise.
2346         * soft-fp/extenddftf2.c: Likewise.
2347         * soft-fp/extended.h: Likewise.
2348         * soft-fp/extendsfdf2.c: Likewise.
2349         * soft-fp/extendsftf2.c: Likewise.
2350         * soft-fp/extendxftf2.c: Likewise.
2351         * soft-fp/gedf2.c: Likewise.
2352         * soft-fp/gesf2.c: Likewise.
2353         * soft-fp/getf2.c: Likewise.
2354         * soft-fp/ledf2.c: Likewise.
2355         * soft-fp/lesf2.c: Likewise.
2356         * soft-fp/letf2.c: Likewise.
2357         * soft-fp/op-1.h: Likewise.
2358         * soft-fp/op-2.h: Likewise.
2359         * soft-fp/op-4.h: Likewise.
2360         * soft-fp/op-8.h: Likewise.
2361         * soft-fp/op-common.h: Likewise.
2362         * soft-fp/quad.h: Likewise.
2363         * soft-fp/single.h: Likewise.
2364         * soft-fp/soft-fp.h: Likewise.
2365         * soft-fp/unorddf2.c: Likewise.
2366         * soft-fp/unordsf2.c: Likewise.
2367         * soft-fp/unordtf2.c: Likewise.
2368         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2369         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2370         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2371         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2372         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2373         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2374         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2375         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2376         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2377         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2379 2014-10-08  Rong Xu  <xur@google.com>
2381         * libgcov-util.c (read_gcda_file): Fix format.
2382         (find_match_gcov_info): Ditto.
2383         (calculate_2_entries): New.
2384         (compute_one_gcov): Ditto.
2385         (gcov_info_count_all_cold): Ditto.
2386         (gcov_info_count_all_zero): Ditto.
2387         (extract_file_basename): Ditto.
2388         (get_file_basename): Ditto.
2389         (set_flag): Ditto.
2390         (matched_gcov_info): Ditto.
2391         (calculate_overlap): Ditto.
2392         (gcov_profile_overlap): Ditto.
2393         * libgcov-driver.c (compute_summary): Make
2394         it avavilable for external calls.
2396 2014-10-06  Rong Xu  <xur@google.com>
2398         * Makefile.in: Ditto.
2399         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2400         (gcov_sort_icall_topn_counter): Ditto.
2401         (gcov_sort_topn_counter_arrays): Ditto.
2402         (dump_one_gcov): Sort indirect_call topn counters.
2403         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2404         function.
2405         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2406         utility function.
2407         (__gcov_indirect_call_topn_profiler): New profiler function.
2408         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2409         * libgcov.h: New decls.
2411 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2413         * config.host: Remove support for score-*.
2415 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2417         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2418         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2419         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2420         __LIBGCC_XF_MANT_DIG__.
2421         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2422         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2423         __LIBGCC_TF_MANT_DIG__.
2424         * libgcc2.c (NOTRUNC): Define in terms of
2425         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2426         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2428 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2430         PR target/63312
2431         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2432         New macros.
2434 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2436         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2437         override USE_PT_GNU_EH_FRAME.
2438         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2439         check USE_EH_FRAME_REGISTRY_ALWAYS against
2440         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2441         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2442         variable for substituted force_explicit_eh_registry.
2443         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2444         * configure.ac (explicit-exception-frame-registration):
2445         New AC_ARG_ENABLE.
2446         * configure: Regenerate.
2448 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2450         * config.host (powerpc-wrs-vxworksmils): New configuration,
2451         same as vxworksae.
2453 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2455         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2457 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2459         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2460         bits not set bits as indicating trapping exceptions.
2462 2014-09-17  Nathan sidwell  <nathan@acm.org>
2464         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2465         (LIBGCOV_DRIVER): ... here.
2466         * libgcov-driver.c (gcov_master): New.
2467         (gcov_exit): Remove from master chain.
2468         (__gcov_init): Add to master chain if version compatible.  Don't
2469         clear the version.
2470         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2471         (gcov_reset_int): Clear master chain, if compatible.
2472         (gcov_dump_int): New internal interface.  Dump master chain, if
2473         compatible.
2474         (gcov_dump): Alias for gcov_dump_int.
2475         * libgcov.h (struct gcov_root): Add next and prev fields.
2476         (struct gcov_master): New struct.
2477         (__gcov_master): New.
2478         (gcov_dump_int): Declare.
2480 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2482         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2483         and crtbegin.o + crtend.o to extra_parts.
2485 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2487         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2488         __LIBGCC_HAS_SF_MODE__.
2489         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2490         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2491         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2492         * config/libbid/bid_gcc_intrinsics.h
2493         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2494         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2495         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2496         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2497         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2498         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2500 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2502         PR target/63223
2503         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2504         and R24 as needed.  Make work for all devices and .text locations.
2505         (__do_global_ctors, __do_global_dtors): Use word addresses.
2506         (__tablejump__, __tablejump_elpm__): Remove functions.
2507         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2508         Add _tablejump2.
2509         (XICALL, XIJMP): New macros.
2511 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2512         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2514         * config.host (aarch64*): Include crtfastmath.o and
2515         t-crtfm.
2516         * config/aarch64/crtfastmath.c: New file.
2518 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2520         * config.host: Remove picochip support.
2521         * config/picochip/adddi3.S: Remove.
2522         * config/picochip/ashlsi3.S: Remove.
2523         * config/picochip/ashlsi3.c: Remove.
2524         * config/picochip/ashrsi3.S: Remove.
2525         * config/picochip/ashrsi3.c: Remove.
2526         * config/picochip/clzsi2.S: Remove.
2527         * config/picochip/cmpsi2.S: Remove.
2528         * config/picochip/divmod15.S: Remove.
2529         * config/picochip/divmodhi4.S: Remove.
2530         * config/picochip/divmodsi4.S: Remove.
2531         * config/picochip/lib1funcs.S: Remove.
2532         * config/picochip/longjmp.S: Remove.
2533         * config/picochip/lshrsi3.S: Remove.
2534         * config/picochip/lshrsi3.c: Remove.
2535         * config/picochip/parityhi2.S: Remove.
2536         * config/picochip/popcounthi2.S: Remove.
2537         * config/picochip/setjmp.S: Remove.
2538         * config/picochip/subdi3.S: Remove.
2539         * config/picochip/t-picochip: Remove.
2540         * config/picochip/ucmpsi2.S: Remove.
2541         * config/picochip/udivmodhi4.S: Remove.
2542         * config/picochip/udivmodsi4.S: Remove.
2544 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2546         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2547         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2548         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2549         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2550         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2551         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2552         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2553         defined and LIBGCC2_HAS_DF_MODE is defined.
2554         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2555         defined and LIBGCC2_HAS_XF_MODE is defined.
2556         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2557         defined and LIBGCC2_HAS_TF_MODE is defined.
2559 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2561         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2562         and ROUND_TOWARDS_ZERO conditionals.
2564 2014-09-07  Nathan sidwell  <nathan@acm.org>
2566         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2567         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2569 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2571         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2572         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2573         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2574         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2575         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2576         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2577         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2578         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2579         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2580         (DWARF_FRAME_REGISTERS): Change all uses to
2581         __LIBGCC_DWARF_FRAME_REGISTERS__.
2582         (EH_RETURN_STACKADJ_RTX): Change all uses to
2583         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2584         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2585         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2586         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2587         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2588         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2589         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2590         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2591         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2592         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2593         __LIBGCC_STACK_POINTER_REGNUM__.
2594         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2595         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2596         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2597         to __LIBGCC_STACK_POINTER_REGNUM__.
2598         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2599         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2600         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2601         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2602         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2603         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2604         (STACK_POINTER_REGNUM): Change all uses to
2605         __LIBGCC_STACK_POINTER_REGNUM__.
2606         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2607         use to __LIBGCC_STACK_POINTER_REGNUM__.
2608         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2609         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2610         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2611         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2612         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2613         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2614         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2615         to __LIBGCC_STACK_POINTER_REGNUM__.
2616         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2617         Remove conditional definition.
2618         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2619         __LIBGCC_TEXT_SECTION_ASM_OP__.
2620         (EH_FRAME_SECTION_NAME): Change all uses to
2621         __LIBGCC_EH_FRAME_SECTION_NAME__.
2622         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2623         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2624         (CTORS_SECTION_ASM_OP): Change all uses to
2625         __LIBGCC_CTORS_SECTION_ASM_OP__.
2626         (DTORS_SECTION_ASM_OP): Change all uses to
2627         __LIBGCC_DTORS_SECTION_ASM_OP__.
2628         (JCR_SECTION_NAME): Change all uses to
2629         __LIBGCC_JCR_SECTION_NAME__.
2630         (INIT_SECTION_ASM_OP): Change all uses to
2631         __LIBGCC_INIT_SECTION_ASM_OP__.
2632         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2633         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2634         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2635         __LIBGCC_STACK_GROWS_DOWNWARD__.
2636         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2637         __LIBGCC_INIT_SECTION_ASM_OP__.
2638         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2639         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2640         (EH_FRAME_SECTION_NAME): Change all uses to
2641         __LIBGCC_EH_FRAME_SECTION_NAME__.
2642         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2643         definitions.  Change all uses to
2644         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2645         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2646         __LIBGCC_STACK_GROWS_DOWNWARD__.
2647         (DWARF_FRAME_REGISTERS): Change all uses to
2648         __LIBGCC_DWARF_FRAME_REGISTERS__.
2649         (EH_RETURN_STACKADJ_RTX): Change all uses to
2650         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2651         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2652         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2653         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2654         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2655         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2657 2014-09-02  Nathan sidwell  <nathan@acm.org>
2659         * libgcov-interface.c (STRONG_ALIAS): New.
2660         (__gcov_flush): Call __gcov_reset_int.
2661         (__gcov_reset): Strong alias for ...
2662         (__gcov_reset_ing): ... this renamed hidden version.
2663         * libgcov.h (__gcov_reset_int): New declaration.
2665 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2667         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2668         call from here...
2669         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2670         (__dso_handle): Define on Cygwin.
2671         * config/i386/t-cygming (crtbeginS.o): New rule.
2672         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2674         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2675         declaration syntax.
2677 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2679         * crtstuff.c: Undef caddr_t.
2681 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2683         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2685 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2687         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2688         (LIBGCOV_DRIVER): ... to here.
2689         * libgcov.h (gcov_do_dump): New #define.
2690         (struct gcov_root): New.
2691         (__gcov_root): New declaration.
2692         (__gcov_dump_one): Declare.
2693         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2694         run_accounted): Delete.
2695         (gcov_compute_histogram): Add LIST argument, adjust.
2696         (compute_summary): Adjust gcov_compute_histogram call.
2697         (gcov_do_dump): Not hidden, static in libgcov.
2698         (gcov_clear): Move  to interface.c.
2699         (__gcov_dump_one): New, broken out of ...
2700         (gcov_exit): ... here.  Make static.
2701         (__gcov_root): New.
2702         (__gcov_init): Adjust.
2703         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2704         declarations.
2705         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2706         (gcov_clear): Moved from driver.c.   Add LIST argument.
2707         (__gcov_reset): Adjust for changed interfaces.
2708         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2710 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2712         PR target/60102
2713         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2714         based on change in SPE high register numbers and 3 HTM registers.
2716 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2718         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2719         LIBGCOV_INTERFACE): Reformat.
2720         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2721         IN_GCOV_TOOL.
2722         * libgcov-interface.c: Reformat some comments.
2723         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2725 2014-07-31  Alan Modra  <amodra@gmail.com>
2726             Peter Bergner  <bergner@vnet.ibm.com>
2728         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2729         (pack_ldouble): New function.
2730         (__gcc_qadd): Use it.
2731         (__gcc_qmul): Likewise.
2732         (__gcc_qdiv): Likewise.
2733         (__gcc_qneg): Likewise.
2734         (__gcc_stoq): Likewise.
2735         (__gcc_dtoq): Likewise.
2737 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2739         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2740         (__tpf_eh_return): Add original return address as second parameter.
2741         Handle cases where unwinder routines were called directly, instead
2742         of from within the C++ library.
2744 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2746         * libgcov.h: Move renaming of entry points to lib gcov specific
2747         portion.
2748         (gcov_do_dump): New rename.
2749         (gcov_rewrite): Remove inline, make HIDDEN.
2750         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2751         (gcov_exit_compute_summary): Rename to ...
2752         (compute_summary): ... here.  Add LIST argument.
2753         (gcov_exit_merge_gcda): Rename to ...
2754         (merge_one_data): ... here.
2755         (gcov_exit_write_gcda): Rename to ...
2756         (write_one_data): ... here.
2757         (gcov_exit_merge_summary): Rename to ...
2758         (merge_summary): Add RUN_COUNTED argument.
2759         (gcov_exit_dump_gcov): Rename to ...
2760         (dump_one_gcov): Add RUN_COUNTED argument.
2761         (gcov_do_dump): New function, broken out of ...
2762         (gcov_exit): ... here.  Call it.
2764 2014-07-27  Anthony Green  <green@moxielogic.com>
2766         * config.host: Add moxiebox configuration suppport.
2768 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2770         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2771         (struct gcov_filename): ... here.  Include buffer and max length
2772         fields.
2773         (gcov_max_filename): Remove.
2774         (gi_filename): Remove.
2775         (gcov_exit_compute_summary): Compute max filename here.
2776         (gcov_exit_merge_gcda): Add filename parm, adjust.
2777         (gcov_exit_merge_summary): Likewise.
2778         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2779         (gcov_exit): Likewise.
2780         (__gcov_init): Don't calculate max length here.
2781         * libgcov_util.c (max_filename_len): Remove.
2782         (read_gcda_file): Don't calculate max length here.
2783         (gcov_read_profile_dir): Don't propagate here.
2784         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2785         struct gcov_filename changes.
2786         (gcov_exit_open_gcda_file): Likewise.
2788 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2790         * libgcov-driver.c (set_gcov_dump_complete,
2791         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2792         functions polluting user's namespace.
2793         (gcov_exit): Set variable directly.
2794         (gcov_clear): Reset variable directly.
2795         * libgcov-interface.c (get_gcov_dymp_complete,
2796         reset_gov_dump_complete): Remove declarations.
2797         (__gcov_reset, __gcov_dump): Don't call them.
2799 2014-07-24  DJ Delorie  <dj@redhat.com>
2801         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2802         (__gcc_deregister_frame): Move logic to detect deregister function
2803         to ...
2804         (__gcc_register_frame): here, so it's consistent with the register
2805         logic.
2807 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2809         * libgcov-driver.c (set_gcov_list): Remove.
2810         (gcov_list): Make non-static in GCOV_TOOL.
2811         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2813 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2815         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2816         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2817         Don't use SYNC_LOCK_RELEASE for int type.
2819 2014-07-14  Richard Biener  <rguenther@suse.de>
2821         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2823 2014-07-11  Rong Xu  <xur@google.com>
2825         * libgcov-util.c (gcov_max_filename): Fix declartion.
2827 2014-07-10  Rong Xu  <xur@google.com>
2829         Add gcov-tool: an offline gcda profile processing tool
2830         Support.
2831         * libgcov-driver.c (gcov_max_filename): Make available
2832         to gcov-tool.
2833         * libgcov-merge.c (__gcov_merge_add): Replace
2834         gcov_read_counter() with a Macro.
2835         (__gcov_merge_ior): Ditto.
2836         (__gcov_merge_time_profile): Ditto.
2837         (__gcov_merge_single): Ditto.
2838         (__gcov_merge_delta): Ditto.
2839         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2840         in the utility functions.
2841         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2842         gcov_list object link lists.
2843         (tag_function): Ditto.
2844         (tag_blocks): Ditto.
2845         (tag_arcs): Ditto.
2846         (tag_lines): Ditto.
2847         (tag_counters): Ditto.
2848         (tag_summary): Ditto.
2849         (read_gcda_finalize): Ditto.
2850         (read_gcda_file): Ditto.
2851         (ftw_read_file): Ditto.
2852         (read_profile_dir_init): Ditto.
2853         (gcov_read_profile_dir): Ditto.
2854         (gcov_read_counter_mem): Ditto.
2855         (gcov_get_merge_weight): Ditto.
2856         (merge_wrapper): A wrapper function that calls merging handler.
2857         (gcov_merge): Merge two gcov_info objects with weights.
2858         (find_match_gcov_info): Find the matched gcov_info in the list.
2859         (gcov_profile_merge): Merge two gcov_info object lists.
2860         (__gcov_add_counter_op): Process edge profile counter values.
2861         (__gcov_ior_counter_op): Process IOR profile counter values.
2862         (__gcov_delta_counter_op): Process delta profile counter values.
2863         (__gcov_single_counter_op): Process single  profile counter values.
2864         (fp_scale): Callback function for float-point scaling.
2865         (int_scale): Callback function for integer fraction scaling.
2866         (gcov_profile_scale): Scaling profile counters.
2867         (gcov_profile_normalize): Normalize profile counters.
2868         * libgcov.h: Add headers and functions for gcov-tool use.
2869         (gcov_get_counter): New.
2870         (gcov_get_counter_target): Ditto.
2871         (struct gcov_info): Make the functions field mutable in gcov-tool
2872         compilation.
2874 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2876         PR libgcc/61585
2877         * unwind-seh.c (_Unwind_GetGR): Check for proper
2878         index range.
2879         (_Unwind_SetGR): Likewise.
2881 2014-05-22  Nick Clifton  <nickc@redhat.com>
2883         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2884         -mhwmult=none.
2886 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2888         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2889         include.
2891 2014-05-20  John Marino  <gnugcc@marino.st>
2893         * config.host (*-*-dragonfly*): New target.
2894         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2895         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2896         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2897         * config/i386/dragonfly-unwind.h: New.
2899 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2901         PR libgcc/60166
2902         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2903         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2905 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2907         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2908         implementation.
2910 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2912         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2914 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2916         PR libgcc/61097
2917         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2918         if --enable-shared.
2920 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2922         Work around for current cygwin32 build problems.
2923         * config/i386/cygming-crtbegin.c (__register_frame_info,
2924         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2925         functions only for 64-bit systems.
2927 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2929         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2930         (sigill_caught, sigill_hdlr): Remove.
2932 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2934         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2935         check.
2936         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2937         Solaris 9 single-threaded support.
2938         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2939         Solaris 9 single-threaded support.  Add call_user_handler code
2940         sequences.
2941         (sparc_is_sighandler): Likewise.
2943 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2945         * config.host: Append t-floattodi to tmake_file depending on
2946         host_address.
2948 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2950         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2952 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2954         PR libgcc/60472
2955         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2956         variable to avoid "array subscript is above array bounds" warnings.
2957         Use __builtin_expect when checking *jcr_list for NULL.
2959 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2961         PR libgcc/59339
2962         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2963         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2964         vtv_*.o to extra_parts if enable_vtable_verify.
2966 2014-03-06  Nick Clifton  <nickc@redhat.com>
2968         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2969         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2971 2014-02-28  Joey Ye  <joey.ye@arm.com>
2973         PR libgcc/60166
2974         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2975         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2976         Set to zero.
2978 2014-02-24  Walter Lee  <walt@tilera.com>
2980         * config.host: Support "tilegx*" and "tilepro*" triplets.
2981         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2982         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2984 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2985             Chung-Lin Tang  <cltang@codesourcery.com>
2987         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2988         * config/nios2/crti.S: Remove .file directive.
2989         * config/nios2/crtn.S: Likewise.
2991 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2992         Jonathan Schleifer  <js@webkeks.org>
2994         PR objc/56870
2995         * unwind-seh.c (_GCC_specific_handler): Pass proper
2996         value to unwind-handler.
2998 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3000         * soft-fp/adddf3.c: Update from glibc.
3001         * soft-fp/addsf3.c: Likewise.
3002         * soft-fp/addtf3.c: Likewise.
3003         * soft-fp/divdf3.c: Likewise.
3004         * soft-fp/divsf3.c: Likewise.
3005         * soft-fp/divtf3.c: Likewise.
3006         * soft-fp/double.h: Likewise.
3007         * soft-fp/eqdf2.c: Likewise.
3008         * soft-fp/eqsf2.c: Likewise.
3009         * soft-fp/eqtf2.c: Likewise.
3010         * soft-fp/extenddftf2.c: Likewise.
3011         * soft-fp/extended.h: Likewise.
3012         * soft-fp/extendsfdf2.c: Likewise.
3013         * soft-fp/extendsftf2.c: Likewise.
3014         * soft-fp/extendxftf2.c: Likewise.
3015         * soft-fp/fixdfdi.c: Likewise.
3016         * soft-fp/fixdfsi.c: Likewise.
3017         * soft-fp/fixdfti.c: Likewise.
3018         * soft-fp/fixsfdi.c: Likewise.
3019         * soft-fp/fixsfsi.c: Likewise.
3020         * soft-fp/fixsfti.c: Likewise.
3021         * soft-fp/fixtfdi.c: Likewise.
3022         * soft-fp/fixtfsi.c: Likewise.
3023         * soft-fp/fixtfti.c: Likewise.
3024         * soft-fp/fixunsdfdi.c: Likewise.
3025         * soft-fp/fixunsdfsi.c: Likewise.
3026         * soft-fp/fixunsdfti.c: Likewise.
3027         * soft-fp/fixunssfdi.c: Likewise.
3028         * soft-fp/fixunssfsi.c: Likewise.
3029         * soft-fp/fixunssfti.c: Likewise.
3030         * soft-fp/fixunstfdi.c: Likewise.
3031         * soft-fp/fixunstfsi.c: Likewise.
3032         * soft-fp/fixunstfti.c: Likewise.
3033         * soft-fp/floatdidf.c: Likewise.
3034         * soft-fp/floatdisf.c: Likewise.
3035         * soft-fp/floatditf.c: Likewise.
3036         * soft-fp/floatsidf.c: Likewise.
3037         * soft-fp/floatsisf.c: Likewise.
3038         * soft-fp/floatsitf.c: Likewise.
3039         * soft-fp/floattidf.c: Likewise.
3040         * soft-fp/floattisf.c: Likewise.
3041         * soft-fp/floattitf.c: Likewise.
3042         * soft-fp/floatundidf.c: Likewise.
3043         * soft-fp/floatundisf.c: Likewise.
3044         * soft-fp/floatunditf.c: Likewise.
3045         * soft-fp/floatunsidf.c: Likewise.
3046         * soft-fp/floatunsisf.c: Likewise.
3047         * soft-fp/floatunsitf.c: Likewise.
3048         * soft-fp/floatuntidf.c: Likewise.
3049         * soft-fp/floatuntisf.c: Likewise.
3050         * soft-fp/floatuntitf.c: Likewise.
3051         * soft-fp/gedf2.c: Likewise.
3052         * soft-fp/gesf2.c: Likewise.
3053         * soft-fp/getf2.c: Likewise.
3054         * soft-fp/ledf2.c: Likewise.
3055         * soft-fp/lesf2.c: Likewise.
3056         * soft-fp/letf2.c: Likewise.
3057         * soft-fp/muldf3.c: Likewise.
3058         * soft-fp/mulsf3.c: Likewise.
3059         * soft-fp/multf3.c: Likewise.
3060         * soft-fp/negdf2.c: Likewise.
3061         * soft-fp/negsf2.c: Likewise.
3062         * soft-fp/negtf2.c: Likewise.
3063         * soft-fp/op-1.h: Likewise.
3064         * soft-fp/op-2.h: Likewise.
3065         * soft-fp/op-4.h: Likewise.
3066         * soft-fp/op-8.h: Likewise.
3067         * soft-fp/op-common.h: Likewise.
3068         * soft-fp/quad.h: Likewise.
3069         * soft-fp/single.h: Likewise.
3070         * soft-fp/soft-fp.h: Likewise.
3071         * soft-fp/subdf3.c: Likewise.
3072         * soft-fp/subsf3.c: Likewise.
3073         * soft-fp/subtf3.c: Likewise.
3074         * soft-fp/truncdfsf2.c: Likewise.
3075         * soft-fp/trunctfdf2.c: Likewise.
3076         * soft-fp/trunctfsf2.c: Likewise.
3077         * soft-fp/trunctfxf2.c: Likewise.
3078         * soft-fp/unorddf2.c: Likewise.
3079         * soft-fp/unordsf2.c: Likewise.
3080         * soft-fp/unordtf2.c: Likewise.
3081         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3082         macro.
3083         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3084         Likewise.
3085         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3086         Likewise.
3087         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3088         Likewise.
3089         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3090         Likewise.
3091         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3092         Likewise.
3093         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3094         Likewise.
3095         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3096         Likewise.
3097         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3098         Likewise.
3099         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3100         Likewise.
3101         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3102         Likewise.
3103         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3104         Likewise.
3105         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3106         Likewise.
3107         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3108         Likewise.
3109         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3110         Likewise.
3111         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3112         Likewise.
3114 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3116         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3117         cannot be represented.
3118         * config/s390/32/_fixsfdi.c: Likewise.
3119         * config/s390/32/_fixtfdi.c: Likewise.
3120         * config/s390/32/_fixunsdfdi.c: Likewise.
3121         * config/s390/32/_fixunssfdi.c: Likewise.
3122         * config/s390/32/_fixunstfdi.c: Likewise.
3124 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3126         * configure.ac (libgcc_cv_mips_hard_float): New.
3127         * configure: Regenerate.
3128         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3129         t-softfp-sfdf for hard-float targets.
3130         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3131         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3132         (softfp_truncations, softfp_exclude_libgcc2): New.
3133         * config/t-hardfp: New file.
3134         * config/t-hardfp-sfdf: Likewise.
3135         * config/hardfp.c: Likewise.
3137 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3139         * config.host: Include t-floattodi also for s390x.
3140         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3141         * config/s390/32/_fixsfdi.c: Likewise.
3142         * config/s390/32/_fixtfdi.c: Likewise.
3143         * config/s390/32/_fixunsdfdi.c: Likewise.
3144         * config/s390/32/_fixunssfdi.c: Likewise.
3145         * config/s390/32/_fixunstfdi.c: Likewise.
3147 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3149         PR target/59788
3150         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3151         (install-libgcc-unwind-map-forbuild): New target.
3152         (all): Depend on install-libgcc-unwind-map-forbuild.
3153         (install-libgcc-unwind-map): New target.
3154         (install): Depend on install-libgcc-unwind-map.
3156 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3158         * config/nios2/crti.S (_init): Initialize GOT pointer from
3159         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3161 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3163         * configure.ac: Check __mips64 when setting host_address.
3164         * configure: Regenerate.
3165         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3166         mips/t-mips64 and t-softfp.
3167         (mips*-*-linux*): Don't add mips/t-tpbit.
3168         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3169         (DPBIT, DPBIT_CFLAGS): Delete.
3170         * config/mips/sfp-machine.h: New file.
3171         * config/mips/t-mips64: Likewise.
3172         * config/mips/t-softfp-tf: Likewise.
3173         * config/mips/t-tpbit: Delete.
3175 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3177         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3178         as long long.
3180 2014-01-25  Walter Lee  <walt@tilera.com>
3182         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3183         config.h or system.h.
3184         (bool) Define.
3186 2014-01-25  Walter Lee  <walt@tilera.com>
3188         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3189         (post_atomic_barrier): Ditto.
3190         (__fetch_and_do): New macro.
3191         (__atomic_fetch_and_do): Use __fetch_and_do.
3192         (__sync_fetch_and_do): New macro.
3193         (__sync_fetch_and_add_4): New function.
3194         (__sync_fetch_and_sub_4): New function.
3195         (__sync_fetch_and_or_4): New function.
3196         (__sync_fetch_and_and_4): New function.
3197         (__sync_fetch_and_xor_4): New function.
3198         (__sync_fetch_and_nand_4): New function.
3199         (__sync_fetch_and_add_8): New function.
3200         (__sync_fetch_and_sub_8): New function.
3201         (__sync_fetch_and_or_8): New function.
3202         (__sync_fetch_and_and_8): New function.
3203         (__sync_fetch_and_xor_8): New function.
3204         (__sync_fetch_and_nand_8): New function.
3205         (__do_and_fetch): New macro.
3206         (__atomic_do_and_fetch): Use __do_and_fetch.
3207         (__sync_do_and_fetch): New macro.
3208         (__sync_add_and_fetch_4): New function.
3209         (__sync_sub_and_fetch_4): New function.
3210         (__sync_or_and_fetch_4): New function.
3211         (__sync_and_and_fetch_4): New function.
3212         (__sync_xor_and_fetch_4): New function.
3213         (__sync_nand_and_fetch_4): New function.
3214         (__sync_add_and_fetch_8): New function.
3215         (__sync_sub_and_fetch_8): New function.
3216         (__sync_or_and_fetch_8): New function.
3217         (__sync_and_and_fetch_8): New function.
3218         (__sync_xor_and_fetch_8): New function.
3219         (__sync_nand_and_fetch_8): New function.
3220         (__sync_exchange_methods): New macro.
3221         (__sync_val_compare_and_swap_4): New function.
3222         (__sync_bool_compare_and_swap_4): New function.
3223         (__sync_lock_test_and_test_4): New function.
3224         (__sync_val_compare_and_swap_8): New function.
3225         (__sync_bool_compare_and_swap_8): New function.
3226         (__sync_lock_test_and_test_8): New function.
3227         (__subword_cmpxchg_body): New macro.
3228         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3229         (__atomic_compare_exchange_2): Ditto.
3230         (__sync_subword_cmpxchg): New macro.
3231         (__sync_val_compare_and_swap_1): New function.
3232         (__sync_bool_compare_and_swap_1): New function.
3233         (__sync_val_compare_and_swap_2): New function.
3234         (__sync_bool_compare_and_swap_2): New function.
3235         (__atomic_subword): Rename to ...
3236         (__subword): ... New name.
3237         (__atomic_subword_fetch): Use __subword.
3238         (__sync_subword_fetch): New macro.
3239         (__sync_fetch_and_add_1): New function.
3240         (__sync_fetch_and_sub_1): New function.
3241         (__sync_fetch_and_or_1): New function.
3242         (__sync_fetch_and_and_1): New function.
3243         (__sync_fetch_and_xor_1): New function.
3244         (__sync_fetch_and_nand_1): New function.
3245         (__sync_fetch_and_add_2): New function.
3246         (__sync_fetch_and_sub_2): New function.
3247         (__sync_fetch_and_or_2): New function.
3248         (__sync_fetch_and_and_2): New function.
3249         (__sync_fetch_and_xor_2): New function.
3250         (__sync_fetch_and_nand_2): New function.
3251         (__sync_add_and_fetch_1): New function.
3252         (__sync_sub_and_fetch_1): New function.
3253         (__sync_or_and_fetch_1): New function.
3254         (__sync_and_and_fetch_1): New function.
3255         (__sync_xor_and_fetch_1): New function.
3256         (__sync_nand_and_fetch_1): New function.
3257         (__sync_add_and_fetch_2): New function.
3258         (__sync_sub_and_fetch_2): New function.
3259         (__sync_or_and_fetch_2): New function.
3260         (__sync_and_and_fetch_2): New function.
3261         (__sync_xor_and_fetch_2): New function.
3262         (__sync_nand_and_fetch_2): New function.
3263         (__atomic_subword_lock): Use __subword.
3264         (__sync_subword_lock): New macro.
3265         (__sync_lock_test_and_set_1): New function.
3266         (__sync_lock_test_and_set_2): New function.
3268 2014-01-25  Walter Lee  <walt@tilera.com>
3270         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3271         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3272         (__atomic_subword): Ditto.
3274 2014-01-25  Walter Lee  <walt@tilera.com>
3276         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3277         a prefix op argument.
3278         (__atomic_nand_fetch_4): Add prefix op.
3279         (__atomic_nand_fetch_8): Ditto.
3281 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3283         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3285 2014-01-09  Rong Xu  <xur@google.com>
3287         * libgcov-driver.c (this_prg): make it local to save
3288         bss space.
3289         (gcov_exit_compute_summary): Ditto.
3290         (gcov_exit_merge_gcda): Ditto.
3291         (gcov_exit_merge_summary): Ditto.
3292         (gcov_exit_dump_gcov): Ditto.
3294 2014-01-08  Rong Xu  <xur@google.com>
3296         * libgcov-driver.c: Use libgcov.h.
3297         (buffer_fn_data): Use xmalloc instead of malloc.
3298         (gcov_exit_merge_gcda): Ditto.
3299         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3300         * libgcov.h: New common header files for libgcov-*.h.
3301         * libgcov-interface.c: Use libgcov.h
3302         * libgcov-merge.c: Ditto.
3303         * libgcov-profiler.c: Ditto.
3304         * Makefile.in: Add dependence to libgcov.h
3306 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3308         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3309         case of small numerator and finite nonzero result.
3311 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3313         Update copyright years
3315 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3317         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3318         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3319         config/arc/dp-hack.h, config/arc/fp-hack.h,
3320         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3321         config/arc/ieee-754/arc600-dsp/divdf3.S,
3322         config/arc/ieee-754/arc600-dsp/divsf3.S,
3323         config/arc/ieee-754/arc600-dsp/muldf3.S,
3324         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3325         config/arc/ieee-754/arc600-mul64/divdf3.S,
3326         config/arc/ieee-754/arc600-mul64/divsf3.S,
3327         config/arc/ieee-754/arc600-mul64/muldf3.S,
3328         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3329         config/arc/ieee-754/arc600/divsf3.S,
3330         config/arc/ieee-754/arc600/mulsf3.S,
3331         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3332         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3333         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3334         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3335         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3336         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3337         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3338         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3339         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3340         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3341         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3342         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3343         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3344         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3345         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3346         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3347         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3348         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3349         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3350         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3351         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3352         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3353         vtv_start_preinit.c: Use the standard form for the copyright notice.
3355 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3356             Chung-Lin Tang  <cltang@codesourcery.com>
3357             Based on patches from Altera Corporation
3359         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3360         * config/nios2/lib2-nios2.h: New file.
3361         * config/nios2/lib2-divmod-hi.c: New file.
3362         * config/nios2/linux-unwind.h: New file.
3363         * config/nios2/lib2-divmod.c: New file.
3364         * config/nios2/linux-atomic.c: New file.
3365         * config/nios2/t-nios2: New file.
3366         * config/nios2/crti.asm: New file.
3367         * config/nios2/t-linux: New file.
3368         * config/nios2/lib2-divtable.c: New file.
3369         * config/nios2/lib2-mul.c: New file.
3370         * config/nios2/tramp.c: New file.
3371         * config/nios2/crtn.asm: New file.
3373 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3375         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3376         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3377         from cpuid.h to check vendor signatures.
3379 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3381         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3382         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3383         (get_amd_cpu): Likewise.
3385 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3387         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3388         Haswell.
3390 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3391             H.J. Lu  <hongjiu.lu@intel.com>
3393         PR target/59422
3394         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3395         and AMD_JAGUAR.
3396         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3397         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3398         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3399         FEATURE_XOP and FEATURE_FMA.
3400         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3401         AMDFAM15H_BDVER3.
3402         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3403         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3404         FEATURE_FMA4 and FEATURE_XOP.
3406 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3408         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3409         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3410         (get_intel_cpu): Updated.
3412 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3414         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3416 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3418         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3419         instructions when __SSE_MATH__ is defined.
3421 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3423         * config.host (microblaze-*-rtems*): New.
3425 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3427         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3428         architectures that do not have hardware divide instruction.
3429         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3431 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3433         * longlong.h: Delete (moved to include/).
3435 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3437         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3438         of normal number and qNaN to not raise an inexact exception.
3440 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3442         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3444 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3446         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3447         for correct opcodes on BE.
3449 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3451         * soft-fp/op-4.h: Update from glibc.
3453 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3455         * libgcc2.c (__udivmoddi4): Define new implementation when
3456         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3457         divide instructions.
3459 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3461         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3463 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3465         * config/t-softfp (soft-fp-objects-base): New variable.
3466         (soft-fp-objects): Use it.
3468 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3469             Andrew Dixie  <andrewd@gentrack.com>
3471         PR target/33704
3472         * config/rs6000/aixinitfini.c: New file.
3473         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3474         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3475         symbols.
3477 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3479         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3481 2013-11-18  Jan Hubicka  <jh@suse.cz>
3483         * libgcov-driver.c (run_accounted): Make global level static.
3484         (gcov_exit_merge_summary): Silence warning; do not clear
3485         run_accounted here.
3486         (gcov_exit): Clear it here.
3488         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3489         run_accounted.
3491         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3492         (all_prg, crc32): Remove static vars.
3493         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3494         all_prg.
3495         (gcov_exit_merge_gcda): Add crc32 parameter.
3496         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3497         do not account run if it was already accounted.
3498         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3499         (gcov_exit): Initialize all_prg; update.
3501 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3503         * configure: Regenerate.
3505 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3506             Alan Modra  <amodra@gmail.com>
3508         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3509         (frob_update_context): Use it.
3511 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3512             Alan Modra  <amodra@gmail.com>
3514         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3515         (trampoline_initial): Provide ELFv2 variant.
3516         (__trampoline_setup): Likewise.
3518         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3519         check for AIX indirect function call sequence if _CALL_ELF == 2.
3521 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3522             Alan Modra  <amodra@gmail.com>
3524         * config/rs6000/linux-unwind.h (get_regs): Do not support
3525         old kernel versions if _CALL_ELF == 2.
3526         (frob_update_context): Do not support PLT stub variants only
3527         generated by old linkers if _CALL_ELF == 2.
3529 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3530             Alan Modra  <amodra@gmail.com>
3532         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3533         location of CR save area for 64-bit little-endian systems.
3535 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3537         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3538         in tmake_file.
3539         * config/arm/t-vxworks: Delete.
3541 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3543         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3544         Increment load-count on use of LIBGCC_SONAME DLL.
3545         (hmod_libgcc): New static variable to hold handle of
3546         LIBGCC_SONAME DLL.
3547         (__gcc_deregister_frame): Decrement load-count of
3548         LIBGCC_SONAME DLL.
3550 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3552         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3553         availability.
3554         * configure: Regenerate
3556 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3558         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3559         FP_EX_DENORM.  Store result to volatile location after SSE division
3560         to close interrupt window.  Remove unneeded fwait after x87
3561         division since interrupt window will be closed by emitted fstp.
3562         Rewrite FP_EX_INEXACT handling.
3564 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3566         * soft-fp/README: Update.
3567         * soft-fp/adddf3.c: Update from glibc.
3568         * soft-fp/addsf3.c: Likewise.
3569         * soft-fp/addtf3.c: Likewise.
3570         * soft-fp/divdf3.c: Likewise.
3571         * soft-fp/divsf3.c: Likewise.
3572         * soft-fp/divtf3.c: Likewise.
3573         * soft-fp/double.h: Likewise.
3574         * soft-fp/eqdf2.c: Likewise.
3575         * soft-fp/eqsf2.c: Likewise.
3576         * soft-fp/eqtf2.c: Likewise.
3577         * soft-fp/extenddftf2.c: Likewise.
3578         * soft-fp/extended.h: Likewise.
3579         * soft-fp/extendsfdf2.c: Likewise.
3580         * soft-fp/extendsftf2.c: Likewise.
3581         * soft-fp/extendxftf2.c: Likewise.
3582         * soft-fp/fixdfdi.c: Likewise.
3583         * soft-fp/fixdfsi.c: Likewise.
3584         * soft-fp/fixdfti.c: Likewise.
3585         * soft-fp/fixsfdi.c: Likewise.
3586         * soft-fp/fixsfsi.c: Likewise.
3587         * soft-fp/fixsfti.c: Likewise.
3588         * soft-fp/fixtfdi.c: Likewise.
3589         * soft-fp/fixtfsi.c: Likewise.
3590         * soft-fp/fixtfti.c: Likewise.
3591         * soft-fp/fixunsdfdi.c: Likewise.
3592         * soft-fp/fixunsdfsi.c: Likewise.
3593         * soft-fp/fixunsdfti.c: Likewise.
3594         * soft-fp/fixunssfdi.c: Likewise.
3595         * soft-fp/fixunssfsi.c: Likewise.
3596         * soft-fp/fixunssfti.c: Likewise.
3597         * soft-fp/fixunstfdi.c: Likewise.
3598         * soft-fp/fixunstfsi.c: Likewise.
3599         * soft-fp/fixunstfti.c: Likewise.
3600         * soft-fp/floatdidf.c: Likewise.
3601         * soft-fp/floatdisf.c: Likewise.
3602         * soft-fp/floatditf.c: Likewise.
3603         * soft-fp/floatsidf.c: Likewise.
3604         * soft-fp/floatsisf.c: Likewise.
3605         * soft-fp/floatsitf.c: Likewise.
3606         * soft-fp/floattidf.c: Likewise.
3607         * soft-fp/floattisf.c: Likewise.
3608         * soft-fp/floattitf.c: Likewise.
3609         * soft-fp/floatundidf.c: Likewise.
3610         * soft-fp/floatundisf.c: Likewise.
3611         * soft-fp/floatunditf.c: Likewise.
3612         * soft-fp/floatunsidf.c: Likewise.
3613         * soft-fp/floatunsisf.c: Likewise.
3614         * soft-fp/floatunsitf.c: Likewise.
3615         * soft-fp/floatuntidf.c: Likewise.
3616         * soft-fp/floatuntisf.c: Likewise.
3617         * soft-fp/floatuntitf.c: Likewise.
3618         * soft-fp/gedf2.c: Likewise.
3619         * soft-fp/gesf2.c: Likewise.
3620         * soft-fp/getf2.c: Likewise.
3621         * soft-fp/ledf2.c: Likewise.
3622         * soft-fp/lesf2.c: Likewise.
3623         * soft-fp/letf2.c: Likewise.
3624         * soft-fp/muldf3.c: Likewise.
3625         * soft-fp/mulsf3.c: Likewise.
3626         * soft-fp/multf3.c: Likewise.
3627         * soft-fp/negdf2.c: Likewise.
3628         * soft-fp/negsf2.c: Likewise.
3629         * soft-fp/negtf2.c: Likewise.
3630         * soft-fp/op-1.h: Likewise.
3631         * soft-fp/op-2.h: Likewise.
3632         * soft-fp/op-4.h: Likewise.
3633         * soft-fp/op-8.h: Likewise.
3634         * soft-fp/op-common.h: Likewise.
3635         * soft-fp/quad.h: Likewise.
3636         * soft-fp/single.h: Likewise.
3637         * soft-fp/soft-fp.h: Likewise.
3638         * soft-fp/subdf3.c: Likewise.
3639         * soft-fp/subsf3.c: Likewise.
3640         * soft-fp/subtf3.c: Likewise.
3641         * soft-fp/truncdfsf2.c: Likewise.
3642         * soft-fp/trunctfdf2.c: Likewise.
3643         * soft-fp/trunctfsf2.c: Likewise.
3644         * soft-fp/trunctfxf2.c: Likewise.
3645         * soft-fp/unorddf2.c: Likewise.
3646         * soft-fp/unordsf2.c: Likewise.
3647         * soft-fp/unordtf2.c: Likewise.
3649 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3651         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3652         (_FP_MUL_MEAT_D): Ditto.
3653         (_FP_DIV_MEAT_S): Ditto.
3654         (_FP_DIV_MEAT_D): Ditto.
3655         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3656         t-softfp-sfdf and t-softfp to tmake_file.
3658 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3660         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3661         * config/i386/crtprec.c: Ditto.
3663 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3664             Shiva Chen  <shiva0217@gmail.com>
3666         * config.host (nds32*-elf*): Add nds32 target.
3667         * config/nds32 : New directory and files.
3669 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3671         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3672         * config.host (cpu_type) <Setting default>: Add entry for
3673         crisv32-*-*.
3674         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3675         <crisv32-*-linux*>: Adjust.
3676         * longlong.h: Wrap the whole CRIS section in a single
3677         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3678         and sub_ddmmss.
3679         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3680         defined.
3681         [__CRIS__] (__umulsidi3): Define.
3682         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3683         * config/cris/sfp-machine.h: New file.
3684         * config/cris/umulsidi3.S: New file.
3685         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3686         * config/cris/arit.c (SIGNMULT): New macro.
3687         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3688         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3689         saving 3 out of originally 33 cycles from the fastest
3690         path, 3 out of 54 from the medium path and one from the longest
3691         path.  Improve comments.
3693 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3695         * sync.c: Remove static aliases and define each function directly
3696         under its real name.
3698 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3700         * config.host (hppa*64*-*-linux*): Define extra_parts.
3701         (hppa*-*-linux*): Likewise.
3703 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3705         * config/arc/crtgend.S: Add 2013 to Copyright years.
3706         * config/arc/gmon/atomic.h: Likewise.
3707         * config/arc/gmon/auxreg.h: Likewise.
3708         * config/arc/gmon/sys/gmon_out.h: Likewise.
3709         * config/arc/gmon/sys/gmon.h: Likewise.
3710         * config/arc/gmon/prof-freq.c: Likewise.
3711         * config/arc/gmon/mcount.c: Likewise.
3712         * config/arc/gmon/prof-freq-stub.S: Likewise.
3713         * config/arc/gmon/gmon.c: Likewise.
3714         * config/arc/gmon/machine-gmon.h: Likewise.
3715         * config/arc/gmon/profil.S: Likewise.
3716         * config/arc/gmon/dcache_linesz.S: Likewise.
3717         * config/arc/crtg.S: Likewise.
3718         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3719         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3720         * config/arc/ieee-754/adddf3.S: Likewise.
3721         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3722         * config/arc/ieee-754/fixsfsi.S: Likewise.
3723         * config/arc/ieee-754/gtsf2.S: Likewise.
3724         * config/arc/ieee-754/floatsisf.S: Likewise.
3725         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3726         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3727         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3728         * config/arc/ieee-754/fixdfsi.S: Likewise.
3729         * config/arc/ieee-754/addsf3.S: Likewise.
3730         * config/arc/ieee-754/gesf2.S: Likewise.
3731         * config/arc/ieee-754/floatsidf.S: Likewise.
3732         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3733         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3734         * config/arc/ieee-754/gtdf2.S: Likewise.
3735         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3736         * config/arc/ieee-754/uneqdf2.S: Likewise.
3737         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3738         * config/arc/ieee-754/uneqsf2.S: Likewise.
3739         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3740         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3741         * config/arc/ieee-754/eqdf2.S: Likewise.
3742         * config/arc/ieee-754/ordsf2.S: Likewise.
3743         * config/arc/ieee-754/divsf3.S: Likewise.
3744         * config/arc/ieee-754/divdf3.S: Likewise.
3745         * config/arc/ieee-754/floatunsidf.S: Likewise.
3746         * config/arc/ieee-754/orddf2.S: Likewise.
3747         * config/arc/ieee-754/eqsf2.S: Likewise.
3748         * config/arc/ieee-754/gedf2.S: Likewise.
3749         * config/arc/crtn.S: Likewise.
3750         * config/arc/crti.S: Likewise.
3751         * config/arc/t-arc700-uClibc: Likewise.
3752         * config/arc/asm.h: Likewise.
3753         * config/arc/libgcc-excl.ver: Likewise.
3754         * config/arc/t-arc-newlib: Likewise.
3755         * config/arc/divtab-arc700.c: Likewise.
3756         * config/arc/initfini.c: Likewise.
3757         * config/arc/fp-hack.h: Likewise.
3759 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3760             Diego Novillo  <dnovillo@google.com>
3762         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3763         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3764         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3765         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3767 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3768             Brendan Kehoe  <brendan@zen.org>
3769             Simon Cook  <simon.cook@embecosm.com>
3771         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3772         * config/arc: New directory.
3773         * longlong.h [__arc__] (umul_ppmm): Remove.
3774         [__arc__] (__umulsidi3): Define.
3775         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3776         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3778 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3780         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3781         CreateSemaphoreA.
3782         * config/i386/gthr-win32.h: Likewise.
3784 2013-09-16  DJ Delorie  <dj@redhat.com>
3786         * config/rl78/vregs.h: Add G10 register definitions.
3787         * config/rl78/lib2mul.c: Enable for RL78/G10.
3788         * config/rl78/lib2div.c: Likewise.
3789         * config/rl78/lshrsi3.S: Use vregs.h.
3790         * config/rl78/cmpsi2.S: Likewise.
3791         * config/rl78/trampoline.S: Likewise.
3792         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3794 2013-09-14  DJ Delorie  <dj@redhat.com>
3795             Nick Clifton  <nickc@redhat.com>
3797         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3798         * config/rl78/vregs.h: New.
3799         * config/rl78/signbit.S: New file.  Implements signbit function.
3800         * config/rl78/divmodsi.S: New.
3801         * config/rl78/divmodhi.S: New.
3802         * config/rl78/divmodqi.S: New.
3803         * config/rl78/t-rl78: Build them here...
3804         * config/rl78/lib2div.c: ...but not here.
3806 2013-09-12  DJ Delorie  <dj@redhat.com>
3808         * config.host (msp*-*-elf): New.
3809         * config/msp430/: New port.
3811 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3813         PR gcov-profile/58127
3814         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3815         __thread var for emulated TLS.
3816         (__gcov_indirect_call_counters): Likewise.
3818 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3819             Catherine Moore  <clm@codesourcery.com>
3820             Richard Sandiford  <rdsandiford@googlemail.com>
3822         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3823         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3824         (CALL_STUB_NO_RET): Likewise.
3825         (CALL_STUB_RET): Likewise.
3826         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3827         __mips16_ret call/return stub symbols.
3828         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3829         to tmake_file.
3831 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3833         * config.host <mips*-*-linux*>: Remove a stray comment.
3835 2013-08-10  Jan Hubicka  <jh@suse.cz>
3837         Work around binutils PR14342
3838         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3839         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3840         (L_gcov_indirect_call_profiler_v2): New.
3842 2013-08-06  Jan Hubicka  <jh@suse.cz>
3844         * libgcov.c (__gcov_indirect_call_callee,
3845         __gcov_indirect_call_counters): New global vars.
3846         (__gcov_indirect_call_profiler): replace by ...
3847         (__gcov_indirect_call_profiler_v2) ... this one.
3849 2013-08-06  Caroline Tice  <cmtice@google.com>
3851         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3852         vtv_start_preinit.o and vtv_end_preinit.o.
3853         * configure.ac: Add code to check/set enable_vtable_verify.
3854         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3855         true.
3856         * vtv_start_preinit.c: New file.
3857         * vtv_end_preinit.c: New file.
3858         * vtv_start.c: New file.
3859         * vtv_end.c: New file.
3860         * configure: Regenerated.
3862 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3864         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3865         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3866         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3867         GPL-3.0-with-GCC-exception.
3869 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3871         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3872         ISA and up.
3874 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3876         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3877         mapping for FPRs when creating the fallback framestate.
3879 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3881         PR target/57516
3882         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3883         (__round_s2_const, __round_u2_const)
3884         (__round_s4_const, __round_u4_const, __round_x8):
3885         Saturate result if addition result cannot be represented.
3887 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3889         * libgcc2.c: Don't include <limits.h>.
3891 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3893         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3895 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3897         PR target/29776
3898         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3900 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3902         PR middle-end/36041
3903         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3904         Define.
3905         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3906         instead of table lookups.
3907         (__popcountDI2): Likewise.
3909 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3911         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3912         correctly.
3914 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3916         PR other/53317
3917         * soft-fp/adddf3.c: Update from glibc.
3918         * soft-fp/addsf3.c: Likewise.
3919         * soft-fp/addtf3.c: Likewise.
3920         * soft-fp/divdf3.c: Likewise.
3921         * soft-fp/divsf3.c: Likewise.
3922         * soft-fp/divtf3.c: Likewise.
3923         * soft-fp/double.h: Likewise.
3924         * soft-fp/eqdf2.c: Likewise.
3925         * soft-fp/eqsf2.c: Likewise.
3926         * soft-fp/eqtf2.c: Likewise.
3927         * soft-fp/extenddftf2.c: Likewise.
3928         * soft-fp/extended.h: Likewise.
3929         * soft-fp/extendsfdf2.c: Likewise.
3930         * soft-fp/extendsftf2.c: Likewise.
3931         * soft-fp/fixdfdi.c: Likewise.
3932         * soft-fp/fixdfsi.c: Likewise.
3933         * soft-fp/fixsfdi.c: Likewise.
3934         * soft-fp/fixsfsi.c: Likewise.
3935         * soft-fp/fixtfdi.c: Likewise.
3936         * soft-fp/fixtfsi.c: Likewise.
3937         * soft-fp/fixunsdfdi.c: Likewise.
3938         * soft-fp/fixunsdfsi.c: Likewise.
3939         * soft-fp/fixunssfdi.c: Likewise.
3940         * soft-fp/fixunssfsi.c: Likewise.
3941         * soft-fp/fixunstfdi.c: Likewise.
3942         * soft-fp/fixunstfsi.c: Likewise.
3943         * soft-fp/floatdidf.c: Likewise.
3944         * soft-fp/floatdisf.c: Likewise.
3945         * soft-fp/floatditf.c: Likewise.
3946         * soft-fp/floatsidf.c: Likewise.
3947         * soft-fp/floatsisf.c: Likewise.
3948         * soft-fp/floatsitf.c: Likewise.
3949         * soft-fp/floatundidf.c: Likewise.
3950         * soft-fp/floatundisf.c: Likewise.
3951         * soft-fp/floatunditf.c: Likewise.
3952         * soft-fp/floatunsidf.c: Likewise.
3953         * soft-fp/floatunsisf.c: Likewise.
3954         * soft-fp/floatunsitf.c: Likewise.
3955         * soft-fp/gedf2.c: Likewise.
3956         * soft-fp/gesf2.c: Likewise.
3957         * soft-fp/getf2.c: Likewise.
3958         * soft-fp/ledf2.c: Likewise.
3959         * soft-fp/lesf2.c: Likewise.
3960         * soft-fp/letf2.c: Likewise.
3961         * soft-fp/muldf3.c: Likewise.
3962         * soft-fp/mulsf3.c: Likewise.
3963         * soft-fp/multf3.c: Likewise.
3964         * soft-fp/negdf2.c: Likewise.
3965         * soft-fp/negsf2.c: Likewise.
3966         * soft-fp/negtf2.c: Likewise.
3967         * soft-fp/op-1.h: Likewise.
3968         * soft-fp/op-2.h: Likewise.
3969         * soft-fp/op-4.h: Likewise.
3970         * soft-fp/op-8.h: Likewise.
3971         * soft-fp/op-common.h: Likewise.
3972         * soft-fp/quad.h: Likewise.
3973         * soft-fp/single.h: Likewise.
3974         * soft-fp/soft-fp.h: Likewise.
3975         * soft-fp/subdf3.c: Likewise.
3976         * soft-fp/subsf3.c: Likewise.
3977         * soft-fp/subtf3.c: Likewise.
3978         * soft-fp/truncdfsf2.c: Likewise.
3979         * soft-fp/trunctfdf2.c: Likewise.
3980         * soft-fp/trunctfsf2.c: Likewise.
3981         * soft-fp/unorddf2.c: Likewise.
3982         * soft-fp/unordsf2.c: Likewise.
3983         * soft-fp/unordtf2.c: Likewise.
3984         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3985         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3986         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3987         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3988         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3989         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3990         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3991         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3992         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3993         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3994         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3995         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3997 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3999         * config/mips/lib2funcs.c: New file.
4000         * config/mips/t-mips (LIB2ADD_ST): Add it.
4002 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4004         PR target/6526
4005         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4006         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4008 2013-06-08  Walter Lee  <walt@tilera.com>
4010         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4011         Replace int64_t with long long.  Add __extension__ where
4012         appropriate.
4013         * config/tilepro/atomic.c: Include config.h.
4015 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4017         * config.host (arm-wrs-vxworks): Configure with other soft float.
4019 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4021         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4022         (mips64r5900el-*-elf*): New configurations.
4024 2013-06-04  Alan Modra  <amodra@gmail.com>
4026         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4028 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4030         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4032 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4034         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4035         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4036         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4038 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4040         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4041         (powerpc-wrs-vxworks): Likewise.
4043 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4045         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4046         signal frames as well.
4047         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4048         STACK_BIAS to the CFA offset.
4050 2013-05-17  Richard Henderson  <rth@redhat.com>
4052         PR target/49146
4053         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4054         (execute_cfa_program): Use it when storing to fs->regs.
4056 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4058         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4059         (__deregister_frame_info): Likewise.
4061 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4063         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4064         NaN's payload.
4066         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4068 2013-04-25  Alan Modra  <amodra@gmail.com>
4070         * config.host: Match little-endian powerpc-linux.
4072 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4074         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4075         as 'unsigned long long' instead of 'unsigned long'.
4076         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4077         'signed long'.
4079 2013-04-10  Julian Brown  <julian@codesourcery.com>
4081         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4082         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4083         unsigned char/unsigned short.
4084         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4086 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4088         PR other/55274
4089         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4091 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4093         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4094         computing the location of the link register.
4095         (aeabi_uldivmod): Ditto.
4097 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4099         * config.host: Add support for cygwin x64 target.
4100         * configure: Regenerated.
4102 2013-03-26  Walter Lee  <walt@tilera.com>
4104         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4105         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4107 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4109         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4111 2013-03-20  Robert Mason  <rbmj@verizon.net>
4113         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4114         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4115         (__gthread_leave_tsd_dtor_context): Add prototypes.
4116         (tls_delete_hook): Update.
4118 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4119             Joseph Myers  <joseph@codesourcery.com>
4120             Chao-ying Fu  <fu@mips.com>
4122         * config/mips/mips16.S:  Don't build for microMIPS.
4123         * config/mips/linux-unwind.h: Handle microMIPS frame.
4124         * config/mips/crtn.S (fini, init): New labels.
4126 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4128         PR tree-optimization/53265
4129         * unwind-dw2.c (execute_cfa_program): Avoid
4130         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4131         on targets with DWARF_FRAME_REGISTERS < 32.
4133 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4135         PR target/49880
4136         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4137         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4139 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4141         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4142         sandybridge processors.
4144 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4146         PR target/56529
4147         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4148         inclusion list.
4150 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4152         * config/microblaze/crti.S: Setup stack protection at entry
4154 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4156         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4157         (__rotldi3): Shift bytewise if applicable.
4159 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4161         * config/aarch64/sync-cache.c
4162         (__aarch64_sync_cache_range): Silence warnings.
4164 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4166         Revert:
4167         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4168             Joseph Myers  <joseph@codesourcery.com>
4169             Chao-ying Fu  <fu@mips.com>
4171         * config/mips/mips16.S:  Don't build for microMIPS.
4172         * config/mips/linux-unwind.h: Handle microMIPS frame.
4173         * config/mips/crtn.S (fini, init): New labels.
4175 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4176             Joseph Myers  <joseph@codesourcery.com>
4177             Chao-ying Fu  <fu@mips.com>
4179         * config/mips/mips16.S:  Don't build for microMIPS.
4180         * config/mips/linux-unwind.h: Handle microMIPS frame.
4181         * config/mips/crtn.S (fini, init): New labels.
4183 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4184         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4185         as dividend.
4187 2013-02-16  Alan Modra  <amodra@gmail.com>
4189         PR target/55431
4190         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4191         (ppc_fallback_frame_state): Always set up save locations for fp
4192         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4193         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4195 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4197         PR target/54222
4198         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4199         _ssmulHA, _ssmulSA.
4200         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4201         _ssmulha3, _usmulusa3, _ssmulsa3.
4202         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4203         (__muldi3): XCALL __muldi3_6 instead of rcall.
4204         (__umulsidi3, __mulsidi3): New functions.
4205         (do_prologue_saves, do_epilogue_restores): New .macros.
4206         (__divdi3_moddi3): Use them.
4207         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4208         (__usmulusa3, __ssmulsa3): New functions.
4210 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4211             Jack Howarth  <howarth@bromo.med.uc.edu>
4212             Patrick Marlier  <patrick.marlier@gmail.com>
4214         PR libitm/55693
4215         * config/darwin-crt-tm.c: Remove dummy functions hack.
4217 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4219         PR target/54222
4220         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4221         * config/avr/lib2-object.mk: New iterator to build objects from it.
4222         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4223         lib2funcs.c.
4224         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4225         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4226         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4227         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4228         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4229         * config/avr/lib1funcs-fixed.S: Implement them.
4231 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4233         Update copyright years.
4235 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4237         PR target/54601
4238         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4239         Add crtcxa to extra_parts.
4240         * config/rs6000/exit.h: New file.
4241         * config/rs6000/cxa_atexit.c: New file.
4242         * config/rs6000/cxa_finalize.c: New file.
4243         * config/rs6000/crtcxa.c: New file.
4244         * config/rs6000/t-aix-cxa: New file.
4245         * config/rs6000/libgcc-aix-cxa.ver: New file.
4247 2013-01-31  Nick Clifton  <nickc@redhat.com>
4249         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4250         variant.
4252 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4254         PR target/54222
4255         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4256         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4257         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4258         _divQQ,  _divHQ,  _divHA,  _divSA,
4259         _divUQQ, _divUHQ, _divUHA, _divUSA.
4261 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4263         * config.host(microblaze*-linux*): tmake_file: Remove
4264         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4265         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4266         to exclude functions from being built with libgcc.c and use
4267         the microblaze assembly.
4269 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4271         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4272         extra_parts.
4274 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4276         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4277         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4278         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4279         alignment operation.
4281 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4283         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4284         loop start address for cache clearing.
4286 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4288         * config/avr/lib1funcs.S: Remove trailing blanks.
4289         * config/avr/lib1funcs-fixed.S: Ditto.
4291 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4293         * config/avr/avr-lib.h: Add GPL copyright notice.
4295 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4297         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4298         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4299         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4300         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4302 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4304         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4305         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4307 2013-01-04  Nick Clifton  <nickc@redhat.com>
4309         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4310         the CALLT instruction is supported.
4312 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4314         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4315         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4317 2012-12-13  John Tytgat  <John@bass-software.com>
4319         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4320         is 25.
4322 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4324         PR libgcc/55451
4325         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4326         undefined signed overflows.
4328 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4330         PR target/55344
4331         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4333 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4335         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4336         (FP_TRAPPING_EXCEPTIONS): Define.
4337         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4338         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4340 2012-12-04  Richard Henderson  <rth@redhat.com>
4342         PR bootstrap/55571
4343         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4345 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4347         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4348         (FP_EX_SHIFT): Define.
4349         (FP_TRAPPING_EXCEPTIONS): Define.
4351 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4353         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4354         (FP_ROUNDMODE): Use FP_RND_MASK.
4355         * config/aarch64/sfp-exceptions.c: New.
4356         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4357         Use __sfp_handle_exceptions.
4359 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4361         * config.host: (arm*-*-freebsd*): Remove.
4362         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4363         (arm*-*-elf*): Remove.
4364         (arm*-*-wince-pe*): Remove.
4365         * arm/unwind-arm.c (struct fpa_reg): Delete.
4366         (struct fpa_regs): Delete.
4367         (phase1_vrs): Remove fpa element.
4368         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4369         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4370         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4371         * ieee754-sf.S (floatundisf): Remove FPA support.
4372         (floatdisf): Likewise.
4373         * ieee75f-df.S (floatundidf): Likewise.
4374         (floatdidf): Likewise.
4376 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4378         PR target/55445
4379         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4380         * unwind-generic.h: Likewise.
4381         * unwind-seh.c: Likewise.
4383 2012-11-28  Richard Henderson  <rth@redhat.com>
4385         PR libgcc/48076
4386         * emutls.c (__emutls_get_address): Avoid race condition between
4387         obj->loc.offset read and emutls_key initialization.
4389 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4391         Adjust decimal point of signed accum mode to GCC default.
4393         PR target/54222
4394         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4395         _divqq_helper.
4396         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4397         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4398         (__mulha3, __mulsa3)
4399         (__divqq3, __divha3, __divsa3): Adjust to new position of
4400         decimal point of signed accum types.
4402         (__mulusa3_round): New function.
4403         (__mulusa3): Use it.
4404         (__divqq_helper): New function.
4405         (__udivuqq3): Use it.
4407 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4409         PR bootstrap/55370
4410         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4412 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4414         PR bootstrap/55051
4415         * libgcov.c (gcov_exit): Remove merged program summary
4416         comparison unless !GCOV_LOCKED.
4418 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4420         * soft-fp: Updated from glibc upstream.
4422 2012-11-06  Ian Lance Taylor  <iant@google.com>
4424         * generic-morestack.c (__generic_morestack): Align the returned
4425         stack pointer to a 32 byte boundary.
4426         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4427         increment the return address until we have decided that we don't
4428         have a varargs function.
4429         (__morestack) [32-bit]: Align stack correctly when calling C
4430         functions.
4431         (__morestack) [64-bit]: Likewise.
4433 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4435         * configure: Regenerate.
4437 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4439         PR target/55175
4440         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4441         * config/i386/sfp-machine.h: Guard exception handling
4442         code with _SOFT_FLOAT.
4443         * config/i386/32/sfp-machine.h: Guard rounding handling
4444         code with _SOFT_FLOAT.
4445         * config/i386/64/sfp-machine.h: Ditto.
4447 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4449         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4450         as extra_parts.
4452 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4454         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4455         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4456         when appropriate.  Correct structure element types.
4457         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4458         -minline-all-stringops from compile flags.
4460 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4462         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4464 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4466         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4468 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4470         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4471         tmake_file.
4473 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4474             Jim MacArthur  <jim.macarthur@arm.com>
4475             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4476             Nigel Stephens  <nigel.stephens@arm.com>
4477             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4478             Richard Earnshaw  <rearnsha@arm.com>
4479             Sofiane Naci  <sofiane.naci@arm.com>
4480             Stephen Thomas  <stephen.thomas@arm.com>
4481             Tejas Belagod  <tejas.belagod@arm.com>
4482             Yufeng Zhang  <yufeng.zhang@arm.com>
4484         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4485         * config/aarch64/crti.S: New file.
4486         * config/aarch64/crtn.S: New file.
4487         * config/aarch64/linux-unwind.h: New file.
4488         * config/aarch64/sfp-machine.h: New file.
4489         * config/aarch64/sync-cache.c: New file.
4490         * config/aarch64/t-aarch64: New file.
4491         * config/aarch64/t-softfp: New file.
4493 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4495         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4496         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4497         no-longer-needed LDBU insns.
4499 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4501         * config.host
4502         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4503         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4505 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4507         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4509 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4511         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4513 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4515         * configure: Regenerate.
4516         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4518 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4520         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4521         instructions for 64bit targets only.
4523 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4525         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4526         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4527         * config/i386/32/sfp-machine.h: ... here.
4528         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4529         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4530         New defines.
4532 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4534         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4535         as unused.
4536         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4538 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4540         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4541         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4542         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4543         (ElfW): Likewise.
4545 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4547         PR other/53889
4548         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4549         Fix parameter names.
4551 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4553         PR target/33135
4554         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4555         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4556         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4558 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4560         PR target/50457
4561         * config/sh/linux-atomic.S: Delete.
4562         * config/sh/linux-atomic.c: New.
4563         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4564         linux-atomic.c.  Add cflags to disable warnings.
4566 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4568         PR other/53889
4569         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4570         function.
4571         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4572         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4573         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4574         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4575         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4576         Likewise.
4577         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4578         Likewise.
4579         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4580         Likewise.
4581         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4582         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4584 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4586         * config.host (hppa-*-openbsd*): New target.
4587         * config/pa/t-openbsd: New file.
4589 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4591         PR target/54222
4592         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4593         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4594         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4595         (__divsa3): Use __negsi2 to negate r_quoL.
4596         * config/avr/lib1funcs.S (FALIAS): New macro.
4597         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4598         (__negsi2): ...this new function.
4599         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4600         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4601         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4602         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4603         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4604         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4606 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4608         PR target/54089
4609         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4610         (lshrsi3): Reimplement as lshrsi3_r0.
4612 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4614         PR target/46191
4615         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4616         of libgcc.a.
4618 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4620         PR gcov-profile/54487
4621         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4622         differences.
4624 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4626         PR target/54461
4627         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4628         not configured --with-avrlibc=no.
4629         * config/avr/t-avrlibc: New file.
4630         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4631         (DPBIT_FUNCS): Ditto.
4632         (TPBIT_FUNCS): Ditto.
4634 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4636         * libgcov.c (struct gcov_summary_buffer): New structure.
4637         (gcov_histogram_insert): New function.
4638         (gcov_compute_histogram): Ditto.
4639         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4640         histograms during summary merging.
4642 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4644         * config.host (x86_64-*-openbsd*): New target.
4646 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4648         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4649         attribute.
4651 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4653         PR target/54222
4654         * config/avr/t-avr (conv_X): Rename to func_X.
4656 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4658         PR target/54222
4659         * config/avr/lib1funcs-fixed.S: New file.
4660         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4661         after they are used.
4662         (neg2, neg4): New macros.
4663         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4664         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4665         (__umulhisi3): Speed up MUL variant if there is enough flash.
4666         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4667         avr-modes.def.
4668         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4669         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4670         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4671         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4672         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4673         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4674         (LIB2FUNCS_EXCLUDE): Add supported functions.
4676 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4678         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4679         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4680         libgcc-s-objects.
4681         * fixed-obj.mk: Only expand dependency if $o is not in
4682         LIB2FUNCS_EXCLUDE.
4684 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4686         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4688 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4690         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4691         depend on --enable-shared.
4692         ($(lib1asmfuncs-o)): Use %.vis files independent of
4693         --enable-shared.
4694         * static-object.mk ($(base)$(objext), $(base).vis)
4695         ($(base)_s$(objext)): Use same rules for visibility handling as in
4696         shared-object.mk.
4698 2012-08-21  Ian Lance Taylor  <iant@google.com>
4700         * config/i386/morestack.S (__morestack_non_split): Increase amount
4701         of space allocated for non-split code stack.
4703 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4705         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4706         even if inhibit_libc.
4708 2012-08-17  Julian Brown  <julian@codesourcery.com>
4710         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4711         -fexceptions -fnon-call-exceptions if not defined.
4712         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4713         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4715 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4717         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4718         type.
4720 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4722         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4723         rs6000/t-slibgcc-aix.
4725 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4727         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4729 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4731         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4733 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4735         PR driver/54171
4736         * Makefile.in (version): Replace top_srcdir with srcdir.
4738 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4740         * Makefile.in (version): set to BASE-VER file from gcc directory.
4742 2012-08-01  Nick Clifton  <nickc@redhat.com>
4744         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4745         Implements __clrsb for an HImode argument.
4747 2012-07-31  Nick Clifton  <nickc@redhat.com>
4749         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4750         Implements __clrsb for an HImode argument.
4751         * config/stormy16/clrsbhi2.c: New file:
4752         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4754 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4756         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4758 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4759             Richard Henderson  <rth@redhat.com>
4761         * unwind-seh.c: New file.
4762         * unwind-generic.h: Include windows.h for SEH.
4763         (_Unwind_Exception): Use 6 private fields for SEH.
4764         (_GCC_specific_handler): Declare.
4765         * unwind-c.c (__gcc_personality_seh0): New function.
4766         Adjust for SEH.
4767         * config/i386/libgcc-cygming.ver: New file.
4768         * config/i386/t-seh-eh: New file.
4769         * config.host (x86_64-*-mingw*): Default to seh.
4771 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4773         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4775 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4777         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4778         __builtin_expect when checking for exceptions.
4779         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4781 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4783         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4784         function declaration.
4785         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4786         (FP_RND_MASK): New.
4787         * config/ia64/sfp-exceptions.c: New.
4788         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4790 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4792         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4793         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4794         * config/i386/64/sfp-machine: ... (delete here) ...
4795         * config/i386/sfp-machine.h: ... to here.
4796         (FP_EX_MASK): Remove.
4797         (FP_RND_MASK): New.
4798         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4800 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4802         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4803         * config/i386/libgcc-sol2.ver: Ditto.
4804         * config/i386/libgcc-glibc.ver: Ditto.
4806 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4808         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4809         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4810         pthread_cancel.
4812 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4814         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4815         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4816         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4817         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4818         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4819         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4820         * config/i386/64/sfp-machine: ... (delete here) ...
4821         * config/i386/sfp-machine.h: ... to here.
4822         (FP_EX_MASK): New.
4823         (__sfp_handle_exceptions): New function declaration.
4824         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4825         * config/i386/sfp-exceptions.c: New.
4826         * config/i386/t-softfp: New.
4827         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4828         i386/t-softfp to tmake_file.
4830 2012-06-03  David S. Miller  <davem@davemloft.net>
4832         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4833         change.
4835 2012-05-31  David S. Miller  <davem@davemloft.net>
4837         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4838         multiply and divide instructions on 32-bit when V9.
4839         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4841 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4843         * config/arm/ieee754-df.S: Fix typos.
4844         * config/arm/ieee754-sf.S: Fix typos.
4845         * config/c6x/libunwind.S: Fix typos.
4846         * config/epiphany/udivsi3-float.c: Fix typos.
4847         * config/microblaze/muldi3_hard.S: Fix typos.
4848         * config/picochip/adddi3.S: Fix typos.
4849         * config/picochip/ashlsi3.S: Fix typos.
4850         * config/picochip/ashrsi3.S: Fix typos.
4851         * config/picochip/clzsi2.S: Fix typos.
4852         * config/picochip/cmpsi2.S: Fix typos.
4853         * config/picochip/divmod15.S: Fix typos.
4854         * config/picochip/divmodhi4.S: Fix typos.
4855         * config/picochip/divmodsi4.S: Fix typos.
4856         * config/picochip/longjmp.S: Fix typos.
4857         * config/picochip/lshrsi3.S: Fix typos.
4858         * config/picochip/parityhi2.S: Fix typos.
4859         * config/picochip/popcounthi2.S: Fix typos.
4860         * config/picochip/setjmp.S: Fix typos.
4861         * config/picochip/subdi3.S: Fix typos.
4862         * config/picochip/ucmpsi2.S: Fix typos.
4863         * config/picochip/udivmodhi4.S: Fix typos.
4864         * config/picochip/udivmodsi4.S: Fix typos.
4865         * config/spu/divv2df3.c: Fix typos.
4866         * config/spu/mfc_multi_tag_release.c: Fix typos.
4867         * config/spu/mfc_tag_release.c: Fix typos.
4868         * configure.ac: Fix typos.
4869         * configure: Regenerate.
4871 2012-05-25  Ian Lance Taylor  <iant@google.com>
4873         * config/i386/morestack.S (__morestack_non_split): Check whether
4874         caller is varargs and needs %bp to hold the stack frame on return.
4876 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4878         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4879         sequence in the non pic case on VxWorks.
4881 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4883         * Makefile.in: Move dependency on install-unwind_h from
4884         "install-leaf" to "install".
4886 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4888         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4889         Use a separate command for stamp removals.
4891 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4893         PR bootstrap/53183
4894         * configure.ac: Define the default includes to being none.
4895         * configure: Regenerate.
4897 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4899         * Makefile.in (install-unwind_h): Rename into ...
4900         (install-unwind_h-forbuild): New target.
4901         (all): Use it instead of the former install-unwind_h.
4902         (install-unwind_h): Reinstate, copy to user install destination
4903         for include files, not to the internal gcc object directory one.
4904         (install-leaf): Depend on it.
4906 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4908         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4909         register numbers. LR_REGNO replaces R_LR.
4910         (ucontext_for): New, helper for ...
4911         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4912         and 5.3 of ...
4913         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4915 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4917         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4918         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4919         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4920         i386/t-cpuinfo ...
4921         (i[34567]86-*-*, x86_64-*-*): ... here.
4923         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4924         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4926         * config/i386/i386-cpuinfo.c: Rename to ...
4927         * config/i386/cpuinfo.c: ... this.
4928         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4930         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4931         (libgcc_cv_init_priority): New test.
4932         * configure: Regenerate.
4933         * config.in: New file.
4934         * Makefile.in (clean): Rename config.h to auto-target.h.
4935         (config.h): Likewise.
4936         (stamp-h): Likewise.
4938         * config/i386/cpuinfo.c (auto-target.h): Include.
4939         (CONSTRUCTOR_PRIORITY): Define.
4940         (__cpu_indicator_init): Use it.
4942 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4944         * longlong.h: Use a URL instead of an FSF postal address.
4945         Replace spaces with tab.
4947 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4949         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4950         (__gcov_dump): Ditto.
4951         (gcov_dump_complete): New global variable.
4952         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4953         (__gcov_flush): Outline functionality now in gcov_clear.
4954         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4956 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4958         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4959         (mips*-*-linux*): Include mips/t-tpbit when long double is
4960         16 bytes long.
4962 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4964         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4965         (get_available_features): New argument. Check for AVX2.
4966         (__cpu_indicator_init): Modify call to get_available_features.
4968 2012-04-25  Alan Modra  <amodra@gmail.com>
4970         * config/rs6000/crtsavevr.S: New file.
4971         * config/rs6000/crtrestvr.S: New file.
4972         * config/rs6000/t-savresfgpr: Build the above.
4973         * config/rs6000/t-netbsd: Likewise.
4975 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4977         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4979 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4981         * libgcc/config/i386/i386-cpuinfo.c: New file.
4982         * libgcc/config/i386/t-cpuinfo: New file.
4983         * libgcc/config.host: Include t-cpuinfo.
4984         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4986 2012-04-24  Chao-ying Fu  <fu@mips.com>
4988         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4990 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4992         struct siginfo vs. siginfo_t
4994         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4995         siginfo_t instead of struct siginfo.
4996         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4997         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4998         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4999         (ia64_handle_unwabi): Likewise.
5000         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5001         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5002         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5003         (sh_fallback_frame_state): Likewise.
5004         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5005         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5007 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5009         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5010         system call number.
5012 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5014         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5015         if it hasn't been previously saved.
5017 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5019         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5020         only for glibc.
5022 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5024         PR target/52737
5025         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5026         instead of __AVR_HAVE_8BIT_SP__.
5028 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5030         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5031         (unw_table_entry): Use unw_word instead of unsigned long.
5032         (_Unwind_FindTableEntry): Likewise.
5033         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5034         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5035         (_Unwind_FindTableEntry): Likewise.
5036         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5037         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5038         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5039         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5040         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5041         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5042         (uw_init_context_1, uw_install_context): Likewise.
5043         (unw_word): Move to unwind-ia64.h
5045 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5047         * config/vms/vms-ucrt0.c: Update copyright years.
5048         Add a sanity check.
5049         (___gcc_main_flags): Declare.
5050         (__main): Check flags to remap argv and exit code.
5051         * config.host (*-*-*vms*): Adjust extra_parts.
5052         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5053         (crt0.o): Add.
5055 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5057         * arm/lib1funcs.asm (ctzsi2): New function.
5058         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5059         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5060         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5061         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5062         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5063         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5065 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5067         * config.host: Add bits to support powerpc64-*-freebsd*.
5068         * config/rs6000/freebsd-unwind.h: New file.
5069         * config/rs6000/t-freebsd64: New file.
5071 2012-03-20  Richard Guenther  <rguenther@suse.de>
5073         PR gcov-profile/52627
5074         * libgcov.c (init_mx): Fix mutex name.
5076 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5078         * config/ia64/vms-unwind.h: Remove ulong (and replace
5079         it by unw_reg where used).  Define unw_reg with __int64.
5081 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5083         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5084         Solaris 8 handling.
5085         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5086         Solaris 8 handling.
5087         (sparc_is_sighandler): Likewise.
5089 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5091         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5092         <= saved reg size.
5094 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5096         * config/arm/crtn.S: Fix typo.
5098 2012-03-13  Richard Guenther  <rguenther@suse.de>
5100         * libgcov.c: Remove stdio.h include and NULL un-define.
5102 2012-03-13  Richard Guenther  <rguenther@suse.de>
5104         PR target/52569
5105         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5107 2012-03-13  Richard Guenther  <rguenther@suse.de>
5109         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5111 2012-03-13  Richard Guenther  <rguenther@suse.de>
5113         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5114         and __gthread_mutex_init_function definitions.
5116 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5118         * config.host (mips*-*-openbsd*): Remove.
5120 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5122         * config.host: Remove alpha*-dec-osf5.1* handling.
5123         * config/alpha/gthr-posix.c: Remove.
5124         * config/alpha/libgcc-osf5.ver: Remove.
5125         * config/alpha/osf5-unwind.h: Remove.
5126         * config/alpha/t-osf-pthread: Remove.
5127         * config/alpha/t-slibgcc-osf: Remove.
5128         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5129         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5130         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5131         * mkmap-flat.awk: Remove osf_export handling.
5133 2012-03-12  Richard Guenther  <rguenther@suse.de>
5135         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5136         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5137         (__gthread_mutex_init_function): New function.
5138         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5140         PR gcov/49484
5141         * libgcov.c: Include gthr.h.
5142         (__gcov_flush_mx): New global variable.
5143         (init_mx, init_mx_once): New functions.
5144         (__gcov_flush): Protect self with a mutex.
5145         (__gcov_fork): Re-initialize mutex after forking.
5146         * unwind-dw2-fde.c: Change condition under which to use
5147         __GTHREAD_MUTEX_INIT_FUNCTION.
5149 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5151         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5152         * config/ia64/t-vms: Likewise.
5154 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5156         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5157         for Thumb-2.
5159 2012-03-07  Walter Lee  <walt@tilera.com>
5161         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5162         "arch_atomic_".
5163         (atomic_xor): Rename and move definition to
5164         config/tilepro/atomic.h.
5165         (atomic_nand): Ditto.
5166         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5167         "arch_atomic_".
5168         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5169         (arch_atomic_nand): Ditto.
5171 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5173         PR target/52507
5174         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5176 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5178         PR target/52505
5179         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5180         from RAM.
5182 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5184         PR target/52461
5185         PR target/52508
5186         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5187         if RAMPZ affects reading from RAM.
5188         (__tablejump_elpm__): Ditto.
5189         (.xload): Ditto.
5190         (__movmemx_hi): Ditto.
5191         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5192         (__do_global_dtors): Ditto.
5193         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5194         (__movmemx_hi): Ditto.
5196 2012-03-05  Richard Henderson  <rth@redhat.com>
5198         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5199         [ARM] (count_trailing_zeros): Use the builtin.
5201 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5203         * soft-fp: Imported from glibc upstream.
5205 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5207         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5208         for mingw-targets as attribute gcc_struct.
5210 2012-02-28  Ian Lance Taylor  <iant@google.com>
5212         * generic-morestack.c (__splitstack_releasecontext): Correct call
5213         to __morestack_release_segments.
5215 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5217         PR target/52390
5218         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5219         for __linux__ when removing signals from __morestack_fullmask.
5221 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5223         PR target/52261
5224         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5226 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5228         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5229         instead of HAVE_INITFINI_ARRAY.
5230         * config/ia64/crtend.S: Likewise.
5232 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5234         PR libstdc++/52300
5235         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5237         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5238         to w32-unwind.h header.
5240 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5242         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5243         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5244         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5245         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5247 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5249         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5251 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5253         PR libitm/52220
5254         * config/darwin-crt-tm.c: Correct typo.
5256 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5257             Patrick Marlier  <patrick.marlier@gmail.com>
5259         PR libitm/52220
5260         * config/darwin-crt-tm.c: Generate dummy functions.
5262 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5263             Patrick Marlier  <patrick.marlier@gmail.com>
5265         PR libitm/52042
5266         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5267         (__doTMRegistrations): Call it.
5268         (__doTMdeRegistrations): Likewise.
5270 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5271             Anatoly Sokolov  <aesok@post.ru>
5272             Eric Weddington  <eric.weddington@atmel.com>
5274         PR target/52261
5275         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5276         (__epilogue_restores__): Ditto.
5278 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5280         PR target/51921
5281         PR target/52205
5282         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5283         Solaris 11 and slightly reformat.
5284         (sparc_is_sighandler): Likewise.
5286 2012-02-14  Walter Lee  <walt@tilera.com>
5288         * config.host: Handle tilegx and tilepro.
5289         * config/tilegx/sfp-machine.h: New file.
5290         * config/tilegx/sfp-machine32.h: New file.
5291         * config/tilegx/sfp-machine64.h: New file.
5292         * config/tilegx/t-crtstuff: New file.
5293         * config/tilegx/t-softfp: New file.
5294         * config/tilegx/t-tilegx: New file.
5295         * config/tilepro/atomic.c: New file.
5296         * config/tilepro/atomic.h: New file.
5297         * config/tilepro/linux-unwind.h: New file.
5298         * config/tilepro/sfp-machine.h: New file.
5299         * config/tilepro/softdivide.c: New file.
5300         * config/tilepro/softmpy.S: New file.
5301         * config/tilepro/t-crtstuff: New file.
5302         * config/tilepro/t-tilepro: New file.
5304 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5306         PR libstdc++/51296
5307         PR libstdc++/51906
5308         * gthr-posix.h: Allow static initializer macros to be disabled.
5309         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5311 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5313         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5314         Add t-slibgcc-libgcc to tmake_file.
5315         * config/mips/libgcc-mips16.ver: Revert previous patch.
5316         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5318 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5319             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5321         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5322         * config/cr16/crti.S: New file.
5323         * config/cr16/crtlibid.S: New file.
5324         * config/cr16/crtn.S: New file.
5325         * config/cr16/lib1funcs.S: New file.
5326         * config/cr16/t-cr16: New file.
5327         * config/cr16/t-crtlibid: New file.
5328         * config/cr16/unwind-dw2.h: New file.
5329         * config/cr16/unwind-cr16.c: New file.
5330         * config/cr16/divmodhi3.c: New file.
5332 2012-01-25  Alan Modra  <amodra@gmail.com>
5334         * config/rs6000/t-linux64: Delete.  Move..
5335         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5336         * config/rs6000/t-linux: ..and libgcc flags to here.
5338 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5340         * config.host (i[34567]86-*-interix3*):
5341         Change triplet to i[34567]86-*-interix[3-9]*.
5342         * configure: Regenerate.
5344 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5345             Richard Sandiford  <rdsandiford@googlemail.com>
5347         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5348         * config/mips/mips16.S (__mips16_rdhwr): New function.
5349         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5351 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5353         * libgcov.c (__gcov_init): Ignore objects with no functions.
5355 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5357         PR target/49868
5358         Extend __pgmx semantics to linearize memory.
5359         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5360         * config/avr/lib1funcs.S (__xload_1): New function.
5361         (__movmemx_qi, __movmemx_hi): New functions.
5362         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5363         semantics.
5365 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5367         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5368         purported sigacthandler address isn't null before dereferencing it.
5369         (sparc_is_sighandler): Likewise.
5371 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5373         PR ada/41929
5374         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5375         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5376         (sparc_is_sighandler): Likewise.
5377         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5379 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5381         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5382         compatibility thunks...
5383         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5384         (crtbeginS.o, crtendS.o): ... and these to ...
5385         * config/ia64/t-ia64-elf: ... this new file.
5386         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5387         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5389 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5391         * configure: Regenerate.
5392         * config/s390/t-crtstuff: Remove -fPIC.
5394 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5396         PR bootstrap/51006
5397         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5398         for NetBSD.
5400 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5402         PR target/51345
5403         * config/avr/lib1funcs.S: Remove FIXME comments.
5404         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5406 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5408         Implement light-weight DImode support.
5409         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5410         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5411         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5412         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5414 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5416         * libgcov.c (gcov_crc32): Remove global var.
5417         (free_fn_data): New function.
5418         (buffer_fn_data): Pass in filename, more robust error recovery.
5419         (crc32_unsigned): New function.
5420         (gcov_exit): More robust detection of new program. More robust
5421         error recovery.
5422         (__gcov_init): Do not update program's crc here.
5424 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5426         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5428 2011-12-21  Ian Lance Taylor  <iant@google.com>
5430         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5432 2011-12-20  Ian Lance Taylor  <iant@google.com>
5434         * config/i386/morestack.S (__morestack_non_split): If there is
5435         enough stack space already, don't split.  Ask for more stack space
5436         than we required.
5438 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5440         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5441         `sys/sdt.h'.
5442         (_Unwind_DebugHook): New function.
5443         (uw_restore_core_regs): New define.
5444         (unwind_phase2): Use uw_restore_core_regs instead of
5445         restore_core_regs.
5446         (unwind_phase2_forced): Likewise.
5447         (__gnu_Unwind_Resume): Likewise.
5449 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5451         * config/alpha/linux-unwind.h: Update copyright years.
5452         (MD_FROB_UPDATE_CONTEXT): New define.
5453         (alpha_frob_update_context): New function.
5455 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5457         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5458         tmake_file rather replacing it.
5460 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5462         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5463         function is not used for PPC64.
5464         (save_world): Amend comments.  Update the VRsave mask to reflect the
5465         saved regs.
5466         (rest_world): Update comments, do not  clobber r10, do not use r8.
5467         (eh_rest_world_r10): Amend comments, do not use r8.
5468         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5469         no longer used, move restore of CR and target address to the end of
5470         the routine.
5472 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5474         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5475         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5477 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5479         PR target/49313
5480         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5481         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5483 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5485         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5487 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5489         PR target/49313
5490         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5491         * config/avr/lib1funcs.S (__muldi3): New function.
5493 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5495         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5496         size of func_ptr.
5497         (__frame_dummy_init_array_entry): Likewise.
5499 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5501         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5503         PR target/51345
5504         PR target/51002
5505         * config/avr/lib1funcs.S (__prologue_saves__,
5506         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5507         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5509 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5511         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5513 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5515         PR other/51272
5516         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5517         (_ITM_deregisterTMCloneTable): Likewise.
5518         (__register_frame_info): Fix unused warning.
5519         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5520         pthread_default_stacksize_np): Likewise.
5521         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5523 2011-11-29  DJ Delorie  <dj@redhat.com>
5525         * config.host (rl78-*-elf): New case.
5526         * config/rl78: New directory for the Renesas RL78.
5528 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5530         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5531         formatting.
5533 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5535         PR other/51022
5536         * config/rs6000/t-savresfgpr: New file.
5537         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5538         $(srcdir)/config/rs6000/eabi.S.
5539         * config/rs6000/t-ppccomm-ldbl: Remove.
5540         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5541         tmake_file.
5542         (powerpc-*-eabispe*): Likewise.
5543         (powerpc-*-eabi*): Likewise.
5544         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5545         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5546         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5547         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5548         tmake_file.
5549         (powerpc-*-eabisim*): Likewise.
5550         (powerpc-*-elf*): Likewise.
5551         (powerpc-*-eabialtivec*): Likewise.
5552         (powerpc-xilinx-eabi*): Likewise.
5553         (powerpc-*-rtems*): Likewise.
5554         (powerpcle-*-elf*): Likewise.
5555         (powerpcle-*-eabisim*): Likewise.
5556         (powerpcle-*-eabi*): Likewise.
5558 2011-11-27  Ian Lance Taylor  <iant@google.com>
5560         * generic-morestack.c (__splitstack_find): Check for NULL old
5561         stack value.
5562         (__splitstack_resetcontext): New function.
5563         (__splitstack_releasecontext): New function.
5564         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5566 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5568         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5570 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5572         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5574 2011-11-26  Richard Henderson  <rth@redhat.com>
5576         * config/m68k/linux-atomic.c: New file.
5577         * config/m68k/t-linux: New file.
5578         * config.host (m68k-uclinux, m68k-linux): Use it.
5580 2011-11-26  Richard Henderson  <rth@redhat.com>
5582         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5583         (__TMC_END__): Only declare if hidden is available; in the definition,
5584         if hidden is unavailable add a null record.
5585         (deregister_tm_clones, register_tm_clones): New.
5586         (__do_global_dtors_aux, frame_dummy): Use them.
5587         (__do_global_dtors, __do_global_ctors_1): Likewise.
5589 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5591         * config/darwin-crt-tm.c: New file.
5592         * config.host (darwin): Build crttms.o crttme.o to provide
5593         startup and shutdown for tm clones.
5594         * config/t-darwin (crttms.o): New build rule.
5595         (crttme.o): Likewise.
5597 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5599         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5600         et al.
5602 2011-11-21  Richard Henderson  <rth@redhat.com>
5604         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5605         (__TMC_LIST__, __TMC_END__): New.
5606         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5607         (__do_global_dtors): Likewise.
5608         (frame_dummy): Call _ITM_registerTMCloneTable.
5609         (__do_global_ctors_1): Likewise.
5611 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5613         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5614         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5615         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5616         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5617         * config/i386/t-darwin64: Remove.
5618         * config/sh/t-netbsd (LIB2ADD): Remove.
5620 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5622         PR target/49313
5623         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5624         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5625         * config/avr/lib1funcs.S (wmov): New assembler macro.
5626         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5627         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5628         (__udivmod64): New function.
5629         (__negdi2): New function.
5631 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5633         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5634         *-*-freebsd*aout*): Remove.
5636 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5638         * static-object.mk (c_flags-$o): Save c_flags.
5639         ($(base)$(objext)): Use it.
5641 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5643         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5645 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5647         PR target/49868
5648         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5649         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5650         New functions.
5652 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5654         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5655         functions.
5656         (aeabi_uidivmod): Likewise.
5657         (umodsi3): Likewise.
5658         (divsi3): Likewise.
5659         (aeabi_idivmod): Likewise.
5660         (modsi3): Likewise.
5662 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5664         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5666 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5668         PR target/49868
5669         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5670         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5672 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5674         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5675         tmake_file list.
5676         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5677         * config/pa/t-stublib64: Delete.
5679 2011-11-12  Richard Henderson  <rth@redhat.com>
5681         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5682         cast the pointer argument to _Unwind_SetGRPtr.
5684 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5686         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5688 2011-11-09  Ian Lance Taylor  <iant@google.com>
5690         * generic-morestack.c: Include <string.h>.
5691         (uintptr_type): Define.
5692         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5693         extra array by 1.
5694         (allocate_segment): Set prev field to NULL.  Don't set
5695         __morestack_current_segment or __morestack_segments.
5696         (__generic_morestack): Update current->prev and *pp after calling
5697         allocate_segment.
5698         (__morestack_block_signals): Don't do anything if
5699         dont_block_signals is set.
5700         (__morestack_unblock_signals): Likewise.
5701         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5702         uintptr_type.
5703         (__splitstack_block_signals): New function.
5704         (enum __splitstack_content_offsets): Define.
5705         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5706         (__splitstack_makecontext): New function.
5707         (__splitstack_block_signals_context): New function.
5708         (__splitstack_find_context): New function.
5709         * config/i386/morestack.S (__morestack_get_guard): New function.
5710         (__morestack_set_guard, __morestack_make_guard): New functions.
5711         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5713 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5715         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5716         (i[34567]86-*-mingw*): ... here.
5717         (x86_64-*-mingw*): ... here.
5719 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5721         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5723 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5725         * libgcov.c (struct gcov_fn_buffer): New struct.
5726         (buffer_fn_data): New helper.
5727         (gcov_exit): Rework for new gcov data structures.
5729 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5731         PR target/49313
5732         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5734 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5736         * config.host (tmake_file): Correct comment.
5737         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5738         t-libgcc-pic.
5739         (bfin*-uclinux*): Likewise.
5740         (bfin*-linux-uclibc*): Likewise.
5741         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5743         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5744         assigning.
5745         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5746         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5747         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5748         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5749         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5750         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5751         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5752         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5753         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5754         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5755         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5756         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5757         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5759         * config/bfin/t-elf: Remove.
5760         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5762 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5764         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5765         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5766         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5767         (lm32-*-elf*): ... this.
5768         (lm32-*-rtems*): ... and this.
5769         Add to tmake_file.
5770         (m32r-*-rtems*): Add to tmake_file.
5771         (moxie-*-rtems*): Likewise.
5772         (sparc-*-rtems*): Likewise.
5773         Remove t-rtems from tmake_file.
5774         (sparc64-*-rtems*): Likewise.
5775         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5776         instead.
5778 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5780         PR bootstrap/50982
5781         * config/gthr-posix.h: Move ...
5782         * gthr-posix.h: ... here.
5783         * config/gthr-lynx.h: Reflect this.
5784         * config/gthr-vxworks.h: Likewise.
5785         * config/rs6000/gthr-aix.h: Likewise.
5786         * configure.ac (target_thread_file): Likewise.
5787         * configure: Regenerate.
5789 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5791         * config.host (arm*-*-rtemseabi*): New target.
5793 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5795         PR other/50991
5796         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5797         extra-parts.
5799 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5801         * config.host (epiphany-*-elf*): New configuration.
5802         * config/epiphany: New Directory.
5804 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5806         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5807         * config/avr/t-rtems: New.
5808         Filter out _exit from LIB1ASMFUNCS.
5810 2011-11-04  David S. Miller  <davem@davemloft.net>
5812         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5813         * configure: Rebuild.
5815 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5817         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5818         variable.
5820 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5822         PR target/50931
5823         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5824         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5826 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5828         PR target/50989
5829         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5831 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5833         * config/c6x/t-elf (LIB2ADDEH): Set.
5834         * config/c6x/t-c6x-elf: Remove.
5836 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5838         * config/i386/sol2-ci.S: Rename to ...
5839         * config/i386/crti.S: ... this.
5840         * config/i386/sol2-cn.S: Rename to ...
5841         * config/i386/crtn.S: ... this.
5842         * config/sparc/sol2-ci.S: Rename to ...
5843         * config/sparc/crti.S: ... this.
5844         * config/sparc/sol2-cn.S: Rename to ...
5845         * config/sparc/crtn.S: ... this.
5846         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5847         (crti.o, crtn.o): Remove.
5849 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5851         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5853 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5855         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5857 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5859         * config.host (crisv32-*-none, cris-*-none): Remove.
5860         (crisv32-*-elf): Append to tmake_file, don't just set it.
5861         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5863 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5865         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5866         (ecrtn$(objext)): Likewise.
5867         (ncrti$(objext)): Likewise.
5868         (ncrtn$(objext)): Likewise.
5870 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5872         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5874 2011-11-02  David S. Miller  <davem@davemloft.net>
5876         * configure.ac: Set host_address on sparc too.
5877         * configure: Regenerate.
5878         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5879         based upon host_address.
5880         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5882 2011-11-02  Jason Merrill  <jason@redhat.com>
5884         * config/rs6000/t-ppccomm: Add missing \.
5886 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5888         * gthr-single.h, gthr.h: New files.
5889         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5890         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5891         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5892         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5893         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5894         * configure.ac (thread_header): New variable.
5895         Set it depending on target_thread_file.
5896         (gthr-default.h): Link from $thread_header.
5897         * configure: Regenerate.
5898         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5900 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5902         * configure.ac (tm_file_): New variable.
5903         Determine from tm_file.
5904         (tm_file, tm_defines): Substitute.
5905         * configure: Regenerate.
5906         * mkheader.sh: New file.
5907         * Makefile.in (clean): Remove libgcc_tm.h.
5908         ($(objects)): Depend on libgcc_tm.h.
5909         (libgcc_tm_defines, libgcc_tm_file): New variables.
5910         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5911         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5912         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5913         ($(extra-parts)): Depend on libgcc_tm.h.
5914         * config.host (tm_defines, tm_file): New variable.
5915         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5916         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5917         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5918         (avr-*-rtems*): Likewise.
5919         (avr-*-*): Likewise.
5920         (frv-*-elf): Likewise.
5921         (frv-*-*linux*): Likewise.
5922         (h8300-*-rtems*): Likewise.
5923         (h8300-*-elf*): Likewise.
5924         (i[34567]86-*-darwin*): Likewise.
5925         (x86_64-*-darwin*): Likewise.
5926         (rx-*-elf): Likewise.
5927         (tic6x-*-uclinux): Likewise.
5928         (tic6x-*-elf): Likewise.
5929         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5930         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5931         * config/i386/cygming-crtbegin.c: Likewise.
5932         * config/i386/cygming-crtend.c: Likewise.
5933         * config/ia64/fde-vms.c: Likewise.
5934         * config/ia64/unwind-ia64.c: Likewise.
5935         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5936         * config/rs6000/darwin-fallback.c: Likewise.
5937         * config/stormy16/lib2funcs.c: Likewise.
5938         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5939         * crtstuff.c: Likewise.
5940         * dfp-bit.h: Likewise.
5941         * emutls.c: Likewise.
5942         * fixed-bit.c: Likewise.
5943         * fp-bit.c: Likewise.
5944         * generic-morestack-thread.c: Likewise.
5945         * generic-morestack.c: Likewise.
5946         * libgcc2.c: Likewise.
5947         * libgcov.c: Likewise.
5948         * unwind-dw2-fde-dip.c: Likewise.
5949         * unwind-dw2-fde.c: Likewise.
5950         * unwind-dw2.c: Likewise.
5951         * unwind-sjlj.c: Likewise.
5953 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5955         * configure.ac: Include ../config/picflag.m4.
5956         (GCC_PICFLAG): Call it.
5957         Substitute.
5958         * configure: Regenerate.
5959         * Makefile.in (gcc_srcdir): Remove.
5960         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5961         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5962         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5963         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5964         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5965         Use $<.
5966         Remove comment.
5967         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5968         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5969         to refer to libgcc2.c.
5970         Use $<.
5971         * config/darwin-64.c: New file.
5972         * config/darwin-crt3.c: Remove comment.
5973         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5974         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5975         config/udivmodsi4.c: New files.
5976         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5977         config/memset.c: New files.
5978         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5979         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5980         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5981         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5982         * config/t-openbsd-thread: New file.
5983         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5984         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5985         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5986         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5987         qrnnd.S.
5988         Adapt filename.
5989         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5990         to refer to gthr-posix.c.
5991         * config/alpha/t-vms (LIB2ADD): Set.
5992         * config/alpha/vms-gcc_shell_handler.c: New file.
5993         * config/arm/bpabi.c, config/arm/fp16.c,
5994         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5995         config/arm/unaligned-funcs.c: New files.
5996         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5997         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5998         * config/arm/t-linux: Likewise.
5999         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6000         * config/arm/t-netbsd: New file.
6001         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6002         * config/arm/t-symbian (LIB2ADD_ST): Set.
6003         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6004         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6005         * config/bfin/t-elf: New file.
6006         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6007         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6008         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6009         config/c6x/ltf.c: New files.
6010         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6011         (HOST_LIBGCC2_CFLAGS): Set.
6012         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6013         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6014         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6015         New files.
6016         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6017         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6018         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6019         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6020         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6021         files.
6022         * config/frv/t-frv (LIB2ADD): Set.
6023         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6024         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6025         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6026         config/h8300/popcounthi2.c: New files.
6027         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6028         * config/i386/gthr-win32.c: New file.
6029         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6030         * config/i386/t-cygwin: Likewise.
6031         * config/i386/t-darwin, config/i386/t-darwin64,
6032         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6033         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6034         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6035         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6036         * config/ia64/quadlib.c: New file.
6037         * config/ia64/t-hpux (LIB2ADD): Set.
6038         * config/ia64/t-ia64: Add comment.
6039         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6040         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6041         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6042         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6043         * config/m32c/t-m32c (LIB2ADD): Set.
6044         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6045         * config/m32r/t-m32r: Likewise.
6046         * config/m68k/fpgnulib.c: New file.
6047         * config/m68k/t-floatlib (LIB2ADD): Set.
6048         (xfgnulib.c): New target.
6049         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6050         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6051         * config/mep/t-mep (LIB2ADD): Set.
6052         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6053         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6054         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6055         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6056         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6057         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6058         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6059         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6060         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6061         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6062         New files.
6063         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6064         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6065         * config/pa/fptr.c, config/pa/lib2funcs.S,
6066         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6067         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6068         (LIB2ADD, LIB2ADD_ST): Set.
6069         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6070         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6071         Set.
6072         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6073         * config/pdp11/t-pdp11: New file.
6074         * config/picochip/libgccExtras/adddi3.S,
6075         config/picochip/libgccExtras/ashlsi3.S,
6076         config/picochip/libgccExtras/ashrsi3.S,
6077         config/picochip/libgccExtras/clzsi2.S,
6078         config/picochip/libgccExtras/cmpsi2.S,
6079         config/picochip/libgccExtras/divmod15.S,
6080         config/picochip/libgccExtras/divmodhi4.S,
6081         config/picochip/libgccExtras/divmodsi4.S,
6082         config/picochip/libgccExtras/lshrsi3.S,
6083         config/picochip/libgccExtras/parityhi2.S,
6084         config/picochip/libgccExtras/popcounthi2.S,
6085         config/picochip/libgccExtras/subdi3.S,
6086         config/picochip/libgccExtras/ucmpsi2.S,
6087         config/picochip/libgccExtras/udivmodhi4.S,
6088         config/picochip/libgccExtras/udivmodsi4.S: New files.
6089         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6090         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6091         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6092         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6093         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6094         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6095         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6096         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6097         files.
6098         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6099         (HOST_LIBGCC2_CFLAGS): Set.
6100         * config/rs6000/t-darwin64: New file.
6101         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6102         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6103         * config/rs6000/t-ppccomm (LIB2ADD): Add
6104         $(srcdir)/config/rs6000/tramp.S.
6105         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6106         Add  $(srcdir)/config/rs6000/eabi.S.
6107         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6108         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6109         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6110         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6111         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6112         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6113         * config/rs6000/tramp.S: New file.
6114         * config/s390/t-tpf: Remove.
6115         * config/sh/linux-atomic.S: New file.
6116         * config/sh/t-linux (LIB2ADD): Set.
6117         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6118         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6119         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6120         to unwind-dw2.c.
6121         (HOST_LIBGCC2_CFLAGS): Set.
6122         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6123         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6124         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6125         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6126         config/spu/mfc_multi_tag_release.c,
6127         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6128         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6129         config/spu/multi3.c: New files.
6130         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6131         (HOST_LIBGCC2_CFLAGS): Set.
6132         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6133         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6134         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6135         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6136         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6137         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6138         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6139         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6140         config/stormy16/umodsi3.c: New files.
6141         * config/xtensa/lib2funcs.S: New file.
6142         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6143         * config/xtensa/t-xtensa (LIB2ADD): Set.
6144         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6145         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6146         Add t-freebsd-thread to tmake_file for posix threads.
6147         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6148         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6149         (*-*-lynxos*): Likewise.
6150         (*-*-netbsd*): Likewise.
6151         (*-*-openbsd*): Likewise.
6152         Add t-openbsd-thread to tmake_file for posix threads.
6153         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6154         (*-*-vxworks*): Set tmake_file.
6155         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6156         (alpha*-*-freebsd*): Likewise.
6157         (alpha*-*-netbsd*): Likewise.
6158         (alpha*-*-openbsd*): Likewise.
6159         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6160         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6161         (alpha*-dec-*vms*): Likewise.
6162         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6163         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6164         (bfin*-uclinux*): Likewise.
6165         (bfin*-linux-uclibc*): Likewise.
6166         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6167         (crisv32-*-none): Likewise.
6168         (cris-*-elf): Likewise.
6169         (cris-*-none): Likewise.
6170         (cris-*-linux*, crisv32-*-linux*): Likewise.
6171         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6172         tmake_file.
6173         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6174         tmake_file.
6175         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6176         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6177         (x86_64-*-elf*): Likewise.
6178         (i[34567]86-*-nto-qnx*): Likewise.
6179         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6180         win32 threads.
6181         (x86_64-*-mingw*): Likewise.
6182         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6183         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6184         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6185         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6186         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6187         tmake_file.
6188         (mipsisa64sr71k-*-elf*): Likewise.
6189         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6190         (mips-*-elf*, mipsel-*-elf*): Likewise.
6191         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6192         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6193         (mips*-*-rtems*): Likewise.
6194         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6195         to tmake_file.
6196         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6197         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6198         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6199         (spu-*-elf*): Likewise.
6200         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6202 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6204         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6205         $(srcdir) to refer to $(LIB1ASMSRC).
6206         Use $<.
6207         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6208         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6209         config/arm/lib1funcs.S: New files.
6210         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6211         * config/arm/t-arm: New file.
6212         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6213         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6214         config/arm/t-strongarm-elf: New files.
6215         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6216         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6217         * config/avr/lib1funcs.S: New file.
6218         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6219         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6220         * config/c6x/lib1funcs.S: New file.
6221         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6222         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6223         * config/frv/lib1funcs.S: New file.
6224         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6225         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6226         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6227         * config/ia64/__divxf3.asm: Rename to ...
6228         * config/ia64/__divxf3.S: ... this.
6229         Adapt lib1funcs.asm filename.
6230         * config/ia64/_fixtfdi.asm: Rename to ...
6231         * config/ia64/_fixtfdi.S: ... this.
6232         Adapt lib1funcs.asm filename.
6233         * config/ia64/_fixunstfdi.asm: Rename to ...
6234         * config/ia64/_fixunstfdi.S: ... this.
6235         Adapt lib1funcs.asm filename.
6236         * config/ia64/_floatditf.asm: Rename to ...
6237         * config/ia64/_floatditf.S: ... this.
6238         Adapt lib1funcs.asm filename.
6239         * config/ia64/lib1funcs.S: New file.
6240         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6241         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6242         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6243         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6244         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6245         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6246         * config/mep/lib1funcs.S: New file.
6247         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6248         * config/mips/mips16.S: New file.
6249         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6250         * config/pa/milli64.S: New file.
6251         * config/pa/t-linux, config/pa/t-linux64: New files.
6252         * config/picochip/lib1funcs.S: New file.
6253         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6254         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6255         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6256         * config/sh/t-netbsd: New file.
6257         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6258         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6259         * config/sh/t-sh64: New file.
6260         * config/sparc/lb1spc.S: New file.
6261         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6262         filename.
6263         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6264         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6265         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6266         config/xtensa/lib1funcs.S: New files.
6267         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6268         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6269         tmake_file.
6270         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6271         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6272         (arm*-*-linux*): Likewise.
6273         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6274         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6275         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6276         (arm*-*-ecos-elf): Likewise.
6277         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6278         (arm*-*-rtems*): Likewise.
6279         (arm*-*-elf): Likewise.
6280         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6281         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6282         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6283         (bfin*-uclinux*): Likewise.
6284         (bfin*-linux-uclibc*): Likewise.
6285         (bfin*-rtems*): Likewise.
6286         (bfin*-*): Likewise.
6287         (fido-*-elf): Merge into m68k-*-elf*.
6288         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6289         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6290         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6291         (h8300-*-elf*): Likewise.
6292         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6293         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6294         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6295         (i[34567]86-*-mingw*): Likewise.
6296         (x86_64-*-mingw*): Likewise.
6297         (i[34567]86-*-interix3*): Likewise.
6298         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6299         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6300         (m68k-*-elf*): Also handle fido-*-elf.
6301         Add m68k/t-floatlib to tmake_file.
6302         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6303         (m68k-*-linux*): Likewise.
6304         (m68k-*-rtems*): Likewise.
6305         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6306         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6307         sh64*-*-*.
6308         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6309         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6310         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6311         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6312         sh/t-netbsd to tmake_file.
6313         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6314         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6315         (sh-wrs-vxworks): Likewise.
6316         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6317         *-leon[3-9]*.
6318         (v850*-*-*): Add v850/t-v850 to tmake_file.
6319         (vax-*-linux*): Add vax/t-linux to tmake_file.
6320         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6322 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6324         * crtstuff.c: New file.
6325         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6326         (CRTSTUFF_T_CFLAGS): Define.
6327         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6328         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6329         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6330         crtstuff.c.
6331         Use $<.
6332         (crtbeginT.o): Use $(objext).
6333         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6334         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6335         (gcc-extra-parts): Remove.
6336         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6337         Set extra_parts.
6338         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6339         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6340         Add t-crtstuff-pic to tmake_file.
6341         (*-*-lynxos*): New case.
6342         Set tmake_file, extra_parts.
6343         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6344         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6345         *-*-netbsdelf[2-9]*.
6346         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6347         (*-*-rtems*): Set extra_parts.
6348         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6349         (*-*-uclinux*): New case.
6350         Set extra_parts.
6351         (*-*-vms*): New case.
6352         Set tmake_file, extra_parts.
6353         (*-*-elf): Set extra_parts.
6354         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6355         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6356         vms/t-vms64.
6357         Set extra_parts.
6358         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6359         Set extra_parts.
6360         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6361         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6362         (arm-wrs-vxworks): Append to tmake_file.
6363         Set extra_parts.
6364         (arm*-*-uclinux*): Set extra_parts.
6365         (arm*-*-ecos-elf): Likewise.
6366         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6367         arm*-*-eabi*.
6368         (arm*-*-rtems*): Set extra_parts.
6369         (arm*-*-elf): Likewise.
6370         (avr-*-rtems*): Clear extra_parts.
6371         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6372         Set extra_parts.
6373         (bfin*-uclinux*): Likewise.
6374         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6375         (bfin*-rtems*): Append to tmake_file.
6376         Set extra_parts.
6377         (bfin*-*): Likewise.
6378         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6379         (crisv32-*-elf): ... this.
6380         (crisv32-*-none): ... this.
6381         (cris-*-elf, cris-*-none): New cases.
6382         Add cris/t-elfmulti to tmake_file.
6383         (fr30-*-elf): Append to tmake_file.
6384         Set extra_parts.
6385         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6386         Set extra_parts.
6387         (h8300-*-rtems*): Append to tmake_file.
6388         Set extra_parts.
6389         (h8300-*-elf*): Likewise.
6390         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6391         Set extra_parts.
6392         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6393         Set extra_parts.
6394         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6395         (x86_64-*-elf*): Likewise.
6396         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6397         (x86_64-*-freebsd*): Likewise.
6398         (x86_64-*-netbsd*): Likewise.
6399         (i[34567]86-*-linux*): Likewise.
6400         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6401         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6402         (x86_64-*-linux*): Likewise.
6403         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6404         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6405         tmake_file.
6406         Set extra_parts.
6407         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6408         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6409         Append to extra_parts, remove crtbegin.o, crtend.o.
6410         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6411         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6412         crtend.o, crtbeginS.o, crtendS.o.
6413         (ia64*-*-linux*): Comment extra_parts.
6414         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6415         Set extra_parts.
6416         (iq2000*-*-elf*): Clear extra_parts.
6417         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6418         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6419         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6420         (m32r-*-rtems*): ... this.
6421         Add m32r/t-m32r to tmake_file.
6422         (m68k-*-elf*): Add t-crtin to tmake_file.
6423         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6424         (mcore-*-elf): Likewise.
6425         (microblaze*-*-*): Set extra_parts.
6426         (mips*-sde-elf*): New case.
6427         Set tmake_file, extra_parts.
6428         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6429         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6430         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6431         tmake_file.
6432         Set extra_parts.
6433         (mipsisa64sr71k-*-elf*): Likewise.
6434         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6435         (mips-*-elf*, mipsel-*-elf*): Likewise.
6436         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6437         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6438         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6439         (mips*-*-rtems*): Likewise.
6440         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6441         (moxie-*-*): Split into ...
6442         (moxie-*-elf, moxie-*-uclinux*): ... this.
6443         Add to extra_parts, remove crtbegin.o, crtend.o.
6444         (moxie-*-rtems*): New case.
6445         Set tmake_file.
6446         Clear extra_parts.
6447         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6448         Set extra_parts.
6449         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6450         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6451         tmake_file.
6452         Set extra_parts.
6453         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6454         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6455         Set extra_parts.
6456         (powerpc-*-eabisim*): Likewise.
6457         (powerpc-*-elf*): Likewise.
6458         (powerpc-*-eabialtivec*): Likewise.
6459         (powerpc-xilinx-eabi*): Likewise.
6460         (powerpc-*-eabi*): Likewise.
6461         (powerpc-*-rtems*): Likewise.
6462         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6463         tmake_file.
6464         Set extra_parts.
6465         (powerpc-*-lynxos*): Add to tmake_file.
6466         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6467         rs6000/t-crtstuff, t-crtstuff-pic.
6468         Set extra_parts.
6469         (powerpcle-*-eabisim*): Likewise.
6470         (powerpcle-*-eabi*): Likewise.
6471         (rx-*-elf): Remove extra_parts.
6472         (s390x-ibm-tpf*): Set extra_parts.
6473         (score-*-elf): Set extra_parts.
6474         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6475         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6476         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6477         (sh64l*-*-netbsd*): Split into ...
6478         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6479         Add t-crtstuff-pic to tmake_file.
6480         Set extra_parts.
6481         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6482         Set extra_parts.
6483         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6484         (sparc-*-elf*): Remove t-crtin from tmake_file.
6485         Add to extra_parts, remove crtbegin.o, crtend.o.
6486         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6487         (sparc64-*-linux*): Likewise.
6488         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6489         Add to extra_parts, remove crtbegin.o, crtend.o.
6490         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6491         Add to extra_parts, remove crtbegin.o, crtend.o.
6492         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6493         Add to extra_parts, remove crtbegin.o, crtend.o.
6494         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6495         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6496         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6497         Set extra_parts.
6498         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6499         Set extra_parts.
6500         (tic6x-*-*): Change to ...
6501         (tic6x-*-elf): ... this.
6502         Set extra_parts.
6503         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6504         Set extra_parts.
6505         (am33_2.0-*-linux*): Add comment.
6506         (mep*-*-*): Add mep/t-mep to tmake_file.
6507         Set extra_parts.
6508         * config/alpha/t-vms: New file.
6509         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6510         * config/arm/crti.S, config/arm/crtn.S: New files.
6511         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6512         * config/bfin/crtlibid.S: New file.
6513         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6514         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6515         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6516         (crti.o, crtin.o): New rules.
6517         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6518         * config/c6x/t-uclinux: New file.
6519         * config/cris/t-elfmulti: New file.
6520         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6521         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6522         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6523         * config/frv/t-frv: New file.
6524         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6525         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6526         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6527         New files.
6528         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6529         refer to cygming-crtbegin.c, cygming-crtend.c.
6530         Use $<.
6531         * config/i386/t-nto: New file.
6532         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6533         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6534         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6535         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6536         Use .S extension.
6537         Use $<.
6538         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6539         (crtinitS.o): New rule.
6540         * config/ia64/vms-crtinit.S: New file.
6541         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6542         * config/m32r/initfini.c: New file.
6543         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6544         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6545         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6546         * config/mep/t-mep: New file.
6547         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6548         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6549         * config/mips/crti.S, config/mips/crtn.S: New files.
6550         * config/mips/t-crtstuff: New file.
6551         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6552         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6553         (CUSTOM_CRTIN): Set.
6554         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6555         dependencies.
6556         Use $(srcdir) to refer to crti.S, crtn.S.
6557         Use .S extension, $<.
6558         * config/moxie/crti.asm: Rename to ...
6559         * config/moxie/crti.S: ... this.
6560         * config/moxie/crtn.asm: Rename to ...
6561         * config/moxie/crtn.S: ... this.
6562         * config/moxie/t-moxie: Remove.
6563         * config/pa/stublib.c: New file.
6564         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6565         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6566         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6567         * config/rs6000/t-crtstuff: New file.
6568         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6569         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6570         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6571         Make output file explicit.
6572         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6573         Make output file explicit.
6574         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6575         Make output file explicit.
6576         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6577         Make output file explicit.
6578         * config/score/crti.S, config/score/crtn.S: New files.
6579         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6580         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6581         files.
6582         * config/sh/t-sh, config/sh/t-superh: New files.
6583         * config/sparc/t-linux64: New file.
6584         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6585         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6586         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6587         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6588         * config/t-crtin: Remove.
6589         * config/t-crtstuff-pic: New file.
6590         * config/t-sol2 (CUSTOM_CRTIN): Set.
6591         (crti.o, crtn.o): New rules.
6592         * config/vms/t-vms: New file.
6593         * config/vms/vms-ucrt0.c: New file.
6594         * config/xtensa/t-elf: New file.
6596 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6598         * Makefile.in (SHLIB_NM_FLAGS): Set.
6599         * mkmap-flat.awk, mkmap-symver.awk: New files.
6600         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6601         exceptions.
6602         * configure: Regenerate.
6603         * config/libgcc-glibc.ver: New file.
6604         * config/libgcc-libsystem.ver: New file.
6605         * config/t-libunwind (SHLIB_LC): Set.
6606         * config/t-linux: New file.
6607         * config/t-slibgcc (INSTALL_SHLIB): New.
6608         (SHLIB_INSTALL): Use it.
6609         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6610         to mkmap-symver.awk.
6611         (SHLIB_MAPFILES): Don't append, adapt pathname.
6612         (SHLIB_VERPFX): Set.
6613         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6614         to mkmap-symver.awk.
6615         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6616         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6617         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6618         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6619         to mkmap-flat.awk.
6620         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6621         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6622         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6623         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6624         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6625         * config/i386/libgcc-darwin.10.4.ver,
6626         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6627         New files.
6628         * config/i386/t-darwin: Remove.
6629         * config/i386/t-darwin64: Likewise.
6630         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6631         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6632         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6633         * config/i386/t-linux: New file.
6634         * config/i386/t-mingw32: New file.
6635         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6636         * config/ia64/t-glibc: Rename to ...
6637         * config/ia64/t-linux: ... this.
6638         (SHLIB_MAPFILES): Set.
6639         * config/ia64/t-glibc-libunwind: Rename to ...
6640         * config/ia64/t-linux-libunwind: ... this.
6641         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6642         * config/ia64/t-slibgcc-hpux: New file.
6643         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6644         * config/m68k/t-slibgcc-elf-ver: New file.
6645         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6646         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6647         to mkmap-flat.awk.
6648         * config/pa/t-slibgcc-hpux: New file.
6649         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6650         files.
6651         * config/rs6000/libgcc-darwin.10.4.ver,
6652         config/rs6000/libgcc-darwin.10.5.ver: New files.
6653         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6654         config/rs6000/libgcc-glibc.ver.
6655         * config/rs6000/libgcc-ppc64.ver: Rename to
6656         config/rs6000/libgcc-ibm-ldouble.ver.
6657         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6658         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6659         * config/rs6000/t-ldbl128: Rename to ...
6660         * config/rs6000/t-linux: ... this.
6661         (SHLIB_MAPFILES): Adapt filename.
6662         * config/rs6000/t-slibgcc-aix: New file.
6663         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6664         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6665         libgcc-excl.ver, libgcc-glibc.ver.
6666         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6667         * config/sparc/libgcc-glibc.ver: New file.
6668         * config/sparc/t-linux: New file.
6669         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6670         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6671         t-slibgcc-elf-ver to tmake_file.
6672         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6673         *-*-freebsd[34].
6674         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6675         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6676         t-slibgcc-elf-ver, t-linux to tmake_file.
6677         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6678         tmake_file.
6679         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6680         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6681         (alpha*-dec-*vms*): Likewise.
6682         (arm*-*-freebsd*): Append to tmake_file.
6683         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6684         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6685         arm*-*-linux-*eabi.
6686         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6687         tmake_file for arm*-*-symbianelf*.
6688         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6689         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6690         cris/t-linux.
6691         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6692         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6693         pa/t-slibgcc-dwarf-ver to tmake_file.
6694         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6695         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6696         (hppa*64*-*-hpux11*): Likewise.
6697         (hppa[12]*-*-hpux11*): Likewise.
6698         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6699         i386/t-crtpc, i386/t-crtfm.
6700         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6701         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6702         to tmake_file.
6703         Add i386/t-cygwin to tmake_file.
6704         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6705         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6706         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6707         to tmake_file.
6708         Add i386/t-mingw32 to tmake_file.
6709         (x86_64-*-mingw*): Likewise.
6710         (ia64*-*-freebsd*): Append to tmake_file.
6711         (ia64*-*-linux*): Append to tmake_file.
6712         Replace ia64/t-glibc by ia64/t-linux.
6713         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6714         system libunwind.
6715         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6716         t-slibgcc-hpux to tmake_file.
6717         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6718         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6719         (m32rle-*-linux*): Likewise.
6720         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6721         sjlj exceptions.
6722         (microblaze*-linux*): New case.
6723         Append to tmake_file, add t-slibgcc-nolc-override.
6724         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6725         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6726         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6727         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6728         rs6000/t-slibgcc-aix to tmake_file.
6729         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6730         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6731         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6732         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6733         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6734         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6735         sh*-*-linux*.
6736         (sparc-*-linux*): Append to tmake_file for *-leon*.
6737         Add sparc/t-linux to tmake_file for non-Leon targets.
6738         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6739         (tic6x-*-uclinux): New case.
6740         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6741         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6742         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6743         (am33_2.0-*-linux*): Append to tmake_file.
6744         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6745         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6746         x86_64-*-kfreebsd*-gnu.
6747         Add i386/t-linux to tmake_file.
6749 2011-10-28  Ian Lance Taylor  <iant@google.com>
6751         * config/i386/morestack.S: Correct CFI information to do proper
6752         returns throughout function.  In 32-bit mode, save %ebx so that it
6753         is restored on unwind.
6755 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6757         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6758         case where B3 isn't the return register.
6760         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6761         logic for doubleword pops.
6763 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6765         * config/rs6000/t-freebsd: Add wildcard.
6767 2011-10-21  Paul Brook  <paul@codesourcery.com>
6769         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6771 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6772             Eric Botcazou  <ebotcazou@adacore.com>
6774         PR target/50737
6775         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6776         fs->signal_frame to 1.
6778 2011-10-07  Ian Lance Taylor  <iant@google.com>
6780         * generic-morestack-thread.c: #include <errno.h>.
6782 2011-10-07  Ian Lance Taylor  <iant@google.com>
6784         PR target/46093
6785         * generic-morestack.c (__generic_morestack): Make sure the segment
6786         is large enough for both the stack frame and the copied
6787         parameters.
6789 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6791         PR bootstrap/49804
6792         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6793         extra_parts.
6795 2011-09-28  Nick Clifton  <nickc@redhat.com>
6797         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6798         64-bit doubles are not enabled.
6799         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6800         and floatunsisf functions.
6802 2011-09-13  Paul Brook  <paul@codesourcery.com>
6804         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6805         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6806         * unwind-arm-common.inc: New file.
6807         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6808         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6809         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6810         * config/c6x/libunwind.S: New file.
6811         * config/c6x/pr-support.c: New file.
6812         * config/c6x/unwind-c6x.c: New file.
6813         * config/c6x/unwind-c6x.h: New file.
6814         * config/c6x/t-c6x-elf: New file.
6816 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6818         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6819         (ASM_DIVZERO): Ditto.
6820         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6822 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6824         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6826 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6828         PR target/50090
6829         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6830         instead of an assembly one.
6832 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6834         PR bootstrap/50047
6835         * Makefile.in (install-unwind_h): Create
6836         $(gcc_objdir)/include/unwind.h atomically.
6838 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6840         * Makefile.in (install-unwind_h): Remove destination file first.
6842 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6844         * sync.c: New file.
6845         * config/mips/t-mips16: New file.
6846         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6847         (mips*-*-linux*): Likewise.
6848         (mips*-sde-elf*): Likewise.
6849         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6850         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6851         Add mips/t-mips16 to tmake_file.
6852         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6853         (mips-*-elf*): Likewise.
6854         (mips64-*-elf*): Likewise.
6855         (mips64orion-*-elf*): Likewise.
6856         (mips*-*-rtems*): Likewise.
6857         (mipstx39-*-elf*): Likewise.
6858         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6859         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6860         LIBGCC_SYNC_CFLAGS.
6861         Use $(srcdir) to refer to sync.c.
6862         Use $<.
6863         ($(libgcc-sync-funcs-o)): Likewise.
6864         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6865         ($(libgcc-sync-funcs-s-o)): Likewise.
6867 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6869         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6870         t-libunwind.
6872 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6874         PR other/48007
6875         * config/i386/value-unwind.h: New.
6877 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6879         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6880         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6881         Add to tmake_file rather than overriding it.
6883 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6885         * config/t-softfp: Remove.
6886         * soft-fp: Moved from ../gcc/config.
6887         * soft-fp/README: Remove t-softfp reference.
6888         * soft-fp/t-softfp: Move to config/t-softfp.
6889         (softfp_machine_header): Remove.
6890         (softfp_file_list): Remove config subdir.
6891         (soft-fp-objects): New variable.
6892         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6893         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6894         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6895         * config/t-softfp-excl: New file.
6896         * config/t-softfp-sfdf: New file.
6897         * config/t-softfp-tf: New file.
6898         * config/no-sfp-machine.h: New file.
6899         * config/arm/sfp-machine.h: New file.
6900         * config/arm/t-softfp: New file.
6901         * config/c6x/sfp-machine.h: New file.
6902         * config/i386/32/t-fprules-softfp: Rename to ...
6903         * config/i386/32/t-softfp: ... this.
6904         (tifunctions, LIB2ADD): Remove.
6905         (softfp_int_modes): Override.
6906         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6907         subdir.
6908         * config/i386/64/eqtf2.c: Likewise.
6909         * config/i386/64/getf2.c: Likewise.
6910         * config/i386/64/letf2.c: Likewise.
6911         * config/ia64/sft-machine.h: New file.
6912         * config/ia64/t-fprules-softfp: Rename to ...
6913         * config/ia64/t-softfp: ... this.
6914         * config/lm32/sfp-machine.h: New file.
6915         * config/moxie/t-moxie-softfp: Remove.
6916         * config/rs6000/ibm-ldouble-format: New file.
6917         * config/rs6000/ibm-ldouble.c: New file.
6918         * config/rs6000/libgcc-ppc-glibc.ver: New file
6919         * config/rs6000/libgcc-ppc64.ver: New file
6920         * config/rs6000/sfp-machine.h: New file.
6921         * config/rs6000/t-freebsd: New file.
6922         * config/rs6000/t-ibm-ldouble: New file.
6923         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6924         libgcc-ppc-glibc.ver.
6925         * config/rs6000/t-linux64: New file.
6926         * config/rs6000/t-ppccomm (LIB2ADD): Add
6927         $(srcdir)/config/rs6000/ibm-ldouble.c.
6928         * config/rs6000/t-ppccomm-ldbl: New file.
6929         * config/score/sfp-machine.h: New file.
6930         * config.host (sfp_machine_header): Explain.
6931         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6932         t-softfp to tmake_file.
6933         (arm*-*-uclinux*): Likewise.
6934         (arm*-*-ecos-elf): Likewise.
6935         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6936         (arm*-*-rtems*): Likewise.
6937         (arm*-*-elf): Likewise.
6938         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6939         in tmake_file.
6940         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6941         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6942         (lm32-*-uclinux*): Likewise.
6943         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6944         t-softfp-excl, t-softfp.
6945         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6946         (powerpc64-*-darwin*): Likewise.
6947         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6948         to tmake_file.
6949         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6950         tmake_file.
6951         (powerpc-*-eabisim*): Likewise.
6952         (powerpc-*-elf*): Likewise.
6953         (powerpc-*-eabialtivec*): Likewise.
6954         (powerpc-xilinx-eabi*): Likewise.
6955         (powerpc-*-rtems*): Likewise.
6956         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6957         t-softfp-excl, t-softfp to tmake_file.
6958         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6959         rs6000/t-ppccomm-ldbl to tmake_file.
6960         (powerpcle-*-elf*): Likewise.
6961         (powerpcle-*-eabisim*): Likewise.
6962         (powerpcle-*-eabi*): Likewise.
6963         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6964         rs6000/t-ibm-ldouble to tmake_file.
6965         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6966         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6967         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6968         (tic6x-*-*): Likewise.
6969         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6970         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6971         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6972         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6973         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6974         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6975         t-softfp to tmake_file.
6976         * configure.ac (sfp_machine_header): Provide default if unset.
6977         Substitute.
6978         Link sfp-machine.h to config/$sfp_machine_header.
6979         * configure: Regenerate.
6981 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6983         * Makefile.in (double_type_size, long_double_type_size): Set.
6984         Remove $(fpbit-in-libgcc) support.
6985         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6986         (fpbit-src): New variable.
6987         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6988         Compile with -DFLOAT $(FPBIT_CFLAGS).
6989         Use $<.
6990         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6991         Compile with $(FPBIT_CFLAGS).
6992         Use $<.
6993         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6994         Compile with -DFLOAT $(TPBIT_CFLAGS).
6995         Use $<.
6996         * configure.ac (double_type_size, long_double_type_size):
6997         Determine and substitute.
6998         * configure: Regenerate.
6999         * fp-bit.c, fp-bit.h: New files.
7000         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7001         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7002         * config/mips/t-mips: New file.
7003         * config/mips/t-sdemtk: New file.
7004         * config/rs6000/ppc64-fp.c: New file.
7005         * config/rs6000/t-darwin (LIB2ADD): Add
7006         $(srcdir)/config/rs6000/ppc64-fp.c.
7007         * config/rs6000/t-ppc64-fp: New file.
7008         * config/rx/rx-lib.h: New file.
7009         * config/rx/t-rx (FPBIT): Set to true.
7010         ($(gcc_objdir)/fp-bit.c): Remove.
7011         (DPBIT): Set to true only with -m64bit-doubles.
7012         ($(gcc_objdir)/dp-bit.c): Remove.
7013         * config/sparc/t-softfp: Remove.
7014         * config/spu/t-elf: New file.
7015         * config/t-fdpbit, config/t-fpbit: New files.
7016         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7017         (mips*-*-*): Likewise.
7018         (arm-wrs-vxworks): Likewise.
7019         (arm*-*-freebsd*): Likewise.
7020         (avr-*-rtems*): Add t-fpbit to tmake_file.
7021         (avr-*-*): Likewise.
7022         (bfin*-elf*): Add t-fdpbit to tmake_file.
7023         (bfin*-uclinux*): Likewise.
7024         (bfin*-linux-uclibc*): Likewise.
7025         (bfin*-rtems*): New case.
7026         Add t-fdpbit to tmake_file.
7027         (bfin*-*): Add t-fdpbit to tmake_file.
7028         (crisv32-*-elf): Likewise.
7029         (cris-*-linux*): Likewise.
7030         (fr30-*-elf): Likewise.
7031         (frv-*-elf, frv-*-*linux*): Likewise.
7032         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7033         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7034         (m32r-*-elf*): Likewise.
7035         (m32rle-*-elf*): Likewise.
7036         (m32r-*-linux*): Likewise.
7037         (m32rle-*-linux*): Likewise.
7038         (mcore-*-elf): Add t-fdpbit to tmake_file.
7039         (microblaze*-*-*): Likewise.
7040         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7041         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7042         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7043         Fix typo.
7044         Add mips/t-tpbit to tmake-file.
7045         (mips*-*-linux*): Fix typo.
7046         (mips*-sde-elf*): New case
7047         Add mips/t-sdemtk unless using newlib.
7048         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7049         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7050         (mn10300-*-*): Likewise.
7051         (pdp11-*-*): Likewise.
7052         (picochip-*-*): Add t-fpbit to tmake_file.
7053         (powerpc-*-eabisimaltivec*): Likewise.
7054         (powerpc-*-eabisim*): Likewise.
7055         (powerpc-*-elf*): Likewise.
7056         (powerpc-*-eabialtivec*): Likewise.
7057         (powerpc-xilinx-eabi*): New case.
7058         Add t-fdpbit to tmake_file.
7059         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7060         (powerpc-*-rtems*): Likewise.
7061         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7062         tmake_file.
7063         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7064         tmake_file.
7065         (powerpc-*-lynxos*): Likewise.
7066         (powerpcle-*-elf*): Likewise.
7067         (powerpcle-*-eabisim*): Likewise.
7068         (powerpcle-*-eabi*): Likewise.
7069         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7070         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7071         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7072         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7073         (rx-*-elf): Add t-fdpbit to tmake_file.
7074         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7075         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7076         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7077         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7078         sh*-*-netbsd*.
7079         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7080         (sh-wrs-vxworks): Likewise.
7081         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7082         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7083         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7084         (sparc64-*-rtems*): ... new case.
7085         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7086         (spu-*-elf*): Likewise.
7087         Add spu/t-elf to tmake_file.
7088         (v850*-*-*): Add t-fdpbit to tmake_file.
7089         (xstormy16-*-elf): Likewise.
7090         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7091         (mep*-*-*): Likewise.
7093 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7095         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7096         variables.
7097         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7098         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7099         (install-unwind_h): New target.
7100         (all): Depend on it.
7101         * config.host (unwind_header): New variable.
7102         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7103         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7104         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7105         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7106         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7107         Set unwind_header.
7108         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7109         Set unwind_header.
7110         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7111         arm*-*-eabi*.
7112         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7113         Set unwind_header.
7114         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7115         (ia64*-*-freebsd*): Likewise.
7116         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7117         tmake_file.
7118         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7119         $with_system_libunwind.
7120         (ia64*-*-hpux*): Set tmake_file.
7121         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7122         (picochip-*-*): Set tmake_file.
7123         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7124         md_unwind_header.
7125         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7126         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7127         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7128         (xtensa*-*-elf*): Set tmake_file.
7129         (xtensa*-*-linux*): Likewise.
7130         * configure.ac: Include ../config/unwind_ipinfo.m4.
7131         Call GCC_CHECK_UNWIND_GETIPINFO.
7132         Link unwind.h to $unwind_header.
7133         * configure: Regenerate.
7134         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7135         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7136         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7137         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7138         * config/unwind-dw2-fde-darwin.c: New file.
7139         * config/arm/libunwind.S, config/arm/pr-support.c,
7140         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7141         config/arm/unwind-arm.h,: New files.
7142         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7143         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7144         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7145         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7146         config/ia64/unwind-ia64.h: New files.
7147         * config/picochip/t-picochip: New file.
7148         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7149         files.
7150         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7151         * config/s390/t-tpf (LIB2ADDEH): Remove.
7152         * config/t-darwin (LIB2ADDEH): Set.
7153         * config/t-eh-dw2-dip: New file.
7154         * config/t-libunwind, config/t-libunwind-elf: New files.
7155         * config/t-sol2 (LIB2ADDEH): Remove.
7156         * config/xtensa/t-xtensa: New file.
7158 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7160         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7161         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7162         long long to check rt_sigreturn syscall.
7164 2011-08-02  Alan Modra  <amodra@gmail.com>
7166         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7167         Restore for indirect call bcrtl from correct stack slot, and only
7168         if cfa+40 isn't valid.
7170 2011-08-01  Julian Brown  <julian@codesourcery.com>
7172         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7173         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7174         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7176 2011-08-01  Julian Brown  <julian@codesourcery.com>
7178         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7179         (libgcc-std.ver.in): Use above.
7180         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7181         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7182         throughout file.
7183         * config/t-fixedpoint-gnu-prefix: New file.
7184         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7185         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7186         instead of __PFX__.
7188 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7190         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7191         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7192         for x86-64.  Properly check __x86_64__ and __LP64__.
7194 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7196         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7197         version.
7198         (_FP_WS_TYPE): Likewise.
7199         (_FP_I_TYPE): Likewise.
7201 2011-07-28  Alan Modra  <amodra@gmail.com>
7203         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7204         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7205         in a plt call stub.  Do restore r2 if stopped on bctrl.
7207 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7209         * config.host (i[3456x]86-*-netware*): Remove.
7210         * config/i386/netware-crt0.c, config/i386/t-nwld,
7211         config/i386/t-slibgcc-nwld: Remove.
7213 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7215         * config.host: Handle tic6x-*-*.
7216         * config/c6x/c6x-abi.h: New file.
7218 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7220         * config/i386/crtprec.c: New file.
7221         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7222         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7223         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7224         (x86_64-*-darwin*): Likewise.
7225         (i[34567]86-*-solaris2*: Likewise.
7227 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7229         * config/alpha/crtfastmath.c: New file.
7230         * config/i386/crtfastmath.c: New file.
7231         * config/ia64/crtfastmath.c: New file.
7232         * config/mips/crtfastmath.c: New file.
7233         * config/sparc/crtfastmath.c: New file.
7235         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7236         crtfastmath.c.
7237         Add -frandom-seed=gcc-crtfastmath.
7238         * config/alpha/t-crtfm: Remove.
7239         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7240         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7242         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7243         (alpha*-dec-osf5.1*): Likewise.
7244         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7245         Add crtfastmath.o to extra_parts.
7246         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7247         Add crtfastmath.o to extra_parts.
7248         (x86_64-*-darwin*): Likewise.
7249         (x86_64-*-mingw*): Likewise.
7250         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7251         (ia64*-*-freebsd*): Likewise.
7252         (ia64*-*-linux*): Likewise.
7253         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7254         Add crtfastmath.o to extra_parts.
7256 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7258         * config/darwin-crt3.o: New file.
7259         * config/rs6000/darwin-crt2.c: New file.
7260         * config/t-darwin: New file.
7261         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7262         (crt2.o): New rule.
7263         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7264         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7265         (powerpc64-*-darwin*): Likewise.
7267 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7269         * config/i386/netware-crt0.c: New file.
7270         * config/i386/t-nwld: Rename to ...
7271         * config/i386/t-slibgcc-nwld: ... this.
7272         * config/i386/t-nwld: New file.
7273         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7274         tmake_file.
7275         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7276         extra_parts.
7278 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7280         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7281         i386/t-crtstuff.
7282         * configure: Regenerate.
7284 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7286         * dfp-bit.c, dfp-bit.h: New files.
7287         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7288         variables.
7289         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7290         ($(d64pbit-o)): Likewise.
7291         ($(d128pbit-o)): Likewise.
7292         * config/t-dfprules: New file.
7293         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7294         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7295         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7296         (x86_64-*-linux*): Likewise.
7297         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7298         (i[34567]86-*-cygwin*): Likewise.
7299         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7300         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7302 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7304         * Makfile.in (LIBGCOV): New variable.
7305         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7306         * libgcov.c: New file.
7308 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7310         * fixed-bit.c, fixed-bit.h: New files.
7311         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7312         refer to fixed-bit.c.
7314 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7316         * config.host (*local*): Remove.
7318 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7320         PR target/39150
7321         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7322         like i?86-*-solaris2.1[0-9]*.
7323         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7324         * configure.ac (i?86-*-solaris2*): Likewise.
7325         * configure: Regenerate.
7327 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7329         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7330         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7331         md_unwind_header by splitting out of...
7332         (i[34567]86-*-linux*): ... this.
7333         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7334         Remove md_unwind_header by splitting out of...
7335         (x86_64-*-linux*): ... this.
7337 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7339         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7341 2011-06-28  Nick Clifton  <nickc@redhat.com>
7343         * config.host: Recognize all V850 variants.
7345 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7347         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7349 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7351         * shared-object.mk (c_flags-$o): Save c_flags.
7352         ($(base)$(objext)): Use it.
7353         ($(base)_s$(objext)): Likewise.
7355 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7357         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7358         * libgcc-std.ver.in (GCC_4.7.0): New section.
7360 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7362         PR target/49313
7363         PR target/29524
7364         * config/avr/t-avr: Fix line endings.
7365         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7366         _parityXX2.
7368 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7369             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7371         * config/mips/irix6-unwind.h: New file.
7372         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7374 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7376         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7377         (sparc64_fallback_frame_state): Use it.
7378         (sparc64_frob_update_context): Further adjust context.
7379         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7380         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7381         * config/sparc/sol2-cn.S: Likewise.
7383 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7385         * enable-execute-stack-empty.c: New file.
7386         * enable-execute-stack-mprotect.c: New file.
7387         * config/i386/enable-execute-stack-mingw32.c: New file.
7388         * config.host (enable_execute_stack): New variable.
7389         Select appropriate variants.
7390         * configure.ac: Link enable-execute-stack.c to
7391         $enable_execute_stack.
7392         * configure: Regenerate.
7393         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7394         (lib2funcs): Remove _enable_execute_stack.
7396 2011-06-09  David S. Miller  <davem@davemloft.net>
7397             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7399         * config.host (sparc-*-linux*): Correct md_unwind_header
7400         filename.
7401         (s390x-ibm-tpf*): Fix typo.
7403 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7405         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7406         Add crtfastmath.o to extra_parts.
7407         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7408         mips/t-crtfm.
7409         * config/mips/t-crtfm: Remove.
7411 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7413         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7415 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7417         * config.host (sh*-*-linux*): Fix typo.
7419 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7421         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7422         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7423         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7424         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7425         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7426         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7427         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7428         Wrap in !__MINGW64__.
7429         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7430         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7431         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7432         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7433         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7434         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7435         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7436         Wrap in !__LP64__.
7437         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7438         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7439         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7440         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7441         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7442         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7443         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7444         * config/no-unwind.h: New file.
7445         * config.host (md_unwind_header): Document.
7446         Define.
7447         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7448         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7449         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7450         hppa[12]*-*-hpux11*): Set md_unwind_header.
7451         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7452         Set md_unwind_header.
7453         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7454         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7455         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7456         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7457         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7458         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7459         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7460         md_unwind_header.
7461         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7462         * configure: Regenerate.
7464 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7466         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7467         Set tmake_file, extra_parts.
7468         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7469         Remove O32 support.
7470         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7471         Remove O32 support.
7472         * config/mips/t-irix6: New file.
7473         * config/mips/t-slibgcc-irix: New file.
7475 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7477         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7478         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7480 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7482         * configure.ac (target_thread_file): Determine thread model.
7483         * configure: Regenerate.
7484         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7485         * config/alpha/t-alpha: New file.
7486         * config/alpha/t-crtfm: Use $<.
7487         * config/alpha/t-ieee: New file.
7488         * config/alpha/t-osf-pthread: New file.
7489         * config/alpha/t-slibgcc-osf: New file.
7490         * config/alpha/libgcc-osf5.ver: New file.
7492 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7494         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7495         tmake_file.
7496         Add crtfastmath.o to extra_parts.
7498 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7500         * config/gmon-sol2.c: Reindent.
7501         Cleanup comments.
7502         Remove, correct casts.
7503         Use STDERR_FILENO, NULL.
7504         (BASEADDRESS): Remove.
7505         (minbrk): Remove.
7506         (errno, sbrk): Remove declarations.
7507         (monstartup) [hp300]: Remove.
7508         (mcount): Remove.
7510 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7512         * Makefile.in (cpu_type): Define.
7513         * config.host (i[34567]86-*-rtems*): Handle it.
7514         (i[34567]86-*-solaris2*): Move body ...
7515         (*-*-solaris2*): ... here.
7516         New case, generalize.
7517         (sparc-*-elf*): Handle it.
7518         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7519         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7520         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7521         Fold into ...
7522         (sparc*-*-solaris2*): ... this.
7523         New case.
7524         (sparc64-*-elf*): Handle it.
7525         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7526         Merge ../gcc/config/i386/gmon-sol2.c.
7527         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7528         Use C comments.
7529         Merge ../gcc/config/i386/sol2-gc1.asm.
7530         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7531         Use C comments.
7532         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7533         Use C comments.
7534         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7535         * config/i386/t-crtstuff: New file.
7536         * config/i386/t-softfp: New file.
7537         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7538         $(T)crti.o, $(T)crtn.o): Remove.
7539         (gcrt1.o): New rule.
7540         (TARGET_LIBGCC2_CFLAGS): Remove.
7541         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7542         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7543         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7544         * config/sparc/t-sol2: New file.
7545         * config/sparc/t-crtfm: Move to ...
7546         * config/t-crtfm: ... this.
7547         Use $(cpu_type), $<.
7548         * config/t-crtin: New file.
7549         * config/sparc/t-softfp: New file.
7550         * config/sparc/t-softmul: New file.
7551         * config/t-rtems: New file.
7552         * config/t-slibgcc: New file.
7553         * config/t-slibgcc-elf-ver: New file.
7554         * config/t-slibgcc-gld: New file.
7555         * config/t-slibgcc-sld: New file.
7556         * config/t-sol2: New file.
7557         * configure.ac: Include ../config/lib-ld.m4.
7558         Call AC_LIB_PROG_LD_GNU.
7559         Substitute cpu_type.
7560         * configure: Regenerate.
7562 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7564         PR bootstrap/49173
7565         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7566         libgcc-std.ver in the build directory.
7567         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7568         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7570 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7572         * libgcc-std.ver.in: New file.
7573         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7574         variables.
7575         (libgcc-std.ver): New rule.
7576         * config/t-gnu-prefix: New file.
7578 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7580         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7582 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7584         * config/i386/darwin-lib.h: New file.
7586 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7588         * config/arm/symbian-lib.h: New.
7590 2011-05-04  Chris Demetriou  <cgd@google.com>
7592         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7593         (__x86.get_pc_thunk.bx): ...this.
7594         (__morestack): Adjust for rename, remove undef of __i686.
7596 2011-05-03  Chris Demetriou  <cgd@google.com>
7598         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7600 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7602         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7603         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7604         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7605         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7606         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7607         Remove cases.
7609 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7611         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7612         Adjust copyright year.
7614 2011-03-07  Ian Lance Taylor  <iant@google.com>
7616         * generic-morestack.c (__splitstack_find): Adjust returned stack
7617         pointer to include all registers pushed by __morestack.
7619 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7621         PR target/40125
7622         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7623         (toolexecdir): Calculate and AC_SUBST.
7624         (toolexeclibdir): Likewise.
7625         * Makefile.in (target_noncanonical): Import.
7626         (toolexecdir): Likewise.
7627         (toolexeclibdir): Likewise.
7628         * configure: Regenerate.
7630 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7632         PR target/46040
7633         * config/arm/bpabi.h: Rename to...
7634         * config/arm/bpabi-lib.h: ...this.
7636 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7638         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7639         appropriate.
7640         * configure: Regenerate.
7642 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7644         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7645         __FLOAT_WORD_ORDER__.
7646         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7647         Delete.
7649 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7651         PR other/46202
7652         * Makefile.in (install-strip): New phony target.
7654 2010-11-07  Ian Lance Taylor  <iant@google.com>
7656         PR target/46089
7657         * config/i386/morestack.S (__morestack_large_model): New
7658         function.
7660 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7662         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7663         Delete.
7664         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7666 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7668         * config/arm/bpabi.h: New file.
7669         * config/frv/frv-abi.h: New file.
7671 2010-10-01  Ian Lance Taylor  <iant@google.com>
7673         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7674         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7676 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7678         PR target/45858
7679         * config.host: Add the missing `$'.
7681 2010-09-30  Michael Eager  <eager@eagercon.com>
7683         * config.host: Add microblaze*-*-*.
7684         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7685         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7686         udivsi3.asm,umodsi3.asm}:  New.
7688 2010-09-28  Ian Lance Taylor  <iant@google.com>
7690         * configure.ac: Adjust CFI test to test assembler directly rather
7691         than checking gcc preprocessor macro.
7692         * configure: Rebuild.
7694 2010-09-27  Ian Lance Taylor  <iant@google.com>
7696         * configure.ac: Test whether assembler supports CFI directives.
7697         * config.host: Only add t-stack and i386/t-stack-i386 to
7698         tmake_file if libgcc_cv_cfi is "yes".
7699         * configure: Rebuild.
7701 2010-09-27  Ian Lance Taylor  <iant@google.com>
7703         * generic-morestack.h: New file.
7704         * generic-morestack.c: New file.
7705         * generic-morestack-thread.c: New file.
7706         * config/i386/morestack.S: New file.
7707         * config/t-stack: New file.
7708         * config/i386/t-stack-i386: New file.
7709         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7710         i386/t-stack-i386 to tmake_file.
7712 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7714         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7715         invoke ranlib after installing them.
7716         (gcc-extra-parts): Likewise.
7717         (install-leaf): Likewise.
7719 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7721         * configure: Regenerated.
7723 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7725         * configure: Regenerated.
7727 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7728             Andrew Pinski  <pinskia@gmail.com>
7730         PR target/40959
7731         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7733 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7735         PR target/45524
7736         * configure: Regenerated.
7738 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7740         * configure: Regenerate.
7742 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7744         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7745         64bit targets.
7746         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7747         for 64bit targets.
7749 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7750             Iain Sandoe  <iains@gcc.gnu.org>
7752         PR target/45476
7753         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7754         LIB2FUNCS_EXCLUDE functions.
7756 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7758         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7759         Include dfp.m4.
7760         * configure: Regenerate.
7762 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7764         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7765         i386/t-freebsd to tmake_file.
7766         * config/i386/t-freebsd: New file.
7767         * config/i386/libgcc-bsd.ver: New file.
7769 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7771         * config.host (powerpc*-eabispe*): Set tmake_file.
7772         (powerpc*-eabi*): Likewise.
7773         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7774         crtbeginS, crtendS, crtbeginT.
7776 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7778         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7779         to tmake_file.  Add crtfastmath.o to extra_parts.
7780         * config/mips/t-crtfm: New.
7782 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7784         * config.host (sparc64-*-rtems*): New target.
7786 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7788         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7789         assembler syntax.
7791 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7793         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7795 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7797         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7798         alpha-dec-osf5.0* support.
7800 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7802         * config.host: Add lm32-*-rtems*.
7804 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7805             Uros Bizjak  <ubizjak@gmail.com>
7807         PR target/39048
7808         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7809         like other remaining 32-bit x86 OSes.
7810         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7811         assembler syntax.
7812         * config/i386/libgcc-sol2.ver: New file.
7813         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7815 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7817         PR c/43553
7818         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7819         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7820         is used and substitute set_use_emutls.
7821         * configure: Regenerated.
7823 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7825         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7827 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7829         PR target/38085
7830         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7831         MULTILIB_CFLAGS.
7832         ($(T)gcrt1.o): Likewise.
7833         ($(T)crt1.o): Likewise.
7834         ($(T)crti.o): Likewise.
7835         ($(T)crtn.o): Likewise.
7837 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7839         PR other/42980
7840         * Makefile.in (install): Use $(MAKE) string in rule, for
7841         parallel make.
7843 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7845         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7846         * config/mmix/t-mmix: New file.
7847         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7849 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7851         PR java/41991
7852         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7853         SHLIB_MAPFILES.
7855 2010-01-04  Anthony Green  <green@moxielogic.com>
7857         * config/moxie/crti.asm, config/moxie/crtn.asm,
7858         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7859         config/moxie/t-moxie: New files.
7860         * config.host: Add t-moxie-softfp reference.
7862 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7864         PR other/39888
7865         * config/t-slibgcc-darwin: Fix embedded rpaths for
7866         --enable-version-specific-runtime-libs, build extension stub
7867         libs exposing features available from current libgcc_s.
7869 2009-11-11  Jon Beniston  <jon@beniston.com>
7871         * config.host: Add lm32 targets.
7872         * config/lm32: New directory.
7873         * config/lm32/libgcc_lm32.h: New file.
7874         * config/lm32/_mulsi3.c: New file.
7875         * config/lm32/_udivmodsi4.c: New file.
7876         * config/lm32/_divsi3.c: New file.
7877         * config/lm32/_modsi3.c: New file.
7878         * config/lm32/_udivsi3.c: New file.
7879         * config/lm32/_umodsi3.c: New file.
7880         * config/lm32/_lshrsi3.S: New file.
7881         * config/lm32/_ashrsi3.S: New file.
7882         * config/lm32/_ashlsi3.S: New file.
7883         * config/lm32/crti.S: New file.
7884         * config/lm32/crtn.S: New file.
7885         * config/lm32/t-lm32: New file.
7886         * config/lm32/t-elf: New file.
7887         * config/lm32/t-uclinux: New file.
7889 2009-10-26  Nick Clifton  <nickc@redhat.com>
7891         * config.host: Add support for RX target.
7892         * config/rx: New directory.
7893         * config/rx/rx-abi-functions.c: New file. Supplementary
7894         functions for libgcc to support the RX ABI.
7895         * config/rx/rx-abi.h: New file.  Supplementary header file for
7896         libgcc RX ABI functions.
7897         * config/rx/t-rx: New file: Makefile fragment for building
7898         libgcc for the RX.
7900 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7902         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7903         constraint of y0 to "g".
7905 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7907         * config.host: Include the s390 makefile fragments.
7908         * config/s390/32/_fixdfdi.c: New file.
7909         * config/s390/32/_fixsfdi.c: New file.
7910         * config/s390/32/_fixtfdi.c: New file.
7911         * config/s390/32/_fixunsdfdi.c: New file.
7912         * config/s390/32/_fixunssfdi.c: New file.
7913         * config/s390/32/_fixunstfdi.c: New file.
7914         * config/s390/32/t-floattodi: New file.
7915         * config/s390/libgcc-glibc.ver: New file.
7916         * config/s390/t-crtstuff: New file.
7917         * config/s390/t-linux: New file.
7918         * config/s390/t-tpf: New file.
7920 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7922         * configure.ac (AC_PREREQ): Bump to 2.64.
7924 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7926         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7928 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7930         * configure: Regenerate.
7932 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7934         * config.host (ia64-hp-*vms*): New target.
7935         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7936         with ia64-hp-*vms*.
7938 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7940         * configure.ac: Add snippet for maintainer-mode.
7941         * configure: Regenerate.
7942         * Makefile.in (AUTOCONF, configure_deps): New variables.
7943         ($(srcdir)/configure)): New rule, active only with maintainer
7944         mode turned on.
7946 2009-06-23  DJ Delorie  <dj@redhat.com>
7948         Add MeP port.
7949         * config.host: Add mep support.
7951 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7953         * config.host: Add i386/${host_address}/t-fprules-softfp and
7954         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7956         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7957         for mingw targets.
7958         * config/i386/64/_multc3.c: Likewise.
7959         * config/i386/64/_powitf2.c: Likewise.
7960         * config/i386/64/eqtf2.c: Likewise.
7961         * config/i386/64/getf2.c: Likewise.
7962         * config/i386/64/letf2.c: Likewise.
7963         * config/i386/64/letf2.c: Likewise.
7964         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7965         unsigned long long for x64 mingw targets.
7966         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7967         (_FP_I_TYPE): Define as long long for x64 mingw target.
7969 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7971         * config.host (vax-*-linux*): New.
7973 2009-05-31  Anthony Green  <green@moxielogic.com>
7975         * config.host: Add moxie support.
7976         * config/moxie/t-moxie: New file.
7978 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7980         * config.host: Add i386/${host_address}/t-fprules-softfp and
7981         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7983 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7985         * config.host: Add i386/${host_address}/t-fprules-softfp to
7986         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7988 2009-04-09  Nick Clifton  <nickc@redhat.com>
7990         * config/ia64/tf-signs.c: Change copyright header to refer to
7991         version 3 of the GNU General Public License with version 3.1
7992         of the GCC Runtime Library Exception and to point readers at
7993         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7994         web page.
7995         * config/i386/32/tf-signs.c: Likewise.
7996         * config/libbid/_addsub_dd.c: Likewise.
7997         * config/libbid/_addsub_sd.c: Likewise.
7998         * config/libbid/_addsub_td.c: Likewise.
7999         * config/libbid/_dd_to_df.c: Likewise.
8000         * config/libbid/_dd_to_di.c: Likewise.
8001         * config/libbid/_dd_to_sd.c: Likewise.
8002         * config/libbid/_dd_to_sf.c: Likewise.
8003         * config/libbid/_dd_to_si.c: Likewise.
8004         * config/libbid/_dd_to_td.c: Likewise.
8005         * config/libbid/_dd_to_tf.c: Likewise.
8006         * config/libbid/_dd_to_udi.c: Likewise.
8007         * config/libbid/_dd_to_usi.c: Likewise.
8008         * config/libbid/_dd_to_xf.c: Likewise.
8009         * config/libbid/_df_to_dd.c: Likewise.
8010         * config/libbid/_df_to_sd.c: Likewise.
8011         * config/libbid/_df_to_td.c: Likewise.
8012         * config/libbid/_di_to_dd.c: Likewise.
8013         * config/libbid/_di_to_sd.c: Likewise.
8014         * config/libbid/_di_to_td.c: Likewise.
8015         * config/libbid/_div_dd.c: Likewise.
8016         * config/libbid/_div_sd.c: Likewise.
8017         * config/libbid/_div_td.c: Likewise.
8018         * config/libbid/_eq_dd.c: Likewise.
8019         * config/libbid/_eq_sd.c: Likewise.
8020         * config/libbid/_eq_td.c: Likewise.
8021         * config/libbid/_ge_dd.c: Likewise.
8022         * config/libbid/_ge_sd.c: Likewise.
8023         * config/libbid/_ge_td.c: Likewise.
8024         * config/libbid/_gt_dd.c: Likewise.
8025         * config/libbid/_gt_sd.c: Likewise.
8026         * config/libbid/_gt_td.c: Likewise.
8027         * config/libbid/_isinfd128.c: Likewise.
8028         * config/libbid/_isinfd32.c: Likewise.
8029         * config/libbid/_isinfd64.c: Likewise.
8030         * config/libbid/_le_dd.c: Likewise.
8031         * config/libbid/_le_sd.c: Likewise.
8032         * config/libbid/_le_td.c: Likewise.
8033         * config/libbid/_lt_dd.c: Likewise.
8034         * config/libbid/_lt_sd.c: Likewise.
8035         * config/libbid/_lt_td.c: Likewise.
8036         * config/libbid/_mul_dd.c: Likewise.
8037         * config/libbid/_mul_sd.c: Likewise.
8038         * config/libbid/_mul_td.c: Likewise.
8039         * config/libbid/_ne_dd.c: Likewise.
8040         * config/libbid/_ne_sd.c: Likewise.
8041         * config/libbid/_ne_td.c: Likewise.
8042         * config/libbid/_sd_to_dd.c: Likewise.
8043         * config/libbid/_sd_to_df.c: Likewise.
8044         * config/libbid/_sd_to_di.c: Likewise.
8045         * config/libbid/_sd_to_sf.c: Likewise.
8046         * config/libbid/_sd_to_si.c: Likewise.
8047         * config/libbid/_sd_to_td.c: Likewise.
8048         * config/libbid/_sd_to_tf.c: Likewise.
8049         * config/libbid/_sd_to_udi.c: Likewise.
8050         * config/libbid/_sd_to_usi.c: Likewise.
8051         * config/libbid/_sd_to_xf.c: Likewise.
8052         * config/libbid/_sf_to_dd.c: Likewise.
8053         * config/libbid/_sf_to_sd.c: Likewise.
8054         * config/libbid/_sf_to_td.c: Likewise.
8055         * config/libbid/_si_to_dd.c: Likewise.
8056         * config/libbid/_si_to_sd.c: Likewise.
8057         * config/libbid/_si_to_td.c: Likewise.
8058         * config/libbid/_td_to_dd.c: Likewise.
8059         * config/libbid/_td_to_df.c: Likewise.
8060         * config/libbid/_td_to_di.c: Likewise.
8061         * config/libbid/_td_to_sd.c: Likewise.
8062         * config/libbid/_td_to_sf.c: Likewise.
8063         * config/libbid/_td_to_si.c: Likewise.
8064         * config/libbid/_td_to_tf.c: Likewise.
8065         * config/libbid/_td_to_udi.c: Likewise.
8066         * config/libbid/_td_to_usi.c: Likewise.
8067         * config/libbid/_td_to_xf.c: Likewise.
8068         * config/libbid/_tf_to_dd.c: Likewise.
8069         * config/libbid/_tf_to_sd.c: Likewise.
8070         * config/libbid/_tf_to_td.c: Likewise.
8071         * config/libbid/_udi_to_dd.c: Likewise.
8072         * config/libbid/_udi_to_sd.c: Likewise.
8073         * config/libbid/_udi_to_td.c: Likewise.
8074         * config/libbid/_unord_dd.c: Likewise.
8075         * config/libbid/_unord_sd.c: Likewise.
8076         * config/libbid/_unord_td.c: Likewise.
8077         * config/libbid/_usi_to_dd.c: Likewise.
8078         * config/libbid/_usi_to_sd.c: Likewise.
8079         * config/libbid/_usi_to_td.c: Likewise.
8080         * config/libbid/_xf_to_dd.c: Likewise.
8081         * config/libbid/_xf_to_sd.c: Likewise.
8082         * config/libbid/_xf_to_td.c: Likewise.
8083         * config/libbid/bid128.c: Likewise.
8084         * config/libbid/bid128_2_str.h: Likewise.
8085         * config/libbid/bid128_2_str_macros.h: Likewise.
8086         * config/libbid/bid128_2_str_tables.c: Likewise.
8087         * config/libbid/bid128_add.c: Likewise.
8088         * config/libbid/bid128_compare.c: Likewise.
8089         * config/libbid/bid128_div.c: Likewise.
8090         * config/libbid/bid128_fma.c: Likewise.
8091         * config/libbid/bid128_logb.c: Likewise.
8092         * config/libbid/bid128_minmax.c: Likewise.
8093         * config/libbid/bid128_mul.c: Likewise.
8094         * config/libbid/bid128_next.c: Likewise.
8095         * config/libbid/bid128_noncomp.c: Likewise.
8096         * config/libbid/bid128_quantize.c: Likewise.
8097         * config/libbid/bid128_rem.c: Likewise.
8098         * config/libbid/bid128_round_integral.c: Likewise.
8099         * config/libbid/bid128_scalb.c: Likewise.
8100         * config/libbid/bid128_sqrt.c: Likewise.
8101         * config/libbid/bid128_string.c: Likewise.
8102         * config/libbid/bid128_to_int16.c: Likewise.
8103         * config/libbid/bid128_to_int32.c: Likewise.
8104         * config/libbid/bid128_to_int64.c: Likewise.
8105         * config/libbid/bid128_to_int8.c: Likewise.
8106         * config/libbid/bid128_to_uint16.c: Likewise.
8107         * config/libbid/bid128_to_uint32.c: Likewise.
8108         * config/libbid/bid128_to_uint64.c: Likewise.
8109         * config/libbid/bid128_to_uint8.c: Likewise.
8110         * config/libbid/bid32_to_bid128.c: Likewise.
8111         * config/libbid/bid32_to_bid64.c: Likewise.
8112         * config/libbid/bid64_add.c: Likewise.
8113         * config/libbid/bid64_compare.c: Likewise.
8114         * config/libbid/bid64_div.c: Likewise.
8115         * config/libbid/bid64_fma.c: Likewise.
8116         * config/libbid/bid64_logb.c: Likewise.
8117         * config/libbid/bid64_minmax.c: Likewise.
8118         * config/libbid/bid64_mul.c: Likewise.
8119         * config/libbid/bid64_next.c: Likewise.
8120         * config/libbid/bid64_noncomp.c: Likewise.
8121         * config/libbid/bid64_quantize.c: Likewise.
8122         * config/libbid/bid64_rem.c: Likewise.
8123         * config/libbid/bid64_round_integral.c: Likewise.
8124         * config/libbid/bid64_scalb.c: Likewise.
8125         * config/libbid/bid64_sqrt.c: Likewise.
8126         * config/libbid/bid64_string.c: Likewise.
8127         * config/libbid/bid64_to_bid128.c: Likewise.
8128         * config/libbid/bid64_to_int16.c: Likewise.
8129         * config/libbid/bid64_to_int32.c: Likewise.
8130         * config/libbid/bid64_to_int64.c: Likewise.
8131         * config/libbid/bid64_to_int8.c: Likewise.
8132         * config/libbid/bid64_to_uint16.c: Likewise.
8133         * config/libbid/bid64_to_uint32.c: Likewise.
8134         * config/libbid/bid64_to_uint64.c: Likewise.
8135         * config/libbid/bid64_to_uint8.c: Likewise.
8136         * config/libbid/bid_b2d.h: Likewise.
8137         * config/libbid/bid_binarydecimal.c: Likewise.
8138         * config/libbid/bid_conf.h: Likewise.
8139         * config/libbid/bid_convert_data.c: Likewise.
8140         * config/libbid/bid_decimal_data.c: Likewise.
8141         * config/libbid/bid_decimal_globals.c: Likewise.
8142         * config/libbid/bid_div_macros.h: Likewise.
8143         * config/libbid/bid_dpd.c: Likewise.
8144         * config/libbid/bid_flag_operations.c: Likewise.
8145         * config/libbid/bid_from_int.c: Likewise.
8146         * config/libbid/bid_functions.h: Likewise.
8147         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8148         * config/libbid/bid_inline_add.h: Likewise.
8149         * config/libbid/bid_internal.h: Likewise.
8150         * config/libbid/bid_round.c: Likewise.
8151         * config/libbid/bid_sqrt_macros.h: Likewise.
8153 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8155         * Makefile.in: Change copyright header to refer to version
8156         3 of the GNU General Public License and to point readers at the
8157         COPYING3 file and the FSF's license web page.
8158         * config.host: Likewise.
8160 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8162         * config.host: Reorder and merge to match config.gcc change.
8164 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8166         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8168 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8170         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8171         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8172         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8173         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8175 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8177         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8178         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8180 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8182         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8183         ia64/t-softfp-compat to tmake_file.
8185         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8187         * config/ia64/__divxf3.asm: New.
8188         * config/ia64/_fixtfdi.asm: Likewise.
8189         * config/ia64/_fixunstfdi.asm: Likewise.
8190         * config/ia64/_floatditf.asm: Likewise.
8191         * config/ia64/t-fprules-softfp: Likewise.
8192         * config/ia64/t-softfp-compat: Likewise.
8193         * config/ia64/tf-signs.c: Likewise.
8195 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8197         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8199 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8201         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8202         to tmake_file.
8204 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8206         * config/t-softfp: New file.
8207         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8208         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8210 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8212         * config.host: Add m32r*-*-rtems*.
8214 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8216         * config.host: Add m32c*-*-rtems*.
8218 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8220         PR bootstrap/33100
8221         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8222         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8223         * configure: Regenerate.
8224         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8225         tmake_file here from gcc/config.gcc.
8226         Move extra_parts here from gcc/config.gcc.
8227         * config/i386/t-sol2: Move here from gcc/config/i386.
8228         Use gcc_srcdir instead of srcdir.
8230 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8232         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8233         case.
8235 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8237         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8239 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8241         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8243 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8245         Add picoChip port.
8246         * config.host: Add picochip-*-*.
8248 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8250         * config.host: Match more processor names for Xtensa.
8252 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8254         * config/i386/64/t-softfp-compat: Update comments.
8256 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8258         * config/i386/64/_divtc3-compat.c: Moved to ...
8259         * config/i386/64/_divtc3.c: Here.
8261         * config/i386/64/_multc3-compat.c: Moved to ...
8262         * config/i386/64/_multc3.c: Here.
8264         * config/i386/64/_powitf2-compat.c: Moved to ...
8265         * config/i386/64/_powitf2.c: Here.
8267         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8268         .c suffix instead of -compat.c.
8270 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8272         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8273         (_FP_MUL_MEAT_D): Ditto.
8274         (_FP_DIV_MEAT_S): Ditto.
8275         (_FP_DIV_MEAT_D): Ditto.
8277 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8279         * Makefile.in: Add support for __sync_* libgcc functions.
8281 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8283         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8285 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8287         PR boostrap/36702
8288         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8289         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8291         * config/i386/64/t-fprules-softfp: Moved to ...
8292         * config/i386/64/t-softfp-compat: This.  New.
8294 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8296         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8297         Initialize f with 0.0.
8299 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8301         PR target/36669
8302         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8304         * config/i386/64/_divtc3-compat.c: New.
8305         * config/i386/64/_multc3-compat.c: Likewise.
8306         * config/i386/64/_powitf2-compat.c: Likewise.
8307         * config/i386/64/eqtf2.c: Likewise.
8308         * config/i386/64/getf2.c: Likewise.
8309         * config/i386/64/letf2.c: Likewise.
8310         * config/i386/64/t-fprules-softfp: Likewise.
8312 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8314         * config.host: Add i386/${host_address}/t-fprules-softfp to
8315         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8316         i[34567]86-*-linux*, x86_64-*-linux*.
8318         * configure.ac: Set host_address to 64 or 32 for x86.
8319         * configure: Regenerated.
8321         * Makefile.in (config.status): Also depend on
8322         $(srcdir)/config.host.
8324         * config/i386/32/t-fprules-softfp: New.
8325         * config/i386/32/tf-signs.c: Likewise.
8327         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8329 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8330             Uros Bizjak  <ubizjak@gmail.com>
8332         * config/i386/32/sfp-machine.h: New.
8334 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8336         * config/rs6000/t-ppccomm: Remove rules that conflict with
8337         auto-generated rules.
8339 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8341         * configure.ac: sinclude override.m4.
8342         * configure: Regenerate.
8344 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8346         * configure: Regenerate.
8348 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8350         * Makefile.in (DECNUMINC): Remove
8351         -I$(MULTIBUILDTOP)../../libdecnumber.
8352         * gstdint.h: New.
8354 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8356         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8357         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8358         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8359         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8360         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8361         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8362         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8363         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8364         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8365         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8366         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8367         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8368         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8369         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8371 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8373         * config.host (sh2[lbe]*-*-linux*): Allow target.
8375 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8377         * config/rs6000/t-ppccomm: Add build rules for new files.
8378         (LIB2ADD_ST): New variable.
8380 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8382         PR target/34210
8383         PR target/35508
8384         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8385         * config/t-avr: New file. Build 16bit libgcc functions.
8387 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8389         PR target/35401
8390         * config/t-slibgcc-darwin: Make install-leaf dependent on
8391         install-darwin-libgcc-stubs instead of install.
8393 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8395         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8396         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8397         sh-*-rtemscoff*): Remove cases.
8399 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8401         * Makefile.in (all): Use install-leaf rather than install.
8402         (install): Split most of the rule into...
8403         (install-leaf): ...this new one.
8405 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8406             Paolo Bonzini  <bonzini@gnu.org>
8408         PR target/30572
8409         * Makefile.in: Use @shlib_slibdir@ substitution to get
8410         correct install name on darwin.
8411         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8413 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8415         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8416         cris-*-elf and cris-*-none.
8417         (crisv32-*-linux*): Similar, as cris-*-linux*.
8419 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8421         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8423 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8425         PR regression/33926
8426         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8427         * configure: Regenerated.
8429 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8431         * Makefile.in (dfp-filenames): Replace decimal_globals,
8432         decimal_data, binarydecimal and convert_data with
8433         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8434         and bid_convert_data, respectively.
8436 2007-09-17  Chao-ying Fu  <fu@mips.com>
8437             Nigel Stephens  <nigel@mips.com>
8439         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8440         * Makefile.in (fixed_point): Define.
8441         Check if fixed_point is yes to build support functions.
8442         * configure.ac: Check for fixed_point support.
8443         * configure: Regenerated.
8444         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8445         funcs, modes, from, to.
8447 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8449         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8451 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8453         * Makefile.in (dfp-filenames): Remove decUtility, add
8454         decDouble, decPacked, decQuad, decSingle.
8456 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8458         * config.host : Add x86_64-elf target.
8460 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8462         * configure.ac (set_have_cc_tls): Add a missing =.
8463         * configure: Regenerated.
8465 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8467         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8468         and x86_64-*-linux*.
8470         * config/t-tls: New file.
8472         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8474         * configure.ac: Include ../config/enable.m4 and
8475         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8476         supports TLS and substitute set_have_cc_tls.
8477         * configure: Regenerated.
8479 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8481         * Makefile.in: Use libbid for DFP when BID is enabled.
8483 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8485         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8486         extra_parts. Add config/i386/t-cygming to tmake_file.
8487         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8489 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8490             Danny Smith  <dannysmith@users.sourceforge.net>
8492         PR target/29498
8493         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8494         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8495         * config/i386/t-crtfm: Compile crtfastmath.o with
8496         -minline-all-stringops.
8498 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8500         * config.host (sparc-wrs-vxworks): New target.
8502 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8504         * config.host: Recognize fido.
8506 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8508         * configure: Check host, not target, for decimal float support.
8510 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8512         * config/i386/t-crtpc: New file.
8513         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8514         (x86_64-*-linux*): Ditto.
8516 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8518         * config.host (x86_64-*-mingw*): New target.
8520 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8521             H.J. Lu  <hongjiu.lu@intel.com>
8523         * Makefile.in (enable_decimal_float): New.
8524         (DECNUMINC): Add
8525         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8526         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8527         (decbits-filenames): This.
8528         (decbits-objects): New.
8529         (libgcc-objects): Add $(decbits-objects).
8531         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8532         Substitute enable_decimal_float.
8533         * configure: Regenerated.
8535 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8537         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8539 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8541         * Makefile.in (install-info): New dummy target.
8543 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8545         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8547 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8549         * Makefile.in: Add install-html and install-pdf dummy
8550         targets.
8552 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8553             Daniel Jacobowitz  <dan@codesourcery.com>
8555         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8556         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8557         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8559 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8561         * Makefile.in (dec-filenames): Add decExcept.
8563 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8565         PR bootstrap/30469
8566         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8567         -fprofile-use.
8569 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8571         * configure.ac: Add --enable-version-specific-runtime-libs.
8572         Correct $slibdir default.
8573         * configure: Regenerated.
8575 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8577         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8579 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8581         PR target/30519
8582         * config.host (alpha*-*-linux*): Set extra_parts.
8584 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8586         * config/sh/t-linux: New.
8587         * config.host (sh*-*-linux*): Set tmake_file.
8589 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8591         * Makefile.in (install): Handle multilibs.
8593 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8595         * Makefile.in: Added .PHONY entry for documentation targets.
8597 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8599         * Makefile.in: Add empty info, html, dvi, pdf targets.
8601 2007-01-04  Mike Stump  <mrs@apple.com>
8603         * Makefile.in (MAKEINFO): Remove.
8604         (PERL): Likewise.
8606 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8608         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8609         * configure: Regenerate.
8610         * Makefile.in (host_subdir): Substitute it.
8611         (gcc_objdir): Use it.
8613 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8615         * config.host (ia64*-*-linux*): Set tmake_file.
8617 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8619         * Makefile.in (version): Define.
8621 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8622             Paolo Bonzini  <bonzini@gnu.org>
8624         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8625         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8626         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8627         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8628         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8629         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8630         * configure: Generated.
8632 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8634 Copying and distribution of this file, with or without modification,
8635 are permitted in any medium without royalty provided the copyright
8636 notice and this notice are preserved.