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