re PR fortran/65976 (gfortran man-page lists the -fno-fixed-form flag but does not...
[official-gcc.git] / libgcc / ChangeLog
blob39c9433d6443cdd04594cf8abb9aa6157e55a37f
1 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
3         * Makefile.in (real_host_noncanonical): New variable.
4         (libsubdir): Use it.
5         * configure.ac (real_host_noncanonical): Compute.  Remove special
6         case for intelmicemul.
7         * configure: Regenerate.
9 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
11         * config/frv/elf-lib.h: New file.
12         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
13         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
14         to tm_file.
16 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
18         * config/frv/frvbengin.c: Do not include defaults.h
19         * config/frv/frvend.c: Ditto.
21 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
23         * config.host: Add h8300-*-linux
24         * config/h8300/t-linux: New file.
25         * config/h8300/lib1funs.s: Change symbol prefix.
26         * config/h8300/sfp-machine.h: 64bit double support.
28 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
29             Szabolcs Nagy  <szabolcs.nagy@arm.com>
31         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
32         Linux if target provides dl_iterate_phdr.
34 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
36         PR target/65612
37         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
38         * config/i386/cpuinfo.c (__cpu_model): Initialize.
39         (__cpu_indicator_init@GCC_4.8.0): New.
40         (__cpu_model@GCC_4.8.0): Likewise.
41         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
42         -DUSE_ELF_SYMVER.
44 2015-04-16  Nick Clifton  <nickc@redhat.com>
46         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
47         and __modhi3 functions.
48         * config/rl78/divmodso.S: Add G14 and G13 versions of the
49         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
51 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
53         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
54         do-while loop as macro body to avoid warnings.
56 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
57             Iain Sandoe  <iain@codesourcery.com>
59         PR target/65351
60         * configure: Regenerate.
62 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
63             Iain Sandoe  <iain@codesourcery.com>
65         PR target/65351
66         * configure: Regenerate.
68 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
70         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
72 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
74         Implement call0 ABI for xtensa
75         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
76         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
77         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
78         use ret in call0 ABI.
79         * config/xtensa/t-windowed: New file.
80         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
81         * libgcc/configure: Regenerated.
82         * libgcc/configure.ac: Check if xtensa target is configured for
83         windowed ABI and thus needs to use custom unwind code.
85 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
87         PR libgcc/64885
88         * gthr-single.h: Use __unused__ attribute instead of unused.
89         * config/gthr-vxworks.h: Likewise.
90         * config/i386/gthr-win32.h: Likewise.
92 2015-02-27  Kai Tietz  <ktietz@redhat.com>
94         PR target/65038
95         * config.in: Regenerated.
96         * configure: Likewise.
97         * configure.ac (AC_HEADER_STDC): Added explicit.
98         (AC_CHECK_HEADERS): Check for default headers  plus
99         for ftw.h header.
100         * libgcov-util.c (gcov_read_profile_dir): Disable use
101         of ftw-function, if header is not found.
102         (ftw_read_file): Likewise.
104 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
106         PR target/65181
107         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
108         -Dinhibit_libc.
110 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
112         * config/arm/bpabi.S (test_div_by_zero): Make label names
113         consistent between thumb2 and arm mode cases.  Separate the
114         signed comparison on the high word of the numerator from the
115         unsigned comparison on the low word.
116         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
117         signed comparison.
119 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
121         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
122         and <string.h>.
123         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
125 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
127         PR gcov-profile/61889
128         * libgcov-driver-system.c: undefine clashing macro for mkdir.
130 2015-02-02  Nick Clifton  <nickc@redhat.com>
132         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
133         rounding up the fraction.
135 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
137         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
138         oldval and newval to const void *.  Fix typo.
139         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
140         (FETCH_AND_OP_WORD): Likewise.
141         (OP_AND_FETCH_WORD): Likewise.
142         (COMPARE_AND_SWAP_2): Likewise.
143         (__sync_val_compare_and_swap_4): Likewise.
144         (__sync_lock_test_and_set_4): Likewise.
145         (SYNC_LOCK_RELEASE_2): Likewise.
146         Remove support for long long atomic operations.
148 2015-01-27  Caroline Tice  <cmtice@google.com>
150         Committing VTV Cywin/Ming patch for Patrick Wollgast
151         * Makefile.in: Move rules to build vtv_*.o out of the check
152         for CUSTOM_CRTSTUFF.
153         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
154         i[34567]86-*-mingw*)
155          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
156         enable_vtable_verify.
158 2015-01-27  Nick Clifton  <nickc@redhat.com>
160         * config/rl78/cmpsi2.S: Use function start and end macros.
161         (__gcc_bcmp): New function.
162         * config/rl78/lshrsi3.S: Use function start and end macros.
163         * config/rl78/mulsi3.S: Add support for G10.
164         (__mulqi3): New function for G10.
165         * config/rl78/signbit.S: Use function start and end macros.
166         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
167         fpmath-sf.S.
168         (LIB2FUNCS_EXCLUDE): Define.
169         (LIB2FUNCS_ST): Define.
170         * config/rl78/trampoline.S: Use function start and end macros.
171         * config/rl78/vregs.h (START_FUNC): New macro.
172         (START_ANOTHER_FUNC): New macro.
173         (END_FUNC): New macro.
174         (END_ANOTHER_FUNC): New macro.
175         * config/rl78/bit-count.S: New file.  Contains assembler
176         implementations of the bit counting functions: ___clzhi2,
177         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
178         __paritysi2, __popcounthi2 and __popcountsi2.
179         * config/rl78/fpbit-sf.S: New file.  Contains assembler
180         implementationas of the math functions: __negsf2, __cmpsf2,
181         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
182         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
183         * config/rl78/fpmath-sf.S: New file.  Contains assembler
184         implementations of the math functions: __subsf3, __addsf3,
185         __mulsf3 and __divsf3
187 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
189         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
190         Add i386/elf-lib.h to tm_file.
191         * config/i386/elf-lib.h: Fix comment.
192         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
193         && __sun__ && __svr4__]: Remove workaround.
195 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
197         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
198         FEATURE_BMI2.
199         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
201 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
203         * config/i386/cpuinfo.c (processor_subtypes): Add
204         INTEL_COREI7_BROADWELL.
205         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
206         model numbers.
208 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
210         * config/i386/elf-lib.h: New file.
211         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
212         Wrap definition in #ifdef __i386__.
213         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
214         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
215         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
216         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
217         to tm_file.
219 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
221         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
222         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
224 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
226         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
227         Update rt_sigframe format and address for current Nios II
228         Linux conventions.
230 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
232         * config.host (arm*-*-freebsd*): Add new configuration for
233         arm*-*-freebsd*.
234         * config/arm/freebsd-atomic.c: New file.
235         * config/arm/t-freebsd: Likewise.
236         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
237         'PC-relative indirect' OS's.
239 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
241         * config.host: Add Visium support.
242         * config/visium: New directory.
244 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
246         Update copyright years.
248 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
250         * config.host: Support mipsisa32r6 and mipsisa64r6.
251         * config/mips/mips16.S: Do not build for R6.
253 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
255         * config/sh/crt.h: New.
256         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
257         symbols.
258         * config/sh/crt1.S: Likewise.
260 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
262         PR libgcc/63832
263         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
264         func_ptr *dtor_list temporary variable to avoid "array subscript
265         is above array bounds" warnings.
267 2014-12-09  Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
269         * Makefile.in (with_aix_soname): Define.
270         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
271         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
272         * configure: Recreate.
274 2014-12-05  Olivier Hainque  <hainque@adacore.com>
276         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
277         now provided by defaults.h.
279 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
281         PR target/55351
282         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
283         whether it's defined.
285 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
287         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
288         * config/i386/cpuinfo.c (get_available_features): Detect it.
290 2014-11-27  Tony Wang  <tony.wang@arm.com>
292         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
293         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
294         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
296 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
298         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
300 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
302         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
303         instead.
305 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
306             John David Anglin  <danglin@gcc.gnu.org>
308         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
309         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
310         (OP_AND_FETCH_2): Likewise.
311         (COMPARE_AND_SWAP_2): Likewise.
312         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
313         (SYNC_LOCK_RELEASE_2): Likewise.
314         (SUBWORD_SYNC_OP): Remove.
315         (SUBWORD_VAL_CAS): Likewise.
316         (SUBWORD_BOOL_CAS): Likewise.
317         (FETCH_AND_OP_WORD): Update.
318         Consistently use signed types.
320 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
321             Thomas Schwinge  <thomas@codesourcery.com>
322             Ilya Verbin  <ilya.verbin@intel.com>
323             Andrey Turetskiy  <andrey.turetskiy@intel.com>
325         * Makefile.in (crtoffloadbegin$(objext)): New rule.
326         (crtoffloadend$(objext)): Likewise.
327         * configure: Regenerate.
328         * configure.ac (accel_dir_suffix): Compute new variable.
329         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
330         if enable_offload_targets is not empty.
331         * offloadstuff.c: New file.
333 2014-11-13  Nick Clifton  <nickc@redhat.com>
335         * config/rl78/divmodhi.S: Add support for the G10 architecture.
336         Use START_FUNC and END_FUNC macros to enable linker garbage
337         collection.
338         * config/rl78/divmodqi.S: Likewise.
339         * config/rl78/divmodsi.S: Likewise.
340         * config/rl78/mulsi3.S: Likewise.
341         * config/rl78/lib2div.c: Remove G10 functions.
342         * config/rl78/lib2muls.c: Likewise.
343         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
344         * config/rl78/vregs.h (START_FUNC): New macro.
345         (END_FUNC): New macro.
347 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
349         * config/mips/mips16.S: Set .module when supported.  Update O32
350         FP64 calling convention and use for FPXX when possible.  Add FPXX
351         calling convention fallback case.
353 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
355         * config.host: Handle nvptx-*-*.
356         * shared-object.mk (as-flags-$o): Define.
357         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
358         -xassembler-with-cpp.
359         * static-object.mk: Identical changes.
360         * config/nvptx/t-nvptx: New file.
361         * config/nvptx/crt0.s: New file.
362         * config/nvptx/free.asm: New file.
363         * config/nvptx/malloc.asm: New file.
364         * config/nvptx/realloc.c: New file.
366 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
368         * Makefile.in (libgcc.map.in): New target.
369         (libgcc.map): Use libgcc.map.in.
370         * config/t-softfp (softfp_compat): New variable to be set by
371         users.
372         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
373         variables.
374         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
375         directory.
376         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
377         that use compat symbols and disable all code unless [SHARED].
378         * config/t-softfp-compat: New file.
379         * find-symver.awk: New file.
380         * configure.ac (--with-glibc-version): New configure option.
381         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
382         * configure: Regenerate.
383         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
384         soft-float and e500.
386 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
388         * config/t-hardfp (hardfp_exclusions): Document new variable for
389         user to define.
390         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
391         * config/t-softfp (softfp_extras): Document new variable for user
392         to define.
393         (softfp_func_list): Add functions from $(softfp_extras).
394         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
395         * config.host (powerpc*-*-linux*): For e500v1, use
396         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
397         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
398         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
400 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
402         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
403         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
404         memory read accesses are ok.
406 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
408         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
409         * configure: Regenerate.
410         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
411         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
412         of soft-fp for 32-bit classic hard float.  Do not use
413         t-softfp-excl for soft float.
415 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
417         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
418         configurations.
419         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
420         Remove variables.
422 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
424         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
425         introduced with 2014-10-21 trunk r216525.
427 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
428             Vidya Praveen <vidya.praveen@atmel.com>
429             Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
430             Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
431             Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
433         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
434         order.
436         Updated library functions for AVRTINY arch.
437         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
438         Replaced occurrences of r0/r1 with tmp/zero reg macros.
439         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
440         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
441         wsubi/wadi macors.
442         (__mulsi3_helper): Update stack, preserve callee saved regs and
443         argument from stack. Restore callee save registers.
444         (__mulpsi3): Likewise.
445         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
446         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
447         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
448         AVRTINY.
449         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
450         (__do_copy_data): Added new definition for AVRTINY.
451         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
452         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
453         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
454         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
455         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
456         macors.
457         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
458         AVRTINY.
460         Fix broken long multiplication on tiny arch.
462 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
464         * soft-fp/double.h: Update from glibc.
465         * soft-fp/eqdf2.c: Likewise.
466         * soft-fp/eqsf2.c: Likewise.
467         * soft-fp/eqtf2.c: Likewise.
468         * soft-fp/extenddftf2.c: Likewise.
469         * soft-fp/extended.h: Likewise.
470         * soft-fp/extendsfdf2.c: Likewise.
471         * soft-fp/extendsftf2.c: Likewise.
472         * soft-fp/extendxftf2.c: Likewise.
473         * soft-fp/gedf2.c: Likewise.
474         * soft-fp/gesf2.c: Likewise.
475         * soft-fp/getf2.c: Likewise.
476         * soft-fp/ledf2.c: Likewise.
477         * soft-fp/lesf2.c: Likewise.
478         * soft-fp/letf2.c: Likewise.
479         * soft-fp/op-1.h: Likewise.
480         * soft-fp/op-2.h: Likewise.
481         * soft-fp/op-4.h: Likewise.
482         * soft-fp/op-8.h: Likewise.
483         * soft-fp/op-common.h: Likewise.
484         * soft-fp/quad.h: Likewise.
485         * soft-fp/single.h: Likewise.
486         * soft-fp/soft-fp.h: Likewise.
487         * soft-fp/unorddf2.c: Likewise.
488         * soft-fp/unordsf2.c: Likewise.
489         * soft-fp/unordtf2.c: Likewise.
490         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
491         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
492         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
493         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
494         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
495         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
496         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
497         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
498         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
499         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
501 2014-10-08  Rong Xu  <xur@google.com>
503         * libgcov-util.c (read_gcda_file): Fix format.
504         (find_match_gcov_info): Ditto.
505         (calculate_2_entries): New.
506         (compute_one_gcov): Ditto.
507         (gcov_info_count_all_cold): Ditto.
508         (gcov_info_count_all_zero): Ditto.
509         (extract_file_basename): Ditto.
510         (get_file_basename): Ditto.
511         (set_flag): Ditto.
512         (matched_gcov_info): Ditto.
513         (calculate_overlap): Ditto.
514         (gcov_profile_overlap): Ditto.
515         * libgcov-driver.c (compute_summary): Make
516         it avavilable for external calls.
518 2014-10-06  Rong Xu  <xur@google.com>
520         * Makefile.in: Ditto.
521         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
522         (gcov_sort_icall_topn_counter): Ditto.
523         (gcov_sort_topn_counter_arrays): Ditto.
524         (dump_one_gcov): Sort indirect_call topn counters.
525         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
526         function.
527         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
528         utility function.
529         (__gcov_indirect_call_topn_profiler): New profiler function.
530         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
531         * libgcov.h: New decls.
533 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
535         * config.host: Remove support for score-*.
537 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
539         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
540         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
541         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
542         __LIBGCC_XF_MANT_DIG__.
543         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
544         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
545         __LIBGCC_TF_MANT_DIG__.
546         * libgcc2.c (NOTRUNC): Define in terms of
547         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
548         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
550 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
552         PR target/63312
553         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
554         New macros.
556 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
558         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
559         override USE_PT_GNU_EH_FRAME.
560         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
561         check USE_EH_FRAME_REGISTRY_ALWAYS against
562         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
563         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
564         variable for substituted force_explicit_eh_registry.
565         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
566         * configure.ac (explicit-exception-frame-registration):
567         New AC_ARG_ENABLE.
568         * configure: Regenerate.
570 2014-09-19  Olivier Hainque  <hainque@adacore.com>
572         * config.host (powerpc-wrs-vxworksmils): New configuration,
573         same as vxworksae.
575 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
577         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
579 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
581         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
582         bits not set bits as indicating trapping exceptions.
584 2014-09-17  Nathan sidwell  <nathan@acm.org>
586         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
587         (LIBGCOV_DRIVER): ... here.
588         * libgcov-driver.c (gcov_master): New.
589         (gcov_exit): Remove from master chain.
590         (__gcov_init): Add to master chain if version compatible.  Don't
591         clear the version.
592         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
593         (gcov_reset_int): Clear master chain, if compatible.
594         (gcov_dump_int): New internal interface.  Dump master chain, if
595         compatible.
596         (gcov_dump): Alias for gcov_dump_int.
597         * libgcov.h (struct gcov_root): Add next and prev fields.
598         (struct gcov_master): New struct.
599         (__gcov_master): New.
600         (gcov_dump_int): Declare.
602 2014-09-17  Olivier Hainque  <hainque@adacore.com>
604         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
605         and crtbegin.o + crtend.o to extra_parts.
607 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
609         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
610         __LIBGCC_HAS_SF_MODE__.
611         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
612         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
613         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
614         * config/libbid/bid_gcc_intrinsics.h
615         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
616         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
617         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
618         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
619         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
620         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
622 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
624         PR target/63223
625         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
626         and R24 as needed.  Make work for all devices and .text locations.
627         (__do_global_ctors, __do_global_dtors): Use word addresses.
628         (__tablejump__, __tablejump_elpm__): Remove functions.
629         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
630         Add _tablejump2.
631         (XICALL, XIJMP): New macros.
633 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
634         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
636         * config.host (aarch64*): Include crtfastmath.o and
637         t-crtfm.
638         * config/aarch64/crtfastmath.c: New file.
640 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
642         * config.host: Remove picochip support.
643         * config/picochip/adddi3.S: Remove.
644         * config/picochip/ashlsi3.S: Remove.
645         * config/picochip/ashlsi3.c: Remove.
646         * config/picochip/ashrsi3.S: Remove.
647         * config/picochip/ashrsi3.c: Remove.
648         * config/picochip/clzsi2.S: Remove.
649         * config/picochip/cmpsi2.S: Remove.
650         * config/picochip/divmod15.S: Remove.
651         * config/picochip/divmodhi4.S: Remove.
652         * config/picochip/divmodsi4.S: Remove.
653         * config/picochip/lib1funcs.S: Remove.
654         * config/picochip/longjmp.S: Remove.
655         * config/picochip/lshrsi3.S: Remove.
656         * config/picochip/lshrsi3.c: Remove.
657         * config/picochip/parityhi2.S: Remove.
658         * config/picochip/popcounthi2.S: Remove.
659         * config/picochip/setjmp.S: Remove.
660         * config/picochip/subdi3.S: Remove.
661         * config/picochip/t-picochip: Remove.
662         * config/picochip/ucmpsi2.S: Remove.
663         * config/picochip/udivmodhi4.S: Remove.
664         * config/picochip/udivmodsi4.S: Remove.
666 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
668         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
669         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
670         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
671         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
672         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
673         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
674         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
675         defined and LIBGCC2_HAS_DF_MODE is defined.
676         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
677         defined and LIBGCC2_HAS_XF_MODE is defined.
678         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
679         defined and LIBGCC2_HAS_TF_MODE is defined.
681 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
683         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
684         and ROUND_TOWARDS_ZERO conditionals.
686 2014-09-07  Nathan sidwell  <nathan@acm.org>
688         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
689         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
691 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
693         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
694         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
695         uses to __LIBGCC_STACK_POINTER_REGNUM__.
696         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
697         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
698         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
699         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
700         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
701         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
702         (DWARF_FRAME_REGISTERS): Change all uses to
703         __LIBGCC_DWARF_FRAME_REGISTERS__.
704         (EH_RETURN_STACKADJ_RTX): Change all uses to
705         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
706         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
707         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
708         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
709         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
710         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
711         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
712         to __LIBGCC_EH_FRAME_SECTION_NAME__.
713         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
714         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
715         __LIBGCC_STACK_POINTER_REGNUM__.
716         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
717         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
718         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
719         to __LIBGCC_STACK_POINTER_REGNUM__.
720         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
721         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
722         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
723         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
724         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
725         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
726         (STACK_POINTER_REGNUM): Change all uses to
727         __LIBGCC_STACK_POINTER_REGNUM__.
728         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
729         use to __LIBGCC_STACK_POINTER_REGNUM__.
730         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
731         uses to __LIBGCC_STACK_POINTER_REGNUM__.
732         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
733         to __LIBGCC_DWARF_FRAME_REGISTERS__.
734         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
735         to __LIBGCC_DWARF_FRAME_REGISTERS__.
736         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
737         to __LIBGCC_STACK_POINTER_REGNUM__.
738         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
739         Remove conditional definition.
740         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
741         __LIBGCC_TEXT_SECTION_ASM_OP__.
742         (EH_FRAME_SECTION_NAME): Change all uses to
743         __LIBGCC_EH_FRAME_SECTION_NAME__.
744         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
745         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
746         (CTORS_SECTION_ASM_OP): Change all uses to
747         __LIBGCC_CTORS_SECTION_ASM_OP__.
748         (DTORS_SECTION_ASM_OP): Change all uses to
749         __LIBGCC_DTORS_SECTION_ASM_OP__.
750         (JCR_SECTION_NAME): Change all uses to
751         __LIBGCC_JCR_SECTION_NAME__.
752         (INIT_SECTION_ASM_OP): Change all uses to
753         __LIBGCC_INIT_SECTION_ASM_OP__.
754         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
755         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
756         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
757         __LIBGCC_STACK_GROWS_DOWNWARD__.
758         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
759         __LIBGCC_INIT_SECTION_ASM_OP__.
760         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
761         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
762         (EH_FRAME_SECTION_NAME): Change all uses to
763         __LIBGCC_EH_FRAME_SECTION_NAME__.
764         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
765         definitions.  Change all uses to
766         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
767         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
768         __LIBGCC_STACK_GROWS_DOWNWARD__.
769         (DWARF_FRAME_REGISTERS): Change all uses to
770         __LIBGCC_DWARF_FRAME_REGISTERS__.
771         (EH_RETURN_STACKADJ_RTX): Change all uses to
772         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
773         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
774         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
775         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
776         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
777         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
779 2014-09-02  Nathan sidwell  <nathan@acm.org>
781         * libgcov-interface.c (STRONG_ALIAS): New.
782         (__gcov_flush): Call __gcov_reset_int.
783         (__gcov_reset): Strong alias for ...
784         (__gcov_reset_ing): ... this renamed hidden version.
785         * libgcov.h (__gcov_reset_int): New declaration.
787 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
789         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
790         call from here...
791         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
792         (__dso_handle): Define on Cygwin.
793         * config/i386/t-cygming (crtbeginS.o): New rule.
794         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
796         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
797         declaration syntax.
799 2014-08-13  Steve Ellcey  <sellcey@mips.com>
801         * crtstuff.c: Undef caddr_t.
803 2014-08-12  Steve Ellcey  <sellcey@mips.com>
805         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
807 2014-08-07  Nathan Sidwell  <nathan@acm.org>
809         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
810         (LIBGCOV_DRIVER): ... to here.
811         * libgcov.h (gcov_do_dump): New #define.
812         (struct gcov_root): New.
813         (__gcov_root): New declaration.
814         (__gcov_dump_one): Declare.
815         * libgcov-driver.c (gcov_list, gcov_dump_complete,
816         run_accounted): Delete.
817         (gcov_compute_histogram): Add LIST argument, adjust.
818         (compute_summary): Adjust gcov_compute_histogram call.
819         (gcov_do_dump): Not hidden, static in libgcov.
820         (gcov_clear): Move  to interface.c.
821         (__gcov_dump_one): New, broken out of ...
822         (gcov_exit): ... here.  Make static.
823         (__gcov_root): New.
824         (__gcov_init): Adjust.
825         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
826         declarations.
827         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
828         (gcov_clear): Moved from driver.c.   Add LIST argument.
829         (__gcov_reset): Adjust for changed interfaces.
830         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
832 2014-08-04  Rohit  <rohitarulraj@freescale.com>
834         PR target/60102
835         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
836         based on change in SPE high register numbers and 3 HTM registers.
838 2014-08-01  Nathan Sidwell  <nathan@acm.org>
840         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
841         LIBGCOV_INTERFACE): Reformat.
842         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
843         IN_GCOV_TOOL.
844         * libgcov-interface.c: Reformat some comments.
845         (__gcov_flush_mx): Add declaration.  Tidy up definition.
847 2014-07-31  Alan Modra  <amodra@gmail.com>
848             Peter Bergner  <bergner@vnet.ibm.com>
850         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
851         (pack_ldouble): New function.
852         (__gcc_qadd): Use it.
853         (__gcc_qmul): Likewise.
854         (__gcc_qdiv): Likewise.
855         (__gcc_qneg): Likewise.
856         (__gcc_stoq): Likewise.
857         (__gcc_dtoq): Likewise.
859 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
861         * config/s390/tpf-unwind.h: Include <stdbool.h>.
862         (__tpf_eh_return): Add original return address as second parameter.
863         Handle cases where unwinder routines were called directly, instead
864         of from within the C++ library.
866 2014-07-29  Nathan Sidwell  <nathan@acm.org>
868         * libgcov.h: Move renaming of entry points to lib gcov specific
869         portion.
870         (gcov_do_dump): New rename.
871         (gcov_rewrite): Remove inline, make HIDDEN.
872         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
873         (gcov_exit_compute_summary): Rename to ...
874         (compute_summary): ... here.  Add LIST argument.
875         (gcov_exit_merge_gcda): Rename to ...
876         (merge_one_data): ... here.
877         (gcov_exit_write_gcda): Rename to ...
878         (write_one_data): ... here.
879         (gcov_exit_merge_summary): Rename to ...
880         (merge_summary): Add RUN_COUNTED argument.
881         (gcov_exit_dump_gcov): Rename to ...
882         (dump_one_gcov): Add RUN_COUNTED argument.
883         (gcov_do_dump): New function, broken out of ...
884         (gcov_exit): ... here.  Call it.
886 2014-07-27  Anthony Green  <green@moxielogic.com>
888         * config.host: Add moxiebox configuration suppport.
890 2014-07-27  Nathan Sidwell  <nathan@acm.org>
892         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
893         (struct gcov_filename): ... here.  Include buffer and max length
894         fields.
895         (gcov_max_filename): Remove.
896         (gi_filename): Remove.
897         (gcov_exit_compute_summary): Compute max filename here.
898         (gcov_exit_merge_gcda): Add filename parm, adjust.
899         (gcov_exit_merge_summary): Likewise.
900         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
901         (gcov_exit): Likewise.
902         (__gcov_init): Don't calculate max length here.
903         * libgcov_util.c (max_filename_len): Remove.
904         (read_gcda_file): Don't calculate max length here.
905         (gcov_read_profile_dir): Don't propagate here.
906         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
907         struct gcov_filename changes.
908         (gcov_exit_open_gcda_file): Likewise.
910 2014-07-25  Nathan Sidwell  <nathan@acm.org>
912         * libgcov-driver.c (set_gcov_dump_complete,
913         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
914         functions polluting user's namespace.
915         (gcov_exit): Set variable directly.
916         (gcov_clear): Reset variable directly.
917         * libgcov-interface.c (get_gcov_dymp_complete,
918         reset_gov_dump_complete): Remove declarations.
919         (__gcov_reset, __gcov_dump): Don't call them.
921 2014-07-24  DJ Delorie  <dj@redhat.com>
923         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
924         (__gcc_deregister_frame): Move logic to detect deregister function
925         to ...
926         (__gcc_register_frame): here, so it's consistent with the register
927         logic.
929 2014-07-23  Nathan Sidwell  <nathan@acm.org>
931         * libgcov-driver.c (set_gcov_list): Remove.
932         (gcov_list): Make non-static in GCOV_TOOL.
933         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
935 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
937         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
938         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
939         Don't use SYNC_LOCK_RELEASE for int type.
941 2014-07-14  Richard Biener  <rguenther@suse.de>
943         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
945 2014-07-11  Rong Xu  <xur@google.com>
947         * libgcov-util.c (gcov_max_filename): Fix declartion.
949 2014-07-10  Rong Xu  <xur@google.com>
951         Add gcov-tool: an offline gcda profile processing tool
952         Support.
953         * libgcov-driver.c (gcov_max_filename): Make available
954         to gcov-tool.
955         * libgcov-merge.c (__gcov_merge_add): Replace
956         gcov_read_counter() with a Macro.
957         (__gcov_merge_ior): Ditto.
958         (__gcov_merge_time_profile): Ditto.
959         (__gcov_merge_single): Ditto.
960         (__gcov_merge_delta): Ditto.
961         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
962         in the utility functions.
963         (set_fn_ctrs): Utility function for reading gcda files to in-memory
964         gcov_list object link lists.
965         (tag_function): Ditto.
966         (tag_blocks): Ditto.
967         (tag_arcs): Ditto.
968         (tag_lines): Ditto.
969         (tag_counters): Ditto.
970         (tag_summary): Ditto.
971         (read_gcda_finalize): Ditto.
972         (read_gcda_file): Ditto.
973         (ftw_read_file): Ditto.
974         (read_profile_dir_init): Ditto.
975         (gcov_read_profile_dir): Ditto.
976         (gcov_read_counter_mem): Ditto.
977         (gcov_get_merge_weight): Ditto.
978         (merge_wrapper): A wrapper function that calls merging handler.
979         (gcov_merge): Merge two gcov_info objects with weights.
980         (find_match_gcov_info): Find the matched gcov_info in the list.
981         (gcov_profile_merge): Merge two gcov_info object lists.
982         (__gcov_add_counter_op): Process edge profile counter values.
983         (__gcov_ior_counter_op): Process IOR profile counter values.
984         (__gcov_delta_counter_op): Process delta profile counter values.
985         (__gcov_single_counter_op): Process single  profile counter values.
986         (fp_scale): Callback function for float-point scaling.
987         (int_scale): Callback function for integer fraction scaling.
988         (gcov_profile_scale): Scaling profile counters.
989         (gcov_profile_normalize): Normalize profile counters.
990         * libgcov.h: Add headers and functions for gcov-tool use.
991         (gcov_get_counter): New.
992         (gcov_get_counter_target): Ditto.
993         (struct gcov_info): Make the functions field mutable in gcov-tool
994         compilation.
996 2014-06-23  Kai Tietz  <ktietz@redhat.com>
998         PR libgcc/61585
999         * unwind-seh.c (_Unwind_GetGR): Check for proper
1000         index range.
1001         (_Unwind_SetGR): Likewise.
1003 2014-05-22  Nick Clifton  <nickc@redhat.com>
1005         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1006         -mhwmult=none.
1008 2014-05-22  Teresa Johnson  <tejohnson@google.com>
1010         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1011         include.
1013 2014-05-20  John Marino  <gnugcc@marino.st>
1015         * config.host (*-*-dragonfly*): New target.
1016         * crtstuff.c: Make dl_iterate_support generic on *bsd.
1017         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1018         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1019         * config/i386/dragonfly-unwind.h: New.
1021 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
1023         PR libgcc/60166
1024         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1025         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1027 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1029         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1030         implementation.
1032 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
1034         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1036 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1038         PR libgcc/61097
1039         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1040         if --enable-shared.
1042 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1044         Work around for current cygwin32 build problems.
1045         * config/i386/cygming-crtbegin.c (__register_frame_info,
1046         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1047         functions only for 64-bit systems.
1049 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1051         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1052         (sigill_caught, sigill_hdlr): Remove.
1054 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1056         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1057         check.
1058         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1059         Solaris 9 single-threaded support.
1060         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1061         Solaris 9 single-threaded support.  Add call_user_handler code
1062         sequences.
1063         (sparc_is_sighandler): Likewise.
1065 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1067         * config.host: Append t-floattodi to tmake_file depending on
1068         host_address.
1070 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
1072         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
1074 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
1076         PR libgcc/60472
1077         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
1078         variable to avoid "array subscript is above array bounds" warnings.
1079         Use __builtin_expect when checking *jcr_list for NULL.
1081 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1083         PR libgcc/59339
1084         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1085         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1086         vtv_*.o to extra_parts if enable_vtable_verify.
1088 2014-03-06  Nick Clifton  <nickc@redhat.com>
1090         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1091         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1093 2014-02-28  Joey Ye  <joey.ye@arm.com>
1095         PR libgcc/60166
1096         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1097         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1098         Set to zero.
1100 2014-02-24  Walter Lee  <walt@tilera.com>
1102         * config.host: Support "tilegx*" and "tilepro*" triplets.
1103         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1104         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1106 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
1107             Chung-Lin Tang  <cltang@codesourcery.com>
1109         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1110         * config/nios2/crti.S: Remove .file directive.
1111         * config/nios2/crtn.S: Likewise.
1113 2014-02-18  Kai Tietz  <ktietz@redhat.com>
1114         Jonathan Schleifer  <js@webkeks.org>
1116         PR objc/56870
1117         * unwind-seh.c (_GCC_specific_handler): Pass proper
1118         value to unwind-handler.
1120 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
1122         * soft-fp/adddf3.c: Update from glibc.
1123         * soft-fp/addsf3.c: Likewise.
1124         * soft-fp/addtf3.c: Likewise.
1125         * soft-fp/divdf3.c: Likewise.
1126         * soft-fp/divsf3.c: Likewise.
1127         * soft-fp/divtf3.c: Likewise.
1128         * soft-fp/double.h: Likewise.
1129         * soft-fp/eqdf2.c: Likewise.
1130         * soft-fp/eqsf2.c: Likewise.
1131         * soft-fp/eqtf2.c: Likewise.
1132         * soft-fp/extenddftf2.c: Likewise.
1133         * soft-fp/extended.h: Likewise.
1134         * soft-fp/extendsfdf2.c: Likewise.
1135         * soft-fp/extendsftf2.c: Likewise.
1136         * soft-fp/extendxftf2.c: Likewise.
1137         * soft-fp/fixdfdi.c: Likewise.
1138         * soft-fp/fixdfsi.c: Likewise.
1139         * soft-fp/fixdfti.c: Likewise.
1140         * soft-fp/fixsfdi.c: Likewise.
1141         * soft-fp/fixsfsi.c: Likewise.
1142         * soft-fp/fixsfti.c: Likewise.
1143         * soft-fp/fixtfdi.c: Likewise.
1144         * soft-fp/fixtfsi.c: Likewise.
1145         * soft-fp/fixtfti.c: Likewise.
1146         * soft-fp/fixunsdfdi.c: Likewise.
1147         * soft-fp/fixunsdfsi.c: Likewise.
1148         * soft-fp/fixunsdfti.c: Likewise.
1149         * soft-fp/fixunssfdi.c: Likewise.
1150         * soft-fp/fixunssfsi.c: Likewise.
1151         * soft-fp/fixunssfti.c: Likewise.
1152         * soft-fp/fixunstfdi.c: Likewise.
1153         * soft-fp/fixunstfsi.c: Likewise.
1154         * soft-fp/fixunstfti.c: Likewise.
1155         * soft-fp/floatdidf.c: Likewise.
1156         * soft-fp/floatdisf.c: Likewise.
1157         * soft-fp/floatditf.c: Likewise.
1158         * soft-fp/floatsidf.c: Likewise.
1159         * soft-fp/floatsisf.c: Likewise.
1160         * soft-fp/floatsitf.c: Likewise.
1161         * soft-fp/floattidf.c: Likewise.
1162         * soft-fp/floattisf.c: Likewise.
1163         * soft-fp/floattitf.c: Likewise.
1164         * soft-fp/floatundidf.c: Likewise.
1165         * soft-fp/floatundisf.c: Likewise.
1166         * soft-fp/floatunditf.c: Likewise.
1167         * soft-fp/floatunsidf.c: Likewise.
1168         * soft-fp/floatunsisf.c: Likewise.
1169         * soft-fp/floatunsitf.c: Likewise.
1170         * soft-fp/floatuntidf.c: Likewise.
1171         * soft-fp/floatuntisf.c: Likewise.
1172         * soft-fp/floatuntitf.c: Likewise.
1173         * soft-fp/gedf2.c: Likewise.
1174         * soft-fp/gesf2.c: Likewise.
1175         * soft-fp/getf2.c: Likewise.
1176         * soft-fp/ledf2.c: Likewise.
1177         * soft-fp/lesf2.c: Likewise.
1178         * soft-fp/letf2.c: Likewise.
1179         * soft-fp/muldf3.c: Likewise.
1180         * soft-fp/mulsf3.c: Likewise.
1181         * soft-fp/multf3.c: Likewise.
1182         * soft-fp/negdf2.c: Likewise.
1183         * soft-fp/negsf2.c: Likewise.
1184         * soft-fp/negtf2.c: Likewise.
1185         * soft-fp/op-1.h: Likewise.
1186         * soft-fp/op-2.h: Likewise.
1187         * soft-fp/op-4.h: Likewise.
1188         * soft-fp/op-8.h: Likewise.
1189         * soft-fp/op-common.h: Likewise.
1190         * soft-fp/quad.h: Likewise.
1191         * soft-fp/single.h: Likewise.
1192         * soft-fp/soft-fp.h: Likewise.
1193         * soft-fp/subdf3.c: Likewise.
1194         * soft-fp/subsf3.c: Likewise.
1195         * soft-fp/subtf3.c: Likewise.
1196         * soft-fp/truncdfsf2.c: Likewise.
1197         * soft-fp/trunctfdf2.c: Likewise.
1198         * soft-fp/trunctfsf2.c: Likewise.
1199         * soft-fp/trunctfxf2.c: Likewise.
1200         * soft-fp/unorddf2.c: Likewise.
1201         * soft-fp/unordsf2.c: Likewise.
1202         * soft-fp/unordtf2.c: Likewise.
1203         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1204         macro.
1205         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1206         Likewise.
1207         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1208         Likewise.
1209         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1210         Likewise.
1211         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1212         Likewise.
1213         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1214         Likewise.
1215         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1216         Likewise.
1217         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1218         Likewise.
1219         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1220         Likewise.
1221         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1222         Likewise.
1223         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1224         Likewise.
1225         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1226         Likewise.
1227         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1228         Likewise.
1229         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1230         Likewise.
1231         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1232         Likewise.
1233         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1234         Likewise.
1236 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1238         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1239         cannot be represented.
1240         * config/s390/32/_fixsfdi.c: Likewise.
1241         * config/s390/32/_fixtfdi.c: Likewise.
1242         * config/s390/32/_fixunsdfdi.c: Likewise.
1243         * config/s390/32/_fixunssfdi.c: Likewise.
1244         * config/s390/32/_fixunstfdi.c: Likewise.
1246 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
1248         * configure.ac (libgcc_cv_mips_hard_float): New.
1249         * configure: Regenerate.
1250         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1251         t-softfp-sfdf for hard-float targets.
1252         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1253         (softfp_float_modes, softfp_int_modes, softfp_extensions)
1254         (softfp_truncations, softfp_exclude_libgcc2): New.
1255         * config/t-hardfp: New file.
1256         * config/t-hardfp-sfdf: Likewise.
1257         * config/hardfp.c: Likewise.
1259 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1261         * config.host: Include t-floattodi also for s390x.
1262         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1263         * config/s390/32/_fixsfdi.c: Likewise.
1264         * config/s390/32/_fixtfdi.c: Likewise.
1265         * config/s390/32/_fixunsdfdi.c: Likewise.
1266         * config/s390/32/_fixunssfdi.c: Likewise.
1267         * config/s390/32/_fixunstfdi.c: Likewise.
1269 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1271         PR target/59788
1272         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1273         (install-libgcc-unwind-map-forbuild): New target.
1274         (all): Depend on install-libgcc-unwind-map-forbuild.
1275         (install-libgcc-unwind-map): New target.
1276         (install): Depend on install-libgcc-unwind-map.
1278 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
1280         * config/nios2/crti.S (_init): Initialize GOT pointer from
1281         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1283 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
1285         * configure.ac: Check __mips64 when setting host_address.
1286         * configure: Regenerate.
1287         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1288         mips/t-mips64 and t-softfp.
1289         (mips*-*-linux*): Don't add mips/t-tpbit.
1290         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1291         (DPBIT, DPBIT_CFLAGS): Delete.
1292         * config/mips/sfp-machine.h: New file.
1293         * config/mips/t-mips64: Likewise.
1294         * config/mips/t-softfp-tf: Likewise.
1295         * config/mips/t-tpbit: Delete.
1297 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1299         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1300         as long long.
1302 2014-01-25  Walter Lee  <walt@tilera.com>
1304         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
1305         config.h or system.h.
1306         (bool) Define.
1308 2014-01-25  Walter Lee  <walt@tilera.com>
1310         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1311         (post_atomic_barrier): Ditto.
1312         (__fetch_and_do): New macro.
1313         (__atomic_fetch_and_do): Use __fetch_and_do.
1314         (__sync_fetch_and_do): New macro.
1315         (__sync_fetch_and_add_4): New function.
1316         (__sync_fetch_and_sub_4): New function.
1317         (__sync_fetch_and_or_4): New function.
1318         (__sync_fetch_and_and_4): New function.
1319         (__sync_fetch_and_xor_4): New function.
1320         (__sync_fetch_and_nand_4): New function.
1321         (__sync_fetch_and_add_8): New function.
1322         (__sync_fetch_and_sub_8): New function.
1323         (__sync_fetch_and_or_8): New function.
1324         (__sync_fetch_and_and_8): New function.
1325         (__sync_fetch_and_xor_8): New function.
1326         (__sync_fetch_and_nand_8): New function.
1327         (__do_and_fetch): New macro.
1328         (__atomic_do_and_fetch): Use __do_and_fetch.
1329         (__sync_do_and_fetch): New macro.
1330         (__sync_add_and_fetch_4): New function.
1331         (__sync_sub_and_fetch_4): New function.
1332         (__sync_or_and_fetch_4): New function.
1333         (__sync_and_and_fetch_4): New function.
1334         (__sync_xor_and_fetch_4): New function.
1335         (__sync_nand_and_fetch_4): New function.
1336         (__sync_add_and_fetch_8): New function.
1337         (__sync_sub_and_fetch_8): New function.
1338         (__sync_or_and_fetch_8): New function.
1339         (__sync_and_and_fetch_8): New function.
1340         (__sync_xor_and_fetch_8): New function.
1341         (__sync_nand_and_fetch_8): New function.
1342         (__sync_exchange_methods): New macro.
1343         (__sync_val_compare_and_swap_4): New function.
1344         (__sync_bool_compare_and_swap_4): New function.
1345         (__sync_lock_test_and_test_4): New function.
1346         (__sync_val_compare_and_swap_8): New function.
1347         (__sync_bool_compare_and_swap_8): New function.
1348         (__sync_lock_test_and_test_8): New function.
1349         (__subword_cmpxchg_body): New macro.
1350         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1351         (__atomic_compare_exchange_2): Ditto.
1352         (__sync_subword_cmpxchg): New macro.
1353         (__sync_val_compare_and_swap_1): New function.
1354         (__sync_bool_compare_and_swap_1): New function.
1355         (__sync_val_compare_and_swap_2): New function.
1356         (__sync_bool_compare_and_swap_2): New function.
1357         (__atomic_subword): Rename to ...
1358         (__subword): ... New name.
1359         (__atomic_subword_fetch): Use __subword.
1360         (__sync_subword_fetch): New macro.
1361         (__sync_fetch_and_add_1): New function.
1362         (__sync_fetch_and_sub_1): New function.
1363         (__sync_fetch_and_or_1): New function.
1364         (__sync_fetch_and_and_1): New function.
1365         (__sync_fetch_and_xor_1): New function.
1366         (__sync_fetch_and_nand_1): New function.
1367         (__sync_fetch_and_add_2): New function.
1368         (__sync_fetch_and_sub_2): New function.
1369         (__sync_fetch_and_or_2): New function.
1370         (__sync_fetch_and_and_2): New function.
1371         (__sync_fetch_and_xor_2): New function.
1372         (__sync_fetch_and_nand_2): New function.
1373         (__sync_add_and_fetch_1): New function.
1374         (__sync_sub_and_fetch_1): New function.
1375         (__sync_or_and_fetch_1): New function.
1376         (__sync_and_and_fetch_1): New function.
1377         (__sync_xor_and_fetch_1): New function.
1378         (__sync_nand_and_fetch_1): New function.
1379         (__sync_add_and_fetch_2): New function.
1380         (__sync_sub_and_fetch_2): New function.
1381         (__sync_or_and_fetch_2): New function.
1382         (__sync_and_and_fetch_2): New function.
1383         (__sync_xor_and_fetch_2): New function.
1384         (__sync_nand_and_fetch_2): New function.
1385         (__atomic_subword_lock): Use __subword.
1386         (__sync_subword_lock): New macro.
1387         (__sync_lock_test_and_set_1): New function.
1388         (__sync_lock_test_and_set_2): New function.
1390 2014-01-25  Walter Lee  <walt@tilera.com>
1392         * config/tilepro/atomic.c (BIT_OFFSET): Define.
1393         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1394         (__atomic_subword): Ditto.
1396 2014-01-25  Walter Lee  <walt@tilera.com>
1398         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1399         a prefix op argument.
1400         (__atomic_nand_fetch_4): Add prefix op.
1401         (__atomic_nand_fetch_8): Ditto.
1403 2014-01-21  Baruch Siach <barch@tkos.co.il>
1405         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1407 2014-01-09  Rong Xu  <xur@google.com>
1409         * libgcov-driver.c (this_prg): make it local to save
1410         bss space.
1411         (gcov_exit_compute_summary): Ditto.
1412         (gcov_exit_merge_gcda): Ditto.
1413         (gcov_exit_merge_summary): Ditto.
1414         (gcov_exit_dump_gcov): Ditto.
1416 2014-01-08  Rong Xu  <xur@google.com>
1418         * libgcov-driver.c: Use libgcov.h.
1419         (buffer_fn_data): Use xmalloc instead of malloc.
1420         (gcov_exit_merge_gcda): Ditto.
1421         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1422         * libgcov.h: New common header files for libgcov-*.h.
1423         * libgcov-interface.c: Use libgcov.h
1424         * libgcov-merge.c: Ditto.
1425         * libgcov-profiler.c: Ditto.
1426         * Makefile.in: Add dependence to libgcov.h
1428 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1430         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1431         case of small numerator and finite nonzero result.
1433 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1435         Update copyright years
1437 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1439         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1440         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1441         config/arc/dp-hack.h, config/arc/fp-hack.h,
1442         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1443         config/arc/ieee-754/arc600-dsp/divdf3.S,
1444         config/arc/ieee-754/arc600-dsp/divsf3.S,
1445         config/arc/ieee-754/arc600-dsp/muldf3.S,
1446         config/arc/ieee-754/arc600-dsp/mulsf3.S,
1447         config/arc/ieee-754/arc600-mul64/divdf3.S,
1448         config/arc/ieee-754/arc600-mul64/divsf3.S,
1449         config/arc/ieee-754/arc600-mul64/muldf3.S,
1450         config/arc/ieee-754/arc600-mul64/mulsf3.S,
1451         config/arc/ieee-754/arc600/divsf3.S,
1452         config/arc/ieee-754/arc600/mulsf3.S,
1453         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1454         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1455         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1456         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1457         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1458         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1459         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1460         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1461         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1462         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1463         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1464         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1465         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1466         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1467         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1468         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1469         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1470         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1471         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1472         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1473         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1474         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1475         vtv_start_preinit.c: Use the standard form for the copyright notice.
1477 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
1478             Chung-Lin Tang  <cltang@codesourcery.com>
1479             Based on patches from Altera Corporation
1481         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
1482         * config/nios2/lib2-nios2.h: New file.
1483         * config/nios2/lib2-divmod-hi.c: New file.
1484         * config/nios2/linux-unwind.h: New file.
1485         * config/nios2/lib2-divmod.c: New file.
1486         * config/nios2/linux-atomic.c: New file.
1487         * config/nios2/t-nios2: New file.
1488         * config/nios2/crti.asm: New file.
1489         * config/nios2/t-linux: New file.
1490         * config/nios2/lib2-divtable.c: New file.
1491         * config/nios2/lib2-mul.c: New file.
1492         * config/nios2/tramp.c: New file.
1493         * config/nios2/crtn.asm: New file.
1495 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
1497         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
1498         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
1499         from cpuid.h to check vendor signatures.
1501 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
1503         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
1504         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
1505         (get_amd_cpu): Likewise.
1507 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
1509         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
1510         Haswell.
1512 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1513             H.J. Lu  <hongjiu.lu@intel.com>
1515         PR target/59422
1516         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
1517         and AMD_JAGUAR.
1518         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
1519         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
1520         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
1521         FEATURE_XOP and FEATURE_FMA.
1522         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
1523         AMDFAM15H_BDVER3.
1524         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
1525         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
1526         FEATURE_FMA4 and FEATURE_XOP.
1528 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
1530         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
1531         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
1532         (get_intel_cpu): Updated.
1534 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1536         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
1538 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
1540         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1541         instructions when __SSE_MATH__ is defined.
1543 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
1545         * config.host (microblaze-*-rtems*): New.
1547 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
1549         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
1550         architectures that do not have hardware divide instruction.
1551         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
1553 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
1555         * longlong.h: Delete (moved to include/).
1557 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1559         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1560         of normal number and qNaN to not raise an inexact exception.
1562 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
1564         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1566 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
1568         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1569         for correct opcodes on BE.
1571 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
1573         * soft-fp/op-4.h: Update from glibc.
1575 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
1577         * libgcc2.c (__udivmoddi4): Define new implementation when
1578         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1579         divide instructions.
1581 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
1583         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1585 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1587         * config/t-softfp (soft-fp-objects-base): New variable.
1588         (soft-fp-objects): Use it.
1590 2013-11-23  David Edelson  <dje.gcc@gmail.com>
1591             Andrew Dixie  <andrewd@gentrack.com>
1593         PR target/33704
1594         * config/rs6000/aixinitfini.c: New file.
1595         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
1596         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
1597         symbols.
1599 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
1601         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
1603 2013-11-18  Jan Hubicka  <jh@suse.cz>
1605         * libgcov-driver.c (run_accounted): Make global level static.
1606         (gcov_exit_merge_summary): Silence warning; do not clear
1607         run_accounted here.
1608         (gcov_exit): Clear it here.
1610         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
1611         run_accounted.
1613         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
1614         (all_prg, crc32): Remove static vars.
1615         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
1616         all_prg.
1617         (gcov_exit_merge_gcda): Add crc32 parameter.
1618         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
1619         do not account run if it was already accounted.
1620         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1621         (gcov_exit): Initialize all_prg; update.
1623 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
1625         * configure: Regenerate.
1627 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1628             Alan Modra  <amodra@gmail.com>
1630         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1631         (frob_update_context): Use it.
1633 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1634             Alan Modra  <amodra@gmail.com>
1636         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1637         (trampoline_initial): Provide ELFv2 variant.
1638         (__trampoline_setup): Likewise.
1640         * config/rs6000/linux-unwind.h (frob_update_context): Do not
1641         check for AIX indirect function call sequence if _CALL_ELF == 2.
1643 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1644             Alan Modra  <amodra@gmail.com>
1646         * config/rs6000/linux-unwind.h (get_regs): Do not support
1647         old kernel versions if _CALL_ELF == 2.
1648         (frob_update_context): Do not support PLT stub variants only
1649         generated by old linkers if _CALL_ELF == 2.
1651 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1652             Alan Modra  <amodra@gmail.com>
1654         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1655         location of CR save area for 64-bit little-endian systems.
1657 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
1659         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1660         in tmake_file.
1661         * config/arm/t-vxworks: Delete.
1663 2013-11-10  Kai Tietz  <ktietz@redhat.com>
1665         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1666         Increment load-count on use of LIBGCC_SONAME DLL.
1667         (hmod_libgcc): New static variable to hold handle of
1668         LIBGCC_SONAME DLL.
1669         (__gcc_deregister_frame): Decrement load-count of
1670         LIBGCC_SONAME DLL.
1672 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
1674         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1675         availability.
1676         * configure: Regenerate
1678 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
1680         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1681         FP_EX_DENORM.  Store result to volatile location after SSE division
1682         to close interrupt window.  Remove unneeded fwait after x87
1683         division since interrupt window will be closed by emitted fstp.
1684         Rewrite FP_EX_INEXACT handling.
1686 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
1688         * soft-fp/README: Update.
1689         * soft-fp/adddf3.c: Update from glibc.
1690         * soft-fp/addsf3.c: Likewise.
1691         * soft-fp/addtf3.c: Likewise.
1692         * soft-fp/divdf3.c: Likewise.
1693         * soft-fp/divsf3.c: Likewise.
1694         * soft-fp/divtf3.c: Likewise.
1695         * soft-fp/double.h: Likewise.
1696         * soft-fp/eqdf2.c: Likewise.
1697         * soft-fp/eqsf2.c: Likewise.
1698         * soft-fp/eqtf2.c: Likewise.
1699         * soft-fp/extenddftf2.c: Likewise.
1700         * soft-fp/extended.h: Likewise.
1701         * soft-fp/extendsfdf2.c: Likewise.
1702         * soft-fp/extendsftf2.c: Likewise.
1703         * soft-fp/extendxftf2.c: Likewise.
1704         * soft-fp/fixdfdi.c: Likewise.
1705         * soft-fp/fixdfsi.c: Likewise.
1706         * soft-fp/fixdfti.c: Likewise.
1707         * soft-fp/fixsfdi.c: Likewise.
1708         * soft-fp/fixsfsi.c: Likewise.
1709         * soft-fp/fixsfti.c: Likewise.
1710         * soft-fp/fixtfdi.c: Likewise.
1711         * soft-fp/fixtfsi.c: Likewise.
1712         * soft-fp/fixtfti.c: Likewise.
1713         * soft-fp/fixunsdfdi.c: Likewise.
1714         * soft-fp/fixunsdfsi.c: Likewise.
1715         * soft-fp/fixunsdfti.c: Likewise.
1716         * soft-fp/fixunssfdi.c: Likewise.
1717         * soft-fp/fixunssfsi.c: Likewise.
1718         * soft-fp/fixunssfti.c: Likewise.
1719         * soft-fp/fixunstfdi.c: Likewise.
1720         * soft-fp/fixunstfsi.c: Likewise.
1721         * soft-fp/fixunstfti.c: Likewise.
1722         * soft-fp/floatdidf.c: Likewise.
1723         * soft-fp/floatdisf.c: Likewise.
1724         * soft-fp/floatditf.c: Likewise.
1725         * soft-fp/floatsidf.c: Likewise.
1726         * soft-fp/floatsisf.c: Likewise.
1727         * soft-fp/floatsitf.c: Likewise.
1728         * soft-fp/floattidf.c: Likewise.
1729         * soft-fp/floattisf.c: Likewise.
1730         * soft-fp/floattitf.c: Likewise.
1731         * soft-fp/floatundidf.c: Likewise.
1732         * soft-fp/floatundisf.c: Likewise.
1733         * soft-fp/floatunditf.c: Likewise.
1734         * soft-fp/floatunsidf.c: Likewise.
1735         * soft-fp/floatunsisf.c: Likewise.
1736         * soft-fp/floatunsitf.c: Likewise.
1737         * soft-fp/floatuntidf.c: Likewise.
1738         * soft-fp/floatuntisf.c: Likewise.
1739         * soft-fp/floatuntitf.c: Likewise.
1740         * soft-fp/gedf2.c: Likewise.
1741         * soft-fp/gesf2.c: Likewise.
1742         * soft-fp/getf2.c: Likewise.
1743         * soft-fp/ledf2.c: Likewise.
1744         * soft-fp/lesf2.c: Likewise.
1745         * soft-fp/letf2.c: Likewise.
1746         * soft-fp/muldf3.c: Likewise.
1747         * soft-fp/mulsf3.c: Likewise.
1748         * soft-fp/multf3.c: Likewise.
1749         * soft-fp/negdf2.c: Likewise.
1750         * soft-fp/negsf2.c: Likewise.
1751         * soft-fp/negtf2.c: Likewise.
1752         * soft-fp/op-1.h: Likewise.
1753         * soft-fp/op-2.h: Likewise.
1754         * soft-fp/op-4.h: Likewise.
1755         * soft-fp/op-8.h: Likewise.
1756         * soft-fp/op-common.h: Likewise.
1757         * soft-fp/quad.h: Likewise.
1758         * soft-fp/single.h: Likewise.
1759         * soft-fp/soft-fp.h: Likewise.
1760         * soft-fp/subdf3.c: Likewise.
1761         * soft-fp/subsf3.c: Likewise.
1762         * soft-fp/subtf3.c: Likewise.
1763         * soft-fp/truncdfsf2.c: Likewise.
1764         * soft-fp/trunctfdf2.c: Likewise.
1765         * soft-fp/trunctfsf2.c: Likewise.
1766         * soft-fp/trunctfxf2.c: Likewise.
1767         * soft-fp/unorddf2.c: Likewise.
1768         * soft-fp/unordsf2.c: Likewise.
1769         * soft-fp/unordtf2.c: Likewise.
1771 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
1773         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
1774         (_FP_MUL_MEAT_D): Ditto.
1775         (_FP_DIV_MEAT_S): Ditto.
1776         (_FP_DIV_MEAT_D): Ditto.
1777         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
1778         t-softfp-sfdf and t-softfp to tmake_file.
1780 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
1782         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
1783         * config/i386/crtprec.c: Ditto.
1785 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
1786             Shiva Chen  <shiva0217@gmail.com>
1788         * config.host (nds32*-elf*): Add nds32 target.
1789         * config/nds32 : New directory and files.
1791 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
1793         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
1794         * config.host (cpu_type) <Setting default>: Add entry for
1795         crisv32-*-*.
1796         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
1797         <crisv32-*-linux*>: Adjust.
1798         * longlong.h: Wrap the whole CRIS section in a single
1799         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
1800         and sub_ddmmss.
1801         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
1802         defined.
1803         [__CRIS__] (__umulsidi3): Define.
1804         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
1805         * config/cris/sfp-machine.h: New file.
1806         * config/cris/umulsidi3.S: New file.
1807         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
1808         * config/cris/arit.c (SIGNMULT): New macro.
1809         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
1810         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
1811         saving 3 out of originally 33 cycles from the fastest
1812         path, 3 out of 54 from the medium path and one from the longest
1813         path.  Improve comments.
1815 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
1817         * sync.c: Remove static aliases and define each function directly
1818         under its real name.
1820 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
1822         * config.host (hppa*64*-*-linux*): Define extra_parts.
1823         (hppa*-*-linux*): Likewise.
1825 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
1827         * config/arc/crtgend.S: Add 2013 to Copyright years.
1828         * config/arc/gmon/atomic.h: Likewise.
1829         * config/arc/gmon/auxreg.h: Likewise.
1830         * config/arc/gmon/sys/gmon_out.h: Likewise.
1831         * config/arc/gmon/sys/gmon.h: Likewise.
1832         * config/arc/gmon/prof-freq.c: Likewise.
1833         * config/arc/gmon/mcount.c: Likewise.
1834         * config/arc/gmon/prof-freq-stub.S: Likewise.
1835         * config/arc/gmon/gmon.c: Likewise.
1836         * config/arc/gmon/machine-gmon.h: Likewise.
1837         * config/arc/gmon/profil.S: Likewise.
1838         * config/arc/gmon/dcache_linesz.S: Likewise.
1839         * config/arc/crtg.S: Likewise.
1840         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
1841         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
1842         * config/arc/ieee-754/adddf3.S: Likewise.
1843         * config/arc/ieee-754/truncdfsf2.S: Likewise.
1844         * config/arc/ieee-754/fixsfsi.S: Likewise.
1845         * config/arc/ieee-754/gtsf2.S: Likewise.
1846         * config/arc/ieee-754/floatsisf.S: Likewise.
1847         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
1848         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
1849         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
1850         * config/arc/ieee-754/fixdfsi.S: Likewise.
1851         * config/arc/ieee-754/addsf3.S: Likewise.
1852         * config/arc/ieee-754/gesf2.S: Likewise.
1853         * config/arc/ieee-754/floatsidf.S: Likewise.
1854         * config/arc/ieee-754/extendsfdf2.S: Likewise.
1855         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
1856         * config/arc/ieee-754/gtdf2.S: Likewise.
1857         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
1858         * config/arc/ieee-754/uneqdf2.S: Likewise.
1859         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1860         * config/arc/ieee-754/uneqsf2.S: Likewise.
1861         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
1862         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
1863         * config/arc/ieee-754/eqdf2.S: Likewise.
1864         * config/arc/ieee-754/ordsf2.S: Likewise.
1865         * config/arc/ieee-754/divsf3.S: Likewise.
1866         * config/arc/ieee-754/divdf3.S: Likewise.
1867         * config/arc/ieee-754/floatunsidf.S: Likewise.
1868         * config/arc/ieee-754/orddf2.S: Likewise.
1869         * config/arc/ieee-754/eqsf2.S: Likewise.
1870         * config/arc/ieee-754/gedf2.S: Likewise.
1871         * config/arc/crtn.S: Likewise.
1872         * config/arc/crti.S: Likewise.
1873         * config/arc/t-arc700-uClibc: Likewise.
1874         * config/arc/asm.h: Likewise.
1875         * config/arc/libgcc-excl.ver: Likewise.
1876         * config/arc/t-arc-newlib: Likewise.
1877         * config/arc/divtab-arc700.c: Likewise.
1878         * config/arc/initfini.c: Likewise.
1879         * config/arc/fp-hack.h: Likewise.
1881 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
1882             Diego Novillo  <dnovillo@google.com>
1884         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
1885         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
1886         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
1887         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
1889 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
1890             Brendan Kehoe  <brendan@zen.org>
1891             Simon Cook  <simon.cook@embecosm.com>
1893         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
1894         * config/arc: New directory.
1895         * longlong.h [__arc__] (umul_ppmm): Remove.
1896         [__arc__] (__umulsidi3): Define.
1897         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1898         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1900 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
1902         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1903         CreateSemaphoreA.
1904         * config/i386/gthr-win32.h: Likewise.
1906 2013-09-16  DJ Delorie  <dj@redhat.com>
1908         * config/rl78/vregs.h: Add G10 register definitions.
1909         * config/rl78/lib2mul.c: Enable for RL78/G10.
1910         * config/rl78/lib2div.c: Likewise.
1911         * config/rl78/lshrsi3.S: Use vregs.h.
1912         * config/rl78/cmpsi2.S: Likewise.
1913         * config/rl78/trampoline.S: Likewise.
1914         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
1916 2013-09-14  DJ Delorie  <dj@redhat.com>
1917             Nick Clifton  <nickc@redhat.com>
1919         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1920         * config/rl78/vregs.h: New.
1921         * config/rl78/signbit.S: New file.  Implements signbit function.
1922         * config/rl78/divmodsi.S: New.
1923         * config/rl78/divmodhi.S: New.
1924         * config/rl78/divmodqi.S: New.
1925         * config/rl78/t-rl78: Build them here...
1926         * config/rl78/lib2div.c: ...but not here.
1928 2013-09-12  DJ Delorie  <dj@redhat.com>
1930         * config.host (msp*-*-elf): New.
1931         * config/msp430/: New port.
1933 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
1935         PR gcov-profile/58127
1936         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1937         __thread var for emulated TLS.
1938         (__gcov_indirect_call_counters): Likewise.
1940 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
1941             Catherine Moore  <clm@codesourcery.com>
1942             Richard Sandiford <rdsandiford@googlemail.com>
1944         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1945         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1946         (CALL_STUB_NO_RET): Likewise.
1947         (CALL_STUB_RET): Likewise.
1948         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1949         __mips16_ret call/return stub symbols.
1950         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1951         to tmake_file.
1953 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
1955         * config.host <mips*-*-linux*>: Remove a stray comment.
1957 2013-08-10  Jan Hubicka  <jh@suse.cz>
1959         Work around binutils PR14342
1960         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1961         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1962         (L_gcov_indirect_call_profiler_v2): New.
1964 2013-08-06  Jan Hubicka  <jh@suse.cz>
1966         * libgcov.c (__gcov_indirect_call_callee,
1967         __gcov_indirect_call_counters): New global vars.
1968         (__gcov_indirect_call_profiler): replace by ...
1969         (__gcov_indirect_call_profiler_v2) ... this one.
1971 2013-08-06  Caroline Tice  <cmtice@google.com>
1973         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
1974         vtv_start_preinit.o and vtv_end_preinit.o.
1975         * configure.ac: Add code to check/set enable_vtable_verify.
1976         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
1977         true.
1978         * vtv_start_preinit.c: New file.
1979         * vtv_end_preinit.c: New file.
1980         * vtv_start.c: New file.
1981         * vtv_end.c: New file.
1982         * configure: Regenerated.
1984 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
1986         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1987         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1988         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1989         GPL-3.0-with-GCC-exception.
1991 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
1993         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1994         ISA and up.
1996 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1998         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1999         mapping for FPRs when creating the fallback framestate.
2001 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
2003         PR target/57516
2004         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2005         (__round_s2_const, __round_u2_const)
2006         (__round_s4_const, __round_u4_const, __round_x8):
2007         Saturate result if addition result cannot be represented.
2009 2013-07-15  Matthias Klose  <doko@ubuntu.com>
2011         * libgcc2.c: Don't include <limits.h>.
2013 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
2015         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2017 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
2019         PR target/29776
2020         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2022 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
2024         PR middle-end/36041
2025         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2026         Define.
2027         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2028         instead of table lookups.
2029         (__popcountDI2): Likewise.
2031 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2033         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2034         correctly.
2036 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2038         PR other/53317
2039         * soft-fp/adddf3.c: Update from glibc.
2040         * soft-fp/addsf3.c: Likewise.
2041         * soft-fp/addtf3.c: Likewise.
2042         * soft-fp/divdf3.c: Likewise.
2043         * soft-fp/divsf3.c: Likewise.
2044         * soft-fp/divtf3.c: Likewise.
2045         * soft-fp/double.h: Likewise.
2046         * soft-fp/eqdf2.c: Likewise.
2047         * soft-fp/eqsf2.c: Likewise.
2048         * soft-fp/eqtf2.c: Likewise.
2049         * soft-fp/extenddftf2.c: Likewise.
2050         * soft-fp/extended.h: Likewise.
2051         * soft-fp/extendsfdf2.c: Likewise.
2052         * soft-fp/extendsftf2.c: Likewise.
2053         * soft-fp/fixdfdi.c: Likewise.
2054         * soft-fp/fixdfsi.c: Likewise.
2055         * soft-fp/fixsfdi.c: Likewise.
2056         * soft-fp/fixsfsi.c: Likewise.
2057         * soft-fp/fixtfdi.c: Likewise.
2058         * soft-fp/fixtfsi.c: Likewise.
2059         * soft-fp/fixunsdfdi.c: Likewise.
2060         * soft-fp/fixunsdfsi.c: Likewise.
2061         * soft-fp/fixunssfdi.c: Likewise.
2062         * soft-fp/fixunssfsi.c: Likewise.
2063         * soft-fp/fixunstfdi.c: Likewise.
2064         * soft-fp/fixunstfsi.c: Likewise.
2065         * soft-fp/floatdidf.c: Likewise.
2066         * soft-fp/floatdisf.c: Likewise.
2067         * soft-fp/floatditf.c: Likewise.
2068         * soft-fp/floatsidf.c: Likewise.
2069         * soft-fp/floatsisf.c: Likewise.
2070         * soft-fp/floatsitf.c: Likewise.
2071         * soft-fp/floatundidf.c: Likewise.
2072         * soft-fp/floatundisf.c: Likewise.
2073         * soft-fp/floatunditf.c: Likewise.
2074         * soft-fp/floatunsidf.c: Likewise.
2075         * soft-fp/floatunsisf.c: Likewise.
2076         * soft-fp/floatunsitf.c: Likewise.
2077         * soft-fp/gedf2.c: Likewise.
2078         * soft-fp/gesf2.c: Likewise.
2079         * soft-fp/getf2.c: Likewise.
2080         * soft-fp/ledf2.c: Likewise.
2081         * soft-fp/lesf2.c: Likewise.
2082         * soft-fp/letf2.c: Likewise.
2083         * soft-fp/muldf3.c: Likewise.
2084         * soft-fp/mulsf3.c: Likewise.
2085         * soft-fp/multf3.c: Likewise.
2086         * soft-fp/negdf2.c: Likewise.
2087         * soft-fp/negsf2.c: Likewise.
2088         * soft-fp/negtf2.c: Likewise.
2089         * soft-fp/op-1.h: Likewise.
2090         * soft-fp/op-2.h: Likewise.
2091         * soft-fp/op-4.h: Likewise.
2092         * soft-fp/op-8.h: Likewise.
2093         * soft-fp/op-common.h: Likewise.
2094         * soft-fp/quad.h: Likewise.
2095         * soft-fp/single.h: Likewise.
2096         * soft-fp/soft-fp.h: Likewise.
2097         * soft-fp/subdf3.c: Likewise.
2098         * soft-fp/subsf3.c: Likewise.
2099         * soft-fp/subtf3.c: Likewise.
2100         * soft-fp/truncdfsf2.c: Likewise.
2101         * soft-fp/trunctfdf2.c: Likewise.
2102         * soft-fp/trunctfsf2.c: Likewise.
2103         * soft-fp/unorddf2.c: Likewise.
2104         * soft-fp/unordsf2.c: Likewise.
2105         * soft-fp/unordtf2.c: Likewise.
2106         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2107         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2108         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2109         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2110         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2111         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2112         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2113         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2114         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2115         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2116         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2117         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2119 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
2121         * config/mips/lib2funcs.c: New file.
2122         * config/mips/t-mips (LIB2ADD_ST): Add it.
2124 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
2126         PR target/6526
2127         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2128         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
2130 2013-06-08  Walter Lee  <walt@tilera.com>
2132         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2133         Replace int64_t with long long.  Add __extension__ where
2134         appropriate.
2135         * config/tilepro/atomic.c: Include config.h.
2137 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
2139         * config.host (arm-wrs-vxworks): Configure with other soft float.
2141 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
2143         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2144         (mips64r5900el-*-elf*): New configurations.
2146 2013-06-04  Alan Modra  <amodra@gmail.com>
2148         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2150 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
2152         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2154 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
2156         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2157         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2158         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2160 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
2162         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2163         (powerpc-wrs-vxworks): Likewise.
2165 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
2167         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2168         signal frames as well.
2169         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2170         STACK_BIAS to the CFA offset.
2172 2013-05-17  Richard Henderson  <rth@redhat.com>
2174         PR target/49146
2175         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2176         (execute_cfa_program): Use it when storing to fs->regs.
2178 2013-05-08  Kai Tietz  <ktietz@redhat.com>
2180         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2181         (__deregister_frame_info): Likewise.
2183 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
2185         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2186         NaN's payload.
2188         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2190 2013-04-25  Alan Modra  <amodra@gmail.com>
2192         * config.host: Match little-endian powerpc-linux.
2194 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
2196         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2197         as 'unsigned long long' instead of 'unsigned long'.
2198         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2199         'signed long'.
2201 2013-04-10  Julian Brown  <julian@codesourcery.com>
2203         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2204         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2205         unsigned char/unsigned short.
2206         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2208 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2210         PR other/55274
2211         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2213 2013-04-04  Meador Inge  <meadori@codesourcery.com>
2215         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2216         computing the location of the link register.
2217         (aeabi_uldivmod): Ditto.
2219 2013-03-27  Kai Tietz  <ktietz@redhat.com>
2221         * config.host: Add support for cygwin x64 target.
2222         * configure: Regenerated.
2224 2013-03-26  Walter Lee  <walt@tilera.com>
2226         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2227         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2229 2013-03-25  Kai Tietz  <ktietz@redhat.com>
2231         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2233 2013-03-20  Robert Mason  <rbmj@verizon.net>
2235         * config/vxlib-tls.c (__gthread_get_tsd_data,)
2236         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2237         (__gthread_leave_tsd_dtor_context): Add prototypes.
2238         (tls_delete_hook): Update.
2240 2013-03-20  Catherine Moore  <clm@codesourcery.com>
2241             Joseph Myers  <joseph@codesourcery.com>
2242             Chao-ying Fu  <fu@mips.com>
2244         * config/mips/mips16.S:  Don't build for microMIPS.
2245         * config/mips/linux-unwind.h: Handle microMIPS frame.
2246         * config/mips/crtn.S (fini, init): New labels.
2248 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
2250         PR tree-optimization/53265
2251         * unwind-dw2.c (execute_cfa_program): Avoid
2252         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2253         on targets with DWARF_FRAME_REGISTERS < 32.
2255 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
2257         PR target/49880
2258         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2259         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2261 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
2263         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2264         sandybridge processors.
2266 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
2268         PR target/56529
2269         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2270         inclusion list.
2272 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2274         * config/microblaze/crti.S: Setup stack protection at entry
2276 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
2278         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2279         (__rotldi3): Shift bytewise if applicable.
2281 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
2283         * config/aarch64/sync-cache.c
2284         (__aarch64_sync_cache_range): Silence warnings.
2286 2013-02-25  Catherine Moore  <clm@codesourcery.com>
2288         Revert:
2289         2013-02-24  Catherine Moore  <clm@codesourcery.com>
2290             Joseph Myers  <joseph@codesourcery.com>
2291             Chao-ying Fu  <fu@mips.com>
2293         * config/mips/mips16.S:  Don't build for microMIPS.
2294         * config/mips/linux-unwind.h: Handle microMIPS frame.
2295         * config/mips/crtn.S (fini, init): New labels.
2297 2013-02-24  Catherine Moore  <clm@codesourcery.com>
2298             Joseph Myers  <joseph@codesourcery.com>
2299             Chao-ying Fu  <fu@mips.com>
2301         * config/mips/mips16.S:  Don't build for microMIPS.
2302         * config/mips/linux-unwind.h: Handle microMIPS frame.
2303         * config/mips/crtn.S (fini, init): New labels.
2305 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2306         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
2307         as dividend.
2309 2013-02-16  Alan Modra  <amodra@gmail.com>
2311         PR target/55431
2312         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2313         (ppc_fallback_frame_state): Always set up save locations for fp
2314         and altivec.  Don't bother with non-callee-saved regs, r0-r13
2315         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2317 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
2319         PR target/54222
2320         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2321         _ssmulHA, _ssmulSA.
2322         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2323         _ssmulha3, _usmulusa3, _ssmulsa3.
2324         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2325         (__muldi3): XCALL __muldi3_6 instead of rcall.
2326         (__umulsidi3, __mulsidi3): New functions.
2327         (do_prologue_saves, do_epilogue_restores): New .macros.
2328         (__divdi3_moddi3): Use them.
2329         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2330         (__usmulusa3, __ssmulsa3): New functions.
2332 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
2333             Jack Howarth  <howarth@bromo.med.uc.edu>
2334             Patrick Marlier  <patrick.marlier@gmail.com>
2336         PR libitm/55693
2337         * config/darwin-crt-tm.c: Remove dummy functions hack.
2339 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
2341         PR target/54222
2342         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2343         * config/avr/lib2-object.mk: New iterator to build objects from it.
2344         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2345         lib2funcs.c.
2346         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2347         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2348         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2349         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2350         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2351         * config/avr/lib1funcs-fixed.S: Implement them.
2353 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
2355         Update copyright years.
2357 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
2359         PR target/54601
2360         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2361         Add crtcxa to extra_parts.
2362         * config/rs6000/exit.h: New file.
2363         * config/rs6000/cxa_atexit.c: New file.
2364         * config/rs6000/cxa_finalize.c: New file.
2365         * config/rs6000/crtcxa.c: New file.
2366         * config/rs6000/t-aix-cxa: New file.
2367         * config/rs6000/libgcc-aix-cxa.ver: New file.
2369 2013-01-31  Nick Clifton  <nickc@redhat.com>
2371         * config/v850/lib1funcs.S: Add support for e3v5 architecture
2372         variant.
2374 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
2376         PR target/54222
2377         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2378         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
2379         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2380         _divQQ,  _divHQ,  _divHA,  _divSA,
2381         _divUQQ, _divUHQ, _divUHA, _divUSA.
2383 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
2385         * config.host(microblaze*-linux*): tmake_file: Remove
2386         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2387         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2388         to exclude functions from being built with libgcc.c and use
2389         the microblaze assembly.
2391 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2393         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2394         extra_parts.
2396 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
2398         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2399         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2400         __UINTPTR_TYPE__; also cast 'base' to the same type before the
2401         alignment operation.
2403 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
2405         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2406         loop start address for cache clearing.
2408 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2410         * config/avr/lib1funcs.S: Remove trailing blanks.
2411         * config/avr/lib1funcs-fixed.S: Ditto.
2413 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2415         * config/avr/avr-lib.h: Add GPL copyright notice.
2417 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2419         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2420         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2421         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2422         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2424 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
2426         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2427         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2429 2013-01-04  Nick Clifton  <nickc@redhat.com>
2431         * config/v850/lib1funcs.S: Only provide CALLT support functions if
2432         the CALLT instruction is supported.
2434 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2436         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2437         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2439 2012-12-13  John Tytgat  <John@bass-software.com>
2441         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2442         is 25.
2444 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
2446         PR libgcc/55451
2447         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2448         undefined signed overflows.
2450 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
2452         PR target/55344
2453         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2455 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
2457         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2458         (FP_TRAPPING_EXCEPTIONS): Define.
2459         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2460         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2462 2012-12-04  Richard Henderson  <rth@redhat.com>
2464         PR bootstrap/55571
2465         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2467 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
2469         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
2470         (FP_EX_SHIFT): Define.
2471         (FP_TRAPPING_EXCEPTIONS): Define.
2473 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
2475         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2476         (FP_ROUNDMODE): Use FP_RND_MASK.
2477         * config/aarch64/sfp-exceptions.c: New.
2478         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2479         Use __sfp_handle_exceptions.
2481 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
2483         * config.host: (arm*-*-freebsd*): Remove.
2484         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
2485         (arm*-*-elf*): Remove.
2486         (arm*-*-wince-pe*): Remove.
2487         * arm/unwind-arm.c (struct fpa_reg): Delete.
2488         (struct fpa_regs): Delete.
2489         (phase1_vrs): Remove fpa element.
2490         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
2491         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
2492         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
2493         * ieee754-sf.S (floatundisf): Remove FPA support.
2494         (floatdisf): Likewise.
2495         * ieee75f-df.S (floatundidf): Likewise.
2496         (floatdidf): Likewise.
2498 2012-11-29  Kai Tietz  <ktietz@redhat.com>
2500         PR target/55445
2501         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
2502         * unwind-generic.h: Likewise.
2503         * unwind-seh.c: Likewise.
2505 2012-11-28  Richard Henderson  <rth@redhat.com>
2507         PR libgcc/48076
2508         * emutls.c (__emutls_get_address): Avoid race condition between
2509         obj->loc.offset read and emutls_key initialization.
2511 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
2513         Adjust decimal point of signed accum mode to GCC default.
2515         PR target/54222
2516         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
2517         _divqq_helper.
2518         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
2519         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
2520         (__mulha3, __mulsa3)
2521         (__divqq3, __divha3, __divsa3): Adjust to new position of
2522         decimal point of signed accum types.
2524         (__mulusa3_round): New function.
2525         (__mulusa3): Use it.
2526         (__divqq_helper): New function.
2527         (__udivuqq3): Use it.
2529 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
2531         PR bootstrap/55370
2532         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
2534 2012-11-18  Teresa Johnson  <tejohnson@google.com>
2536         PR bootstrap/55051
2537         * libgcov.c (gcov_exit): Remove merged program summary
2538         comparison unless !GCOV_LOCKED.
2540 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
2542         * soft-fp: Updated from glibc upstream.
2544 2012-11-06  Ian Lance Taylor  <iant@google.com>
2546         * generic-morestack.c (__generic_morestack): Align the returned
2547         stack pointer to a 32 byte boundary.
2548         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
2549         increment the return address until we have decided that we don't
2550         have a varargs function.
2551         (__morestack) [32-bit]: Align stack correctly when calling C
2552         functions.
2553         (__morestack) [64-bit]: Likewise.
2555 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2557         * configure: Regenerate.
2559 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
2561         PR target/55175
2562         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2563         * config/i386/sfp-machine.h: Guard exception handling
2564         code with _SOFT_FLOAT.
2565         * config/i386/32/sfp-machine.h: Guard rounding handling
2566         code with _SOFT_FLOAT.
2567         * config/i386/64/sfp-machine.h: Ditto.
2569 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
2571         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2572         as extra_parts.
2574 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
2576         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2577         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
2578         when appropriate.  Correct structure element types.
2579         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2580         -minline-all-stringops from compile flags.
2582 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2584         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2586 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2588         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
2590 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2592         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
2593         tmake_file.
2595 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
2596             Jim MacArthur  <jim.macarthur@arm.com>
2597             Marcus Shawcroft  <marcus.shawcroft@arm.com>
2598             Nigel Stephens  <nigel.stephens@arm.com>
2599             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2600             Richard Earnshaw  <rearnsha@arm.com>
2601             Sofiane Naci  <sofiane.naci@arm.com>
2602             Stephen Thomas  <stephen.thomas@arm.com>
2603             Tejas Belagod  <tejas.belagod@arm.com>
2604             Yufeng Zhang  <yufeng.zhang@arm.com>
2606         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
2607         * config/aarch64/crti.S: New file.
2608         * config/aarch64/crtn.S: New file.
2609         * config/aarch64/linux-unwind.h: New file.
2610         * config/aarch64/sfp-machine.h: New file.
2611         * config/aarch64/sync-cache.c: New file.
2612         * config/aarch64/t-aarch64: New file.
2613         * config/aarch64/t-softfp: New file.
2615 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
2617         * config/mmix/crti.S: Mark program and data addresses using PRELD.
2618         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
2619         no-longer-needed LDBU insns.
2621 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
2623         * config.host
2624         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2625         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2627 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2629         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2631 2012-10-15  Matthias Klose  <doko@ubuntu.com>
2633         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2635 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
2637         * configure: Regenerate.
2638         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2640 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
2642         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2643         instructions for 64bit targets only.
2645 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
2647         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2648         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2649         * config/i386/32/sfp-machine.h: ... here.
2650         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2651         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2652         New defines.
2654 2012-10-07  Matthias Klose  <doko@ubuntu.com>
2656         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2657         as unused.
2658         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2660 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
2662         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2663         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2664         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2665         (ElfW): Likewise.
2667 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2669         PR other/53889
2670         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2671         Fix parameter names.
2673 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
2675         PR target/33135
2676         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2677         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2678         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2680 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
2682         PR target/50457
2683         * config/sh/linux-atomic.S: Delete.
2684         * config/sh/linux-atomic.c: New.
2685         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2686         linux-atomic.c.  Add cflags to disable warnings.
2688 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2690         PR other/53889
2691         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2692         function.
2693         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2694         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2695         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2696         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
2697         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2698         Likewise.
2699         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2700         Likewise.
2701         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2702         Likewise.
2703         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2704         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2706 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
2708         * config.host (hppa-*-openbsd*): New target.
2709         * config/pa/t-openbsd: New file.
2711 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
2713         PR target/54222
2714         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2715         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2716         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2717         (__divsa3): Use __negsi2 to negate r_quoL.
2718         * config/avr/lib1funcs.S (FALIAS): New macro.
2719         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2720         (__negsi2): ...this new function.
2721         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2722         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2723         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2724         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2725         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2726         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2728 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
2730         PR target/54089
2731         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2732         (lshrsi3): Reimplement as lshrsi3_r0.
2734 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
2736         PR target/46191
2737         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2738         of libgcc.a.
2740 2012-09-07  Teresa Johnson  <tejohnson@google.com>
2742         PR gcov-profile/54487
2743         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
2744         differences.
2746 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
2748         PR target/54461
2749         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2750         not configured --with-avrlibc=no.
2751         * config/avr/t-avrlibc: New file.
2752         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2753         (DPBIT_FUNCS): Ditto.
2754         (TPBIT_FUNCS): Ditto.
2756 2012-09-04  Teresa Johnson  <tejohnson@google.com>
2758         * libgcov.c (struct gcov_summary_buffer): New structure.
2759         (gcov_histogram_insert): New function.
2760         (gcov_compute_histogram): Ditto.
2761         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2762         histograms during summary merging.
2764 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
2766         * config.host (x86_64-*-openbsd*): New target.
2768 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
2770         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2771         attribute.
2773 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
2775         PR target/54222
2776         * config/avr/t-avr (conv_X): Rename to func_X.
2778 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
2780         PR target/54222
2781         * config/avr/lib1funcs-fixed.S: New file.
2782         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
2783         after they are used.
2784         (neg2, neg4): New macros.
2785         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
2786         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
2787         (__umulhisi3): Speed up MUL variant if there is enough flash.
2788         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
2789         avr-modes.def.
2790         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
2791         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
2792         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
2793         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
2794         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
2795         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
2796         (LIB2FUNCS_EXCLUDE): Add supported functions.
2798 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
2800         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
2801         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
2802         libgcc-s-objects.
2803         * fixed-obj.mk: Only expand dependency if $o is not in
2804         LIB2FUNCS_EXCLUDE.
2806 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
2808         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
2810 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
2812         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
2813         depend on --enable-shared.
2814         ($(lib1asmfuncs-o)): Use %.vis files independent of
2815         --enable-shared.
2816         * static-object.mk ($(base)$(objext), $(base).vis)
2817         ($(base)_s$(objext)): Use same rules for visibility handling as in
2818         shared-object.mk.
2820 2012-08-21  Ian Lance Taylor  <iant@google.com>
2822         * config/i386/morestack.S (__morestack_non_split): Increase amount
2823         of space allocated for non-split code stack.
2825 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
2827         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
2828         even if inhibit_libc.
2830 2012-08-17  Julian Brown  <julian@codesourcery.com>
2832         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
2833         -fexceptions -fnon-call-exceptions if not defined.
2834         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
2835         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
2837 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
2839         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
2840         type.
2842 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
2844         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
2845         rs6000/t-slibgcc-aix.
2847 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
2849         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
2851 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
2853         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2855 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
2857         PR driver/54171
2858         * Makefile.in (version): Replace top_srcdir with srcdir.
2860 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
2862         * Makefile.in (version): set to BASE-VER file from gcc directory.
2864 2012-08-01  Nick Clifton  <nickc@redhat.com>
2866         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
2867         Implements __clrsb for an HImode argument.
2869 2012-07-31  Nick Clifton  <nickc@redhat.com>
2871         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
2872         Implements __clrsb for an HImode argument.
2873         * config/stormy16/clrsbhi2.c: New file:
2874         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
2876 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
2878         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
2880 2012-07-19  Tristan Gingold  <gingold@adacore.com>
2881             Richard Henderson  <rth@redhat.com>
2883         * unwind-seh.c: New file.
2884         * unwind-generic.h: Include windows.h for SEH.
2885         (_Unwind_Exception): Use 6 private fields for SEH.
2886         (_GCC_specific_handler): Declare.
2887         * unwind-c.c (__gcc_personality_seh0): New function.
2888         Adjust for SEH.
2889         * config/i386/libgcc-cygming.ver: New file.
2890         * config/i386/t-seh-eh: New file.
2891         * config.host (x86_64-*-mingw*): Default to seh.
2893 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
2895         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2897 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
2899         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2900         __builtin_expect when checking for exceptions.
2901         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2903 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
2905         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2906         function declaration.
2907         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2908         (FP_RND_MASK): New.
2909         * config/ia64/sfp-exceptions.c: New.
2910         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
2912 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
2914         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2915         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2916         * config/i386/64/sfp-machine: ... (delete here) ...
2917         * config/i386/sfp-machine.h: ... to here.
2918         (FP_EX_MASK): Remove.
2919         (FP_RND_MASK): New.
2920         (FP_INIT_ROUNDMODE): Declare asm as volatile.
2922 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
2924         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2925         * config/i386/libgcc-sol2.ver: Ditto.
2926         * config/i386/libgcc-glibc.ver: Ditto.
2928 2012-06-11  Roland McGrath  <mcgrathr@google.com>
2930         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2931         If __GLIBC__ is defined, refer to __pthread_key_create instead of
2932         pthread_cancel.
2934 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
2936         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2937         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2938         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2939         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2940         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2941         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2942         * config/i386/64/sfp-machine: ... (delete here) ...
2943         * config/i386/sfp-machine.h: ... to here.
2944         (FP_EX_MASK): New.
2945         (__sfp_handle_exceptions): New function declaration.
2946         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2947         * config/i386/sfp-exceptions.c: New.
2948         * config/i386/t-softfp: New.
2949         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2950         i386/t-softfp to tmake_file.
2952 2012-06-03  David S. Miller  <davem@davemloft.net>
2954         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2955         change.
2957 2012-05-31  David S. Miller  <davem@davemloft.net>
2959         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2960         multiply and divide instructions on 32-bit when V9.
2961         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2963 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
2965         * config/arm/ieee754-df.S: Fix typos.
2966         * config/arm/ieee754-sf.S: Fix typos.
2967         * config/c6x/libunwind.S: Fix typos.
2968         * config/epiphany/udivsi3-float.c: Fix typos.
2969         * config/microblaze/muldi3_hard.S: Fix typos.
2970         * config/picochip/adddi3.S: Fix typos.
2971         * config/picochip/ashlsi3.S: Fix typos.
2972         * config/picochip/ashrsi3.S: Fix typos.
2973         * config/picochip/clzsi2.S: Fix typos.
2974         * config/picochip/cmpsi2.S: Fix typos.
2975         * config/picochip/divmod15.S: Fix typos.
2976         * config/picochip/divmodhi4.S: Fix typos.
2977         * config/picochip/divmodsi4.S: Fix typos.
2978         * config/picochip/longjmp.S: Fix typos.
2979         * config/picochip/lshrsi3.S: Fix typos.
2980         * config/picochip/parityhi2.S: Fix typos.
2981         * config/picochip/popcounthi2.S: Fix typos.
2982         * config/picochip/setjmp.S: Fix typos.
2983         * config/picochip/subdi3.S: Fix typos.
2984         * config/picochip/ucmpsi2.S: Fix typos.
2985         * config/picochip/udivmodhi4.S: Fix typos.
2986         * config/picochip/udivmodsi4.S: Fix typos.
2987         * config/spu/divv2df3.c: Fix typos.
2988         * config/spu/mfc_multi_tag_release.c: Fix typos.
2989         * config/spu/mfc_tag_release.c: Fix typos.
2990         * configure.ac: Fix typos.
2991         * configure: Regenerate.
2993 2012-05-25  Ian Lance Taylor  <iant@google.com>
2995         * config/i386/morestack.S (__morestack_non_split): Check whether
2996         caller is varargs and needs %bp to hold the stack frame on return.
2998 2012-05-25  Olivier Hainque  <hainque@adacore.com>
3000         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3001         sequence in the non pic case on VxWorks.
3003 2012-05-24  Olivier Hainque  <hainque@adacore.com>
3005         * Makefile.in: Move dependency on install-unwind_h from
3006         "install-leaf" to "install".
3008 2012-05-24  Olivier Hainque  <hainque@adacore.com>
3010         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3011         Use a separate command for stamp removals.
3013 2012-05-21  Andrew Pinski  <apinski@cavium.com>
3015         PR bootstrap/53183
3016         * configure.ac: Define the default includes to being none.
3017         * configure: Regenerate.
3019 2012-05-16  Olivier Hainque  <hainque@adacore.com>
3021         * Makefile.in (install-unwind_h): Rename into ...
3022         (install-unwind_h-forbuild): New target.
3023         (all): Use it instead of the former install-unwind_h.
3024         (install-unwind_h): Reinstate, copy to user install destination
3025         for include files, not to the internal gcc object directory one.
3026         (install-leaf): Depend on it.
3028 2012-05-15  Olivier Hainque  <hainque@adacore.com>
3030         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3031         register numbers. LR_REGNO replaces R_LR.
3032         (ucontext_for): New, helper for ...
3033         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3034         and 5.3 of ...
3035         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3037 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3039         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3040         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3041         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3042         i386/t-cpuinfo ...
3043         (i[34567]86-*-*, x86_64-*-*): ... here.
3045         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3046         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3048         * config/i386/i386-cpuinfo.c: Rename to ...
3049         * config/i386/cpuinfo.c: ... this.
3050         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3052         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3053         (libgcc_cv_init_priority): New test.
3054         * configure: Regenerate.
3055         * config.in: New file.
3056         * Makefile.in (clean): Rename config.h to auto-target.h.
3057         (config.h): Likewise.
3058         (stamp-h): Likewise.
3060         * config/i386/cpuinfo.c (auto-target.h): Include.
3061         (CONSTRUCTOR_PRIORITY): Define.
3062         (__cpu_indicator_init): Use it.
3064 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
3066         * longlong.h: Use a URL instead of an FSF postal address.
3067         Replace spaces with tab.
3069 2012-05-08  Teresa Johnson  <tejohnson@google.com>
3071         * libgcov.c (gcov_clear, __gcov_reset): New functions.
3072         (__gcov_dump): Ditto.
3073         (gcov_dump_complete): New global variable.
3074         (gcov_exit): Export hidden to enable use in L_gcov_dump.
3075         (__gcov_flush): Outline functionality now in gcov_clear.
3076         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3078 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
3080         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3081         (mips*-*-linux*): Include mips/t-tpbit when long double is
3082         16 bytes long.
3084 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
3086         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3087         (get_available_features): New argument. Check for AVX2.
3088         (__cpu_indicator_init): Modify call to get_available_features.
3090 2012-04-25  Alan Modra  <amodra@gmail.com>
3092         * config/rs6000/crtsavevr.S: New file.
3093         * config/rs6000/crtrestvr.S: New file.
3094         * config/rs6000/t-savresfgpr: Build the above.
3095         * config/rs6000/t-netbsd: Likewise.
3097 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
3099         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3101 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
3103         * libgcc/config/i386/i386-cpuinfo.c: New file.
3104         * libgcc/config/i386/t-cpuinfo: New file.
3105         * libgcc/config.host: Include t-cpuinfo.
3106         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3108 2012-04-24  Chao-ying Fu  <fu@mips.com>
3110         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3112 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
3114         struct siginfo vs. siginfo_t
3116         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3117         siginfo_t instead of struct siginfo.
3118         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3119         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3120         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3121         (ia64_handle_unwabi): Likewise.
3122         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3123         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3124         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3125         (sh_fallback_frame_state): Likewise.
3126         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3127         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3129 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
3131         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3132         system call number.
3134 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
3136         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3137         if it hasn't been previously saved.
3139 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3141         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3142         only for glibc.
3144 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
3146         PR target/52737
3147         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3148         instead of __AVR_HAVE_8BIT_SP__.
3150 2012-03-26  Tristan Gingold  <gingold@adacore.com>
3152         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3153         (unw_table_entry): Use unw_word instead of unsigned long.
3154         (_Unwind_FindTableEntry): Likewise.
3155         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3156         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3157         (_Unwind_FindTableEntry): Likewise.
3158         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3159         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3160         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3161         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3162         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3163         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3164         (uw_init_context_1, uw_install_context): Likewise.
3165         (unw_word): Move to unwind-ia64.h
3167 2012-03-26  Tristan Gingold  <gingold@adacore.com>
3169         * config/vms/vms-ucrt0.c: Update copyright years.
3170         Add a sanity check.
3171         (___gcc_main_flags): Declare.
3172         (__main): Check flags to remap argv and exit code.
3173         * config.host (*-*-*vms*): Adjust extra_parts.
3174         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3175         (crt0.o): Add.
3177 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
3179         * arm/lib1funcs.asm (ctzsi2): New function.
3180         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3181         * arm/t-linux (LIB1ASMFUNCS): Likewise.
3182         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3183         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3184         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3185         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3187 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
3189         * config.host: Add bits to support powerpc64-*-freebsd*.
3190         * config/rs6000/freebsd-unwind.h: New file.
3191         * config/rs6000/t-freebsd64: New file.
3193 2012-03-20  Richard Guenther  <rguenther@suse.de>
3195         PR gcov-profile/52627
3196         * libgcov.c (init_mx): Fix mutex name.
3198 2012-03-16  Tristan Gingold  <gingold@adacore.com>
3200         * config/ia64/vms-unwind.h: Remove ulong (and replace
3201         it by unw_reg where used).  Define unw_reg with __int64.
3203 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3205         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3206         Solaris 8 handling.
3207         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3208         Solaris 8 handling.
3209         (sparc_is_sighandler): Likewise.
3211 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
3213         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3214         <= saved reg size.
3216 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3218         * config/arm/crtn.S: Fix typo.
3220 2012-03-13  Richard Guenther  <rguenther@suse.de>
3222         * libgcov.c: Remove stdio.h include and NULL un-define.
3224 2012-03-13  Richard Guenther  <rguenther@suse.de>
3226         PR target/52569
3227         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3229 2012-03-13  Richard Guenther  <rguenther@suse.de>
3231         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3233 2012-03-13  Richard Guenther  <rguenther@suse.de>
3235         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3236         and __gthread_mutex_init_function definitions.
3238 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3240         * config.host (mips*-*-openbsd*): Remove.
3242 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3244         * config.host: Remove alpha*-dec-osf5.1* handling.
3245         * config/alpha/gthr-posix.c: Remove.
3246         * config/alpha/libgcc-osf5.ver: Remove.
3247         * config/alpha/osf5-unwind.h: Remove.
3248         * config/alpha/t-osf-pthread: Remove.
3249         * config/alpha/t-slibgcc-osf: Remove.
3250         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3251         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3252         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3253         * mkmap-flat.awk: Remove osf_export handling.
3255 2012-03-12  Richard Guenther  <rguenther@suse.de>
3257         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3258         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3259         (__gthread_mutex_init_function): New function.
3260         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3262         PR gcov/49484
3263         * libgcov.c: Include gthr.h.
3264         (__gcov_flush_mx): New global variable.
3265         (init_mx, init_mx_once): New functions.
3266         (__gcov_flush): Protect self with a mutex.
3267         (__gcov_fork): Re-initialize mutex after forking.
3268         * unwind-dw2-fde.c: Change condition under which to use
3269         __GTHREAD_MUTEX_INIT_FUNCTION.
3271 2012-03-12  Tristan Gingold  <gingold@adacore.com>
3273         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3274         * config/ia64/t-vms: Likewise.
3276 2012-03-11  Michael Hope  <michael.hope@linaro.org>
3278         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3279         for Thumb-2.
3281 2012-03-07  Walter Lee  <walt@tilera.com>
3283         * config/tilepro/atomic.c: Rename "atomic_" prefix to
3284         "arch_atomic_".
3285         (atomic_xor): Rename and move definition to
3286         config/tilepro/atomic.h.
3287         (atomic_nand): Ditto.
3288         * config/tilepro/atomic.h: Rename "atomic_" prefix to
3289         "arch_atomic_".
3290         (arch_atomic_xor): Move from config/tilepro/atomic.c.
3291         (arch_atomic_nand): Ditto.
3293 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3295         PR target/52507
3296         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3298 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3300         PR target/52505
3301         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3302         from RAM.
3304 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3306         PR target/52461
3307         PR target/52508
3308         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3309         if RAMPZ affects reading from RAM.
3310         (__tablejump_elpm__): Ditto.
3311         (.xload): Ditto.
3312         (__movmemx_hi): Ditto.
3313         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3314         (__do_global_dtors): Ditto.
3315         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3316         (__movmemx_hi): Ditto.
3318 2012-03-05  Richard Henderson  <rth@redhat.com>
3320         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3321         [ARM] (count_trailing_zeros): Use the builtin.
3323 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3325         * soft-fp: Imported from glibc upstream.
3327 2012-02-28  Kai Tietz  <ktietz@redhat.com>
3329         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3330         for mingw-targets as attribute gcc_struct.
3332 2012-02-28  Ian Lance Taylor  <iant@google.com>
3334         * generic-morestack.c (__splitstack_releasecontext): Correct call
3335         to __morestack_release_segments.
3337 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3339         PR target/52390
3340         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3341         for __linux__ when removing signals from __morestack_fullmask.
3343 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
3345         PR target/52261
3346         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3348 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3350         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3351         instead of HAVE_INITFINI_ARRAY.
3352         * config/ia64/crtend.S: Likewise.
3354 2012-02-20  Kai Tietz  <ktietz@redhat.com>
3356         PR libstdc++/52300
3357         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3359         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3360         to w32-unwind.h header.
3362 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3364         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3365         (mips*-*-linux*): Remove t-slibgcc-libgcc.
3366         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3367         * config/mips/mips16.S (__mips16_rdhwr): Delete.
3369 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3371         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3373 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3375         PR libitm/52220
3376         * config/darwin-crt-tm.c: Correct typo.
3378 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3379             Patrick Marlier  <patrick.marlier@gmail.com>
3381         PR libitm/52220
3382         * config/darwin-crt-tm.c: Generate dummy functions.
3384 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3385             Patrick Marlier  <patrick.marlier@gmail.com>
3387         PR libitm/52042
3388         * config/darwin-crt-tm.c (getTMCloneTable): New function.
3389         (__doTMRegistrations): Call it.
3390         (__doTMdeRegistrations): Likewise.
3392 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
3393             Anatoly Sokolov <aesok@post.ru>
3394             Eric Weddington <eric.weddington@atmel.com>
3396         PR target/52261
3397         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3398         (__epilogue_restores__): Ditto.
3400 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3402         PR target/51921
3403         PR target/52205
3404         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3405         Solaris 11 and slightly reformat.
3406         (sparc_is_sighandler): Likewise.
3408 2012-02-14  Walter Lee  <walt@tilera.com>
3410         * config.host: Handle tilegx and tilepro.
3411         * config/tilegx/sfp-machine.h: New file.
3412         * config/tilegx/sfp-machine32.h: New file.
3413         * config/tilegx/sfp-machine64.h: New file.
3414         * config/tilegx/t-crtstuff: New file.
3415         * config/tilegx/t-softfp: New file.
3416         * config/tilegx/t-tilegx: New file.
3417         * config/tilepro/atomic.c: New file.
3418         * config/tilepro/atomic.h: New file.
3419         * config/tilepro/linux-unwind.h: New file.
3420         * config/tilepro/sfp-machine.h: New file.
3421         * config/tilepro/softdivide.c: New file.
3422         * config/tilepro/softmpy.S: New file.
3423         * config/tilepro/t-crtstuff: New file.
3424         * config/tilepro/t-tilepro: New file.
3426 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
3428         PR libstdc++/51296
3429         PR libstdc++/51906
3430         * gthr-posix.h: Allow static initializer macros to be disabled.
3431         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3433 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3435         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3436         Add t-slibgcc-libgcc to tmake_file.
3437         * config/mips/libgcc-mips16.ver: Revert previous patch.
3438         * config/mips/mips16.S (__mips16_rdhwr): Hide.
3440 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3441             Jayant R Sonar <jayant.sonar@kpitcummins.com>
3443         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3444         * config/cr16/crti.S: New file.
3445         * config/cr16/crtlibid.S: New file.
3446         * config/cr16/crtn.S: New file.
3447         * config/cr16/lib1funcs.S: New file.
3448         * config/cr16/t-cr16: New file.
3449         * config/cr16/t-crtlibid: New file.
3450         * config/cr16/unwind-dw2.h: New file.
3451         * config/cr16/unwind-cr16.c: New file.
3452         * config/cr16/divmodhi3.c: New file.
3454 2012-01-25  Alan Modra  <amodra@gmail.com>
3456         * config/rs6000/t-linux64: Delete.  Move..
3457         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3458         * config/rs6000/t-linux: ..and libgcc flags to here.
3460 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
3462         * config.host (i[34567]86-*-interix3*):
3463         Change triplet to i[34567]86-*-interix[3-9]*.
3464         * configure: Regenerate.
3466 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
3467             Richard Sandiford  <rdsandiford@googlemail.com>
3469         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3470         * config/mips/mips16.S (__mips16_rdhwr): New function.
3471         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3473 2012-01-11  Nathan Sidwell  <nathan@acm.org>
3475         * libgcov.c (__gcov_init): Ignore objects with no functions.
3477 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
3479         PR target/49868
3480         Extend __pgmx semantics to linearize memory.
3481         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
3482         * config/avr/lib1funcs.S (__xload_1): New function.
3483         (__movmemx_qi, __movmemx_hi): New functions.
3484         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
3485         semantics.
3487 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
3489         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
3490         purported sigacthandler address isn't null before dereferencing it.
3491         (sparc_is_sighandler): Likewise.
3493 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
3495         PR ada/41929
3496         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
3497         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
3498         (sparc_is_sighandler): Likewise.
3499         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
3501 2012-01-06  Tristan Gingold  <gingold@adacore.com>
3503         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
3504         compatibility thunks...
3505         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
3506         (crtbeginS.o, crtendS.o): ... and these to ...
3507         * config/ia64/t-ia64-elf: ... this new file.
3508         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
3509         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
3511 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3513         * configure: Regenerate.
3514         * config/s390/t-crtstuff: Remove -fPIC.
3516 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3518         PR bootstrap/51006
3519         * enable-execute-stack-mprotect.c (getpagesize): Do not define
3520         for NetBSD.
3522 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
3524         PR target/51345
3525         * config/avr/lib1funcs.S: Remove FIXME comments.
3526         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
3528 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
3530         Implement light-weight DImode support.
3531         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
3532         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
3533         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
3534         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
3536 2011-12-30  Nathan Sidwell  <nathan@acm.org>
3538         * libgcov.c (gcov_crc32): Remove global var.
3539         (free_fn_data): New function.
3540         (buffer_fn_data): Pass in filename, more robust error recovery.
3541         (crc32_unsigned): New function.
3542         (gcov_exit): More robust detection of new program. More robust
3543         error recovery.
3544         (__gcov_init): Do not update program's crc here.
3546 2011-12-21  Tristan Gingold  <gingold@adacore.com>
3548         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
3550 2011-12-21  Ian Lance Taylor  <iant@google.com>
3552         * config/i386/morestack.S: Simplify CFI opcodes throughout.
3554 2011-12-20  Ian Lance Taylor  <iant@google.com>
3556         * config/i386/morestack.S (__morestack_non_split): If there is
3557         enough stack space already, don't split.  Ask for more stack space
3558         than we required.
3560 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
3562         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3563         `sys/sdt.h'.
3564         (_Unwind_DebugHook): New function.
3565         (uw_restore_core_regs): New define.
3566         (unwind_phase2): Use uw_restore_core_regs instead of
3567         restore_core_regs.
3568         (unwind_phase2_forced): Likewise.
3569         (__gnu_Unwind_Resume): Likewise.
3571 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
3573         * config/alpha/linux-unwind.h: Update copyright years.
3574         (MD_FROB_UPDATE_CONTEXT): New define.
3575         (alpha_frob_update_context): New function.
3577 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
3579         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3580         tmake_file rather replacing it.
3582 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
3584         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
3585         function is not used for PPC64.
3586         (save_world): Amend comments.  Update the VRsave mask to reflect the
3587         saved regs.
3588         (rest_world): Update comments, do not  clobber r10, do not use r8.
3589         (eh_rest_world_r10): Amend comments, do not use r8.
3590         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
3591         no longer used, move restore of CR and target address to the end of
3592         the routine.
3594 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
3596         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
3597         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
3599 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
3601         PR target/49313
3602         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
3603         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
3605 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
3607         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
3609 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
3611         PR target/49313
3612         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
3613         * config/avr/lib1funcs.S (__muldi3): New function.
3615 2011-12-06  Andrew Pinski  <apinski@cavium.com>
3617         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
3618         size of func_ptr.
3619         (__frame_dummy_init_array_entry): Likewise.
3621 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
3623         Forward-port from gcc-4_6-branch r181936 2011-12-02.
3625         PR target/51345
3626         PR target/51002
3627         * config/avr/lib1funcs.S (__prologue_saves__,
3628         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3629         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
3631 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
3633         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3635 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3637         PR other/51272
3638         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3639         (_ITM_deregisterTMCloneTable): Likewise.
3640         (__register_frame_info): Fix unused warning.
3641         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3642         pthread_default_stacksize_np): Likewise.
3643         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
3645 2011-11-29  DJ Delorie  <dj@redhat.com>
3647         * config.host (rl78-*-elf): New case.
3648         * config/rl78: New directory for the Renesas RL78.
3650 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
3652         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
3653         formatting.
3655 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3657         PR other/51022
3658         * config/rs6000/t-savresfgpr: New file.
3659         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3660         $(srcdir)/config/rs6000/eabi.S.
3661         * config/rs6000/t-ppccomm-ldbl: Remove.
3662         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3663         tmake_file.
3664         (powerpc-*-eabispe*): Likewise.
3665         (powerpc-*-eabi*): Likewise.
3666         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3667         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3668         to tmake_file, remove rs6000/t-ppccomm-ldbl.
3669         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3670         tmake_file.
3671         (powerpc-*-eabisim*): Likewise.
3672         (powerpc-*-elf*): Likewise.
3673         (powerpc-*-eabialtivec*): Likewise.
3674         (powerpc-xilinx-eabi*): Likewise.
3675         (powerpc-*-rtems*): Likewise.
3676         (powerpcle-*-elf*): Likewise.
3677         (powerpcle-*-eabisim*): Likewise.
3678         (powerpcle-*-eabi*): Likewise.
3680 2011-11-27  Ian Lance Taylor  <iant@google.com>
3682         * generic-morestack.c (__splitstack_find): Check for NULL old
3683         stack value.
3684         (__splitstack_resetcontext): New function.
3685         (__splitstack_releasecontext): New function.
3686         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3688 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
3690         * config/darwin-crt-tm.c: Correct comments, use correct licence.
3692 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
3694         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3696 2011-11-26  Richard Henderson  <rth@redhat.com>
3698         * config/m68k/linux-atomic.c: New file.
3699         * config/m68k/t-linux: New file.
3700         * config.host (m68k-uclinux, m68k-linux): Use it.
3702 2011-11-26  Richard Henderson  <rth@redhat.com>
3704         * crtstuff.c (__TMC_LIST__): Mark used not unused.
3705         (__TMC_END__): Only declare if hidden is available; in the definition,
3706         if hidden is unavailable add a null record.
3707         (deregister_tm_clones, register_tm_clones): New.
3708         (__do_global_dtors_aux, frame_dummy): Use them.
3709         (__do_global_dtors, __do_global_ctors_1): Likewise.
3711 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
3713         * config/darwin-crt-tm.c: New file.
3714         * config.host (darwin): Build crttms.o crttme.o to provide
3715         startup and shutdown for tm clones.
3716         * config/t-darwin (crttms.o): New build rule.
3717         (crttme.o): Likewise.
3719 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
3721         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3722         et al.
3724 2011-11-21  Richard Henderson  <rth@redhat.com>
3726         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3727         (__TMC_LIST__, __TMC_END__): New.
3728         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3729         (__do_global_dtors): Likewise.
3730         (frame_dummy): Call _ITM_registerTMCloneTable.
3731         (__do_global_ctors_1): Likewise.
3733 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3735         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3736         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3737         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3738         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3739         * config/i386/t-darwin64: Remove.
3740         * config/sh/t-netbsd (LIB2ADD): Remove.
3742 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
3744         PR target/49313
3745         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3746         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3747         * config/avr/lib1funcs.S (wmov): New assembler macro.
3748         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3749         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3750         (__udivmod64): New function.
3751         (__negdi2): New function.
3753 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
3755         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3756         *-*-freebsd*aout*): Remove.
3758 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
3760         * static-object.mk (c_flags-$o): Save c_flags.
3761         ($(base)$(objext)): Use it.
3763 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
3765         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3767 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
3769         PR target/49868
3770         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3771         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3772         New functions.
3774 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
3776         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
3777         functions.
3778         (aeabi_uidivmod): Likewise.
3779         (umodsi3): Likewise.
3780         (divsi3): Likewise.
3781         (aeabi_idivmod): Likewise.
3782         (modsi3): Likewise.
3784 2011-11-16  Tristan Gingold  <gingold@adacore.com>
3786         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
3788 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
3790         PR target/49868
3791         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
3792         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
3794 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3796         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
3797         tmake_file list.
3798         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
3799         * config/pa/t-stublib64: Delete.
3801 2011-11-12  Richard Henderson  <rth@redhat.com>
3803         * config/rs6000/linux-unwind.h (frob_update_context): Properly
3804         cast the pointer argument to _Unwind_SetGRPtr.
3806 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3808         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
3810 2011-11-09  Ian Lance Taylor  <iant@google.com>
3812         * generic-morestack.c: Include <string.h>.
3813         (uintptr_type): Define.
3814         (struct initial_sp): Add dont_block_signals field.  Reduce size of
3815         extra array by 1.
3816         (allocate_segment): Set prev field to NULL.  Don't set
3817         __morestack_current_segment or __morestack_segments.
3818         (__generic_morestack): Update current->prev and *pp after calling
3819         allocate_segment.
3820         (__morestack_block_signals): Don't do anything if
3821         dont_block_signals is set.
3822         (__morestack_unblock_signals): Likewise.
3823         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
3824         uintptr_type.
3825         (__splitstack_block_signals): New function.
3826         (enum __splitstack_content_offsets): Define.
3827         (__splitstack_getcontext, __splitstack_setcontext): New functions.
3828         (__splitstack_makecontext): New function.
3829         (__splitstack_block_signals_context): New function.
3830         (__splitstack_find_context): New function.
3831         * config/i386/morestack.S (__morestack_get_guard): New function.
3832         (__morestack_set_guard, __morestack_make_guard): New functions.
3833         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3835 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3837         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
3838         (i[34567]86-*-mingw*): ... here.
3839         (x86_64-*-mingw*): ... here.
3841 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3843         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
3845 2011-11-07  Nathan Sidwell  <nathan@acm.org>
3847         * libgcov.c (struct gcov_fn_buffer): New struct.
3848         (buffer_fn_data): New helper.
3849         (gcov_exit): Rework for new gcov data structures.
3851 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
3853         PR target/49313
3854         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
3856 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3858         * config.host (tmake_file): Correct comment.
3859         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
3860         t-libgcc-pic.
3861         (bfin*-uclinux*): Likewise.
3862         (bfin*-linux-uclibc*): Likewise.
3863         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
3865         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
3866         assigning.
3867         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3868         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
3869         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3870         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
3871         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3872         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
3873         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
3874         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3875         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
3876         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
3877         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
3878         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
3879         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
3881         * config/bfin/t-elf: Remove.
3882         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
3884 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3886         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
3887         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
3888         (lm32-*-elf*, lm32-*-rtems*): Split into ...
3889         (lm32-*-elf*): ... this.
3890         (lm32-*-rtems*): ... and this.
3891         Add to tmake_file.
3892         (m32r-*-rtems*): Add to tmake_file.
3893         (moxie-*-rtems*): Likewise.
3894         (sparc-*-rtems*): Likewise.
3895         Remove t-rtems from tmake_file.
3896         (sparc64-*-rtems*): Likewise.
3897         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3898         instead.
3900 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3902         PR bootstrap/50982
3903         * config/gthr-posix.h: Move ...
3904         * gthr-posix.h: ... here.
3905         * config/gthr-lynx.h: Reflect this.
3906         * config/gthr-vxworks.h: Likewise.
3907         * config/rs6000/gthr-aix.h: Likewise.
3908         * configure.ac (target_thread_file): Likewise.
3909         * configure: Regenerate.
3911 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3913         * config.host (arm*-*-rtemseabi*): New target.
3915 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3917         PR other/50991
3918         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3919         extra-parts.
3921 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
3923         * config.host (epiphany-*-elf*): New configuration.
3924         * config/epiphany: New Directory.
3926 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
3928         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3929         * config/avr/t-rtems: New.
3930         Filter out _exit from LIB1ASMFUNCS.
3932 2011-11-04  David S. Miller  <davem@davemloft.net>
3934         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3935         * configure: Rebuild.
3937 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3939         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3940         variable.
3942 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
3944         PR target/50931
3945         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3946         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3948 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
3950         PR target/50989
3951         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3953 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3955         * config/c6x/t-elf (LIB2ADDEH): Set.
3956         * config/c6x/t-c6x-elf: Remove.
3958 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3960         * config/i386/sol2-ci.S: Rename to ...
3961         * config/i386/crti.S: ... this.
3962         * config/i386/sol2-cn.S: Rename to ...
3963         * config/i386/crtn.S: ... this.
3964         * config/sparc/sol2-ci.S: Rename to ...
3965         * config/sparc/crti.S: ... this.
3966         * config/sparc/sol2-cn.S: Rename to ...
3967         * config/sparc/crtn.S: ... this.
3968         * config/t-sol2 (CUSTOM_CRTIN): Remove.
3969         (crti.o, crtn.o): Remove.
3971 2011-11-04  Tristan Gingold  <gingold@adacore.com>
3973         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3975 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3977         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3979 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
3981         * config.host (crisv32-*-none, cris-*-none): Remove.
3982         (crisv32-*-elf): Append to tmake_file, don't just set it.
3983         (cris-*-elf): Add missing t-fdpbit to tmake_file.
3985 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3987         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3988         (ecrtn$(objext)): Likewise.
3989         (ncrti$(objext)): Likewise.
3990         (ncrtn$(objext)): Likewise.
3992 2011-11-03  Andreas Schwab  <schwab@redhat.com>
3994         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3996 2011-11-02  David S. Miller  <davem@davemloft.net>
3998         * configure.ac: Set host_address on sparc too.
3999         * configure: Regenerate.
4000         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4001         based upon host_address.
4002         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4004 2011-11-02  Jason Merrill  <jason@redhat.com>
4006         * config/rs6000/t-ppccomm: Add missing \.
4008 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4010         * gthr-single.h, gthr.h: New files.
4011         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4012         config/gthr-vxworks.h, config/i386/gthr-win32.h,
4013         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4014         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4015         * config/i386/gthr-win32.c: Include "gthr-win32.h".
4016         * configure.ac (thread_header): New variable.
4017         Set it depending on target_thread_file.
4018         (gthr-default.h): Link from $thread_header.
4019         * configure: Regenerate.
4020         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4022 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4024         * configure.ac (tm_file_): New variable.
4025         Determine from tm_file.
4026         (tm_file, tm_defines): Substitute.
4027         * configure: Regenerate.
4028         * mkheader.sh: New file.
4029         * Makefile.in (clean): Remove libgcc_tm.h.
4030         ($(objects)): Depend on libgcc_tm.h.
4031         (libgcc_tm_defines, libgcc_tm_file): New variables.
4032         (libgcc_tm.h, libgcc_tm.stamp): New targets.
4033         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4034         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4035         ($(extra-parts)): Depend on libgcc_tm.h.
4036         * config.host (tm_defines, tm_file): New variable.
4037         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4038         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4039         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4040         (avr-*-rtems*): Likewise.
4041         (avr-*-*): Likewise.
4042         (frv-*-elf): Likewise.
4043         (frv-*-*linux*): Likewise.
4044         (h8300-*-rtems*): Likewise.
4045         (h8300-*-elf*): Likewise.
4046         (i[34567]86-*-darwin*): Likewise.
4047         (x86_64-*-darwin*): Likewise.
4048         (rx-*-elf): Likewise.
4049         (tic6x-*-uclinux): Likewise.
4050         (tic6x-*-elf): Likewise.
4051         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4052         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4053         * config/i386/cygming-crtbegin.c: Likewise.
4054         * config/i386/cygming-crtend.c: Likewise.
4055         * config/ia64/fde-vms.c: Likewise.
4056         * config/ia64/unwind-ia64.c: Likewise.
4057         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4058         * config/rs6000/darwin-fallback.c: Likewise.
4059         * config/stormy16/lib2funcs.c: Likewise.
4060         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4061         * crtstuff.c: Likewise.
4062         * dfp-bit.h: Likewise.
4063         * emutls.c: Likewise.
4064         * fixed-bit.c: Likewise.
4065         * fp-bit.c: Likewise.
4066         * generic-morestack-thread.c: Likewise.
4067         * generic-morestack.c: Likewise.
4068         * libgcc2.c: Likewise.
4069         * libgcov.c: Likewise.
4070         * unwind-dw2-fde-dip.c: Likewise.
4071         * unwind-dw2-fde.c: Likewise.
4072         * unwind-dw2.c: Likewise.
4073         * unwind-sjlj.c: Likewise.
4075 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4077         * configure.ac: Include ../config/picflag.m4.
4078         (GCC_PICFLAG): Call it.
4079         Substitute.
4080         * configure: Regenerate.
4081         * Makefile.in (gcc_srcdir): Remove.
4082         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4083         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4084         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4085         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4086         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4087         Use $<.
4088         Remove comment.
4089         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4090         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4091         to refer to libgcc2.c.
4092         Use $<.
4093         * config/darwin-64.c: New file.
4094         * config/darwin-crt3.c: Remove comment.
4095         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4096         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4097         config/udivmodsi4.c: New files.
4098         * config/memcmp.c, config/memcpy.c, config/memmove.c,
4099         config/memset.c: New files.
4100         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4101         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4102         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4103         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4104         * config/t-openbsd-thread: New file.
4105         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4106         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4107         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4108         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4109         qrnnd.S.
4110         Adapt filename.
4111         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4112         to refer to gthr-posix.c.
4113         * config/alpha/t-vms (LIB2ADD): Set.
4114         * config/alpha/vms-gcc_shell_handler.c: New file.
4115         * config/arm/bpabi.c, config/arm/fp16.c,
4116         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4117         config/arm/unaligned-funcs.c: New files.
4118         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4119         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4120         * config/arm/t-linux: Likewise.
4121         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4122         * config/arm/t-netbsd: New file.
4123         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4124         * config/arm/t-symbian (LIB2ADD_ST): Set.
4125         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4126         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4127         * config/bfin/t-elf: New file.
4128         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4129         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4130         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4131         config/c6x/ltf.c: New files.
4132         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4133         (HOST_LIBGCC2_CFLAGS): Set.
4134         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4135         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4136         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4137         New files.
4138         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4139         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4140         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4141         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4142         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4143         files.
4144         * config/frv/t-frv (LIB2ADD): Set.
4145         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4146         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4147         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4148         config/h8300/popcounthi2.c: New files.
4149         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4150         * config/i386/gthr-win32.c: New file.
4151         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4152         * config/i386/t-cygwin: Likewise.
4153         * config/i386/t-darwin, config/i386/t-darwin64,
4154         config/i386/t-gthr-win32, config/i386/t-interix: New files.
4155         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4156         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4157         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4158         * config/ia64/quadlib.c: New file.
4159         * config/ia64/t-hpux (LIB2ADD): Set.
4160         * config/ia64/t-ia64: Add comment.
4161         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4162         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4163         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4164         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4165         * config/m32c/t-m32c (LIB2ADD): Set.
4166         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4167         * config/m32r/t-m32r: Likewise.
4168         * config/m68k/fpgnulib.c: New file.
4169         * config/m68k/t-floatlib (LIB2ADD): Set.
4170         (xfgnulib.c): New target.
4171         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4172         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4173         * config/mep/t-mep (LIB2ADD): Set.
4174         * config/microblaze/divsi3.asm: Rename to divsi3.S.
4175         * config/microblaze/moddi3.asm: Rename to moddi3.S.
4176         * config/microblaze/modsi3.asm: Rename to modsi3.S.
4177         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4178         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4179         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4180         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4181         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4182         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4183         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4184         New files.
4185         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4186         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4187         * config/pa/fptr.c, config/pa/lib2funcs.S,
4188         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4189         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4190         (LIB2ADD, LIB2ADD_ST): Set.
4191         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4192         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4193         Set.
4194         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4195         * config/pdp11/t-pdp11: New file.
4196         * config/picochip/libgccExtras/adddi3.S,
4197         config/picochip/libgccExtras/ashlsi3.S,
4198         config/picochip/libgccExtras/ashrsi3.S,
4199         config/picochip/libgccExtras/clzsi2.S,
4200         config/picochip/libgccExtras/cmpsi2.S,
4201         config/picochip/libgccExtras/divmod15.S,
4202         config/picochip/libgccExtras/divmodhi4.S,
4203         config/picochip/libgccExtras/divmodsi4.S,
4204         config/picochip/libgccExtras/lshrsi3.S,
4205         config/picochip/libgccExtras/parityhi2.S,
4206         config/picochip/libgccExtras/popcounthi2.S,
4207         config/picochip/libgccExtras/subdi3.S,
4208         config/picochip/libgccExtras/ucmpsi2.S,
4209         config/picochip/libgccExtras/udivmodhi4.S,
4210         config/picochip/libgccExtras/udivmodsi4.S: New files.
4211         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4212         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4213         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4214         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4215         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4216         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4217         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
4218         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4219         files.
4220         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4221         (HOST_LIBGCC2_CFLAGS): Set.
4222         * config/rs6000/t-darwin64: New file.
4223         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4224         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4225         * config/rs6000/t-ppccomm (LIB2ADD): Add
4226         $(srcdir)/config/rs6000/tramp.S.
4227         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4228         Add  $(srcdir)/config/rs6000/eabi.S.
4229         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4230         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4231         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4232         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4233         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4234         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4235         * config/rs6000/tramp.S: New file.
4236         * config/s390/t-tpf: Remove.
4237         * config/sh/linux-atomic.S: New file.
4238         * config/sh/t-linux (LIB2ADD): Set.
4239         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4240         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4241         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4242         to unwind-dw2.c.
4243         (HOST_LIBGCC2_CFLAGS): Set.
4244         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4245         * config/spu/divmodti4.c, config/spu/divv2df3.c,
4246         config/spu/float_disf.c, config/spu/float_unsdidf.c,
4247         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4248         config/spu/mfc_multi_tag_release.c,
4249         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4250         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4251         config/spu/multi3.c: New files.
4252         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4253         (HOST_LIBGCC2_CFLAGS): Set.
4254         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4255         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4256         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4257         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4258         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4259         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4260         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4261         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4262         config/stormy16/umodsi3.c: New files.
4263         * config/xtensa/lib2funcs.S: New file.
4264         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4265         * config/xtensa/t-xtensa (LIB2ADD): Set.
4266         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4267         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4268         Add t-freebsd-thread to tmake_file for posix threads.
4269         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4270         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4271         (*-*-lynxos*): Likewise.
4272         (*-*-netbsd*): Likewise.
4273         (*-*-openbsd*): Likewise.
4274         Add t-openbsd-thread to tmake_file for posix threads.
4275         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4276         (*-*-vxworks*): Set tmake_file.
4277         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4278         (alpha*-*-freebsd*): Likewise.
4279         (alpha*-*-netbsd*): Likewise.
4280         (alpha*-*-openbsd*): Likewise.
4281         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4282         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4283         (alpha*-dec-*vms*): Likewise.
4284         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4285         (bfin*-elf*): Add bfin/t-elf to tmake_file.
4286         (bfin*-uclinux*): Likewise.
4287         (bfin*-linux-uclibc*): Likewise.
4288         (crisv32-*-elf): Add cris/t-cris to tmake_file.
4289         (crisv32-*-none): Likewise.
4290         (cris-*-elf): Likewise.
4291         (cris-*-none): Likewise.
4292         (cris-*-linux*, crisv32-*-linux*): Likewise.
4293         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4294         tmake_file.
4295         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4296         tmake_file.
4297         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4298         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4299         (x86_64-*-elf*): Likewise.
4300         (i[34567]86-*-nto-qnx*): Likewise.
4301         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4302         win32 threads.
4303         (x86_64-*-mingw*): Likewise.
4304         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4305         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4306         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4307         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4308         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4309         tmake_file.
4310         (mipsisa64sr71k-*-elf*): Likewise.
4311         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4312         (mips-*-elf*, mipsel-*-elf*): Likewise.
4313         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4314         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4315         (mips*-*-rtems*): Likewise.
4316         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4317         to tmake_file.
4318         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4319         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4320         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4321         (spu-*-elf*): Likewise.
4322         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4324 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4326         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4327         $(srcdir) to refer to $(LIB1ASMSRC).
4328         Use $<.
4329         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4330         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4331         config/arm/lib1funcs.S: New files.
4332         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4333         * config/arm/t-arm: New file.
4334         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4335         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4336         config/arm/t-strongarm-elf: New files.
4337         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4338         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4339         * config/avr/lib1funcs.S: New file.
4340         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4341         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4342         * config/c6x/lib1funcs.S: New file.
4343         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4344         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4345         * config/frv/lib1funcs.S: New file.
4346         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4347         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4348         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4349         * config/ia64/__divxf3.asm: Rename to ...
4350         * config/ia64/__divxf3.S: ... this.
4351         Adapt lib1funcs.asm filename.
4352         * config/ia64/_fixtfdi.asm: Rename to ...
4353         * config/ia64/_fixtfdi.S: ... this.
4354         Adapt lib1funcs.asm filename.
4355         * config/ia64/_fixunstfdi.asm: Rename to ...
4356         * config/ia64/_fixunstfdi.S: ... this.
4357         Adapt lib1funcs.asm filename.
4358         * config/ia64/_floatditf.asm: Rename to ...
4359         * config/ia64/_floatditf.S: ... this.
4360         Adapt lib1funcs.asm filename.
4361         * config/ia64/lib1funcs.S: New file.
4362         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4363         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4364         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4365         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4366         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4367         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4368         * config/mep/lib1funcs.S: New file.
4369         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4370         * config/mips/mips16.S: New file.
4371         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4372         * config/pa/milli64.S: New file.
4373         * config/pa/t-linux, config/pa/t-linux64: New files.
4374         * config/picochip/lib1funcs.S: New file.
4375         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4376         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4377         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4378         * config/sh/t-netbsd: New file.
4379         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4380         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4381         * config/sh/t-sh64: New file.
4382         * config/sparc/lb1spc.S: New file.
4383         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4384         filename.
4385         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4386         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4387         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4388         config/xtensa/lib1funcs.S: New files.
4389         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4390         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4391         tmake_file.
4392         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4393         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4394         (arm*-*-linux*): Likewise.
4395         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4396         arm*-*-linux-*eabi, add arm/t-linux otherwise.
4397         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4398         (arm*-*-ecos-elf): Likewise.
4399         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4400         (arm*-*-rtems*): Likewise.
4401         (arm*-*-elf): Likewise.
4402         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4403         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4404         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4405         (bfin*-uclinux*): Likewise.
4406         (bfin*-linux-uclibc*): Likewise.
4407         (bfin*-rtems*): Likewise.
4408         (bfin*-*): Likewise.
4409         (fido-*-elf): Merge into m68k-*-elf*.
4410         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4411         (frv-*-*linux*): Add frv/t-frv to tmake_file.
4412         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4413         (h8300-*-elf*): Likewise.
4414         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4415         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4416         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4417         (i[34567]86-*-mingw*): Likewise.
4418         (x86_64-*-mingw*): Likewise.
4419         (i[34567]86-*-interix3*): Likewise.
4420         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4421         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4422         (m68k-*-elf*): Also handle fido-*-elf.
4423         Add m68k/t-floatlib to tmake_file.
4424         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4425         (m68k-*-linux*): Likewise.
4426         (m68k-*-rtems*): Likewise.
4427         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4428         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4429         sh64*-*-*.
4430         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4431         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4432         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4433         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4434         sh/t-netbsd to tmake_file.
4435         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4436         (sh-*-rtems*): Add sh/t-sh to tmake_file.
4437         (sh-wrs-vxworks): Likewise.
4438         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4439         *-leon[3-9]*.
4440         (v850*-*-*): Add v850/t-v850 to tmake_file.
4441         (vax-*-linux*): Add vax/t-linux to tmake_file.
4442         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4444 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4446         * crtstuff.c: New file.
4447         * Makefile.in (CRTSTUFF_CFLAGS): Define.
4448         (CRTSTUFF_T_CFLAGS): Define.
4449         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4450         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4451         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4452         crtstuff.c.
4453         Use $<.
4454         (crtbeginT.o): Use $(objext).
4455         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4456         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4457         (gcc-extra-parts): Remove.
4458         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4459         Set extra_parts.
4460         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4461         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4462         Add t-crtstuff-pic to tmake_file.
4463         (*-*-lynxos*): New case.
4464         Set tmake_file, extra_parts.
4465         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4466         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4467         *-*-netbsdelf[2-9]*.
4468         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4469         (*-*-rtems*): Set extra_parts.
4470         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4471         (*-*-uclinux*): New case.
4472         Set extra_parts.
4473         (*-*-vms*): New case.
4474         Set tmake_file, extra_parts.
4475         (*-*-elf): Set extra_parts.
4476         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4477         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4478         vms/t-vms64.
4479         Set extra_parts.
4480         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
4481         Set extra_parts.
4482         (arm*-*-freebsd*): Add t-crtin to tmake_file.
4483         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
4484         (arm-wrs-vxworks): Append to tmake_file.
4485         Set extra_parts.
4486         (arm*-*-uclinux*): Set extra_parts.
4487         (arm*-*-ecos-elf): Likewise.
4488         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
4489         arm*-*-eabi*.
4490         (arm*-*-rtems*): Set extra_parts.
4491         (arm*-*-elf): Likewise.
4492         (avr-*-rtems*): Clear extra_parts.
4493         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
4494         Set extra_parts.
4495         (bfin*-uclinux*): Likewise.
4496         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
4497         (bfin*-rtems*): Append to tmake_file.
4498         Set extra_parts.
4499         (bfin*-*): Likewise.
4500         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
4501         (crisv32-*-elf): ... this.
4502         (crisv32-*-none): ... this.
4503         (cris-*-elf, cris-*-none): New cases.
4504         Add cris/t-elfmulti to tmake_file.
4505         (fr30-*-elf): Append to tmake_file.
4506         Set extra_parts.
4507         (frv-*-elf): Append to tmake_file, add frv/t-frv.
4508         Set extra_parts.
4509         (h8300-*-rtems*): Append to tmake_file.
4510         Set extra_parts.
4511         (h8300-*-elf*): Likewise.
4512         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
4513         Set extra_parts.
4514         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
4515         Set extra_parts.
4516         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
4517         (x86_64-*-elf*): Likewise.
4518         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
4519         (x86_64-*-freebsd*): Likewise.
4520         (x86_64-*-netbsd*): Likewise.
4521         (i[34567]86-*-linux*): Likewise.
4522         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4523         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4524         (x86_64-*-linux*): Likewise.
4525         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4526         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
4527         tmake_file.
4528         Set extra_parts.
4529         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
4530         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
4531         Append to extra_parts, remove crtbegin.o, crtend.o.
4532         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
4533         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
4534         crtend.o, crtbeginS.o, crtendS.o.
4535         (ia64*-*-linux*): Comment extra_parts.
4536         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
4537         Set extra_parts.
4538         (iq2000*-*-elf*): Clear extra_parts.
4539         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
4540         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
4541         (m32r-*-elf*, m32r-*-rtems*): Split off ...
4542         (m32r-*-rtems*): ... this.
4543         Add m32r/t-m32r to tmake_file.
4544         (m68k-*-elf*): Add t-crtin to tmake_file.
4545         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
4546         (mcore-*-elf): Likewise.
4547         (microblaze*-*-*): Set extra_parts.
4548         (mips*-sde-elf*): New case.
4549         Set tmake_file, extra_parts.
4550         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4551         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4552         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
4553         tmake_file.
4554         Set extra_parts.
4555         (mipsisa64sr71k-*-elf*): Likewise.
4556         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4557         (mips-*-elf*, mipsel-*-elf*): Likewise.
4558         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4559         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4560         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
4561         (mips*-*-rtems*): Likewise.
4562         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4563         (moxie-*-*): Split into ...
4564         (moxie-*-elf, moxie-*-uclinux*): ... this.
4565         Add to extra_parts, remove crtbegin.o, crtend.o.
4566         (moxie-*-rtems*): New case.
4567         Set tmake_file.
4568         Clear extra_parts.
4569         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4570         Set extra_parts.
4571         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4572         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4573         tmake_file.
4574         Set extra_parts.
4575         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4576         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4577         Set extra_parts.
4578         (powerpc-*-eabisim*): Likewise.
4579         (powerpc-*-elf*): Likewise.
4580         (powerpc-*-eabialtivec*): Likewise.
4581         (powerpc-xilinx-eabi*): Likewise.
4582         (powerpc-*-eabi*): Likewise.
4583         (powerpc-*-rtems*): Likewise.
4584         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4585         tmake_file.
4586         Set extra_parts.
4587         (powerpc-*-lynxos*): Add to tmake_file.
4588         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
4589         rs6000/t-crtstuff, t-crtstuff-pic.
4590         Set extra_parts.
4591         (powerpcle-*-eabisim*): Likewise.
4592         (powerpcle-*-eabi*): Likewise.
4593         (rx-*-elf): Remove extra_parts.
4594         (s390x-ibm-tpf*): Set extra_parts.
4595         (score-*-elf): Set extra_parts.
4596         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4597         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4598         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4599         (sh64l*-*-netbsd*): Split into ...
4600         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
4601         Add t-crtstuff-pic to tmake_file.
4602         Set extra_parts.
4603         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
4604         Set extra_parts.
4605         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
4606         (sparc-*-elf*): Remove t-crtin from tmake_file.
4607         Add to extra_parts, remove crtbegin.o, crtend.o.
4608         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
4609         (sparc64-*-linux*): Likewise.
4610         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
4611         Add to extra_parts, remove crtbegin.o, crtend.o.
4612         (sparc64-*-elf*): Remove t-crtin from tmake_file.
4613         Add to extra_parts, remove crtbegin.o, crtend.o.
4614         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
4615         Add to extra_parts, remove crtbegin.o, crtend.o.
4616         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
4617         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
4618         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
4619         Set extra_parts.
4620         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4621         Set extra_parts.
4622         (tic6x-*-*): Change to ...
4623         (tic6x-*-elf): ... this.
4624         Set extra_parts.
4625         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4626         Set extra_parts.
4627         (am33_2.0-*-linux*): Add comment.
4628         (mep*-*-*): Add mep/t-mep to tmake_file.
4629         Set extra_parts.
4630         * config/alpha/t-vms: New file.
4631         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4632         * config/arm/crti.S, config/arm/crtn.S: New files.
4633         * config/bfin/crti.S, config/bfin/crtn.S: New files.
4634         * config/bfin/crtlibid.S: New file.
4635         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4636         * config/c6x/crti.S, config/c6x/crtn.S: New files.
4637         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4638         (crti.o, crtin.o): New rules.
4639         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4640         * config/c6x/t-uclinux: New file.
4641         * config/cris/t-elfmulti: New file.
4642         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4643         * config/fr30/crti.S, config/fr30/crtn.S: New files.
4644         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4645         * config/frv/t-frv: New file.
4646         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4647         * config/h8300/crti.S, config/h8300/crtn.S: New files.
4648         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4649         New files.
4650         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4651         refer to cygming-crtbegin.c, cygming-crtend.c.
4652         Use $<.
4653         * config/i386/t-nto: New file.
4654         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4655         * config/ia64/crti.S, config/ia64/crtn.S: New files.
4656         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4657         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4658         Use .S extension.
4659         Use $<.
4660         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4661         (crtinitS.o): New rule.
4662         * config/ia64/vms-crtinit.S: New file.
4663         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4664         * config/m32r/initfini.c: New file.
4665         * config/m32r/t-linux, config/m32r/t-m32r: New files.
4666         * config/m68k/crti.S, config/m68k/crtn.S: New files.
4667         * config/mcore/crti.S, config/mcore/crtn.S: New files.
4668         * config/mep/t-mep: New file.
4669         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4670         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4671         * config/mips/crti.S, config/mips/crtn.S: New files.
4672         * config/mips/t-crtstuff: New file.
4673         * config/mmix/crti.S, config/mmix/crtn.S: New files.
4674         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4675         (CUSTOM_CRTIN): Set.
4676         ($(T)crti.o, $(T)crtn.o): Remove $(T),
4677         dependencies.
4678         Use $(srcdir) to refer to crti.S, crtn.S.
4679         Use .S extension, $<.
4680         * config/moxie/crti.asm: Rename to ...
4681         * config/moxie/crti.S: ... this.
4682         * config/moxie/crtn.asm: Rename to ...
4683         * config/moxie/crtn.S: ... this.
4684         * config/moxie/t-moxie: Remove.
4685         * config/pa/stublib.c: New file.
4686         * config/pa/t-stublib, config/pa/t-stublib64: New files.
4687         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4688         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4689         * config/rs6000/t-crtstuff: New file.
4690         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4691         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4692         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4693         Make output file explicit.
4694         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4695         Make output file explicit.
4696         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4697         Make output file explicit.
4698         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4699         Make output file explicit.
4700         * config/score/crti.S, config/score/crtn.S: New files.
4701         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4702         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4703         files.
4704         * config/sh/t-sh, config/sh/t-superh: New files.
4705         * config/sparc/t-linux64: New file.
4706         * config/spu/cache.S, config/spu/cachemgr.c: New files.
4707         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4708         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4709         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4710         * config/t-crtin: Remove.
4711         * config/t-crtstuff-pic: New file.
4712         * config/t-sol2 (CUSTOM_CRTIN): Set.
4713         (crti.o, crtn.o): New rules.
4714         * config/vms/t-vms: New file.
4715         * config/vms/vms-ucrt0.c: New file.
4716         * config/xtensa/t-elf: New file.
4718 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4720         * Makefile.in (SHLIB_NM_FLAGS): Set.
4721         * mkmap-flat.awk, mkmap-symver.awk: New files.
4722         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4723         exceptions.
4724         * configure: Regenerate.
4725         * config/libgcc-glibc.ver: New file.
4726         * config/libgcc-libsystem.ver: New file.
4727         * config/t-libunwind (SHLIB_LC): Set.
4728         * config/t-linux: New file.
4729         * config/t-slibgcc (INSTALL_SHLIB): New.
4730         (SHLIB_INSTALL): Use it.
4731         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4732         to mkmap-symver.awk.
4733         (SHLIB_MAPFILES): Don't append, adapt pathname.
4734         (SHLIB_VERPFX): Set.
4735         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4736         to mkmap-symver.awk.
4737         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4738         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4739         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4740         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4741         to mkmap-flat.awk.
4742         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4743         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4744         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4745         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4746         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4747         * config/i386/libgcc-darwin.10.4.ver,
4748         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4749         New files.
4750         * config/i386/t-darwin: Remove.
4751         * config/i386/t-darwin64: Likewise.
4752         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4753         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4754         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4755         * config/i386/t-linux: New file.
4756         * config/i386/t-mingw32: New file.
4757         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4758         * config/ia64/t-glibc: Rename to ...
4759         * config/ia64/t-linux: ... this.
4760         (SHLIB_MAPFILES): Set.
4761         * config/ia64/t-glibc-libunwind: Rename to ...
4762         * config/ia64/t-linux-libunwind: ... this.
4763         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4764         * config/ia64/t-slibgcc-hpux: New file.
4765         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4766         * config/m68k/t-slibgcc-elf-ver: New file.
4767         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4768         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4769         to mkmap-flat.awk.
4770         * config/pa/t-slibgcc-hpux: New file.
4771         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4772         files.
4773         * config/rs6000/libgcc-darwin.10.4.ver,
4774         config/rs6000/libgcc-darwin.10.5.ver: New files.
4775         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
4776         config/rs6000/libgcc-glibc.ver.
4777         * config/rs6000/libgcc-ppc64.ver: Rename to
4778         config/rs6000/libgcc-ibm-ldouble.ver.
4779         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
4780         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
4781         * config/rs6000/t-ldbl128: Rename to ...
4782         * config/rs6000/t-linux: ... this.
4783         (SHLIB_MAPFILES): Adapt filename.
4784         * config/rs6000/t-slibgcc-aix: New file.
4785         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
4786         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
4787         libgcc-excl.ver, libgcc-glibc.ver.
4788         (SHLIB_LINK, SHLIB_INSTALL): Remove.
4789         * config/sparc/libgcc-glibc.ver: New file.
4790         * config/sparc/t-linux: New file.
4791         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
4792         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
4793         t-slibgcc-elf-ver to tmake_file.
4794         Add t-slibgcc-nolc-override to tmake_file for posix threads on
4795         *-*-freebsd[34].
4796         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4797         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
4798         t-slibgcc-elf-ver, t-linux to tmake_file.
4799         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
4800         tmake_file.
4801         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
4802         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
4803         (alpha*-dec-*vms*): Likewise.
4804         (arm*-*-freebsd*): Append to tmake_file.
4805         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
4806         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
4807         arm*-*-linux-*eabi.
4808         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
4809         tmake_file for arm*-*-symbianelf*.
4810         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
4811         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
4812         cris/t-linux.
4813         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
4814         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
4815         pa/t-slibgcc-dwarf-ver to tmake_file.
4816         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
4817         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
4818         (hppa*64*-*-hpux11*): Likewise.
4819         (hppa[12]*-*-hpux11*): Likewise.
4820         (x86_64-*-darwin*): Don't override tmake_file, but only keep
4821         i386/t-crtpc, i386/t-crtfm.
4822         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
4823         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4824         to tmake_file.
4825         Add i386/t-cygwin to tmake_file.
4826         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
4827         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
4828         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4829         to tmake_file.
4830         Add i386/t-mingw32 to tmake_file.
4831         (x86_64-*-mingw*): Likewise.
4832         (ia64*-*-freebsd*): Append to tmake_file.
4833         (ia64*-*-linux*): Append to tmake_file.
4834         Replace ia64/t-glibc by ia64/t-linux.
4835         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
4836         system libunwind.
4837         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
4838         t-slibgcc-hpux to tmake_file.
4839         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
4840         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
4841         (m32rle-*-linux*): Likewise.
4842         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
4843         sjlj exceptions.
4844         (microblaze*-linux*): New case.
4845         Append to tmake_file, add t-slibgcc-nolc-override.
4846         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
4847         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4848         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
4849         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4850         rs6000/t-slibgcc-aix to tmake_file.
4851         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4852         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4853         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4854         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4855         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4856         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
4857         sh*-*-linux*.
4858         (sparc-*-linux*): Append to tmake_file for *-leon*.
4859         Add sparc/t-linux to tmake_file for non-Leon targets.
4860         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
4861         (tic6x-*-uclinux): New case.
4862         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
4863         (tic6x-*-*): Add c6x/t-elf to tmake_file.
4864         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
4865         (am33_2.0-*-linux*): Append to tmake_file.
4866         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4867         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
4868         x86_64-*-kfreebsd*-gnu.
4869         Add i386/t-linux to tmake_file.
4871 2011-10-28  Ian Lance Taylor  <iant@google.com>
4873         * config/i386/morestack.S: Correct CFI information to do proper
4874         returns throughout function.  In 32-bit mode, save %ebx so that it
4875         is restored on unwind.
4877 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
4879         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
4880         case where B3 isn't the return register.
4882         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
4883         logic for doubleword pops.
4885 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
4887         * config/rs6000/t-freebsd: Add wildcard.
4889 2011-10-21  Paul Brook  <paul@codesourcery.com>
4891         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
4893 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
4894             Eric Botcazou  <ebotcazou@adacore.com>
4896         PR target/50737
4897         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4898         fs->signal_frame to 1.
4900 2011-10-07  Ian Lance Taylor  <iant@google.com>
4902         * generic-morestack-thread.c: #include <errno.h>.
4904 2011-10-07  Ian Lance Taylor  <iant@google.com>
4906         PR target/46093
4907         * generic-morestack.c (__generic_morestack): Make sure the segment
4908         is large enough for both the stack frame and the copied
4909         parameters.
4911 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4913         PR bootstrap/49804
4914         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4915         extra_parts.
4917 2011-09-28  Nick Clifton  <nickc@redhat.com>
4919         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4920         64-bit doubles are not enabled.
4921         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4922         and floatunsisf functions.
4924 2011-09-13  Paul Brook  <paul@codesourcery.com>
4926         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
4927         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4928         * unwind-arm-common.inc: New file.
4929         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4930         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4931         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4932         * config/c6x/libunwind.S: New file.
4933         * config/c6x/pr-support.c: New file.
4934         * config/c6x/unwind-c6x.c: New file.
4935         * config/c6x/unwind-c6x.h: New file.
4936         * config/c6x/t-c6x-elf: New file.
4938 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
4940         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4941         (ASM_DIVZERO): Ditto.
4942         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4944 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
4946         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4948 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
4950         PR target/50090
4951         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4952         instead of an assembly one.
4954 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
4956         PR bootstrap/50047
4957         * Makefile.in (install-unwind_h): Create
4958         $(gcc_objdir)/include/unwind.h atomically.
4960 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4962         * Makefile.in (install-unwind_h): Remove destination file first.
4964 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4966         * sync.c: New file.
4967         * config/mips/t-mips16: New file.
4968         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4969         (mips*-*-linux*): Likewise.
4970         (mips*-sde-elf*): Likewise.
4971         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4972         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4973         Add mips/t-mips16 to tmake_file.
4974         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4975         (mips-*-elf*): Likewise.
4976         (mips64-*-elf*): Likewise.
4977         (mips64orion-*-elf*): Likewise.
4978         (mips*-*-rtems*): Likewise.
4979         (mipstx39-*-elf*): Likewise.
4980         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4981         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4982         LIBGCC_SYNC_CFLAGS.
4983         Use $(srcdir) to refer to sync.c.
4984         Use $<.
4985         ($(libgcc-sync-funcs-o)): Likewise.
4986         ($(libgcc-sync-size-funcs-s-o)): Likewise.
4987         ($(libgcc-sync-funcs-s-o)): Likewise.
4989 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
4991         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4992         t-libunwind.
4994 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
4996         PR other/48007
4997         * config/i386/value-unwind.h: New.
4999 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
5001         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5002         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5003         Add to tmake_file rather than overriding it.
5005 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5007         * config/t-softfp: Remove.
5008         * soft-fp: Moved from ../gcc/config.
5009         * soft-fp/README: Remove t-softfp reference.
5010         * soft-fp/t-softfp: Move to config/t-softfp.
5011         (softfp_machine_header): Remove.
5012         (softfp_file_list): Remove config subdir.
5013         (soft-fp-objects): New variable.
5014         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5015         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5016         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5017         * config/t-softfp-excl: New file.
5018         * config/t-softfp-sfdf: New file.
5019         * config/t-softfp-tf: New file.
5020         * config/no-sfp-machine.h: New file.
5021         * config/arm/sfp-machine.h: New file.
5022         * config/arm/t-softfp: New file.
5023         * config/c6x/sfp-machine.h: New file.
5024         * config/i386/32/t-fprules-softfp: Rename to ...
5025         * config/i386/32/t-softfp: ... this.
5026         (tifunctions, LIB2ADD): Remove.
5027         (softfp_int_modes): Override.
5028         * config/i386/64/t-softfp-compat (tf-functions): Remove config
5029         subdir.
5030         * config/i386/64/eqtf2.c: Likewise.
5031         * config/i386/64/getf2.c: Likewise.
5032         * config/i386/64/letf2.c: Likewise.
5033         * config/ia64/sft-machine.h: New file.
5034         * config/ia64/t-fprules-softfp: Rename to ...
5035         * config/ia64/t-softfp: ... this.
5036         * config/lm32/sfp-machine.h: New file.
5037         * config/moxie/t-moxie-softfp: Remove.
5038         * config/rs6000/ibm-ldouble-format: New file.
5039         * config/rs6000/ibm-ldouble.c: New file.
5040         * config/rs6000/libgcc-ppc-glibc.ver: New file
5041         * config/rs6000/libgcc-ppc64.ver: New file
5042         * config/rs6000/sfp-machine.h: New file.
5043         * config/rs6000/t-freebsd: New file.
5044         * config/rs6000/t-ibm-ldouble: New file.
5045         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5046         libgcc-ppc-glibc.ver.
5047         * config/rs6000/t-linux64: New file.
5048         * config/rs6000/t-ppccomm (LIB2ADD): Add
5049         $(srcdir)/config/rs6000/ibm-ldouble.c.
5050         * config/rs6000/t-ppccomm-ldbl: New file.
5051         * config/score/sfp-machine.h: New file.
5052         * config.host (sfp_machine_header): Explain.
5053         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5054         t-softfp to tmake_file.
5055         (arm*-*-uclinux*): Likewise.
5056         (arm*-*-ecos-elf): Likewise.
5057         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5058         (arm*-*-rtems*): Likewise.
5059         (arm*-*-elf): Likewise.
5060         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5061         in tmake_file.
5062         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5063         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5064         (lm32-*-uclinux*): Likewise.
5065         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5066         t-softfp-excl, t-softfp.
5067         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5068         (powerpc64-*-darwin*): Likewise.
5069         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5070         to tmake_file.
5071         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5072         tmake_file.
5073         (powerpc-*-eabisim*): Likewise.
5074         (powerpc-*-elf*): Likewise.
5075         (powerpc-*-eabialtivec*): Likewise.
5076         (powerpc-xilinx-eabi*): Likewise.
5077         (powerpc-*-rtems*): Likewise.
5078         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5079         t-softfp-excl, t-softfp to tmake_file.
5080         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5081         rs6000/t-ppccomm-ldbl to tmake_file.
5082         (powerpcle-*-elf*): Likewise.
5083         (powerpcle-*-eabisim*): Likewise.
5084         (powerpcle-*-eabi*): Likewise.
5085         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5086         rs6000/t-ibm-ldouble to tmake_file.
5087         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5088         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5089         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5090         (tic6x-*-*): Likewise.
5091         (i[34567]86-*-darwin*, x86_64-*-darwin*,
5092         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5093         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5094         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5095         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5096         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5097         t-softfp to tmake_file.
5098         * configure.ac (sfp_machine_header): Provide default if unset.
5099         Substitute.
5100         Link sfp-machine.h to config/$sfp_machine_header.
5101         * configure: Regenerate.
5103 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5105         * Makefile.in (double_type_size, long_double_type_size): Set.
5106         Remove $(fpbit-in-libgcc) support.
5107         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5108         (fpbit-src): New variable.
5109         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5110         Compile with -DFLOAT $(FPBIT_CFLAGS).
5111         Use $<.
5112         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5113         Compile with $(FPBIT_CFLAGS).
5114         Use $<.
5115         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5116         Compile with -DFLOAT $(TPBIT_CFLAGS).
5117         Use $<.
5118         * configure.ac (double_type_size, long_double_type_size):
5119         Determine and substitute.
5120         * configure: Regenerate.
5121         * fp-bit.c, fp-bit.h: New files.
5122         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5123         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5124         * config/mips/t-mips: New file.
5125         * config/mips/t-sdemtk: New file.
5126         * config/rs6000/ppc64-fp.c: New file.
5127         * config/rs6000/t-darwin (LIB2ADD): Add
5128         $(srcdir)/config/rs6000/ppc64-fp.c.
5129         * config/rs6000/t-ppc64-fp: New file.
5130         * config/rx/rx-lib.h: New file.
5131         * config/rx/t-rx (FPBIT): Set to true.
5132         ($(gcc_objdir)/fp-bit.c): Remove.
5133         (DPBIT): Set to true only with -m64bit-doubles.
5134         ($(gcc_objdir)/dp-bit.c): Remove.
5135         * config/sparc/t-softfp: Remove.
5136         * config/spu/t-elf: New file.
5137         * config/t-fdpbit, config/t-fpbit: New files.
5138         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5139         (mips*-*-*): Likewise.
5140         (arm-wrs-vxworks): Likewise.
5141         (arm*-*-freebsd*): Likewise.
5142         (avr-*-rtems*): Add t-fpbit to tmake_file.
5143         (avr-*-*): Likewise.
5144         (bfin*-elf*): Add t-fdpbit to tmake_file.
5145         (bfin*-uclinux*): Likewise.
5146         (bfin*-linux-uclibc*): Likewise.
5147         (bfin*-rtems*): New case.
5148         Add t-fdpbit to tmake_file.
5149         (bfin*-*): Add t-fdpbit to tmake_file.
5150         (crisv32-*-elf): Likewise.
5151         (cris-*-linux*): Likewise.
5152         (fr30-*-elf): Likewise.
5153         (frv-*-elf, frv-*-*linux*): Likewise.
5154         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5155         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5156         (m32r-*-elf*): Likewise.
5157         (m32rle-*-elf*): Likewise.
5158         (m32r-*-linux*): Likewise.
5159         (m32rle-*-linux*): Likewise.
5160         (mcore-*-elf): Add t-fdpbit to tmake_file.
5161         (microblaze*-*-*): Likewise.
5162         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5163         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5164         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5165         Fix typo.
5166         Add mips/t-tpbit to tmake-file.
5167         (mips*-*-linux*): Fix typo.
5168         (mips*-sde-elf*): New case
5169         Add mips/t-sdemtk unless using newlib.
5170         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5171         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5172         (mn10300-*-*): Likewise.
5173         (pdp11-*-*): Likewise.
5174         (picochip-*-*): Add t-fpbit to tmake_file.
5175         (powerpc-*-eabisimaltivec*): Likewise.
5176         (powerpc-*-eabisim*): Likewise.
5177         (powerpc-*-elf*): Likewise.
5178         (powerpc-*-eabialtivec*): Likewise.
5179         (powerpc-xilinx-eabi*): New case.
5180         Add t-fdpbit to tmake_file.
5181         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
5182         (powerpc-*-rtems*): Likewise.
5183         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5184         tmake_file.
5185         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5186         tmake_file.
5187         (powerpc-*-lynxos*): Likewise.
5188         (powerpcle-*-elf*): Likewise.
5189         (powerpcle-*-eabisim*): Likewise.
5190         (powerpcle-*-eabi*): Likewise.
5191         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5192         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5193         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5194         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5195         (rx-*-elf): Add t-fdpbit to tmake_file.
5196         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5197         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5198         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5199         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5200         sh*-*-netbsd*.
5201         (sh-*-rtems*): Add t-fdpbit to tmake_file.
5202         (sh-wrs-vxworks): Likewise.
5203         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5204         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5205         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5206         (sparc64-*-rtems*): ... new case.
5207         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5208         (spu-*-elf*): Likewise.
5209         Add spu/t-elf to tmake_file.
5210         (v850*-*-*): Add t-fdpbit to tmake_file.
5211         (xstormy16-*-elf): Likewise.
5212         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5213         (mep*-*-*): Likewise.
5215 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5217         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5218         variables.
5219         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5220         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5221         (install-unwind_h): New target.
5222         (all): Depend on it.
5223         * config.host (unwind_header): New variable.
5224         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5225         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5226         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5227         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5228         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5229         Set unwind_header.
5230         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5231         Set unwind_header.
5232         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5233         arm*-*-eabi*.
5234         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5235         Set unwind_header.
5236         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5237         (ia64*-*-freebsd*): Likewise.
5238         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5239         tmake_file.
5240         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5241         $with_system_libunwind.
5242         (ia64*-*-hpux*): Set tmake_file.
5243         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5244         (picochip-*-*): Set tmake_file.
5245         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5246         md_unwind_header.
5247         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5248         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5249         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5250         (xtensa*-*-elf*): Set tmake_file.
5251         (xtensa*-*-linux*): Likewise.
5252         * configure.ac: Include ../config/unwind_ipinfo.m4.
5253         Call GCC_CHECK_UNWIND_GETIPINFO.
5254         Link unwind.h to $unwind_header.
5255         * configure: Regenerate.
5256         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5257         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5258         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5259         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5260         * config/unwind-dw2-fde-darwin.c: New file.
5261         * config/arm/libunwind.S, config/arm/pr-support.c,
5262         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5263         config/arm/unwind-arm.h,: New files.
5264         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5265         config/ia64/t-eh-ia64, config/ia64/t-glibc,
5266         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5267         config/ia64/t-vms, config/ia64/unwind-ia64.c,
5268         config/ia64/unwind-ia64.h: New files.
5269         * config/picochip/t-picochip: New file.
5270         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5271         files.
5272         * config/rs6000/t-darwin (LIB2ADDEH): Set.
5273         * config/s390/t-tpf (LIB2ADDEH): Remove.
5274         * config/t-darwin (LIB2ADDEH): Set.
5275         * config/t-eh-dw2-dip: New file.
5276         * config/t-libunwind, config/t-libunwind-elf: New files.
5277         * config/t-sol2 (LIB2ADDEH): Remove.
5278         * config/xtensa/t-xtensa: New file.
5280 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
5282         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5283         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5284         long long to check rt_sigreturn syscall.
5286 2011-08-02  Alan Modra  <amodra@gmail.com>
5288         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5289         Restore for indirect call bcrtl from correct stack slot, and only
5290         if cfa+40 isn't valid.
5292 2011-08-01  Julian Brown  <julian@codesourcery.com>
5294         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5295         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5296         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5298 2011-08-01  Julian Brown  <julian@codesourcery.com>
5300         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5301         (libgcc-std.ver.in): Use above.
5302         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5303         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
5304         throughout file.
5305         * config/t-fixedpoint-gnu-prefix: New file.
5306         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5307         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5308         instead of __PFX__.
5310 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
5312         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5313         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5314         for x86-64.  Properly check __x86_64__ and __LP64__.
5316 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
5318         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5319         version.
5320         (_FP_WS_TYPE): Likewise.
5321         (_FP_I_TYPE): Likewise.
5323 2011-07-28  Alan Modra  <amodra@gmail.com>
5325         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5326         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5327         in a plt call stub.  Do restore r2 if stopped on bctrl.
5329 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5331         * config.host (i[3456x]86-*-netware*): Remove.
5332         * config/i386/netware-crt0.c, config/i386/t-nwld,
5333         config/i386/t-slibgcc-nwld: Remove.
5335 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
5337         * config.host: Handle tic6x-*-*.
5338         * config/c6x/c6x-abi.h: New file.
5340 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5342         * config/i386/crtprec.c: New file.
5343         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5344         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5345         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5346         (x86_64-*-darwin*): Likewise.
5347         (i[34567]86-*-solaris2*: Likewise.
5349 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5351         * config/alpha/crtfastmath.c: New file.
5352         * config/i386/crtfastmath.c: New file.
5353         * config/ia64/crtfastmath.c: New file.
5354         * config/mips/crtfastmath.c: New file.
5355         * config/sparc/crtfastmath.c: New file.
5357         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5358         crtfastmath.c.
5359         Add -frandom-seed=gcc-crtfastmath.
5360         * config/alpha/t-crtfm: Remove.
5361         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5362         * config/ia64/t-ia64 (crtfastmath.o): Remove.
5364         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5365         (alpha*-dec-osf5.1*): Likewise.
5366         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5367         Add crtfastmath.o to extra_parts.
5368         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5369         Add crtfastmath.o to extra_parts.
5370         (x86_64-*-darwin*): Likewise.
5371         (x86_64-*-mingw*): Likewise.
5372         (ia64*-*-elf*): Add t-crtfm to tmake_file.
5373         (ia64*-*-freebsd*): Likewise.
5374         (ia64*-*-linux*): Likewise.
5375         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5376         Add crtfastmath.o to extra_parts.
5378 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5380         * config/darwin-crt3.o: New file.
5381         * config/rs6000/darwin-crt2.c: New file.
5382         * config/t-darwin: New file.
5383         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5384         (crt2.o): New rule.
5385         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5386         (powerpc-*-darwin*): Add crt2.o to extra_parts.
5387         (powerpc64-*-darwin*): Likewise.
5389 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5391         * config/i386/netware-crt0.c: New file.
5392         * config/i386/t-nwld: Rename to ...
5393         * config/i386/t-slibgcc-nwld: ... this.
5394         * config/i386/t-nwld: New file.
5395         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5396         tmake_file.
5397         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5398         extra_parts.
5400 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5402         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5403         i386/t-crtstuff.
5404         * configure: Regenerate.
5406 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5408         * dfp-bit.c, dfp-bit.h: New files.
5409         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5410         variables.
5411         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5412         ($(d64pbit-o)): Likewise.
5413         ($(d128pbit-o)): Likewise.
5414         * config/t-dfprules: New file.
5415         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5416         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5417         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5418         (x86_64-*-linux*): Likewise.
5419         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5420         (i[34567]86-*-cygwin*): Likewise.
5421         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
5422         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5424 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5426         * Makfile.in (LIBGCOV): New variable.
5427         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5428         * libgcov.c: New file.
5430 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5432         * fixed-bit.c, fixed-bit.h: New files.
5433         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5434         refer to fixed-bit.c.
5436 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
5438         * config.host (*local*): Remove.
5440 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5442         PR target/39150
5443         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5444         like i?86-*-solaris2.1[0-9]*.
5445         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5446         * configure.ac (i?86-*-solaris2*): Likewise.
5447         * configure: Regenerate.
5449 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
5451         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5452         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5453         md_unwind_header by splitting out of...
5454         (i[34567]86-*-linux*): ... this.
5455         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5456         Remove md_unwind_header by splitting out of...
5457         (x86_64-*-linux*): ... this.
5459 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
5461         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5463 2011-06-28  Nick Clifton  <nickc@redhat.com>
5465         * config.host: Recognize all V850 variants.
5467 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
5469         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5471 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5473         * shared-object.mk (c_flags-$o): Save c_flags.
5474         ($(base)$(objext)): Use it.
5475         ($(base)_s$(objext)): Likewise.
5477 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
5479         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
5480         * libgcc-std.ver.in (GCC_4.7.0): New section.
5482 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
5484         PR target/49313
5485         PR target/29524
5486         * config/avr/t-avr: Fix line endings.
5487         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
5488         _parityXX2.
5490 2011-06-14  Olivier Hainque  <hainque@adacore.com>
5491             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5493         * config/mips/irix6-unwind.h: New file.
5494         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
5496 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
5498         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
5499         (sparc64_fallback_frame_state): Use it.
5500         (sparc64_frob_update_context): Further adjust context.
5501         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
5502         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
5503         * config/sparc/sol2-cn.S: Likewise.
5505 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5507         * enable-execute-stack-empty.c: New file.
5508         * enable-execute-stack-mprotect.c: New file.
5509         * config/i386/enable-execute-stack-mingw32.c: New file.
5510         * config.host (enable_execute_stack): New variable.
5511         Select appropriate variants.
5512         * configure.ac: Link enable-execute-stack.c to
5513         $enable_execute_stack.
5514         * configure: Regenerate.
5515         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
5516         (lib2funcs): Remove _enable_execute_stack.
5518 2011-06-09  David S. Miller  <davem@davemloft.net>
5519             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5521         * config.host (sparc-*-linux*): Correct md_unwind_header
5522         filename.
5523         (s390x-ibm-tpf*): Fix typo.
5525 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5527         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
5528         Add crtfastmath.o to extra_parts.
5529         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
5530         mips/t-crtfm.
5531         * config/mips/t-crtfm: Remove.
5533 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5535         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
5537 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5539         * config.host (sh*-*-linux*): Fix typo.
5541 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5543         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
5544         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
5545         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
5546         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
5547         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
5548         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
5549         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
5550         Wrap in !__MINGW64__.
5551         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
5552         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
5553         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
5554         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5555         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5556         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5557         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5558         Wrap in !__LP64__.
5559         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5560         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5561         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5562         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5563         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5564         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5565         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5566         * config/no-unwind.h: New file.
5567         * config.host (md_unwind_header): Document.
5568         Define.
5569         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5570         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5571         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5572         hppa[12]*-*-hpux11*): Set md_unwind_header.
5573         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5574         Set md_unwind_header.
5575         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5576         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5577         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5578         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5579         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5580         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5581         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5582         md_unwind_header.
5583         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5584         * configure: Regenerate.
5586 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5588         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
5589         Set tmake_file, extra_parts.
5590         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
5591         Remove O32 support.
5592         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
5593         Remove O32 support.
5594         * config/mips/t-irix6: New file.
5595         * config/mips/t-slibgcc-irix: New file.
5597 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5599         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
5600         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
5602 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5604         * configure.ac (target_thread_file): Determine thread model.
5605         * configure: Regenerate.
5606         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
5607         * config/alpha/t-alpha: New file.
5608         * config/alpha/t-crtfm: Use $<.
5609         * config/alpha/t-ieee: New file.
5610         * config/alpha/t-osf-pthread: New file.
5611         * config/alpha/t-slibgcc-osf: New file.
5612         * config/alpha/libgcc-osf5.ver: New file.
5614 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5616         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
5617         tmake_file.
5618         Add crtfastmath.o to extra_parts.
5620 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5622         * config/gmon-sol2.c: Reindent.
5623         Cleanup comments.
5624         Remove, correct casts.
5625         Use STDERR_FILENO, NULL.
5626         (BASEADDRESS): Remove.
5627         (minbrk): Remove.
5628         (errno, sbrk): Remove declarations.
5629         (monstartup) [hp300]: Remove.
5630         (mcount): Remove.
5632 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5634         * Makefile.in (cpu_type): Define.
5635         * config.host (i[34567]86-*-rtems*): Handle it.
5636         (i[34567]86-*-solaris2*): Move body ...
5637         (*-*-solaris2*): ... here.
5638         New case, generalize.
5639         (sparc-*-elf*): Handle it.
5640         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5641         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5642         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5643         Fold into ...
5644         (sparc*-*-solaris2*): ... this.
5645         New case.
5646         (sparc64-*-elf*): Handle it.
5647         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5648         Merge ../gcc/config/i386/gmon-sol2.c.
5649         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5650         Use C comments.
5651         Merge ../gcc/config/i386/sol2-gc1.asm.
5652         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5653         Use C comments.
5654         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5655         Use C comments.
5656         * config/i386/t-crtfm (crtfastmath.o): Use $<.
5657         * config/i386/t-crtstuff: New file.
5658         * config/i386/t-softfp: New file.
5659         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5660         $(T)crti.o, $(T)crtn.o): Remove.
5661         (gcrt1.o): New rule.
5662         (TARGET_LIBGCC2_CFLAGS): Remove.
5663         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5664         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5665         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5666         * config/sparc/t-sol2: New file.
5667         * config/sparc/t-crtfm: Move to ...
5668         * config/t-crtfm: ... this.
5669         Use $(cpu_type), $<.
5670         * config/t-crtin: New file.
5671         * config/sparc/t-softfp: New file.
5672         * config/sparc/t-softmul: New file.
5673         * config/t-rtems: New file.
5674         * config/t-slibgcc: New file.
5675         * config/t-slibgcc-elf-ver: New file.
5676         * config/t-slibgcc-gld: New file.
5677         * config/t-slibgcc-sld: New file.
5678         * config/t-sol2: New file.
5679         * configure.ac: Include ../config/lib-ld.m4.
5680         Call AC_LIB_PROG_LD_GNU.
5681         Substitute cpu_type.
5682         * configure: Regenerate.
5684 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
5686         PR bootstrap/49173
5687         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5688         libgcc-std.ver in the build directory.
5689         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5690         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5692 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
5694         * libgcc-std.ver.in: New file.
5695         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5696         variables.
5697         (libgcc-std.ver): New rule.
5698         * config/t-gnu-prefix: New file.
5700 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5702         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5704 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
5706         * config/i386/darwin-lib.h: New file.
5708 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
5710         * config/arm/symbian-lib.h: New.
5712 2011-05-04  Chris Demetriou  <cgd@google.com>
5714         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5715         (__x86.get_pc_thunk.bx): ...this.
5716         (__morestack): Adjust for rename, remove undef of __i686.
5718 2011-05-03  Chris Demetriou  <cgd@google.com>
5720         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5722 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
5724         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5725         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5726         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5727         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5728         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5729         Remove cases.
5731 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
5733         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5734         Adjust copyright year.
5736 2011-03-07  Ian Lance Taylor  <iant@google.com>
5738         * generic-morestack.c (__splitstack_find): Adjust returned stack
5739         pointer to include all registers pushed by __morestack.
5741 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
5743         PR target/40125
5744         * configure.ac: Call ACX_NONCANONICAL_TARGET.
5745         (toolexecdir): Calculate and AC_SUBST.
5746         (toolexeclibdir): Likewise.
5747         * Makefile.in (target_noncanonical): Import.
5748         (toolexecdir): Likewise.
5749         (toolexeclibdir): Likewise.
5750         * configure: Regenerate.
5752 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
5754         PR target/46040
5755         * config/arm/bpabi.h: Rename to...
5756         * config/arm/bpabi-lib.h: ...this.
5758 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5760         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5761         appropriate.
5762         * configure: Regenerate.
5764 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
5766         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5767         __FLOAT_WORD_ORDER__.
5768         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5769         Delete.
5771 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5773         PR other/46202
5774         * Makefile.in (install-strip): New phony target.
5776 2010-11-07  Ian Lance Taylor  <iant@google.com>
5778         PR target/46089
5779         * config/i386/morestack.S (__morestack_large_model): New
5780         function.
5782 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
5784         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
5785         Delete.
5786         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
5788 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
5790         * config/arm/bpabi.h: New file.
5791         * config/frv/frv-abi.h: New file.
5793 2010-10-01  Ian Lance Taylor  <iant@google.com>
5795         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
5796         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
5798 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
5800         PR target/45858
5801         * config.host: Add the missing `$'.
5803 2010-09-30  Michael Eager  <eager@eagercon.com>
5805         * config.host: Add microblaze*-*-*.
5806         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
5807         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
5808         udivsi3.asm,umodsi3.asm}:  New.
5810 2010-09-28  Ian Lance Taylor  <iant@google.com>
5812         * configure.ac: Adjust CFI test to test assembler directly rather
5813         than checking gcc preprocessor macro.
5814         * configure: Rebuild.
5816 2010-09-27  Ian Lance Taylor  <iant@google.com>
5818         * configure.ac: Test whether assembler supports CFI directives.
5819         * config.host: Only add t-stack and i386/t-stack-i386 to
5820         tmake_file if libgcc_cv_cfi is "yes".
5821         * configure: Rebuild.
5823 2010-09-27  Ian Lance Taylor  <iant@google.com>
5825         * generic-morestack.h: New file.
5826         * generic-morestack.c: New file.
5827         * generic-morestack-thread.c: New file.
5828         * config/i386/morestack.S: New file.
5829         * config/t-stack: New file.
5830         * config/i386/t-stack-i386: New file.
5831         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
5832         i386/t-stack-i386 to tmake_file.
5834 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
5836         * Makefile.in (libgcc-extra-parts):  Check for static archives and
5837         invoke ranlib after installing them.
5838         (gcc-extra-parts): Likewise.
5839         (install-leaf): Likewise.
5841 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
5843         * configure: Regenerated.
5845 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
5847         * configure: Regenerated.
5849 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
5850             Andrew Pinski  <pinskia@gmail.com>
5852         PR target/40959
5853         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
5855 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
5857         PR target/45524
5858         * configure: Regenerated.
5860 2010-09-06  Andreas Schwab  <schwab@redhat.com>
5862         * configure: Regenerate.
5864 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
5866         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
5867         64bit targets.
5868         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
5869         for 64bit targets.
5871 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
5872             Iain Sandoe  <iains@gcc.gnu.org>
5874         PR target/45476
5875         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
5876         LIB2FUNCS_EXCLUDE functions.
5878 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5880         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
5881         Include dfp.m4.
5882         * configure: Regenerate.
5884 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
5886         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
5887         i386/t-freebsd to tmake_file.
5888         * config/i386/t-freebsd: New file.
5889         * config/i386/libgcc-bsd.ver: New file.
5891 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
5893         * config.host (powerpc*-eabispe*): Set tmake_file.
5894         (powerpc*-eabi*): Likewise.
5895         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5896         crtbeginS, crtendS, crtbeginT.
5898 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
5900         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5901         to tmake_file.  Add crtfastmath.o to extra_parts.
5902         * config/mips/t-crtfm: New.
5904 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
5906         * config.host (sparc64-*-rtems*): New target.
5908 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5910         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5911         assembler syntax.
5913 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
5915         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5917 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5919         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5920         alpha-dec-osf5.0* support.
5922 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
5924         * config.host: Add lm32-*-rtems*.
5926 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5927             Uros Bizjak <ubizjak@gmail.com>
5929         PR target/39048
5930         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5931         like other remaining 32-bit x86 OSes.
5932         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5933         assembler syntax.
5934         * config/i386/libgcc-sol2.ver: New file.
5935         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5937 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
5939         PR c/43553
5940         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5941         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5942         is used and substitute set_use_emutls.
5943         * configure: Regenerated.
5945 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
5947         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5949 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5951         PR target/38085
5952         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5953         MULTILIB_CFLAGS.
5954         ($(T)gcrt1.o): Likewise.
5955         ($(T)crt1.o): Likewise.
5956         ($(T)crti.o): Likewise.
5957         ($(T)crtn.o): Likewise.
5959 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5961         PR other/42980
5962         * Makefile.in (install): Use $(MAKE) string in rule, for
5963         parallel make.
5965 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
5967         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5968         * config/mmix/t-mmix: New file.
5969         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5971 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
5973         PR java/41991
5974         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5975         SHLIB_MAPFILES.
5977 2010-01-04  Anthony Green  <green@moxielogic.com>
5979         * config/moxie/crti.asm, config/moxie/crtn.asm,
5980         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5981         config/moxie/t-moxie: New files.
5982         * config.host: Add t-moxie-softfp reference.
5984 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5986         PR other/39888
5987         * config/t-slibgcc-darwin: Fix embedded rpaths for
5988         --enable-version-specific-runtime-libs, build extension stub
5989         libs exposing features available from current libgcc_s.
5991 2009-11-11  Jon Beniston <jon@beniston.com>
5993         * config.host: Add lm32 targets.
5994         * config/lm32: New directory.
5995         * config/lm32/libgcc_lm32.h: New file.
5996         * config/lm32/_mulsi3.c: New file.
5997         * config/lm32/_udivmodsi4.c: New file.
5998         * config/lm32/_divsi3.c: New file.
5999         * config/lm32/_modsi3.c: New file.
6000         * config/lm32/_udivsi3.c: New file.
6001         * config/lm32/_umodsi3.c: New file.
6002         * config/lm32/_lshrsi3.S: New file.
6003         * config/lm32/_ashrsi3.S: New file.
6004         * config/lm32/_ashlsi3.S: New file.
6005         * config/lm32/crti.S: New file.
6006         * config/lm32/crtn.S: New file.
6007         * config/lm32/t-lm32: New file.
6008         * config/lm32/t-elf: New file.
6009         * config/lm32/t-uclinux: New file.
6011 2009-10-26  Nick Clifton  <nickc@redhat.com>
6013         * config.host: Add support for RX target.
6014         * config/rx: New directory.
6015         * config/rx/rx-abi-functions.c: New file. Supplementary
6016         functions for libgcc to support the RX ABI.
6017         * config/rx/rx-abi.h: New file.  Supplementary header file for
6018         libgcc RX ABI functions.
6019         * config/rx/t-rx: New file: Makefile fragment for building
6020         libgcc for the RX.
6022 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
6024         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6025         constraint of y0 to "g".
6027 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6029         * config.host: Include the s390 makefile fragments.
6030         * config/s390/32/_fixdfdi.c: New file.
6031         * config/s390/32/_fixsfdi.c: New file.
6032         * config/s390/32/_fixtfdi.c: New file.
6033         * config/s390/32/_fixunsdfdi.c: New file.
6034         * config/s390/32/_fixunssfdi.c: New file.
6035         * config/s390/32/_fixunstfdi.c: New file.
6036         * config/s390/32/t-floattodi: New file.
6037         * config/s390/libgcc-glibc.ver: New file.
6038         * config/s390/t-crtstuff: New file.
6039         * config/s390/t-linux: New file.
6040         * config/s390/t-tpf: New file.
6042 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6044         * configure.ac (AC_PREREQ): Bump to 2.64.
6046 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
6048         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6050 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6052         * configure: Regenerate.
6054 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
6056         * config.host (ia64-hp-*vms*): New target.
6057         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6058         with ia64-hp-*vms*.
6060 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6062         * configure.ac: Add snippet for maintainer-mode.
6063         * configure: Regenerate.
6064         * Makefile.in (AUTOCONF, configure_deps): New variables.
6065         ($(srcdir)/configure)): New rule, active only with maintainer
6066         mode turned on.
6068 2009-06-23  DJ Delorie  <dj@redhat.com>
6070         Add MeP port.
6071         * config.host: Add mep support.
6073 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
6075         * config.host: Add i386/${host_address}/t-fprules-softfp and
6076         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
6078         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6079         for mingw targets.
6080         * config/i386/64/_multc3.c: Likewise.
6081         * config/i386/64/_powitf2.c: Likewise.
6082         * config/i386/64/eqtf2.c: Likewise.
6083         * config/i386/64/getf2.c: Likewise.
6084         * config/i386/64/letf2.c: Likewise.
6085         * config/i386/64/letf2.c: Likewise.
6086         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6087         unsigned long long for x64 mingw targets.
6088         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6089         (_FP_I_TYPE): Define as long long for x64 mingw target.
6091 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
6093         * config.host (vax-*-linux*): New.
6095 2009-05-31  Anthony Green  <green@moxielogic.com>
6097         * config.host: Add moxie support.
6098         * config/moxie/t-moxie: New file.
6100 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
6102         * config.host: Add i386/${host_address}/t-fprules-softfp and
6103         t-softfp to tmake_file for i[34567]86-*-cygwin*.
6105 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
6107         * config.host: Add i386/${host_address}/t-fprules-softfp to
6108         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6110 2009-04-09  Nick Clifton  <nickc@redhat.com>
6112         * config/ia64/tf-signs.c: Change copyright header to refer to
6113         version 3 of the GNU General Public License with version 3.1
6114         of the GCC Runtime Library Exception and to point readers at
6115         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6116         web page.
6117         * config/i386/32/tf-signs.c: Likewise.
6118         * config/libbid/_addsub_dd.c: Likewise.
6119         * config/libbid/_addsub_sd.c: Likewise.
6120         * config/libbid/_addsub_td.c: Likewise.
6121         * config/libbid/_dd_to_df.c: Likewise.
6122         * config/libbid/_dd_to_di.c: Likewise.
6123         * config/libbid/_dd_to_sd.c: Likewise.
6124         * config/libbid/_dd_to_sf.c: Likewise.
6125         * config/libbid/_dd_to_si.c: Likewise.
6126         * config/libbid/_dd_to_td.c: Likewise.
6127         * config/libbid/_dd_to_tf.c: Likewise.
6128         * config/libbid/_dd_to_udi.c: Likewise.
6129         * config/libbid/_dd_to_usi.c: Likewise.
6130         * config/libbid/_dd_to_xf.c: Likewise.
6131         * config/libbid/_df_to_dd.c: Likewise.
6132         * config/libbid/_df_to_sd.c: Likewise.
6133         * config/libbid/_df_to_td.c: Likewise.
6134         * config/libbid/_di_to_dd.c: Likewise.
6135         * config/libbid/_di_to_sd.c: Likewise.
6136         * config/libbid/_di_to_td.c: Likewise.
6137         * config/libbid/_div_dd.c: Likewise.
6138         * config/libbid/_div_sd.c: Likewise.
6139         * config/libbid/_div_td.c: Likewise.
6140         * config/libbid/_eq_dd.c: Likewise.
6141         * config/libbid/_eq_sd.c: Likewise.
6142         * config/libbid/_eq_td.c: Likewise.
6143         * config/libbid/_ge_dd.c: Likewise.
6144         * config/libbid/_ge_sd.c: Likewise.
6145         * config/libbid/_ge_td.c: Likewise.
6146         * config/libbid/_gt_dd.c: Likewise.
6147         * config/libbid/_gt_sd.c: Likewise.
6148         * config/libbid/_gt_td.c: Likewise.
6149         * config/libbid/_isinfd128.c: Likewise.
6150         * config/libbid/_isinfd32.c: Likewise.
6151         * config/libbid/_isinfd64.c: Likewise.
6152         * config/libbid/_le_dd.c: Likewise.
6153         * config/libbid/_le_sd.c: Likewise.
6154         * config/libbid/_le_td.c: Likewise.
6155         * config/libbid/_lt_dd.c: Likewise.
6156         * config/libbid/_lt_sd.c: Likewise.
6157         * config/libbid/_lt_td.c: Likewise.
6158         * config/libbid/_mul_dd.c: Likewise.
6159         * config/libbid/_mul_sd.c: Likewise.
6160         * config/libbid/_mul_td.c: Likewise.
6161         * config/libbid/_ne_dd.c: Likewise.
6162         * config/libbid/_ne_sd.c: Likewise.
6163         * config/libbid/_ne_td.c: Likewise.
6164         * config/libbid/_sd_to_dd.c: Likewise.
6165         * config/libbid/_sd_to_df.c: Likewise.
6166         * config/libbid/_sd_to_di.c: Likewise.
6167         * config/libbid/_sd_to_sf.c: Likewise.
6168         * config/libbid/_sd_to_si.c: Likewise.
6169         * config/libbid/_sd_to_td.c: Likewise.
6170         * config/libbid/_sd_to_tf.c: Likewise.
6171         * config/libbid/_sd_to_udi.c: Likewise.
6172         * config/libbid/_sd_to_usi.c: Likewise.
6173         * config/libbid/_sd_to_xf.c: Likewise.
6174         * config/libbid/_sf_to_dd.c: Likewise.
6175         * config/libbid/_sf_to_sd.c: Likewise.
6176         * config/libbid/_sf_to_td.c: Likewise.
6177         * config/libbid/_si_to_dd.c: Likewise.
6178         * config/libbid/_si_to_sd.c: Likewise.
6179         * config/libbid/_si_to_td.c: Likewise.
6180         * config/libbid/_td_to_dd.c: Likewise.
6181         * config/libbid/_td_to_df.c: Likewise.
6182         * config/libbid/_td_to_di.c: Likewise.
6183         * config/libbid/_td_to_sd.c: Likewise.
6184         * config/libbid/_td_to_sf.c: Likewise.
6185         * config/libbid/_td_to_si.c: Likewise.
6186         * config/libbid/_td_to_tf.c: Likewise.
6187         * config/libbid/_td_to_udi.c: Likewise.
6188         * config/libbid/_td_to_usi.c: Likewise.
6189         * config/libbid/_td_to_xf.c: Likewise.
6190         * config/libbid/_tf_to_dd.c: Likewise.
6191         * config/libbid/_tf_to_sd.c: Likewise.
6192         * config/libbid/_tf_to_td.c: Likewise.
6193         * config/libbid/_udi_to_dd.c: Likewise.
6194         * config/libbid/_udi_to_sd.c: Likewise.
6195         * config/libbid/_udi_to_td.c: Likewise.
6196         * config/libbid/_unord_dd.c: Likewise.
6197         * config/libbid/_unord_sd.c: Likewise.
6198         * config/libbid/_unord_td.c: Likewise.
6199         * config/libbid/_usi_to_dd.c: Likewise.
6200         * config/libbid/_usi_to_sd.c: Likewise.
6201         * config/libbid/_usi_to_td.c: Likewise.
6202         * config/libbid/_xf_to_dd.c: Likewise.
6203         * config/libbid/_xf_to_sd.c: Likewise.
6204         * config/libbid/_xf_to_td.c: Likewise.
6205         * config/libbid/bid128.c: Likewise.
6206         * config/libbid/bid128_2_str.h: Likewise.
6207         * config/libbid/bid128_2_str_macros.h: Likewise.
6208         * config/libbid/bid128_2_str_tables.c: Likewise.
6209         * config/libbid/bid128_add.c: Likewise.
6210         * config/libbid/bid128_compare.c: Likewise.
6211         * config/libbid/bid128_div.c: Likewise.
6212         * config/libbid/bid128_fma.c: Likewise.
6213         * config/libbid/bid128_logb.c: Likewise.
6214         * config/libbid/bid128_minmax.c: Likewise.
6215         * config/libbid/bid128_mul.c: Likewise.
6216         * config/libbid/bid128_next.c: Likewise.
6217         * config/libbid/bid128_noncomp.c: Likewise.
6218         * config/libbid/bid128_quantize.c: Likewise.
6219         * config/libbid/bid128_rem.c: Likewise.
6220         * config/libbid/bid128_round_integral.c: Likewise.
6221         * config/libbid/bid128_scalb.c: Likewise.
6222         * config/libbid/bid128_sqrt.c: Likewise.
6223         * config/libbid/bid128_string.c: Likewise.
6224         * config/libbid/bid128_to_int16.c: Likewise.
6225         * config/libbid/bid128_to_int32.c: Likewise.
6226         * config/libbid/bid128_to_int64.c: Likewise.
6227         * config/libbid/bid128_to_int8.c: Likewise.
6228         * config/libbid/bid128_to_uint16.c: Likewise.
6229         * config/libbid/bid128_to_uint32.c: Likewise.
6230         * config/libbid/bid128_to_uint64.c: Likewise.
6231         * config/libbid/bid128_to_uint8.c: Likewise.
6232         * config/libbid/bid32_to_bid128.c: Likewise.
6233         * config/libbid/bid32_to_bid64.c: Likewise.
6234         * config/libbid/bid64_add.c: Likewise.
6235         * config/libbid/bid64_compare.c: Likewise.
6236         * config/libbid/bid64_div.c: Likewise.
6237         * config/libbid/bid64_fma.c: Likewise.
6238         * config/libbid/bid64_logb.c: Likewise.
6239         * config/libbid/bid64_minmax.c: Likewise.
6240         * config/libbid/bid64_mul.c: Likewise.
6241         * config/libbid/bid64_next.c: Likewise.
6242         * config/libbid/bid64_noncomp.c: Likewise.
6243         * config/libbid/bid64_quantize.c: Likewise.
6244         * config/libbid/bid64_rem.c: Likewise.
6245         * config/libbid/bid64_round_integral.c: Likewise.
6246         * config/libbid/bid64_scalb.c: Likewise.
6247         * config/libbid/bid64_sqrt.c: Likewise.
6248         * config/libbid/bid64_string.c: Likewise.
6249         * config/libbid/bid64_to_bid128.c: Likewise.
6250         * config/libbid/bid64_to_int16.c: Likewise.
6251         * config/libbid/bid64_to_int32.c: Likewise.
6252         * config/libbid/bid64_to_int64.c: Likewise.
6253         * config/libbid/bid64_to_int8.c: Likewise.
6254         * config/libbid/bid64_to_uint16.c: Likewise.
6255         * config/libbid/bid64_to_uint32.c: Likewise.
6256         * config/libbid/bid64_to_uint64.c: Likewise.
6257         * config/libbid/bid64_to_uint8.c: Likewise.
6258         * config/libbid/bid_b2d.h: Likewise.
6259         * config/libbid/bid_binarydecimal.c: Likewise.
6260         * config/libbid/bid_conf.h: Likewise.
6261         * config/libbid/bid_convert_data.c: Likewise.
6262         * config/libbid/bid_decimal_data.c: Likewise.
6263         * config/libbid/bid_decimal_globals.c: Likewise.
6264         * config/libbid/bid_div_macros.h: Likewise.
6265         * config/libbid/bid_dpd.c: Likewise.
6266         * config/libbid/bid_flag_operations.c: Likewise.
6267         * config/libbid/bid_from_int.c: Likewise.
6268         * config/libbid/bid_functions.h: Likewise.
6269         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6270         * config/libbid/bid_inline_add.h: Likewise.
6271         * config/libbid/bid_internal.h: Likewise.
6272         * config/libbid/bid_round.c: Likewise.
6273         * config/libbid/bid_sqrt_macros.h: Likewise.
6275 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
6277         * Makefile.in: Change copyright header to refer to version
6278         3 of the GNU General Public License and to point readers at the
6279         COPYING3 file and the FSF's license web page.
6280         * config.host: Likewise.
6282 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
6284         * config.host: Reorder and merge to match config.gcc change.
6286 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
6288         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6290 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
6292         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6293         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6294         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6295         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6297 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
6299         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6300         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6302 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
6304         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6305         ia64/t-softfp-compat to tmake_file.
6307         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6309         * config/ia64/__divxf3.asm: New.
6310         * config/ia64/_fixtfdi.asm: Likewise.
6311         * config/ia64/_fixunstfdi.asm: Likewise.
6312         * config/ia64/_floatditf.asm: Likewise.
6313         * config/ia64/t-fprules-softfp: Likewise.
6314         * config/ia64/t-softfp-compat: Likewise.
6315         * config/ia64/tf-signs.c: Likewise.
6317 2009-01-18  Ben Elliston  <bje@au.ibm.com>
6319         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6321 2009-01-16  Ben Elliston  <bje@au.ibm.com>
6323         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6324         to tmake_file.
6326 2009-01-13  Ben Elliston  <bje@au.ibm.com>
6328         * config/t-softfp: New file.
6329         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6330         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6332 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
6334         * config.host: Add m32r*-*-rtems*.
6336 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
6338         * config.host: Add m32c*-*-rtems*.
6340 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6342         PR bootstrap/33100
6343         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6344         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6345         * configure: Regenerate.
6346         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6347         tmake_file here from gcc/config.gcc.
6348         Move extra_parts here from gcc/config.gcc.
6349         * config/i386/t-sol2: Move here from gcc/config/i386.
6350         Use gcc_srcdir instead of srcdir.
6352 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
6354         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6355         case.
6357 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
6359         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6361 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
6363         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6365 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
6367         Add picoChip port.
6368         * config.host: Add picochip-*-*.
6370 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
6372         * config.host: Match more processor names for Xtensa.
6374 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
6376         * config/i386/64/t-softfp-compat: Update comments.
6378 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6380         * config/i386/64/_divtc3-compat.c: Moved to ...
6381         * config/i386/64/_divtc3.c: Here.
6383         * config/i386/64/_multc3-compat.c: Moved to ...
6384         * config/i386/64/_multc3.c: Here.
6386         * config/i386/64/_powitf2-compat.c: Moved to ...
6387         * config/i386/64/_powitf2.c: Here.
6389         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6390         .c suffix instead of -compat.c.
6392 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
6394         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6395         (_FP_MUL_MEAT_D): Ditto.
6396         (_FP_DIV_MEAT_S): Ditto.
6397         (_FP_DIV_MEAT_D): Ditto.
6399 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
6401         * Makefile.in: Add support for __sync_* libgcc functions.
6403 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
6405         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6407 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6409         PR boostrap/36702
6410         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6411         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
6413         * config/i386/64/t-fprules-softfp: Moved to ...
6414         * config/i386/64/t-softfp-compat: This.  New.
6416 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
6418         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6419         Initialize f with 0.0.
6421 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6423         PR target/36669
6424         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6426         * config/i386/64/_divtc3-compat.c: New.
6427         * config/i386/64/_multc3-compat.c: Likewise.
6428         * config/i386/64/_powitf2-compat.c: Likewise.
6429         * config/i386/64/eqtf2.c: Likewise.
6430         * config/i386/64/getf2.c: Likewise.
6431         * config/i386/64/letf2.c: Likewise.
6432         * config/i386/64/t-fprules-softfp: Likewise.
6434 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6436         * config.host: Add i386/${host_address}/t-fprules-softfp to
6437         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
6438         i[34567]86-*-linux*, x86_64-*-linux*.
6440         * configure.ac: Set host_address to 64 or 32 for x86.
6441         * configure: Regenerated.
6443         * Makefile.in (config.status): Also depend on
6444         $(srcdir)/config.host.
6446         * config/i386/32/t-fprules-softfp: New.
6447         * config/i386/32/tf-signs.c: Likewise.
6449         * config/i386/64/sfp-machine.h: New. Moved from gcc.
6451 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6452             Uros Bizjak  <ubizjak@gmail.com>
6454         * config/i386/32/sfp-machine.h: New.
6456 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
6458         * config/rs6000/t-ppccomm: Remove rules that conflict with
6459         auto-generated rules.
6461 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6463         * configure.ac: sinclude override.m4.
6464         * configure: Regenerate.
6466 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
6468         * configure: Regenerate.
6470 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
6472         * Makefile.in (DECNUMINC): Remove
6473         -I$(MULTIBUILDTOP)../../libdecnumber.
6474         * gstdint.h: New.
6476 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
6478         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
6479         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
6480         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
6481         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
6482         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
6483         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6484         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
6485         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
6486         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
6487         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
6488         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
6489         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
6490         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
6491         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
6493 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
6495         * config.host (sh2[lbe]*-*-linux*): Allow target.
6497 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
6499         * config/rs6000/t-ppccomm: Add build rules for new files.
6500         (LIB2ADD_ST): New variable.
6502 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
6504         PR target/34210
6505         PR target/35508
6506         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
6507         * config/t-avr: New file. Build 16bit libgcc functions.
6509 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
6511         PR target/35401
6512         * config/t-slibgcc-darwin: Make install-leaf dependent on
6513         install-darwin-libgcc-stubs instead of install.
6515 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
6517         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
6518         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
6519         sh-*-rtemscoff*): Remove cases.
6521 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
6523         * Makefile.in (all): Use install-leaf rather than install.
6524         (install): Split most of the rule into...
6525         (install-leaf): ...this new one.
6527 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
6528             Paolo Bonzini  <bonzini@gnu.org>
6530         PR target/30572
6531         * Makefile.in: Use @shlib_slibdir@ substitution to get
6532         correct install name on darwin.
6533         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
6535 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
6537         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
6538         cris-*-elf and cris-*-none.
6539         (crisv32-*-linux*): Similar, as cris-*-linux*.
6541 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
6543         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
6545 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
6547         PR regression/33926
6548         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
6549         * configure: Regenerated.
6551 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
6553         * Makefile.in (dfp-filenames): Replace decimal_globals,
6554         decimal_data, binarydecimal and convert_data with
6555         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6556         and bid_convert_data, respectively.
6558 2007-09-17  Chao-ying Fu  <fu@mips.com>
6559             Nigel Stephens  <nigel@mips.com>
6561         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6562         * Makefile.in (fixed_point): Define.
6563         Check if fixed_point is yes to build support functions.
6564         * configure.ac: Check for fixed_point support.
6565         * configure: Regenerated.
6566         * gen-fixed.sh: New file to generate lists of fixed-point labels,
6567         funcs, modes, from, to.
6569 2007-09-11  Janis Johnson  <janis187@us.ibm.com
6571         * Makefile.in (dfp-filenames): Add bid128_noncomp.
6573 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
6575         * Makefile.in (dfp-filenames): Remove decUtility, add
6576         decDouble, decPacked, decQuad, decSingle.
6578 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
6580         * config.host : Add x86_64-elf target.
6582 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6584         * configure.ac (set_have_cc_tls): Add a missing =.
6585         * configure: Regenerated.
6587 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6589         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
6590         and x86_64-*-linux*.
6592         * config/t-tls: New file.
6594         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6596         * configure.ac: Include ../config/enable.m4 and
6597         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
6598         supports TLS and substitute set_have_cc_tls.
6599         * configure: Regenerated.
6601 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
6603         * Makefile.in: Use libbid for DFP when BID is enabled.
6605 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
6607         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
6608         extra_parts. Add config/i386/t-cygming to tmake_file.
6609         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
6611 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
6612             Danny Smith  <dannysmith@users.sourceforge.net>
6614         PR target/29498
6615         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
6616         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
6617         * config/i386/t-crtfm: Compile crtfastmath.o with
6618         -minline-all-stringops.
6620 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
6622         * config.host (sparc-wrs-vxworks): New target.
6624 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
6626         * config.host: Recognize fido.
6628 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
6630         * configure: Check host, not target, for decimal float support.
6632 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
6634         * config/i386/t-crtpc: New file.
6635         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
6636         (x86_64-*-linux*): Ditto.
6638 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
6640         * config.host (x86_64-*-mingw*): New target.
6642 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
6643             H.J. Lu  <hongjiu.lu@intel.com>
6645         * Makefile.in (enable_decimal_float): New.
6646         (DECNUMINC): Add
6647         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6648         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6649         (decbits-filenames): This.
6650         (decbits-objects): New.
6651         (libgcc-objects): Add $(decbits-objects).
6653         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6654         Substitute enable_decimal_float.
6655         * configure: Regenerated.
6657 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
6659         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6661 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
6663         * Makefile.in (install-info): New dummy target.
6665 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
6667         * config.host (bfin*-linux-uclibc*): Set extra_parts.
6669 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
6671         * Makefile.in: Add install-html and install-pdf dummy
6672         targets.
6674 2007-02-05  Roger Sayle  <roger@eyesopen.com>
6675             Daniel Jacobowitz  <dan@codesourcery.com>
6677         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6678         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6679         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6681 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
6683         * Makefile.in (dec-filenames): Add decExcept.
6685 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
6687         PR bootstrap/30469
6688         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6689         -fprofile-use.
6691 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
6693         * configure.ac: Add --enable-version-specific-runtime-libs.
6694         Correct $slibdir default.
6695         * configure: Regenerated.
6697 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
6699         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6701 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
6703         PR target/30519
6704         * config.host (alpha*-*-linux*): Set extra_parts.
6706 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
6708         * config/sh/t-linux: New.
6709         * config.host (sh*-*-linux*): Set tmake_file.
6711 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
6713         * Makefile.in (install): Handle multilibs.
6715 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
6717         * Makefile.in: Added .PHONY entry for documentation targets.
6719 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
6721         * Makefile.in: Add empty info, html, dvi, pdf targets.
6723 2007-01-04  Mike Stump  <mrs@apple.com>
6725         * Makefile.in (MAKEINFO): Remove.
6726         (PERL): Likewise.
6728 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
6730         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6731         * configure: Regenerate.
6732         * Makefile.in (host_subdir): Substitute it.
6733         (gcc_objdir): Use it.
6735 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
6737         * config.host (ia64*-*-linux*): Set tmake_file.
6739 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
6741         * Makefile.in (version): Define.
6743 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
6744             Paolo Bonzini  <bonzini@gnu.org>
6746         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6747         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6748         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6749         config/sparc/t-crtfm, config/t-slibgcc-darwin,
6750         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6751         shared-object.mk, siditi-object.mk, static-object.mk: New files.
6752         * configure: Generated.