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