Update ChangeLog and version files for release
[official-gcc.git] / libgcc / ChangeLog
blob2fc6dedeb35047cfedfee7ce2cc57ce8405042fe
1 2018-01-25  Release Manager
3         * GCC 7.3.0 released.
5 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
7         Backport from mainline
8         2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
10         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
11         (__divsf3): Make NaN return value quiet.
12         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
13         (__divdf3): Make NaN return value quiet.
15 2018-01-08  Sebastian Huber  <sebastian.huber@embedded-brains.de>
17         Backport from mainline
18         2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
20         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
21         configuration.
23 2017-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
25         Backport from mainline
26         2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
28         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
29         renaming.
30         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
31         * configure.ac (libgcc_cv_solaris_crts): Likewise.
32         * configure: Regenerate.
34 2017-11-17  Vineet Gupta <vgupta@synopsys.com>
36         * config.host: Remove uclibc from arc target spec.
38 2017-11-05  Andreas Tobler  <andreast@gcc.gnu.org>
40         Backport from mainline
41         2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
43         PR libgcc/82635
44         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
45         sysctl to determine whether we're in a trampoline.
46         Keep the pattern matching method for systems without
47         KERN_PROC_SIGTRAMP sysctl.
49 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
51         PR target/82274
52         * libgcc2.c (__mulvDI3): If both operands have
53         the same highpart of -1 and the topmost bit of lowpart is 0,
54         multiplication overflows even if both lowparts are 0.
56 2017-09-28  Krister Walfridsson  <krister.walfridsson@gmail.com>
58         Backport from mainline
59         2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
61         PR target/80600
62         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
64 2017-08-14  Release Manager
66         * GCC 7.2.0 released.
68 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
70         Backport from mainline
71         2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
73         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
75 2017-07-20  Peter Bergner  <bergner@vnet.ibm.com>
77         Backport from mainline
78         2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
80         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
81         (have_ieee_hw_p): Delete function.
82         (SW_OR_HW) Use __builtin_cpu_supports().
84 2017-07-19  John Marino  <gnugcc@marino.st>
86         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
88 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
90         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
91         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
92         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
93         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
94         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
95         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
96         config/pa/linux-unwind.h (pa32_fallback_frame_state),
97         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
98         config/sh/linux-unwind.h (sh_fallback_frame_state),
99         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
100         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
101         ucontext_t instead of struct ucontext.
103 2017-06-28  Richard Biener  <rguenther@suse.de>
105         Backport from mainline
106         2017-06-21  Richard Biener  <rguenther@suse.de>
108         PR gcov-profile/81080
109         * configure.ac: Add AC_SYS_LARGEFILE.
110         * libgcov.h: Include auto-target.h before tsystem.h to pick
111         up _FILE_OFFSET_BITS which might differ for multilibs.
112         * config.in: Regenerate.
113         * configure: Likewise.
115 2017-05-26  Richard Henderson  <rth@redhat.com>
117         PR libgcc/80037
118         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
120 2017-05-19  Andreas Tobler  <andreast@gcc.gnu.org>
122         Backport from mainline
123         2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
125         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
126         _Unwind_SetIP available as functions for arm*-*-freebsd*.
127         * config/arm/unwind-arm.c: Implement the above.
129 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
131         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
132         section for a non-executable stack.
134 2017-05-10  Andreas Tobler  <andreast@gcc.gnu.org>
136         Backport from mainline
137         2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
139         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
140         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
142 2017-05-02  Release Manager
144         * GCC 7.1.0 released.
146 2017-04-19  Martin Liska  <mliska@suse.cz>
148         PR gcov-profile/80435
149         * Makefile.in: Install gcov.h.
150         * gcov.h: New file.
151         * libgcov.h: Use the header and make __gcov_flush publicly
152         visible.
154 2017-04-18  Martin Liska  <mliska@suse.cz>
156         PR gcov-profile/78783
157         * libgcov-driver.c (gcov_get_filename): New function.
159 2017-04-07  Jeff Law  <law@redhat.com>
161         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
162         target makefile fragment.
163         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
165 2017-04-07  Alan Modra  <amodra@gmail.com>
167         PR target/45053
168         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
170 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
172         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
174 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
176         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
178 2017-03-10  John Marino  <gnugcc@marino.st>
180         * config/aarch64/freebsd-unwind.h: New file.
181         * config.host: Add aarch64-*-freebsd unwinder.
183 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
185         * config/rs6000/crtrestvr.s: Use .machine altivec.
186         * config/rs6000/crtsavevr.s: Ditto.
188 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
190         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
191         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
192         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
193         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
194         * configure: Regenerate.
195         * config.in: Regenerate.
197 2017-03-02  Jonathan Yong <10walls@gmail.com>
199         * config/i386/gthr-win32.h: Define NOGDI before
200         windows.h include to prevent w32api CC_NONE macro
201         clash with libgfortran.
203 2017-03-02  Jonathan Yong <10walls@gmail.com>
205         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
207 2017-02-16  Andrew Pinski  <apinski@cavium.com>
209         * config/aarch64/value-unwind.h: New file.
210         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
211         to tm_file.
213 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
215         * config.host: Add RISC-V tuples.
216         * config/riscv/atomic.c: New file.
217         * config/riscv/crti.S: Likewise.
218         * config/riscv/crtn.S: Likewise.
219         * config/riscv/div.S: Likewise.
220         * config/riscv/linux-unwind.h: Likewise.
221         * config/riscv/muldi3.S: Likewise.
222         * config/riscv/multi3.S: Likewise.
223         * config/riscv/save-restore.S: Likewise.
224         * config/riscv/sfp-machine.h: Likewise.
225         * config/riscv/t-elf: Likewise.
226         * config/riscv/t-elf32: Likewise.
227         * config/riscv/t-elf64: Likewise.
228         * config/riscv/t-softfp32: Likewise.
229         * config/riscv/t-softfp64: Likewise.
231 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
233         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
234         /* FALLTHRU */ comments.
236 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
238         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
240 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
242         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
243         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
244         DW_CFA_GNU_window_save for AArch64 and LP64.
246 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
248         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
250 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
252         * config/aarch64/aarch64-unwind.h: New file.
253         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
254         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
255         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
256         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
257         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
258         (aarch64_post_extract_frame_addr): New function.
259         (aarch64_post_frob_eh_handler_addr): New function.
260         (aarch64_frob_update_context): New function.
261         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
262         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
263         aarch64*-*-freebsd*):
264         Initialize md_unwind_header to include aarch64-unwind.h.
265         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
266         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
267         __aarch64__.
268         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
269         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
270         (uw_frob_return_addr): New function.
271         (uw_install_context): Use uw_frob_return_addr.
273 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
275         PR other/79046
276         * configure.ac: Add GCC_BASE_VER.
277         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
278         version from BASE-VER file.
279         * configure: Regenerated.
281 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
283         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
284         libmul_f5.a): Filter archived prerequisites.
286 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
288         * config/i386/cpuinfo.h (processor_features): Add
289         FEATURE_AVX512VPOPCNTDQ.
290         * config/i386/cpuinfo.c (get_available_features): Habdle new
291         feature.
293 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
295         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
296         payload if [__mips_nan2008].
298 2017-01-04  Alan Modra  <amodra@gmail.com>
300         * Makefile.in (configure_deps): Update.
301         * configure: Regenerate.
303 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
305         Update copyright years.
307 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
309         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
310         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
311         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
313 2016-12-17  Matthias Klose  <doko@ubuntu.com>
315         * config/arc/gmon: Remove empty directory.
317 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
319         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
320         crtgend.
321         (arc*-*-elf*): Likewise.
322         * config/arc/t-arc: Remove old gmon lib targets.
323         * config/arc/crtg.S: Remove.
324         * config/arc/crtgend.S: Likewise.
325         * config/arc/gmon/atomic.h: Likewise.
326         * config/arc/gmon/auxreg.h: Likewise.
327         * config/arc/gmon/dcache_linesz.S: Likewise.
328         * config/arc/gmon/gmon.c: Likewise.
329         * config/arc/gmon/machine-gmon.h: Likewise.
330         * config/arc/gmon/mcount.c: Likewise.
331         * config/arc/gmon/prof-freq-stub.S: Likewise.
332         * config/arc/gmon/prof-freq.c: Likewise.
333         * config/arc/gmon/profil.S: Likewise.
334         * config/arc/gmon/sys/gmon.h: Likewise.
335         * config/arc/gmon/sys/gmon_out.h: Likewise.
336         * config/arc/t-arc-newlib: Likewise.
337         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
339 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
341         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
343 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
345         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
346         R16 instead of push + pop.
347         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
349 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
351         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
352         tmake_file.
354 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
356         * config.host (arc*-*-linux-uclibc*): Use default extra
357         objects. Include linux-android header.
358         * config/arc/crti.S (_init): Declare symbol as function.
359         (_fini): Likewise.
361 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
363         PR fortran/78379
364         * config/i386/cpuinfo.c:  Move denums for processor vendors,
365         processor type, processor subtypes and declaration of
366         struct __processor_model into
367         * config/i386/cpuinfo.h:  New header file.
369 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
370             Thomas Preud'homme  <thomas.preudhomme@arm.com>
372         * config/arm/cmse_nonsecure_call.S: New.
373         * config/arm/t-arm: Compile cmse_nonsecure_call.S
375 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
376             Thomas Preud'homme  <thomas.preudhomme@arm.com>
378         * config/arm/t-arm (HAVE_CMSE): New.
379         * config/arm/cmse.c: New.
381 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
383         PR gcc/74748
384         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
385         use generic linker version information on Blackfin.
387         PR gcc/74748
388         * libgcc/mkmap-symver.awk: add support for skip_underscore
390 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
391             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
393         PR target/67710
394         *  config/t-darwin: Default builds to 10.5 codegen.
396 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
398         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
399         (_FP_NANSIGN_H): Likewise.
400         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
401         (softfp_truncations): Add tfhf.
402         (softfp_extras): Add required conversion functions.
404 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
405             Matthew Wahab  <matthew.wahab@arm.com>
407         * config/arm/fp16.c (binary64): New.
408         (__gnu_d2h_internal): New.
409         (__gnu_d2h_ieee): New.
410         (__gnu_d2h_alternative): New.
412 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
413             Matthew Wahab  <matthew.wahab@arm.com>
415         * config/arm/fp16.c (struct format): New.
416         (binary32): New.
417         (__gnu_float2h_internal): New.  Body moved from
418         __gnu_f2h_internal and generalize.
419         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
420         Call it with binary32.
422 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
424         * soft-fp/extendhftf2.c: Update from glibc.
425         * soft-fp/fixhfti.c: Likewise.
426         * soft-fp/fixunshfti.c: Likewise.
427         * soft-fp/floattihf.c: Likewise.
428         * soft-fp/floatuntihf.c: Likewise.
429         * soft-fp/half.h: Likewise.
430         * soft-fp/trunctfhf2.c: Likewise.
432 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
434         PR libgcc/77813
435         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
436         __TMC_END__ behind a passthrough asm.
438 2016-11-18  Walter Lee  <walt@tilera.com>
440         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
442 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
444         * config/i386/cpuinfo.c (processor_features): Add
445         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
447 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
449         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
450         (__ARC_NORM__): Use instead ARC_OPTFPE.
451         * config/arc/fp-hack.h: Likewise.
452         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
453         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
455 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
457         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
458         * config/nvptx/mgomp.c: New file.
459         * config/nvptx/t-nvptx: Add mgomp.c
461 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
463         PR libgcc/68468
464         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
466 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
468         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
469         of checking for cpus.
470         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
471         (__modsi3, __clzsi2): Likewise.
473 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
475         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
476         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
477         * config/i386/t-cpuinfo-static: New.
479 2016-11-03  Martin Liska  <mliska@suse.cz>
481         * libgcov-profiler.c (__gcov_time_profiler): Remove.
482         (__gcov_time_profiler_atomic): Likewise.
484 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
486         PR libgcc/78067
487         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
488         count_leading_zeros.
490 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
492         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
493         * libgcc2.c (__divmoddi4): New function.
494         * libgcc2.h (__divmoddi4): Declare.
495         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
496         and __PFX_divmodti4.
498 2016-10-24  Florian Weimer  <fweimer@redhat.com>
500         PR libgcc/78064
501         * unwind-c.c: Include auto-target.h.
503 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
505         * config/pa/pa64-hpux-lib.h: New file.
506         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
507         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
508         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
509         hppa*64*-*-hpux11*.
511 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
513         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
514         definition.
515         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
516         definition.
517         * config/xtensa/t-windowed (LIB2ADDEH): Use
518         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
519         or xtensa/t-linux.
521 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
523         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
524         __ieee754_sqrt): New functions.
525         (__divdf3): Add implementation with new FPU instructions under
526         #if XCHAL_HAVE_DFP_DIV.
527         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
528         __ieee754_sqrtf): New functions.
529         (__divsf3): Add implementation with new FPU instructions under
530         #if XCHAL_HAVE_FP_DIV.
531         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
532         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
534 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
536         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
537         equivalent.
538         * config/tilepro/atomic.c: Likewise and stop casting model to
539         enum memmodel.
541 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
543         PR target/77586
544         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
545         soft-fp.
547 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
549         * config.host: Add support for aarch64-*-freebsd*.
551 2016-10-05  Andreas Schwab  <schwab@suse.de>
553         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
554         (.section .init_array): Don't call __do_jv_register_classes.
555         (.section .init): Likewise.
557 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
559         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
560         (__JCR_LIST__): Remove.
561         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
562         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
563         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
564         * config/ia64/crtend.S (__JCR_END__): Remove.
565         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
566         conditionals.
567         (__JCR_LIST__, __JCR_END__): Remove.
568         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
569         (__do_global_ctors_1): Likewise.
571 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
573         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
574         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
576 2016-09-27  Martin Liska  <mliska@suse.cz>
578         PR gcov-profile/7970
579         PR gcov-profile/16855
580         PR gcov-profile/44779
581         * libgcov-driver.c (__gcov_init): Do not register a atexit
582         handler.
583         (__gcov_exit): Rename from gcov_exit.
584         * libgcov.h (__gcov_exit): Declare.
586 2016-09-27  Martin Liska  <mliska@suse.cz>
588         PR bootstrap/77749
589         * Makefile.in: Remove _gcov_merge_delta.
590         * libgcov-merge.c (void __gcov_merge_delta): Remove.
591         * libgcov-util.c (__gcov_delta_counter_op): Remove.
592         * libgcov.h: Remove declaration of __gcov_merge_delta.
594 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
596         * configure.ac: Do not create links, only substitute the filenames.
597         * configure: Regenerate.
598         * Makefile.in: Assign the substitution results to variables.
599         (LIBGCC_LINKS): Define.
600         (enable-execute-stack.c): New rule.
601         (unwind.h): Likewise.
602         (md-unwind-support.h): Likewise.
603         (sfp-machine.h): Likewise.
604         (gthr-default.h): Likewise.
605         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
606         unwind.h as prerequisite of install-unwind_h-forbuild.
608 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
610         PR libgcc/71744
611         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
612         is not the primary registry and atomics are available.
613         (any_objects_registered): New variable.
614         (__register_frame_info_bases, __register_frame_info_table_bases):
615         Atomically store 1 to any_objects_registered after registering first
616         unwind info.
617         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
619 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
621         PR target/63250
622         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
623         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
624         (HFtype): Likewise.
625         (HCtype): Likewise.
626         (__divhc3): Likewise.
627         (__mulhc3): Likewise.
628         * libgcc2.c: Support _mulhc3 and _divhc3.
630 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
632         PR libgcc/77519
633         * libgcc2.c (NOTRUNC): Invert settings.
635 2016-09-06  Martin Liska  <mliska@suse.cz>
637         PR gcov-profile/77378
638         PR gcov-profile/77466
639         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
640         conditionaly enable/disable *_atomic functions.
642 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
644         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
645         where not already enabled.
647 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
649         * config/mips/linux-unwind.h: Use sys/syscall.h.
651 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
653         PR libgcc/77265
654         * soft-fp/adddf3.c: Update from glibc.
655         * soft-fp/addsf3.c: Likewise.
656         * soft-fp/addtf3.c: Likewise.
657         * soft-fp/divdf3.c: Likewise.
658         * soft-fp/divsf3.c: Likewise.
659         * soft-fp/divtf3.c: Likewise.
660         * soft-fp/double.h: Likewise.
661         * soft-fp/eqdf2.c: Likewise.
662         * soft-fp/eqsf2.c: Likewise.
663         * soft-fp/eqtf2.c: Likewise.
664         * soft-fp/extenddftf2.c: Likewise.
665         * soft-fp/extended.h: Likewise.
666         * soft-fp/extendsfdf2.c: Likewise.
667         * soft-fp/extendsftf2.c: Likewise.
668         * soft-fp/extendxftf2.c: Likewise.
669         * soft-fp/fixdfdi.c: Likewise.
670         * soft-fp/fixdfsi.c: Likewise.
671         * soft-fp/fixdfti.c: Likewise.
672         * soft-fp/fixsfdi.c: Likewise.
673         * soft-fp/fixsfsi.c: Likewise.
674         * soft-fp/fixsfti.c: Likewise.
675         * soft-fp/fixtfdi.c: Likewise.
676         * soft-fp/fixtfsi.c: Likewise.
677         * soft-fp/fixtfti.c: Likewise.
678         * soft-fp/fixunsdfdi.c: Likewise.
679         * soft-fp/fixunsdfsi.c: Likewise.
680         * soft-fp/fixunsdfti.c: Likewise.
681         * soft-fp/fixunssfdi.c: Likewise.
682         * soft-fp/fixunssfsi.c: Likewise.
683         * soft-fp/fixunssfti.c: Likewise.
684         * soft-fp/fixunstfdi.c: Likewise.
685         * soft-fp/fixunstfsi.c: Likewise.
686         * soft-fp/fixunstfti.c: Likewise.
687         * soft-fp/floatdidf.c: Likewise.
688         * soft-fp/floatdisf.c: Likewise.
689         * soft-fp/floatditf.c: Likewise.
690         * soft-fp/floatsidf.c: Likewise.
691         * soft-fp/floatsisf.c: Likewise.
692         * soft-fp/floatsitf.c: Likewise.
693         * soft-fp/floattidf.c: Likewise.
694         * soft-fp/floattisf.c: Likewise.
695         * soft-fp/floattitf.c: Likewise.
696         * soft-fp/floatundidf.c: Likewise.
697         * soft-fp/floatundisf.c: Likewise.
698         * soft-fp/floatunditf.c: Likewise.
699         * soft-fp/floatunsidf.c: Likewise.
700         * soft-fp/floatunsisf.c: Likewise.
701         * soft-fp/floatunsitf.c: Likewise.
702         * soft-fp/floatuntidf.c: Likewise.
703         * soft-fp/floatuntisf.c: Likewise.
704         * soft-fp/floatuntitf.c: Likewise.
705         * soft-fp/gedf2.c: Likewise.
706         * soft-fp/gesf2.c: Likewise.
707         * soft-fp/getf2.c: Likewise.
708         * soft-fp/ledf2.c: Likewise.
709         * soft-fp/lesf2.c: Likewise.
710         * soft-fp/letf2.c: Likewise.
711         * soft-fp/muldf3.c: Likewise.
712         * soft-fp/mulsf3.c: Likewise.
713         * soft-fp/multf3.c: Likewise.
714         * soft-fp/negdf2.c: Likewise.
715         * soft-fp/negsf2.c: Likewise.
716         * soft-fp/negtf2.c: Likewise.
717         * soft-fp/op-1.h: Likewise.
718         * soft-fp/op-2.h: Likewise.
719         * soft-fp/op-4.h: Likewise.
720         * soft-fp/op-8.h: Likewise.
721         * soft-fp/op-common.h: Likewise.
722         * soft-fp/quad.h: Likewise.
723         * soft-fp/single.h: Likewise.
724         * soft-fp/soft-fp.h: Likewise.
725         * soft-fp/subdf3.c: Likewise.
726         * soft-fp/subsf3.c: Likewise.
727         * soft-fp/subtf3.c: Likewise.
728         * soft-fp/truncdfsf2.c: Likewise.
729         * soft-fp/trunctfdf2.c: Likewise.
730         * soft-fp/trunctfsf2.c: Likewise.
731         * soft-fp/trunctfxf2.c: Likewise.
732         * soft-fp/unorddf2.c: Likewise.
733         * soft-fp/unordsf2.c: Likewise.
734         * soft-fp/unordtf2.c: Likewise.
736 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
738         PR gcov-profile/67097
739         * libgcov-util.c (gcov_profile_merge): Skip missing files.
741 2016-08-10  Martin Liska  <mliska@suse.cz>
743         PR gcov-profile/58306
744         * Makefile.in: New functions (modules) are added.
745         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
746         function.
747         (__gcov_pow2_profiler_atomic): New function.
748         (__gcov_one_value_profiler_body): New argument is instroduced.
749         (__gcov_one_value_profiler): Call with the new argument.
750         (__gcov_one_value_profiler_atomic): Likewise.
751         (__gcov_indirect_call_profiler_v2): Likewise.
752         (__gcov_time_profiler_atomic): New function.
753         (__gcov_average_profiler_atomic): Likewise.
754         (__gcov_ior_profiler_atomic): Likewise.
755         * libgcov.h: Declare the aforementioned functions.
757 2016-08-09  Martin Liska  <mliska@suse.cz>
759         * libgcov-util.c: Fix typo and GNU coding style.
761 2016-08-09  Martin Liska  <mliska@suse.cz>
763         * Makefile.in: Remove __gcov_indirect_call_profiler.
764         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
765         function.
766         * libgcov.h: And the declaration of the function.
768 2016-08-09  Martin Liska  <mliska@suse.cz>
770         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
771         power of two.
773 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
775         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
776         * config/rs6000/_mulkc3.c: Likewise.
778 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
780         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
781         zero_reg as previous call to __umulhisi3 already cleared it.
783 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
785         PR target/59833
786         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
788 2016-07-19  Nick Clifton  <nickc@redhat.com>
790         * config.host (m32r): Add m32r/t-m32r to tmake_file.
791         Add crtinit.o and crtfini.o to extra_parts.
793 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
795         * config/rs6000/_divkc3.c: New.
796         * config/rs6000/_mulkc3.c: New.
797         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
798         and _divkc3.
799         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
800         fp128_ppc_funcs.
802 2016-07-11  Hale Wang  <hale.wang@arm.com>
803             Andre Vieira  <andre.simoesdiasvieira@arm.com>
805         * config/arm/lib1funcs.S: Add new wrapper.
807 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
809         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
811 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
813         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
814         and ARMv5t* rather than for a fixed list of architectures.
816 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
818         * config/arm/bpabi-v6m.S: Clarify what architectures is the
819         implementation suitable for.
820         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
821         for all Thumb-1 only targets.
822         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
823         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
824         __ARM_ARCH_6M__.
825         (EQUIV): Likewise.
826         (ARM_FUNC_ALIAS): Likewise.
827         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
828         version.
829         (modsi3): Likewise.
830         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
831         (clzdi2): Likewise.
832         (ctzsi2): Likewise.
833         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
834         __ARM_ARCH_6M__ in guard for checking whether it is defined.
835         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
836         __ARM_ARCH_6M__ and add comment to indicate the connection between
837         this condition and the one in gcc/config/arm/elf.h.
838         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
839         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
840         * config/arm/t-softfp: Likewise.
842 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
844         * libgcc2.c (SYMBOL__MAIN): Remove checks for
845         CTOR_LISTS_DEFINED_EXTERNALLY.
847 2016-06-28  Walter Lee  <walt@tilera.com>
849         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
850         asm/unistd.h.
851         (SPR_CMPEXCH_VALUE): Define for tilegx.
852         (__NR_FAST_cmpxchg): Define for tilepro.
853         (__NR_FAST_atomic_update): Define for tilepro.
854         (__NR_FAST_cmpxchg64): Define for tilepro.
856 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
858         * config.host: Add suport for arm*-*-phoenix* targets.
860 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
862         * config.host: Remove support for mep-*.
863         * config/mep/lib1funcs.S: Remove.
864         * config/mep/lib2funcs.c: Remove.
865         * config/mep/t-mep: Remove.
866         * config/mep/tramp.c: Remove.
868 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
870         * config.host: Remove support for avr-rtems.
871         * config/avr/t-rtems: Remove.
873 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
875         * config.host: Remove m32r-rtems support.
877 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
879         * config.host: Remove h8300-rtems support.
881 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
883         * config.host: Remove support for knetbsd.
885 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
887         * config.host: Remove support for openbsd 2 and 3.
889 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
891         * config.host: Remove interix support.
892         * config/i386/t-interix: Remove.
894 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
896         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
897         least-significant bit in function pointer for fixup.
899 2016-06-05  Aaron Conole  <aconole@redhat.com>
900             Nathan Sidwell  <nathan@acm.org>
902         PR libgcc/71400
903         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
904         (get_gcov_error_file): Check __gcov_error_file before trying to
905         initialize it.
906         (gcov_error): Always use get_gcov_error_file.
908 2016-06-02  Aaron Conole  <aconole@redhat.com>
910         * libgcov-driver-system.c (__gcov_error_file): New.
911         (get_gcov_error_file): New.
912         (gcov_error): Use and set __gcov_error_file.
913         (gcov_error_exit): New.
914         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
916 2016-05-26  Nathan Sidwell  <nathan@acm.org>
918         * config/nvptx/free.asm: Delete.
919         * config/nvptx/malloc.asm: Delete.
920         * config/nvptx/realloc.c: Delete.
921         * t-nvptx: Update.
923 2016-05-25  Nathan Sidwell  <nathan@acm.org>
925         * config/nvptx/crt0.s: Delete.
926         * config/nvptx/crt0.c: New.
927         * t-nvptx: Update.
929 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
931         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
932         dw2/seh configuration.
933         [x86_64-*-mingw*]: Likewise.
935 2016-05-10  Joel Sherrill <joel@rtems.org>
937         PR libgcc/70720
938         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
939         targets so the same extra_parts are built.  Also have tmake_file add
940         on to its value rather than override.
942 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
944         * config.host: Remove SH5 support.
945         * configure: Likewise.
947 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
949         * config/sh/crt1.S: Remove SH5 support.
950         * config/sh/crti.S: Likewise.
951         * config/sh/crtn.S: Likewise.
952         * config/sh/lib1funcs-4-300.S: Likewise.
953         * config/sh/lib1funcs-Os-4-200.S: Likewise.
954         * config/sh/lib1funcs.S: Likewise.
955         * config/sh/linux-unwind.h: Likewise.
956         * config/sh/t-sh64: Delete.
958 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
960         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
962 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
963             Joern Rennecke  <joern.rennecke@embecosm.com>
965         * config/arc/crttls.S: New file.
966         * config/arc/t-arc: New rule.
967         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
969 2016-04-25  Nick Clifton  <nickc@redhat.com>
971         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
972         (__mspabi_cmpd): Likewise.
973         * config/msp430/floathidf.c (__floathidf): Likewise.
974         * config/msp430/floathisf.c (__floathisf): Likewise
975         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
976         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
977         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
978         second parameter.
979         (__ashrsi3): Likewise.
981 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
983         * config/m68k/linux-atomic.c: Do not include unistd.h
985 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
987         * config/arm/ieee754-df.S: Fix typos in comments.
989 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
991         PR target/70381
992         * configure.ac (powerpc*-*-linux*): Rework tests to build
993         __float128 emulation routines to not depend on using #pragma GCC
994         target to enable -mfloat128.
995         * configure: Regnerate.
997 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
999         PR target/67172
1000         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1001         __MINGW32__ is defined.
1003 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1005         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1007 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1009         PR libgcc/70363
1010         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1011         built with an assembler that does not support ISA 3.0
1012         instructions, rename __extendkftf2_sw to __extendkftf2.
1014 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1016         PR target/38239
1017         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1018         call-clobbered registers.
1019         (internal_mcount): Remove __i386__ handling.
1021 2016-02-26  Joel Sherrill <joel@rtems.org>
1023         * config.host: Add x86_64-*-rtems*.
1025 2016-02-26  Joel Sherrill <joel@rtems.org>
1027         * libgcc/config.host: Add aarch64-*-rtems*.
1029 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1030             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1032         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1033         union of u64 and double.
1034         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1035         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1036         value.
1037         (FP_ROUNDMODE): Update the usage of _fpscr.
1039 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1041         PR driver/68463
1042         * Makefile.in (crtoffloadtable$(objext)): New rule.
1043         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1044         enable_offload_targets is not empty.
1045         * configure: Regenerate.
1046         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1047         crtoffloadtable.
1049 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1051         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1052         .literal_position before the function.
1053         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1054         Likewise.
1056 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1058         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1059         * config/s390/morestack.S: New file.
1060         * config/s390/t-stack-s390: New file.
1061         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1063 2016-02-12  Walter Lee  <walt@tilera.com>
1065         * config.host (tilegx*-*-linux*): remove ti from
1066         softfp_int_modes for 32-bit configs.
1068 2016-02-10  Ian Lance Taylor  <iant@google.com>
1070         PR go/68562
1071         * config/i386/morestack.S (__stack_split_initialize): Align
1072         stack.
1074 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1076         PR bootstrap/69611
1077         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1078         __FLOAT128__ to compile only for __float128 capable targets.
1080 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1082         PR target/69444
1083         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1084         instead of ___NO_FPRS__.
1086 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1087             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1088             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1090         * config/rs6000/float128-sed: New files to convert TF names to KF
1091         names for PowerPC IEEE 128-bit floating point support.
1092         * config/rs6000/float128-sed-hw: Likewise.
1094         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1095         floating point hardware support.
1097         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1098         128-bit floating point software emulation or use ISA 3.0 hardware
1099         support if it is available.
1101         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1102         floating point.
1104         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1105         floating point to IBM extended double.
1107         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1108         double to IEEE 128-bit floating point.
1110         * config/rs6000/t-float128: New Makefile fragments to enable
1111         building __float128 emulation support.
1112         * config/rs6000/t-float128-hw: Likewise.
1114         * config/rs6000/sfp-exceptions.c: New file to provide exception
1115         support for IEEE 128-bit floating point.
1117         * config/rs6000/floattikf.c: New files for converting between IEEE
1118         128-bit floating point and signed/unsigned 128-bit integers.
1119         * config/rs6000/fixunskfti.c: Likewise.
1120         * config/rs6000/fixkfti.c: Likewise.
1121         * config/rs6000/floatuntikf.c: Likewise.
1123         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1124         when building on 64-bit systems, or when VSX is enabled.
1125         (_FP_W_TYPE): Likewise.
1126         (_FP_WS_TYPE): Likewise.
1127         (_FP_I_TYPE): Likewise.
1128         (TItype): Define on 64-bit systems.
1129         (UTItype): Likewise.
1130         (TI_BITS): Likewise.
1131         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1132         (_FP_MUL_MEAT_Q): Likewise.
1133         (_FP_DIV_MEAT_D): Likewise.
1134         (_FP_DIV_MEAT_Q): Likewise.
1135         (_FP_NANFRAC_D): Likewise.
1136         (_FP_NANFRAC_Q): Likewise.
1137         (ISA_BIT): Add exception support if we are being compiled on a
1138         machine with hardware floating point support to build the IEEE
1139         128-bit emulation functions.
1140         (FP_EX_INVALID): Likewise.
1141         (FP_EX_OVERFLOW): Likewise.
1142         (FP_EX_UNDERFLOW): Likewise.
1143         (FP_EX_DIVZERO): Likewise.
1144         (FP_EX_INEXACT): Likewise.
1145         (FP_EX_ALL): Likewise.
1146         (__sfp_handle_exceptions): Likewise.
1147         (FP_HANDLE_EXCEPTIONS): Likewise.
1148         (FP_RND_NEAREST): Likewise.
1149         (FP_RND_ZERO): Likewise.
1150         (FP_RND_PINF): Likewise.
1151         (FP_RND_MINF): Likewise.
1152         (FP_RND_MASK): Likewise.
1153         (_FP_DECL_EX): Likewise.
1154         (FP_INIT_ROUNDMODE): Likewise.
1155         (FP_ROUNDMODE): Likewise.
1157         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1158         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1159         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1160         floating point hardware instructions and it supports declaring
1161         functions with the ifunc attribute, enable ifunc functions to
1162         switch between software and hardware support.
1163         * configure.ac (powerpc*-*-linux*): Likewise.
1164         * configure: Regenerate.
1166 2016-01-15  Nick Clifton  <nickc@redhat.com>
1168         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1169         dependency as the source file to be compiled.
1170         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1171         (lib2hw_mul_f5.o): Likewise.
1173 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1175         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1176         * libgcc/config/rs6000/fixkfti.c: Likewise.
1177         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1178         * libgcc/config/rs6000/float128-hw.c: Likewise.
1179         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1180         * libgcc/config/rs6000/float128-sed: Likewise.
1181         * libgcc/config/rs6000/floattikf.c: Likewise.
1182         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1183         * libgcc/config/rs6000/quad-float128.h: Likewise.
1184         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1185         * libgcc/config/rs6000/sfp-machine.h: Likewise.
1186         * libgcc/config/rs6000/t-float128: Likewise.
1187         * libgcc/config/rs6000/t-float128-hw: Likewise.
1188         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1189         * libgcc/config.host: Likewise.
1190         * libgcc/configure: Likewise.
1191         * libgcc/configure.ac: Likewise.
1193 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1194             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1195             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1197         * config/rs6000/sfp-exceptions.c: New file to provide exception
1198         support for IEEE 128-bit floating point.
1200         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1201         floating point hardware support.
1203         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1204         point conversions.
1205         * config/rs6000/fixunskfti.c: Likewise.
1206         * config/rs6000/fixkfti.c: Likewise.
1207         * config/rs6000/floatuntikf.c: Likewise.
1208         * config/rs6000/extendkftf2-sw.c: Likewise.
1209         * config/rs6000/trunctfkf2-sw.c: Likewise.
1211         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1212         128-bit floating point software emulation or use ISA 3.0 hardware
1213         support if it is available.
1215         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1216         floating point.
1218         * config/rs6000/t-float128: New Makefile fragments to enable
1219         building __float128 emulation support.
1220         * config/rs6000/t-float128-hw: Likewise.
1222         * config/rs6000/float128-sed: New file to convert TF names to KF
1223         names for PowerPC IEEE 128-bit floating point support.
1225         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1226         when building on 64-bit systems, or when VSX is enabled.
1227         (_FP_W_TYPE): Likewise.
1228         (_FP_WS_TYPE): Likewise.
1229         (_FP_I_TYPE): Likewise.
1230         (TItype): Define on 64-bit systems.
1231         (UTItype): Likewise.
1232         (TI_BITS): Likewise.
1233         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1234         (_FP_MUL_MEAT_Q): Likewise.
1235         (_FP_DIV_MEAT_D): Likewise.
1236         (_FP_DIV_MEAT_Q): Likewise.
1237         (_FP_NANFRAC_D): Likewise.
1238         (_FP_NANFRAC_Q): Likewise.
1239         (ISA_BIT): Add exception support if we are being compiled on a
1240         machine with hardware floating point support to build the IEEE
1241         128-bit emulation functions.
1242         (FP_EX_INVALID): Likewise.
1243         (FP_EX_OVERFLOW): Likewise.
1244         (FP_EX_UNDERFLOW): Likewise.
1245         (FP_EX_DIVZERO): Likewise.
1246         (FP_EX_INEXACT): Likewise.
1247         (FP_EX_ALL): Likewise.
1248         (__sfp_handle_exceptions): Likewise.
1249         (FP_HANDLE_EXCEPTIONS): Likewise.
1250         (FP_RND_NEAREST): Likewise.
1251         (FP_RND_ZERO): Likewise.
1252         (FP_RND_PINF): Likewise.
1253         (FP_RND_MINF): Likewise.
1254         (FP_RND_MASK): Likewise.
1255         (_FP_DECL_EX): Likewise.
1256         (FP_INIT_ROUNDMODE): Likewise.
1257         (FP_ROUNDMODE): Likewise.
1259         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1260         compiler can do __float128.
1261         * configure: Regenerate.
1263         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1264         VSX code, enable IEEE 128-bit floating point.
1266 2016-01-05  Olivier Hainque  <hainque@adacore.com>
1268         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1269         specificities.
1271 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1273         Update copyright years.
1275 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
1277         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1278         soft-fp targets.
1280 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1282         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1283         instead of abort to avoid dependency on stdlib.h.
1285 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
1287         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1288         to initialize call to __dl_fixup once.
1290 2015-12-04  Nick Clifton  <nickc@redhat.com>
1292         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1293         Allow for the second argument being negative.
1294         * config.host (extra_parts): Define for MSP430.  Create separate
1295         libraries for each of the hardware multiply formats.
1296         * config/msp430/lib2hw_mul.S: Build only the multiply routines
1297         that are needed.
1298         * config/msp430/lib2mul.c: Likewise.
1299         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1300         Add rules to build hardware multiply libraries.
1301         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1302         __mspabi_divul function.
1303         (__mspabi_divllu): New stub function.
1305 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
1307         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1308         fixup values if saved GOT address doesn't match runtime address.
1309         (fixup_branch_offset): Reorder list.
1311 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1313         * Makefile.in (VTV_CFLAGS): New variable.
1314         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1315         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1316         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1317         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1318         to extra_parts if $enable_vtable_verify = yes.
1320 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1322         PR target/68059
1323         * config/arm/linux-atomic-64bit.c (__write): Rename to...
1324         (write): ...this and fix the return type.
1326 2015-11-19  DJ Delorie  <dj@redhat.com>
1328         * config/msp430/lib2hw_mul.S: Fix alignment.
1330 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
1332         * config/nvptx/reduction.c: New.
1333         * config/nvptx/t-nvptx (LIB2ADD): Add it.
1335 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
1337         * config/rs6000/on_exit.c: New file.
1338         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1339         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1341 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
1343         * config/arc/dp-hack.h: Add support for ARCHS.
1344         * config/arc/ieee-754/divdf3.S: Likewise.
1345         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1346         * config/arc/ieee-754/muldf3.S: Likewise.
1347         * config/arc/ieee-754/mulsf3.S: Likewise
1348         * config/arc/lib1funcs.S: Likewise
1349         * config/arc/gmon/dcache_linesz.S: Don't read the build register
1350         for ARCv2 cores.
1351         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1352         for ARCv2 cores.
1353         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1354         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1355         cores.
1357 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1359         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1360         value.
1361         * config/ia64/crtend.S: Likewise.
1363 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1365         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1366         __CHAR_BIT__ instead of BITS_PER_UNIT.
1367         * fixed-bit.h: Likewise.
1368         * fp-bit.h: Likewise.
1369         * libgcc2.c (__popcountSI2): Likewise.
1370         (__popcountDI2): Likewise.
1371         * libgcc2.h: Likewise.
1372         * libgcov.h: Likewise.
1374 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
1376         * config/rs6000/atexit.c: New file.
1377         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1378         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1379         * config/rs6000/cxa_finalize.c
1380         (catomic_compare_and_exchange_bool_acq): Negate return value.
1382 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1384         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1385         (processor_subtypes): Add znver1.
1386         (get_amd_cpu): Detect znver1.
1388 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
1390         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1391         Include crtfastmath.o.
1393 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
1395         PR libgcc/66883
1396         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1398 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
1400         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1401         * config/rl78/divmodsi.S: Update return register to r8.
1402         * config/rl78/divmodhi.S: Update return register to r8,r9.
1403         Branch to main_loop_done_himode to pop registers before return.
1405 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1407         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1408         (__cpu_indicator_init): Fix model selection for AMD CPUs.
1410 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
1412         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1414 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
1416         * config.host (xtensa*-*-uclinux*): New configuration.
1418 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
1420         * config/i386/cpuinfo.c (processor_features): Add
1421         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1423 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
1425         * soft-fp/adddf3.c: Update from glibc.
1426         * soft-fp/addsf3.c: Likewise.
1427         * soft-fp/addtf3.c: Likewise.
1428         * soft-fp/divdf3.c: Likewise.
1429         * soft-fp/divsf3.c: Likewise.
1430         * soft-fp/divtf3.c: Likewise.
1431         * soft-fp/double.h: Likewise.
1432         * soft-fp/eqdf2.c: Likewise.
1433         * soft-fp/eqsf2.c: Likewise.
1434         * soft-fp/eqtf2.c: Likewise.
1435         * soft-fp/extenddftf2.c: Likewise.
1436         * soft-fp/extended.h: Likewise.
1437         * soft-fp/extendsfdf2.c: Likewise.
1438         * soft-fp/extendsftf2.c: Likewise.
1439         * soft-fp/extendxftf2.c: Likewise.
1440         * soft-fp/fixdfdi.c: Likewise.
1441         * soft-fp/fixdfsi.c: Likewise.
1442         * soft-fp/fixdfti.c: Likewise.
1443         * soft-fp/fixsfdi.c: Likewise.
1444         * soft-fp/fixsfsi.c: Likewise.
1445         * soft-fp/fixsfti.c: Likewise.
1446         * soft-fp/fixtfdi.c: Likewise.
1447         * soft-fp/fixtfsi.c: Likewise.
1448         * soft-fp/fixtfti.c: Likewise.
1449         * soft-fp/fixunsdfdi.c: Likewise.
1450         * soft-fp/fixunsdfsi.c: Likewise.
1451         * soft-fp/fixunsdfti.c: Likewise.
1452         * soft-fp/fixunssfdi.c: Likewise.
1453         * soft-fp/fixunssfsi.c: Likewise.
1454         * soft-fp/fixunssfti.c: Likewise.
1455         * soft-fp/fixunstfdi.c: Likewise.
1456         * soft-fp/fixunstfsi.c: Likewise.
1457         * soft-fp/fixunstfti.c: Likewise.
1458         * soft-fp/floatdidf.c: Likewise.
1459         * soft-fp/floatdisf.c: Likewise.
1460         * soft-fp/floatditf.c: Likewise.
1461         * soft-fp/floatsidf.c: Likewise.
1462         * soft-fp/floatsisf.c: Likewise.
1463         * soft-fp/floatsitf.c: Likewise.
1464         * soft-fp/floattidf.c: Likewise.
1465         * soft-fp/floattisf.c: Likewise.
1466         * soft-fp/floattitf.c: Likewise.
1467         * soft-fp/floatundidf.c: Likewise.
1468         * soft-fp/floatundisf.c: Likewise.
1469         * soft-fp/floatunditf.c: Likewise.
1470         * soft-fp/floatunsidf.c: Likewise.
1471         * soft-fp/floatunsisf.c: Likewise.
1472         * soft-fp/floatunsitf.c: Likewise.
1473         * soft-fp/floatuntidf.c: Likewise.
1474         * soft-fp/floatuntisf.c: Likewise.
1475         * soft-fp/floatuntitf.c: Likewise.
1476         * soft-fp/gedf2.c: Likewise.
1477         * soft-fp/gesf2.c: Likewise.
1478         * soft-fp/getf2.c: Likewise.
1479         * soft-fp/ledf2.c: Likewise.
1480         * soft-fp/lesf2.c: Likewise.
1481         * soft-fp/letf2.c: Likewise.
1482         * soft-fp/muldf3.c: Likewise.
1483         * soft-fp/mulsf3.c: Likewise.
1484         * soft-fp/multf3.c: Likewise.
1485         * soft-fp/negdf2.c: Likewise.
1486         * soft-fp/negsf2.c: Likewise.
1487         * soft-fp/negtf2.c: Likewise.
1488         * soft-fp/op-1.h: Likewise.
1489         * soft-fp/op-2.h: Likewise.
1490         * soft-fp/op-4.h: Likewise.
1491         * soft-fp/op-8.h: Likewise.
1492         * soft-fp/op-common.h: Likewise.
1493         * soft-fp/quad.h: Likewise.
1494         * soft-fp/single.h: Likewise.
1495         * soft-fp/soft-fp.h: Likewise.
1496         * soft-fp/subdf3.c: Likewise.
1497         * soft-fp/subsf3.c: Likewise.
1498         * soft-fp/subtf3.c: Likewise.
1499         * soft-fp/truncdfsf2.c: Likewise.
1500         * soft-fp/trunctfdf2.c: Likewise.
1501         * soft-fp/trunctfsf2.c: Likewise.
1502         * soft-fp/trunctfxf2.c: Likewise.
1503         * soft-fp/unorddf2.c: Likewise.
1504         * soft-fp/unordsf2.c: Likewise.
1505         * soft-fp/unordtf2.c: Likewise.
1507 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
1509         PR libgcc/67624
1510         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1512 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1514         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1515         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1516         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1517         messages.
1518         (internal_mcount): Likewise.
1519         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1520         crt_compile, add CRTSTUFF_T_CFLAGS_S.
1522 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1524         * configure.ac (libgcc_cv_solaris_crts): New test.
1525         * configure: Regenerate.
1526         * config.in: Regenerate.
1527         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1528         * config/gmon-sol2.c: Rename to ...
1529         * config/sol2/gmon.c: ... this.
1530         Include auto-target.h.
1531         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1532         * config/t-sol2: Rename to ...
1533         * config/sol2/t-sol2: ... this.
1534         (gmon.o): Reflect renaming.
1535         (crtp.o, crtpg.o): New rules.
1536         * config.host (*-*-solaris2*): Reflect renaming.
1537         Use system CRTs if present.
1538         Remove default CRT case.
1540 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
1542         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1543         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1544         __kernel_cmpxchg2.
1545         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1546         (__sync_val_compare_and_swap_##WIDTH): Likewise.
1547         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1548         (__sync_lock_test_and_set_##WIDTH): Likewise.
1549         (__sync_lock_release_##WIDTH): Likewise.
1550         (__sync_fetch_and_##OP##_4): Change result to match type of
1551         __kernel_cmpxchg.
1552         (__sync_##OP##_and_fetch_4): Likewise.
1553         (__sync_val_compare_and_swap_4): Likewise.
1554         (__sync_bool_compare_and_swap_4): likewise.
1555         (__sync_lock_test_and_set_4): Likewise.
1556         (__sync_lock_release_4): Likewise.
1557         (FETCH_AND_OP_2): Add long long variants.
1558         (OP_AND_FETCH_2): Likewise.
1559         (COMPARE_AND_SWAP_2 ): Likewise.
1560         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1561         (SYNC_LOCK_RELEASE_2): Likewise.
1562         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1564 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
1566         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1567         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1568         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1569         (get_available_features): Habdle new features.
1571 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
1573         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1574         memory layout. Deal correctly with BSS region larger than 32K.
1575         Handle a watchdog reset like a power-on reset. Clean up unused
1576         code.
1578 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
1579             David Edelsohn  <dje.gcc@gmail.com>
1581         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1582         * config/rs6000/crtdbase.S: New file.
1583         * config/rs6000/t-aix-cxa: Build crtdbase.o.
1585 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
1587         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1588         Add support for call0 ABI.
1590 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
1592         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1594 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1596         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1597         (__GTHREAD_HAS_COND): Likewise.
1598         (__gthread_t): Likewise.
1599         (__gthread_cond_t): Likewise.
1600         (__gthread_time_t): Likewise.
1601         (__GTHREAD_MUTEX_INIT): Likewise.
1602         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1603         (__GTHREAD_COND_INIT): Likewise.
1604         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1605         (__GTHREAD_TIME_INIT): Likewise.
1606         (__gthread_create): Likewise.
1607         (__gthread_join): Likewise.
1608         (__gthread_detach): Likewise.
1609         (__gthread_equal): Likewise.
1610         (__gthread_self): Likewise.
1611         (__gthread_yield): Likewise.
1612         (__gthread_cond_broadcast): Likewise.
1613         (__gthread_cond_signal): Likewise.
1614         (__gthread_cond_wait): Likewise.
1615         (__gthread_cond_timedwait): Likewise.
1616         (__gthread_cond_wait_recursive): Likewise.
1617         (__gthread_cond_destroy): Likewise.
1618         (rtems_gxx_once): Delete.
1619         (rtems_gxx_key_create): Likewise.
1620         (rtems_gxx_key_delete): Likewise.
1621         (rtems_gxx_getspecific): Likewise.
1622         (rtems_gxx_setspecific): Likewise.
1623         (rtems_gxx_mutex_init): Likewise.
1624         (rtems_gxx_mutex_destroy): Likewise.
1625         (rtems_gxx_mutex_lock): Likewise.
1626         (rtems_gxx_mutex_trylock): Likewise.
1627         (rtems_gxx_mutex_unlock): Likewise.
1628         (rtems_gxx_recursive_mutex_init): Likewise.
1629         (rtems_gxx_recursive_mutex_lock): Likewise.
1630         (rtems_gxx_recursive_mutex_trylock): Likewise.
1631         (rtems_gxx_recursive_mutex_unlock): Likewise.
1632         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1633         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1634         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1635         (__gthread_once): Likewise.
1636         (__gthread_key_create): Likewise.
1637         (__gthread_key_delete): Likewise.
1638         (__gthread_getspecific): Likewise.
1639         (__gthread_setspecific): Likewise.
1640         (__gthread_key_t): Use <pthread.h> type.
1641         (__gthread_once_t): Likewise
1642         (__gthread_mutex_t): Use <sys/lock.h> type.
1643         (__gthread_recursive_mutex_t): Likewise
1644         (__gthread_mutex_lock): Use <sys/lock.h> function.
1645         (__gthread_mutex_trylock): Likewise.
1646         (__gthread_mutex_timedlock): Likewise.
1647         (__gthread_mutex_unlock): Likewise.
1648         (__gthread_mutex_destroy): Likewise.
1649         (__gthread_recursive_mutex_lock): Likewise.
1650         (__gthread_recursive_mutex_trylock): Likewise.
1651         (__gthread_recursive_mutex_timedlock): Likewise.
1652         (__gthread_recursive_mutex_unlock): Likewise.
1653         (__gthread_recursive_mutex_destroy): Likewise.
1655 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1657         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1658         context->sp instead of context->cfa.
1660 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1662         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1663         with unwind-dw2-fde-dip.
1665 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
1667         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1668         CALL12 followed by series of ENTRY to spill windowed registers.
1669         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1670         instead of making linux spill syscall.
1672 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
1674         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1675         (get_intel_cpu): Likewise.
1677 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1679         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1680         (get_intel_cpu): Add Knights Landing support.
1682 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
1684         PR target/66954
1685         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1686         (get_available_features): Handle FEATURE_PCLMUL.
1688 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
1690         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1691         Broadwell.
1693 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
1695         PR target/66954
1696         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1697         (get_available_features): Handle FEATURE_AES.
1699 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
1701         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1702         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1704 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
1706         * offloadstuff.c: Constify host data.
1708 2015-07-17  Jan Beulich  <jbeulich@suse.com>
1710         * config/t-softfp: Split up "else ifneq".
1712 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
1713             Cesar Philippidis  <cesar@codesourcery.com>
1714             Chung-Lin Tang  <cltang@codesourcery.com>
1716         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1717         for __nios2_arch__ level.
1719 2015-07-13  John Marino  <gnugcc@marino.st>
1721         * config/i386/t-dragonfly: New.
1723 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
1725         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1726         better match light-weight syscall argument order.
1727         (__kernel_cmpxchg2): Likewise.
1728         Adjust callers.
1730 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1732         * config.host: Support i[34567]86-*-elfiamcu target.
1733         * config/t-softfp-sfdftf: New file.
1734         * config/i386/32/t-iamcu: Likewise.
1735         * configure: Regenerated.
1737 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
1739         libgcc/config/arm/
1740         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1742 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
1744         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1746 2015-05-27  John Marino  <gnugcc@marino.st>
1748         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1749         md_unwind_header
1750         * config/i386/freebsd-unwind.h: New.
1752 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
1754         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1755         i386/t-crtfm to tmake_file.
1756         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1757         (set_fast_math): Use set_fast_math_sse for SSE targets.
1758         * config/i386/t-crtfm: Remove.
1760 2015-05-21  Alan Modra  <amodra@gmail.com>
1762         PR libgcc/66225
1763         * config/rs6000/morestack.S: Remove ".abiversion 1".
1765 2015-05-20  Alan Modra  <amodra@gmail.com>
1767         * config/rs6000/morestack.S: New.
1768         * config/rs6000/t-stack-rs6000: New.
1769         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1770         to tmake_file.
1771         * generic-morestack.c: Don't build for powerpc 32-bit.
1773 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
1775         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1776         Remove useless endif/ifneq ($(enable_shared),yes) pair.
1778 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
1780         * config.host: FT32 target added.
1781         * config/ft32/*: New files for FT32 target.
1783 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
1785         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1786         New macros.
1787         * config/arm/ieee754-df.S: Add CFI directives.
1788         * config/arm/ieee754-sf.S: Add CFI directives.
1790 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
1792         * configure.ac: Include config/sjlj.m4.
1793         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1794         * config.in: Regenerate.
1795         * configure: Likewise.
1796         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1798 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
1800         * libgcov-util.c: Add space between string literal and macro name.
1802 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
1803             Chris Jones  <chrisj@nvidia.com>
1804             Joshua Conner  <jconner@nvidia.com>
1806         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1807         (arm*-*-uclinux*): Likewise.
1808         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1809         * config/arm/crtfastmath.c: New file.
1811 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
1813         * Makefile.in (real_host_noncanonical): New variable.
1814         (libsubdir): Use it.
1815         * configure.ac (real_host_noncanonical): Compute.  Remove special
1816         case for intelmicemul.
1817         * configure: Regenerate.
1819 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1821         * config/frv/elf-lib.h: New file.
1822         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1823         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1824         to tm_file.
1826 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
1828         * config/frv/frvbengin.c: Do not include defaults.h
1829         * config/frv/frvend.c: Ditto.
1831 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
1833         * config.host: Add h8300-*-linux
1834         * config/h8300/t-linux: New file.
1835         * config/h8300/lib1funs.s: Change symbol prefix.
1836         * config/h8300/sfp-machine.h: 64bit double support.
1838 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
1839             Szabolcs Nagy  <szabolcs.nagy@arm.com>
1841         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1842         Linux if target provides dl_iterate_phdr.
1844 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
1846         PR target/65612
1847         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1848         * config/i386/cpuinfo.c (__cpu_model): Initialize.
1849         (__cpu_indicator_init@GCC_4.8.0): New.
1850         (__cpu_model@GCC_4.8.0): Likewise.
1851         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1852         -DUSE_ELF_SYMVER.
1854 2015-04-16  Nick Clifton  <nickc@redhat.com>
1856         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1857         and __modhi3 functions.
1858         * config/rl78/divmodso.S: Add G14 and G13 versions of the
1859         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1861 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
1863         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1864         do-while loop as macro body to avoid warnings.
1866 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
1867             Iain Sandoe  <iain@codesourcery.com>
1869         PR target/65351
1870         * configure: Regenerate.
1872 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
1873             Iain Sandoe  <iain@codesourcery.com>
1875         PR target/65351
1876         * configure: Regenerate.
1878 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
1880         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1882 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
1884         Implement call0 ABI for xtensa
1885         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1886         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1887         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1888         use ret in call0 ABI.
1889         * config/xtensa/t-windowed: New file.
1890         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1891         * libgcc/configure: Regenerated.
1892         * libgcc/configure.ac: Check if xtensa target is configured for
1893         windowed ABI and thus needs to use custom unwind code.
1895 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
1897         PR libgcc/64885
1898         * gthr-single.h: Use __unused__ attribute instead of unused.
1899         * config/gthr-vxworks.h: Likewise.
1900         * config/i386/gthr-win32.h: Likewise.
1902 2015-02-27  Kai Tietz  <ktietz@redhat.com>
1904         PR target/65038
1905         * config.in: Regenerated.
1906         * configure: Likewise.
1907         * configure.ac (AC_HEADER_STDC): Added explicit.
1908         (AC_CHECK_HEADERS): Check for default headers  plus
1909         for ftw.h header.
1910         * libgcov-util.c (gcov_read_profile_dir): Disable use
1911         of ftw-function, if header is not found.
1912         (ftw_read_file): Likewise.
1914 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
1916         PR target/65181
1917         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
1918         -Dinhibit_libc.
1920 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
1922         * config/arm/bpabi.S (test_div_by_zero): Make label names
1923         consistent between thumb2 and arm mode cases.  Separate the
1924         signed comparison on the high word of the numerator from the
1925         unsigned comparison on the low word.
1926         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
1927         signed comparison.
1929 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1931         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
1932         and <string.h>.
1933         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
1935 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
1937         PR gcov-profile/61889
1938         * libgcov-driver-system.c: undefine clashing macro for mkdir.
1940 2015-02-02  Nick Clifton  <nickc@redhat.com>
1942         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
1943         rounding up the fraction.
1945 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
1947         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
1948         oldval and newval to const void *.  Fix typo.
1949         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
1950         (FETCH_AND_OP_WORD): Likewise.
1951         (OP_AND_FETCH_WORD): Likewise.
1952         (COMPARE_AND_SWAP_2): Likewise.
1953         (__sync_val_compare_and_swap_4): Likewise.
1954         (__sync_lock_test_and_set_4): Likewise.
1955         (SYNC_LOCK_RELEASE_2): Likewise.
1956         Remove support for long long atomic operations.
1958 2015-01-27  Caroline Tice  <cmtice@google.com>
1960         Committing VTV Cywin/Ming patch for Patrick Wollgast
1961         * Makefile.in: Move rules to build vtv_*.o out of the check
1962         for CUSTOM_CRTSTUFF.
1963         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
1964         i[34567]86-*-mingw*)
1965          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
1966         enable_vtable_verify.
1968 2015-01-27  Nick Clifton  <nickc@redhat.com>
1970         * config/rl78/cmpsi2.S: Use function start and end macros.
1971         (__gcc_bcmp): New function.
1972         * config/rl78/lshrsi3.S: Use function start and end macros.
1973         * config/rl78/mulsi3.S: Add support for G10.
1974         (__mulqi3): New function for G10.
1975         * config/rl78/signbit.S: Use function start and end macros.
1976         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
1977         fpmath-sf.S.
1978         (LIB2FUNCS_EXCLUDE): Define.
1979         (LIB2FUNCS_ST): Define.
1980         * config/rl78/trampoline.S: Use function start and end macros.
1981         * config/rl78/vregs.h (START_FUNC): New macro.
1982         (START_ANOTHER_FUNC): New macro.
1983         (END_FUNC): New macro.
1984         (END_ANOTHER_FUNC): New macro.
1985         * config/rl78/bit-count.S: New file.  Contains assembler
1986         implementations of the bit counting functions: ___clzhi2,
1987         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1988         __paritysi2, __popcounthi2 and __popcountsi2.
1989         * config/rl78/fpbit-sf.S: New file.  Contains assembler
1990         implementationas of the math functions: __negsf2, __cmpsf2,
1991         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1992         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
1993         * config/rl78/fpmath-sf.S: New file.  Contains assembler
1994         implementations of the math functions: __subsf3, __addsf3,
1995         __mulsf3 and __divsf3
1997 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1999         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2000         Add i386/elf-lib.h to tm_file.
2001         * config/i386/elf-lib.h: Fix comment.
2002         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2003         && __sun__ && __svr4__]: Remove workaround.
2005 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2007         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2008         FEATURE_BMI2.
2009         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2011 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2013         * config/i386/cpuinfo.c (processor_subtypes): Add
2014         INTEL_COREI7_BROADWELL.
2015         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2016         model numbers.
2018 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2020         * config/i386/elf-lib.h: New file.
2021         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2022         Wrap definition in #ifdef __i386__.
2023         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2024         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2025         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2026         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2027         to tm_file.
2029 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2031         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2032         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2034 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2036         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2037         Update rt_sigframe format and address for current Nios II
2038         Linux conventions.
2040 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2042         * config.host (arm*-*-freebsd*): Add new configuration for
2043         arm*-*-freebsd*.
2044         * config/arm/freebsd-atomic.c: New file.
2045         * config/arm/t-freebsd: Likewise.
2046         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2047         'PC-relative indirect' OS's.
2049 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2051         * config.host: Add Visium support.
2052         * config/visium: New directory.
2054 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2056         Update copyright years.
2058 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2060         * config.host: Support mipsisa32r6 and mipsisa64r6.
2061         * config/mips/mips16.S: Do not build for R6.
2063 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2065         * config/sh/crt.h: New.
2066         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2067         symbols.
2068         * config/sh/crt1.S: Likewise.
2070 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2072         PR libgcc/63832
2073         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2074         func_ptr *dtor_list temporary variable to avoid "array subscript
2075         is above array bounds" warnings.
2077 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2079         * Makefile.in (with_aix_soname): Define.
2080         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2081         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2082         * configure: Recreate.
2084 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2086         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2087         now provided by defaults.h.
2089 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2091         PR target/55351
2092         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2093         whether it's defined.
2095 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2097         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2098         * config/i386/cpuinfo.c (get_available_features): Detect it.
2100 2014-11-27  Tony Wang  <tony.wang@arm.com>
2102         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2103         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2104         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2106 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2108         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2110 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2112         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2113         instead.
2115 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2116             John David Anglin  <danglin@gcc.gnu.org>
2118         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2119         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2120         (OP_AND_FETCH_2): Likewise.
2121         (COMPARE_AND_SWAP_2): Likewise.
2122         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2123         (SYNC_LOCK_RELEASE_2): Likewise.
2124         (SUBWORD_SYNC_OP): Remove.
2125         (SUBWORD_VAL_CAS): Likewise.
2126         (SUBWORD_BOOL_CAS): Likewise.
2127         (FETCH_AND_OP_WORD): Update.
2128         Consistently use signed types.
2130 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2131             Thomas Schwinge  <thomas@codesourcery.com>
2132             Ilya Verbin  <ilya.verbin@intel.com>
2133             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2135         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2136         (crtoffloadend$(objext)): Likewise.
2137         * configure: Regenerate.
2138         * configure.ac (accel_dir_suffix): Compute new variable.
2139         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2140         if enable_offload_targets is not empty.
2141         * offloadstuff.c: New file.
2143 2014-11-13  Nick Clifton  <nickc@redhat.com>
2145         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2146         Use START_FUNC and END_FUNC macros to enable linker garbage
2147         collection.
2148         * config/rl78/divmodqi.S: Likewise.
2149         * config/rl78/divmodsi.S: Likewise.
2150         * config/rl78/mulsi3.S: Likewise.
2151         * config/rl78/lib2div.c: Remove G10 functions.
2152         * config/rl78/lib2muls.c: Likewise.
2153         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2154         * config/rl78/vregs.h (START_FUNC): New macro.
2155         (END_FUNC): New macro.
2157 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2159         * config/mips/mips16.S: Set .module when supported.  Update O32
2160         FP64 calling convention and use for FPXX when possible.  Add FPXX
2161         calling convention fallback case.
2163 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2165         * config.host: Handle nvptx-*-*.
2166         * shared-object.mk (as-flags-$o): Define.
2167         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2168         -xassembler-with-cpp.
2169         * static-object.mk: Identical changes.
2170         * config/nvptx/t-nvptx: New file.
2171         * config/nvptx/crt0.s: New file.
2172         * config/nvptx/free.asm: New file.
2173         * config/nvptx/malloc.asm: New file.
2174         * config/nvptx/realloc.c: New file.
2176 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2178         * Makefile.in (libgcc.map.in): New target.
2179         (libgcc.map): Use libgcc.map.in.
2180         * config/t-softfp (softfp_compat): New variable to be set by
2181         users.
2182         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2183         variables.
2184         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2185         directory.
2186         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2187         that use compat symbols and disable all code unless [SHARED].
2188         * config/t-softfp-compat: New file.
2189         * find-symver.awk: New file.
2190         * configure.ac (--with-glibc-version): New configure option.
2191         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2192         * configure: Regenerate.
2193         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2194         soft-float and e500.
2196 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
2198         * config/t-hardfp (hardfp_exclusions): Document new variable for
2199         user to define.
2200         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2201         * config/t-softfp (softfp_extras): Document new variable for user
2202         to define.
2203         (softfp_func_list): Add functions from $(softfp_extras).
2204         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2205         * config.host (powerpc*-*-linux*): For e500v1, use
2206         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2207         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2208         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2210 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
2212         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2213         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2214         memory read accesses are ok.
2216 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
2218         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2219         * configure: Regenerate.
2220         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2221         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
2222         of soft-fp for 32-bit classic hard float.  Do not use
2223         t-softfp-excl for soft float.
2225 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
2227         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2228         configurations.
2229         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2230         Remove variables.
2232 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
2234         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2235         introduced with 2014-10-21 trunk r216525.
2237 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
2238             Vidya Praveen  <vidya.praveen@atmel.com>
2239             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
2240             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
2241             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
2243         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2244         order.
2246         Updated library functions for AVRTINY arch.
2247         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2248         Replaced occurrences of r0/r1 with tmp/zero reg macros.
2249         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2250         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2251         wsubi/wadi macors.
2252         (__mulsi3_helper): Update stack, preserve callee saved regs and
2253         argument from stack. Restore callee save registers.
2254         (__mulpsi3): Likewise.
2255         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2256         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2257         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2258         AVRTINY.
2259         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2260         (__do_copy_data): Added new definition for AVRTINY.
2261         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2262         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2263         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2264         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2265         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2266         macors.
2267         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2268         AVRTINY.
2270         Fix broken long multiplication on tiny arch.
2272 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2274         * soft-fp/double.h: Update from glibc.
2275         * soft-fp/eqdf2.c: Likewise.
2276         * soft-fp/eqsf2.c: Likewise.
2277         * soft-fp/eqtf2.c: Likewise.
2278         * soft-fp/extenddftf2.c: Likewise.
2279         * soft-fp/extended.h: Likewise.
2280         * soft-fp/extendsfdf2.c: Likewise.
2281         * soft-fp/extendsftf2.c: Likewise.
2282         * soft-fp/extendxftf2.c: Likewise.
2283         * soft-fp/gedf2.c: Likewise.
2284         * soft-fp/gesf2.c: Likewise.
2285         * soft-fp/getf2.c: Likewise.
2286         * soft-fp/ledf2.c: Likewise.
2287         * soft-fp/lesf2.c: Likewise.
2288         * soft-fp/letf2.c: Likewise.
2289         * soft-fp/op-1.h: Likewise.
2290         * soft-fp/op-2.h: Likewise.
2291         * soft-fp/op-4.h: Likewise.
2292         * soft-fp/op-8.h: Likewise.
2293         * soft-fp/op-common.h: Likewise.
2294         * soft-fp/quad.h: Likewise.
2295         * soft-fp/single.h: Likewise.
2296         * soft-fp/soft-fp.h: Likewise.
2297         * soft-fp/unorddf2.c: Likewise.
2298         * soft-fp/unordsf2.c: Likewise.
2299         * soft-fp/unordtf2.c: Likewise.
2300         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2301         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2302         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2303         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2304         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2305         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2306         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2307         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2308         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2309         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2311 2014-10-08  Rong Xu  <xur@google.com>
2313         * libgcov-util.c (read_gcda_file): Fix format.
2314         (find_match_gcov_info): Ditto.
2315         (calculate_2_entries): New.
2316         (compute_one_gcov): Ditto.
2317         (gcov_info_count_all_cold): Ditto.
2318         (gcov_info_count_all_zero): Ditto.
2319         (extract_file_basename): Ditto.
2320         (get_file_basename): Ditto.
2321         (set_flag): Ditto.
2322         (matched_gcov_info): Ditto.
2323         (calculate_overlap): Ditto.
2324         (gcov_profile_overlap): Ditto.
2325         * libgcov-driver.c (compute_summary): Make
2326         it avavilable for external calls.
2328 2014-10-06  Rong Xu  <xur@google.com>
2330         * Makefile.in: Ditto.
2331         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2332         (gcov_sort_icall_topn_counter): Ditto.
2333         (gcov_sort_topn_counter_arrays): Ditto.
2334         (dump_one_gcov): Sort indirect_call topn counters.
2335         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2336         function.
2337         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2338         utility function.
2339         (__gcov_indirect_call_topn_profiler): New profiler function.
2340         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2341         * libgcov.h: New decls.
2343 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
2345         * config.host: Remove support for score-*.
2347 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2349         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2350         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2351         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2352         __LIBGCC_XF_MANT_DIG__.
2353         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2354         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2355         __LIBGCC_TF_MANT_DIG__.
2356         * libgcc2.c (NOTRUNC): Define in terms of
2357         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2358         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2360 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
2362         PR target/63312
2363         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2364         New macros.
2366 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
2368         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2369         override USE_PT_GNU_EH_FRAME.
2370         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2371         check USE_EH_FRAME_REGISTRY_ALWAYS against
2372         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2373         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2374         variable for substituted force_explicit_eh_registry.
2375         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2376         * configure.ac (explicit-exception-frame-registration):
2377         New AC_ARG_ENABLE.
2378         * configure: Regenerate.
2380 2014-09-19  Olivier Hainque  <hainque@adacore.com>
2382         * config.host (powerpc-wrs-vxworksmils): New configuration,
2383         same as vxworksae.
2385 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2387         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2389 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
2391         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2392         bits not set bits as indicating trapping exceptions.
2394 2014-09-17  Nathan sidwell  <nathan@acm.org>
2396         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2397         (LIBGCOV_DRIVER): ... here.
2398         * libgcov-driver.c (gcov_master): New.
2399         (gcov_exit): Remove from master chain.
2400         (__gcov_init): Add to master chain if version compatible.  Don't
2401         clear the version.
2402         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2403         (gcov_reset_int): Clear master chain, if compatible.
2404         (gcov_dump_int): New internal interface.  Dump master chain, if
2405         compatible.
2406         (gcov_dump): Alias for gcov_dump_int.
2407         * libgcov.h (struct gcov_root): Add next and prev fields.
2408         (struct gcov_master): New struct.
2409         (__gcov_master): New.
2410         (gcov_dump_int): Declare.
2412 2014-09-17  Olivier Hainque  <hainque@adacore.com>
2414         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2415         and crtbegin.o + crtend.o to extra_parts.
2417 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2419         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2420         __LIBGCC_HAS_SF_MODE__.
2421         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2422         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2423         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2424         * config/libbid/bid_gcc_intrinsics.h
2425         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2426         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2427         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2428         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2429         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2430         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2432 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
2434         PR target/63223
2435         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2436         and R24 as needed.  Make work for all devices and .text locations.
2437         (__do_global_ctors, __do_global_dtors): Use word addresses.
2438         (__tablejump__, __tablejump_elpm__): Remove functions.
2439         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2440         Add _tablejump2.
2441         (XICALL, XIJMP): New macros.
2443 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2444         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2446         * config.host (aarch64*): Include crtfastmath.o and
2447         t-crtfm.
2448         * config/aarch64/crtfastmath.c: New file.
2450 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
2452         * config.host: Remove picochip support.
2453         * config/picochip/adddi3.S: Remove.
2454         * config/picochip/ashlsi3.S: Remove.
2455         * config/picochip/ashlsi3.c: Remove.
2456         * config/picochip/ashrsi3.S: Remove.
2457         * config/picochip/ashrsi3.c: Remove.
2458         * config/picochip/clzsi2.S: Remove.
2459         * config/picochip/cmpsi2.S: Remove.
2460         * config/picochip/divmod15.S: Remove.
2461         * config/picochip/divmodhi4.S: Remove.
2462         * config/picochip/divmodsi4.S: Remove.
2463         * config/picochip/lib1funcs.S: Remove.
2464         * config/picochip/longjmp.S: Remove.
2465         * config/picochip/lshrsi3.S: Remove.
2466         * config/picochip/lshrsi3.c: Remove.
2467         * config/picochip/parityhi2.S: Remove.
2468         * config/picochip/popcounthi2.S: Remove.
2469         * config/picochip/setjmp.S: Remove.
2470         * config/picochip/subdi3.S: Remove.
2471         * config/picochip/t-picochip: Remove.
2472         * config/picochip/ucmpsi2.S: Remove.
2473         * config/picochip/udivmodhi4.S: Remove.
2474         * config/picochip/udivmodsi4.S: Remove.
2476 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2478         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2479         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2480         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2481         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2482         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
2483         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2484         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
2485         defined and LIBGCC2_HAS_DF_MODE is defined.
2486         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
2487         defined and LIBGCC2_HAS_XF_MODE is defined.
2488         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
2489         defined and LIBGCC2_HAS_TF_MODE is defined.
2491 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
2493         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2494         and ROUND_TOWARDS_ZERO conditionals.
2496 2014-09-07  Nathan sidwell  <nathan@acm.org>
2498         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2499         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
2501 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
2503         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2504         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2505         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2506         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2507         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2508         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2509         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2510         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2511         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2512         (DWARF_FRAME_REGISTERS): Change all uses to
2513         __LIBGCC_DWARF_FRAME_REGISTERS__.
2514         (EH_RETURN_STACKADJ_RTX): Change all uses to
2515         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2516         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2517         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
2518         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2519         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2520         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2521         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2522         to __LIBGCC_EH_FRAME_SECTION_NAME__.
2523         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2524         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2525         __LIBGCC_STACK_POINTER_REGNUM__.
2526         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2527         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2528         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2529         to __LIBGCC_STACK_POINTER_REGNUM__.
2530         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2531         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2532         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2533         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2534         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2535         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2536         (STACK_POINTER_REGNUM): Change all uses to
2537         __LIBGCC_STACK_POINTER_REGNUM__.
2538         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2539         use to __LIBGCC_STACK_POINTER_REGNUM__.
2540         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2541         uses to __LIBGCC_STACK_POINTER_REGNUM__.
2542         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2543         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2544         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2545         to __LIBGCC_DWARF_FRAME_REGISTERS__.
2546         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2547         to __LIBGCC_STACK_POINTER_REGNUM__.
2548         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2549         Remove conditional definition.
2550         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2551         __LIBGCC_TEXT_SECTION_ASM_OP__.
2552         (EH_FRAME_SECTION_NAME): Change all uses to
2553         __LIBGCC_EH_FRAME_SECTION_NAME__.
2554         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2555         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2556         (CTORS_SECTION_ASM_OP): Change all uses to
2557         __LIBGCC_CTORS_SECTION_ASM_OP__.
2558         (DTORS_SECTION_ASM_OP): Change all uses to
2559         __LIBGCC_DTORS_SECTION_ASM_OP__.
2560         (JCR_SECTION_NAME): Change all uses to
2561         __LIBGCC_JCR_SECTION_NAME__.
2562         (INIT_SECTION_ASM_OP): Change all uses to
2563         __LIBGCC_INIT_SECTION_ASM_OP__.
2564         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2565         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2566         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2567         __LIBGCC_STACK_GROWS_DOWNWARD__.
2568         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2569         __LIBGCC_INIT_SECTION_ASM_OP__.
2570         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2571         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2572         (EH_FRAME_SECTION_NAME): Change all uses to
2573         __LIBGCC_EH_FRAME_SECTION_NAME__.
2574         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2575         definitions.  Change all uses to
2576         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2577         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2578         __LIBGCC_STACK_GROWS_DOWNWARD__.
2579         (DWARF_FRAME_REGISTERS): Change all uses to
2580         __LIBGCC_DWARF_FRAME_REGISTERS__.
2581         (EH_RETURN_STACKADJ_RTX): Change all uses to
2582         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2583         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2584         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2585         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2586         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2587         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2589 2014-09-02  Nathan sidwell  <nathan@acm.org>
2591         * libgcov-interface.c (STRONG_ALIAS): New.
2592         (__gcov_flush): Call __gcov_reset_int.
2593         (__gcov_reset): Strong alias for ...
2594         (__gcov_reset_ing): ... this renamed hidden version.
2595         * libgcov.h (__gcov_reset_int): New declaration.
2597 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
2599         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2600         call from here...
2601         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2602         (__dso_handle): Define on Cygwin.
2603         * config/i386/t-cygming (crtbeginS.o): New rule.
2604         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2606         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2607         declaration syntax.
2609 2014-08-13  Steve Ellcey  <sellcey@mips.com>
2611         * crtstuff.c: Undef caddr_t.
2613 2014-08-12  Steve Ellcey  <sellcey@mips.com>
2615         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
2617 2014-08-07  Nathan Sidwell  <nathan@acm.org>
2619         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2620         (LIBGCOV_DRIVER): ... to here.
2621         * libgcov.h (gcov_do_dump): New #define.
2622         (struct gcov_root): New.
2623         (__gcov_root): New declaration.
2624         (__gcov_dump_one): Declare.
2625         * libgcov-driver.c (gcov_list, gcov_dump_complete,
2626         run_accounted): Delete.
2627         (gcov_compute_histogram): Add LIST argument, adjust.
2628         (compute_summary): Adjust gcov_compute_histogram call.
2629         (gcov_do_dump): Not hidden, static in libgcov.
2630         (gcov_clear): Move  to interface.c.
2631         (__gcov_dump_one): New, broken out of ...
2632         (gcov_exit): ... here.  Make static.
2633         (__gcov_root): New.
2634         (__gcov_init): Adjust.
2635         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2636         declarations.
2637         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2638         (gcov_clear): Moved from driver.c.   Add LIST argument.
2639         (__gcov_reset): Adjust for changed interfaces.
2640         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2642 2014-08-04  Rohit  <rohitarulraj@freescale.com>
2644         PR target/60102
2645         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2646         based on change in SPE high register numbers and 3 HTM registers.
2648 2014-08-01  Nathan Sidwell  <nathan@acm.org>
2650         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2651         LIBGCOV_INTERFACE): Reformat.
2652         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2653         IN_GCOV_TOOL.
2654         * libgcov-interface.c: Reformat some comments.
2655         (__gcov_flush_mx): Add declaration.  Tidy up definition.
2657 2014-07-31  Alan Modra  <amodra@gmail.com>
2658             Peter Bergner  <bergner@vnet.ibm.com>
2660         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2661         (pack_ldouble): New function.
2662         (__gcc_qadd): Use it.
2663         (__gcc_qmul): Likewise.
2664         (__gcc_qdiv): Likewise.
2665         (__gcc_qneg): Likewise.
2666         (__gcc_stoq): Likewise.
2667         (__gcc_dtoq): Likewise.
2669 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
2671         * config/s390/tpf-unwind.h: Include <stdbool.h>.
2672         (__tpf_eh_return): Add original return address as second parameter.
2673         Handle cases where unwinder routines were called directly, instead
2674         of from within the C++ library.
2676 2014-07-29  Nathan Sidwell  <nathan@acm.org>
2678         * libgcov.h: Move renaming of entry points to lib gcov specific
2679         portion.
2680         (gcov_do_dump): New rename.
2681         (gcov_rewrite): Remove inline, make HIDDEN.
2682         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2683         (gcov_exit_compute_summary): Rename to ...
2684         (compute_summary): ... here.  Add LIST argument.
2685         (gcov_exit_merge_gcda): Rename to ...
2686         (merge_one_data): ... here.
2687         (gcov_exit_write_gcda): Rename to ...
2688         (write_one_data): ... here.
2689         (gcov_exit_merge_summary): Rename to ...
2690         (merge_summary): Add RUN_COUNTED argument.
2691         (gcov_exit_dump_gcov): Rename to ...
2692         (dump_one_gcov): Add RUN_COUNTED argument.
2693         (gcov_do_dump): New function, broken out of ...
2694         (gcov_exit): ... here.  Call it.
2696 2014-07-27  Anthony Green  <green@moxielogic.com>
2698         * config.host: Add moxiebox configuration suppport.
2700 2014-07-27  Nathan Sidwell  <nathan@acm.org>
2702         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2703         (struct gcov_filename): ... here.  Include buffer and max length
2704         fields.
2705         (gcov_max_filename): Remove.
2706         (gi_filename): Remove.
2707         (gcov_exit_compute_summary): Compute max filename here.
2708         (gcov_exit_merge_gcda): Add filename parm, adjust.
2709         (gcov_exit_merge_summary): Likewise.
2710         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2711         (gcov_exit): Likewise.
2712         (__gcov_init): Don't calculate max length here.
2713         * libgcov_util.c (max_filename_len): Remove.
2714         (read_gcda_file): Don't calculate max length here.
2715         (gcov_read_profile_dir): Don't propagate here.
2716         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2717         struct gcov_filename changes.
2718         (gcov_exit_open_gcda_file): Likewise.
2720 2014-07-25  Nathan Sidwell  <nathan@acm.org>
2722         * libgcov-driver.c (set_gcov_dump_complete,
2723         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2724         functions polluting user's namespace.
2725         (gcov_exit): Set variable directly.
2726         (gcov_clear): Reset variable directly.
2727         * libgcov-interface.c (get_gcov_dymp_complete,
2728         reset_gov_dump_complete): Remove declarations.
2729         (__gcov_reset, __gcov_dump): Don't call them.
2731 2014-07-24  DJ Delorie  <dj@redhat.com>
2733         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
2734         (__gcc_deregister_frame): Move logic to detect deregister function
2735         to ...
2736         (__gcc_register_frame): here, so it's consistent with the register
2737         logic.
2739 2014-07-23  Nathan Sidwell  <nathan@acm.org>
2741         * libgcov-driver.c (set_gcov_list): Remove.
2742         (gcov_list): Make non-static in GCOV_TOOL.
2743         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2745 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
2747         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2748         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2749         Don't use SYNC_LOCK_RELEASE for int type.
2751 2014-07-14  Richard Biener  <rguenther@suse.de>
2753         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2755 2014-07-11  Rong Xu  <xur@google.com>
2757         * libgcov-util.c (gcov_max_filename): Fix declartion.
2759 2014-07-10  Rong Xu  <xur@google.com>
2761         Add gcov-tool: an offline gcda profile processing tool
2762         Support.
2763         * libgcov-driver.c (gcov_max_filename): Make available
2764         to gcov-tool.
2765         * libgcov-merge.c (__gcov_merge_add): Replace
2766         gcov_read_counter() with a Macro.
2767         (__gcov_merge_ior): Ditto.
2768         (__gcov_merge_time_profile): Ditto.
2769         (__gcov_merge_single): Ditto.
2770         (__gcov_merge_delta): Ditto.
2771         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2772         in the utility functions.
2773         (set_fn_ctrs): Utility function for reading gcda files to in-memory
2774         gcov_list object link lists.
2775         (tag_function): Ditto.
2776         (tag_blocks): Ditto.
2777         (tag_arcs): Ditto.
2778         (tag_lines): Ditto.
2779         (tag_counters): Ditto.
2780         (tag_summary): Ditto.
2781         (read_gcda_finalize): Ditto.
2782         (read_gcda_file): Ditto.
2783         (ftw_read_file): Ditto.
2784         (read_profile_dir_init): Ditto.
2785         (gcov_read_profile_dir): Ditto.
2786         (gcov_read_counter_mem): Ditto.
2787         (gcov_get_merge_weight): Ditto.
2788         (merge_wrapper): A wrapper function that calls merging handler.
2789         (gcov_merge): Merge two gcov_info objects with weights.
2790         (find_match_gcov_info): Find the matched gcov_info in the list.
2791         (gcov_profile_merge): Merge two gcov_info object lists.
2792         (__gcov_add_counter_op): Process edge profile counter values.
2793         (__gcov_ior_counter_op): Process IOR profile counter values.
2794         (__gcov_delta_counter_op): Process delta profile counter values.
2795         (__gcov_single_counter_op): Process single  profile counter values.
2796         (fp_scale): Callback function for float-point scaling.
2797         (int_scale): Callback function for integer fraction scaling.
2798         (gcov_profile_scale): Scaling profile counters.
2799         (gcov_profile_normalize): Normalize profile counters.
2800         * libgcov.h: Add headers and functions for gcov-tool use.
2801         (gcov_get_counter): New.
2802         (gcov_get_counter_target): Ditto.
2803         (struct gcov_info): Make the functions field mutable in gcov-tool
2804         compilation.
2806 2014-06-23  Kai Tietz  <ktietz@redhat.com>
2808         PR libgcc/61585
2809         * unwind-seh.c (_Unwind_GetGR): Check for proper
2810         index range.
2811         (_Unwind_SetGR): Likewise.
2813 2014-05-22  Nick Clifton  <nickc@redhat.com>
2815         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2816         -mhwmult=none.
2818 2014-05-22  Teresa Johnson  <tejohnson@google.com>
2820         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2821         include.
2823 2014-05-20  John Marino  <gnugcc@marino.st>
2825         * config.host (*-*-dragonfly*): New target.
2826         * crtstuff.c: Make dl_iterate_support generic on *bsd.
2827         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2828         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2829         * config/i386/dragonfly-unwind.h: New.
2831 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
2833         PR libgcc/60166
2834         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2835         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2837 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2839         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2840         implementation.
2842 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
2844         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2846 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2848         PR libgcc/61097
2849         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2850         if --enable-shared.
2852 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2854         Work around for current cygwin32 build problems.
2855         * config/i386/cygming-crtbegin.c (__register_frame_info,
2856         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2857         functions only for 64-bit systems.
2859 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2861         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2862         (sigill_caught, sigill_hdlr): Remove.
2864 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2866         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2867         check.
2868         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2869         Solaris 9 single-threaded support.
2870         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2871         Solaris 9 single-threaded support.  Add call_user_handler code
2872         sequences.
2873         (sparc_is_sighandler): Likewise.
2875 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2877         * config.host: Append t-floattodi to tmake_file depending on
2878         host_address.
2880 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2882         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
2884 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
2886         PR libgcc/60472
2887         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2888         variable to avoid "array subscript is above array bounds" warnings.
2889         Use __builtin_expect when checking *jcr_list for NULL.
2891 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2893         PR libgcc/59339
2894         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2895         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2896         vtv_*.o to extra_parts if enable_vtable_verify.
2898 2014-03-06  Nick Clifton  <nickc@redhat.com>
2900         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
2901         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
2903 2014-02-28  Joey Ye  <joey.ye@arm.com>
2905         PR libgcc/60166
2906         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
2907         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
2908         Set to zero.
2910 2014-02-24  Walter Lee  <walt@tilera.com>
2912         * config.host: Support "tilegx*" and "tilepro*" triplets.
2913         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
2914         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
2916 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
2917             Chung-Lin Tang  <cltang@codesourcery.com>
2919         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
2920         * config/nios2/crti.S: Remove .file directive.
2921         * config/nios2/crtn.S: Likewise.
2923 2014-02-18  Kai Tietz  <ktietz@redhat.com>
2924         Jonathan Schleifer  <js@webkeks.org>
2926         PR objc/56870
2927         * unwind-seh.c (_GCC_specific_handler): Pass proper
2928         value to unwind-handler.
2930 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2932         * soft-fp/adddf3.c: Update from glibc.
2933         * soft-fp/addsf3.c: Likewise.
2934         * soft-fp/addtf3.c: Likewise.
2935         * soft-fp/divdf3.c: Likewise.
2936         * soft-fp/divsf3.c: Likewise.
2937         * soft-fp/divtf3.c: Likewise.
2938         * soft-fp/double.h: Likewise.
2939         * soft-fp/eqdf2.c: Likewise.
2940         * soft-fp/eqsf2.c: Likewise.
2941         * soft-fp/eqtf2.c: Likewise.
2942         * soft-fp/extenddftf2.c: Likewise.
2943         * soft-fp/extended.h: Likewise.
2944         * soft-fp/extendsfdf2.c: Likewise.
2945         * soft-fp/extendsftf2.c: Likewise.
2946         * soft-fp/extendxftf2.c: Likewise.
2947         * soft-fp/fixdfdi.c: Likewise.
2948         * soft-fp/fixdfsi.c: Likewise.
2949         * soft-fp/fixdfti.c: Likewise.
2950         * soft-fp/fixsfdi.c: Likewise.
2951         * soft-fp/fixsfsi.c: Likewise.
2952         * soft-fp/fixsfti.c: Likewise.
2953         * soft-fp/fixtfdi.c: Likewise.
2954         * soft-fp/fixtfsi.c: Likewise.
2955         * soft-fp/fixtfti.c: Likewise.
2956         * soft-fp/fixunsdfdi.c: Likewise.
2957         * soft-fp/fixunsdfsi.c: Likewise.
2958         * soft-fp/fixunsdfti.c: Likewise.
2959         * soft-fp/fixunssfdi.c: Likewise.
2960         * soft-fp/fixunssfsi.c: Likewise.
2961         * soft-fp/fixunssfti.c: Likewise.
2962         * soft-fp/fixunstfdi.c: Likewise.
2963         * soft-fp/fixunstfsi.c: Likewise.
2964         * soft-fp/fixunstfti.c: Likewise.
2965         * soft-fp/floatdidf.c: Likewise.
2966         * soft-fp/floatdisf.c: Likewise.
2967         * soft-fp/floatditf.c: Likewise.
2968         * soft-fp/floatsidf.c: Likewise.
2969         * soft-fp/floatsisf.c: Likewise.
2970         * soft-fp/floatsitf.c: Likewise.
2971         * soft-fp/floattidf.c: Likewise.
2972         * soft-fp/floattisf.c: Likewise.
2973         * soft-fp/floattitf.c: Likewise.
2974         * soft-fp/floatundidf.c: Likewise.
2975         * soft-fp/floatundisf.c: Likewise.
2976         * soft-fp/floatunditf.c: Likewise.
2977         * soft-fp/floatunsidf.c: Likewise.
2978         * soft-fp/floatunsisf.c: Likewise.
2979         * soft-fp/floatunsitf.c: Likewise.
2980         * soft-fp/floatuntidf.c: Likewise.
2981         * soft-fp/floatuntisf.c: Likewise.
2982         * soft-fp/floatuntitf.c: Likewise.
2983         * soft-fp/gedf2.c: Likewise.
2984         * soft-fp/gesf2.c: Likewise.
2985         * soft-fp/getf2.c: Likewise.
2986         * soft-fp/ledf2.c: Likewise.
2987         * soft-fp/lesf2.c: Likewise.
2988         * soft-fp/letf2.c: Likewise.
2989         * soft-fp/muldf3.c: Likewise.
2990         * soft-fp/mulsf3.c: Likewise.
2991         * soft-fp/multf3.c: Likewise.
2992         * soft-fp/negdf2.c: Likewise.
2993         * soft-fp/negsf2.c: Likewise.
2994         * soft-fp/negtf2.c: Likewise.
2995         * soft-fp/op-1.h: Likewise.
2996         * soft-fp/op-2.h: Likewise.
2997         * soft-fp/op-4.h: Likewise.
2998         * soft-fp/op-8.h: Likewise.
2999         * soft-fp/op-common.h: Likewise.
3000         * soft-fp/quad.h: Likewise.
3001         * soft-fp/single.h: Likewise.
3002         * soft-fp/soft-fp.h: Likewise.
3003         * soft-fp/subdf3.c: Likewise.
3004         * soft-fp/subsf3.c: Likewise.
3005         * soft-fp/subtf3.c: Likewise.
3006         * soft-fp/truncdfsf2.c: Likewise.
3007         * soft-fp/trunctfdf2.c: Likewise.
3008         * soft-fp/trunctfsf2.c: Likewise.
3009         * soft-fp/trunctfxf2.c: Likewise.
3010         * soft-fp/unorddf2.c: Likewise.
3011         * soft-fp/unordsf2.c: Likewise.
3012         * soft-fp/unordtf2.c: Likewise.
3013         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3014         macro.
3015         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3016         Likewise.
3017         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3018         Likewise.
3019         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3020         Likewise.
3021         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3022         Likewise.
3023         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3024         Likewise.
3025         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3026         Likewise.
3027         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3028         Likewise.
3029         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3030         Likewise.
3031         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3032         Likewise.
3033         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3034         Likewise.
3035         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3036         Likewise.
3037         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3038         Likewise.
3039         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3040         Likewise.
3041         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3042         Likewise.
3043         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3044         Likewise.
3046 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3048         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3049         cannot be represented.
3050         * config/s390/32/_fixsfdi.c: Likewise.
3051         * config/s390/32/_fixtfdi.c: Likewise.
3052         * config/s390/32/_fixunsdfdi.c: Likewise.
3053         * config/s390/32/_fixunssfdi.c: Likewise.
3054         * config/s390/32/_fixunstfdi.c: Likewise.
3056 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3058         * configure.ac (libgcc_cv_mips_hard_float): New.
3059         * configure: Regenerate.
3060         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3061         t-softfp-sfdf for hard-float targets.
3062         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3063         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3064         (softfp_truncations, softfp_exclude_libgcc2): New.
3065         * config/t-hardfp: New file.
3066         * config/t-hardfp-sfdf: Likewise.
3067         * config/hardfp.c: Likewise.
3069 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3071         * config.host: Include t-floattodi also for s390x.
3072         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3073         * config/s390/32/_fixsfdi.c: Likewise.
3074         * config/s390/32/_fixtfdi.c: Likewise.
3075         * config/s390/32/_fixunsdfdi.c: Likewise.
3076         * config/s390/32/_fixunssfdi.c: Likewise.
3077         * config/s390/32/_fixunstfdi.c: Likewise.
3079 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3081         PR target/59788
3082         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3083         (install-libgcc-unwind-map-forbuild): New target.
3084         (all): Depend on install-libgcc-unwind-map-forbuild.
3085         (install-libgcc-unwind-map): New target.
3086         (install): Depend on install-libgcc-unwind-map.
3088 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3090         * config/nios2/crti.S (_init): Initialize GOT pointer from
3091         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3093 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3095         * configure.ac: Check __mips64 when setting host_address.
3096         * configure: Regenerate.
3097         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3098         mips/t-mips64 and t-softfp.
3099         (mips*-*-linux*): Don't add mips/t-tpbit.
3100         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3101         (DPBIT, DPBIT_CFLAGS): Delete.
3102         * config/mips/sfp-machine.h: New file.
3103         * config/mips/t-mips64: Likewise.
3104         * config/mips/t-softfp-tf: Likewise.
3105         * config/mips/t-tpbit: Delete.
3107 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3109         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3110         as long long.
3112 2014-01-25  Walter Lee  <walt@tilera.com>
3114         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3115         config.h or system.h.
3116         (bool) Define.
3118 2014-01-25  Walter Lee  <walt@tilera.com>
3120         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3121         (post_atomic_barrier): Ditto.
3122         (__fetch_and_do): New macro.
3123         (__atomic_fetch_and_do): Use __fetch_and_do.
3124         (__sync_fetch_and_do): New macro.
3125         (__sync_fetch_and_add_4): New function.
3126         (__sync_fetch_and_sub_4): New function.
3127         (__sync_fetch_and_or_4): New function.
3128         (__sync_fetch_and_and_4): New function.
3129         (__sync_fetch_and_xor_4): New function.
3130         (__sync_fetch_and_nand_4): New function.
3131         (__sync_fetch_and_add_8): New function.
3132         (__sync_fetch_and_sub_8): New function.
3133         (__sync_fetch_and_or_8): New function.
3134         (__sync_fetch_and_and_8): New function.
3135         (__sync_fetch_and_xor_8): New function.
3136         (__sync_fetch_and_nand_8): New function.
3137         (__do_and_fetch): New macro.
3138         (__atomic_do_and_fetch): Use __do_and_fetch.
3139         (__sync_do_and_fetch): New macro.
3140         (__sync_add_and_fetch_4): New function.
3141         (__sync_sub_and_fetch_4): New function.
3142         (__sync_or_and_fetch_4): New function.
3143         (__sync_and_and_fetch_4): New function.
3144         (__sync_xor_and_fetch_4): New function.
3145         (__sync_nand_and_fetch_4): New function.
3146         (__sync_add_and_fetch_8): New function.
3147         (__sync_sub_and_fetch_8): New function.
3148         (__sync_or_and_fetch_8): New function.
3149         (__sync_and_and_fetch_8): New function.
3150         (__sync_xor_and_fetch_8): New function.
3151         (__sync_nand_and_fetch_8): New function.
3152         (__sync_exchange_methods): New macro.
3153         (__sync_val_compare_and_swap_4): New function.
3154         (__sync_bool_compare_and_swap_4): New function.
3155         (__sync_lock_test_and_test_4): New function.
3156         (__sync_val_compare_and_swap_8): New function.
3157         (__sync_bool_compare_and_swap_8): New function.
3158         (__sync_lock_test_and_test_8): New function.
3159         (__subword_cmpxchg_body): New macro.
3160         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3161         (__atomic_compare_exchange_2): Ditto.
3162         (__sync_subword_cmpxchg): New macro.
3163         (__sync_val_compare_and_swap_1): New function.
3164         (__sync_bool_compare_and_swap_1): New function.
3165         (__sync_val_compare_and_swap_2): New function.
3166         (__sync_bool_compare_and_swap_2): New function.
3167         (__atomic_subword): Rename to ...
3168         (__subword): ... New name.
3169         (__atomic_subword_fetch): Use __subword.
3170         (__sync_subword_fetch): New macro.
3171         (__sync_fetch_and_add_1): New function.
3172         (__sync_fetch_and_sub_1): New function.
3173         (__sync_fetch_and_or_1): New function.
3174         (__sync_fetch_and_and_1): New function.
3175         (__sync_fetch_and_xor_1): New function.
3176         (__sync_fetch_and_nand_1): New function.
3177         (__sync_fetch_and_add_2): New function.
3178         (__sync_fetch_and_sub_2): New function.
3179         (__sync_fetch_and_or_2): New function.
3180         (__sync_fetch_and_and_2): New function.
3181         (__sync_fetch_and_xor_2): New function.
3182         (__sync_fetch_and_nand_2): New function.
3183         (__sync_add_and_fetch_1): New function.
3184         (__sync_sub_and_fetch_1): New function.
3185         (__sync_or_and_fetch_1): New function.
3186         (__sync_and_and_fetch_1): New function.
3187         (__sync_xor_and_fetch_1): New function.
3188         (__sync_nand_and_fetch_1): New function.
3189         (__sync_add_and_fetch_2): New function.
3190         (__sync_sub_and_fetch_2): New function.
3191         (__sync_or_and_fetch_2): New function.
3192         (__sync_and_and_fetch_2): New function.
3193         (__sync_xor_and_fetch_2): New function.
3194         (__sync_nand_and_fetch_2): New function.
3195         (__atomic_subword_lock): Use __subword.
3196         (__sync_subword_lock): New macro.
3197         (__sync_lock_test_and_set_1): New function.
3198         (__sync_lock_test_and_set_2): New function.
3200 2014-01-25  Walter Lee  <walt@tilera.com>
3202         * config/tilepro/atomic.c (BIT_OFFSET): Define.
3203         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3204         (__atomic_subword): Ditto.
3206 2014-01-25  Walter Lee  <walt@tilera.com>
3208         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3209         a prefix op argument.
3210         (__atomic_nand_fetch_4): Add prefix op.
3211         (__atomic_nand_fetch_8): Ditto.
3213 2014-01-21  Baruch Siach  <barch@tkos.co.il>
3215         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3217 2014-01-09  Rong Xu  <xur@google.com>
3219         * libgcov-driver.c (this_prg): make it local to save
3220         bss space.
3221         (gcov_exit_compute_summary): Ditto.
3222         (gcov_exit_merge_gcda): Ditto.
3223         (gcov_exit_merge_summary): Ditto.
3224         (gcov_exit_dump_gcov): Ditto.
3226 2014-01-08  Rong Xu  <xur@google.com>
3228         * libgcov-driver.c: Use libgcov.h.
3229         (buffer_fn_data): Use xmalloc instead of malloc.
3230         (gcov_exit_merge_gcda): Ditto.
3231         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3232         * libgcov.h: New common header files for libgcov-*.h.
3233         * libgcov-interface.c: Use libgcov.h
3234         * libgcov-merge.c: Ditto.
3235         * libgcov-profiler.c: Ditto.
3236         * Makefile.in: Add dependence to libgcov.h
3238 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3240         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3241         case of small numerator and finite nonzero result.
3243 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3245         Update copyright years
3247 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3249         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3250         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3251         config/arc/dp-hack.h, config/arc/fp-hack.h,
3252         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3253         config/arc/ieee-754/arc600-dsp/divdf3.S,
3254         config/arc/ieee-754/arc600-dsp/divsf3.S,
3255         config/arc/ieee-754/arc600-dsp/muldf3.S,
3256         config/arc/ieee-754/arc600-dsp/mulsf3.S,
3257         config/arc/ieee-754/arc600-mul64/divdf3.S,
3258         config/arc/ieee-754/arc600-mul64/divsf3.S,
3259         config/arc/ieee-754/arc600-mul64/muldf3.S,
3260         config/arc/ieee-754/arc600-mul64/mulsf3.S,
3261         config/arc/ieee-754/arc600/divsf3.S,
3262         config/arc/ieee-754/arc600/mulsf3.S,
3263         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3264         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3265         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3266         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3267         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3268         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3269         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3270         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3271         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3272         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3273         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3274         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3275         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3276         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3277         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3278         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3279         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3280         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3281         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3282         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3283         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3284         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3285         vtv_start_preinit.c: Use the standard form for the copyright notice.
3287 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
3288             Chung-Lin Tang  <cltang@codesourcery.com>
3289             Based on patches from Altera Corporation
3291         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3292         * config/nios2/lib2-nios2.h: New file.
3293         * config/nios2/lib2-divmod-hi.c: New file.
3294         * config/nios2/linux-unwind.h: New file.
3295         * config/nios2/lib2-divmod.c: New file.
3296         * config/nios2/linux-atomic.c: New file.
3297         * config/nios2/t-nios2: New file.
3298         * config/nios2/crti.asm: New file.
3299         * config/nios2/t-linux: New file.
3300         * config/nios2/lib2-divtable.c: New file.
3301         * config/nios2/lib2-mul.c: New file.
3302         * config/nios2/tramp.c: New file.
3303         * config/nios2/crtn.asm: New file.
3305 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
3307         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3308         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3309         from cpuid.h to check vendor signatures.
3311 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
3313         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3314         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3315         (get_amd_cpu): Likewise.
3317 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
3319         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3320         Haswell.
3322 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3323             H.J. Lu  <hongjiu.lu@intel.com>
3325         PR target/59422
3326         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
3327         and AMD_JAGUAR.
3328         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3329         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3330         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
3331         FEATURE_XOP and FEATURE_FMA.
3332         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3333         AMDFAM15H_BDVER3.
3334         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3335         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3336         FEATURE_FMA4 and FEATURE_XOP.
3338 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
3340         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3341         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3342         (get_intel_cpu): Updated.
3344 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
3346         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3348 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
3350         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3351         instructions when __SSE_MATH__ is defined.
3353 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
3355         * config.host (microblaze-*-rtems*): New.
3357 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
3359         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3360         architectures that do not have hardware divide instruction.
3361         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3363 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
3365         * longlong.h: Delete (moved to include/).
3367 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3369         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3370         of normal number and qNaN to not raise an inexact exception.
3372 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
3374         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3376 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
3378         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3379         for correct opcodes on BE.
3381 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
3383         * soft-fp/op-4.h: Update from glibc.
3385 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
3387         * libgcc2.c (__udivmoddi4): Define new implementation when
3388         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3389         divide instructions.
3391 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
3393         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3395 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3397         * config/t-softfp (soft-fp-objects-base): New variable.
3398         (soft-fp-objects): Use it.
3400 2013-11-23  David Edelson  <dje.gcc@gmail.com>
3401             Andrew Dixie  <andrewd@gentrack.com>
3403         PR target/33704
3404         * config/rs6000/aixinitfini.c: New file.
3405         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3406         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3407         symbols.
3409 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
3411         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3413 2013-11-18  Jan Hubicka  <jh@suse.cz>
3415         * libgcov-driver.c (run_accounted): Make global level static.
3416         (gcov_exit_merge_summary): Silence warning; do not clear
3417         run_accounted here.
3418         (gcov_exit): Clear it here.
3420         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3421         run_accounted.
3423         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3424         (all_prg, crc32): Remove static vars.
3425         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3426         all_prg.
3427         (gcov_exit_merge_gcda): Add crc32 parameter.
3428         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3429         do not account run if it was already accounted.
3430         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3431         (gcov_exit): Initialize all_prg; update.
3433 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
3435         * configure: Regenerate.
3437 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3438             Alan Modra  <amodra@gmail.com>
3440         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3441         (frob_update_context): Use it.
3443 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3444             Alan Modra  <amodra@gmail.com>
3446         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3447         (trampoline_initial): Provide ELFv2 variant.
3448         (__trampoline_setup): Likewise.
3450         * config/rs6000/linux-unwind.h (frob_update_context): Do not
3451         check for AIX indirect function call sequence if _CALL_ELF == 2.
3453 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3454             Alan Modra  <amodra@gmail.com>
3456         * config/rs6000/linux-unwind.h (get_regs): Do not support
3457         old kernel versions if _CALL_ELF == 2.
3458         (frob_update_context): Do not support PLT stub variants only
3459         generated by old linkers if _CALL_ELF == 2.
3461 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3462             Alan Modra  <amodra@gmail.com>
3464         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3465         location of CR save area for 64-bit little-endian systems.
3467 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
3469         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3470         in tmake_file.
3471         * config/arm/t-vxworks: Delete.
3473 2013-11-10  Kai Tietz  <ktietz@redhat.com>
3475         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3476         Increment load-count on use of LIBGCC_SONAME DLL.
3477         (hmod_libgcc): New static variable to hold handle of
3478         LIBGCC_SONAME DLL.
3479         (__gcc_deregister_frame): Decrement load-count of
3480         LIBGCC_SONAME DLL.
3482 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
3484         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3485         availability.
3486         * configure: Regenerate
3488 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
3490         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3491         FP_EX_DENORM.  Store result to volatile location after SSE division
3492         to close interrupt window.  Remove unneeded fwait after x87
3493         division since interrupt window will be closed by emitted fstp.
3494         Rewrite FP_EX_INEXACT handling.
3496 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
3498         * soft-fp/README: Update.
3499         * soft-fp/adddf3.c: Update from glibc.
3500         * soft-fp/addsf3.c: Likewise.
3501         * soft-fp/addtf3.c: Likewise.
3502         * soft-fp/divdf3.c: Likewise.
3503         * soft-fp/divsf3.c: Likewise.
3504         * soft-fp/divtf3.c: Likewise.
3505         * soft-fp/double.h: Likewise.
3506         * soft-fp/eqdf2.c: Likewise.
3507         * soft-fp/eqsf2.c: Likewise.
3508         * soft-fp/eqtf2.c: Likewise.
3509         * soft-fp/extenddftf2.c: Likewise.
3510         * soft-fp/extended.h: Likewise.
3511         * soft-fp/extendsfdf2.c: Likewise.
3512         * soft-fp/extendsftf2.c: Likewise.
3513         * soft-fp/extendxftf2.c: Likewise.
3514         * soft-fp/fixdfdi.c: Likewise.
3515         * soft-fp/fixdfsi.c: Likewise.
3516         * soft-fp/fixdfti.c: Likewise.
3517         * soft-fp/fixsfdi.c: Likewise.
3518         * soft-fp/fixsfsi.c: Likewise.
3519         * soft-fp/fixsfti.c: Likewise.
3520         * soft-fp/fixtfdi.c: Likewise.
3521         * soft-fp/fixtfsi.c: Likewise.
3522         * soft-fp/fixtfti.c: Likewise.
3523         * soft-fp/fixunsdfdi.c: Likewise.
3524         * soft-fp/fixunsdfsi.c: Likewise.
3525         * soft-fp/fixunsdfti.c: Likewise.
3526         * soft-fp/fixunssfdi.c: Likewise.
3527         * soft-fp/fixunssfsi.c: Likewise.
3528         * soft-fp/fixunssfti.c: Likewise.
3529         * soft-fp/fixunstfdi.c: Likewise.
3530         * soft-fp/fixunstfsi.c: Likewise.
3531         * soft-fp/fixunstfti.c: Likewise.
3532         * soft-fp/floatdidf.c: Likewise.
3533         * soft-fp/floatdisf.c: Likewise.
3534         * soft-fp/floatditf.c: Likewise.
3535         * soft-fp/floatsidf.c: Likewise.
3536         * soft-fp/floatsisf.c: Likewise.
3537         * soft-fp/floatsitf.c: Likewise.
3538         * soft-fp/floattidf.c: Likewise.
3539         * soft-fp/floattisf.c: Likewise.
3540         * soft-fp/floattitf.c: Likewise.
3541         * soft-fp/floatundidf.c: Likewise.
3542         * soft-fp/floatundisf.c: Likewise.
3543         * soft-fp/floatunditf.c: Likewise.
3544         * soft-fp/floatunsidf.c: Likewise.
3545         * soft-fp/floatunsisf.c: Likewise.
3546         * soft-fp/floatunsitf.c: Likewise.
3547         * soft-fp/floatuntidf.c: Likewise.
3548         * soft-fp/floatuntisf.c: Likewise.
3549         * soft-fp/floatuntitf.c: Likewise.
3550         * soft-fp/gedf2.c: Likewise.
3551         * soft-fp/gesf2.c: Likewise.
3552         * soft-fp/getf2.c: Likewise.
3553         * soft-fp/ledf2.c: Likewise.
3554         * soft-fp/lesf2.c: Likewise.
3555         * soft-fp/letf2.c: Likewise.
3556         * soft-fp/muldf3.c: Likewise.
3557         * soft-fp/mulsf3.c: Likewise.
3558         * soft-fp/multf3.c: Likewise.
3559         * soft-fp/negdf2.c: Likewise.
3560         * soft-fp/negsf2.c: Likewise.
3561         * soft-fp/negtf2.c: Likewise.
3562         * soft-fp/op-1.h: Likewise.
3563         * soft-fp/op-2.h: Likewise.
3564         * soft-fp/op-4.h: Likewise.
3565         * soft-fp/op-8.h: Likewise.
3566         * soft-fp/op-common.h: Likewise.
3567         * soft-fp/quad.h: Likewise.
3568         * soft-fp/single.h: Likewise.
3569         * soft-fp/soft-fp.h: Likewise.
3570         * soft-fp/subdf3.c: Likewise.
3571         * soft-fp/subsf3.c: Likewise.
3572         * soft-fp/subtf3.c: Likewise.
3573         * soft-fp/truncdfsf2.c: Likewise.
3574         * soft-fp/trunctfdf2.c: Likewise.
3575         * soft-fp/trunctfsf2.c: Likewise.
3576         * soft-fp/trunctfxf2.c: Likewise.
3577         * soft-fp/unorddf2.c: Likewise.
3578         * soft-fp/unordsf2.c: Likewise.
3579         * soft-fp/unordtf2.c: Likewise.
3581 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3583         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3584         (_FP_MUL_MEAT_D): Ditto.
3585         (_FP_DIV_MEAT_S): Ditto.
3586         (_FP_DIV_MEAT_D): Ditto.
3587         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3588         t-softfp-sfdf and t-softfp to tmake_file.
3590 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
3592         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3593         * config/i386/crtprec.c: Ditto.
3595 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
3596             Shiva Chen  <shiva0217@gmail.com>
3598         * config.host (nds32*-elf*): Add nds32 target.
3599         * config/nds32 : New directory and files.
3601 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
3603         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
3604         * config.host (cpu_type) <Setting default>: Add entry for
3605         crisv32-*-*.
3606         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3607         <crisv32-*-linux*>: Adjust.
3608         * longlong.h: Wrap the whole CRIS section in a single
3609         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
3610         and sub_ddmmss.
3611         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3612         defined.
3613         [__CRIS__] (__umulsidi3): Define.
3614         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3615         * config/cris/sfp-machine.h: New file.
3616         * config/cris/umulsidi3.S: New file.
3617         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3618         * config/cris/arit.c (SIGNMULT): New macro.
3619         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3620         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3621         saving 3 out of originally 33 cycles from the fastest
3622         path, 3 out of 54 from the medium path and one from the longest
3623         path.  Improve comments.
3625 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
3627         * sync.c: Remove static aliases and define each function directly
3628         under its real name.
3630 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
3632         * config.host (hppa*64*-*-linux*): Define extra_parts.
3633         (hppa*-*-linux*): Likewise.
3635 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
3637         * config/arc/crtgend.S: Add 2013 to Copyright years.
3638         * config/arc/gmon/atomic.h: Likewise.
3639         * config/arc/gmon/auxreg.h: Likewise.
3640         * config/arc/gmon/sys/gmon_out.h: Likewise.
3641         * config/arc/gmon/sys/gmon.h: Likewise.
3642         * config/arc/gmon/prof-freq.c: Likewise.
3643         * config/arc/gmon/mcount.c: Likewise.
3644         * config/arc/gmon/prof-freq-stub.S: Likewise.
3645         * config/arc/gmon/gmon.c: Likewise.
3646         * config/arc/gmon/machine-gmon.h: Likewise.
3647         * config/arc/gmon/profil.S: Likewise.
3648         * config/arc/gmon/dcache_linesz.S: Likewise.
3649         * config/arc/crtg.S: Likewise.
3650         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3651         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3652         * config/arc/ieee-754/adddf3.S: Likewise.
3653         * config/arc/ieee-754/truncdfsf2.S: Likewise.
3654         * config/arc/ieee-754/fixsfsi.S: Likewise.
3655         * config/arc/ieee-754/gtsf2.S: Likewise.
3656         * config/arc/ieee-754/floatsisf.S: Likewise.
3657         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3658         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3659         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3660         * config/arc/ieee-754/fixdfsi.S: Likewise.
3661         * config/arc/ieee-754/addsf3.S: Likewise.
3662         * config/arc/ieee-754/gesf2.S: Likewise.
3663         * config/arc/ieee-754/floatsidf.S: Likewise.
3664         * config/arc/ieee-754/extendsfdf2.S: Likewise.
3665         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3666         * config/arc/ieee-754/gtdf2.S: Likewise.
3667         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3668         * config/arc/ieee-754/uneqdf2.S: Likewise.
3669         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3670         * config/arc/ieee-754/uneqsf2.S: Likewise.
3671         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3672         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3673         * config/arc/ieee-754/eqdf2.S: Likewise.
3674         * config/arc/ieee-754/ordsf2.S: Likewise.
3675         * config/arc/ieee-754/divsf3.S: Likewise.
3676         * config/arc/ieee-754/divdf3.S: Likewise.
3677         * config/arc/ieee-754/floatunsidf.S: Likewise.
3678         * config/arc/ieee-754/orddf2.S: Likewise.
3679         * config/arc/ieee-754/eqsf2.S: Likewise.
3680         * config/arc/ieee-754/gedf2.S: Likewise.
3681         * config/arc/crtn.S: Likewise.
3682         * config/arc/crti.S: Likewise.
3683         * config/arc/t-arc700-uClibc: Likewise.
3684         * config/arc/asm.h: Likewise.
3685         * config/arc/libgcc-excl.ver: Likewise.
3686         * config/arc/t-arc-newlib: Likewise.
3687         * config/arc/divtab-arc700.c: Likewise.
3688         * config/arc/initfini.c: Likewise.
3689         * config/arc/fp-hack.h: Likewise.
3691 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3692             Diego Novillo  <dnovillo@google.com>
3694         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3695         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3696         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3697         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
3699 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
3700             Brendan Kehoe  <brendan@zen.org>
3701             Simon Cook  <simon.cook@embecosm.com>
3703         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3704         * config/arc: New directory.
3705         * longlong.h [__arc__] (umul_ppmm): Remove.
3706         [__arc__] (__umulsidi3): Define.
3707         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3708         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3710 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
3712         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3713         CreateSemaphoreA.
3714         * config/i386/gthr-win32.h: Likewise.
3716 2013-09-16  DJ Delorie  <dj@redhat.com>
3718         * config/rl78/vregs.h: Add G10 register definitions.
3719         * config/rl78/lib2mul.c: Enable for RL78/G10.
3720         * config/rl78/lib2div.c: Likewise.
3721         * config/rl78/lshrsi3.S: Use vregs.h.
3722         * config/rl78/cmpsi2.S: Likewise.
3723         * config/rl78/trampoline.S: Likewise.
3724         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
3726 2013-09-14  DJ Delorie  <dj@redhat.com>
3727             Nick Clifton  <nickc@redhat.com>
3729         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3730         * config/rl78/vregs.h: New.
3731         * config/rl78/signbit.S: New file.  Implements signbit function.
3732         * config/rl78/divmodsi.S: New.
3733         * config/rl78/divmodhi.S: New.
3734         * config/rl78/divmodqi.S: New.
3735         * config/rl78/t-rl78: Build them here...
3736         * config/rl78/lib2div.c: ...but not here.
3738 2013-09-12  DJ Delorie  <dj@redhat.com>
3740         * config.host (msp*-*-elf): New.
3741         * config/msp430/: New port.
3743 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
3745         PR gcov-profile/58127
3746         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3747         __thread var for emulated TLS.
3748         (__gcov_indirect_call_counters): Likewise.
3750 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
3751             Catherine Moore  <clm@codesourcery.com>
3752             Richard Sandiford  <rdsandiford@googlemail.com>
3754         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3755         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3756         (CALL_STUB_NO_RET): Likewise.
3757         (CALL_STUB_RET): Likewise.
3758         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3759         __mips16_ret call/return stub symbols.
3760         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3761         to tmake_file.
3763 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
3765         * config.host <mips*-*-linux*>: Remove a stray comment.
3767 2013-08-10  Jan Hubicka  <jh@suse.cz>
3769         Work around binutils PR14342
3770         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3771         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3772         (L_gcov_indirect_call_profiler_v2): New.
3774 2013-08-06  Jan Hubicka  <jh@suse.cz>
3776         * libgcov.c (__gcov_indirect_call_callee,
3777         __gcov_indirect_call_counters): New global vars.
3778         (__gcov_indirect_call_profiler): replace by ...
3779         (__gcov_indirect_call_profiler_v2) ... this one.
3781 2013-08-06  Caroline Tice  <cmtice@google.com>
3783         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
3784         vtv_start_preinit.o and vtv_end_preinit.o.
3785         * configure.ac: Add code to check/set enable_vtable_verify.
3786         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
3787         true.
3788         * vtv_start_preinit.c: New file.
3789         * vtv_end_preinit.c: New file.
3790         * vtv_start.c: New file.
3791         * vtv_end.c: New file.
3792         * configure: Regenerated.
3794 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
3796         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3797         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3798         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3799         GPL-3.0-with-GCC-exception.
3801 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
3803         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3804         ISA and up.
3806 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3808         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3809         mapping for FPRs when creating the fallback framestate.
3811 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
3813         PR target/57516
3814         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3815         (__round_s2_const, __round_u2_const)
3816         (__round_s4_const, __round_u4_const, __round_x8):
3817         Saturate result if addition result cannot be represented.
3819 2013-07-15  Matthias Klose  <doko@ubuntu.com>
3821         * libgcc2.c: Don't include <limits.h>.
3823 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
3825         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3827 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
3829         PR target/29776
3830         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3832 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
3834         PR middle-end/36041
3835         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3836         Define.
3837         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3838         instead of table lookups.
3839         (__popcountDI2): Likewise.
3841 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3843         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3844         correctly.
3846 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3848         PR other/53317
3849         * soft-fp/adddf3.c: Update from glibc.
3850         * soft-fp/addsf3.c: Likewise.
3851         * soft-fp/addtf3.c: Likewise.
3852         * soft-fp/divdf3.c: Likewise.
3853         * soft-fp/divsf3.c: Likewise.
3854         * soft-fp/divtf3.c: Likewise.
3855         * soft-fp/double.h: Likewise.
3856         * soft-fp/eqdf2.c: Likewise.
3857         * soft-fp/eqsf2.c: Likewise.
3858         * soft-fp/eqtf2.c: Likewise.
3859         * soft-fp/extenddftf2.c: Likewise.
3860         * soft-fp/extended.h: Likewise.
3861         * soft-fp/extendsfdf2.c: Likewise.
3862         * soft-fp/extendsftf2.c: Likewise.
3863         * soft-fp/fixdfdi.c: Likewise.
3864         * soft-fp/fixdfsi.c: Likewise.
3865         * soft-fp/fixsfdi.c: Likewise.
3866         * soft-fp/fixsfsi.c: Likewise.
3867         * soft-fp/fixtfdi.c: Likewise.
3868         * soft-fp/fixtfsi.c: Likewise.
3869         * soft-fp/fixunsdfdi.c: Likewise.
3870         * soft-fp/fixunsdfsi.c: Likewise.
3871         * soft-fp/fixunssfdi.c: Likewise.
3872         * soft-fp/fixunssfsi.c: Likewise.
3873         * soft-fp/fixunstfdi.c: Likewise.
3874         * soft-fp/fixunstfsi.c: Likewise.
3875         * soft-fp/floatdidf.c: Likewise.
3876         * soft-fp/floatdisf.c: Likewise.
3877         * soft-fp/floatditf.c: Likewise.
3878         * soft-fp/floatsidf.c: Likewise.
3879         * soft-fp/floatsisf.c: Likewise.
3880         * soft-fp/floatsitf.c: Likewise.
3881         * soft-fp/floatundidf.c: Likewise.
3882         * soft-fp/floatundisf.c: Likewise.
3883         * soft-fp/floatunditf.c: Likewise.
3884         * soft-fp/floatunsidf.c: Likewise.
3885         * soft-fp/floatunsisf.c: Likewise.
3886         * soft-fp/floatunsitf.c: Likewise.
3887         * soft-fp/gedf2.c: Likewise.
3888         * soft-fp/gesf2.c: Likewise.
3889         * soft-fp/getf2.c: Likewise.
3890         * soft-fp/ledf2.c: Likewise.
3891         * soft-fp/lesf2.c: Likewise.
3892         * soft-fp/letf2.c: Likewise.
3893         * soft-fp/muldf3.c: Likewise.
3894         * soft-fp/mulsf3.c: Likewise.
3895         * soft-fp/multf3.c: Likewise.
3896         * soft-fp/negdf2.c: Likewise.
3897         * soft-fp/negsf2.c: Likewise.
3898         * soft-fp/negtf2.c: Likewise.
3899         * soft-fp/op-1.h: Likewise.
3900         * soft-fp/op-2.h: Likewise.
3901         * soft-fp/op-4.h: Likewise.
3902         * soft-fp/op-8.h: Likewise.
3903         * soft-fp/op-common.h: Likewise.
3904         * soft-fp/quad.h: Likewise.
3905         * soft-fp/single.h: Likewise.
3906         * soft-fp/soft-fp.h: Likewise.
3907         * soft-fp/subdf3.c: Likewise.
3908         * soft-fp/subsf3.c: Likewise.
3909         * soft-fp/subtf3.c: Likewise.
3910         * soft-fp/truncdfsf2.c: Likewise.
3911         * soft-fp/trunctfdf2.c: Likewise.
3912         * soft-fp/trunctfsf2.c: Likewise.
3913         * soft-fp/unorddf2.c: Likewise.
3914         * soft-fp/unordsf2.c: Likewise.
3915         * soft-fp/unordtf2.c: Likewise.
3916         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
3917         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3918         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3919         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3920         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3921         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3922         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3923         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3924         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3925         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
3926         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
3927         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
3929 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
3931         * config/mips/lib2funcs.c: New file.
3932         * config/mips/t-mips (LIB2ADD_ST): Add it.
3934 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
3936         PR target/6526
3937         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
3938         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
3940 2013-06-08  Walter Lee  <walt@tilera.com>
3942         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
3943         Replace int64_t with long long.  Add __extension__ where
3944         appropriate.
3945         * config/tilepro/atomic.c: Include config.h.
3947 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
3949         * config.host (arm-wrs-vxworks): Configure with other soft float.
3951 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3953         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3954         (mips64r5900el-*-elf*): New configurations.
3956 2013-06-04  Alan Modra  <amodra@gmail.com>
3958         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3960 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
3962         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3964 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
3966         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
3967         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
3968         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
3970 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3972         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
3973         (powerpc-wrs-vxworks): Likewise.
3975 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
3977         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
3978         signal frames as well.
3979         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
3980         STACK_BIAS to the CFA offset.
3982 2013-05-17  Richard Henderson  <rth@redhat.com>
3984         PR target/49146
3985         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
3986         (execute_cfa_program): Use it when storing to fs->regs.
3988 2013-05-08  Kai Tietz  <ktietz@redhat.com>
3990         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3991         (__deregister_frame_info): Likewise.
3993 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
3995         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3996         NaN's payload.
3998         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4000 2013-04-25  Alan Modra  <amodra@gmail.com>
4002         * config.host: Match little-endian powerpc-linux.
4004 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4006         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4007         as 'unsigned long long' instead of 'unsigned long'.
4008         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4009         'signed long'.
4011 2013-04-10  Julian Brown  <julian@codesourcery.com>
4013         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4014         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4015         unsigned char/unsigned short.
4016         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4018 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4020         PR other/55274
4021         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4023 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4025         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4026         computing the location of the link register.
4027         (aeabi_uldivmod): Ditto.
4029 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4031         * config.host: Add support for cygwin x64 target.
4032         * configure: Regenerated.
4034 2013-03-26  Walter Lee  <walt@tilera.com>
4036         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4037         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4039 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4041         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4043 2013-03-20  Robert Mason  <rbmj@verizon.net>
4045         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4046         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4047         (__gthread_leave_tsd_dtor_context): Add prototypes.
4048         (tls_delete_hook): Update.
4050 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4051             Joseph Myers  <joseph@codesourcery.com>
4052             Chao-ying Fu  <fu@mips.com>
4054         * config/mips/mips16.S:  Don't build for microMIPS.
4055         * config/mips/linux-unwind.h: Handle microMIPS frame.
4056         * config/mips/crtn.S (fini, init): New labels.
4058 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4060         PR tree-optimization/53265
4061         * unwind-dw2.c (execute_cfa_program): Avoid
4062         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4063         on targets with DWARF_FRAME_REGISTERS < 32.
4065 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4067         PR target/49880
4068         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4069         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4071 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4073         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4074         sandybridge processors.
4076 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4078         PR target/56529
4079         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4080         inclusion list.
4082 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4084         * config/microblaze/crti.S: Setup stack protection at entry
4086 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4088         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4089         (__rotldi3): Shift bytewise if applicable.
4091 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4093         * config/aarch64/sync-cache.c
4094         (__aarch64_sync_cache_range): Silence warnings.
4096 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4098         Revert:
4099         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4100             Joseph Myers  <joseph@codesourcery.com>
4101             Chao-ying Fu  <fu@mips.com>
4103         * config/mips/mips16.S:  Don't build for microMIPS.
4104         * config/mips/linux-unwind.h: Handle microMIPS frame.
4105         * config/mips/crtn.S (fini, init): New labels.
4107 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4108             Joseph Myers  <joseph@codesourcery.com>
4109             Chao-ying Fu  <fu@mips.com>
4111         * config/mips/mips16.S:  Don't build for microMIPS.
4112         * config/mips/linux-unwind.h: Handle microMIPS frame.
4113         * config/mips/crtn.S (fini, init): New labels.
4115 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4116         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4117         as dividend.
4119 2013-02-16  Alan Modra  <amodra@gmail.com>
4121         PR target/55431
4122         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4123         (ppc_fallback_frame_state): Always set up save locations for fp
4124         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4125         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4127 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4129         PR target/54222
4130         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4131         _ssmulHA, _ssmulSA.
4132         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4133         _ssmulha3, _usmulusa3, _ssmulsa3.
4134         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4135         (__muldi3): XCALL __muldi3_6 instead of rcall.
4136         (__umulsidi3, __mulsidi3): New functions.
4137         (do_prologue_saves, do_epilogue_restores): New .macros.
4138         (__divdi3_moddi3): Use them.
4139         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4140         (__usmulusa3, __ssmulsa3): New functions.
4142 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4143             Jack Howarth  <howarth@bromo.med.uc.edu>
4144             Patrick Marlier  <patrick.marlier@gmail.com>
4146         PR libitm/55693
4147         * config/darwin-crt-tm.c: Remove dummy functions hack.
4149 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4151         PR target/54222
4152         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4153         * config/avr/lib2-object.mk: New iterator to build objects from it.
4154         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4155         lib2funcs.c.
4156         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4157         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4158         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4159         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4160         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4161         * config/avr/lib1funcs-fixed.S: Implement them.
4163 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4165         Update copyright years.
4167 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4169         PR target/54601
4170         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4171         Add crtcxa to extra_parts.
4172         * config/rs6000/exit.h: New file.
4173         * config/rs6000/cxa_atexit.c: New file.
4174         * config/rs6000/cxa_finalize.c: New file.
4175         * config/rs6000/crtcxa.c: New file.
4176         * config/rs6000/t-aix-cxa: New file.
4177         * config/rs6000/libgcc-aix-cxa.ver: New file.
4179 2013-01-31  Nick Clifton  <nickc@redhat.com>
4181         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4182         variant.
4184 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
4186         PR target/54222
4187         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4188         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
4189         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4190         _divQQ,  _divHQ,  _divHA,  _divSA,
4191         _divUQQ, _divUHQ, _divUHA, _divUSA.
4193 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4195         * config.host(microblaze*-linux*): tmake_file: Remove
4196         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4197         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4198         to exclude functions from being built with libgcc.c and use
4199         the microblaze assembly.
4201 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4203         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4204         extra_parts.
4206 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
4208         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4209         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4210         __UINTPTR_TYPE__; also cast 'base' to the same type before the
4211         alignment operation.
4213 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
4215         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4216         loop start address for cache clearing.
4218 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4220         * config/avr/lib1funcs.S: Remove trailing blanks.
4221         * config/avr/lib1funcs-fixed.S: Ditto.
4223 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4225         * config/avr/avr-lib.h: Add GPL copyright notice.
4227 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
4229         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4230         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4231         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4232         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4234 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
4236         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4237         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4239 2013-01-04  Nick Clifton  <nickc@redhat.com>
4241         * config/v850/lib1funcs.S: Only provide CALLT support functions if
4242         the CALLT instruction is supported.
4244 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
4246         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4247         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4249 2012-12-13  John Tytgat  <John@bass-software.com>
4251         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4252         is 25.
4254 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
4256         PR libgcc/55451
4257         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4258         undefined signed overflows.
4260 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
4262         PR target/55344
4263         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4265 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
4267         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4268         (FP_TRAPPING_EXCEPTIONS): Define.
4269         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4270         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4272 2012-12-04  Richard Henderson  <rth@redhat.com>
4274         PR bootstrap/55571
4275         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4277 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4279         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4280         (FP_EX_SHIFT): Define.
4281         (FP_TRAPPING_EXCEPTIONS): Define.
4283 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4285         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4286         (FP_ROUNDMODE): Use FP_RND_MASK.
4287         * config/aarch64/sfp-exceptions.c: New.
4288         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4289         Use __sfp_handle_exceptions.
4291 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
4293         * config.host: (arm*-*-freebsd*): Remove.
4294         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4295         (arm*-*-elf*): Remove.
4296         (arm*-*-wince-pe*): Remove.
4297         * arm/unwind-arm.c (struct fpa_reg): Delete.
4298         (struct fpa_regs): Delete.
4299         (phase1_vrs): Remove fpa element.
4300         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4301         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4302         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4303         * ieee754-sf.S (floatundisf): Remove FPA support.
4304         (floatdisf): Likewise.
4305         * ieee75f-df.S (floatundidf): Likewise.
4306         (floatdidf): Likewise.
4308 2012-11-29  Kai Tietz  <ktietz@redhat.com>
4310         PR target/55445
4311         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4312         * unwind-generic.h: Likewise.
4313         * unwind-seh.c: Likewise.
4315 2012-11-28  Richard Henderson  <rth@redhat.com>
4317         PR libgcc/48076
4318         * emutls.c (__emutls_get_address): Avoid race condition between
4319         obj->loc.offset read and emutls_key initialization.
4321 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
4323         Adjust decimal point of signed accum mode to GCC default.
4325         PR target/54222
4326         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4327         _divqq_helper.
4328         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4329         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4330         (__mulha3, __mulsa3)
4331         (__divqq3, __divha3, __divsa3): Adjust to new position of
4332         decimal point of signed accum types.
4334         (__mulusa3_round): New function.
4335         (__mulusa3): Use it.
4336         (__divqq_helper): New function.
4337         (__udivuqq3): Use it.
4339 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
4341         PR bootstrap/55370
4342         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4344 2012-11-18  Teresa Johnson  <tejohnson@google.com>
4346         PR bootstrap/55051
4347         * libgcov.c (gcov_exit): Remove merged program summary
4348         comparison unless !GCOV_LOCKED.
4350 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4352         * soft-fp: Updated from glibc upstream.
4354 2012-11-06  Ian Lance Taylor  <iant@google.com>
4356         * generic-morestack.c (__generic_morestack): Align the returned
4357         stack pointer to a 32 byte boundary.
4358         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4359         increment the return address until we have decided that we don't
4360         have a varargs function.
4361         (__morestack) [32-bit]: Align stack correctly when calling C
4362         functions.
4363         (__morestack) [64-bit]: Likewise.
4365 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4367         * configure: Regenerate.
4369 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
4371         PR target/55175
4372         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4373         * config/i386/sfp-machine.h: Guard exception handling
4374         code with _SOFT_FLOAT.
4375         * config/i386/32/sfp-machine.h: Guard rounding handling
4376         code with _SOFT_FLOAT.
4377         * config/i386/64/sfp-machine.h: Ditto.
4379 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
4381         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4382         as extra_parts.
4384 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
4386         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4387         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
4388         when appropriate.  Correct structure element types.
4389         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4390         -minline-all-stringops from compile flags.
4392 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4394         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4396 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
4398         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4400 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4402         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4403         tmake_file.
4405 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
4406             Jim MacArthur  <jim.macarthur@arm.com>
4407             Marcus Shawcroft  <marcus.shawcroft@arm.com>
4408             Nigel Stephens  <nigel.stephens@arm.com>
4409             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4410             Richard Earnshaw  <rearnsha@arm.com>
4411             Sofiane Naci  <sofiane.naci@arm.com>
4412             Stephen Thomas  <stephen.thomas@arm.com>
4413             Tejas Belagod  <tejas.belagod@arm.com>
4414             Yufeng Zhang  <yufeng.zhang@arm.com>
4416         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4417         * config/aarch64/crti.S: New file.
4418         * config/aarch64/crtn.S: New file.
4419         * config/aarch64/linux-unwind.h: New file.
4420         * config/aarch64/sfp-machine.h: New file.
4421         * config/aarch64/sync-cache.c: New file.
4422         * config/aarch64/t-aarch64: New file.
4423         * config/aarch64/t-softfp: New file.
4425 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
4427         * config/mmix/crti.S: Mark program and data addresses using PRELD.
4428         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
4429         no-longer-needed LDBU insns.
4431 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4433         * config.host
4434         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4435         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4437 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4439         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4441 2012-10-15  Matthias Klose  <doko@ubuntu.com>
4443         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4445 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
4447         * configure: Regenerate.
4448         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4450 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4452         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4453         instructions for 64bit targets only.
4455 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
4457         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4458         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4459         * config/i386/32/sfp-machine.h: ... here.
4460         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4461         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4462         New defines.
4464 2012-10-07  Matthias Klose  <doko@ubuntu.com>
4466         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4467         as unused.
4468         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4470 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
4472         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4473         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4474         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4475         (ElfW): Likewise.
4477 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
4479         PR other/53889
4480         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4481         Fix parameter names.
4483 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
4485         PR target/33135
4486         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4487         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4488         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4490 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
4492         PR target/50457
4493         * config/sh/linux-atomic.S: Delete.
4494         * config/sh/linux-atomic.c: New.
4495         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4496         linux-atomic.c.  Add cflags to disable warnings.
4498 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4500         PR other/53889
4501         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4502         function.
4503         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4504         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4505         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4506         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4507         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4508         Likewise.
4509         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4510         Likewise.
4511         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4512         Likewise.
4513         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4514         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4516 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
4518         * config.host (hppa-*-openbsd*): New target.
4519         * config/pa/t-openbsd: New file.
4521 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
4523         PR target/54222
4524         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4525         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4526         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4527         (__divsa3): Use __negsi2 to negate r_quoL.
4528         * config/avr/lib1funcs.S (FALIAS): New macro.
4529         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4530         (__negsi2): ...this new function.
4531         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4532         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4533         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4534         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4535         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4536         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4538 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
4540         PR target/54089
4541         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4542         (lshrsi3): Reimplement as lshrsi3_r0.
4544 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
4546         PR target/46191
4547         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4548         of libgcc.a.
4550 2012-09-07  Teresa Johnson  <tejohnson@google.com>
4552         PR gcov-profile/54487
4553         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4554         differences.
4556 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
4558         PR target/54461
4559         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4560         not configured --with-avrlibc=no.
4561         * config/avr/t-avrlibc: New file.
4562         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4563         (DPBIT_FUNCS): Ditto.
4564         (TPBIT_FUNCS): Ditto.
4566 2012-09-04  Teresa Johnson  <tejohnson@google.com>
4568         * libgcov.c (struct gcov_summary_buffer): New structure.
4569         (gcov_histogram_insert): New function.
4570         (gcov_compute_histogram): Ditto.
4571         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4572         histograms during summary merging.
4574 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
4576         * config.host (x86_64-*-openbsd*): New target.
4578 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
4580         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4581         attribute.
4583 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4585         PR target/54222
4586         * config/avr/t-avr (conv_X): Rename to func_X.
4588 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
4590         PR target/54222
4591         * config/avr/lib1funcs-fixed.S: New file.
4592         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
4593         after they are used.
4594         (neg2, neg4): New macros.
4595         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4596         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4597         (__umulhisi3): Speed up MUL variant if there is enough flash.
4598         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4599         avr-modes.def.
4600         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4601         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4602         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4603         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4604         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4605         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4606         (LIB2FUNCS_EXCLUDE): Add supported functions.
4608 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
4610         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4611         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4612         libgcc-s-objects.
4613         * fixed-obj.mk: Only expand dependency if $o is not in
4614         LIB2FUNCS_EXCLUDE.
4616 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
4618         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4620 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
4622         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4623         depend on --enable-shared.
4624         ($(lib1asmfuncs-o)): Use %.vis files independent of
4625         --enable-shared.
4626         * static-object.mk ($(base)$(objext), $(base).vis)
4627         ($(base)_s$(objext)): Use same rules for visibility handling as in
4628         shared-object.mk.
4630 2012-08-21  Ian Lance Taylor  <iant@google.com>
4632         * config/i386/morestack.S (__morestack_non_split): Increase amount
4633         of space allocated for non-split code stack.
4635 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
4637         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4638         even if inhibit_libc.
4640 2012-08-17  Julian Brown  <julian@codesourcery.com>
4642         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4643         -fexceptions -fnon-call-exceptions if not defined.
4644         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4645         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4647 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
4649         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4650         type.
4652 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
4654         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4655         rs6000/t-slibgcc-aix.
4657 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4659         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4661 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
4663         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4665 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
4667         PR driver/54171
4668         * Makefile.in (version): Replace top_srcdir with srcdir.
4670 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
4672         * Makefile.in (version): set to BASE-VER file from gcc directory.
4674 2012-08-01  Nick Clifton  <nickc@redhat.com>
4676         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4677         Implements __clrsb for an HImode argument.
4679 2012-07-31  Nick Clifton  <nickc@redhat.com>
4681         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4682         Implements __clrsb for an HImode argument.
4683         * config/stormy16/clrsbhi2.c: New file:
4684         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4686 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
4688         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4690 2012-07-19  Tristan Gingold  <gingold@adacore.com>
4691             Richard Henderson  <rth@redhat.com>
4693         * unwind-seh.c: New file.
4694         * unwind-generic.h: Include windows.h for SEH.
4695         (_Unwind_Exception): Use 6 private fields for SEH.
4696         (_GCC_specific_handler): Declare.
4697         * unwind-c.c (__gcc_personality_seh0): New function.
4698         Adjust for SEH.
4699         * config/i386/libgcc-cygming.ver: New file.
4700         * config/i386/t-seh-eh: New file.
4701         * config.host (x86_64-*-mingw*): Default to seh.
4703 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
4705         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4707 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
4709         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4710         __builtin_expect when checking for exceptions.
4711         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4713 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4715         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4716         function declaration.
4717         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4718         (FP_RND_MASK): New.
4719         * config/ia64/sfp-exceptions.c: New.
4720         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
4722 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
4724         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4725         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4726         * config/i386/64/sfp-machine: ... (delete here) ...
4727         * config/i386/sfp-machine.h: ... to here.
4728         (FP_EX_MASK): Remove.
4729         (FP_RND_MASK): New.
4730         (FP_INIT_ROUNDMODE): Declare asm as volatile.
4732 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
4734         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4735         * config/i386/libgcc-sol2.ver: Ditto.
4736         * config/i386/libgcc-glibc.ver: Ditto.
4738 2012-06-11  Roland McGrath  <mcgrathr@google.com>
4740         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4741         If __GLIBC__ is defined, refer to __pthread_key_create instead of
4742         pthread_cancel.
4744 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
4746         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4747         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4748         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4749         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4750         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4751         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4752         * config/i386/64/sfp-machine: ... (delete here) ...
4753         * config/i386/sfp-machine.h: ... to here.
4754         (FP_EX_MASK): New.
4755         (__sfp_handle_exceptions): New function declaration.
4756         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4757         * config/i386/sfp-exceptions.c: New.
4758         * config/i386/t-softfp: New.
4759         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4760         i386/t-softfp to tmake_file.
4762 2012-06-03  David S. Miller  <davem@davemloft.net>
4764         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4765         change.
4767 2012-05-31  David S. Miller  <davem@davemloft.net>
4769         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4770         multiply and divide instructions on 32-bit when V9.
4771         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4773 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
4775         * config/arm/ieee754-df.S: Fix typos.
4776         * config/arm/ieee754-sf.S: Fix typos.
4777         * config/c6x/libunwind.S: Fix typos.
4778         * config/epiphany/udivsi3-float.c: Fix typos.
4779         * config/microblaze/muldi3_hard.S: Fix typos.
4780         * config/picochip/adddi3.S: Fix typos.
4781         * config/picochip/ashlsi3.S: Fix typos.
4782         * config/picochip/ashrsi3.S: Fix typos.
4783         * config/picochip/clzsi2.S: Fix typos.
4784         * config/picochip/cmpsi2.S: Fix typos.
4785         * config/picochip/divmod15.S: Fix typos.
4786         * config/picochip/divmodhi4.S: Fix typos.
4787         * config/picochip/divmodsi4.S: Fix typos.
4788         * config/picochip/longjmp.S: Fix typos.
4789         * config/picochip/lshrsi3.S: Fix typos.
4790         * config/picochip/parityhi2.S: Fix typos.
4791         * config/picochip/popcounthi2.S: Fix typos.
4792         * config/picochip/setjmp.S: Fix typos.
4793         * config/picochip/subdi3.S: Fix typos.
4794         * config/picochip/ucmpsi2.S: Fix typos.
4795         * config/picochip/udivmodhi4.S: Fix typos.
4796         * config/picochip/udivmodsi4.S: Fix typos.
4797         * config/spu/divv2df3.c: Fix typos.
4798         * config/spu/mfc_multi_tag_release.c: Fix typos.
4799         * config/spu/mfc_tag_release.c: Fix typos.
4800         * configure.ac: Fix typos.
4801         * configure: Regenerate.
4803 2012-05-25  Ian Lance Taylor  <iant@google.com>
4805         * config/i386/morestack.S (__morestack_non_split): Check whether
4806         caller is varargs and needs %bp to hold the stack frame on return.
4808 2012-05-25  Olivier Hainque  <hainque@adacore.com>
4810         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4811         sequence in the non pic case on VxWorks.
4813 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4815         * Makefile.in: Move dependency on install-unwind_h from
4816         "install-leaf" to "install".
4818 2012-05-24  Olivier Hainque  <hainque@adacore.com>
4820         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4821         Use a separate command for stamp removals.
4823 2012-05-21  Andrew Pinski  <apinski@cavium.com>
4825         PR bootstrap/53183
4826         * configure.ac: Define the default includes to being none.
4827         * configure: Regenerate.
4829 2012-05-16  Olivier Hainque  <hainque@adacore.com>
4831         * Makefile.in (install-unwind_h): Rename into ...
4832         (install-unwind_h-forbuild): New target.
4833         (all): Use it instead of the former install-unwind_h.
4834         (install-unwind_h): Reinstate, copy to user install destination
4835         for include files, not to the internal gcc object directory one.
4836         (install-leaf): Depend on it.
4838 2012-05-15  Olivier Hainque  <hainque@adacore.com>
4840         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4841         register numbers. LR_REGNO replaces R_LR.
4842         (ucontext_for): New, helper for ...
4843         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4844         and 5.3 of ...
4845         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4847 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4849         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4850         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4851         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4852         i386/t-cpuinfo ...
4853         (i[34567]86-*-*, x86_64-*-*): ... here.
4855         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4856         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4858         * config/i386/i386-cpuinfo.c: Rename to ...
4859         * config/i386/cpuinfo.c: ... this.
4860         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4862         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4863         (libgcc_cv_init_priority): New test.
4864         * configure: Regenerate.
4865         * config.in: New file.
4866         * Makefile.in (clean): Rename config.h to auto-target.h.
4867         (config.h): Likewise.
4868         (stamp-h): Likewise.
4870         * config/i386/cpuinfo.c (auto-target.h): Include.
4871         (CONSTRUCTOR_PRIORITY): Define.
4872         (__cpu_indicator_init): Use it.
4874 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
4876         * longlong.h: Use a URL instead of an FSF postal address.
4877         Replace spaces with tab.
4879 2012-05-08  Teresa Johnson  <tejohnson@google.com>
4881         * libgcov.c (gcov_clear, __gcov_reset): New functions.
4882         (__gcov_dump): Ditto.
4883         (gcov_dump_complete): New global variable.
4884         (gcov_exit): Export hidden to enable use in L_gcov_dump.
4885         (__gcov_flush): Outline functionality now in gcov_clear.
4886         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4888 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
4890         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4891         (mips*-*-linux*): Include mips/t-tpbit when long double is
4892         16 bytes long.
4894 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
4896         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4897         (get_available_features): New argument. Check for AVX2.
4898         (__cpu_indicator_init): Modify call to get_available_features.
4900 2012-04-25  Alan Modra  <amodra@gmail.com>
4902         * config/rs6000/crtsavevr.S: New file.
4903         * config/rs6000/crtrestvr.S: New file.
4904         * config/rs6000/t-savresfgpr: Build the above.
4905         * config/rs6000/t-netbsd: Likewise.
4907 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4909         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4911 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
4913         * libgcc/config/i386/i386-cpuinfo.c: New file.
4914         * libgcc/config/i386/t-cpuinfo: New file.
4915         * libgcc/config.host: Include t-cpuinfo.
4916         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
4918 2012-04-24  Chao-ying Fu  <fu@mips.com>
4920         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4922 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
4924         struct siginfo vs. siginfo_t
4926         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
4927         siginfo_t instead of struct siginfo.
4928         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
4929         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
4930         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
4931         (ia64_handle_unwabi): Likewise.
4932         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
4933         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
4934         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
4935         (sh_fallback_frame_state): Likewise.
4936         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
4937         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
4939 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
4941         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
4942         system call number.
4944 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
4946         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
4947         if it hasn't been previously saved.
4949 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
4951         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
4952         only for glibc.
4954 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
4956         PR target/52737
4957         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
4958         instead of __AVR_HAVE_8BIT_SP__.
4960 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4962         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
4963         (unw_table_entry): Use unw_word instead of unsigned long.
4964         (_Unwind_FindTableEntry): Likewise.
4965         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
4966         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
4967         (_Unwind_FindTableEntry): Likewise.
4968         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
4969         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
4970         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
4971         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
4972         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
4973         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
4974         (uw_init_context_1, uw_install_context): Likewise.
4975         (unw_word): Move to unwind-ia64.h
4977 2012-03-26  Tristan Gingold  <gingold@adacore.com>
4979         * config/vms/vms-ucrt0.c: Update copyright years.
4980         Add a sanity check.
4981         (___gcc_main_flags): Declare.
4982         (__main): Check flags to remap argv and exit code.
4983         * config.host (*-*-*vms*): Adjust extra_parts.
4984         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
4985         (crt0.o): Add.
4987 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
4989         * arm/lib1funcs.asm (ctzsi2): New function.
4990         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4991         * arm/t-linux (LIB1ASMFUNCS): Likewise.
4992         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4993         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4994         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4995         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4997 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
4999         * config.host: Add bits to support powerpc64-*-freebsd*.
5000         * config/rs6000/freebsd-unwind.h: New file.
5001         * config/rs6000/t-freebsd64: New file.
5003 2012-03-20  Richard Guenther  <rguenther@suse.de>
5005         PR gcov-profile/52627
5006         * libgcov.c (init_mx): Fix mutex name.
5008 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5010         * config/ia64/vms-unwind.h: Remove ulong (and replace
5011         it by unw_reg where used).  Define unw_reg with __int64.
5013 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5015         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5016         Solaris 8 handling.
5017         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5018         Solaris 8 handling.
5019         (sparc_is_sighandler): Likewise.
5021 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5023         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5024         <= saved reg size.
5026 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5028         * config/arm/crtn.S: Fix typo.
5030 2012-03-13  Richard Guenther  <rguenther@suse.de>
5032         * libgcov.c: Remove stdio.h include and NULL un-define.
5034 2012-03-13  Richard Guenther  <rguenther@suse.de>
5036         PR target/52569
5037         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5039 2012-03-13  Richard Guenther  <rguenther@suse.de>
5041         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5043 2012-03-13  Richard Guenther  <rguenther@suse.de>
5045         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5046         and __gthread_mutex_init_function definitions.
5048 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5050         * config.host (mips*-*-openbsd*): Remove.
5052 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5054         * config.host: Remove alpha*-dec-osf5.1* handling.
5055         * config/alpha/gthr-posix.c: Remove.
5056         * config/alpha/libgcc-osf5.ver: Remove.
5057         * config/alpha/osf5-unwind.h: Remove.
5058         * config/alpha/t-osf-pthread: Remove.
5059         * config/alpha/t-slibgcc-osf: Remove.
5060         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5061         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5062         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5063         * mkmap-flat.awk: Remove osf_export handling.
5065 2012-03-12  Richard Guenther  <rguenther@suse.de>
5067         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5068         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5069         (__gthread_mutex_init_function): New function.
5070         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5072         PR gcov/49484
5073         * libgcov.c: Include gthr.h.
5074         (__gcov_flush_mx): New global variable.
5075         (init_mx, init_mx_once): New functions.
5076         (__gcov_flush): Protect self with a mutex.
5077         (__gcov_fork): Re-initialize mutex after forking.
5078         * unwind-dw2-fde.c: Change condition under which to use
5079         __GTHREAD_MUTEX_INIT_FUNCTION.
5081 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5083         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5084         * config/ia64/t-vms: Likewise.
5086 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5088         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5089         for Thumb-2.
5091 2012-03-07  Walter Lee  <walt@tilera.com>
5093         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5094         "arch_atomic_".
5095         (atomic_xor): Rename and move definition to
5096         config/tilepro/atomic.h.
5097         (atomic_nand): Ditto.
5098         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5099         "arch_atomic_".
5100         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5101         (arch_atomic_nand): Ditto.
5103 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5105         PR target/52507
5106         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5108 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5110         PR target/52505
5111         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5112         from RAM.
5114 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5116         PR target/52461
5117         PR target/52508
5118         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5119         if RAMPZ affects reading from RAM.
5120         (__tablejump_elpm__): Ditto.
5121         (.xload): Ditto.
5122         (__movmemx_hi): Ditto.
5123         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5124         (__do_global_dtors): Ditto.
5125         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5126         (__movmemx_hi): Ditto.
5128 2012-03-05  Richard Henderson  <rth@redhat.com>
5130         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5131         [ARM] (count_trailing_zeros): Use the builtin.
5133 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5135         * soft-fp: Imported from glibc upstream.
5137 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5139         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5140         for mingw-targets as attribute gcc_struct.
5142 2012-02-28  Ian Lance Taylor  <iant@google.com>
5144         * generic-morestack.c (__splitstack_releasecontext): Correct call
5145         to __morestack_release_segments.
5147 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5149         PR target/52390
5150         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5151         for __linux__ when removing signals from __morestack_fullmask.
5153 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5155         PR target/52261
5156         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5158 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5160         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5161         instead of HAVE_INITFINI_ARRAY.
5162         * config/ia64/crtend.S: Likewise.
5164 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5166         PR libstdc++/52300
5167         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5169         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5170         to w32-unwind.h header.
5172 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5174         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5175         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5176         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5177         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5179 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5181         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5183 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5185         PR libitm/52220
5186         * config/darwin-crt-tm.c: Correct typo.
5188 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5189             Patrick Marlier  <patrick.marlier@gmail.com>
5191         PR libitm/52220
5192         * config/darwin-crt-tm.c: Generate dummy functions.
5194 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5195             Patrick Marlier  <patrick.marlier@gmail.com>
5197         PR libitm/52042
5198         * config/darwin-crt-tm.c (getTMCloneTable): New function.
5199         (__doTMRegistrations): Call it.
5200         (__doTMdeRegistrations): Likewise.
5202 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
5203             Anatoly Sokolov  <aesok@post.ru>
5204             Eric Weddington  <eric.weddington@atmel.com>
5206         PR target/52261
5207         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5208         (__epilogue_restores__): Ditto.
5210 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
5212         PR target/51921
5213         PR target/52205
5214         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5215         Solaris 11 and slightly reformat.
5216         (sparc_is_sighandler): Likewise.
5218 2012-02-14  Walter Lee  <walt@tilera.com>
5220         * config.host: Handle tilegx and tilepro.
5221         * config/tilegx/sfp-machine.h: New file.
5222         * config/tilegx/sfp-machine32.h: New file.
5223         * config/tilegx/sfp-machine64.h: New file.
5224         * config/tilegx/t-crtstuff: New file.
5225         * config/tilegx/t-softfp: New file.
5226         * config/tilegx/t-tilegx: New file.
5227         * config/tilepro/atomic.c: New file.
5228         * config/tilepro/atomic.h: New file.
5229         * config/tilepro/linux-unwind.h: New file.
5230         * config/tilepro/sfp-machine.h: New file.
5231         * config/tilepro/softdivide.c: New file.
5232         * config/tilepro/softmpy.S: New file.
5233         * config/tilepro/t-crtstuff: New file.
5234         * config/tilepro/t-tilepro: New file.
5236 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
5238         PR libstdc++/51296
5239         PR libstdc++/51906
5240         * gthr-posix.h: Allow static initializer macros to be disabled.
5241         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5243 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5245         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5246         Add t-slibgcc-libgcc to tmake_file.
5247         * config/mips/libgcc-mips16.ver: Revert previous patch.
5248         * config/mips/mips16.S (__mips16_rdhwr): Hide.
5250 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
5251             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
5253         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5254         * config/cr16/crti.S: New file.
5255         * config/cr16/crtlibid.S: New file.
5256         * config/cr16/crtn.S: New file.
5257         * config/cr16/lib1funcs.S: New file.
5258         * config/cr16/t-cr16: New file.
5259         * config/cr16/t-crtlibid: New file.
5260         * config/cr16/unwind-dw2.h: New file.
5261         * config/cr16/unwind-cr16.c: New file.
5262         * config/cr16/divmodhi3.c: New file.
5264 2012-01-25  Alan Modra  <amodra@gmail.com>
5266         * config/rs6000/t-linux64: Delete.  Move..
5267         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5268         * config/rs6000/t-linux: ..and libgcc flags to here.
5270 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
5272         * config.host (i[34567]86-*-interix3*):
5273         Change triplet to i[34567]86-*-interix[3-9]*.
5274         * configure: Regenerate.
5276 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
5277             Richard Sandiford  <rdsandiford@googlemail.com>
5279         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5280         * config/mips/mips16.S (__mips16_rdhwr): New function.
5281         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5283 2012-01-11  Nathan Sidwell  <nathan@acm.org>
5285         * libgcov.c (__gcov_init): Ignore objects with no functions.
5287 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
5289         PR target/49868
5290         Extend __pgmx semantics to linearize memory.
5291         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5292         * config/avr/lib1funcs.S (__xload_1): New function.
5293         (__movmemx_qi, __movmemx_hi): New functions.
5294         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5295         semantics.
5297 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5299         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5300         purported sigacthandler address isn't null before dereferencing it.
5301         (sparc_is_sighandler): Likewise.
5303 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5305         PR ada/41929
5306         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5307         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
5308         (sparc_is_sighandler): Likewise.
5309         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5311 2012-01-06  Tristan Gingold  <gingold@adacore.com>
5313         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5314         compatibility thunks...
5315         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5316         (crtbeginS.o, crtendS.o): ... and these to ...
5317         * config/ia64/t-ia64-elf: ... this new file.
5318         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5319         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5321 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5323         * configure: Regenerate.
5324         * config/s390/t-crtstuff: Remove -fPIC.
5326 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5328         PR bootstrap/51006
5329         * enable-execute-stack-mprotect.c (getpagesize): Do not define
5330         for NetBSD.
5332 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5334         PR target/51345
5335         * config/avr/lib1funcs.S: Remove FIXME comments.
5336         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5338 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
5340         Implement light-weight DImode support.
5341         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5342         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5343         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5344         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5346 2011-12-30  Nathan Sidwell  <nathan@acm.org>
5348         * libgcov.c (gcov_crc32): Remove global var.
5349         (free_fn_data): New function.
5350         (buffer_fn_data): Pass in filename, more robust error recovery.
5351         (crc32_unsigned): New function.
5352         (gcov_exit): More robust detection of new program. More robust
5353         error recovery.
5354         (__gcov_init): Do not update program's crc here.
5356 2011-12-21  Tristan Gingold  <gingold@adacore.com>
5358         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5360 2011-12-21  Ian Lance Taylor  <iant@google.com>
5362         * config/i386/morestack.S: Simplify CFI opcodes throughout.
5364 2011-12-20  Ian Lance Taylor  <iant@google.com>
5366         * config/i386/morestack.S (__morestack_non_split): If there is
5367         enough stack space already, don't split.  Ask for more stack space
5368         than we required.
5370 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
5372         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5373         `sys/sdt.h'.
5374         (_Unwind_DebugHook): New function.
5375         (uw_restore_core_regs): New define.
5376         (unwind_phase2): Use uw_restore_core_regs instead of
5377         restore_core_regs.
5378         (unwind_phase2_forced): Likewise.
5379         (__gnu_Unwind_Resume): Likewise.
5381 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
5383         * config/alpha/linux-unwind.h: Update copyright years.
5384         (MD_FROB_UPDATE_CONTEXT): New define.
5385         (alpha_frob_update_context): New function.
5387 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
5389         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5390         tmake_file rather replacing it.
5392 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
5394         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5395         function is not used for PPC64.
5396         (save_world): Amend comments.  Update the VRsave mask to reflect the
5397         saved regs.
5398         (rest_world): Update comments, do not  clobber r10, do not use r8.
5399         (eh_rest_world_r10): Amend comments, do not use r8.
5400         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5401         no longer used, move restore of CR and target address to the end of
5402         the routine.
5404 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
5406         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5407         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5409 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
5411         PR target/49313
5412         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5413         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5415 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
5417         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5419 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
5421         PR target/49313
5422         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5423         * config/avr/lib1funcs.S (__muldi3): New function.
5425 2011-12-06  Andrew Pinski  <apinski@cavium.com>
5427         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5428         size of func_ptr.
5429         (__frame_dummy_init_array_entry): Likewise.
5431 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
5433         Forward-port from gcc-4_6-branch r181936 2011-12-02.
5435         PR target/51345
5436         PR target/51002
5437         * config/avr/lib1funcs.S (__prologue_saves__,
5438         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5439         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
5441 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
5443         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5445 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5447         PR other/51272
5448         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5449         (_ITM_deregisterTMCloneTable): Likewise.
5450         (__register_frame_info): Fix unused warning.
5451         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5452         pthread_default_stacksize_np): Likewise.
5453         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5455 2011-11-29  DJ Delorie  <dj@redhat.com>
5457         * config.host (rl78-*-elf): New case.
5458         * config/rl78: New directory for the Renesas RL78.
5460 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
5462         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
5463         formatting.
5465 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5467         PR other/51022
5468         * config/rs6000/t-savresfgpr: New file.
5469         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5470         $(srcdir)/config/rs6000/eabi.S.
5471         * config/rs6000/t-ppccomm-ldbl: Remove.
5472         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5473         tmake_file.
5474         (powerpc-*-eabispe*): Likewise.
5475         (powerpc-*-eabi*): Likewise.
5476         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5477         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5478         to tmake_file, remove rs6000/t-ppccomm-ldbl.
5479         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5480         tmake_file.
5481         (powerpc-*-eabisim*): Likewise.
5482         (powerpc-*-elf*): Likewise.
5483         (powerpc-*-eabialtivec*): Likewise.
5484         (powerpc-xilinx-eabi*): Likewise.
5485         (powerpc-*-rtems*): Likewise.
5486         (powerpcle-*-elf*): Likewise.
5487         (powerpcle-*-eabisim*): Likewise.
5488         (powerpcle-*-eabi*): Likewise.
5490 2011-11-27  Ian Lance Taylor  <iant@google.com>
5492         * generic-morestack.c (__splitstack_find): Check for NULL old
5493         stack value.
5494         (__splitstack_resetcontext): New function.
5495         (__splitstack_releasecontext): New function.
5496         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5498 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5500         * config/darwin-crt-tm.c: Correct comments, use correct licence.
5502 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
5504         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5506 2011-11-26  Richard Henderson  <rth@redhat.com>
5508         * config/m68k/linux-atomic.c: New file.
5509         * config/m68k/t-linux: New file.
5510         * config.host (m68k-uclinux, m68k-linux): Use it.
5512 2011-11-26  Richard Henderson  <rth@redhat.com>
5514         * crtstuff.c (__TMC_LIST__): Mark used not unused.
5515         (__TMC_END__): Only declare if hidden is available; in the definition,
5516         if hidden is unavailable add a null record.
5517         (deregister_tm_clones, register_tm_clones): New.
5518         (__do_global_dtors_aux, frame_dummy): Use them.
5519         (__do_global_dtors, __do_global_ctors_1): Likewise.
5521 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
5523         * config/darwin-crt-tm.c: New file.
5524         * config.host (darwin): Build crttms.o crttme.o to provide
5525         startup and shutdown for tm clones.
5526         * config/t-darwin (crttms.o): New build rule.
5527         (crttme.o): Likewise.
5529 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
5531         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5532         et al.
5534 2011-11-21  Richard Henderson  <rth@redhat.com>
5536         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5537         (__TMC_LIST__, __TMC_END__): New.
5538         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5539         (__do_global_dtors): Likewise.
5540         (frame_dummy): Call _ITM_registerTMCloneTable.
5541         (__do_global_ctors_1): Likewise.
5543 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5545         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5546         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5547         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5548         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5549         * config/i386/t-darwin64: Remove.
5550         * config/sh/t-netbsd (LIB2ADD): Remove.
5552 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
5554         PR target/49313
5555         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5556         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5557         * config/avr/lib1funcs.S (wmov): New assembler macro.
5558         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5559         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5560         (__udivmod64): New function.
5561         (__negdi2): New function.
5563 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
5565         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5566         *-*-freebsd*aout*): Remove.
5568 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
5570         * static-object.mk (c_flags-$o): Save c_flags.
5571         ($(base)$(objext)): Use it.
5573 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
5575         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5577 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
5579         PR target/49868
5580         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5581         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5582         New functions.
5584 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5586         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5587         functions.
5588         (aeabi_uidivmod): Likewise.
5589         (umodsi3): Likewise.
5590         (divsi3): Likewise.
5591         (aeabi_idivmod): Likewise.
5592         (modsi3): Likewise.
5594 2011-11-16  Tristan Gingold  <gingold@adacore.com>
5596         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5598 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
5600         PR target/49868
5601         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
5602         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5604 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5606         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5607         tmake_file list.
5608         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5609         * config/pa/t-stublib64: Delete.
5611 2011-11-12  Richard Henderson  <rth@redhat.com>
5613         * config/rs6000/linux-unwind.h (frob_update_context): Properly
5614         cast the pointer argument to _Unwind_SetGRPtr.
5616 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5618         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5620 2011-11-09  Ian Lance Taylor  <iant@google.com>
5622         * generic-morestack.c: Include <string.h>.
5623         (uintptr_type): Define.
5624         (struct initial_sp): Add dont_block_signals field.  Reduce size of
5625         extra array by 1.
5626         (allocate_segment): Set prev field to NULL.  Don't set
5627         __morestack_current_segment or __morestack_segments.
5628         (__generic_morestack): Update current->prev and *pp after calling
5629         allocate_segment.
5630         (__morestack_block_signals): Don't do anything if
5631         dont_block_signals is set.
5632         (__morestack_unblock_signals): Likewise.
5633         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
5634         uintptr_type.
5635         (__splitstack_block_signals): New function.
5636         (enum __splitstack_content_offsets): Define.
5637         (__splitstack_getcontext, __splitstack_setcontext): New functions.
5638         (__splitstack_makecontext): New function.
5639         (__splitstack_block_signals_context): New function.
5640         (__splitstack_find_context): New function.
5641         * config/i386/morestack.S (__morestack_get_guard): New function.
5642         (__morestack_set_guard, __morestack_make_guard): New functions.
5643         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5645 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5647         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5648         (i[34567]86-*-mingw*): ... here.
5649         (x86_64-*-mingw*): ... here.
5651 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5653         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5655 2011-11-07  Nathan Sidwell  <nathan@acm.org>
5657         * libgcov.c (struct gcov_fn_buffer): New struct.
5658         (buffer_fn_data): New helper.
5659         (gcov_exit): Rework for new gcov data structures.
5661 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
5663         PR target/49313
5664         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5666 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5668         * config.host (tmake_file): Correct comment.
5669         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5670         t-libgcc-pic.
5671         (bfin*-uclinux*): Likewise.
5672         (bfin*-linux-uclibc*): Likewise.
5673         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5675         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5676         assigning.
5677         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5678         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5679         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5680         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5681         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5682         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5683         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5684         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5685         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5686         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5687         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5688         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5689         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5691         * config/bfin/t-elf: Remove.
5692         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5694 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5696         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5697         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5698         (lm32-*-elf*, lm32-*-rtems*): Split into ...
5699         (lm32-*-elf*): ... this.
5700         (lm32-*-rtems*): ... and this.
5701         Add to tmake_file.
5702         (m32r-*-rtems*): Add to tmake_file.
5703         (moxie-*-rtems*): Likewise.
5704         (sparc-*-rtems*): Likewise.
5705         Remove t-rtems from tmake_file.
5706         (sparc64-*-rtems*): Likewise.
5707         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5708         instead.
5710 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5712         PR bootstrap/50982
5713         * config/gthr-posix.h: Move ...
5714         * gthr-posix.h: ... here.
5715         * config/gthr-lynx.h: Reflect this.
5716         * config/gthr-vxworks.h: Likewise.
5717         * config/rs6000/gthr-aix.h: Likewise.
5718         * configure.ac (target_thread_file): Likewise.
5719         * configure: Regenerate.
5721 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5723         * config.host (arm*-*-rtemseabi*): New target.
5725 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5727         PR other/50991
5728         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5729         extra-parts.
5731 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
5733         * config.host (epiphany-*-elf*): New configuration.
5734         * config/epiphany: New Directory.
5736 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
5738         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5739         * config/avr/t-rtems: New.
5740         Filter out _exit from LIB1ASMFUNCS.
5742 2011-11-04  David S. Miller  <davem@davemloft.net>
5744         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5745         * configure: Rebuild.
5747 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5749         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5750         variable.
5752 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
5754         PR target/50931
5755         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5756         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5758 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
5760         PR target/50989
5761         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5763 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5765         * config/c6x/t-elf (LIB2ADDEH): Set.
5766         * config/c6x/t-c6x-elf: Remove.
5768 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5770         * config/i386/sol2-ci.S: Rename to ...
5771         * config/i386/crti.S: ... this.
5772         * config/i386/sol2-cn.S: Rename to ...
5773         * config/i386/crtn.S: ... this.
5774         * config/sparc/sol2-ci.S: Rename to ...
5775         * config/sparc/crti.S: ... this.
5776         * config/sparc/sol2-cn.S: Rename to ...
5777         * config/sparc/crtn.S: ... this.
5778         * config/t-sol2 (CUSTOM_CRTIN): Remove.
5779         (crti.o, crtn.o): Remove.
5781 2011-11-04  Tristan Gingold  <gingold@adacore.com>
5783         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5785 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5787         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5789 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
5791         * config.host (crisv32-*-none, cris-*-none): Remove.
5792         (crisv32-*-elf): Append to tmake_file, don't just set it.
5793         (cris-*-elf): Add missing t-fdpbit to tmake_file.
5795 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5797         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5798         (ecrtn$(objext)): Likewise.
5799         (ncrti$(objext)): Likewise.
5800         (ncrtn$(objext)): Likewise.
5802 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5804         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5806 2011-11-02  David S. Miller  <davem@davemloft.net>
5808         * configure.ac: Set host_address on sparc too.
5809         * configure: Regenerate.
5810         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5811         based upon host_address.
5812         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5814 2011-11-02  Jason Merrill  <jason@redhat.com>
5816         * config/rs6000/t-ppccomm: Add missing \.
5818 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5820         * gthr-single.h, gthr.h: New files.
5821         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5822         config/gthr-vxworks.h, config/i386/gthr-win32.h,
5823         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5824         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5825         * config/i386/gthr-win32.c: Include "gthr-win32.h".
5826         * configure.ac (thread_header): New variable.
5827         Set it depending on target_thread_file.
5828         (gthr-default.h): Link from $thread_header.
5829         * configure: Regenerate.
5830         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5832 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5834         * configure.ac (tm_file_): New variable.
5835         Determine from tm_file.
5836         (tm_file, tm_defines): Substitute.
5837         * configure: Regenerate.
5838         * mkheader.sh: New file.
5839         * Makefile.in (clean): Remove libgcc_tm.h.
5840         ($(objects)): Depend on libgcc_tm.h.
5841         (libgcc_tm_defines, libgcc_tm_file): New variables.
5842         (libgcc_tm.h, libgcc_tm.stamp): New targets.
5843         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5844         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5845         ($(extra-parts)): Depend on libgcc_tm.h.
5846         * config.host (tm_defines, tm_file): New variable.
5847         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5848         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5849         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5850         (avr-*-rtems*): Likewise.
5851         (avr-*-*): Likewise.
5852         (frv-*-elf): Likewise.
5853         (frv-*-*linux*): Likewise.
5854         (h8300-*-rtems*): Likewise.
5855         (h8300-*-elf*): Likewise.
5856         (i[34567]86-*-darwin*): Likewise.
5857         (x86_64-*-darwin*): Likewise.
5858         (rx-*-elf): Likewise.
5859         (tic6x-*-uclinux): Likewise.
5860         (tic6x-*-elf): Likewise.
5861         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5862         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5863         * config/i386/cygming-crtbegin.c: Likewise.
5864         * config/i386/cygming-crtend.c: Likewise.
5865         * config/ia64/fde-vms.c: Likewise.
5866         * config/ia64/unwind-ia64.c: Likewise.
5867         * config/libbid/bid_gcc_intrinsics.h: Likewise.
5868         * config/rs6000/darwin-fallback.c: Likewise.
5869         * config/stormy16/lib2funcs.c: Likewise.
5870         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5871         * crtstuff.c: Likewise.
5872         * dfp-bit.h: Likewise.
5873         * emutls.c: Likewise.
5874         * fixed-bit.c: Likewise.
5875         * fp-bit.c: Likewise.
5876         * generic-morestack-thread.c: Likewise.
5877         * generic-morestack.c: Likewise.
5878         * libgcc2.c: Likewise.
5879         * libgcov.c: Likewise.
5880         * unwind-dw2-fde-dip.c: Likewise.
5881         * unwind-dw2-fde.c: Likewise.
5882         * unwind-dw2.c: Likewise.
5883         * unwind-sjlj.c: Likewise.
5885 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5887         * configure.ac: Include ../config/picflag.m4.
5888         (GCC_PICFLAG): Call it.
5889         Substitute.
5890         * configure: Regenerate.
5891         * Makefile.in (gcc_srcdir): Remove.
5892         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5893         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5894         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5895         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5896         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5897         Use $<.
5898         Remove comment.
5899         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
5900         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
5901         to refer to libgcc2.c.
5902         Use $<.
5903         * config/darwin-64.c: New file.
5904         * config/darwin-crt3.c: Remove comment.
5905         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
5906         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
5907         config/udivmodsi4.c: New files.
5908         * config/memcmp.c, config/memcpy.c, config/memmove.c,
5909         config/memset.c: New files.
5910         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
5911         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
5912         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
5913         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
5914         * config/t-openbsd-thread: New file.
5915         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
5916         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
5917         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
5918         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
5919         qrnnd.S.
5920         Adapt filename.
5921         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
5922         to refer to gthr-posix.c.
5923         * config/alpha/t-vms (LIB2ADD): Set.
5924         * config/alpha/vms-gcc_shell_handler.c: New file.
5925         * config/arm/bpabi.c, config/arm/fp16.c,
5926         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
5927         config/arm/unaligned-funcs.c: New files.
5928         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
5929         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5930         * config/arm/t-linux: Likewise.
5931         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
5932         * config/arm/t-netbsd: New file.
5933         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
5934         * config/arm/t-symbian (LIB2ADD_ST): Set.
5935         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
5936         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5937         * config/bfin/t-elf: New file.
5938         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
5939         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
5940         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
5941         config/c6x/ltf.c: New files.
5942         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
5943         (HOST_LIBGCC2_CFLAGS): Set.
5944         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
5945         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5946         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
5947         New files.
5948         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
5949         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
5950         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
5951         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
5952         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
5953         files.
5954         * config/frv/t-frv (LIB2ADD): Set.
5955         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5956         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
5957         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
5958         config/h8300/popcounthi2.c: New files.
5959         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5960         * config/i386/gthr-win32.c: New file.
5961         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
5962         * config/i386/t-cygwin: Likewise.
5963         * config/i386/t-darwin, config/i386/t-darwin64,
5964         config/i386/t-gthr-win32, config/i386/t-interix: New files.
5965         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
5966         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5967         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5968         * config/ia64/quadlib.c: New file.
5969         * config/ia64/t-hpux (LIB2ADD): Set.
5970         * config/ia64/t-ia64: Add comment.
5971         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
5972         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5973         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
5974         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
5975         * config/m32c/t-m32c (LIB2ADD): Set.
5976         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5977         * config/m32r/t-m32r: Likewise.
5978         * config/m68k/fpgnulib.c: New file.
5979         * config/m68k/t-floatlib (LIB2ADD): Set.
5980         (xfgnulib.c): New target.
5981         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
5982         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
5983         * config/mep/t-mep (LIB2ADD): Set.
5984         * config/microblaze/divsi3.asm: Rename to divsi3.S.
5985         * config/microblaze/moddi3.asm: Rename to moddi3.S.
5986         * config/microblaze/modsi3.asm: Rename to modsi3.S.
5987         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5988         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5989         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5990         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5991         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5992         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5993         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5994         New files.
5995         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5996         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5997         * config/pa/fptr.c, config/pa/lib2funcs.S,
5998         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5999         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6000         (LIB2ADD, LIB2ADD_ST): Set.
6001         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6002         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6003         Set.
6004         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6005         * config/pdp11/t-pdp11: New file.
6006         * config/picochip/libgccExtras/adddi3.S,
6007         config/picochip/libgccExtras/ashlsi3.S,
6008         config/picochip/libgccExtras/ashrsi3.S,
6009         config/picochip/libgccExtras/clzsi2.S,
6010         config/picochip/libgccExtras/cmpsi2.S,
6011         config/picochip/libgccExtras/divmod15.S,
6012         config/picochip/libgccExtras/divmodhi4.S,
6013         config/picochip/libgccExtras/divmodsi4.S,
6014         config/picochip/libgccExtras/lshrsi3.S,
6015         config/picochip/libgccExtras/parityhi2.S,
6016         config/picochip/libgccExtras/popcounthi2.S,
6017         config/picochip/libgccExtras/subdi3.S,
6018         config/picochip/libgccExtras/ucmpsi2.S,
6019         config/picochip/libgccExtras/udivmodhi4.S,
6020         config/picochip/libgccExtras/udivmodsi4.S: New files.
6021         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6022         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6023         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6024         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6025         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6026         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6027         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6028         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6029         files.
6030         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6031         (HOST_LIBGCC2_CFLAGS): Set.
6032         * config/rs6000/t-darwin64: New file.
6033         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6034         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6035         * config/rs6000/t-ppccomm (LIB2ADD): Add
6036         $(srcdir)/config/rs6000/tramp.S.
6037         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6038         Add  $(srcdir)/config/rs6000/eabi.S.
6039         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6040         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6041         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6042         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6043         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6044         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6045         * config/rs6000/tramp.S: New file.
6046         * config/s390/t-tpf: Remove.
6047         * config/sh/linux-atomic.S: New file.
6048         * config/sh/t-linux (LIB2ADD): Set.
6049         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6050         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6051         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6052         to unwind-dw2.c.
6053         (HOST_LIBGCC2_CFLAGS): Set.
6054         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6055         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6056         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6057         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6058         config/spu/mfc_multi_tag_release.c,
6059         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6060         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6061         config/spu/multi3.c: New files.
6062         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6063         (HOST_LIBGCC2_CFLAGS): Set.
6064         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6065         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6066         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6067         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6068         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6069         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6070         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6071         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6072         config/stormy16/umodsi3.c: New files.
6073         * config/xtensa/lib2funcs.S: New file.
6074         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6075         * config/xtensa/t-xtensa (LIB2ADD): Set.
6076         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6077         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6078         Add t-freebsd-thread to tmake_file for posix threads.
6079         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6080         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6081         (*-*-lynxos*): Likewise.
6082         (*-*-netbsd*): Likewise.
6083         (*-*-openbsd*): Likewise.
6084         Add t-openbsd-thread to tmake_file for posix threads.
6085         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6086         (*-*-vxworks*): Set tmake_file.
6087         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6088         (alpha*-*-freebsd*): Likewise.
6089         (alpha*-*-netbsd*): Likewise.
6090         (alpha*-*-openbsd*): Likewise.
6091         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6092         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6093         (alpha*-dec-*vms*): Likewise.
6094         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6095         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6096         (bfin*-uclinux*): Likewise.
6097         (bfin*-linux-uclibc*): Likewise.
6098         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6099         (crisv32-*-none): Likewise.
6100         (cris-*-elf): Likewise.
6101         (cris-*-none): Likewise.
6102         (cris-*-linux*, crisv32-*-linux*): Likewise.
6103         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6104         tmake_file.
6105         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6106         tmake_file.
6107         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6108         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6109         (x86_64-*-elf*): Likewise.
6110         (i[34567]86-*-nto-qnx*): Likewise.
6111         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6112         win32 threads.
6113         (x86_64-*-mingw*): Likewise.
6114         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6115         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6116         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6117         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6118         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6119         tmake_file.
6120         (mipsisa64sr71k-*-elf*): Likewise.
6121         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6122         (mips-*-elf*, mipsel-*-elf*): Likewise.
6123         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6124         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6125         (mips*-*-rtems*): Likewise.
6126         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6127         to tmake_file.
6128         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6129         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6130         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6131         (spu-*-elf*): Likewise.
6132         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6134 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6136         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6137         $(srcdir) to refer to $(LIB1ASMSRC).
6138         Use $<.
6139         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6140         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6141         config/arm/lib1funcs.S: New files.
6142         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6143         * config/arm/t-arm: New file.
6144         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6145         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6146         config/arm/t-strongarm-elf: New files.
6147         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6148         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6149         * config/avr/lib1funcs.S: New file.
6150         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6151         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6152         * config/c6x/lib1funcs.S: New file.
6153         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6154         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6155         * config/frv/lib1funcs.S: New file.
6156         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6157         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6158         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6159         * config/ia64/__divxf3.asm: Rename to ...
6160         * config/ia64/__divxf3.S: ... this.
6161         Adapt lib1funcs.asm filename.
6162         * config/ia64/_fixtfdi.asm: Rename to ...
6163         * config/ia64/_fixtfdi.S: ... this.
6164         Adapt lib1funcs.asm filename.
6165         * config/ia64/_fixunstfdi.asm: Rename to ...
6166         * config/ia64/_fixunstfdi.S: ... this.
6167         Adapt lib1funcs.asm filename.
6168         * config/ia64/_floatditf.asm: Rename to ...
6169         * config/ia64/_floatditf.S: ... this.
6170         Adapt lib1funcs.asm filename.
6171         * config/ia64/lib1funcs.S: New file.
6172         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6173         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6174         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6175         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6176         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6177         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6178         * config/mep/lib1funcs.S: New file.
6179         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6180         * config/mips/mips16.S: New file.
6181         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6182         * config/pa/milli64.S: New file.
6183         * config/pa/t-linux, config/pa/t-linux64: New files.
6184         * config/picochip/lib1funcs.S: New file.
6185         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6186         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6187         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6188         * config/sh/t-netbsd: New file.
6189         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6190         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6191         * config/sh/t-sh64: New file.
6192         * config/sparc/lb1spc.S: New file.
6193         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6194         filename.
6195         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6196         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6197         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6198         config/xtensa/lib1funcs.S: New files.
6199         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6200         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6201         tmake_file.
6202         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6203         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6204         (arm*-*-linux*): Likewise.
6205         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6206         arm*-*-linux-*eabi, add arm/t-linux otherwise.
6207         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6208         (arm*-*-ecos-elf): Likewise.
6209         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6210         (arm*-*-rtems*): Likewise.
6211         (arm*-*-elf): Likewise.
6212         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6213         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6214         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6215         (bfin*-uclinux*): Likewise.
6216         (bfin*-linux-uclibc*): Likewise.
6217         (bfin*-rtems*): Likewise.
6218         (bfin*-*): Likewise.
6219         (fido-*-elf): Merge into m68k-*-elf*.
6220         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6221         (frv-*-*linux*): Add frv/t-frv to tmake_file.
6222         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6223         (h8300-*-elf*): Likewise.
6224         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6225         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6226         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6227         (i[34567]86-*-mingw*): Likewise.
6228         (x86_64-*-mingw*): Likewise.
6229         (i[34567]86-*-interix3*): Likewise.
6230         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6231         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6232         (m68k-*-elf*): Also handle fido-*-elf.
6233         Add m68k/t-floatlib to tmake_file.
6234         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6235         (m68k-*-linux*): Likewise.
6236         (m68k-*-rtems*): Likewise.
6237         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6238         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6239         sh64*-*-*.
6240         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6241         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6242         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6243         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6244         sh/t-netbsd to tmake_file.
6245         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6246         (sh-*-rtems*): Add sh/t-sh to tmake_file.
6247         (sh-wrs-vxworks): Likewise.
6248         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6249         *-leon[3-9]*.
6250         (v850*-*-*): Add v850/t-v850 to tmake_file.
6251         (vax-*-linux*): Add vax/t-linux to tmake_file.
6252         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6254 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6256         * crtstuff.c: New file.
6257         * Makefile.in (CRTSTUFF_CFLAGS): Define.
6258         (CRTSTUFF_T_CFLAGS): Define.
6259         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6260         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6261         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6262         crtstuff.c.
6263         Use $<.
6264         (crtbeginT.o): Use $(objext).
6265         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6266         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6267         (gcc-extra-parts): Remove.
6268         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6269         Set extra_parts.
6270         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6271         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6272         Add t-crtstuff-pic to tmake_file.
6273         (*-*-lynxos*): New case.
6274         Set tmake_file, extra_parts.
6275         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6276         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6277         *-*-netbsdelf[2-9]*.
6278         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6279         (*-*-rtems*): Set extra_parts.
6280         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6281         (*-*-uclinux*): New case.
6282         Set extra_parts.
6283         (*-*-vms*): New case.
6284         Set tmake_file, extra_parts.
6285         (*-*-elf): Set extra_parts.
6286         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6287         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6288         vms/t-vms64.
6289         Set extra_parts.
6290         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6291         Set extra_parts.
6292         (arm*-*-freebsd*): Add t-crtin to tmake_file.
6293         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6294         (arm-wrs-vxworks): Append to tmake_file.
6295         Set extra_parts.
6296         (arm*-*-uclinux*): Set extra_parts.
6297         (arm*-*-ecos-elf): Likewise.
6298         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6299         arm*-*-eabi*.
6300         (arm*-*-rtems*): Set extra_parts.
6301         (arm*-*-elf): Likewise.
6302         (avr-*-rtems*): Clear extra_parts.
6303         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6304         Set extra_parts.
6305         (bfin*-uclinux*): Likewise.
6306         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6307         (bfin*-rtems*): Append to tmake_file.
6308         Set extra_parts.
6309         (bfin*-*): Likewise.
6310         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6311         (crisv32-*-elf): ... this.
6312         (crisv32-*-none): ... this.
6313         (cris-*-elf, cris-*-none): New cases.
6314         Add cris/t-elfmulti to tmake_file.
6315         (fr30-*-elf): Append to tmake_file.
6316         Set extra_parts.
6317         (frv-*-elf): Append to tmake_file, add frv/t-frv.
6318         Set extra_parts.
6319         (h8300-*-rtems*): Append to tmake_file.
6320         Set extra_parts.
6321         (h8300-*-elf*): Likewise.
6322         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6323         Set extra_parts.
6324         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6325         Set extra_parts.
6326         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6327         (x86_64-*-elf*): Likewise.
6328         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6329         (x86_64-*-freebsd*): Likewise.
6330         (x86_64-*-netbsd*): Likewise.
6331         (i[34567]86-*-linux*): Likewise.
6332         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6333         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6334         (x86_64-*-linux*): Likewise.
6335         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6336         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6337         tmake_file.
6338         Set extra_parts.
6339         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6340         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6341         Append to extra_parts, remove crtbegin.o, crtend.o.
6342         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6343         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6344         crtend.o, crtbeginS.o, crtendS.o.
6345         (ia64*-*-linux*): Comment extra_parts.
6346         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6347         Set extra_parts.
6348         (iq2000*-*-elf*): Clear extra_parts.
6349         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6350         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6351         (m32r-*-elf*, m32r-*-rtems*): Split off ...
6352         (m32r-*-rtems*): ... this.
6353         Add m32r/t-m32r to tmake_file.
6354         (m68k-*-elf*): Add t-crtin to tmake_file.
6355         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6356         (mcore-*-elf): Likewise.
6357         (microblaze*-*-*): Set extra_parts.
6358         (mips*-sde-elf*): New case.
6359         Set tmake_file, extra_parts.
6360         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6361         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6362         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6363         tmake_file.
6364         Set extra_parts.
6365         (mipsisa64sr71k-*-elf*): Likewise.
6366         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6367         (mips-*-elf*, mipsel-*-elf*): Likewise.
6368         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6369         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6370         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
6371         (mips*-*-rtems*): Likewise.
6372         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6373         (moxie-*-*): Split into ...
6374         (moxie-*-elf, moxie-*-uclinux*): ... this.
6375         Add to extra_parts, remove crtbegin.o, crtend.o.
6376         (moxie-*-rtems*): New case.
6377         Set tmake_file.
6378         Clear extra_parts.
6379         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6380         Set extra_parts.
6381         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6382         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6383         tmake_file.
6384         Set extra_parts.
6385         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6386         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6387         Set extra_parts.
6388         (powerpc-*-eabisim*): Likewise.
6389         (powerpc-*-elf*): Likewise.
6390         (powerpc-*-eabialtivec*): Likewise.
6391         (powerpc-xilinx-eabi*): Likewise.
6392         (powerpc-*-eabi*): Likewise.
6393         (powerpc-*-rtems*): Likewise.
6394         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6395         tmake_file.
6396         Set extra_parts.
6397         (powerpc-*-lynxos*): Add to tmake_file.
6398         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6399         rs6000/t-crtstuff, t-crtstuff-pic.
6400         Set extra_parts.
6401         (powerpcle-*-eabisim*): Likewise.
6402         (powerpcle-*-eabi*): Likewise.
6403         (rx-*-elf): Remove extra_parts.
6404         (s390x-ibm-tpf*): Set extra_parts.
6405         (score-*-elf): Set extra_parts.
6406         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6407         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6408         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6409         (sh64l*-*-netbsd*): Split into ...
6410         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6411         Add t-crtstuff-pic to tmake_file.
6412         Set extra_parts.
6413         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6414         Set extra_parts.
6415         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6416         (sparc-*-elf*): Remove t-crtin from tmake_file.
6417         Add to extra_parts, remove crtbegin.o, crtend.o.
6418         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6419         (sparc64-*-linux*): Likewise.
6420         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6421         Add to extra_parts, remove crtbegin.o, crtend.o.
6422         (sparc64-*-elf*): Remove t-crtin from tmake_file.
6423         Add to extra_parts, remove crtbegin.o, crtend.o.
6424         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6425         Add to extra_parts, remove crtbegin.o, crtend.o.
6426         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6427         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6428         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6429         Set extra_parts.
6430         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6431         Set extra_parts.
6432         (tic6x-*-*): Change to ...
6433         (tic6x-*-elf): ... this.
6434         Set extra_parts.
6435         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6436         Set extra_parts.
6437         (am33_2.0-*-linux*): Add comment.
6438         (mep*-*-*): Add mep/t-mep to tmake_file.
6439         Set extra_parts.
6440         * config/alpha/t-vms: New file.
6441         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6442         * config/arm/crti.S, config/arm/crtn.S: New files.
6443         * config/bfin/crti.S, config/bfin/crtn.S: New files.
6444         * config/bfin/crtlibid.S: New file.
6445         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6446         * config/c6x/crti.S, config/c6x/crtn.S: New files.
6447         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6448         (crti.o, crtin.o): New rules.
6449         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6450         * config/c6x/t-uclinux: New file.
6451         * config/cris/t-elfmulti: New file.
6452         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6453         * config/fr30/crti.S, config/fr30/crtn.S: New files.
6454         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6455         * config/frv/t-frv: New file.
6456         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6457         * config/h8300/crti.S, config/h8300/crtn.S: New files.
6458         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6459         New files.
6460         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6461         refer to cygming-crtbegin.c, cygming-crtend.c.
6462         Use $<.
6463         * config/i386/t-nto: New file.
6464         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6465         * config/ia64/crti.S, config/ia64/crtn.S: New files.
6466         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6467         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6468         Use .S extension.
6469         Use $<.
6470         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6471         (crtinitS.o): New rule.
6472         * config/ia64/vms-crtinit.S: New file.
6473         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6474         * config/m32r/initfini.c: New file.
6475         * config/m32r/t-linux, config/m32r/t-m32r: New files.
6476         * config/m68k/crti.S, config/m68k/crtn.S: New files.
6477         * config/mcore/crti.S, config/mcore/crtn.S: New files.
6478         * config/mep/t-mep: New file.
6479         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6480         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6481         * config/mips/crti.S, config/mips/crtn.S: New files.
6482         * config/mips/t-crtstuff: New file.
6483         * config/mmix/crti.S, config/mmix/crtn.S: New files.
6484         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6485         (CUSTOM_CRTIN): Set.
6486         ($(T)crti.o, $(T)crtn.o): Remove $(T),
6487         dependencies.
6488         Use $(srcdir) to refer to crti.S, crtn.S.
6489         Use .S extension, $<.
6490         * config/moxie/crti.asm: Rename to ...
6491         * config/moxie/crti.S: ... this.
6492         * config/moxie/crtn.asm: Rename to ...
6493         * config/moxie/crtn.S: ... this.
6494         * config/moxie/t-moxie: Remove.
6495         * config/pa/stublib.c: New file.
6496         * config/pa/t-stublib, config/pa/t-stublib64: New files.
6497         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6498         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6499         * config/rs6000/t-crtstuff: New file.
6500         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6501         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6502         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6503         Make output file explicit.
6504         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6505         Make output file explicit.
6506         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6507         Make output file explicit.
6508         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6509         Make output file explicit.
6510         * config/score/crti.S, config/score/crtn.S: New files.
6511         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6512         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6513         files.
6514         * config/sh/t-sh, config/sh/t-superh: New files.
6515         * config/sparc/t-linux64: New file.
6516         * config/spu/cache.S, config/spu/cachemgr.c: New files.
6517         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6518         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6519         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6520         * config/t-crtin: Remove.
6521         * config/t-crtstuff-pic: New file.
6522         * config/t-sol2 (CUSTOM_CRTIN): Set.
6523         (crti.o, crtn.o): New rules.
6524         * config/vms/t-vms: New file.
6525         * config/vms/vms-ucrt0.c: New file.
6526         * config/xtensa/t-elf: New file.
6528 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6530         * Makefile.in (SHLIB_NM_FLAGS): Set.
6531         * mkmap-flat.awk, mkmap-symver.awk: New files.
6532         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6533         exceptions.
6534         * configure: Regenerate.
6535         * config/libgcc-glibc.ver: New file.
6536         * config/libgcc-libsystem.ver: New file.
6537         * config/t-libunwind (SHLIB_LC): Set.
6538         * config/t-linux: New file.
6539         * config/t-slibgcc (INSTALL_SHLIB): New.
6540         (SHLIB_INSTALL): Use it.
6541         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6542         to mkmap-symver.awk.
6543         (SHLIB_MAPFILES): Don't append, adapt pathname.
6544         (SHLIB_VERPFX): Set.
6545         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6546         to mkmap-symver.awk.
6547         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6548         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6549         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6550         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6551         to mkmap-flat.awk.
6552         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6553         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6554         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6555         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6556         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6557         * config/i386/libgcc-darwin.10.4.ver,
6558         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6559         New files.
6560         * config/i386/t-darwin: Remove.
6561         * config/i386/t-darwin64: Likewise.
6562         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6563         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6564         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6565         * config/i386/t-linux: New file.
6566         * config/i386/t-mingw32: New file.
6567         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6568         * config/ia64/t-glibc: Rename to ...
6569         * config/ia64/t-linux: ... this.
6570         (SHLIB_MAPFILES): Set.
6571         * config/ia64/t-glibc-libunwind: Rename to ...
6572         * config/ia64/t-linux-libunwind: ... this.
6573         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6574         * config/ia64/t-slibgcc-hpux: New file.
6575         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6576         * config/m68k/t-slibgcc-elf-ver: New file.
6577         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6578         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6579         to mkmap-flat.awk.
6580         * config/pa/t-slibgcc-hpux: New file.
6581         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6582         files.
6583         * config/rs6000/libgcc-darwin.10.4.ver,
6584         config/rs6000/libgcc-darwin.10.5.ver: New files.
6585         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6586         config/rs6000/libgcc-glibc.ver.
6587         * config/rs6000/libgcc-ppc64.ver: Rename to
6588         config/rs6000/libgcc-ibm-ldouble.ver.
6589         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6590         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6591         * config/rs6000/t-ldbl128: Rename to ...
6592         * config/rs6000/t-linux: ... this.
6593         (SHLIB_MAPFILES): Adapt filename.
6594         * config/rs6000/t-slibgcc-aix: New file.
6595         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6596         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6597         libgcc-excl.ver, libgcc-glibc.ver.
6598         (SHLIB_LINK, SHLIB_INSTALL): Remove.
6599         * config/sparc/libgcc-glibc.ver: New file.
6600         * config/sparc/t-linux: New file.
6601         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6602         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6603         t-slibgcc-elf-ver to tmake_file.
6604         Add t-slibgcc-nolc-override to tmake_file for posix threads on
6605         *-*-freebsd[34].
6606         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6607         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6608         t-slibgcc-elf-ver, t-linux to tmake_file.
6609         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6610         tmake_file.
6611         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6612         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6613         (alpha*-dec-*vms*): Likewise.
6614         (arm*-*-freebsd*): Append to tmake_file.
6615         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6616         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6617         arm*-*-linux-*eabi.
6618         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6619         tmake_file for arm*-*-symbianelf*.
6620         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6621         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6622         cris/t-linux.
6623         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6624         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6625         pa/t-slibgcc-dwarf-ver to tmake_file.
6626         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6627         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6628         (hppa*64*-*-hpux11*): Likewise.
6629         (hppa[12]*-*-hpux11*): Likewise.
6630         (x86_64-*-darwin*): Don't override tmake_file, but only keep
6631         i386/t-crtpc, i386/t-crtfm.
6632         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6633         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6634         to tmake_file.
6635         Add i386/t-cygwin to tmake_file.
6636         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6637         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6638         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6639         to tmake_file.
6640         Add i386/t-mingw32 to tmake_file.
6641         (x86_64-*-mingw*): Likewise.
6642         (ia64*-*-freebsd*): Append to tmake_file.
6643         (ia64*-*-linux*): Append to tmake_file.
6644         Replace ia64/t-glibc by ia64/t-linux.
6645         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6646         system libunwind.
6647         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6648         t-slibgcc-hpux to tmake_file.
6649         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6650         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6651         (m32rle-*-linux*): Likewise.
6652         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6653         sjlj exceptions.
6654         (microblaze*-linux*): New case.
6655         Append to tmake_file, add t-slibgcc-nolc-override.
6656         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6657         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6658         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6659         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6660         rs6000/t-slibgcc-aix to tmake_file.
6661         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6662         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6663         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6664         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6665         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6666         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6667         sh*-*-linux*.
6668         (sparc-*-linux*): Append to tmake_file for *-leon*.
6669         Add sparc/t-linux to tmake_file for non-Leon targets.
6670         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6671         (tic6x-*-uclinux): New case.
6672         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6673         (tic6x-*-*): Add c6x/t-elf to tmake_file.
6674         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6675         (am33_2.0-*-linux*): Append to tmake_file.
6676         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6677         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6678         x86_64-*-kfreebsd*-gnu.
6679         Add i386/t-linux to tmake_file.
6681 2011-10-28  Ian Lance Taylor  <iant@google.com>
6683         * config/i386/morestack.S: Correct CFI information to do proper
6684         returns throughout function.  In 32-bit mode, save %ebx so that it
6685         is restored on unwind.
6687 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
6689         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6690         case where B3 isn't the return register.
6692         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6693         logic for doubleword pops.
6695 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
6697         * config/rs6000/t-freebsd: Add wildcard.
6699 2011-10-21  Paul Brook  <paul@codesourcery.com>
6701         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6703 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
6704             Eric Botcazou  <ebotcazou@adacore.com>
6706         PR target/50737
6707         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6708         fs->signal_frame to 1.
6710 2011-10-07  Ian Lance Taylor  <iant@google.com>
6712         * generic-morestack-thread.c: #include <errno.h>.
6714 2011-10-07  Ian Lance Taylor  <iant@google.com>
6716         PR target/46093
6717         * generic-morestack.c (__generic_morestack): Make sure the segment
6718         is large enough for both the stack frame and the copied
6719         parameters.
6721 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6723         PR bootstrap/49804
6724         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6725         extra_parts.
6727 2011-09-28  Nick Clifton  <nickc@redhat.com>
6729         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6730         64-bit doubles are not enabled.
6731         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6732         and floatunsisf functions.
6734 2011-09-13  Paul Brook  <paul@codesourcery.com>
6736         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
6737         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6738         * unwind-arm-common.inc: New file.
6739         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6740         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6741         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6742         * config/c6x/libunwind.S: New file.
6743         * config/c6x/pr-support.c: New file.
6744         * config/c6x/unwind-c6x.c: New file.
6745         * config/c6x/unwind-c6x.h: New file.
6746         * config/c6x/t-c6x-elf: New file.
6748 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
6750         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6751         (ASM_DIVZERO): Ditto.
6752         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6754 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
6756         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6758 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
6760         PR target/50090
6761         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6762         instead of an assembly one.
6764 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
6766         PR bootstrap/50047
6767         * Makefile.in (install-unwind_h): Create
6768         $(gcc_objdir)/include/unwind.h atomically.
6770 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6772         * Makefile.in (install-unwind_h): Remove destination file first.
6774 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6776         * sync.c: New file.
6777         * config/mips/t-mips16: New file.
6778         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6779         (mips*-*-linux*): Likewise.
6780         (mips*-sde-elf*): Likewise.
6781         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6782         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6783         Add mips/t-mips16 to tmake_file.
6784         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6785         (mips-*-elf*): Likewise.
6786         (mips64-*-elf*): Likewise.
6787         (mips64orion-*-elf*): Likewise.
6788         (mips*-*-rtems*): Likewise.
6789         (mipstx39-*-elf*): Likewise.
6790         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6791         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6792         LIBGCC_SYNC_CFLAGS.
6793         Use $(srcdir) to refer to sync.c.
6794         Use $<.
6795         ($(libgcc-sync-funcs-o)): Likewise.
6796         ($(libgcc-sync-size-funcs-s-o)): Likewise.
6797         ($(libgcc-sync-funcs-s-o)): Likewise.
6799 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6801         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6802         t-libunwind.
6804 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
6806         PR other/48007
6807         * config/i386/value-unwind.h: New.
6809 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
6811         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6812         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6813         Add to tmake_file rather than overriding it.
6815 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6817         * config/t-softfp: Remove.
6818         * soft-fp: Moved from ../gcc/config.
6819         * soft-fp/README: Remove t-softfp reference.
6820         * soft-fp/t-softfp: Move to config/t-softfp.
6821         (softfp_machine_header): Remove.
6822         (softfp_file_list): Remove config subdir.
6823         (soft-fp-objects): New variable.
6824         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6825         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6826         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6827         * config/t-softfp-excl: New file.
6828         * config/t-softfp-sfdf: New file.
6829         * config/t-softfp-tf: New file.
6830         * config/no-sfp-machine.h: New file.
6831         * config/arm/sfp-machine.h: New file.
6832         * config/arm/t-softfp: New file.
6833         * config/c6x/sfp-machine.h: New file.
6834         * config/i386/32/t-fprules-softfp: Rename to ...
6835         * config/i386/32/t-softfp: ... this.
6836         (tifunctions, LIB2ADD): Remove.
6837         (softfp_int_modes): Override.
6838         * config/i386/64/t-softfp-compat (tf-functions): Remove config
6839         subdir.
6840         * config/i386/64/eqtf2.c: Likewise.
6841         * config/i386/64/getf2.c: Likewise.
6842         * config/i386/64/letf2.c: Likewise.
6843         * config/ia64/sft-machine.h: New file.
6844         * config/ia64/t-fprules-softfp: Rename to ...
6845         * config/ia64/t-softfp: ... this.
6846         * config/lm32/sfp-machine.h: New file.
6847         * config/moxie/t-moxie-softfp: Remove.
6848         * config/rs6000/ibm-ldouble-format: New file.
6849         * config/rs6000/ibm-ldouble.c: New file.
6850         * config/rs6000/libgcc-ppc-glibc.ver: New file
6851         * config/rs6000/libgcc-ppc64.ver: New file
6852         * config/rs6000/sfp-machine.h: New file.
6853         * config/rs6000/t-freebsd: New file.
6854         * config/rs6000/t-ibm-ldouble: New file.
6855         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6856         libgcc-ppc-glibc.ver.
6857         * config/rs6000/t-linux64: New file.
6858         * config/rs6000/t-ppccomm (LIB2ADD): Add
6859         $(srcdir)/config/rs6000/ibm-ldouble.c.
6860         * config/rs6000/t-ppccomm-ldbl: New file.
6861         * config/score/sfp-machine.h: New file.
6862         * config.host (sfp_machine_header): Explain.
6863         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6864         t-softfp to tmake_file.
6865         (arm*-*-uclinux*): Likewise.
6866         (arm*-*-ecos-elf): Likewise.
6867         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6868         (arm*-*-rtems*): Likewise.
6869         (arm*-*-elf): Likewise.
6870         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6871         in tmake_file.
6872         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6873         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6874         (lm32-*-uclinux*): Likewise.
6875         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6876         t-softfp-excl, t-softfp.
6877         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6878         (powerpc64-*-darwin*): Likewise.
6879         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6880         to tmake_file.
6881         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6882         tmake_file.
6883         (powerpc-*-eabisim*): Likewise.
6884         (powerpc-*-elf*): Likewise.
6885         (powerpc-*-eabialtivec*): Likewise.
6886         (powerpc-xilinx-eabi*): Likewise.
6887         (powerpc-*-rtems*): Likewise.
6888         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6889         t-softfp-excl, t-softfp to tmake_file.
6890         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6891         rs6000/t-ppccomm-ldbl to tmake_file.
6892         (powerpcle-*-elf*): Likewise.
6893         (powerpcle-*-eabisim*): Likewise.
6894         (powerpcle-*-eabi*): Likewise.
6895         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6896         rs6000/t-ibm-ldouble to tmake_file.
6897         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6898         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6899         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
6900         (tic6x-*-*): Likewise.
6901         (i[34567]86-*-darwin*, x86_64-*-darwin*,
6902         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
6903         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
6904         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
6905         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
6906         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
6907         t-softfp to tmake_file.
6908         * configure.ac (sfp_machine_header): Provide default if unset.
6909         Substitute.
6910         Link sfp-machine.h to config/$sfp_machine_header.
6911         * configure: Regenerate.
6913 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6915         * Makefile.in (double_type_size, long_double_type_size): Set.
6916         Remove $(fpbit-in-libgcc) support.
6917         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
6918         (fpbit-src): New variable.
6919         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
6920         Compile with -DFLOAT $(FPBIT_CFLAGS).
6921         Use $<.
6922         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
6923         Compile with $(FPBIT_CFLAGS).
6924         Use $<.
6925         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
6926         Compile with -DFLOAT $(TPBIT_CFLAGS).
6927         Use $<.
6928         * configure.ac (double_type_size, long_double_type_size):
6929         Determine and substitute.
6930         * configure: Regenerate.
6931         * fp-bit.c, fp-bit.h: New files.
6932         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
6933         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
6934         * config/mips/t-mips: New file.
6935         * config/mips/t-sdemtk: New file.
6936         * config/rs6000/ppc64-fp.c: New file.
6937         * config/rs6000/t-darwin (LIB2ADD): Add
6938         $(srcdir)/config/rs6000/ppc64-fp.c.
6939         * config/rs6000/t-ppc64-fp: New file.
6940         * config/rx/rx-lib.h: New file.
6941         * config/rx/t-rx (FPBIT): Set to true.
6942         ($(gcc_objdir)/fp-bit.c): Remove.
6943         (DPBIT): Set to true only with -m64bit-doubles.
6944         ($(gcc_objdir)/dp-bit.c): Remove.
6945         * config/sparc/t-softfp: Remove.
6946         * config/spu/t-elf: New file.
6947         * config/t-fdpbit, config/t-fpbit: New files.
6948         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
6949         (mips*-*-*): Likewise.
6950         (arm-wrs-vxworks): Likewise.
6951         (arm*-*-freebsd*): Likewise.
6952         (avr-*-rtems*): Add t-fpbit to tmake_file.
6953         (avr-*-*): Likewise.
6954         (bfin*-elf*): Add t-fdpbit to tmake_file.
6955         (bfin*-uclinux*): Likewise.
6956         (bfin*-linux-uclibc*): Likewise.
6957         (bfin*-rtems*): New case.
6958         Add t-fdpbit to tmake_file.
6959         (bfin*-*): Add t-fdpbit to tmake_file.
6960         (crisv32-*-elf): Likewise.
6961         (cris-*-linux*): Likewise.
6962         (fr30-*-elf): Likewise.
6963         (frv-*-elf, frv-*-*linux*): Likewise.
6964         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
6965         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
6966         (m32r-*-elf*): Likewise.
6967         (m32rle-*-elf*): Likewise.
6968         (m32r-*-linux*): Likewise.
6969         (m32rle-*-linux*): Likewise.
6970         (mcore-*-elf): Add t-fdpbit to tmake_file.
6971         (microblaze*-*-*): Likewise.
6972         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
6973         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
6974         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
6975         Fix typo.
6976         Add mips/t-tpbit to tmake-file.
6977         (mips*-*-linux*): Fix typo.
6978         (mips*-sde-elf*): New case
6979         Add mips/t-sdemtk unless using newlib.
6980         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
6981         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
6982         (mn10300-*-*): Likewise.
6983         (pdp11-*-*): Likewise.
6984         (picochip-*-*): Add t-fpbit to tmake_file.
6985         (powerpc-*-eabisimaltivec*): Likewise.
6986         (powerpc-*-eabisim*): Likewise.
6987         (powerpc-*-elf*): Likewise.
6988         (powerpc-*-eabialtivec*): Likewise.
6989         (powerpc-xilinx-eabi*): New case.
6990         Add t-fdpbit to tmake_file.
6991         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
6992         (powerpc-*-rtems*): Likewise.
6993         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6994         tmake_file.
6995         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6996         tmake_file.
6997         (powerpc-*-lynxos*): Likewise.
6998         (powerpcle-*-elf*): Likewise.
6999         (powerpcle-*-eabisim*): Likewise.
7000         (powerpcle-*-eabi*): Likewise.
7001         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7002         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7003         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7004         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7005         (rx-*-elf): Add t-fdpbit to tmake_file.
7006         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7007         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7008         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7009         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7010         sh*-*-netbsd*.
7011         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7012         (sh-wrs-vxworks): Likewise.
7013         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7014         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7015         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7016         (sparc64-*-rtems*): ... new case.
7017         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7018         (spu-*-elf*): Likewise.
7019         Add spu/t-elf to tmake_file.
7020         (v850*-*-*): Add t-fdpbit to tmake_file.
7021         (xstormy16-*-elf): Likewise.
7022         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7023         (mep*-*-*): Likewise.
7025 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7027         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7028         variables.
7029         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7030         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7031         (install-unwind_h): New target.
7032         (all): Depend on it.
7033         * config.host (unwind_header): New variable.
7034         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7035         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7036         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7037         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7038         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7039         Set unwind_header.
7040         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7041         Set unwind_header.
7042         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7043         arm*-*-eabi*.
7044         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7045         Set unwind_header.
7046         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7047         (ia64*-*-freebsd*): Likewise.
7048         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7049         tmake_file.
7050         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7051         $with_system_libunwind.
7052         (ia64*-*-hpux*): Set tmake_file.
7053         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7054         (picochip-*-*): Set tmake_file.
7055         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7056         md_unwind_header.
7057         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7058         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7059         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7060         (xtensa*-*-elf*): Set tmake_file.
7061         (xtensa*-*-linux*): Likewise.
7062         * configure.ac: Include ../config/unwind_ipinfo.m4.
7063         Call GCC_CHECK_UNWIND_GETIPINFO.
7064         Link unwind.h to $unwind_header.
7065         * configure: Regenerate.
7066         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7067         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7068         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7069         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7070         * config/unwind-dw2-fde-darwin.c: New file.
7071         * config/arm/libunwind.S, config/arm/pr-support.c,
7072         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7073         config/arm/unwind-arm.h,: New files.
7074         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7075         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7076         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7077         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7078         config/ia64/unwind-ia64.h: New files.
7079         * config/picochip/t-picochip: New file.
7080         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7081         files.
7082         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7083         * config/s390/t-tpf (LIB2ADDEH): Remove.
7084         * config/t-darwin (LIB2ADDEH): Set.
7085         * config/t-eh-dw2-dip: New file.
7086         * config/t-libunwind, config/t-libunwind-elf: New files.
7087         * config/t-sol2 (LIB2ADDEH): Remove.
7088         * config/xtensa/t-xtensa: New file.
7090 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7092         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7093         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7094         long long to check rt_sigreturn syscall.
7096 2011-08-02  Alan Modra  <amodra@gmail.com>
7098         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7099         Restore for indirect call bcrtl from correct stack slot, and only
7100         if cfa+40 isn't valid.
7102 2011-08-01  Julian Brown  <julian@codesourcery.com>
7104         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7105         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7106         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7108 2011-08-01  Julian Brown  <julian@codesourcery.com>
7110         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7111         (libgcc-std.ver.in): Use above.
7112         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7113         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7114         throughout file.
7115         * config/t-fixedpoint-gnu-prefix: New file.
7116         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7117         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7118         instead of __PFX__.
7120 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7122         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7123         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7124         for x86-64.  Properly check __x86_64__ and __LP64__.
7126 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7128         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7129         version.
7130         (_FP_WS_TYPE): Likewise.
7131         (_FP_I_TYPE): Likewise.
7133 2011-07-28  Alan Modra  <amodra@gmail.com>
7135         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7136         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7137         in a plt call stub.  Do restore r2 if stopped on bctrl.
7139 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7141         * config.host (i[3456x]86-*-netware*): Remove.
7142         * config/i386/netware-crt0.c, config/i386/t-nwld,
7143         config/i386/t-slibgcc-nwld: Remove.
7145 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7147         * config.host: Handle tic6x-*-*.
7148         * config/c6x/c6x-abi.h: New file.
7150 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7152         * config/i386/crtprec.c: New file.
7153         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7154         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7155         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7156         (x86_64-*-darwin*): Likewise.
7157         (i[34567]86-*-solaris2*: Likewise.
7159 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7161         * config/alpha/crtfastmath.c: New file.
7162         * config/i386/crtfastmath.c: New file.
7163         * config/ia64/crtfastmath.c: New file.
7164         * config/mips/crtfastmath.c: New file.
7165         * config/sparc/crtfastmath.c: New file.
7167         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7168         crtfastmath.c.
7169         Add -frandom-seed=gcc-crtfastmath.
7170         * config/alpha/t-crtfm: Remove.
7171         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7172         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7174         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7175         (alpha*-dec-osf5.1*): Likewise.
7176         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7177         Add crtfastmath.o to extra_parts.
7178         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7179         Add crtfastmath.o to extra_parts.
7180         (x86_64-*-darwin*): Likewise.
7181         (x86_64-*-mingw*): Likewise.
7182         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7183         (ia64*-*-freebsd*): Likewise.
7184         (ia64*-*-linux*): Likewise.
7185         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7186         Add crtfastmath.o to extra_parts.
7188 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7190         * config/darwin-crt3.o: New file.
7191         * config/rs6000/darwin-crt2.c: New file.
7192         * config/t-darwin: New file.
7193         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7194         (crt2.o): New rule.
7195         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7196         (powerpc-*-darwin*): Add crt2.o to extra_parts.
7197         (powerpc64-*-darwin*): Likewise.
7199 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7201         * config/i386/netware-crt0.c: New file.
7202         * config/i386/t-nwld: Rename to ...
7203         * config/i386/t-slibgcc-nwld: ... this.
7204         * config/i386/t-nwld: New file.
7205         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7206         tmake_file.
7207         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7208         extra_parts.
7210 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7212         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7213         i386/t-crtstuff.
7214         * configure: Regenerate.
7216 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7218         * dfp-bit.c, dfp-bit.h: New files.
7219         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7220         variables.
7221         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7222         ($(d64pbit-o)): Likewise.
7223         ($(d128pbit-o)): Likewise.
7224         * config/t-dfprules: New file.
7225         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7226         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7227         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7228         (x86_64-*-linux*): Likewise.
7229         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7230         (i[34567]86-*-cygwin*): Likewise.
7231         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
7232         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7234 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7236         * Makfile.in (LIBGCOV): New variable.
7237         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7238         * libgcov.c: New file.
7240 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7242         * fixed-bit.c, fixed-bit.h: New files.
7243         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7244         refer to fixed-bit.c.
7246 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
7248         * config.host (*local*): Remove.
7250 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7252         PR target/39150
7253         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7254         like i?86-*-solaris2.1[0-9]*.
7255         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7256         * configure.ac (i?86-*-solaris2*): Likewise.
7257         * configure: Regenerate.
7259 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
7261         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7262         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7263         md_unwind_header by splitting out of...
7264         (i[34567]86-*-linux*): ... this.
7265         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7266         Remove md_unwind_header by splitting out of...
7267         (x86_64-*-linux*): ... this.
7269 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
7271         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7273 2011-06-28  Nick Clifton  <nickc@redhat.com>
7275         * config.host: Recognize all V850 variants.
7277 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
7279         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7281 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7283         * shared-object.mk (c_flags-$o): Save c_flags.
7284         ($(base)$(objext)): Use it.
7285         ($(base)_s$(objext)): Likewise.
7287 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
7289         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7290         * libgcc-std.ver.in (GCC_4.7.0): New section.
7292 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
7294         PR target/49313
7295         PR target/29524
7296         * config/avr/t-avr: Fix line endings.
7297         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
7298         _parityXX2.
7300 2011-06-14  Olivier Hainque  <hainque@adacore.com>
7301             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7303         * config/mips/irix6-unwind.h: New file.
7304         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7306 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
7308         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7309         (sparc64_fallback_frame_state): Use it.
7310         (sparc64_frob_update_context): Further adjust context.
7311         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7312         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7313         * config/sparc/sol2-cn.S: Likewise.
7315 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7317         * enable-execute-stack-empty.c: New file.
7318         * enable-execute-stack-mprotect.c: New file.
7319         * config/i386/enable-execute-stack-mingw32.c: New file.
7320         * config.host (enable_execute_stack): New variable.
7321         Select appropriate variants.
7322         * configure.ac: Link enable-execute-stack.c to
7323         $enable_execute_stack.
7324         * configure: Regenerate.
7325         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7326         (lib2funcs): Remove _enable_execute_stack.
7328 2011-06-09  David S. Miller  <davem@davemloft.net>
7329             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7331         * config.host (sparc-*-linux*): Correct md_unwind_header
7332         filename.
7333         (s390x-ibm-tpf*): Fix typo.
7335 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7337         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7338         Add crtfastmath.o to extra_parts.
7339         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7340         mips/t-crtfm.
7341         * config/mips/t-crtfm: Remove.
7343 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7345         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7347 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7349         * config.host (sh*-*-linux*): Fix typo.
7351 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7353         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7354         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7355         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7356         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7357         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7358         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7359         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7360         Wrap in !__MINGW64__.
7361         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7362         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7363         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7364         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7365         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7366         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7367         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7368         Wrap in !__LP64__.
7369         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7370         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7371         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7372         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7373         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7374         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7375         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7376         * config/no-unwind.h: New file.
7377         * config.host (md_unwind_header): Document.
7378         Define.
7379         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7380         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7381         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7382         hppa[12]*-*-hpux11*): Set md_unwind_header.
7383         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7384         Set md_unwind_header.
7385         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7386         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7387         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7388         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7389         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7390         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7391         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7392         md_unwind_header.
7393         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7394         * configure: Regenerate.
7396 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7398         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7399         Set tmake_file, extra_parts.
7400         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7401         Remove O32 support.
7402         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7403         Remove O32 support.
7404         * config/mips/t-irix6: New file.
7405         * config/mips/t-slibgcc-irix: New file.
7407 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7409         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7410         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7412 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7414         * configure.ac (target_thread_file): Determine thread model.
7415         * configure: Regenerate.
7416         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7417         * config/alpha/t-alpha: New file.
7418         * config/alpha/t-crtfm: Use $<.
7419         * config/alpha/t-ieee: New file.
7420         * config/alpha/t-osf-pthread: New file.
7421         * config/alpha/t-slibgcc-osf: New file.
7422         * config/alpha/libgcc-osf5.ver: New file.
7424 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7426         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7427         tmake_file.
7428         Add crtfastmath.o to extra_parts.
7430 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7432         * config/gmon-sol2.c: Reindent.
7433         Cleanup comments.
7434         Remove, correct casts.
7435         Use STDERR_FILENO, NULL.
7436         (BASEADDRESS): Remove.
7437         (minbrk): Remove.
7438         (errno, sbrk): Remove declarations.
7439         (monstartup) [hp300]: Remove.
7440         (mcount): Remove.
7442 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7444         * Makefile.in (cpu_type): Define.
7445         * config.host (i[34567]86-*-rtems*): Handle it.
7446         (i[34567]86-*-solaris2*): Move body ...
7447         (*-*-solaris2*): ... here.
7448         New case, generalize.
7449         (sparc-*-elf*): Handle it.
7450         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7451         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7452         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7453         Fold into ...
7454         (sparc*-*-solaris2*): ... this.
7455         New case.
7456         (sparc64-*-elf*): Handle it.
7457         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7458         Merge ../gcc/config/i386/gmon-sol2.c.
7459         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7460         Use C comments.
7461         Merge ../gcc/config/i386/sol2-gc1.asm.
7462         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7463         Use C comments.
7464         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7465         Use C comments.
7466         * config/i386/t-crtfm (crtfastmath.o): Use $<.
7467         * config/i386/t-crtstuff: New file.
7468         * config/i386/t-softfp: New file.
7469         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7470         $(T)crti.o, $(T)crtn.o): Remove.
7471         (gcrt1.o): New rule.
7472         (TARGET_LIBGCC2_CFLAGS): Remove.
7473         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7474         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7475         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7476         * config/sparc/t-sol2: New file.
7477         * config/sparc/t-crtfm: Move to ...
7478         * config/t-crtfm: ... this.
7479         Use $(cpu_type), $<.
7480         * config/t-crtin: New file.
7481         * config/sparc/t-softfp: New file.
7482         * config/sparc/t-softmul: New file.
7483         * config/t-rtems: New file.
7484         * config/t-slibgcc: New file.
7485         * config/t-slibgcc-elf-ver: New file.
7486         * config/t-slibgcc-gld: New file.
7487         * config/t-slibgcc-sld: New file.
7488         * config/t-sol2: New file.
7489         * configure.ac: Include ../config/lib-ld.m4.
7490         Call AC_LIB_PROG_LD_GNU.
7491         Substitute cpu_type.
7492         * configure: Regenerate.
7494 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
7496         PR bootstrap/49173
7497         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7498         libgcc-std.ver in the build directory.
7499         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7500         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7502 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
7504         * libgcc-std.ver.in: New file.
7505         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7506         variables.
7507         (libgcc-std.ver): New rule.
7508         * config/t-gnu-prefix: New file.
7510 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7512         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7514 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7516         * config/i386/darwin-lib.h: New file.
7518 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
7520         * config/arm/symbian-lib.h: New.
7522 2011-05-04  Chris Demetriou  <cgd@google.com>
7524         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7525         (__x86.get_pc_thunk.bx): ...this.
7526         (__morestack): Adjust for rename, remove undef of __i686.
7528 2011-05-03  Chris Demetriou  <cgd@google.com>
7530         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7532 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
7534         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7535         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7536         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7537         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7538         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7539         Remove cases.
7541 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
7543         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7544         Adjust copyright year.
7546 2011-03-07  Ian Lance Taylor  <iant@google.com>
7548         * generic-morestack.c (__splitstack_find): Adjust returned stack
7549         pointer to include all registers pushed by __morestack.
7551 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
7553         PR target/40125
7554         * configure.ac: Call ACX_NONCANONICAL_TARGET.
7555         (toolexecdir): Calculate and AC_SUBST.
7556         (toolexeclibdir): Likewise.
7557         * Makefile.in (target_noncanonical): Import.
7558         (toolexecdir): Likewise.
7559         (toolexeclibdir): Likewise.
7560         * configure: Regenerate.
7562 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
7564         PR target/46040
7565         * config/arm/bpabi.h: Rename to...
7566         * config/arm/bpabi-lib.h: ...this.
7568 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7570         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7571         appropriate.
7572         * configure: Regenerate.
7574 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
7576         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7577         __FLOAT_WORD_ORDER__.
7578         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7579         Delete.
7581 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7583         PR other/46202
7584         * Makefile.in (install-strip): New phony target.
7586 2010-11-07  Ian Lance Taylor  <iant@google.com>
7588         PR target/46089
7589         * config/i386/morestack.S (__morestack_large_model): New
7590         function.
7592 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
7594         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7595         Delete.
7596         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7598 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
7600         * config/arm/bpabi.h: New file.
7601         * config/frv/frv-abi.h: New file.
7603 2010-10-01  Ian Lance Taylor  <iant@google.com>
7605         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7606         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7608 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
7610         PR target/45858
7611         * config.host: Add the missing `$'.
7613 2010-09-30  Michael Eager  <eager@eagercon.com>
7615         * config.host: Add microblaze*-*-*.
7616         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7617         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7618         udivsi3.asm,umodsi3.asm}:  New.
7620 2010-09-28  Ian Lance Taylor  <iant@google.com>
7622         * configure.ac: Adjust CFI test to test assembler directly rather
7623         than checking gcc preprocessor macro.
7624         * configure: Rebuild.
7626 2010-09-27  Ian Lance Taylor  <iant@google.com>
7628         * configure.ac: Test whether assembler supports CFI directives.
7629         * config.host: Only add t-stack and i386/t-stack-i386 to
7630         tmake_file if libgcc_cv_cfi is "yes".
7631         * configure: Rebuild.
7633 2010-09-27  Ian Lance Taylor  <iant@google.com>
7635         * generic-morestack.h: New file.
7636         * generic-morestack.c: New file.
7637         * generic-morestack-thread.c: New file.
7638         * config/i386/morestack.S: New file.
7639         * config/t-stack: New file.
7640         * config/i386/t-stack-i386: New file.
7641         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7642         i386/t-stack-i386 to tmake_file.
7644 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
7646         * Makefile.in (libgcc-extra-parts):  Check for static archives and
7647         invoke ranlib after installing them.
7648         (gcc-extra-parts): Likewise.
7649         (install-leaf): Likewise.
7651 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7653         * configure: Regenerated.
7655 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
7657         * configure: Regenerated.
7659 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
7660             Andrew Pinski  <pinskia@gmail.com>
7662         PR target/40959
7663         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
7665 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7667         PR target/45524
7668         * configure: Regenerated.
7670 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7672         * configure: Regenerate.
7674 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7676         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7677         64bit targets.
7678         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7679         for 64bit targets.
7681 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
7682             Iain Sandoe  <iains@gcc.gnu.org>
7684         PR target/45476
7685         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7686         LIB2FUNCS_EXCLUDE functions.
7688 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7690         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7691         Include dfp.m4.
7692         * configure: Regenerate.
7694 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
7696         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7697         i386/t-freebsd to tmake_file.
7698         * config/i386/t-freebsd: New file.
7699         * config/i386/libgcc-bsd.ver: New file.
7701 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
7703         * config.host (powerpc*-eabispe*): Set tmake_file.
7704         (powerpc*-eabi*): Likewise.
7705         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7706         crtbeginS, crtendS, crtbeginT.
7708 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
7710         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7711         to tmake_file.  Add crtfastmath.o to extra_parts.
7712         * config/mips/t-crtfm: New.
7714 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
7716         * config.host (sparc64-*-rtems*): New target.
7718 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7720         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7721         assembler syntax.
7723 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
7725         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7727 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7729         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7730         alpha-dec-osf5.0* support.
7732 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
7734         * config.host: Add lm32-*-rtems*.
7736 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7737             Uros Bizjak  <ubizjak@gmail.com>
7739         PR target/39048
7740         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7741         like other remaining 32-bit x86 OSes.
7742         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7743         assembler syntax.
7744         * config/i386/libgcc-sol2.ver: New file.
7745         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7747 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
7749         PR c/43553
7750         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7751         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7752         is used and substitute set_use_emutls.
7753         * configure: Regenerated.
7755 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
7757         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7759 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7761         PR target/38085
7762         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7763         MULTILIB_CFLAGS.
7764         ($(T)gcrt1.o): Likewise.
7765         ($(T)crt1.o): Likewise.
7766         ($(T)crti.o): Likewise.
7767         ($(T)crtn.o): Likewise.
7769 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7771         PR other/42980
7772         * Makefile.in (install): Use $(MAKE) string in rule, for
7773         parallel make.
7775 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
7777         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7778         * config/mmix/t-mmix: New file.
7779         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7781 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
7783         PR java/41991
7784         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7785         SHLIB_MAPFILES.
7787 2010-01-04  Anthony Green  <green@moxielogic.com>
7789         * config/moxie/crti.asm, config/moxie/crtn.asm,
7790         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7791         config/moxie/t-moxie: New files.
7792         * config.host: Add t-moxie-softfp reference.
7794 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
7796         PR other/39888
7797         * config/t-slibgcc-darwin: Fix embedded rpaths for
7798         --enable-version-specific-runtime-libs, build extension stub
7799         libs exposing features available from current libgcc_s.
7801 2009-11-11  Jon Beniston  <jon@beniston.com>
7803         * config.host: Add lm32 targets.
7804         * config/lm32: New directory.
7805         * config/lm32/libgcc_lm32.h: New file.
7806         * config/lm32/_mulsi3.c: New file.
7807         * config/lm32/_udivmodsi4.c: New file.
7808         * config/lm32/_divsi3.c: New file.
7809         * config/lm32/_modsi3.c: New file.
7810         * config/lm32/_udivsi3.c: New file.
7811         * config/lm32/_umodsi3.c: New file.
7812         * config/lm32/_lshrsi3.S: New file.
7813         * config/lm32/_ashrsi3.S: New file.
7814         * config/lm32/_ashlsi3.S: New file.
7815         * config/lm32/crti.S: New file.
7816         * config/lm32/crtn.S: New file.
7817         * config/lm32/t-lm32: New file.
7818         * config/lm32/t-elf: New file.
7819         * config/lm32/t-uclinux: New file.
7821 2009-10-26  Nick Clifton  <nickc@redhat.com>
7823         * config.host: Add support for RX target.
7824         * config/rx: New directory.
7825         * config/rx/rx-abi-functions.c: New file. Supplementary
7826         functions for libgcc to support the RX ABI.
7827         * config/rx/rx-abi.h: New file.  Supplementary header file for
7828         libgcc RX ABI functions.
7829         * config/rx/t-rx: New file: Makefile fragment for building
7830         libgcc for the RX.
7832 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
7834         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7835         constraint of y0 to "g".
7837 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7839         * config.host: Include the s390 makefile fragments.
7840         * config/s390/32/_fixdfdi.c: New file.
7841         * config/s390/32/_fixsfdi.c: New file.
7842         * config/s390/32/_fixtfdi.c: New file.
7843         * config/s390/32/_fixunsdfdi.c: New file.
7844         * config/s390/32/_fixunssfdi.c: New file.
7845         * config/s390/32/_fixunstfdi.c: New file.
7846         * config/s390/32/t-floattodi: New file.
7847         * config/s390/libgcc-glibc.ver: New file.
7848         * config/s390/t-crtstuff: New file.
7849         * config/s390/t-linux: New file.
7850         * config/s390/t-tpf: New file.
7852 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7854         * configure.ac (AC_PREREQ): Bump to 2.64.
7856 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
7858         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7860 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7862         * configure: Regenerate.
7864 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
7866         * config.host (ia64-hp-*vms*): New target.
7867         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7868         with ia64-hp-*vms*.
7870 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7872         * configure.ac: Add snippet for maintainer-mode.
7873         * configure: Regenerate.
7874         * Makefile.in (AUTOCONF, configure_deps): New variables.
7875         ($(srcdir)/configure)): New rule, active only with maintainer
7876         mode turned on.
7878 2009-06-23  DJ Delorie  <dj@redhat.com>
7880         Add MeP port.
7881         * config.host: Add mep support.
7883 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
7885         * config.host: Add i386/${host_address}/t-fprules-softfp and
7886         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
7888         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7889         for mingw targets.
7890         * config/i386/64/_multc3.c: Likewise.
7891         * config/i386/64/_powitf2.c: Likewise.
7892         * config/i386/64/eqtf2.c: Likewise.
7893         * config/i386/64/getf2.c: Likewise.
7894         * config/i386/64/letf2.c: Likewise.
7895         * config/i386/64/letf2.c: Likewise.
7896         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7897         unsigned long long for x64 mingw targets.
7898         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
7899         (_FP_I_TYPE): Define as long long for x64 mingw target.
7901 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
7903         * config.host (vax-*-linux*): New.
7905 2009-05-31  Anthony Green  <green@moxielogic.com>
7907         * config.host: Add moxie support.
7908         * config/moxie/t-moxie: New file.
7910 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
7912         * config.host: Add i386/${host_address}/t-fprules-softfp and
7913         t-softfp to tmake_file for i[34567]86-*-cygwin*.
7915 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
7917         * config.host: Add i386/${host_address}/t-fprules-softfp to
7918         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
7920 2009-04-09  Nick Clifton  <nickc@redhat.com>
7922         * config/ia64/tf-signs.c: Change copyright header to refer to
7923         version 3 of the GNU General Public License with version 3.1
7924         of the GCC Runtime Library Exception and to point readers at
7925         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
7926         web page.
7927         * config/i386/32/tf-signs.c: Likewise.
7928         * config/libbid/_addsub_dd.c: Likewise.
7929         * config/libbid/_addsub_sd.c: Likewise.
7930         * config/libbid/_addsub_td.c: Likewise.
7931         * config/libbid/_dd_to_df.c: Likewise.
7932         * config/libbid/_dd_to_di.c: Likewise.
7933         * config/libbid/_dd_to_sd.c: Likewise.
7934         * config/libbid/_dd_to_sf.c: Likewise.
7935         * config/libbid/_dd_to_si.c: Likewise.
7936         * config/libbid/_dd_to_td.c: Likewise.
7937         * config/libbid/_dd_to_tf.c: Likewise.
7938         * config/libbid/_dd_to_udi.c: Likewise.
7939         * config/libbid/_dd_to_usi.c: Likewise.
7940         * config/libbid/_dd_to_xf.c: Likewise.
7941         * config/libbid/_df_to_dd.c: Likewise.
7942         * config/libbid/_df_to_sd.c: Likewise.
7943         * config/libbid/_df_to_td.c: Likewise.
7944         * config/libbid/_di_to_dd.c: Likewise.
7945         * config/libbid/_di_to_sd.c: Likewise.
7946         * config/libbid/_di_to_td.c: Likewise.
7947         * config/libbid/_div_dd.c: Likewise.
7948         * config/libbid/_div_sd.c: Likewise.
7949         * config/libbid/_div_td.c: Likewise.
7950         * config/libbid/_eq_dd.c: Likewise.
7951         * config/libbid/_eq_sd.c: Likewise.
7952         * config/libbid/_eq_td.c: Likewise.
7953         * config/libbid/_ge_dd.c: Likewise.
7954         * config/libbid/_ge_sd.c: Likewise.
7955         * config/libbid/_ge_td.c: Likewise.
7956         * config/libbid/_gt_dd.c: Likewise.
7957         * config/libbid/_gt_sd.c: Likewise.
7958         * config/libbid/_gt_td.c: Likewise.
7959         * config/libbid/_isinfd128.c: Likewise.
7960         * config/libbid/_isinfd32.c: Likewise.
7961         * config/libbid/_isinfd64.c: Likewise.
7962         * config/libbid/_le_dd.c: Likewise.
7963         * config/libbid/_le_sd.c: Likewise.
7964         * config/libbid/_le_td.c: Likewise.
7965         * config/libbid/_lt_dd.c: Likewise.
7966         * config/libbid/_lt_sd.c: Likewise.
7967         * config/libbid/_lt_td.c: Likewise.
7968         * config/libbid/_mul_dd.c: Likewise.
7969         * config/libbid/_mul_sd.c: Likewise.
7970         * config/libbid/_mul_td.c: Likewise.
7971         * config/libbid/_ne_dd.c: Likewise.
7972         * config/libbid/_ne_sd.c: Likewise.
7973         * config/libbid/_ne_td.c: Likewise.
7974         * config/libbid/_sd_to_dd.c: Likewise.
7975         * config/libbid/_sd_to_df.c: Likewise.
7976         * config/libbid/_sd_to_di.c: Likewise.
7977         * config/libbid/_sd_to_sf.c: Likewise.
7978         * config/libbid/_sd_to_si.c: Likewise.
7979         * config/libbid/_sd_to_td.c: Likewise.
7980         * config/libbid/_sd_to_tf.c: Likewise.
7981         * config/libbid/_sd_to_udi.c: Likewise.
7982         * config/libbid/_sd_to_usi.c: Likewise.
7983         * config/libbid/_sd_to_xf.c: Likewise.
7984         * config/libbid/_sf_to_dd.c: Likewise.
7985         * config/libbid/_sf_to_sd.c: Likewise.
7986         * config/libbid/_sf_to_td.c: Likewise.
7987         * config/libbid/_si_to_dd.c: Likewise.
7988         * config/libbid/_si_to_sd.c: Likewise.
7989         * config/libbid/_si_to_td.c: Likewise.
7990         * config/libbid/_td_to_dd.c: Likewise.
7991         * config/libbid/_td_to_df.c: Likewise.
7992         * config/libbid/_td_to_di.c: Likewise.
7993         * config/libbid/_td_to_sd.c: Likewise.
7994         * config/libbid/_td_to_sf.c: Likewise.
7995         * config/libbid/_td_to_si.c: Likewise.
7996         * config/libbid/_td_to_tf.c: Likewise.
7997         * config/libbid/_td_to_udi.c: Likewise.
7998         * config/libbid/_td_to_usi.c: Likewise.
7999         * config/libbid/_td_to_xf.c: Likewise.
8000         * config/libbid/_tf_to_dd.c: Likewise.
8001         * config/libbid/_tf_to_sd.c: Likewise.
8002         * config/libbid/_tf_to_td.c: Likewise.
8003         * config/libbid/_udi_to_dd.c: Likewise.
8004         * config/libbid/_udi_to_sd.c: Likewise.
8005         * config/libbid/_udi_to_td.c: Likewise.
8006         * config/libbid/_unord_dd.c: Likewise.
8007         * config/libbid/_unord_sd.c: Likewise.
8008         * config/libbid/_unord_td.c: Likewise.
8009         * config/libbid/_usi_to_dd.c: Likewise.
8010         * config/libbid/_usi_to_sd.c: Likewise.
8011         * config/libbid/_usi_to_td.c: Likewise.
8012         * config/libbid/_xf_to_dd.c: Likewise.
8013         * config/libbid/_xf_to_sd.c: Likewise.
8014         * config/libbid/_xf_to_td.c: Likewise.
8015         * config/libbid/bid128.c: Likewise.
8016         * config/libbid/bid128_2_str.h: Likewise.
8017         * config/libbid/bid128_2_str_macros.h: Likewise.
8018         * config/libbid/bid128_2_str_tables.c: Likewise.
8019         * config/libbid/bid128_add.c: Likewise.
8020         * config/libbid/bid128_compare.c: Likewise.
8021         * config/libbid/bid128_div.c: Likewise.
8022         * config/libbid/bid128_fma.c: Likewise.
8023         * config/libbid/bid128_logb.c: Likewise.
8024         * config/libbid/bid128_minmax.c: Likewise.
8025         * config/libbid/bid128_mul.c: Likewise.
8026         * config/libbid/bid128_next.c: Likewise.
8027         * config/libbid/bid128_noncomp.c: Likewise.
8028         * config/libbid/bid128_quantize.c: Likewise.
8029         * config/libbid/bid128_rem.c: Likewise.
8030         * config/libbid/bid128_round_integral.c: Likewise.
8031         * config/libbid/bid128_scalb.c: Likewise.
8032         * config/libbid/bid128_sqrt.c: Likewise.
8033         * config/libbid/bid128_string.c: Likewise.
8034         * config/libbid/bid128_to_int16.c: Likewise.
8035         * config/libbid/bid128_to_int32.c: Likewise.
8036         * config/libbid/bid128_to_int64.c: Likewise.
8037         * config/libbid/bid128_to_int8.c: Likewise.
8038         * config/libbid/bid128_to_uint16.c: Likewise.
8039         * config/libbid/bid128_to_uint32.c: Likewise.
8040         * config/libbid/bid128_to_uint64.c: Likewise.
8041         * config/libbid/bid128_to_uint8.c: Likewise.
8042         * config/libbid/bid32_to_bid128.c: Likewise.
8043         * config/libbid/bid32_to_bid64.c: Likewise.
8044         * config/libbid/bid64_add.c: Likewise.
8045         * config/libbid/bid64_compare.c: Likewise.
8046         * config/libbid/bid64_div.c: Likewise.
8047         * config/libbid/bid64_fma.c: Likewise.
8048         * config/libbid/bid64_logb.c: Likewise.
8049         * config/libbid/bid64_minmax.c: Likewise.
8050         * config/libbid/bid64_mul.c: Likewise.
8051         * config/libbid/bid64_next.c: Likewise.
8052         * config/libbid/bid64_noncomp.c: Likewise.
8053         * config/libbid/bid64_quantize.c: Likewise.
8054         * config/libbid/bid64_rem.c: Likewise.
8055         * config/libbid/bid64_round_integral.c: Likewise.
8056         * config/libbid/bid64_scalb.c: Likewise.
8057         * config/libbid/bid64_sqrt.c: Likewise.
8058         * config/libbid/bid64_string.c: Likewise.
8059         * config/libbid/bid64_to_bid128.c: Likewise.
8060         * config/libbid/bid64_to_int16.c: Likewise.
8061         * config/libbid/bid64_to_int32.c: Likewise.
8062         * config/libbid/bid64_to_int64.c: Likewise.
8063         * config/libbid/bid64_to_int8.c: Likewise.
8064         * config/libbid/bid64_to_uint16.c: Likewise.
8065         * config/libbid/bid64_to_uint32.c: Likewise.
8066         * config/libbid/bid64_to_uint64.c: Likewise.
8067         * config/libbid/bid64_to_uint8.c: Likewise.
8068         * config/libbid/bid_b2d.h: Likewise.
8069         * config/libbid/bid_binarydecimal.c: Likewise.
8070         * config/libbid/bid_conf.h: Likewise.
8071         * config/libbid/bid_convert_data.c: Likewise.
8072         * config/libbid/bid_decimal_data.c: Likewise.
8073         * config/libbid/bid_decimal_globals.c: Likewise.
8074         * config/libbid/bid_div_macros.h: Likewise.
8075         * config/libbid/bid_dpd.c: Likewise.
8076         * config/libbid/bid_flag_operations.c: Likewise.
8077         * config/libbid/bid_from_int.c: Likewise.
8078         * config/libbid/bid_functions.h: Likewise.
8079         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8080         * config/libbid/bid_inline_add.h: Likewise.
8081         * config/libbid/bid_internal.h: Likewise.
8082         * config/libbid/bid_round.c: Likewise.
8083         * config/libbid/bid_sqrt_macros.h: Likewise.
8085 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8087         * Makefile.in: Change copyright header to refer to version
8088         3 of the GNU General Public License and to point readers at the
8089         COPYING3 file and the FSF's license web page.
8090         * config.host: Likewise.
8092 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8094         * config.host: Reorder and merge to match config.gcc change.
8096 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8098         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8100 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8102         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8103         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8104         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8105         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8107 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8109         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8110         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8112 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8114         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8115         ia64/t-softfp-compat to tmake_file.
8117         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8119         * config/ia64/__divxf3.asm: New.
8120         * config/ia64/_fixtfdi.asm: Likewise.
8121         * config/ia64/_fixunstfdi.asm: Likewise.
8122         * config/ia64/_floatditf.asm: Likewise.
8123         * config/ia64/t-fprules-softfp: Likewise.
8124         * config/ia64/t-softfp-compat: Likewise.
8125         * config/ia64/tf-signs.c: Likewise.
8127 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8129         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8131 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8133         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8134         to tmake_file.
8136 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8138         * config/t-softfp: New file.
8139         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8140         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8142 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8144         * config.host: Add m32r*-*-rtems*.
8146 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8148         * config.host: Add m32c*-*-rtems*.
8150 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8152         PR bootstrap/33100
8153         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8154         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8155         * configure: Regenerate.
8156         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8157         tmake_file here from gcc/config.gcc.
8158         Move extra_parts here from gcc/config.gcc.
8159         * config/i386/t-sol2: Move here from gcc/config/i386.
8160         Use gcc_srcdir instead of srcdir.
8162 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8164         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8165         case.
8167 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8169         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8171 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8173         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8175 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8177         Add picoChip port.
8178         * config.host: Add picochip-*-*.
8180 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8182         * config.host: Match more processor names for Xtensa.
8184 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
8186         * config/i386/64/t-softfp-compat: Update comments.
8188 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8190         * config/i386/64/_divtc3-compat.c: Moved to ...
8191         * config/i386/64/_divtc3.c: Here.
8193         * config/i386/64/_multc3-compat.c: Moved to ...
8194         * config/i386/64/_multc3.c: Here.
8196         * config/i386/64/_powitf2-compat.c: Moved to ...
8197         * config/i386/64/_powitf2.c: Here.
8199         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8200         .c suffix instead of -compat.c.
8202 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
8204         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8205         (_FP_MUL_MEAT_D): Ditto.
8206         (_FP_DIV_MEAT_S): Ditto.
8207         (_FP_DIV_MEAT_D): Ditto.
8209 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
8211         * Makefile.in: Add support for __sync_* libgcc functions.
8213 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
8215         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8217 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8219         PR boostrap/36702
8220         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8221         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
8223         * config/i386/64/t-fprules-softfp: Moved to ...
8224         * config/i386/64/t-softfp-compat: This.  New.
8226 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
8228         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8229         Initialize f with 0.0.
8231 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8233         PR target/36669
8234         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8236         * config/i386/64/_divtc3-compat.c: New.
8237         * config/i386/64/_multc3-compat.c: Likewise.
8238         * config/i386/64/_powitf2-compat.c: Likewise.
8239         * config/i386/64/eqtf2.c: Likewise.
8240         * config/i386/64/getf2.c: Likewise.
8241         * config/i386/64/letf2.c: Likewise.
8242         * config/i386/64/t-fprules-softfp: Likewise.
8244 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8246         * config.host: Add i386/${host_address}/t-fprules-softfp to
8247         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8248         i[34567]86-*-linux*, x86_64-*-linux*.
8250         * configure.ac: Set host_address to 64 or 32 for x86.
8251         * configure: Regenerated.
8253         * Makefile.in (config.status): Also depend on
8254         $(srcdir)/config.host.
8256         * config/i386/32/t-fprules-softfp: New.
8257         * config/i386/32/tf-signs.c: Likewise.
8259         * config/i386/64/sfp-machine.h: New. Moved from gcc.
8261 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
8262             Uros Bizjak  <ubizjak@gmail.com>
8264         * config/i386/32/sfp-machine.h: New.
8266 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
8268         * config/rs6000/t-ppccomm: Remove rules that conflict with
8269         auto-generated rules.
8271 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8273         * configure.ac: sinclude override.m4.
8274         * configure: Regenerate.
8276 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
8278         * configure: Regenerate.
8280 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
8282         * Makefile.in (DECNUMINC): Remove
8283         -I$(MULTIBUILDTOP)../../libdecnumber.
8284         * gstdint.h: New.
8286 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
8288         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8289         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8290         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8291         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8292         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8293         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8294         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8295         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8296         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8297         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8298         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8299         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8300         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8301         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8303 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
8305         * config.host (sh2[lbe]*-*-linux*): Allow target.
8307 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
8309         * config/rs6000/t-ppccomm: Add build rules for new files.
8310         (LIB2ADD_ST): New variable.
8312 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
8314         PR target/34210
8315         PR target/35508
8316         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8317         * config/t-avr: New file. Build 16bit libgcc functions.
8319 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
8321         PR target/35401
8322         * config/t-slibgcc-darwin: Make install-leaf dependent on
8323         install-darwin-libgcc-stubs instead of install.
8325 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
8327         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8328         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8329         sh-*-rtemscoff*): Remove cases.
8331 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
8333         * Makefile.in (all): Use install-leaf rather than install.
8334         (install): Split most of the rule into...
8335         (install-leaf): ...this new one.
8337 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
8338             Paolo Bonzini  <bonzini@gnu.org>
8340         PR target/30572
8341         * Makefile.in: Use @shlib_slibdir@ substitution to get
8342         correct install name on darwin.
8343         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8345 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
8347         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8348         cris-*-elf and cris-*-none.
8349         (crisv32-*-linux*): Similar, as cris-*-linux*.
8351 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
8353         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8355 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
8357         PR regression/33926
8358         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8359         * configure: Regenerated.
8361 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8363         * Makefile.in (dfp-filenames): Replace decimal_globals,
8364         decimal_data, binarydecimal and convert_data with
8365         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8366         and bid_convert_data, respectively.
8368 2007-09-17  Chao-ying Fu  <fu@mips.com>
8369             Nigel Stephens  <nigel@mips.com>
8371         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8372         * Makefile.in (fixed_point): Define.
8373         Check if fixed_point is yes to build support functions.
8374         * configure.ac: Check for fixed_point support.
8375         * configure: Regenerated.
8376         * gen-fixed.sh: New file to generate lists of fixed-point labels,
8377         funcs, modes, from, to.
8379 2007-09-11  Janis Johnson  <janis187@us.ibm.com
8381         * Makefile.in (dfp-filenames): Add bid128_noncomp.
8383 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
8385         * Makefile.in (dfp-filenames): Remove decUtility, add
8386         decDouble, decPacked, decQuad, decSingle.
8388 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
8390         * config.host : Add x86_64-elf target.
8392 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8394         * configure.ac (set_have_cc_tls): Add a missing =.
8395         * configure: Regenerated.
8397 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
8399         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8400         and x86_64-*-linux*.
8402         * config/t-tls: New file.
8404         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8406         * configure.ac: Include ../config/enable.m4 and
8407         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
8408         supports TLS and substitute set_have_cc_tls.
8409         * configure: Regenerated.
8411 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8413         * Makefile.in: Use libbid for DFP when BID is enabled.
8415 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
8417         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8418         extra_parts. Add config/i386/t-cygming to tmake_file.
8419         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8421 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
8422             Danny Smith  <dannysmith@users.sourceforge.net>
8424         PR target/29498
8425         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8426         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
8427         * config/i386/t-crtfm: Compile crtfastmath.o with
8428         -minline-all-stringops.
8430 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
8432         * config.host (sparc-wrs-vxworks): New target.
8434 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
8436         * config.host: Recognize fido.
8438 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
8440         * configure: Check host, not target, for decimal float support.
8442 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
8444         * config/i386/t-crtpc: New file.
8445         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8446         (x86_64-*-linux*): Ditto.
8448 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
8450         * config.host (x86_64-*-mingw*): New target.
8452 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
8453             H.J. Lu  <hongjiu.lu@intel.com>
8455         * Makefile.in (enable_decimal_float): New.
8456         (DECNUMINC): Add
8457         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8458         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8459         (decbits-filenames): This.
8460         (decbits-objects): New.
8461         (libgcc-objects): Add $(decbits-objects).
8463         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8464         Substitute enable_decimal_float.
8465         * configure: Regenerated.
8467 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
8469         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8471 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
8473         * Makefile.in (install-info): New dummy target.
8475 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
8477         * config.host (bfin*-linux-uclibc*): Set extra_parts.
8479 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
8481         * Makefile.in: Add install-html and install-pdf dummy
8482         targets.
8484 2007-02-05  Roger Sayle  <roger@eyesopen.com>
8485             Daniel Jacobowitz  <dan@codesourcery.com>
8487         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8488         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8489         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8491 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
8493         * Makefile.in (dec-filenames): Add decExcept.
8495 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
8497         PR bootstrap/30469
8498         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8499         -fprofile-use.
8501 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
8503         * configure.ac: Add --enable-version-specific-runtime-libs.
8504         Correct $slibdir default.
8505         * configure: Regenerated.
8507 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
8509         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8511 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
8513         PR target/30519
8514         * config.host (alpha*-*-linux*): Set extra_parts.
8516 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
8518         * config/sh/t-linux: New.
8519         * config.host (sh*-*-linux*): Set tmake_file.
8521 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
8523         * Makefile.in (install): Handle multilibs.
8525 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8527         * Makefile.in: Added .PHONY entry for documentation targets.
8529 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
8531         * Makefile.in: Add empty info, html, dvi, pdf targets.
8533 2007-01-04  Mike Stump  <mrs@apple.com>
8535         * Makefile.in (MAKEINFO): Remove.
8536         (PERL): Likewise.
8538 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
8540         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8541         * configure: Regenerate.
8542         * Makefile.in (host_subdir): Substitute it.
8543         (gcc_objdir): Use it.
8545 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8547         * config.host (ia64*-*-linux*): Set tmake_file.
8549 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
8551         * Makefile.in (version): Define.
8553 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
8554             Paolo Bonzini  <bonzini@gnu.org>
8556         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8557         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8558         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8559         config/sparc/t-crtfm, config/t-slibgcc-darwin,
8560         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8561         shared-object.mk, siditi-object.mk, static-object.mk: New files.
8562         * configure: Generated.
8564 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8566 Copying and distribution of this file, with or without modification,
8567 are permitted in any medium without royalty provided the copyright
8568 notice and this notice are preserved.