[AArch64] Implement copysign[ds]f3
[official-gcc.git] / libgcc / ChangeLog
blob472dd78c2c6a560e27cc4d61ccd14e6521ede1ce
1 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
3         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4         Add support for call0 ABI.
6 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
8         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
10 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
12         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
13         (__GTHREAD_HAS_COND): Likewise.
14         (__gthread_t): Likewise.
15         (__gthread_cond_t): Likewise.
16         (__gthread_time_t): Likewise.
17         (__GTHREAD_MUTEX_INIT): Likewise.
18         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
19         (__GTHREAD_COND_INIT): Likewise.
20         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
21         (__GTHREAD_TIME_INIT): Likewise.
22         (__gthread_create): Likewise.
23         (__gthread_join): Likewise.
24         (__gthread_detach): Likewise.
25         (__gthread_equal): Likewise.
26         (__gthread_self): Likewise.
27         (__gthread_yield): Likewise.
28         (__gthread_cond_broadcast): Likewise.
29         (__gthread_cond_signal): Likewise.
30         (__gthread_cond_wait): Likewise.
31         (__gthread_cond_timedwait): Likewise.
32         (__gthread_cond_wait_recursive): Likewise.
33         (__gthread_cond_destroy): Likewise.
34         (rtems_gxx_once): Delete.
35         (rtems_gxx_key_create): Likewise.
36         (rtems_gxx_key_delete): Likewise.
37         (rtems_gxx_getspecific): Likewise.
38         (rtems_gxx_setspecific): Likewise.
39         (rtems_gxx_mutex_init): Likewise.
40         (rtems_gxx_mutex_destroy): Likewise.
41         (rtems_gxx_mutex_lock): Likewise.
42         (rtems_gxx_mutex_trylock): Likewise.
43         (rtems_gxx_mutex_unlock): Likewise.
44         (rtems_gxx_recursive_mutex_init): Likewise.
45         (rtems_gxx_recursive_mutex_lock): Likewise.
46         (rtems_gxx_recursive_mutex_trylock): Likewise.
47         (rtems_gxx_recursive_mutex_unlock): Likewise.
48         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
49         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
50         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
51         (__gthread_once): Likewise.
52         (__gthread_key_create): Likewise.
53         (__gthread_key_delete): Likewise.
54         (__gthread_getspecific): Likewise.
55         (__gthread_setspecific): Likewise.
56         (__gthread_key_t): Use <pthread.h> type.
57         (__gthread_once_t): Likewise
58         (__gthread_mutex_t): Use <sys/lock.h> type.
59         (__gthread_recursive_mutex_t): Likewise
60         (__gthread_mutex_lock): Use <sys/lock.h> function.
61         (__gthread_mutex_trylock): Likewise.
62         (__gthread_mutex_timedlock): Likewise.
63         (__gthread_mutex_unlock): Likewise.
64         (__gthread_mutex_destroy): Likewise.
65         (__gthread_recursive_mutex_lock): Likewise.
66         (__gthread_recursive_mutex_trylock): Likewise.
67         (__gthread_recursive_mutex_timedlock): Likewise.
68         (__gthread_recursive_mutex_unlock): Likewise.
69         (__gthread_recursive_mutex_destroy): Likewise.
71 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
73         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
74         context->sp instead of context->cfa.
76 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
78         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
79         with unwind-dw2-fde-dip.
81 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
83         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
84         CALL12 followed by series of ENTRY to spill windowed registers.
85         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
86         instead of making linux spill syscall.
88 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
90         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
91         (get_intel_cpu): Likewise.
93 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
95         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
96         (get_intel_cpu): Add Knights Landing support.
98 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
100         PR target/66954
101         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
102         (get_available_features): Handle FEATURE_PCLMUL.
104 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
106         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
107         Broadwell.
109 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
111         PR target/66954
112         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
113         (get_available_features): Handle FEATURE_AES.
115 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
117         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
118         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
120 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
122         * offloadstuff.c: Constify host data.
124 2015-07-17  Jan Beulich  <jbeulich@suse.com>
126         * config/t-softfp: Split up "else ifneq".
128 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
129             Cesar Philippidis  <cesar@codesourcery.com>
130             Chung-Lin Tang  <cltang@codesourcery.com>
132         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
133         for __nios2_arch__ level.
135 2015-07-13  John Marino  <gnugcc@marino.st>
137         * config/i386/t-dragonfly: New.
139 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
141         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
142         better match light-weight syscall argument order.
143         (__kernel_cmpxchg2): Likewise.
144         Adjust callers.
146 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
148         * config.host: Support i[34567]86-*-elfiamcu target.
149         * config/t-softfp-sfdftf: New file.
150         * config/i386/32/t-iamcu: Likewise.
151         * configure: Regenerated.
153 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
155         libgcc/config/arm/
156         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
158 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
160         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
162 2015-05-27  John Marino <gnugcc@marino.st>
164         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
165         md_unwind_header
166         * config/i386/freebsd-unwind.h: New.
168 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
170         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
171         i386/t-crtfm to tmake_file.
172         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
173         (set_fast_math): Use set_fast_math_sse for SSE targets.
174         * config/i386/t-crtfm: Remove.
176 2015-05-21  Alan Modra  <amodra@gmail.com>
178         PR libgcc/66225
179         * config/rs6000/morestack.S: Remove ".abiversion 1".
181 2015-05-20  Alan Modra  <amodra@gmail.com>
183         * config/rs6000/morestack.S: New.
184         * config/rs6000/t-stack-rs6000: New.
185         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
186         to tmake_file.
187         * generic-morestack.c: Don't build for powerpc 32-bit.
189 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
191         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
192         Remove useless endif/ifneq ($(enable_shared),yes) pair.
194 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
196         * config.host: FT32 target added.
197         * config/ft32/*: New files for FT32 target.
199 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
201         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
202         New macros.
203         * config/arm/ieee754-df.S: Add CFI directives.
204         * config/arm/ieee754-sf.S: Add CFI directives.
206 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
208         * configure.ac: Include config/sjlj.m4.
209         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
210         * config.in: Regenerate.
211         * configure: Likewise.
212         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
214 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
216         * libgcov-util.c: Add space between string literal and macro name.
218 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
219             Chris Jones  <chrisj@nvidia.com>
220             Joshua Conner  <jconner@nvidia.com>
222         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
223         (arm*-*-uclinux*): Likewise.
224         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
225         * config/arm/crtfastmath.c: New file.
227 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
229         * Makefile.in (real_host_noncanonical): New variable.
230         (libsubdir): Use it.
231         * configure.ac (real_host_noncanonical): Compute.  Remove special
232         case for intelmicemul.
233         * configure: Regenerate.
235 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
237         * config/frv/elf-lib.h: New file.
238         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
239         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
240         to tm_file.
242 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
244         * config/frv/frvbengin.c: Do not include defaults.h
245         * config/frv/frvend.c: Ditto.
247 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
249         * config.host: Add h8300-*-linux
250         * config/h8300/t-linux: New file.
251         * config/h8300/lib1funs.s: Change symbol prefix.
252         * config/h8300/sfp-machine.h: 64bit double support.
254 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
255             Szabolcs Nagy  <szabolcs.nagy@arm.com>
257         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
258         Linux if target provides dl_iterate_phdr.
260 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
262         PR target/65612
263         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
264         * config/i386/cpuinfo.c (__cpu_model): Initialize.
265         (__cpu_indicator_init@GCC_4.8.0): New.
266         (__cpu_model@GCC_4.8.0): Likewise.
267         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
268         -DUSE_ELF_SYMVER.
270 2015-04-16  Nick Clifton  <nickc@redhat.com>
272         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
273         and __modhi3 functions.
274         * config/rl78/divmodso.S: Add G14 and G13 versions of the
275         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
277 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
279         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
280         do-while loop as macro body to avoid warnings.
282 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
283             Iain Sandoe  <iain@codesourcery.com>
285         PR target/65351
286         * configure: Regenerate.
288 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
289             Iain Sandoe  <iain@codesourcery.com>
291         PR target/65351
292         * configure: Regenerate.
294 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
296         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
298 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
300         Implement call0 ABI for xtensa
301         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
302         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
303         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
304         use ret in call0 ABI.
305         * config/xtensa/t-windowed: New file.
306         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
307         * libgcc/configure: Regenerated.
308         * libgcc/configure.ac: Check if xtensa target is configured for
309         windowed ABI and thus needs to use custom unwind code.
311 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
313         PR libgcc/64885
314         * gthr-single.h: Use __unused__ attribute instead of unused.
315         * config/gthr-vxworks.h: Likewise.
316         * config/i386/gthr-win32.h: Likewise.
318 2015-02-27  Kai Tietz  <ktietz@redhat.com>
320         PR target/65038
321         * config.in: Regenerated.
322         * configure: Likewise.
323         * configure.ac (AC_HEADER_STDC): Added explicit.
324         (AC_CHECK_HEADERS): Check for default headers  plus
325         for ftw.h header.
326         * libgcov-util.c (gcov_read_profile_dir): Disable use
327         of ftw-function, if header is not found.
328         (ftw_read_file): Likewise.
330 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
332         PR target/65181
333         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
334         -Dinhibit_libc.
336 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
338         * config/arm/bpabi.S (test_div_by_zero): Make label names
339         consistent between thumb2 and arm mode cases.  Separate the
340         signed comparison on the high word of the numerator from the
341         unsigned comparison on the low word.
342         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
343         signed comparison.
345 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
347         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
348         and <string.h>.
349         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
351 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
353         PR gcov-profile/61889
354         * libgcov-driver-system.c: undefine clashing macro for mkdir.
356 2015-02-02  Nick Clifton  <nickc@redhat.com>
358         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
359         rounding up the fraction.
361 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
363         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
364         oldval and newval to const void *.  Fix typo.
365         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
366         (FETCH_AND_OP_WORD): Likewise.
367         (OP_AND_FETCH_WORD): Likewise.
368         (COMPARE_AND_SWAP_2): Likewise.
369         (__sync_val_compare_and_swap_4): Likewise.
370         (__sync_lock_test_and_set_4): Likewise.
371         (SYNC_LOCK_RELEASE_2): Likewise.
372         Remove support for long long atomic operations.
374 2015-01-27  Caroline Tice  <cmtice@google.com>
376         Committing VTV Cywin/Ming patch for Patrick Wollgast
377         * Makefile.in: Move rules to build vtv_*.o out of the check
378         for CUSTOM_CRTSTUFF.
379         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
380         i[34567]86-*-mingw*)
381          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
382         enable_vtable_verify.
384 2015-01-27  Nick Clifton  <nickc@redhat.com>
386         * config/rl78/cmpsi2.S: Use function start and end macros.
387         (__gcc_bcmp): New function.
388         * config/rl78/lshrsi3.S: Use function start and end macros.
389         * config/rl78/mulsi3.S: Add support for G10.
390         (__mulqi3): New function for G10.
391         * config/rl78/signbit.S: Use function start and end macros.
392         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
393         fpmath-sf.S.
394         (LIB2FUNCS_EXCLUDE): Define.
395         (LIB2FUNCS_ST): Define.
396         * config/rl78/trampoline.S: Use function start and end macros.
397         * config/rl78/vregs.h (START_FUNC): New macro.
398         (START_ANOTHER_FUNC): New macro.
399         (END_FUNC): New macro.
400         (END_ANOTHER_FUNC): New macro.
401         * config/rl78/bit-count.S: New file.  Contains assembler
402         implementations of the bit counting functions: ___clzhi2,
403         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
404         __paritysi2, __popcounthi2 and __popcountsi2.
405         * config/rl78/fpbit-sf.S: New file.  Contains assembler
406         implementationas of the math functions: __negsf2, __cmpsf2,
407         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
408         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
409         * config/rl78/fpmath-sf.S: New file.  Contains assembler
410         implementations of the math functions: __subsf3, __addsf3,
411         __mulsf3 and __divsf3
413 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
415         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
416         Add i386/elf-lib.h to tm_file.
417         * config/i386/elf-lib.h: Fix comment.
418         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
419         && __sun__ && __svr4__]: Remove workaround.
421 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
423         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
424         FEATURE_BMI2.
425         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
427 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
429         * config/i386/cpuinfo.c (processor_subtypes): Add
430         INTEL_COREI7_BROADWELL.
431         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
432         model numbers.
434 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
436         * config/i386/elf-lib.h: New file.
437         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
438         Wrap definition in #ifdef __i386__.
439         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
440         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
441         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
442         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
443         to tm_file.
445 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
447         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
448         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
450 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
452         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
453         Update rt_sigframe format and address for current Nios II
454         Linux conventions.
456 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
458         * config.host (arm*-*-freebsd*): Add new configuration for
459         arm*-*-freebsd*.
460         * config/arm/freebsd-atomic.c: New file.
461         * config/arm/t-freebsd: Likewise.
462         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
463         'PC-relative indirect' OS's.
465 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
467         * config.host: Add Visium support.
468         * config/visium: New directory.
470 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
472         Update copyright years.
474 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
476         * config.host: Support mipsisa32r6 and mipsisa64r6.
477         * config/mips/mips16.S: Do not build for R6.
479 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
481         * config/sh/crt.h: New.
482         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
483         symbols.
484         * config/sh/crt1.S: Likewise.
486 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
488         PR libgcc/63832
489         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
490         func_ptr *dtor_list temporary variable to avoid "array subscript
491         is above array bounds" warnings.
493 2014-12-09  Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
495         * Makefile.in (with_aix_soname): Define.
496         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
497         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
498         * configure: Recreate.
500 2014-12-05  Olivier Hainque  <hainque@adacore.com>
502         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
503         now provided by defaults.h.
505 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
507         PR target/55351
508         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
509         whether it's defined.
511 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
513         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
514         * config/i386/cpuinfo.c (get_available_features): Detect it.
516 2014-11-27  Tony Wang  <tony.wang@arm.com>
518         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
519         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
520         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
522 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
524         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
526 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
528         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
529         instead.
531 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
532             John David Anglin  <danglin@gcc.gnu.org>
534         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
535         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
536         (OP_AND_FETCH_2): Likewise.
537         (COMPARE_AND_SWAP_2): Likewise.
538         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
539         (SYNC_LOCK_RELEASE_2): Likewise.
540         (SUBWORD_SYNC_OP): Remove.
541         (SUBWORD_VAL_CAS): Likewise.
542         (SUBWORD_BOOL_CAS): Likewise.
543         (FETCH_AND_OP_WORD): Update.
544         Consistently use signed types.
546 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
547             Thomas Schwinge  <thomas@codesourcery.com>
548             Ilya Verbin  <ilya.verbin@intel.com>
549             Andrey Turetskiy  <andrey.turetskiy@intel.com>
551         * Makefile.in (crtoffloadbegin$(objext)): New rule.
552         (crtoffloadend$(objext)): Likewise.
553         * configure: Regenerate.
554         * configure.ac (accel_dir_suffix): Compute new variable.
555         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
556         if enable_offload_targets is not empty.
557         * offloadstuff.c: New file.
559 2014-11-13  Nick Clifton  <nickc@redhat.com>
561         * config/rl78/divmodhi.S: Add support for the G10 architecture.
562         Use START_FUNC and END_FUNC macros to enable linker garbage
563         collection.
564         * config/rl78/divmodqi.S: Likewise.
565         * config/rl78/divmodsi.S: Likewise.
566         * config/rl78/mulsi3.S: Likewise.
567         * config/rl78/lib2div.c: Remove G10 functions.
568         * config/rl78/lib2muls.c: Likewise.
569         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
570         * config/rl78/vregs.h (START_FUNC): New macro.
571         (END_FUNC): New macro.
573 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
575         * config/mips/mips16.S: Set .module when supported.  Update O32
576         FP64 calling convention and use for FPXX when possible.  Add FPXX
577         calling convention fallback case.
579 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
581         * config.host: Handle nvptx-*-*.
582         * shared-object.mk (as-flags-$o): Define.
583         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
584         -xassembler-with-cpp.
585         * static-object.mk: Identical changes.
586         * config/nvptx/t-nvptx: New file.
587         * config/nvptx/crt0.s: New file.
588         * config/nvptx/free.asm: New file.
589         * config/nvptx/malloc.asm: New file.
590         * config/nvptx/realloc.c: New file.
592 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
594         * Makefile.in (libgcc.map.in): New target.
595         (libgcc.map): Use libgcc.map.in.
596         * config/t-softfp (softfp_compat): New variable to be set by
597         users.
598         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
599         variables.
600         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
601         directory.
602         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
603         that use compat symbols and disable all code unless [SHARED].
604         * config/t-softfp-compat: New file.
605         * find-symver.awk: New file.
606         * configure.ac (--with-glibc-version): New configure option.
607         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
608         * configure: Regenerate.
609         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
610         soft-float and e500.
612 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
614         * config/t-hardfp (hardfp_exclusions): Document new variable for
615         user to define.
616         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
617         * config/t-softfp (softfp_extras): Document new variable for user
618         to define.
619         (softfp_func_list): Add functions from $(softfp_extras).
620         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
621         * config.host (powerpc*-*-linux*): For e500v1, use
622         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
623         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
624         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
626 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
628         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
629         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
630         memory read accesses are ok.
632 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
634         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
635         * configure: Regenerate.
636         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
637         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
638         of soft-fp for 32-bit classic hard float.  Do not use
639         t-softfp-excl for soft float.
641 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
643         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
644         configurations.
645         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
646         Remove variables.
648 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
650         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
651         introduced with 2014-10-21 trunk r216525.
653 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
654             Vidya Praveen <vidya.praveen@atmel.com>
655             Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
656             Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
657             Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
659         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
660         order.
662         Updated library functions for AVRTINY arch.
663         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
664         Replaced occurrences of r0/r1 with tmp/zero reg macros.
665         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
666         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
667         wsubi/wadi macors.
668         (__mulsi3_helper): Update stack, preserve callee saved regs and
669         argument from stack. Restore callee save registers.
670         (__mulpsi3): Likewise.
671         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
672         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
673         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
674         AVRTINY.
675         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
676         (__do_copy_data): Added new definition for AVRTINY.
677         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
678         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
679         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
680         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
681         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
682         macors.
683         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
684         AVRTINY.
686         Fix broken long multiplication on tiny arch.
688 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
690         * soft-fp/double.h: Update from glibc.
691         * soft-fp/eqdf2.c: Likewise.
692         * soft-fp/eqsf2.c: Likewise.
693         * soft-fp/eqtf2.c: Likewise.
694         * soft-fp/extenddftf2.c: Likewise.
695         * soft-fp/extended.h: Likewise.
696         * soft-fp/extendsfdf2.c: Likewise.
697         * soft-fp/extendsftf2.c: Likewise.
698         * soft-fp/extendxftf2.c: Likewise.
699         * soft-fp/gedf2.c: Likewise.
700         * soft-fp/gesf2.c: Likewise.
701         * soft-fp/getf2.c: Likewise.
702         * soft-fp/ledf2.c: Likewise.
703         * soft-fp/lesf2.c: Likewise.
704         * soft-fp/letf2.c: Likewise.
705         * soft-fp/op-1.h: Likewise.
706         * soft-fp/op-2.h: Likewise.
707         * soft-fp/op-4.h: Likewise.
708         * soft-fp/op-8.h: Likewise.
709         * soft-fp/op-common.h: Likewise.
710         * soft-fp/quad.h: Likewise.
711         * soft-fp/single.h: Likewise.
712         * soft-fp/soft-fp.h: Likewise.
713         * soft-fp/unorddf2.c: Likewise.
714         * soft-fp/unordsf2.c: Likewise.
715         * soft-fp/unordtf2.c: Likewise.
716         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
717         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
718         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
719         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
720         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
721         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
722         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
723         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
724         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
725         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
727 2014-10-08  Rong Xu  <xur@google.com>
729         * libgcov-util.c (read_gcda_file): Fix format.
730         (find_match_gcov_info): Ditto.
731         (calculate_2_entries): New.
732         (compute_one_gcov): Ditto.
733         (gcov_info_count_all_cold): Ditto.
734         (gcov_info_count_all_zero): Ditto.
735         (extract_file_basename): Ditto.
736         (get_file_basename): Ditto.
737         (set_flag): Ditto.
738         (matched_gcov_info): Ditto.
739         (calculate_overlap): Ditto.
740         (gcov_profile_overlap): Ditto.
741         * libgcov-driver.c (compute_summary): Make
742         it avavilable for external calls.
744 2014-10-06  Rong Xu  <xur@google.com>
746         * Makefile.in: Ditto.
747         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
748         (gcov_sort_icall_topn_counter): Ditto.
749         (gcov_sort_topn_counter_arrays): Ditto.
750         (dump_one_gcov): Sort indirect_call topn counters.
751         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
752         function.
753         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
754         utility function.
755         (__gcov_indirect_call_topn_profiler): New profiler function.
756         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
757         * libgcov.h: New decls.
759 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
761         * config.host: Remove support for score-*.
763 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
765         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
766         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
767         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
768         __LIBGCC_XF_MANT_DIG__.
769         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
770         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
771         __LIBGCC_TF_MANT_DIG__.
772         * libgcc2.c (NOTRUNC): Define in terms of
773         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
774         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
776 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
778         PR target/63312
779         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
780         New macros.
782 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
784         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
785         override USE_PT_GNU_EH_FRAME.
786         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
787         check USE_EH_FRAME_REGISTRY_ALWAYS against
788         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
789         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
790         variable for substituted force_explicit_eh_registry.
791         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
792         * configure.ac (explicit-exception-frame-registration):
793         New AC_ARG_ENABLE.
794         * configure: Regenerate.
796 2014-09-19  Olivier Hainque  <hainque@adacore.com>
798         * config.host (powerpc-wrs-vxworksmils): New configuration,
799         same as vxworksae.
801 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
803         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
805 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
807         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
808         bits not set bits as indicating trapping exceptions.
810 2014-09-17  Nathan sidwell  <nathan@acm.org>
812         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
813         (LIBGCOV_DRIVER): ... here.
814         * libgcov-driver.c (gcov_master): New.
815         (gcov_exit): Remove from master chain.
816         (__gcov_init): Add to master chain if version compatible.  Don't
817         clear the version.
818         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
819         (gcov_reset_int): Clear master chain, if compatible.
820         (gcov_dump_int): New internal interface.  Dump master chain, if
821         compatible.
822         (gcov_dump): Alias for gcov_dump_int.
823         * libgcov.h (struct gcov_root): Add next and prev fields.
824         (struct gcov_master): New struct.
825         (__gcov_master): New.
826         (gcov_dump_int): Declare.
828 2014-09-17  Olivier Hainque  <hainque@adacore.com>
830         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
831         and crtbegin.o + crtend.o to extra_parts.
833 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
835         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
836         __LIBGCC_HAS_SF_MODE__.
837         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
838         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
839         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
840         * config/libbid/bid_gcc_intrinsics.h
841         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
842         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
843         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
844         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
845         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
846         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
848 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
850         PR target/63223
851         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
852         and R24 as needed.  Make work for all devices and .text locations.
853         (__do_global_ctors, __do_global_dtors): Use word addresses.
854         (__tablejump__, __tablejump_elpm__): Remove functions.
855         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
856         Add _tablejump2.
857         (XICALL, XIJMP): New macros.
859 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
860         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
862         * config.host (aarch64*): Include crtfastmath.o and
863         t-crtfm.
864         * config/aarch64/crtfastmath.c: New file.
866 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
868         * config.host: Remove picochip support.
869         * config/picochip/adddi3.S: Remove.
870         * config/picochip/ashlsi3.S: Remove.
871         * config/picochip/ashlsi3.c: Remove.
872         * config/picochip/ashrsi3.S: Remove.
873         * config/picochip/ashrsi3.c: Remove.
874         * config/picochip/clzsi2.S: Remove.
875         * config/picochip/cmpsi2.S: Remove.
876         * config/picochip/divmod15.S: Remove.
877         * config/picochip/divmodhi4.S: Remove.
878         * config/picochip/divmodsi4.S: Remove.
879         * config/picochip/lib1funcs.S: Remove.
880         * config/picochip/longjmp.S: Remove.
881         * config/picochip/lshrsi3.S: Remove.
882         * config/picochip/lshrsi3.c: Remove.
883         * config/picochip/parityhi2.S: Remove.
884         * config/picochip/popcounthi2.S: Remove.
885         * config/picochip/setjmp.S: Remove.
886         * config/picochip/subdi3.S: Remove.
887         * config/picochip/t-picochip: Remove.
888         * config/picochip/ucmpsi2.S: Remove.
889         * config/picochip/udivmodhi4.S: Remove.
890         * config/picochip/udivmodsi4.S: Remove.
892 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
894         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
895         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
896         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
897         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
898         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
899         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
900         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
901         defined and LIBGCC2_HAS_DF_MODE is defined.
902         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
903         defined and LIBGCC2_HAS_XF_MODE is defined.
904         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
905         defined and LIBGCC2_HAS_TF_MODE is defined.
907 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
909         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
910         and ROUND_TOWARDS_ZERO conditionals.
912 2014-09-07  Nathan sidwell  <nathan@acm.org>
914         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
915         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
917 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
919         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
920         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
921         uses to __LIBGCC_STACK_POINTER_REGNUM__.
922         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
923         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
924         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
925         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
926         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
927         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
928         (DWARF_FRAME_REGISTERS): Change all uses to
929         __LIBGCC_DWARF_FRAME_REGISTERS__.
930         (EH_RETURN_STACKADJ_RTX): Change all uses to
931         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
932         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
933         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
934         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
935         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
936         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
937         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
938         to __LIBGCC_EH_FRAME_SECTION_NAME__.
939         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
940         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
941         __LIBGCC_STACK_POINTER_REGNUM__.
942         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
943         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
944         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
945         to __LIBGCC_STACK_POINTER_REGNUM__.
946         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
947         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
948         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
949         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
950         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
951         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
952         (STACK_POINTER_REGNUM): Change all uses to
953         __LIBGCC_STACK_POINTER_REGNUM__.
954         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
955         use to __LIBGCC_STACK_POINTER_REGNUM__.
956         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
957         uses to __LIBGCC_STACK_POINTER_REGNUM__.
958         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
959         to __LIBGCC_DWARF_FRAME_REGISTERS__.
960         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
961         to __LIBGCC_DWARF_FRAME_REGISTERS__.
962         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
963         to __LIBGCC_STACK_POINTER_REGNUM__.
964         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
965         Remove conditional definition.
966         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
967         __LIBGCC_TEXT_SECTION_ASM_OP__.
968         (EH_FRAME_SECTION_NAME): Change all uses to
969         __LIBGCC_EH_FRAME_SECTION_NAME__.
970         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
971         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
972         (CTORS_SECTION_ASM_OP): Change all uses to
973         __LIBGCC_CTORS_SECTION_ASM_OP__.
974         (DTORS_SECTION_ASM_OP): Change all uses to
975         __LIBGCC_DTORS_SECTION_ASM_OP__.
976         (JCR_SECTION_NAME): Change all uses to
977         __LIBGCC_JCR_SECTION_NAME__.
978         (INIT_SECTION_ASM_OP): Change all uses to
979         __LIBGCC_INIT_SECTION_ASM_OP__.
980         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
981         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
982         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
983         __LIBGCC_STACK_GROWS_DOWNWARD__.
984         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
985         __LIBGCC_INIT_SECTION_ASM_OP__.
986         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
987         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
988         (EH_FRAME_SECTION_NAME): Change all uses to
989         __LIBGCC_EH_FRAME_SECTION_NAME__.
990         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
991         definitions.  Change all uses to
992         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
993         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
994         __LIBGCC_STACK_GROWS_DOWNWARD__.
995         (DWARF_FRAME_REGISTERS): Change all uses to
996         __LIBGCC_DWARF_FRAME_REGISTERS__.
997         (EH_RETURN_STACKADJ_RTX): Change all uses to
998         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
999         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
1000         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
1001         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
1002         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
1003         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
1005 2014-09-02  Nathan sidwell  <nathan@acm.org>
1007         * libgcov-interface.c (STRONG_ALIAS): New.
1008         (__gcov_flush): Call __gcov_reset_int.
1009         (__gcov_reset): Strong alias for ...
1010         (__gcov_reset_ing): ... this renamed hidden version.
1011         * libgcov.h (__gcov_reset_int): New declaration.
1013 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
1015         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
1016         call from here...
1017         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
1018         (__dso_handle): Define on Cygwin.
1019         * config/i386/t-cygming (crtbeginS.o): New rule.
1020         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
1022         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
1023         declaration syntax.
1025 2014-08-13  Steve Ellcey  <sellcey@mips.com>
1027         * crtstuff.c: Undef caddr_t.
1029 2014-08-12  Steve Ellcey  <sellcey@mips.com>
1031         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
1033 2014-08-07  Nathan Sidwell  <nathan@acm.org>
1035         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
1036         (LIBGCOV_DRIVER): ... to here.
1037         * libgcov.h (gcov_do_dump): New #define.
1038         (struct gcov_root): New.
1039         (__gcov_root): New declaration.
1040         (__gcov_dump_one): Declare.
1041         * libgcov-driver.c (gcov_list, gcov_dump_complete,
1042         run_accounted): Delete.
1043         (gcov_compute_histogram): Add LIST argument, adjust.
1044         (compute_summary): Adjust gcov_compute_histogram call.
1045         (gcov_do_dump): Not hidden, static in libgcov.
1046         (gcov_clear): Move  to interface.c.
1047         (__gcov_dump_one): New, broken out of ...
1048         (gcov_exit): ... here.  Make static.
1049         (__gcov_root): New.
1050         (__gcov_init): Adjust.
1051         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
1052         declarations.
1053         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
1054         (gcov_clear): Moved from driver.c.   Add LIST argument.
1055         (__gcov_reset): Adjust for changed interfaces.
1056         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
1058 2014-08-04  Rohit  <rohitarulraj@freescale.com>
1060         PR target/60102
1061         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
1062         based on change in SPE high register numbers and 3 HTM registers.
1064 2014-08-01  Nathan Sidwell  <nathan@acm.org>
1066         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
1067         LIBGCOV_INTERFACE): Reformat.
1068         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
1069         IN_GCOV_TOOL.
1070         * libgcov-interface.c: Reformat some comments.
1071         (__gcov_flush_mx): Add declaration.  Tidy up definition.
1073 2014-07-31  Alan Modra  <amodra@gmail.com>
1074             Peter Bergner  <bergner@vnet.ibm.com>
1076         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
1077         (pack_ldouble): New function.
1078         (__gcc_qadd): Use it.
1079         (__gcc_qmul): Likewise.
1080         (__gcc_qdiv): Likewise.
1081         (__gcc_qneg): Likewise.
1082         (__gcc_stoq): Likewise.
1083         (__gcc_dtoq): Likewise.
1085 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
1087         * config/s390/tpf-unwind.h: Include <stdbool.h>.
1088         (__tpf_eh_return): Add original return address as second parameter.
1089         Handle cases where unwinder routines were called directly, instead
1090         of from within the C++ library.
1092 2014-07-29  Nathan Sidwell  <nathan@acm.org>
1094         * libgcov.h: Move renaming of entry points to lib gcov specific
1095         portion.
1096         (gcov_do_dump): New rename.
1097         (gcov_rewrite): Remove inline, make HIDDEN.
1098         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
1099         (gcov_exit_compute_summary): Rename to ...
1100         (compute_summary): ... here.  Add LIST argument.
1101         (gcov_exit_merge_gcda): Rename to ...
1102         (merge_one_data): ... here.
1103         (gcov_exit_write_gcda): Rename to ...
1104         (write_one_data): ... here.
1105         (gcov_exit_merge_summary): Rename to ...
1106         (merge_summary): Add RUN_COUNTED argument.
1107         (gcov_exit_dump_gcov): Rename to ...
1108         (dump_one_gcov): Add RUN_COUNTED argument.
1109         (gcov_do_dump): New function, broken out of ...
1110         (gcov_exit): ... here.  Call it.
1112 2014-07-27  Anthony Green  <green@moxielogic.com>
1114         * config.host: Add moxiebox configuration suppport.
1116 2014-07-27  Nathan Sidwell  <nathan@acm.org>
1118         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
1119         (struct gcov_filename): ... here.  Include buffer and max length
1120         fields.
1121         (gcov_max_filename): Remove.
1122         (gi_filename): Remove.
1123         (gcov_exit_compute_summary): Compute max filename here.
1124         (gcov_exit_merge_gcda): Add filename parm, adjust.
1125         (gcov_exit_merge_summary): Likewise.
1126         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
1127         (gcov_exit): Likewise.
1128         (__gcov_init): Don't calculate max length here.
1129         * libgcov_util.c (max_filename_len): Remove.
1130         (read_gcda_file): Don't calculate max length here.
1131         (gcov_read_profile_dir): Don't propagate here.
1132         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
1133         struct gcov_filename changes.
1134         (gcov_exit_open_gcda_file): Likewise.
1136 2014-07-25  Nathan Sidwell  <nathan@acm.org>
1138         * libgcov-driver.c (set_gcov_dump_complete,
1139         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
1140         functions polluting user's namespace.
1141         (gcov_exit): Set variable directly.
1142         (gcov_clear): Reset variable directly.
1143         * libgcov-interface.c (get_gcov_dymp_complete,
1144         reset_gov_dump_complete): Remove declarations.
1145         (__gcov_reset, __gcov_dump): Don't call them.
1147 2014-07-24  DJ Delorie  <dj@redhat.com>
1149         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
1150         (__gcc_deregister_frame): Move logic to detect deregister function
1151         to ...
1152         (__gcc_register_frame): here, so it's consistent with the register
1153         logic.
1155 2014-07-23  Nathan Sidwell  <nathan@acm.org>
1157         * libgcov-driver.c (set_gcov_list): Remove.
1158         (gcov_list): Make non-static in GCOV_TOOL.
1159         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
1161 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
1163         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
1164         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
1165         Don't use SYNC_LOCK_RELEASE for int type.
1167 2014-07-14  Richard Biener  <rguenther@suse.de>
1169         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
1171 2014-07-11  Rong Xu  <xur@google.com>
1173         * libgcov-util.c (gcov_max_filename): Fix declartion.
1175 2014-07-10  Rong Xu  <xur@google.com>
1177         Add gcov-tool: an offline gcda profile processing tool
1178         Support.
1179         * libgcov-driver.c (gcov_max_filename): Make available
1180         to gcov-tool.
1181         * libgcov-merge.c (__gcov_merge_add): Replace
1182         gcov_read_counter() with a Macro.
1183         (__gcov_merge_ior): Ditto.
1184         (__gcov_merge_time_profile): Ditto.
1185         (__gcov_merge_single): Ditto.
1186         (__gcov_merge_delta): Ditto.
1187         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
1188         in the utility functions.
1189         (set_fn_ctrs): Utility function for reading gcda files to in-memory
1190         gcov_list object link lists.
1191         (tag_function): Ditto.
1192         (tag_blocks): Ditto.
1193         (tag_arcs): Ditto.
1194         (tag_lines): Ditto.
1195         (tag_counters): Ditto.
1196         (tag_summary): Ditto.
1197         (read_gcda_finalize): Ditto.
1198         (read_gcda_file): Ditto.
1199         (ftw_read_file): Ditto.
1200         (read_profile_dir_init): Ditto.
1201         (gcov_read_profile_dir): Ditto.
1202         (gcov_read_counter_mem): Ditto.
1203         (gcov_get_merge_weight): Ditto.
1204         (merge_wrapper): A wrapper function that calls merging handler.
1205         (gcov_merge): Merge two gcov_info objects with weights.
1206         (find_match_gcov_info): Find the matched gcov_info in the list.
1207         (gcov_profile_merge): Merge two gcov_info object lists.
1208         (__gcov_add_counter_op): Process edge profile counter values.
1209         (__gcov_ior_counter_op): Process IOR profile counter values.
1210         (__gcov_delta_counter_op): Process delta profile counter values.
1211         (__gcov_single_counter_op): Process single  profile counter values.
1212         (fp_scale): Callback function for float-point scaling.
1213         (int_scale): Callback function for integer fraction scaling.
1214         (gcov_profile_scale): Scaling profile counters.
1215         (gcov_profile_normalize): Normalize profile counters.
1216         * libgcov.h: Add headers and functions for gcov-tool use.
1217         (gcov_get_counter): New.
1218         (gcov_get_counter_target): Ditto.
1219         (struct gcov_info): Make the functions field mutable in gcov-tool
1220         compilation.
1222 2014-06-23  Kai Tietz  <ktietz@redhat.com>
1224         PR libgcc/61585
1225         * unwind-seh.c (_Unwind_GetGR): Check for proper
1226         index range.
1227         (_Unwind_SetGR): Likewise.
1229 2014-05-22  Nick Clifton  <nickc@redhat.com>
1231         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1232         -mhwmult=none.
1234 2014-05-22  Teresa Johnson  <tejohnson@google.com>
1236         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1237         include.
1239 2014-05-20  John Marino  <gnugcc@marino.st>
1241         * config.host (*-*-dragonfly*): New target.
1242         * crtstuff.c: Make dl_iterate_support generic on *bsd.
1243         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1244         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1245         * config/i386/dragonfly-unwind.h: New.
1247 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
1249         PR libgcc/60166
1250         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1251         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1253 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1255         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1256         implementation.
1258 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
1260         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1262 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1264         PR libgcc/61097
1265         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1266         if --enable-shared.
1268 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1270         Work around for current cygwin32 build problems.
1271         * config/i386/cygming-crtbegin.c (__register_frame_info,
1272         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1273         functions only for 64-bit systems.
1275 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1277         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1278         (sigill_caught, sigill_hdlr): Remove.
1280 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1282         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1283         check.
1284         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1285         Solaris 9 single-threaded support.
1286         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1287         Solaris 9 single-threaded support.  Add call_user_handler code
1288         sequences.
1289         (sparc_is_sighandler): Likewise.
1291 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1293         * config.host: Append t-floattodi to tmake_file depending on
1294         host_address.
1296 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
1298         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
1300 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
1302         PR libgcc/60472
1303         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
1304         variable to avoid "array subscript is above array bounds" warnings.
1305         Use __builtin_expect when checking *jcr_list for NULL.
1307 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1309         PR libgcc/59339
1310         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1311         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1312         vtv_*.o to extra_parts if enable_vtable_verify.
1314 2014-03-06  Nick Clifton  <nickc@redhat.com>
1316         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1317         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1319 2014-02-28  Joey Ye  <joey.ye@arm.com>
1321         PR libgcc/60166
1322         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1323         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1324         Set to zero.
1326 2014-02-24  Walter Lee  <walt@tilera.com>
1328         * config.host: Support "tilegx*" and "tilepro*" triplets.
1329         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1330         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1332 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
1333             Chung-Lin Tang  <cltang@codesourcery.com>
1335         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1336         * config/nios2/crti.S: Remove .file directive.
1337         * config/nios2/crtn.S: Likewise.
1339 2014-02-18  Kai Tietz  <ktietz@redhat.com>
1340         Jonathan Schleifer  <js@webkeks.org>
1342         PR objc/56870
1343         * unwind-seh.c (_GCC_specific_handler): Pass proper
1344         value to unwind-handler.
1346 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
1348         * soft-fp/adddf3.c: Update from glibc.
1349         * soft-fp/addsf3.c: Likewise.
1350         * soft-fp/addtf3.c: Likewise.
1351         * soft-fp/divdf3.c: Likewise.
1352         * soft-fp/divsf3.c: Likewise.
1353         * soft-fp/divtf3.c: Likewise.
1354         * soft-fp/double.h: Likewise.
1355         * soft-fp/eqdf2.c: Likewise.
1356         * soft-fp/eqsf2.c: Likewise.
1357         * soft-fp/eqtf2.c: Likewise.
1358         * soft-fp/extenddftf2.c: Likewise.
1359         * soft-fp/extended.h: Likewise.
1360         * soft-fp/extendsfdf2.c: Likewise.
1361         * soft-fp/extendsftf2.c: Likewise.
1362         * soft-fp/extendxftf2.c: Likewise.
1363         * soft-fp/fixdfdi.c: Likewise.
1364         * soft-fp/fixdfsi.c: Likewise.
1365         * soft-fp/fixdfti.c: Likewise.
1366         * soft-fp/fixsfdi.c: Likewise.
1367         * soft-fp/fixsfsi.c: Likewise.
1368         * soft-fp/fixsfti.c: Likewise.
1369         * soft-fp/fixtfdi.c: Likewise.
1370         * soft-fp/fixtfsi.c: Likewise.
1371         * soft-fp/fixtfti.c: Likewise.
1372         * soft-fp/fixunsdfdi.c: Likewise.
1373         * soft-fp/fixunsdfsi.c: Likewise.
1374         * soft-fp/fixunsdfti.c: Likewise.
1375         * soft-fp/fixunssfdi.c: Likewise.
1376         * soft-fp/fixunssfsi.c: Likewise.
1377         * soft-fp/fixunssfti.c: Likewise.
1378         * soft-fp/fixunstfdi.c: Likewise.
1379         * soft-fp/fixunstfsi.c: Likewise.
1380         * soft-fp/fixunstfti.c: Likewise.
1381         * soft-fp/floatdidf.c: Likewise.
1382         * soft-fp/floatdisf.c: Likewise.
1383         * soft-fp/floatditf.c: Likewise.
1384         * soft-fp/floatsidf.c: Likewise.
1385         * soft-fp/floatsisf.c: Likewise.
1386         * soft-fp/floatsitf.c: Likewise.
1387         * soft-fp/floattidf.c: Likewise.
1388         * soft-fp/floattisf.c: Likewise.
1389         * soft-fp/floattitf.c: Likewise.
1390         * soft-fp/floatundidf.c: Likewise.
1391         * soft-fp/floatundisf.c: Likewise.
1392         * soft-fp/floatunditf.c: Likewise.
1393         * soft-fp/floatunsidf.c: Likewise.
1394         * soft-fp/floatunsisf.c: Likewise.
1395         * soft-fp/floatunsitf.c: Likewise.
1396         * soft-fp/floatuntidf.c: Likewise.
1397         * soft-fp/floatuntisf.c: Likewise.
1398         * soft-fp/floatuntitf.c: Likewise.
1399         * soft-fp/gedf2.c: Likewise.
1400         * soft-fp/gesf2.c: Likewise.
1401         * soft-fp/getf2.c: Likewise.
1402         * soft-fp/ledf2.c: Likewise.
1403         * soft-fp/lesf2.c: Likewise.
1404         * soft-fp/letf2.c: Likewise.
1405         * soft-fp/muldf3.c: Likewise.
1406         * soft-fp/mulsf3.c: Likewise.
1407         * soft-fp/multf3.c: Likewise.
1408         * soft-fp/negdf2.c: Likewise.
1409         * soft-fp/negsf2.c: Likewise.
1410         * soft-fp/negtf2.c: Likewise.
1411         * soft-fp/op-1.h: Likewise.
1412         * soft-fp/op-2.h: Likewise.
1413         * soft-fp/op-4.h: Likewise.
1414         * soft-fp/op-8.h: Likewise.
1415         * soft-fp/op-common.h: Likewise.
1416         * soft-fp/quad.h: Likewise.
1417         * soft-fp/single.h: Likewise.
1418         * soft-fp/soft-fp.h: Likewise.
1419         * soft-fp/subdf3.c: Likewise.
1420         * soft-fp/subsf3.c: Likewise.
1421         * soft-fp/subtf3.c: Likewise.
1422         * soft-fp/truncdfsf2.c: Likewise.
1423         * soft-fp/trunctfdf2.c: Likewise.
1424         * soft-fp/trunctfsf2.c: Likewise.
1425         * soft-fp/trunctfxf2.c: Likewise.
1426         * soft-fp/unorddf2.c: Likewise.
1427         * soft-fp/unordsf2.c: Likewise.
1428         * soft-fp/unordtf2.c: Likewise.
1429         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1430         macro.
1431         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1432         Likewise.
1433         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1434         Likewise.
1435         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1436         Likewise.
1437         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1438         Likewise.
1439         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1440         Likewise.
1441         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1442         Likewise.
1443         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1444         Likewise.
1445         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1446         Likewise.
1447         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1448         Likewise.
1449         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1450         Likewise.
1451         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1452         Likewise.
1453         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1454         Likewise.
1455         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1456         Likewise.
1457         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1458         Likewise.
1459         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1460         Likewise.
1462 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1464         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1465         cannot be represented.
1466         * config/s390/32/_fixsfdi.c: Likewise.
1467         * config/s390/32/_fixtfdi.c: Likewise.
1468         * config/s390/32/_fixunsdfdi.c: Likewise.
1469         * config/s390/32/_fixunssfdi.c: Likewise.
1470         * config/s390/32/_fixunstfdi.c: Likewise.
1472 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
1474         * configure.ac (libgcc_cv_mips_hard_float): New.
1475         * configure: Regenerate.
1476         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1477         t-softfp-sfdf for hard-float targets.
1478         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1479         (softfp_float_modes, softfp_int_modes, softfp_extensions)
1480         (softfp_truncations, softfp_exclude_libgcc2): New.
1481         * config/t-hardfp: New file.
1482         * config/t-hardfp-sfdf: Likewise.
1483         * config/hardfp.c: Likewise.
1485 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1487         * config.host: Include t-floattodi also for s390x.
1488         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1489         * config/s390/32/_fixsfdi.c: Likewise.
1490         * config/s390/32/_fixtfdi.c: Likewise.
1491         * config/s390/32/_fixunsdfdi.c: Likewise.
1492         * config/s390/32/_fixunssfdi.c: Likewise.
1493         * config/s390/32/_fixunstfdi.c: Likewise.
1495 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1497         PR target/59788
1498         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1499         (install-libgcc-unwind-map-forbuild): New target.
1500         (all): Depend on install-libgcc-unwind-map-forbuild.
1501         (install-libgcc-unwind-map): New target.
1502         (install): Depend on install-libgcc-unwind-map.
1504 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
1506         * config/nios2/crti.S (_init): Initialize GOT pointer from
1507         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1509 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
1511         * configure.ac: Check __mips64 when setting host_address.
1512         * configure: Regenerate.
1513         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1514         mips/t-mips64 and t-softfp.
1515         (mips*-*-linux*): Don't add mips/t-tpbit.
1516         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1517         (DPBIT, DPBIT_CFLAGS): Delete.
1518         * config/mips/sfp-machine.h: New file.
1519         * config/mips/t-mips64: Likewise.
1520         * config/mips/t-softfp-tf: Likewise.
1521         * config/mips/t-tpbit: Delete.
1523 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1525         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1526         as long long.
1528 2014-01-25  Walter Lee  <walt@tilera.com>
1530         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
1531         config.h or system.h.
1532         (bool) Define.
1534 2014-01-25  Walter Lee  <walt@tilera.com>
1536         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1537         (post_atomic_barrier): Ditto.
1538         (__fetch_and_do): New macro.
1539         (__atomic_fetch_and_do): Use __fetch_and_do.
1540         (__sync_fetch_and_do): New macro.
1541         (__sync_fetch_and_add_4): New function.
1542         (__sync_fetch_and_sub_4): New function.
1543         (__sync_fetch_and_or_4): New function.
1544         (__sync_fetch_and_and_4): New function.
1545         (__sync_fetch_and_xor_4): New function.
1546         (__sync_fetch_and_nand_4): New function.
1547         (__sync_fetch_and_add_8): New function.
1548         (__sync_fetch_and_sub_8): New function.
1549         (__sync_fetch_and_or_8): New function.
1550         (__sync_fetch_and_and_8): New function.
1551         (__sync_fetch_and_xor_8): New function.
1552         (__sync_fetch_and_nand_8): New function.
1553         (__do_and_fetch): New macro.
1554         (__atomic_do_and_fetch): Use __do_and_fetch.
1555         (__sync_do_and_fetch): New macro.
1556         (__sync_add_and_fetch_4): New function.
1557         (__sync_sub_and_fetch_4): New function.
1558         (__sync_or_and_fetch_4): New function.
1559         (__sync_and_and_fetch_4): New function.
1560         (__sync_xor_and_fetch_4): New function.
1561         (__sync_nand_and_fetch_4): New function.
1562         (__sync_add_and_fetch_8): New function.
1563         (__sync_sub_and_fetch_8): New function.
1564         (__sync_or_and_fetch_8): New function.
1565         (__sync_and_and_fetch_8): New function.
1566         (__sync_xor_and_fetch_8): New function.
1567         (__sync_nand_and_fetch_8): New function.
1568         (__sync_exchange_methods): New macro.
1569         (__sync_val_compare_and_swap_4): New function.
1570         (__sync_bool_compare_and_swap_4): New function.
1571         (__sync_lock_test_and_test_4): New function.
1572         (__sync_val_compare_and_swap_8): New function.
1573         (__sync_bool_compare_and_swap_8): New function.
1574         (__sync_lock_test_and_test_8): New function.
1575         (__subword_cmpxchg_body): New macro.
1576         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1577         (__atomic_compare_exchange_2): Ditto.
1578         (__sync_subword_cmpxchg): New macro.
1579         (__sync_val_compare_and_swap_1): New function.
1580         (__sync_bool_compare_and_swap_1): New function.
1581         (__sync_val_compare_and_swap_2): New function.
1582         (__sync_bool_compare_and_swap_2): New function.
1583         (__atomic_subword): Rename to ...
1584         (__subword): ... New name.
1585         (__atomic_subword_fetch): Use __subword.
1586         (__sync_subword_fetch): New macro.
1587         (__sync_fetch_and_add_1): New function.
1588         (__sync_fetch_and_sub_1): New function.
1589         (__sync_fetch_and_or_1): New function.
1590         (__sync_fetch_and_and_1): New function.
1591         (__sync_fetch_and_xor_1): New function.
1592         (__sync_fetch_and_nand_1): New function.
1593         (__sync_fetch_and_add_2): New function.
1594         (__sync_fetch_and_sub_2): New function.
1595         (__sync_fetch_and_or_2): New function.
1596         (__sync_fetch_and_and_2): New function.
1597         (__sync_fetch_and_xor_2): New function.
1598         (__sync_fetch_and_nand_2): New function.
1599         (__sync_add_and_fetch_1): New function.
1600         (__sync_sub_and_fetch_1): New function.
1601         (__sync_or_and_fetch_1): New function.
1602         (__sync_and_and_fetch_1): New function.
1603         (__sync_xor_and_fetch_1): New function.
1604         (__sync_nand_and_fetch_1): New function.
1605         (__sync_add_and_fetch_2): New function.
1606         (__sync_sub_and_fetch_2): New function.
1607         (__sync_or_and_fetch_2): New function.
1608         (__sync_and_and_fetch_2): New function.
1609         (__sync_xor_and_fetch_2): New function.
1610         (__sync_nand_and_fetch_2): New function.
1611         (__atomic_subword_lock): Use __subword.
1612         (__sync_subword_lock): New macro.
1613         (__sync_lock_test_and_set_1): New function.
1614         (__sync_lock_test_and_set_2): New function.
1616 2014-01-25  Walter Lee  <walt@tilera.com>
1618         * config/tilepro/atomic.c (BIT_OFFSET): Define.
1619         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1620         (__atomic_subword): Ditto.
1622 2014-01-25  Walter Lee  <walt@tilera.com>
1624         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1625         a prefix op argument.
1626         (__atomic_nand_fetch_4): Add prefix op.
1627         (__atomic_nand_fetch_8): Ditto.
1629 2014-01-21  Baruch Siach <barch@tkos.co.il>
1631         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1633 2014-01-09  Rong Xu  <xur@google.com>
1635         * libgcov-driver.c (this_prg): make it local to save
1636         bss space.
1637         (gcov_exit_compute_summary): Ditto.
1638         (gcov_exit_merge_gcda): Ditto.
1639         (gcov_exit_merge_summary): Ditto.
1640         (gcov_exit_dump_gcov): Ditto.
1642 2014-01-08  Rong Xu  <xur@google.com>
1644         * libgcov-driver.c: Use libgcov.h.
1645         (buffer_fn_data): Use xmalloc instead of malloc.
1646         (gcov_exit_merge_gcda): Ditto.
1647         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1648         * libgcov.h: New common header files for libgcov-*.h.
1649         * libgcov-interface.c: Use libgcov.h
1650         * libgcov-merge.c: Ditto.
1651         * libgcov-profiler.c: Ditto.
1652         * Makefile.in: Add dependence to libgcov.h
1654 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1656         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1657         case of small numerator and finite nonzero result.
1659 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1661         Update copyright years
1663 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1665         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1666         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1667         config/arc/dp-hack.h, config/arc/fp-hack.h,
1668         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1669         config/arc/ieee-754/arc600-dsp/divdf3.S,
1670         config/arc/ieee-754/arc600-dsp/divsf3.S,
1671         config/arc/ieee-754/arc600-dsp/muldf3.S,
1672         config/arc/ieee-754/arc600-dsp/mulsf3.S,
1673         config/arc/ieee-754/arc600-mul64/divdf3.S,
1674         config/arc/ieee-754/arc600-mul64/divsf3.S,
1675         config/arc/ieee-754/arc600-mul64/muldf3.S,
1676         config/arc/ieee-754/arc600-mul64/mulsf3.S,
1677         config/arc/ieee-754/arc600/divsf3.S,
1678         config/arc/ieee-754/arc600/mulsf3.S,
1679         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1680         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1681         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1682         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1683         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1684         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1685         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1686         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1687         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1688         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1689         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1690         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1691         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1692         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1693         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1694         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1695         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1696         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1697         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1698         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1699         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1700         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1701         vtv_start_preinit.c: Use the standard form for the copyright notice.
1703 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
1704             Chung-Lin Tang  <cltang@codesourcery.com>
1705             Based on patches from Altera Corporation
1707         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
1708         * config/nios2/lib2-nios2.h: New file.
1709         * config/nios2/lib2-divmod-hi.c: New file.
1710         * config/nios2/linux-unwind.h: New file.
1711         * config/nios2/lib2-divmod.c: New file.
1712         * config/nios2/linux-atomic.c: New file.
1713         * config/nios2/t-nios2: New file.
1714         * config/nios2/crti.asm: New file.
1715         * config/nios2/t-linux: New file.
1716         * config/nios2/lib2-divtable.c: New file.
1717         * config/nios2/lib2-mul.c: New file.
1718         * config/nios2/tramp.c: New file.
1719         * config/nios2/crtn.asm: New file.
1721 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
1723         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
1724         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
1725         from cpuid.h to check vendor signatures.
1727 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
1729         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
1730         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
1731         (get_amd_cpu): Likewise.
1733 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
1735         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
1736         Haswell.
1738 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1739             H.J. Lu  <hongjiu.lu@intel.com>
1741         PR target/59422
1742         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
1743         and AMD_JAGUAR.
1744         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
1745         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
1746         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
1747         FEATURE_XOP and FEATURE_FMA.
1748         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
1749         AMDFAM15H_BDVER3.
1750         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
1751         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
1752         FEATURE_FMA4 and FEATURE_XOP.
1754 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
1756         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
1757         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
1758         (get_intel_cpu): Updated.
1760 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1762         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
1764 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
1766         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1767         instructions when __SSE_MATH__ is defined.
1769 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
1771         * config.host (microblaze-*-rtems*): New.
1773 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
1775         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
1776         architectures that do not have hardware divide instruction.
1777         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
1779 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
1781         * longlong.h: Delete (moved to include/).
1783 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1785         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1786         of normal number and qNaN to not raise an inexact exception.
1788 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
1790         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1792 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
1794         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1795         for correct opcodes on BE.
1797 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
1799         * soft-fp/op-4.h: Update from glibc.
1801 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
1803         * libgcc2.c (__udivmoddi4): Define new implementation when
1804         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1805         divide instructions.
1807 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
1809         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1811 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1813         * config/t-softfp (soft-fp-objects-base): New variable.
1814         (soft-fp-objects): Use it.
1816 2013-11-23  David Edelson  <dje.gcc@gmail.com>
1817             Andrew Dixie  <andrewd@gentrack.com>
1819         PR target/33704
1820         * config/rs6000/aixinitfini.c: New file.
1821         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
1822         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
1823         symbols.
1825 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
1827         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
1829 2013-11-18  Jan Hubicka  <jh@suse.cz>
1831         * libgcov-driver.c (run_accounted): Make global level static.
1832         (gcov_exit_merge_summary): Silence warning; do not clear
1833         run_accounted here.
1834         (gcov_exit): Clear it here.
1836         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
1837         run_accounted.
1839         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
1840         (all_prg, crc32): Remove static vars.
1841         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
1842         all_prg.
1843         (gcov_exit_merge_gcda): Add crc32 parameter.
1844         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
1845         do not account run if it was already accounted.
1846         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1847         (gcov_exit): Initialize all_prg; update.
1849 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
1851         * configure: Regenerate.
1853 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1854             Alan Modra  <amodra@gmail.com>
1856         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1857         (frob_update_context): Use it.
1859 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1860             Alan Modra  <amodra@gmail.com>
1862         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1863         (trampoline_initial): Provide ELFv2 variant.
1864         (__trampoline_setup): Likewise.
1866         * config/rs6000/linux-unwind.h (frob_update_context): Do not
1867         check for AIX indirect function call sequence if _CALL_ELF == 2.
1869 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1870             Alan Modra  <amodra@gmail.com>
1872         * config/rs6000/linux-unwind.h (get_regs): Do not support
1873         old kernel versions if _CALL_ELF == 2.
1874         (frob_update_context): Do not support PLT stub variants only
1875         generated by old linkers if _CALL_ELF == 2.
1877 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1878             Alan Modra  <amodra@gmail.com>
1880         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1881         location of CR save area for 64-bit little-endian systems.
1883 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
1885         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1886         in tmake_file.
1887         * config/arm/t-vxworks: Delete.
1889 2013-11-10  Kai Tietz  <ktietz@redhat.com>
1891         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1892         Increment load-count on use of LIBGCC_SONAME DLL.
1893         (hmod_libgcc): New static variable to hold handle of
1894         LIBGCC_SONAME DLL.
1895         (__gcc_deregister_frame): Decrement load-count of
1896         LIBGCC_SONAME DLL.
1898 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
1900         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1901         availability.
1902         * configure: Regenerate
1904 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
1906         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1907         FP_EX_DENORM.  Store result to volatile location after SSE division
1908         to close interrupt window.  Remove unneeded fwait after x87
1909         division since interrupt window will be closed by emitted fstp.
1910         Rewrite FP_EX_INEXACT handling.
1912 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
1914         * soft-fp/README: Update.
1915         * soft-fp/adddf3.c: Update from glibc.
1916         * soft-fp/addsf3.c: Likewise.
1917         * soft-fp/addtf3.c: Likewise.
1918         * soft-fp/divdf3.c: Likewise.
1919         * soft-fp/divsf3.c: Likewise.
1920         * soft-fp/divtf3.c: Likewise.
1921         * soft-fp/double.h: Likewise.
1922         * soft-fp/eqdf2.c: Likewise.
1923         * soft-fp/eqsf2.c: Likewise.
1924         * soft-fp/eqtf2.c: Likewise.
1925         * soft-fp/extenddftf2.c: Likewise.
1926         * soft-fp/extended.h: Likewise.
1927         * soft-fp/extendsfdf2.c: Likewise.
1928         * soft-fp/extendsftf2.c: Likewise.
1929         * soft-fp/extendxftf2.c: Likewise.
1930         * soft-fp/fixdfdi.c: Likewise.
1931         * soft-fp/fixdfsi.c: Likewise.
1932         * soft-fp/fixdfti.c: Likewise.
1933         * soft-fp/fixsfdi.c: Likewise.
1934         * soft-fp/fixsfsi.c: Likewise.
1935         * soft-fp/fixsfti.c: Likewise.
1936         * soft-fp/fixtfdi.c: Likewise.
1937         * soft-fp/fixtfsi.c: Likewise.
1938         * soft-fp/fixtfti.c: Likewise.
1939         * soft-fp/fixunsdfdi.c: Likewise.
1940         * soft-fp/fixunsdfsi.c: Likewise.
1941         * soft-fp/fixunsdfti.c: Likewise.
1942         * soft-fp/fixunssfdi.c: Likewise.
1943         * soft-fp/fixunssfsi.c: Likewise.
1944         * soft-fp/fixunssfti.c: Likewise.
1945         * soft-fp/fixunstfdi.c: Likewise.
1946         * soft-fp/fixunstfsi.c: Likewise.
1947         * soft-fp/fixunstfti.c: Likewise.
1948         * soft-fp/floatdidf.c: Likewise.
1949         * soft-fp/floatdisf.c: Likewise.
1950         * soft-fp/floatditf.c: Likewise.
1951         * soft-fp/floatsidf.c: Likewise.
1952         * soft-fp/floatsisf.c: Likewise.
1953         * soft-fp/floatsitf.c: Likewise.
1954         * soft-fp/floattidf.c: Likewise.
1955         * soft-fp/floattisf.c: Likewise.
1956         * soft-fp/floattitf.c: Likewise.
1957         * soft-fp/floatundidf.c: Likewise.
1958         * soft-fp/floatundisf.c: Likewise.
1959         * soft-fp/floatunditf.c: Likewise.
1960         * soft-fp/floatunsidf.c: Likewise.
1961         * soft-fp/floatunsisf.c: Likewise.
1962         * soft-fp/floatunsitf.c: Likewise.
1963         * soft-fp/floatuntidf.c: Likewise.
1964         * soft-fp/floatuntisf.c: Likewise.
1965         * soft-fp/floatuntitf.c: Likewise.
1966         * soft-fp/gedf2.c: Likewise.
1967         * soft-fp/gesf2.c: Likewise.
1968         * soft-fp/getf2.c: Likewise.
1969         * soft-fp/ledf2.c: Likewise.
1970         * soft-fp/lesf2.c: Likewise.
1971         * soft-fp/letf2.c: Likewise.
1972         * soft-fp/muldf3.c: Likewise.
1973         * soft-fp/mulsf3.c: Likewise.
1974         * soft-fp/multf3.c: Likewise.
1975         * soft-fp/negdf2.c: Likewise.
1976         * soft-fp/negsf2.c: Likewise.
1977         * soft-fp/negtf2.c: Likewise.
1978         * soft-fp/op-1.h: Likewise.
1979         * soft-fp/op-2.h: Likewise.
1980         * soft-fp/op-4.h: Likewise.
1981         * soft-fp/op-8.h: Likewise.
1982         * soft-fp/op-common.h: Likewise.
1983         * soft-fp/quad.h: Likewise.
1984         * soft-fp/single.h: Likewise.
1985         * soft-fp/soft-fp.h: Likewise.
1986         * soft-fp/subdf3.c: Likewise.
1987         * soft-fp/subsf3.c: Likewise.
1988         * soft-fp/subtf3.c: Likewise.
1989         * soft-fp/truncdfsf2.c: Likewise.
1990         * soft-fp/trunctfdf2.c: Likewise.
1991         * soft-fp/trunctfsf2.c: Likewise.
1992         * soft-fp/trunctfxf2.c: Likewise.
1993         * soft-fp/unorddf2.c: Likewise.
1994         * soft-fp/unordsf2.c: Likewise.
1995         * soft-fp/unordtf2.c: Likewise.
1997 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
1999         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
2000         (_FP_MUL_MEAT_D): Ditto.
2001         (_FP_DIV_MEAT_S): Ditto.
2002         (_FP_DIV_MEAT_D): Ditto.
2003         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
2004         t-softfp-sfdf and t-softfp to tmake_file.
2006 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
2008         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
2009         * config/i386/crtprec.c: Ditto.
2011 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
2012             Shiva Chen  <shiva0217@gmail.com>
2014         * config.host (nds32*-elf*): Add nds32 target.
2015         * config/nds32 : New directory and files.
2017 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
2019         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
2020         * config.host (cpu_type) <Setting default>: Add entry for
2021         crisv32-*-*.
2022         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
2023         <crisv32-*-linux*>: Adjust.
2024         * longlong.h: Wrap the whole CRIS section in a single
2025         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
2026         and sub_ddmmss.
2027         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
2028         defined.
2029         [__CRIS__] (__umulsidi3): Define.
2030         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
2031         * config/cris/sfp-machine.h: New file.
2032         * config/cris/umulsidi3.S: New file.
2033         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
2034         * config/cris/arit.c (SIGNMULT): New macro.
2035         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
2036         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
2037         saving 3 out of originally 33 cycles from the fastest
2038         path, 3 out of 54 from the medium path and one from the longest
2039         path.  Improve comments.
2041 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
2043         * sync.c: Remove static aliases and define each function directly
2044         under its real name.
2046 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
2048         * config.host (hppa*64*-*-linux*): Define extra_parts.
2049         (hppa*-*-linux*): Likewise.
2051 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
2053         * config/arc/crtgend.S: Add 2013 to Copyright years.
2054         * config/arc/gmon/atomic.h: Likewise.
2055         * config/arc/gmon/auxreg.h: Likewise.
2056         * config/arc/gmon/sys/gmon_out.h: Likewise.
2057         * config/arc/gmon/sys/gmon.h: Likewise.
2058         * config/arc/gmon/prof-freq.c: Likewise.
2059         * config/arc/gmon/mcount.c: Likewise.
2060         * config/arc/gmon/prof-freq-stub.S: Likewise.
2061         * config/arc/gmon/gmon.c: Likewise.
2062         * config/arc/gmon/machine-gmon.h: Likewise.
2063         * config/arc/gmon/profil.S: Likewise.
2064         * config/arc/gmon/dcache_linesz.S: Likewise.
2065         * config/arc/crtg.S: Likewise.
2066         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
2067         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
2068         * config/arc/ieee-754/adddf3.S: Likewise.
2069         * config/arc/ieee-754/truncdfsf2.S: Likewise.
2070         * config/arc/ieee-754/fixsfsi.S: Likewise.
2071         * config/arc/ieee-754/gtsf2.S: Likewise.
2072         * config/arc/ieee-754/floatsisf.S: Likewise.
2073         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
2074         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
2075         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
2076         * config/arc/ieee-754/fixdfsi.S: Likewise.
2077         * config/arc/ieee-754/addsf3.S: Likewise.
2078         * config/arc/ieee-754/gesf2.S: Likewise.
2079         * config/arc/ieee-754/floatsidf.S: Likewise.
2080         * config/arc/ieee-754/extendsfdf2.S: Likewise.
2081         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
2082         * config/arc/ieee-754/gtdf2.S: Likewise.
2083         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
2084         * config/arc/ieee-754/uneqdf2.S: Likewise.
2085         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2086         * config/arc/ieee-754/uneqsf2.S: Likewise.
2087         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
2088         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
2089         * config/arc/ieee-754/eqdf2.S: Likewise.
2090         * config/arc/ieee-754/ordsf2.S: Likewise.
2091         * config/arc/ieee-754/divsf3.S: Likewise.
2092         * config/arc/ieee-754/divdf3.S: Likewise.
2093         * config/arc/ieee-754/floatunsidf.S: Likewise.
2094         * config/arc/ieee-754/orddf2.S: Likewise.
2095         * config/arc/ieee-754/eqsf2.S: Likewise.
2096         * config/arc/ieee-754/gedf2.S: Likewise.
2097         * config/arc/crtn.S: Likewise.
2098         * config/arc/crti.S: Likewise.
2099         * config/arc/t-arc700-uClibc: Likewise.
2100         * config/arc/asm.h: Likewise.
2101         * config/arc/libgcc-excl.ver: Likewise.
2102         * config/arc/t-arc-newlib: Likewise.
2103         * config/arc/divtab-arc700.c: Likewise.
2104         * config/arc/initfini.c: Likewise.
2105         * config/arc/fp-hack.h: Likewise.
2107 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2108             Diego Novillo  <dnovillo@google.com>
2110         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
2111         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
2112         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
2113         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
2115 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2116             Brendan Kehoe  <brendan@zen.org>
2117             Simon Cook  <simon.cook@embecosm.com>
2119         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
2120         * config/arc: New directory.
2121         * longlong.h [__arc__] (umul_ppmm): Remove.
2122         [__arc__] (__umulsidi3): Define.
2123         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
2124         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
2126 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
2128         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
2129         CreateSemaphoreA.
2130         * config/i386/gthr-win32.h: Likewise.
2132 2013-09-16  DJ Delorie  <dj@redhat.com>
2134         * config/rl78/vregs.h: Add G10 register definitions.
2135         * config/rl78/lib2mul.c: Enable for RL78/G10.
2136         * config/rl78/lib2div.c: Likewise.
2137         * config/rl78/lshrsi3.S: Use vregs.h.
2138         * config/rl78/cmpsi2.S: Likewise.
2139         * config/rl78/trampoline.S: Likewise.
2140         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
2142 2013-09-14  DJ Delorie  <dj@redhat.com>
2143             Nick Clifton  <nickc@redhat.com>
2145         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
2146         * config/rl78/vregs.h: New.
2147         * config/rl78/signbit.S: New file.  Implements signbit function.
2148         * config/rl78/divmodsi.S: New.
2149         * config/rl78/divmodhi.S: New.
2150         * config/rl78/divmodqi.S: New.
2151         * config/rl78/t-rl78: Build them here...
2152         * config/rl78/lib2div.c: ...but not here.
2154 2013-09-12  DJ Delorie  <dj@redhat.com>
2156         * config.host (msp*-*-elf): New.
2157         * config/msp430/: New port.
2159 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
2161         PR gcov-profile/58127
2162         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
2163         __thread var for emulated TLS.
2164         (__gcov_indirect_call_counters): Likewise.
2166 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
2167             Catherine Moore  <clm@codesourcery.com>
2168             Richard Sandiford <rdsandiford@googlemail.com>
2170         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
2171         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
2172         (CALL_STUB_NO_RET): Likewise.
2173         (CALL_STUB_RET): Likewise.
2174         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
2175         __mips16_ret call/return stub symbols.
2176         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
2177         to tmake_file.
2179 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
2181         * config.host <mips*-*-linux*>: Remove a stray comment.
2183 2013-08-10  Jan Hubicka  <jh@suse.cz>
2185         Work around binutils PR14342
2186         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
2187         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
2188         (L_gcov_indirect_call_profiler_v2): New.
2190 2013-08-06  Jan Hubicka  <jh@suse.cz>
2192         * libgcov.c (__gcov_indirect_call_callee,
2193         __gcov_indirect_call_counters): New global vars.
2194         (__gcov_indirect_call_profiler): replace by ...
2195         (__gcov_indirect_call_profiler_v2) ... this one.
2197 2013-08-06  Caroline Tice  <cmtice@google.com>
2199         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2200         vtv_start_preinit.o and vtv_end_preinit.o.
2201         * configure.ac: Add code to check/set enable_vtable_verify.
2202         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2203         true.
2204         * vtv_start_preinit.c: New file.
2205         * vtv_end_preinit.c: New file.
2206         * vtv_start.c: New file.
2207         * vtv_end.c: New file.
2208         * configure: Regenerated.
2210 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
2212         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
2213         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
2214         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
2215         GPL-3.0-with-GCC-exception.
2217 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
2219         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
2220         ISA and up.
2222 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2224         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
2225         mapping for FPRs when creating the fallback framestate.
2227 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
2229         PR target/57516
2230         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2231         (__round_s2_const, __round_u2_const)
2232         (__round_s4_const, __round_u4_const, __round_x8):
2233         Saturate result if addition result cannot be represented.
2235 2013-07-15  Matthias Klose  <doko@ubuntu.com>
2237         * libgcc2.c: Don't include <limits.h>.
2239 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
2241         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2243 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
2245         PR target/29776
2246         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2248 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
2250         PR middle-end/36041
2251         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2252         Define.
2253         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2254         instead of table lookups.
2255         (__popcountDI2): Likewise.
2257 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2259         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2260         correctly.
2262 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2264         PR other/53317
2265         * soft-fp/adddf3.c: Update from glibc.
2266         * soft-fp/addsf3.c: Likewise.
2267         * soft-fp/addtf3.c: Likewise.
2268         * soft-fp/divdf3.c: Likewise.
2269         * soft-fp/divsf3.c: Likewise.
2270         * soft-fp/divtf3.c: Likewise.
2271         * soft-fp/double.h: Likewise.
2272         * soft-fp/eqdf2.c: Likewise.
2273         * soft-fp/eqsf2.c: Likewise.
2274         * soft-fp/eqtf2.c: Likewise.
2275         * soft-fp/extenddftf2.c: Likewise.
2276         * soft-fp/extended.h: Likewise.
2277         * soft-fp/extendsfdf2.c: Likewise.
2278         * soft-fp/extendsftf2.c: Likewise.
2279         * soft-fp/fixdfdi.c: Likewise.
2280         * soft-fp/fixdfsi.c: Likewise.
2281         * soft-fp/fixsfdi.c: Likewise.
2282         * soft-fp/fixsfsi.c: Likewise.
2283         * soft-fp/fixtfdi.c: Likewise.
2284         * soft-fp/fixtfsi.c: Likewise.
2285         * soft-fp/fixunsdfdi.c: Likewise.
2286         * soft-fp/fixunsdfsi.c: Likewise.
2287         * soft-fp/fixunssfdi.c: Likewise.
2288         * soft-fp/fixunssfsi.c: Likewise.
2289         * soft-fp/fixunstfdi.c: Likewise.
2290         * soft-fp/fixunstfsi.c: Likewise.
2291         * soft-fp/floatdidf.c: Likewise.
2292         * soft-fp/floatdisf.c: Likewise.
2293         * soft-fp/floatditf.c: Likewise.
2294         * soft-fp/floatsidf.c: Likewise.
2295         * soft-fp/floatsisf.c: Likewise.
2296         * soft-fp/floatsitf.c: Likewise.
2297         * soft-fp/floatundidf.c: Likewise.
2298         * soft-fp/floatundisf.c: Likewise.
2299         * soft-fp/floatunditf.c: Likewise.
2300         * soft-fp/floatunsidf.c: Likewise.
2301         * soft-fp/floatunsisf.c: Likewise.
2302         * soft-fp/floatunsitf.c: Likewise.
2303         * soft-fp/gedf2.c: Likewise.
2304         * soft-fp/gesf2.c: Likewise.
2305         * soft-fp/getf2.c: Likewise.
2306         * soft-fp/ledf2.c: Likewise.
2307         * soft-fp/lesf2.c: Likewise.
2308         * soft-fp/letf2.c: Likewise.
2309         * soft-fp/muldf3.c: Likewise.
2310         * soft-fp/mulsf3.c: Likewise.
2311         * soft-fp/multf3.c: Likewise.
2312         * soft-fp/negdf2.c: Likewise.
2313         * soft-fp/negsf2.c: Likewise.
2314         * soft-fp/negtf2.c: Likewise.
2315         * soft-fp/op-1.h: Likewise.
2316         * soft-fp/op-2.h: Likewise.
2317         * soft-fp/op-4.h: Likewise.
2318         * soft-fp/op-8.h: Likewise.
2319         * soft-fp/op-common.h: Likewise.
2320         * soft-fp/quad.h: Likewise.
2321         * soft-fp/single.h: Likewise.
2322         * soft-fp/soft-fp.h: Likewise.
2323         * soft-fp/subdf3.c: Likewise.
2324         * soft-fp/subsf3.c: Likewise.
2325         * soft-fp/subtf3.c: Likewise.
2326         * soft-fp/truncdfsf2.c: Likewise.
2327         * soft-fp/trunctfdf2.c: Likewise.
2328         * soft-fp/trunctfsf2.c: Likewise.
2329         * soft-fp/unorddf2.c: Likewise.
2330         * soft-fp/unordsf2.c: Likewise.
2331         * soft-fp/unordtf2.c: Likewise.
2332         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2333         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2334         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2335         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2336         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2337         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2338         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2339         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2340         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2341         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2342         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2343         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2345 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
2347         * config/mips/lib2funcs.c: New file.
2348         * config/mips/t-mips (LIB2ADD_ST): Add it.
2350 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
2352         PR target/6526
2353         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2354         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
2356 2013-06-08  Walter Lee  <walt@tilera.com>
2358         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2359         Replace int64_t with long long.  Add __extension__ where
2360         appropriate.
2361         * config/tilepro/atomic.c: Include config.h.
2363 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
2365         * config.host (arm-wrs-vxworks): Configure with other soft float.
2367 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
2369         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2370         (mips64r5900el-*-elf*): New configurations.
2372 2013-06-04  Alan Modra  <amodra@gmail.com>
2374         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2376 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
2378         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2380 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
2382         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2383         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2384         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2386 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
2388         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2389         (powerpc-wrs-vxworks): Likewise.
2391 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
2393         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2394         signal frames as well.
2395         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2396         STACK_BIAS to the CFA offset.
2398 2013-05-17  Richard Henderson  <rth@redhat.com>
2400         PR target/49146
2401         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2402         (execute_cfa_program): Use it when storing to fs->regs.
2404 2013-05-08  Kai Tietz  <ktietz@redhat.com>
2406         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2407         (__deregister_frame_info): Likewise.
2409 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
2411         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2412         NaN's payload.
2414         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2416 2013-04-25  Alan Modra  <amodra@gmail.com>
2418         * config.host: Match little-endian powerpc-linux.
2420 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
2422         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2423         as 'unsigned long long' instead of 'unsigned long'.
2424         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2425         'signed long'.
2427 2013-04-10  Julian Brown  <julian@codesourcery.com>
2429         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2430         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2431         unsigned char/unsigned short.
2432         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2434 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2436         PR other/55274
2437         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2439 2013-04-04  Meador Inge  <meadori@codesourcery.com>
2441         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2442         computing the location of the link register.
2443         (aeabi_uldivmod): Ditto.
2445 2013-03-27  Kai Tietz  <ktietz@redhat.com>
2447         * config.host: Add support for cygwin x64 target.
2448         * configure: Regenerated.
2450 2013-03-26  Walter Lee  <walt@tilera.com>
2452         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2453         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2455 2013-03-25  Kai Tietz  <ktietz@redhat.com>
2457         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2459 2013-03-20  Robert Mason  <rbmj@verizon.net>
2461         * config/vxlib-tls.c (__gthread_get_tsd_data,)
2462         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2463         (__gthread_leave_tsd_dtor_context): Add prototypes.
2464         (tls_delete_hook): Update.
2466 2013-03-20  Catherine Moore  <clm@codesourcery.com>
2467             Joseph Myers  <joseph@codesourcery.com>
2468             Chao-ying Fu  <fu@mips.com>
2470         * config/mips/mips16.S:  Don't build for microMIPS.
2471         * config/mips/linux-unwind.h: Handle microMIPS frame.
2472         * config/mips/crtn.S (fini, init): New labels.
2474 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
2476         PR tree-optimization/53265
2477         * unwind-dw2.c (execute_cfa_program): Avoid
2478         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2479         on targets with DWARF_FRAME_REGISTERS < 32.
2481 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
2483         PR target/49880
2484         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2485         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2487 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
2489         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2490         sandybridge processors.
2492 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
2494         PR target/56529
2495         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2496         inclusion list.
2498 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2500         * config/microblaze/crti.S: Setup stack protection at entry
2502 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
2504         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2505         (__rotldi3): Shift bytewise if applicable.
2507 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
2509         * config/aarch64/sync-cache.c
2510         (__aarch64_sync_cache_range): Silence warnings.
2512 2013-02-25  Catherine Moore  <clm@codesourcery.com>
2514         Revert:
2515         2013-02-24  Catherine Moore  <clm@codesourcery.com>
2516             Joseph Myers  <joseph@codesourcery.com>
2517             Chao-ying Fu  <fu@mips.com>
2519         * config/mips/mips16.S:  Don't build for microMIPS.
2520         * config/mips/linux-unwind.h: Handle microMIPS frame.
2521         * config/mips/crtn.S (fini, init): New labels.
2523 2013-02-24  Catherine Moore  <clm@codesourcery.com>
2524             Joseph Myers  <joseph@codesourcery.com>
2525             Chao-ying Fu  <fu@mips.com>
2527         * config/mips/mips16.S:  Don't build for microMIPS.
2528         * config/mips/linux-unwind.h: Handle microMIPS frame.
2529         * config/mips/crtn.S (fini, init): New labels.
2531 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2532         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
2533         as dividend.
2535 2013-02-16  Alan Modra  <amodra@gmail.com>
2537         PR target/55431
2538         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2539         (ppc_fallback_frame_state): Always set up save locations for fp
2540         and altivec.  Don't bother with non-callee-saved regs, r0-r13
2541         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2543 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
2545         PR target/54222
2546         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2547         _ssmulHA, _ssmulSA.
2548         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2549         _ssmulha3, _usmulusa3, _ssmulsa3.
2550         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2551         (__muldi3): XCALL __muldi3_6 instead of rcall.
2552         (__umulsidi3, __mulsidi3): New functions.
2553         (do_prologue_saves, do_epilogue_restores): New .macros.
2554         (__divdi3_moddi3): Use them.
2555         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2556         (__usmulusa3, __ssmulsa3): New functions.
2558 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
2559             Jack Howarth  <howarth@bromo.med.uc.edu>
2560             Patrick Marlier  <patrick.marlier@gmail.com>
2562         PR libitm/55693
2563         * config/darwin-crt-tm.c: Remove dummy functions hack.
2565 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
2567         PR target/54222
2568         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2569         * config/avr/lib2-object.mk: New iterator to build objects from it.
2570         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2571         lib2funcs.c.
2572         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2573         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2574         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2575         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2576         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2577         * config/avr/lib1funcs-fixed.S: Implement them.
2579 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
2581         Update copyright years.
2583 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
2585         PR target/54601
2586         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2587         Add crtcxa to extra_parts.
2588         * config/rs6000/exit.h: New file.
2589         * config/rs6000/cxa_atexit.c: New file.
2590         * config/rs6000/cxa_finalize.c: New file.
2591         * config/rs6000/crtcxa.c: New file.
2592         * config/rs6000/t-aix-cxa: New file.
2593         * config/rs6000/libgcc-aix-cxa.ver: New file.
2595 2013-01-31  Nick Clifton  <nickc@redhat.com>
2597         * config/v850/lib1funcs.S: Add support for e3v5 architecture
2598         variant.
2600 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
2602         PR target/54222
2603         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2604         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
2605         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2606         _divQQ,  _divHQ,  _divHA,  _divSA,
2607         _divUQQ, _divUHQ, _divUHA, _divUSA.
2609 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
2611         * config.host(microblaze*-linux*): tmake_file: Remove
2612         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2613         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2614         to exclude functions from being built with libgcc.c and use
2615         the microblaze assembly.
2617 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2619         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2620         extra_parts.
2622 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
2624         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2625         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2626         __UINTPTR_TYPE__; also cast 'base' to the same type before the
2627         alignment operation.
2629 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
2631         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2632         loop start address for cache clearing.
2634 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2636         * config/avr/lib1funcs.S: Remove trailing blanks.
2637         * config/avr/lib1funcs-fixed.S: Ditto.
2639 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2641         * config/avr/avr-lib.h: Add GPL copyright notice.
2643 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2645         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2646         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2647         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2648         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2650 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
2652         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2653         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2655 2013-01-04  Nick Clifton  <nickc@redhat.com>
2657         * config/v850/lib1funcs.S: Only provide CALLT support functions if
2658         the CALLT instruction is supported.
2660 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2662         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2663         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2665 2012-12-13  John Tytgat  <John@bass-software.com>
2667         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2668         is 25.
2670 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
2672         PR libgcc/55451
2673         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2674         undefined signed overflows.
2676 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
2678         PR target/55344
2679         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2681 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
2683         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2684         (FP_TRAPPING_EXCEPTIONS): Define.
2685         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2686         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2688 2012-12-04  Richard Henderson  <rth@redhat.com>
2690         PR bootstrap/55571
2691         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2693 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
2695         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
2696         (FP_EX_SHIFT): Define.
2697         (FP_TRAPPING_EXCEPTIONS): Define.
2699 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
2701         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2702         (FP_ROUNDMODE): Use FP_RND_MASK.
2703         * config/aarch64/sfp-exceptions.c: New.
2704         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2705         Use __sfp_handle_exceptions.
2707 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
2709         * config.host: (arm*-*-freebsd*): Remove.
2710         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
2711         (arm*-*-elf*): Remove.
2712         (arm*-*-wince-pe*): Remove.
2713         * arm/unwind-arm.c (struct fpa_reg): Delete.
2714         (struct fpa_regs): Delete.
2715         (phase1_vrs): Remove fpa element.
2716         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
2717         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
2718         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
2719         * ieee754-sf.S (floatundisf): Remove FPA support.
2720         (floatdisf): Likewise.
2721         * ieee75f-df.S (floatundidf): Likewise.
2722         (floatdidf): Likewise.
2724 2012-11-29  Kai Tietz  <ktietz@redhat.com>
2726         PR target/55445
2727         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
2728         * unwind-generic.h: Likewise.
2729         * unwind-seh.c: Likewise.
2731 2012-11-28  Richard Henderson  <rth@redhat.com>
2733         PR libgcc/48076
2734         * emutls.c (__emutls_get_address): Avoid race condition between
2735         obj->loc.offset read and emutls_key initialization.
2737 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
2739         Adjust decimal point of signed accum mode to GCC default.
2741         PR target/54222
2742         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
2743         _divqq_helper.
2744         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
2745         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
2746         (__mulha3, __mulsa3)
2747         (__divqq3, __divha3, __divsa3): Adjust to new position of
2748         decimal point of signed accum types.
2750         (__mulusa3_round): New function.
2751         (__mulusa3): Use it.
2752         (__divqq_helper): New function.
2753         (__udivuqq3): Use it.
2755 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
2757         PR bootstrap/55370
2758         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
2760 2012-11-18  Teresa Johnson  <tejohnson@google.com>
2762         PR bootstrap/55051
2763         * libgcov.c (gcov_exit): Remove merged program summary
2764         comparison unless !GCOV_LOCKED.
2766 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
2768         * soft-fp: Updated from glibc upstream.
2770 2012-11-06  Ian Lance Taylor  <iant@google.com>
2772         * generic-morestack.c (__generic_morestack): Align the returned
2773         stack pointer to a 32 byte boundary.
2774         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
2775         increment the return address until we have decided that we don't
2776         have a varargs function.
2777         (__morestack) [32-bit]: Align stack correctly when calling C
2778         functions.
2779         (__morestack) [64-bit]: Likewise.
2781 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2783         * configure: Regenerate.
2785 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
2787         PR target/55175
2788         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2789         * config/i386/sfp-machine.h: Guard exception handling
2790         code with _SOFT_FLOAT.
2791         * config/i386/32/sfp-machine.h: Guard rounding handling
2792         code with _SOFT_FLOAT.
2793         * config/i386/64/sfp-machine.h: Ditto.
2795 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
2797         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2798         as extra_parts.
2800 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
2802         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2803         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
2804         when appropriate.  Correct structure element types.
2805         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2806         -minline-all-stringops from compile flags.
2808 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2810         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2812 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2814         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
2816 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2818         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
2819         tmake_file.
2821 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
2822             Jim MacArthur  <jim.macarthur@arm.com>
2823             Marcus Shawcroft  <marcus.shawcroft@arm.com>
2824             Nigel Stephens  <nigel.stephens@arm.com>
2825             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2826             Richard Earnshaw  <rearnsha@arm.com>
2827             Sofiane Naci  <sofiane.naci@arm.com>
2828             Stephen Thomas  <stephen.thomas@arm.com>
2829             Tejas Belagod  <tejas.belagod@arm.com>
2830             Yufeng Zhang  <yufeng.zhang@arm.com>
2832         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
2833         * config/aarch64/crti.S: New file.
2834         * config/aarch64/crtn.S: New file.
2835         * config/aarch64/linux-unwind.h: New file.
2836         * config/aarch64/sfp-machine.h: New file.
2837         * config/aarch64/sync-cache.c: New file.
2838         * config/aarch64/t-aarch64: New file.
2839         * config/aarch64/t-softfp: New file.
2841 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
2843         * config/mmix/crti.S: Mark program and data addresses using PRELD.
2844         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
2845         no-longer-needed LDBU insns.
2847 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
2849         * config.host
2850         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2851         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2853 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
2855         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2857 2012-10-15  Matthias Klose  <doko@ubuntu.com>
2859         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2861 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
2863         * configure: Regenerate.
2864         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2866 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
2868         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2869         instructions for 64bit targets only.
2871 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
2873         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2874         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2875         * config/i386/32/sfp-machine.h: ... here.
2876         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2877         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2878         New defines.
2880 2012-10-07  Matthias Klose  <doko@ubuntu.com>
2882         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2883         as unused.
2884         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2886 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
2888         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2889         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2890         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2891         (ElfW): Likewise.
2893 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2895         PR other/53889
2896         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2897         Fix parameter names.
2899 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
2901         PR target/33135
2902         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2903         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2904         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2906 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
2908         PR target/50457
2909         * config/sh/linux-atomic.S: Delete.
2910         * config/sh/linux-atomic.c: New.
2911         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2912         linux-atomic.c.  Add cflags to disable warnings.
2914 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2916         PR other/53889
2917         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2918         function.
2919         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2920         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2921         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2922         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
2923         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2924         Likewise.
2925         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2926         Likewise.
2927         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2928         Likewise.
2929         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2930         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2932 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
2934         * config.host (hppa-*-openbsd*): New target.
2935         * config/pa/t-openbsd: New file.
2937 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
2939         PR target/54222
2940         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2941         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2942         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2943         (__divsa3): Use __negsi2 to negate r_quoL.
2944         * config/avr/lib1funcs.S (FALIAS): New macro.
2945         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2946         (__negsi2): ...this new function.
2947         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2948         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2949         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2950         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2951         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2952         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2954 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
2956         PR target/54089
2957         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2958         (lshrsi3): Reimplement as lshrsi3_r0.
2960 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
2962         PR target/46191
2963         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2964         of libgcc.a.
2966 2012-09-07  Teresa Johnson  <tejohnson@google.com>
2968         PR gcov-profile/54487
2969         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
2970         differences.
2972 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
2974         PR target/54461
2975         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2976         not configured --with-avrlibc=no.
2977         * config/avr/t-avrlibc: New file.
2978         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2979         (DPBIT_FUNCS): Ditto.
2980         (TPBIT_FUNCS): Ditto.
2982 2012-09-04  Teresa Johnson  <tejohnson@google.com>
2984         * libgcov.c (struct gcov_summary_buffer): New structure.
2985         (gcov_histogram_insert): New function.
2986         (gcov_compute_histogram): Ditto.
2987         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2988         histograms during summary merging.
2990 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
2992         * config.host (x86_64-*-openbsd*): New target.
2994 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
2996         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2997         attribute.
2999 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
3001         PR target/54222
3002         * config/avr/t-avr (conv_X): Rename to func_X.
3004 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
3006         PR target/54222
3007         * config/avr/lib1funcs-fixed.S: New file.
3008         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
3009         after they are used.
3010         (neg2, neg4): New macros.
3011         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
3012         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
3013         (__umulhisi3): Speed up MUL variant if there is enough flash.
3014         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
3015         avr-modes.def.
3016         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
3017         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
3018         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
3019         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
3020         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
3021         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
3022         (LIB2FUNCS_EXCLUDE): Add supported functions.
3024 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
3026         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
3027         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
3028         libgcc-s-objects.
3029         * fixed-obj.mk: Only expand dependency if $o is not in
3030         LIB2FUNCS_EXCLUDE.
3032 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
3034         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
3036 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
3038         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
3039         depend on --enable-shared.
3040         ($(lib1asmfuncs-o)): Use %.vis files independent of
3041         --enable-shared.
3042         * static-object.mk ($(base)$(objext), $(base).vis)
3043         ($(base)_s$(objext)): Use same rules for visibility handling as in
3044         shared-object.mk.
3046 2012-08-21  Ian Lance Taylor  <iant@google.com>
3048         * config/i386/morestack.S (__morestack_non_split): Increase amount
3049         of space allocated for non-split code stack.
3051 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
3053         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
3054         even if inhibit_libc.
3056 2012-08-17  Julian Brown  <julian@codesourcery.com>
3058         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
3059         -fexceptions -fnon-call-exceptions if not defined.
3060         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
3061         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
3063 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
3065         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
3066         type.
3068 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
3070         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
3071         rs6000/t-slibgcc-aix.
3073 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
3075         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
3077 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
3079         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
3081 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
3083         PR driver/54171
3084         * Makefile.in (version): Replace top_srcdir with srcdir.
3086 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
3088         * Makefile.in (version): set to BASE-VER file from gcc directory.
3090 2012-08-01  Nick Clifton  <nickc@redhat.com>
3092         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
3093         Implements __clrsb for an HImode argument.
3095 2012-07-31  Nick Clifton  <nickc@redhat.com>
3097         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
3098         Implements __clrsb for an HImode argument.
3099         * config/stormy16/clrsbhi2.c: New file:
3100         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
3102 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
3104         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
3106 2012-07-19  Tristan Gingold  <gingold@adacore.com>
3107             Richard Henderson  <rth@redhat.com>
3109         * unwind-seh.c: New file.
3110         * unwind-generic.h: Include windows.h for SEH.
3111         (_Unwind_Exception): Use 6 private fields for SEH.
3112         (_GCC_specific_handler): Declare.
3113         * unwind-c.c (__gcc_personality_seh0): New function.
3114         Adjust for SEH.
3115         * config/i386/libgcc-cygming.ver: New file.
3116         * config/i386/t-seh-eh: New file.
3117         * config.host (x86_64-*-mingw*): Default to seh.
3119 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
3121         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
3123 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
3125         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
3126         __builtin_expect when checking for exceptions.
3127         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
3129 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
3131         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
3132         function declaration.
3133         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3134         (FP_RND_MASK): New.
3135         * config/ia64/sfp-exceptions.c: New.
3136         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
3138 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
3140         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
3141         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
3142         * config/i386/64/sfp-machine: ... (delete here) ...
3143         * config/i386/sfp-machine.h: ... to here.
3144         (FP_EX_MASK): Remove.
3145         (FP_RND_MASK): New.
3146         (FP_INIT_ROUNDMODE): Declare asm as volatile.
3148 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
3150         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
3151         * config/i386/libgcc-sol2.ver: Ditto.
3152         * config/i386/libgcc-glibc.ver: Ditto.
3154 2012-06-11  Roland McGrath  <mcgrathr@google.com>
3156         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
3157         If __GLIBC__ is defined, refer to __pthread_key_create instead of
3158         pthread_cancel.
3160 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
3162         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
3163         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
3164         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
3165         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3166         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
3167         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
3168         * config/i386/64/sfp-machine: ... (delete here) ...
3169         * config/i386/sfp-machine.h: ... to here.
3170         (FP_EX_MASK): New.
3171         (__sfp_handle_exceptions): New function declaration.
3172         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3173         * config/i386/sfp-exceptions.c: New.
3174         * config/i386/t-softfp: New.
3175         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
3176         i386/t-softfp to tmake_file.
3178 2012-06-03  David S. Miller  <davem@davemloft.net>
3180         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
3181         change.
3183 2012-05-31  David S. Miller  <davem@davemloft.net>
3185         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
3186         multiply and divide instructions on 32-bit when V9.
3187         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
3189 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
3191         * config/arm/ieee754-df.S: Fix typos.
3192         * config/arm/ieee754-sf.S: Fix typos.
3193         * config/c6x/libunwind.S: Fix typos.
3194         * config/epiphany/udivsi3-float.c: Fix typos.
3195         * config/microblaze/muldi3_hard.S: Fix typos.
3196         * config/picochip/adddi3.S: Fix typos.
3197         * config/picochip/ashlsi3.S: Fix typos.
3198         * config/picochip/ashrsi3.S: Fix typos.
3199         * config/picochip/clzsi2.S: Fix typos.
3200         * config/picochip/cmpsi2.S: Fix typos.
3201         * config/picochip/divmod15.S: Fix typos.
3202         * config/picochip/divmodhi4.S: Fix typos.
3203         * config/picochip/divmodsi4.S: Fix typos.
3204         * config/picochip/longjmp.S: Fix typos.
3205         * config/picochip/lshrsi3.S: Fix typos.
3206         * config/picochip/parityhi2.S: Fix typos.
3207         * config/picochip/popcounthi2.S: Fix typos.
3208         * config/picochip/setjmp.S: Fix typos.
3209         * config/picochip/subdi3.S: Fix typos.
3210         * config/picochip/ucmpsi2.S: Fix typos.
3211         * config/picochip/udivmodhi4.S: Fix typos.
3212         * config/picochip/udivmodsi4.S: Fix typos.
3213         * config/spu/divv2df3.c: Fix typos.
3214         * config/spu/mfc_multi_tag_release.c: Fix typos.
3215         * config/spu/mfc_tag_release.c: Fix typos.
3216         * configure.ac: Fix typos.
3217         * configure: Regenerate.
3219 2012-05-25  Ian Lance Taylor  <iant@google.com>
3221         * config/i386/morestack.S (__morestack_non_split): Check whether
3222         caller is varargs and needs %bp to hold the stack frame on return.
3224 2012-05-25  Olivier Hainque  <hainque@adacore.com>
3226         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3227         sequence in the non pic case on VxWorks.
3229 2012-05-24  Olivier Hainque  <hainque@adacore.com>
3231         * Makefile.in: Move dependency on install-unwind_h from
3232         "install-leaf" to "install".
3234 2012-05-24  Olivier Hainque  <hainque@adacore.com>
3236         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3237         Use a separate command for stamp removals.
3239 2012-05-21  Andrew Pinski  <apinski@cavium.com>
3241         PR bootstrap/53183
3242         * configure.ac: Define the default includes to being none.
3243         * configure: Regenerate.
3245 2012-05-16  Olivier Hainque  <hainque@adacore.com>
3247         * Makefile.in (install-unwind_h): Rename into ...
3248         (install-unwind_h-forbuild): New target.
3249         (all): Use it instead of the former install-unwind_h.
3250         (install-unwind_h): Reinstate, copy to user install destination
3251         for include files, not to the internal gcc object directory one.
3252         (install-leaf): Depend on it.
3254 2012-05-15  Olivier Hainque  <hainque@adacore.com>
3256         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3257         register numbers. LR_REGNO replaces R_LR.
3258         (ucontext_for): New, helper for ...
3259         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3260         and 5.3 of ...
3261         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3263 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3265         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3266         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3267         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3268         i386/t-cpuinfo ...
3269         (i[34567]86-*-*, x86_64-*-*): ... here.
3271         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3272         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3274         * config/i386/i386-cpuinfo.c: Rename to ...
3275         * config/i386/cpuinfo.c: ... this.
3276         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3278         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3279         (libgcc_cv_init_priority): New test.
3280         * configure: Regenerate.
3281         * config.in: New file.
3282         * Makefile.in (clean): Rename config.h to auto-target.h.
3283         (config.h): Likewise.
3284         (stamp-h): Likewise.
3286         * config/i386/cpuinfo.c (auto-target.h): Include.
3287         (CONSTRUCTOR_PRIORITY): Define.
3288         (__cpu_indicator_init): Use it.
3290 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
3292         * longlong.h: Use a URL instead of an FSF postal address.
3293         Replace spaces with tab.
3295 2012-05-08  Teresa Johnson  <tejohnson@google.com>
3297         * libgcov.c (gcov_clear, __gcov_reset): New functions.
3298         (__gcov_dump): Ditto.
3299         (gcov_dump_complete): New global variable.
3300         (gcov_exit): Export hidden to enable use in L_gcov_dump.
3301         (__gcov_flush): Outline functionality now in gcov_clear.
3302         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3304 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
3306         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3307         (mips*-*-linux*): Include mips/t-tpbit when long double is
3308         16 bytes long.
3310 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
3312         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3313         (get_available_features): New argument. Check for AVX2.
3314         (__cpu_indicator_init): Modify call to get_available_features.
3316 2012-04-25  Alan Modra  <amodra@gmail.com>
3318         * config/rs6000/crtsavevr.S: New file.
3319         * config/rs6000/crtrestvr.S: New file.
3320         * config/rs6000/t-savresfgpr: Build the above.
3321         * config/rs6000/t-netbsd: Likewise.
3323 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
3325         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3327 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
3329         * libgcc/config/i386/i386-cpuinfo.c: New file.
3330         * libgcc/config/i386/t-cpuinfo: New file.
3331         * libgcc/config.host: Include t-cpuinfo.
3332         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3334 2012-04-24  Chao-ying Fu  <fu@mips.com>
3336         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3338 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
3340         struct siginfo vs. siginfo_t
3342         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3343         siginfo_t instead of struct siginfo.
3344         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3345         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3346         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3347         (ia64_handle_unwabi): Likewise.
3348         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3349         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3350         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3351         (sh_fallback_frame_state): Likewise.
3352         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3353         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3355 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
3357         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3358         system call number.
3360 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
3362         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3363         if it hasn't been previously saved.
3365 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3367         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3368         only for glibc.
3370 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
3372         PR target/52737
3373         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3374         instead of __AVR_HAVE_8BIT_SP__.
3376 2012-03-26  Tristan Gingold  <gingold@adacore.com>
3378         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3379         (unw_table_entry): Use unw_word instead of unsigned long.
3380         (_Unwind_FindTableEntry): Likewise.
3381         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3382         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3383         (_Unwind_FindTableEntry): Likewise.
3384         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3385         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3386         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3387         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3388         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3389         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3390         (uw_init_context_1, uw_install_context): Likewise.
3391         (unw_word): Move to unwind-ia64.h
3393 2012-03-26  Tristan Gingold  <gingold@adacore.com>
3395         * config/vms/vms-ucrt0.c: Update copyright years.
3396         Add a sanity check.
3397         (___gcc_main_flags): Declare.
3398         (__main): Check flags to remap argv and exit code.
3399         * config.host (*-*-*vms*): Adjust extra_parts.
3400         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3401         (crt0.o): Add.
3403 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
3405         * arm/lib1funcs.asm (ctzsi2): New function.
3406         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3407         * arm/t-linux (LIB1ASMFUNCS): Likewise.
3408         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3409         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3410         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3411         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3413 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
3415         * config.host: Add bits to support powerpc64-*-freebsd*.
3416         * config/rs6000/freebsd-unwind.h: New file.
3417         * config/rs6000/t-freebsd64: New file.
3419 2012-03-20  Richard Guenther  <rguenther@suse.de>
3421         PR gcov-profile/52627
3422         * libgcov.c (init_mx): Fix mutex name.
3424 2012-03-16  Tristan Gingold  <gingold@adacore.com>
3426         * config/ia64/vms-unwind.h: Remove ulong (and replace
3427         it by unw_reg where used).  Define unw_reg with __int64.
3429 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3431         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3432         Solaris 8 handling.
3433         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3434         Solaris 8 handling.
3435         (sparc_is_sighandler): Likewise.
3437 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
3439         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3440         <= saved reg size.
3442 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3444         * config/arm/crtn.S: Fix typo.
3446 2012-03-13  Richard Guenther  <rguenther@suse.de>
3448         * libgcov.c: Remove stdio.h include and NULL un-define.
3450 2012-03-13  Richard Guenther  <rguenther@suse.de>
3452         PR target/52569
3453         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3455 2012-03-13  Richard Guenther  <rguenther@suse.de>
3457         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3459 2012-03-13  Richard Guenther  <rguenther@suse.de>
3461         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3462         and __gthread_mutex_init_function definitions.
3464 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3466         * config.host (mips*-*-openbsd*): Remove.
3468 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3470         * config.host: Remove alpha*-dec-osf5.1* handling.
3471         * config/alpha/gthr-posix.c: Remove.
3472         * config/alpha/libgcc-osf5.ver: Remove.
3473         * config/alpha/osf5-unwind.h: Remove.
3474         * config/alpha/t-osf-pthread: Remove.
3475         * config/alpha/t-slibgcc-osf: Remove.
3476         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3477         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3478         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3479         * mkmap-flat.awk: Remove osf_export handling.
3481 2012-03-12  Richard Guenther  <rguenther@suse.de>
3483         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3484         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3485         (__gthread_mutex_init_function): New function.
3486         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3488         PR gcov/49484
3489         * libgcov.c: Include gthr.h.
3490         (__gcov_flush_mx): New global variable.
3491         (init_mx, init_mx_once): New functions.
3492         (__gcov_flush): Protect self with a mutex.
3493         (__gcov_fork): Re-initialize mutex after forking.
3494         * unwind-dw2-fde.c: Change condition under which to use
3495         __GTHREAD_MUTEX_INIT_FUNCTION.
3497 2012-03-12  Tristan Gingold  <gingold@adacore.com>
3499         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3500         * config/ia64/t-vms: Likewise.
3502 2012-03-11  Michael Hope  <michael.hope@linaro.org>
3504         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3505         for Thumb-2.
3507 2012-03-07  Walter Lee  <walt@tilera.com>
3509         * config/tilepro/atomic.c: Rename "atomic_" prefix to
3510         "arch_atomic_".
3511         (atomic_xor): Rename and move definition to
3512         config/tilepro/atomic.h.
3513         (atomic_nand): Ditto.
3514         * config/tilepro/atomic.h: Rename "atomic_" prefix to
3515         "arch_atomic_".
3516         (arch_atomic_xor): Move from config/tilepro/atomic.c.
3517         (arch_atomic_nand): Ditto.
3519 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3521         PR target/52507
3522         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3524 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3526         PR target/52505
3527         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3528         from RAM.
3530 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3532         PR target/52461
3533         PR target/52508
3534         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3535         if RAMPZ affects reading from RAM.
3536         (__tablejump_elpm__): Ditto.
3537         (.xload): Ditto.
3538         (__movmemx_hi): Ditto.
3539         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3540         (__do_global_dtors): Ditto.
3541         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3542         (__movmemx_hi): Ditto.
3544 2012-03-05  Richard Henderson  <rth@redhat.com>
3546         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3547         [ARM] (count_trailing_zeros): Use the builtin.
3549 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3551         * soft-fp: Imported from glibc upstream.
3553 2012-02-28  Kai Tietz  <ktietz@redhat.com>
3555         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3556         for mingw-targets as attribute gcc_struct.
3558 2012-02-28  Ian Lance Taylor  <iant@google.com>
3560         * generic-morestack.c (__splitstack_releasecontext): Correct call
3561         to __morestack_release_segments.
3563 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3565         PR target/52390
3566         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3567         for __linux__ when removing signals from __morestack_fullmask.
3569 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
3571         PR target/52261
3572         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3574 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3576         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3577         instead of HAVE_INITFINI_ARRAY.
3578         * config/ia64/crtend.S: Likewise.
3580 2012-02-20  Kai Tietz  <ktietz@redhat.com>
3582         PR libstdc++/52300
3583         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3585         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3586         to w32-unwind.h header.
3588 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3590         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3591         (mips*-*-linux*): Remove t-slibgcc-libgcc.
3592         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3593         * config/mips/mips16.S (__mips16_rdhwr): Delete.
3595 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3597         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3599 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3601         PR libitm/52220
3602         * config/darwin-crt-tm.c: Correct typo.
3604 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3605             Patrick Marlier  <patrick.marlier@gmail.com>
3607         PR libitm/52220
3608         * config/darwin-crt-tm.c: Generate dummy functions.
3610 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3611             Patrick Marlier  <patrick.marlier@gmail.com>
3613         PR libitm/52042
3614         * config/darwin-crt-tm.c (getTMCloneTable): New function.
3615         (__doTMRegistrations): Call it.
3616         (__doTMdeRegistrations): Likewise.
3618 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
3619             Anatoly Sokolov <aesok@post.ru>
3620             Eric Weddington <eric.weddington@atmel.com>
3622         PR target/52261
3623         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3624         (__epilogue_restores__): Ditto.
3626 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3628         PR target/51921
3629         PR target/52205
3630         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3631         Solaris 11 and slightly reformat.
3632         (sparc_is_sighandler): Likewise.
3634 2012-02-14  Walter Lee  <walt@tilera.com>
3636         * config.host: Handle tilegx and tilepro.
3637         * config/tilegx/sfp-machine.h: New file.
3638         * config/tilegx/sfp-machine32.h: New file.
3639         * config/tilegx/sfp-machine64.h: New file.
3640         * config/tilegx/t-crtstuff: New file.
3641         * config/tilegx/t-softfp: New file.
3642         * config/tilegx/t-tilegx: New file.
3643         * config/tilepro/atomic.c: New file.
3644         * config/tilepro/atomic.h: New file.
3645         * config/tilepro/linux-unwind.h: New file.
3646         * config/tilepro/sfp-machine.h: New file.
3647         * config/tilepro/softdivide.c: New file.
3648         * config/tilepro/softmpy.S: New file.
3649         * config/tilepro/t-crtstuff: New file.
3650         * config/tilepro/t-tilepro: New file.
3652 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
3654         PR libstdc++/51296
3655         PR libstdc++/51906
3656         * gthr-posix.h: Allow static initializer macros to be disabled.
3657         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3659 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3661         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3662         Add t-slibgcc-libgcc to tmake_file.
3663         * config/mips/libgcc-mips16.ver: Revert previous patch.
3664         * config/mips/mips16.S (__mips16_rdhwr): Hide.
3666 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3667             Jayant R Sonar <jayant.sonar@kpitcummins.com>
3669         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3670         * config/cr16/crti.S: New file.
3671         * config/cr16/crtlibid.S: New file.
3672         * config/cr16/crtn.S: New file.
3673         * config/cr16/lib1funcs.S: New file.
3674         * config/cr16/t-cr16: New file.
3675         * config/cr16/t-crtlibid: New file.
3676         * config/cr16/unwind-dw2.h: New file.
3677         * config/cr16/unwind-cr16.c: New file.
3678         * config/cr16/divmodhi3.c: New file.
3680 2012-01-25  Alan Modra  <amodra@gmail.com>
3682         * config/rs6000/t-linux64: Delete.  Move..
3683         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3684         * config/rs6000/t-linux: ..and libgcc flags to here.
3686 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
3688         * config.host (i[34567]86-*-interix3*):
3689         Change triplet to i[34567]86-*-interix[3-9]*.
3690         * configure: Regenerate.
3692 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
3693             Richard Sandiford  <rdsandiford@googlemail.com>
3695         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3696         * config/mips/mips16.S (__mips16_rdhwr): New function.
3697         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3699 2012-01-11  Nathan Sidwell  <nathan@acm.org>
3701         * libgcov.c (__gcov_init): Ignore objects with no functions.
3703 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
3705         PR target/49868
3706         Extend __pgmx semantics to linearize memory.
3707         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
3708         * config/avr/lib1funcs.S (__xload_1): New function.
3709         (__movmemx_qi, __movmemx_hi): New functions.
3710         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
3711         semantics.
3713 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
3715         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
3716         purported sigacthandler address isn't null before dereferencing it.
3717         (sparc_is_sighandler): Likewise.
3719 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
3721         PR ada/41929
3722         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
3723         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
3724         (sparc_is_sighandler): Likewise.
3725         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
3727 2012-01-06  Tristan Gingold  <gingold@adacore.com>
3729         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
3730         compatibility thunks...
3731         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
3732         (crtbeginS.o, crtendS.o): ... and these to ...
3733         * config/ia64/t-ia64-elf: ... this new file.
3734         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
3735         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
3737 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3739         * configure: Regenerate.
3740         * config/s390/t-crtstuff: Remove -fPIC.
3742 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3744         PR bootstrap/51006
3745         * enable-execute-stack-mprotect.c (getpagesize): Do not define
3746         for NetBSD.
3748 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
3750         PR target/51345
3751         * config/avr/lib1funcs.S: Remove FIXME comments.
3752         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
3754 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
3756         Implement light-weight DImode support.
3757         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
3758         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
3759         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
3760         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
3762 2011-12-30  Nathan Sidwell  <nathan@acm.org>
3764         * libgcov.c (gcov_crc32): Remove global var.
3765         (free_fn_data): New function.
3766         (buffer_fn_data): Pass in filename, more robust error recovery.
3767         (crc32_unsigned): New function.
3768         (gcov_exit): More robust detection of new program. More robust
3769         error recovery.
3770         (__gcov_init): Do not update program's crc here.
3772 2011-12-21  Tristan Gingold  <gingold@adacore.com>
3774         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
3776 2011-12-21  Ian Lance Taylor  <iant@google.com>
3778         * config/i386/morestack.S: Simplify CFI opcodes throughout.
3780 2011-12-20  Ian Lance Taylor  <iant@google.com>
3782         * config/i386/morestack.S (__morestack_non_split): If there is
3783         enough stack space already, don't split.  Ask for more stack space
3784         than we required.
3786 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
3788         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3789         `sys/sdt.h'.
3790         (_Unwind_DebugHook): New function.
3791         (uw_restore_core_regs): New define.
3792         (unwind_phase2): Use uw_restore_core_regs instead of
3793         restore_core_regs.
3794         (unwind_phase2_forced): Likewise.
3795         (__gnu_Unwind_Resume): Likewise.
3797 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
3799         * config/alpha/linux-unwind.h: Update copyright years.
3800         (MD_FROB_UPDATE_CONTEXT): New define.
3801         (alpha_frob_update_context): New function.
3803 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
3805         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3806         tmake_file rather replacing it.
3808 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
3810         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
3811         function is not used for PPC64.
3812         (save_world): Amend comments.  Update the VRsave mask to reflect the
3813         saved regs.
3814         (rest_world): Update comments, do not  clobber r10, do not use r8.
3815         (eh_rest_world_r10): Amend comments, do not use r8.
3816         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
3817         no longer used, move restore of CR and target address to the end of
3818         the routine.
3820 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
3822         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
3823         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
3825 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
3827         PR target/49313
3828         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
3829         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
3831 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
3833         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
3835 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
3837         PR target/49313
3838         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
3839         * config/avr/lib1funcs.S (__muldi3): New function.
3841 2011-12-06  Andrew Pinski  <apinski@cavium.com>
3843         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
3844         size of func_ptr.
3845         (__frame_dummy_init_array_entry): Likewise.
3847 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
3849         Forward-port from gcc-4_6-branch r181936 2011-12-02.
3851         PR target/51345
3852         PR target/51002
3853         * config/avr/lib1funcs.S (__prologue_saves__,
3854         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3855         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
3857 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
3859         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3861 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3863         PR other/51272
3864         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3865         (_ITM_deregisterTMCloneTable): Likewise.
3866         (__register_frame_info): Fix unused warning.
3867         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3868         pthread_default_stacksize_np): Likewise.
3869         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
3871 2011-11-29  DJ Delorie  <dj@redhat.com>
3873         * config.host (rl78-*-elf): New case.
3874         * config/rl78: New directory for the Renesas RL78.
3876 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
3878         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
3879         formatting.
3881 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3883         PR other/51022
3884         * config/rs6000/t-savresfgpr: New file.
3885         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3886         $(srcdir)/config/rs6000/eabi.S.
3887         * config/rs6000/t-ppccomm-ldbl: Remove.
3888         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3889         tmake_file.
3890         (powerpc-*-eabispe*): Likewise.
3891         (powerpc-*-eabi*): Likewise.
3892         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3893         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3894         to tmake_file, remove rs6000/t-ppccomm-ldbl.
3895         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3896         tmake_file.
3897         (powerpc-*-eabisim*): Likewise.
3898         (powerpc-*-elf*): Likewise.
3899         (powerpc-*-eabialtivec*): Likewise.
3900         (powerpc-xilinx-eabi*): Likewise.
3901         (powerpc-*-rtems*): Likewise.
3902         (powerpcle-*-elf*): Likewise.
3903         (powerpcle-*-eabisim*): Likewise.
3904         (powerpcle-*-eabi*): Likewise.
3906 2011-11-27  Ian Lance Taylor  <iant@google.com>
3908         * generic-morestack.c (__splitstack_find): Check for NULL old
3909         stack value.
3910         (__splitstack_resetcontext): New function.
3911         (__splitstack_releasecontext): New function.
3912         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3914 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
3916         * config/darwin-crt-tm.c: Correct comments, use correct licence.
3918 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
3920         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3922 2011-11-26  Richard Henderson  <rth@redhat.com>
3924         * config/m68k/linux-atomic.c: New file.
3925         * config/m68k/t-linux: New file.
3926         * config.host (m68k-uclinux, m68k-linux): Use it.
3928 2011-11-26  Richard Henderson  <rth@redhat.com>
3930         * crtstuff.c (__TMC_LIST__): Mark used not unused.
3931         (__TMC_END__): Only declare if hidden is available; in the definition,
3932         if hidden is unavailable add a null record.
3933         (deregister_tm_clones, register_tm_clones): New.
3934         (__do_global_dtors_aux, frame_dummy): Use them.
3935         (__do_global_dtors, __do_global_ctors_1): Likewise.
3937 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
3939         * config/darwin-crt-tm.c: New file.
3940         * config.host (darwin): Build crttms.o crttme.o to provide
3941         startup and shutdown for tm clones.
3942         * config/t-darwin (crttms.o): New build rule.
3943         (crttme.o): Likewise.
3945 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
3947         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3948         et al.
3950 2011-11-21  Richard Henderson  <rth@redhat.com>
3952         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3953         (__TMC_LIST__, __TMC_END__): New.
3954         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3955         (__do_global_dtors): Likewise.
3956         (frame_dummy): Call _ITM_registerTMCloneTable.
3957         (__do_global_ctors_1): Likewise.
3959 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3961         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3962         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3963         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3964         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3965         * config/i386/t-darwin64: Remove.
3966         * config/sh/t-netbsd (LIB2ADD): Remove.
3968 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
3970         PR target/49313
3971         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3972         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3973         * config/avr/lib1funcs.S (wmov): New assembler macro.
3974         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3975         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3976         (__udivmod64): New function.
3977         (__negdi2): New function.
3979 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
3981         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3982         *-*-freebsd*aout*): Remove.
3984 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
3986         * static-object.mk (c_flags-$o): Save c_flags.
3987         ($(base)$(objext)): Use it.
3989 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
3991         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3993 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
3995         PR target/49868
3996         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3997         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3998         New functions.
4000 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4002         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
4003         functions.
4004         (aeabi_uidivmod): Likewise.
4005         (umodsi3): Likewise.
4006         (divsi3): Likewise.
4007         (aeabi_idivmod): Likewise.
4008         (modsi3): Likewise.
4010 2011-11-16  Tristan Gingold  <gingold@adacore.com>
4012         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
4014 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
4016         PR target/49868
4017         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
4018         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
4020 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4022         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4023         tmake_file list.
4024         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
4025         * config/pa/t-stublib64: Delete.
4027 2011-11-12  Richard Henderson  <rth@redhat.com>
4029         * config/rs6000/linux-unwind.h (frob_update_context): Properly
4030         cast the pointer argument to _Unwind_SetGRPtr.
4032 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4034         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
4036 2011-11-09  Ian Lance Taylor  <iant@google.com>
4038         * generic-morestack.c: Include <string.h>.
4039         (uintptr_type): Define.
4040         (struct initial_sp): Add dont_block_signals field.  Reduce size of
4041         extra array by 1.
4042         (allocate_segment): Set prev field to NULL.  Don't set
4043         __morestack_current_segment or __morestack_segments.
4044         (__generic_morestack): Update current->prev and *pp after calling
4045         allocate_segment.
4046         (__morestack_block_signals): Don't do anything if
4047         dont_block_signals is set.
4048         (__morestack_unblock_signals): Likewise.
4049         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
4050         uintptr_type.
4051         (__splitstack_block_signals): New function.
4052         (enum __splitstack_content_offsets): Define.
4053         (__splitstack_getcontext, __splitstack_setcontext): New functions.
4054         (__splitstack_makecontext): New function.
4055         (__splitstack_block_signals_context): New function.
4056         (__splitstack_find_context): New function.
4057         * config/i386/morestack.S (__morestack_get_guard): New function.
4058         (__morestack_set_guard, __morestack_make_guard): New functions.
4059         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4061 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4063         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
4064         (i[34567]86-*-mingw*): ... here.
4065         (x86_64-*-mingw*): ... here.
4067 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4069         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
4071 2011-11-07  Nathan Sidwell  <nathan@acm.org>
4073         * libgcov.c (struct gcov_fn_buffer): New struct.
4074         (buffer_fn_data): New helper.
4075         (gcov_exit): Rework for new gcov data structures.
4077 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
4079         PR target/49313
4080         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
4082 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4084         * config.host (tmake_file): Correct comment.
4085         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
4086         t-libgcc-pic.
4087         (bfin*-uclinux*): Likewise.
4088         (bfin*-linux-uclibc*): Likewise.
4089         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
4091         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
4092         assigning.
4093         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4094         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
4095         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4096         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
4097         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4098         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
4099         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
4100         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4101         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
4102         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
4103         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
4104         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
4105         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
4107         * config/bfin/t-elf: Remove.
4108         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
4110 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4112         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
4113         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
4114         (lm32-*-elf*, lm32-*-rtems*): Split into ...
4115         (lm32-*-elf*): ... this.
4116         (lm32-*-rtems*): ... and this.
4117         Add to tmake_file.
4118         (m32r-*-rtems*): Add to tmake_file.
4119         (moxie-*-rtems*): Likewise.
4120         (sparc-*-rtems*): Likewise.
4121         Remove t-rtems from tmake_file.
4122         (sparc64-*-rtems*): Likewise.
4123         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
4124         instead.
4126 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4128         PR bootstrap/50982
4129         * config/gthr-posix.h: Move ...
4130         * gthr-posix.h: ... here.
4131         * config/gthr-lynx.h: Reflect this.
4132         * config/gthr-vxworks.h: Likewise.
4133         * config/rs6000/gthr-aix.h: Likewise.
4134         * configure.ac (target_thread_file): Likewise.
4135         * configure: Regenerate.
4137 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4139         * config.host (arm*-*-rtemseabi*): New target.
4141 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4143         PR other/50991
4144         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
4145         extra-parts.
4147 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
4149         * config.host (epiphany-*-elf*): New configuration.
4150         * config/epiphany: New Directory.
4152 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
4154         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
4155         * config/avr/t-rtems: New.
4156         Filter out _exit from LIB1ASMFUNCS.
4158 2011-11-04  David S. Miller  <davem@davemloft.net>
4160         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
4161         * configure: Rebuild.
4163 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4165         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
4166         variable.
4168 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
4170         PR target/50931
4171         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
4172         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
4174 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
4176         PR target/50989
4177         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
4179 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4181         * config/c6x/t-elf (LIB2ADDEH): Set.
4182         * config/c6x/t-c6x-elf: Remove.
4184 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4186         * config/i386/sol2-ci.S: Rename to ...
4187         * config/i386/crti.S: ... this.
4188         * config/i386/sol2-cn.S: Rename to ...
4189         * config/i386/crtn.S: ... this.
4190         * config/sparc/sol2-ci.S: Rename to ...
4191         * config/sparc/crti.S: ... this.
4192         * config/sparc/sol2-cn.S: Rename to ...
4193         * config/sparc/crtn.S: ... this.
4194         * config/t-sol2 (CUSTOM_CRTIN): Remove.
4195         (crti.o, crtn.o): Remove.
4197 2011-11-04  Tristan Gingold  <gingold@adacore.com>
4199         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
4201 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4203         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
4205 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
4207         * config.host (crisv32-*-none, cris-*-none): Remove.
4208         (crisv32-*-elf): Append to tmake_file, don't just set it.
4209         (cris-*-elf): Add missing t-fdpbit to tmake_file.
4211 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4213         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
4214         (ecrtn$(objext)): Likewise.
4215         (ncrti$(objext)): Likewise.
4216         (ncrtn$(objext)): Likewise.
4218 2011-11-03  Andreas Schwab  <schwab@redhat.com>
4220         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
4222 2011-11-02  David S. Miller  <davem@davemloft.net>
4224         * configure.ac: Set host_address on sparc too.
4225         * configure: Regenerate.
4226         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4227         based upon host_address.
4228         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4230 2011-11-02  Jason Merrill  <jason@redhat.com>
4232         * config/rs6000/t-ppccomm: Add missing \.
4234 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4236         * gthr-single.h, gthr.h: New files.
4237         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4238         config/gthr-vxworks.h, config/i386/gthr-win32.h,
4239         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4240         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4241         * config/i386/gthr-win32.c: Include "gthr-win32.h".
4242         * configure.ac (thread_header): New variable.
4243         Set it depending on target_thread_file.
4244         (gthr-default.h): Link from $thread_header.
4245         * configure: Regenerate.
4246         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4248 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4250         * configure.ac (tm_file_): New variable.
4251         Determine from tm_file.
4252         (tm_file, tm_defines): Substitute.
4253         * configure: Regenerate.
4254         * mkheader.sh: New file.
4255         * Makefile.in (clean): Remove libgcc_tm.h.
4256         ($(objects)): Depend on libgcc_tm.h.
4257         (libgcc_tm_defines, libgcc_tm_file): New variables.
4258         (libgcc_tm.h, libgcc_tm.stamp): New targets.
4259         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4260         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4261         ($(extra-parts)): Depend on libgcc_tm.h.
4262         * config.host (tm_defines, tm_file): New variable.
4263         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4264         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4265         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4266         (avr-*-rtems*): Likewise.
4267         (avr-*-*): Likewise.
4268         (frv-*-elf): Likewise.
4269         (frv-*-*linux*): Likewise.
4270         (h8300-*-rtems*): Likewise.
4271         (h8300-*-elf*): Likewise.
4272         (i[34567]86-*-darwin*): Likewise.
4273         (x86_64-*-darwin*): Likewise.
4274         (rx-*-elf): Likewise.
4275         (tic6x-*-uclinux): Likewise.
4276         (tic6x-*-elf): Likewise.
4277         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4278         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4279         * config/i386/cygming-crtbegin.c: Likewise.
4280         * config/i386/cygming-crtend.c: Likewise.
4281         * config/ia64/fde-vms.c: Likewise.
4282         * config/ia64/unwind-ia64.c: Likewise.
4283         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4284         * config/rs6000/darwin-fallback.c: Likewise.
4285         * config/stormy16/lib2funcs.c: Likewise.
4286         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4287         * crtstuff.c: Likewise.
4288         * dfp-bit.h: Likewise.
4289         * emutls.c: Likewise.
4290         * fixed-bit.c: Likewise.
4291         * fp-bit.c: Likewise.
4292         * generic-morestack-thread.c: Likewise.
4293         * generic-morestack.c: Likewise.
4294         * libgcc2.c: Likewise.
4295         * libgcov.c: Likewise.
4296         * unwind-dw2-fde-dip.c: Likewise.
4297         * unwind-dw2-fde.c: Likewise.
4298         * unwind-dw2.c: Likewise.
4299         * unwind-sjlj.c: Likewise.
4301 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4303         * configure.ac: Include ../config/picflag.m4.
4304         (GCC_PICFLAG): Call it.
4305         Substitute.
4306         * configure: Regenerate.
4307         * Makefile.in (gcc_srcdir): Remove.
4308         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4309         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4310         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4311         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4312         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4313         Use $<.
4314         Remove comment.
4315         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4316         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4317         to refer to libgcc2.c.
4318         Use $<.
4319         * config/darwin-64.c: New file.
4320         * config/darwin-crt3.c: Remove comment.
4321         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4322         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4323         config/udivmodsi4.c: New files.
4324         * config/memcmp.c, config/memcpy.c, config/memmove.c,
4325         config/memset.c: New files.
4326         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4327         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4328         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4329         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4330         * config/t-openbsd-thread: New file.
4331         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4332         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4333         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4334         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4335         qrnnd.S.
4336         Adapt filename.
4337         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4338         to refer to gthr-posix.c.
4339         * config/alpha/t-vms (LIB2ADD): Set.
4340         * config/alpha/vms-gcc_shell_handler.c: New file.
4341         * config/arm/bpabi.c, config/arm/fp16.c,
4342         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4343         config/arm/unaligned-funcs.c: New files.
4344         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4345         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4346         * config/arm/t-linux: Likewise.
4347         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4348         * config/arm/t-netbsd: New file.
4349         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4350         * config/arm/t-symbian (LIB2ADD_ST): Set.
4351         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4352         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4353         * config/bfin/t-elf: New file.
4354         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4355         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4356         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4357         config/c6x/ltf.c: New files.
4358         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4359         (HOST_LIBGCC2_CFLAGS): Set.
4360         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4361         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4362         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4363         New files.
4364         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4365         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4366         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4367         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4368         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4369         files.
4370         * config/frv/t-frv (LIB2ADD): Set.
4371         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4372         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4373         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4374         config/h8300/popcounthi2.c: New files.
4375         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4376         * config/i386/gthr-win32.c: New file.
4377         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4378         * config/i386/t-cygwin: Likewise.
4379         * config/i386/t-darwin, config/i386/t-darwin64,
4380         config/i386/t-gthr-win32, config/i386/t-interix: New files.
4381         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4382         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4383         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4384         * config/ia64/quadlib.c: New file.
4385         * config/ia64/t-hpux (LIB2ADD): Set.
4386         * config/ia64/t-ia64: Add comment.
4387         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4388         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4389         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4390         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4391         * config/m32c/t-m32c (LIB2ADD): Set.
4392         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4393         * config/m32r/t-m32r: Likewise.
4394         * config/m68k/fpgnulib.c: New file.
4395         * config/m68k/t-floatlib (LIB2ADD): Set.
4396         (xfgnulib.c): New target.
4397         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4398         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4399         * config/mep/t-mep (LIB2ADD): Set.
4400         * config/microblaze/divsi3.asm: Rename to divsi3.S.
4401         * config/microblaze/moddi3.asm: Rename to moddi3.S.
4402         * config/microblaze/modsi3.asm: Rename to modsi3.S.
4403         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4404         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4405         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4406         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4407         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4408         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4409         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4410         New files.
4411         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4412         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4413         * config/pa/fptr.c, config/pa/lib2funcs.S,
4414         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4415         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4416         (LIB2ADD, LIB2ADD_ST): Set.
4417         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4418         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4419         Set.
4420         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4421         * config/pdp11/t-pdp11: New file.
4422         * config/picochip/libgccExtras/adddi3.S,
4423         config/picochip/libgccExtras/ashlsi3.S,
4424         config/picochip/libgccExtras/ashrsi3.S,
4425         config/picochip/libgccExtras/clzsi2.S,
4426         config/picochip/libgccExtras/cmpsi2.S,
4427         config/picochip/libgccExtras/divmod15.S,
4428         config/picochip/libgccExtras/divmodhi4.S,
4429         config/picochip/libgccExtras/divmodsi4.S,
4430         config/picochip/libgccExtras/lshrsi3.S,
4431         config/picochip/libgccExtras/parityhi2.S,
4432         config/picochip/libgccExtras/popcounthi2.S,
4433         config/picochip/libgccExtras/subdi3.S,
4434         config/picochip/libgccExtras/ucmpsi2.S,
4435         config/picochip/libgccExtras/udivmodhi4.S,
4436         config/picochip/libgccExtras/udivmodsi4.S: New files.
4437         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4438         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4439         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4440         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4441         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4442         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4443         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
4444         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4445         files.
4446         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4447         (HOST_LIBGCC2_CFLAGS): Set.
4448         * config/rs6000/t-darwin64: New file.
4449         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4450         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4451         * config/rs6000/t-ppccomm (LIB2ADD): Add
4452         $(srcdir)/config/rs6000/tramp.S.
4453         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4454         Add  $(srcdir)/config/rs6000/eabi.S.
4455         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4456         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4457         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4458         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4459         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4460         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4461         * config/rs6000/tramp.S: New file.
4462         * config/s390/t-tpf: Remove.
4463         * config/sh/linux-atomic.S: New file.
4464         * config/sh/t-linux (LIB2ADD): Set.
4465         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4466         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4467         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4468         to unwind-dw2.c.
4469         (HOST_LIBGCC2_CFLAGS): Set.
4470         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4471         * config/spu/divmodti4.c, config/spu/divv2df3.c,
4472         config/spu/float_disf.c, config/spu/float_unsdidf.c,
4473         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4474         config/spu/mfc_multi_tag_release.c,
4475         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4476         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4477         config/spu/multi3.c: New files.
4478         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4479         (HOST_LIBGCC2_CFLAGS): Set.
4480         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4481         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4482         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4483         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4484         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4485         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4486         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4487         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4488         config/stormy16/umodsi3.c: New files.
4489         * config/xtensa/lib2funcs.S: New file.
4490         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4491         * config/xtensa/t-xtensa (LIB2ADD): Set.
4492         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4493         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4494         Add t-freebsd-thread to tmake_file for posix threads.
4495         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4496         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4497         (*-*-lynxos*): Likewise.
4498         (*-*-netbsd*): Likewise.
4499         (*-*-openbsd*): Likewise.
4500         Add t-openbsd-thread to tmake_file for posix threads.
4501         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4502         (*-*-vxworks*): Set tmake_file.
4503         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4504         (alpha*-*-freebsd*): Likewise.
4505         (alpha*-*-netbsd*): Likewise.
4506         (alpha*-*-openbsd*): Likewise.
4507         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4508         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4509         (alpha*-dec-*vms*): Likewise.
4510         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4511         (bfin*-elf*): Add bfin/t-elf to tmake_file.
4512         (bfin*-uclinux*): Likewise.
4513         (bfin*-linux-uclibc*): Likewise.
4514         (crisv32-*-elf): Add cris/t-cris to tmake_file.
4515         (crisv32-*-none): Likewise.
4516         (cris-*-elf): Likewise.
4517         (cris-*-none): Likewise.
4518         (cris-*-linux*, crisv32-*-linux*): Likewise.
4519         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4520         tmake_file.
4521         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4522         tmake_file.
4523         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4524         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4525         (x86_64-*-elf*): Likewise.
4526         (i[34567]86-*-nto-qnx*): Likewise.
4527         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4528         win32 threads.
4529         (x86_64-*-mingw*): Likewise.
4530         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4531         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4532         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4533         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4534         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4535         tmake_file.
4536         (mipsisa64sr71k-*-elf*): Likewise.
4537         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4538         (mips-*-elf*, mipsel-*-elf*): Likewise.
4539         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4540         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4541         (mips*-*-rtems*): Likewise.
4542         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4543         to tmake_file.
4544         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4545         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4546         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4547         (spu-*-elf*): Likewise.
4548         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4550 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4552         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4553         $(srcdir) to refer to $(LIB1ASMSRC).
4554         Use $<.
4555         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4556         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4557         config/arm/lib1funcs.S: New files.
4558         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4559         * config/arm/t-arm: New file.
4560         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4561         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4562         config/arm/t-strongarm-elf: New files.
4563         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4564         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4565         * config/avr/lib1funcs.S: New file.
4566         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4567         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4568         * config/c6x/lib1funcs.S: New file.
4569         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4570         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4571         * config/frv/lib1funcs.S: New file.
4572         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4573         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4574         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4575         * config/ia64/__divxf3.asm: Rename to ...
4576         * config/ia64/__divxf3.S: ... this.
4577         Adapt lib1funcs.asm filename.
4578         * config/ia64/_fixtfdi.asm: Rename to ...
4579         * config/ia64/_fixtfdi.S: ... this.
4580         Adapt lib1funcs.asm filename.
4581         * config/ia64/_fixunstfdi.asm: Rename to ...
4582         * config/ia64/_fixunstfdi.S: ... this.
4583         Adapt lib1funcs.asm filename.
4584         * config/ia64/_floatditf.asm: Rename to ...
4585         * config/ia64/_floatditf.S: ... this.
4586         Adapt lib1funcs.asm filename.
4587         * config/ia64/lib1funcs.S: New file.
4588         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4589         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4590         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4591         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4592         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4593         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4594         * config/mep/lib1funcs.S: New file.
4595         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4596         * config/mips/mips16.S: New file.
4597         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4598         * config/pa/milli64.S: New file.
4599         * config/pa/t-linux, config/pa/t-linux64: New files.
4600         * config/picochip/lib1funcs.S: New file.
4601         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4602         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4603         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4604         * config/sh/t-netbsd: New file.
4605         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4606         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4607         * config/sh/t-sh64: New file.
4608         * config/sparc/lb1spc.S: New file.
4609         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4610         filename.
4611         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4612         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4613         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4614         config/xtensa/lib1funcs.S: New files.
4615         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4616         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4617         tmake_file.
4618         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4619         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4620         (arm*-*-linux*): Likewise.
4621         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4622         arm*-*-linux-*eabi, add arm/t-linux otherwise.
4623         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4624         (arm*-*-ecos-elf): Likewise.
4625         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4626         (arm*-*-rtems*): Likewise.
4627         (arm*-*-elf): Likewise.
4628         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4629         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4630         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4631         (bfin*-uclinux*): Likewise.
4632         (bfin*-linux-uclibc*): Likewise.
4633         (bfin*-rtems*): Likewise.
4634         (bfin*-*): Likewise.
4635         (fido-*-elf): Merge into m68k-*-elf*.
4636         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4637         (frv-*-*linux*): Add frv/t-frv to tmake_file.
4638         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4639         (h8300-*-elf*): Likewise.
4640         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4641         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4642         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4643         (i[34567]86-*-mingw*): Likewise.
4644         (x86_64-*-mingw*): Likewise.
4645         (i[34567]86-*-interix3*): Likewise.
4646         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4647         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4648         (m68k-*-elf*): Also handle fido-*-elf.
4649         Add m68k/t-floatlib to tmake_file.
4650         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4651         (m68k-*-linux*): Likewise.
4652         (m68k-*-rtems*): Likewise.
4653         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4654         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4655         sh64*-*-*.
4656         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4657         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4658         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4659         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4660         sh/t-netbsd to tmake_file.
4661         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4662         (sh-*-rtems*): Add sh/t-sh to tmake_file.
4663         (sh-wrs-vxworks): Likewise.
4664         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4665         *-leon[3-9]*.
4666         (v850*-*-*): Add v850/t-v850 to tmake_file.
4667         (vax-*-linux*): Add vax/t-linux to tmake_file.
4668         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4670 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4672         * crtstuff.c: New file.
4673         * Makefile.in (CRTSTUFF_CFLAGS): Define.
4674         (CRTSTUFF_T_CFLAGS): Define.
4675         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4676         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4677         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4678         crtstuff.c.
4679         Use $<.
4680         (crtbeginT.o): Use $(objext).
4681         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4682         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4683         (gcc-extra-parts): Remove.
4684         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4685         Set extra_parts.
4686         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4687         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4688         Add t-crtstuff-pic to tmake_file.
4689         (*-*-lynxos*): New case.
4690         Set tmake_file, extra_parts.
4691         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4692         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4693         *-*-netbsdelf[2-9]*.
4694         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4695         (*-*-rtems*): Set extra_parts.
4696         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4697         (*-*-uclinux*): New case.
4698         Set extra_parts.
4699         (*-*-vms*): New case.
4700         Set tmake_file, extra_parts.
4701         (*-*-elf): Set extra_parts.
4702         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4703         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4704         vms/t-vms64.
4705         Set extra_parts.
4706         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
4707         Set extra_parts.
4708         (arm*-*-freebsd*): Add t-crtin to tmake_file.
4709         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
4710         (arm-wrs-vxworks): Append to tmake_file.
4711         Set extra_parts.
4712         (arm*-*-uclinux*): Set extra_parts.
4713         (arm*-*-ecos-elf): Likewise.
4714         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
4715         arm*-*-eabi*.
4716         (arm*-*-rtems*): Set extra_parts.
4717         (arm*-*-elf): Likewise.
4718         (avr-*-rtems*): Clear extra_parts.
4719         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
4720         Set extra_parts.
4721         (bfin*-uclinux*): Likewise.
4722         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
4723         (bfin*-rtems*): Append to tmake_file.
4724         Set extra_parts.
4725         (bfin*-*): Likewise.
4726         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
4727         (crisv32-*-elf): ... this.
4728         (crisv32-*-none): ... this.
4729         (cris-*-elf, cris-*-none): New cases.
4730         Add cris/t-elfmulti to tmake_file.
4731         (fr30-*-elf): Append to tmake_file.
4732         Set extra_parts.
4733         (frv-*-elf): Append to tmake_file, add frv/t-frv.
4734         Set extra_parts.
4735         (h8300-*-rtems*): Append to tmake_file.
4736         Set extra_parts.
4737         (h8300-*-elf*): Likewise.
4738         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
4739         Set extra_parts.
4740         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
4741         Set extra_parts.
4742         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
4743         (x86_64-*-elf*): Likewise.
4744         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
4745         (x86_64-*-freebsd*): Likewise.
4746         (x86_64-*-netbsd*): Likewise.
4747         (i[34567]86-*-linux*): Likewise.
4748         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4749         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4750         (x86_64-*-linux*): Likewise.
4751         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4752         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
4753         tmake_file.
4754         Set extra_parts.
4755         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
4756         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
4757         Append to extra_parts, remove crtbegin.o, crtend.o.
4758         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
4759         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
4760         crtend.o, crtbeginS.o, crtendS.o.
4761         (ia64*-*-linux*): Comment extra_parts.
4762         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
4763         Set extra_parts.
4764         (iq2000*-*-elf*): Clear extra_parts.
4765         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
4766         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
4767         (m32r-*-elf*, m32r-*-rtems*): Split off ...
4768         (m32r-*-rtems*): ... this.
4769         Add m32r/t-m32r to tmake_file.
4770         (m68k-*-elf*): Add t-crtin to tmake_file.
4771         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
4772         (mcore-*-elf): Likewise.
4773         (microblaze*-*-*): Set extra_parts.
4774         (mips*-sde-elf*): New case.
4775         Set tmake_file, extra_parts.
4776         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4777         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4778         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
4779         tmake_file.
4780         Set extra_parts.
4781         (mipsisa64sr71k-*-elf*): Likewise.
4782         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4783         (mips-*-elf*, mipsel-*-elf*): Likewise.
4784         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4785         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4786         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
4787         (mips*-*-rtems*): Likewise.
4788         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4789         (moxie-*-*): Split into ...
4790         (moxie-*-elf, moxie-*-uclinux*): ... this.
4791         Add to extra_parts, remove crtbegin.o, crtend.o.
4792         (moxie-*-rtems*): New case.
4793         Set tmake_file.
4794         Clear extra_parts.
4795         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4796         Set extra_parts.
4797         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4798         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4799         tmake_file.
4800         Set extra_parts.
4801         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4802         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4803         Set extra_parts.
4804         (powerpc-*-eabisim*): Likewise.
4805         (powerpc-*-elf*): Likewise.
4806         (powerpc-*-eabialtivec*): Likewise.
4807         (powerpc-xilinx-eabi*): Likewise.
4808         (powerpc-*-eabi*): Likewise.
4809         (powerpc-*-rtems*): Likewise.
4810         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4811         tmake_file.
4812         Set extra_parts.
4813         (powerpc-*-lynxos*): Add to tmake_file.
4814         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
4815         rs6000/t-crtstuff, t-crtstuff-pic.
4816         Set extra_parts.
4817         (powerpcle-*-eabisim*): Likewise.
4818         (powerpcle-*-eabi*): Likewise.
4819         (rx-*-elf): Remove extra_parts.
4820         (s390x-ibm-tpf*): Set extra_parts.
4821         (score-*-elf): Set extra_parts.
4822         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4823         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4824         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4825         (sh64l*-*-netbsd*): Split into ...
4826         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
4827         Add t-crtstuff-pic to tmake_file.
4828         Set extra_parts.
4829         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
4830         Set extra_parts.
4831         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
4832         (sparc-*-elf*): Remove t-crtin from tmake_file.
4833         Add to extra_parts, remove crtbegin.o, crtend.o.
4834         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
4835         (sparc64-*-linux*): Likewise.
4836         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
4837         Add to extra_parts, remove crtbegin.o, crtend.o.
4838         (sparc64-*-elf*): Remove t-crtin from tmake_file.
4839         Add to extra_parts, remove crtbegin.o, crtend.o.
4840         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
4841         Add to extra_parts, remove crtbegin.o, crtend.o.
4842         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
4843         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
4844         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
4845         Set extra_parts.
4846         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4847         Set extra_parts.
4848         (tic6x-*-*): Change to ...
4849         (tic6x-*-elf): ... this.
4850         Set extra_parts.
4851         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4852         Set extra_parts.
4853         (am33_2.0-*-linux*): Add comment.
4854         (mep*-*-*): Add mep/t-mep to tmake_file.
4855         Set extra_parts.
4856         * config/alpha/t-vms: New file.
4857         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4858         * config/arm/crti.S, config/arm/crtn.S: New files.
4859         * config/bfin/crti.S, config/bfin/crtn.S: New files.
4860         * config/bfin/crtlibid.S: New file.
4861         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4862         * config/c6x/crti.S, config/c6x/crtn.S: New files.
4863         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4864         (crti.o, crtin.o): New rules.
4865         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4866         * config/c6x/t-uclinux: New file.
4867         * config/cris/t-elfmulti: New file.
4868         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4869         * config/fr30/crti.S, config/fr30/crtn.S: New files.
4870         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4871         * config/frv/t-frv: New file.
4872         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4873         * config/h8300/crti.S, config/h8300/crtn.S: New files.
4874         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4875         New files.
4876         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4877         refer to cygming-crtbegin.c, cygming-crtend.c.
4878         Use $<.
4879         * config/i386/t-nto: New file.
4880         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4881         * config/ia64/crti.S, config/ia64/crtn.S: New files.
4882         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4883         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4884         Use .S extension.
4885         Use $<.
4886         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4887         (crtinitS.o): New rule.
4888         * config/ia64/vms-crtinit.S: New file.
4889         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4890         * config/m32r/initfini.c: New file.
4891         * config/m32r/t-linux, config/m32r/t-m32r: New files.
4892         * config/m68k/crti.S, config/m68k/crtn.S: New files.
4893         * config/mcore/crti.S, config/mcore/crtn.S: New files.
4894         * config/mep/t-mep: New file.
4895         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4896         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4897         * config/mips/crti.S, config/mips/crtn.S: New files.
4898         * config/mips/t-crtstuff: New file.
4899         * config/mmix/crti.S, config/mmix/crtn.S: New files.
4900         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4901         (CUSTOM_CRTIN): Set.
4902         ($(T)crti.o, $(T)crtn.o): Remove $(T),
4903         dependencies.
4904         Use $(srcdir) to refer to crti.S, crtn.S.
4905         Use .S extension, $<.
4906         * config/moxie/crti.asm: Rename to ...
4907         * config/moxie/crti.S: ... this.
4908         * config/moxie/crtn.asm: Rename to ...
4909         * config/moxie/crtn.S: ... this.
4910         * config/moxie/t-moxie: Remove.
4911         * config/pa/stublib.c: New file.
4912         * config/pa/t-stublib, config/pa/t-stublib64: New files.
4913         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4914         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4915         * config/rs6000/t-crtstuff: New file.
4916         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4917         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4918         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4919         Make output file explicit.
4920         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4921         Make output file explicit.
4922         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4923         Make output file explicit.
4924         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4925         Make output file explicit.
4926         * config/score/crti.S, config/score/crtn.S: New files.
4927         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4928         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4929         files.
4930         * config/sh/t-sh, config/sh/t-superh: New files.
4931         * config/sparc/t-linux64: New file.
4932         * config/spu/cache.S, config/spu/cachemgr.c: New files.
4933         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4934         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4935         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4936         * config/t-crtin: Remove.
4937         * config/t-crtstuff-pic: New file.
4938         * config/t-sol2 (CUSTOM_CRTIN): Set.
4939         (crti.o, crtn.o): New rules.
4940         * config/vms/t-vms: New file.
4941         * config/vms/vms-ucrt0.c: New file.
4942         * config/xtensa/t-elf: New file.
4944 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4946         * Makefile.in (SHLIB_NM_FLAGS): Set.
4947         * mkmap-flat.awk, mkmap-symver.awk: New files.
4948         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4949         exceptions.
4950         * configure: Regenerate.
4951         * config/libgcc-glibc.ver: New file.
4952         * config/libgcc-libsystem.ver: New file.
4953         * config/t-libunwind (SHLIB_LC): Set.
4954         * config/t-linux: New file.
4955         * config/t-slibgcc (INSTALL_SHLIB): New.
4956         (SHLIB_INSTALL): Use it.
4957         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4958         to mkmap-symver.awk.
4959         (SHLIB_MAPFILES): Don't append, adapt pathname.
4960         (SHLIB_VERPFX): Set.
4961         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4962         to mkmap-symver.awk.
4963         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4964         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4965         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4966         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4967         to mkmap-flat.awk.
4968         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4969         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4970         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4971         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4972         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4973         * config/i386/libgcc-darwin.10.4.ver,
4974         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4975         New files.
4976         * config/i386/t-darwin: Remove.
4977         * config/i386/t-darwin64: Likewise.
4978         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4979         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4980         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4981         * config/i386/t-linux: New file.
4982         * config/i386/t-mingw32: New file.
4983         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4984         * config/ia64/t-glibc: Rename to ...
4985         * config/ia64/t-linux: ... this.
4986         (SHLIB_MAPFILES): Set.
4987         * config/ia64/t-glibc-libunwind: Rename to ...
4988         * config/ia64/t-linux-libunwind: ... this.
4989         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4990         * config/ia64/t-slibgcc-hpux: New file.
4991         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4992         * config/m68k/t-slibgcc-elf-ver: New file.
4993         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4994         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4995         to mkmap-flat.awk.
4996         * config/pa/t-slibgcc-hpux: New file.
4997         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4998         files.
4999         * config/rs6000/libgcc-darwin.10.4.ver,
5000         config/rs6000/libgcc-darwin.10.5.ver: New files.
5001         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
5002         config/rs6000/libgcc-glibc.ver.
5003         * config/rs6000/libgcc-ppc64.ver: Rename to
5004         config/rs6000/libgcc-ibm-ldouble.ver.
5005         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
5006         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
5007         * config/rs6000/t-ldbl128: Rename to ...
5008         * config/rs6000/t-linux: ... this.
5009         (SHLIB_MAPFILES): Adapt filename.
5010         * config/rs6000/t-slibgcc-aix: New file.
5011         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
5012         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
5013         libgcc-excl.ver, libgcc-glibc.ver.
5014         (SHLIB_LINK, SHLIB_INSTALL): Remove.
5015         * config/sparc/libgcc-glibc.ver: New file.
5016         * config/sparc/t-linux: New file.
5017         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
5018         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
5019         t-slibgcc-elf-ver to tmake_file.
5020         Add t-slibgcc-nolc-override to tmake_file for posix threads on
5021         *-*-freebsd[34].
5022         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5023         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
5024         t-slibgcc-elf-ver, t-linux to tmake_file.
5025         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
5026         tmake_file.
5027         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
5028         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
5029         (alpha*-dec-*vms*): Likewise.
5030         (arm*-*-freebsd*): Append to tmake_file.
5031         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
5032         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
5033         arm*-*-linux-*eabi.
5034         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
5035         tmake_file for arm*-*-symbianelf*.
5036         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
5037         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
5038         cris/t-linux.
5039         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
5040         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
5041         pa/t-slibgcc-dwarf-ver to tmake_file.
5042         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
5043         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
5044         (hppa*64*-*-hpux11*): Likewise.
5045         (hppa[12]*-*-hpux11*): Likewise.
5046         (x86_64-*-darwin*): Don't override tmake_file, but only keep
5047         i386/t-crtpc, i386/t-crtfm.
5048         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
5049         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5050         to tmake_file.
5051         Add i386/t-cygwin to tmake_file.
5052         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
5053         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
5054         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5055         to tmake_file.
5056         Add i386/t-mingw32 to tmake_file.
5057         (x86_64-*-mingw*): Likewise.
5058         (ia64*-*-freebsd*): Append to tmake_file.
5059         (ia64*-*-linux*): Append to tmake_file.
5060         Replace ia64/t-glibc by ia64/t-linux.
5061         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
5062         system libunwind.
5063         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
5064         t-slibgcc-hpux to tmake_file.
5065         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
5066         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
5067         (m32rle-*-linux*): Likewise.
5068         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
5069         sjlj exceptions.
5070         (microblaze*-linux*): New case.
5071         Append to tmake_file, add t-slibgcc-nolc-override.
5072         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
5073         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5074         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
5075         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5076         rs6000/t-slibgcc-aix to tmake_file.
5077         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5078         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5079         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5080         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5081         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5082         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
5083         sh*-*-linux*.
5084         (sparc-*-linux*): Append to tmake_file for *-leon*.
5085         Add sparc/t-linux to tmake_file for non-Leon targets.
5086         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
5087         (tic6x-*-uclinux): New case.
5088         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
5089         (tic6x-*-*): Add c6x/t-elf to tmake_file.
5090         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
5091         (am33_2.0-*-linux*): Append to tmake_file.
5092         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5093         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
5094         x86_64-*-kfreebsd*-gnu.
5095         Add i386/t-linux to tmake_file.
5097 2011-10-28  Ian Lance Taylor  <iant@google.com>
5099         * config/i386/morestack.S: Correct CFI information to do proper
5100         returns throughout function.  In 32-bit mode, save %ebx so that it
5101         is restored on unwind.
5103 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
5105         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
5106         case where B3 isn't the return register.
5108         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
5109         logic for doubleword pops.
5111 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
5113         * config/rs6000/t-freebsd: Add wildcard.
5115 2011-10-21  Paul Brook  <paul@codesourcery.com>
5117         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
5119 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
5120             Eric Botcazou  <ebotcazou@adacore.com>
5122         PR target/50737
5123         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
5124         fs->signal_frame to 1.
5126 2011-10-07  Ian Lance Taylor  <iant@google.com>
5128         * generic-morestack-thread.c: #include <errno.h>.
5130 2011-10-07  Ian Lance Taylor  <iant@google.com>
5132         PR target/46093
5133         * generic-morestack.c (__generic_morestack): Make sure the segment
5134         is large enough for both the stack frame and the copied
5135         parameters.
5137 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5139         PR bootstrap/49804
5140         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
5141         extra_parts.
5143 2011-09-28  Nick Clifton  <nickc@redhat.com>
5145         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
5146         64-bit doubles are not enabled.
5147         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
5148         and floatunsisf functions.
5150 2011-09-13  Paul Brook  <paul@codesourcery.com>
5152         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
5153         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
5154         * unwind-arm-common.inc: New file.
5155         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
5156         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
5157         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
5158         * config/c6x/libunwind.S: New file.
5159         * config/c6x/pr-support.c: New file.
5160         * config/c6x/unwind-c6x.c: New file.
5161         * config/c6x/unwind-c6x.h: New file.
5162         * config/c6x/t-c6x-elf: New file.
5164 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
5166         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
5167         (ASM_DIVZERO): Ditto.
5168         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
5170 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
5172         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
5174 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
5176         PR target/50090
5177         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
5178         instead of an assembly one.
5180 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
5182         PR bootstrap/50047
5183         * Makefile.in (install-unwind_h): Create
5184         $(gcc_objdir)/include/unwind.h atomically.
5186 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5188         * Makefile.in (install-unwind_h): Remove destination file first.
5190 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5192         * sync.c: New file.
5193         * config/mips/t-mips16: New file.
5194         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
5195         (mips*-*-linux*): Likewise.
5196         (mips*-sde-elf*): Likewise.
5197         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
5198         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
5199         Add mips/t-mips16 to tmake_file.
5200         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
5201         (mips-*-elf*): Likewise.
5202         (mips64-*-elf*): Likewise.
5203         (mips64orion-*-elf*): Likewise.
5204         (mips*-*-rtems*): Likewise.
5205         (mipstx39-*-elf*): Likewise.
5206         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
5207         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
5208         LIBGCC_SYNC_CFLAGS.
5209         Use $(srcdir) to refer to sync.c.
5210         Use $<.
5211         ($(libgcc-sync-funcs-o)): Likewise.
5212         ($(libgcc-sync-size-funcs-s-o)): Likewise.
5213         ($(libgcc-sync-funcs-s-o)): Likewise.
5215 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5217         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
5218         t-libunwind.
5220 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
5222         PR other/48007
5223         * config/i386/value-unwind.h: New.
5225 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
5227         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5228         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5229         Add to tmake_file rather than overriding it.
5231 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5233         * config/t-softfp: Remove.
5234         * soft-fp: Moved from ../gcc/config.
5235         * soft-fp/README: Remove t-softfp reference.
5236         * soft-fp/t-softfp: Move to config/t-softfp.
5237         (softfp_machine_header): Remove.
5238         (softfp_file_list): Remove config subdir.
5239         (soft-fp-objects): New variable.
5240         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5241         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5242         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5243         * config/t-softfp-excl: New file.
5244         * config/t-softfp-sfdf: New file.
5245         * config/t-softfp-tf: New file.
5246         * config/no-sfp-machine.h: New file.
5247         * config/arm/sfp-machine.h: New file.
5248         * config/arm/t-softfp: New file.
5249         * config/c6x/sfp-machine.h: New file.
5250         * config/i386/32/t-fprules-softfp: Rename to ...
5251         * config/i386/32/t-softfp: ... this.
5252         (tifunctions, LIB2ADD): Remove.
5253         (softfp_int_modes): Override.
5254         * config/i386/64/t-softfp-compat (tf-functions): Remove config
5255         subdir.
5256         * config/i386/64/eqtf2.c: Likewise.
5257         * config/i386/64/getf2.c: Likewise.
5258         * config/i386/64/letf2.c: Likewise.
5259         * config/ia64/sft-machine.h: New file.
5260         * config/ia64/t-fprules-softfp: Rename to ...
5261         * config/ia64/t-softfp: ... this.
5262         * config/lm32/sfp-machine.h: New file.
5263         * config/moxie/t-moxie-softfp: Remove.
5264         * config/rs6000/ibm-ldouble-format: New file.
5265         * config/rs6000/ibm-ldouble.c: New file.
5266         * config/rs6000/libgcc-ppc-glibc.ver: New file
5267         * config/rs6000/libgcc-ppc64.ver: New file
5268         * config/rs6000/sfp-machine.h: New file.
5269         * config/rs6000/t-freebsd: New file.
5270         * config/rs6000/t-ibm-ldouble: New file.
5271         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5272         libgcc-ppc-glibc.ver.
5273         * config/rs6000/t-linux64: New file.
5274         * config/rs6000/t-ppccomm (LIB2ADD): Add
5275         $(srcdir)/config/rs6000/ibm-ldouble.c.
5276         * config/rs6000/t-ppccomm-ldbl: New file.
5277         * config/score/sfp-machine.h: New file.
5278         * config.host (sfp_machine_header): Explain.
5279         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5280         t-softfp to tmake_file.
5281         (arm*-*-uclinux*): Likewise.
5282         (arm*-*-ecos-elf): Likewise.
5283         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5284         (arm*-*-rtems*): Likewise.
5285         (arm*-*-elf): Likewise.
5286         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5287         in tmake_file.
5288         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5289         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5290         (lm32-*-uclinux*): Likewise.
5291         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5292         t-softfp-excl, t-softfp.
5293         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5294         (powerpc64-*-darwin*): Likewise.
5295         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5296         to tmake_file.
5297         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5298         tmake_file.
5299         (powerpc-*-eabisim*): Likewise.
5300         (powerpc-*-elf*): Likewise.
5301         (powerpc-*-eabialtivec*): Likewise.
5302         (powerpc-xilinx-eabi*): Likewise.
5303         (powerpc-*-rtems*): Likewise.
5304         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5305         t-softfp-excl, t-softfp to tmake_file.
5306         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5307         rs6000/t-ppccomm-ldbl to tmake_file.
5308         (powerpcle-*-elf*): Likewise.
5309         (powerpcle-*-eabisim*): Likewise.
5310         (powerpcle-*-eabi*): Likewise.
5311         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5312         rs6000/t-ibm-ldouble to tmake_file.
5313         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5314         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5315         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5316         (tic6x-*-*): Likewise.
5317         (i[34567]86-*-darwin*, x86_64-*-darwin*,
5318         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5319         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5320         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5321         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5322         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5323         t-softfp to tmake_file.
5324         * configure.ac (sfp_machine_header): Provide default if unset.
5325         Substitute.
5326         Link sfp-machine.h to config/$sfp_machine_header.
5327         * configure: Regenerate.
5329 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5331         * Makefile.in (double_type_size, long_double_type_size): Set.
5332         Remove $(fpbit-in-libgcc) support.
5333         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5334         (fpbit-src): New variable.
5335         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5336         Compile with -DFLOAT $(FPBIT_CFLAGS).
5337         Use $<.
5338         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5339         Compile with $(FPBIT_CFLAGS).
5340         Use $<.
5341         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5342         Compile with -DFLOAT $(TPBIT_CFLAGS).
5343         Use $<.
5344         * configure.ac (double_type_size, long_double_type_size):
5345         Determine and substitute.
5346         * configure: Regenerate.
5347         * fp-bit.c, fp-bit.h: New files.
5348         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5349         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5350         * config/mips/t-mips: New file.
5351         * config/mips/t-sdemtk: New file.
5352         * config/rs6000/ppc64-fp.c: New file.
5353         * config/rs6000/t-darwin (LIB2ADD): Add
5354         $(srcdir)/config/rs6000/ppc64-fp.c.
5355         * config/rs6000/t-ppc64-fp: New file.
5356         * config/rx/rx-lib.h: New file.
5357         * config/rx/t-rx (FPBIT): Set to true.
5358         ($(gcc_objdir)/fp-bit.c): Remove.
5359         (DPBIT): Set to true only with -m64bit-doubles.
5360         ($(gcc_objdir)/dp-bit.c): Remove.
5361         * config/sparc/t-softfp: Remove.
5362         * config/spu/t-elf: New file.
5363         * config/t-fdpbit, config/t-fpbit: New files.
5364         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5365         (mips*-*-*): Likewise.
5366         (arm-wrs-vxworks): Likewise.
5367         (arm*-*-freebsd*): Likewise.
5368         (avr-*-rtems*): Add t-fpbit to tmake_file.
5369         (avr-*-*): Likewise.
5370         (bfin*-elf*): Add t-fdpbit to tmake_file.
5371         (bfin*-uclinux*): Likewise.
5372         (bfin*-linux-uclibc*): Likewise.
5373         (bfin*-rtems*): New case.
5374         Add t-fdpbit to tmake_file.
5375         (bfin*-*): Add t-fdpbit to tmake_file.
5376         (crisv32-*-elf): Likewise.
5377         (cris-*-linux*): Likewise.
5378         (fr30-*-elf): Likewise.
5379         (frv-*-elf, frv-*-*linux*): Likewise.
5380         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5381         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5382         (m32r-*-elf*): Likewise.
5383         (m32rle-*-elf*): Likewise.
5384         (m32r-*-linux*): Likewise.
5385         (m32rle-*-linux*): Likewise.
5386         (mcore-*-elf): Add t-fdpbit to tmake_file.
5387         (microblaze*-*-*): Likewise.
5388         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5389         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5390         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5391         Fix typo.
5392         Add mips/t-tpbit to tmake-file.
5393         (mips*-*-linux*): Fix typo.
5394         (mips*-sde-elf*): New case
5395         Add mips/t-sdemtk unless using newlib.
5396         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5397         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5398         (mn10300-*-*): Likewise.
5399         (pdp11-*-*): Likewise.
5400         (picochip-*-*): Add t-fpbit to tmake_file.
5401         (powerpc-*-eabisimaltivec*): Likewise.
5402         (powerpc-*-eabisim*): Likewise.
5403         (powerpc-*-elf*): Likewise.
5404         (powerpc-*-eabialtivec*): Likewise.
5405         (powerpc-xilinx-eabi*): New case.
5406         Add t-fdpbit to tmake_file.
5407         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
5408         (powerpc-*-rtems*): Likewise.
5409         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5410         tmake_file.
5411         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5412         tmake_file.
5413         (powerpc-*-lynxos*): Likewise.
5414         (powerpcle-*-elf*): Likewise.
5415         (powerpcle-*-eabisim*): Likewise.
5416         (powerpcle-*-eabi*): Likewise.
5417         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5418         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5419         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5420         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5421         (rx-*-elf): Add t-fdpbit to tmake_file.
5422         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5423         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5424         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5425         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5426         sh*-*-netbsd*.
5427         (sh-*-rtems*): Add t-fdpbit to tmake_file.
5428         (sh-wrs-vxworks): Likewise.
5429         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5430         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5431         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5432         (sparc64-*-rtems*): ... new case.
5433         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5434         (spu-*-elf*): Likewise.
5435         Add spu/t-elf to tmake_file.
5436         (v850*-*-*): Add t-fdpbit to tmake_file.
5437         (xstormy16-*-elf): Likewise.
5438         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5439         (mep*-*-*): Likewise.
5441 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5443         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5444         variables.
5445         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5446         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5447         (install-unwind_h): New target.
5448         (all): Depend on it.
5449         * config.host (unwind_header): New variable.
5450         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5451         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5452         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5453         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5454         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5455         Set unwind_header.
5456         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5457         Set unwind_header.
5458         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5459         arm*-*-eabi*.
5460         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5461         Set unwind_header.
5462         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5463         (ia64*-*-freebsd*): Likewise.
5464         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5465         tmake_file.
5466         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5467         $with_system_libunwind.
5468         (ia64*-*-hpux*): Set tmake_file.
5469         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5470         (picochip-*-*): Set tmake_file.
5471         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5472         md_unwind_header.
5473         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5474         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5475         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5476         (xtensa*-*-elf*): Set tmake_file.
5477         (xtensa*-*-linux*): Likewise.
5478         * configure.ac: Include ../config/unwind_ipinfo.m4.
5479         Call GCC_CHECK_UNWIND_GETIPINFO.
5480         Link unwind.h to $unwind_header.
5481         * configure: Regenerate.
5482         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5483         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5484         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5485         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5486         * config/unwind-dw2-fde-darwin.c: New file.
5487         * config/arm/libunwind.S, config/arm/pr-support.c,
5488         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5489         config/arm/unwind-arm.h,: New files.
5490         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5491         config/ia64/t-eh-ia64, config/ia64/t-glibc,
5492         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5493         config/ia64/t-vms, config/ia64/unwind-ia64.c,
5494         config/ia64/unwind-ia64.h: New files.
5495         * config/picochip/t-picochip: New file.
5496         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5497         files.
5498         * config/rs6000/t-darwin (LIB2ADDEH): Set.
5499         * config/s390/t-tpf (LIB2ADDEH): Remove.
5500         * config/t-darwin (LIB2ADDEH): Set.
5501         * config/t-eh-dw2-dip: New file.
5502         * config/t-libunwind, config/t-libunwind-elf: New files.
5503         * config/t-sol2 (LIB2ADDEH): Remove.
5504         * config/xtensa/t-xtensa: New file.
5506 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
5508         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5509         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5510         long long to check rt_sigreturn syscall.
5512 2011-08-02  Alan Modra  <amodra@gmail.com>
5514         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5515         Restore for indirect call bcrtl from correct stack slot, and only
5516         if cfa+40 isn't valid.
5518 2011-08-01  Julian Brown  <julian@codesourcery.com>
5520         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5521         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5522         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5524 2011-08-01  Julian Brown  <julian@codesourcery.com>
5526         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5527         (libgcc-std.ver.in): Use above.
5528         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5529         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
5530         throughout file.
5531         * config/t-fixedpoint-gnu-prefix: New file.
5532         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5533         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5534         instead of __PFX__.
5536 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
5538         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5539         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5540         for x86-64.  Properly check __x86_64__ and __LP64__.
5542 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
5544         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5545         version.
5546         (_FP_WS_TYPE): Likewise.
5547         (_FP_I_TYPE): Likewise.
5549 2011-07-28  Alan Modra  <amodra@gmail.com>
5551         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5552         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5553         in a plt call stub.  Do restore r2 if stopped on bctrl.
5555 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5557         * config.host (i[3456x]86-*-netware*): Remove.
5558         * config/i386/netware-crt0.c, config/i386/t-nwld,
5559         config/i386/t-slibgcc-nwld: Remove.
5561 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
5563         * config.host: Handle tic6x-*-*.
5564         * config/c6x/c6x-abi.h: New file.
5566 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5568         * config/i386/crtprec.c: New file.
5569         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5570         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5571         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5572         (x86_64-*-darwin*): Likewise.
5573         (i[34567]86-*-solaris2*: Likewise.
5575 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5577         * config/alpha/crtfastmath.c: New file.
5578         * config/i386/crtfastmath.c: New file.
5579         * config/ia64/crtfastmath.c: New file.
5580         * config/mips/crtfastmath.c: New file.
5581         * config/sparc/crtfastmath.c: New file.
5583         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5584         crtfastmath.c.
5585         Add -frandom-seed=gcc-crtfastmath.
5586         * config/alpha/t-crtfm: Remove.
5587         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5588         * config/ia64/t-ia64 (crtfastmath.o): Remove.
5590         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5591         (alpha*-dec-osf5.1*): Likewise.
5592         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5593         Add crtfastmath.o to extra_parts.
5594         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5595         Add crtfastmath.o to extra_parts.
5596         (x86_64-*-darwin*): Likewise.
5597         (x86_64-*-mingw*): Likewise.
5598         (ia64*-*-elf*): Add t-crtfm to tmake_file.
5599         (ia64*-*-freebsd*): Likewise.
5600         (ia64*-*-linux*): Likewise.
5601         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5602         Add crtfastmath.o to extra_parts.
5604 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5606         * config/darwin-crt3.o: New file.
5607         * config/rs6000/darwin-crt2.c: New file.
5608         * config/t-darwin: New file.
5609         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5610         (crt2.o): New rule.
5611         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5612         (powerpc-*-darwin*): Add crt2.o to extra_parts.
5613         (powerpc64-*-darwin*): Likewise.
5615 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5617         * config/i386/netware-crt0.c: New file.
5618         * config/i386/t-nwld: Rename to ...
5619         * config/i386/t-slibgcc-nwld: ... this.
5620         * config/i386/t-nwld: New file.
5621         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5622         tmake_file.
5623         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5624         extra_parts.
5626 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5628         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5629         i386/t-crtstuff.
5630         * configure: Regenerate.
5632 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5634         * dfp-bit.c, dfp-bit.h: New files.
5635         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5636         variables.
5637         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5638         ($(d64pbit-o)): Likewise.
5639         ($(d128pbit-o)): Likewise.
5640         * config/t-dfprules: New file.
5641         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5642         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5643         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5644         (x86_64-*-linux*): Likewise.
5645         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5646         (i[34567]86-*-cygwin*): Likewise.
5647         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
5648         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5650 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5652         * Makfile.in (LIBGCOV): New variable.
5653         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5654         * libgcov.c: New file.
5656 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5658         * fixed-bit.c, fixed-bit.h: New files.
5659         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5660         refer to fixed-bit.c.
5662 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
5664         * config.host (*local*): Remove.
5666 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5668         PR target/39150
5669         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5670         like i?86-*-solaris2.1[0-9]*.
5671         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5672         * configure.ac (i?86-*-solaris2*): Likewise.
5673         * configure: Regenerate.
5675 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
5677         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5678         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5679         md_unwind_header by splitting out of...
5680         (i[34567]86-*-linux*): ... this.
5681         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5682         Remove md_unwind_header by splitting out of...
5683         (x86_64-*-linux*): ... this.
5685 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
5687         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5689 2011-06-28  Nick Clifton  <nickc@redhat.com>
5691         * config.host: Recognize all V850 variants.
5693 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
5695         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5697 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5699         * shared-object.mk (c_flags-$o): Save c_flags.
5700         ($(base)$(objext)): Use it.
5701         ($(base)_s$(objext)): Likewise.
5703 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
5705         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
5706         * libgcc-std.ver.in (GCC_4.7.0): New section.
5708 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
5710         PR target/49313
5711         PR target/29524
5712         * config/avr/t-avr: Fix line endings.
5713         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
5714         _parityXX2.
5716 2011-06-14  Olivier Hainque  <hainque@adacore.com>
5717             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5719         * config/mips/irix6-unwind.h: New file.
5720         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
5722 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
5724         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
5725         (sparc64_fallback_frame_state): Use it.
5726         (sparc64_frob_update_context): Further adjust context.
5727         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
5728         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
5729         * config/sparc/sol2-cn.S: Likewise.
5731 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5733         * enable-execute-stack-empty.c: New file.
5734         * enable-execute-stack-mprotect.c: New file.
5735         * config/i386/enable-execute-stack-mingw32.c: New file.
5736         * config.host (enable_execute_stack): New variable.
5737         Select appropriate variants.
5738         * configure.ac: Link enable-execute-stack.c to
5739         $enable_execute_stack.
5740         * configure: Regenerate.
5741         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
5742         (lib2funcs): Remove _enable_execute_stack.
5744 2011-06-09  David S. Miller  <davem@davemloft.net>
5745             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5747         * config.host (sparc-*-linux*): Correct md_unwind_header
5748         filename.
5749         (s390x-ibm-tpf*): Fix typo.
5751 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5753         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
5754         Add crtfastmath.o to extra_parts.
5755         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
5756         mips/t-crtfm.
5757         * config/mips/t-crtfm: Remove.
5759 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5761         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
5763 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5765         * config.host (sh*-*-linux*): Fix typo.
5767 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5769         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
5770         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
5771         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
5772         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
5773         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
5774         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
5775         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
5776         Wrap in !__MINGW64__.
5777         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
5778         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
5779         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
5780         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5781         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5782         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5783         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5784         Wrap in !__LP64__.
5785         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5786         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5787         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5788         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5789         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5790         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5791         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5792         * config/no-unwind.h: New file.
5793         * config.host (md_unwind_header): Document.
5794         Define.
5795         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5796         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5797         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5798         hppa[12]*-*-hpux11*): Set md_unwind_header.
5799         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5800         Set md_unwind_header.
5801         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5802         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5803         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5804         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5805         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5806         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5807         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5808         md_unwind_header.
5809         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5810         * configure: Regenerate.
5812 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5814         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
5815         Set tmake_file, extra_parts.
5816         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
5817         Remove O32 support.
5818         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
5819         Remove O32 support.
5820         * config/mips/t-irix6: New file.
5821         * config/mips/t-slibgcc-irix: New file.
5823 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5825         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
5826         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
5828 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5830         * configure.ac (target_thread_file): Determine thread model.
5831         * configure: Regenerate.
5832         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
5833         * config/alpha/t-alpha: New file.
5834         * config/alpha/t-crtfm: Use $<.
5835         * config/alpha/t-ieee: New file.
5836         * config/alpha/t-osf-pthread: New file.
5837         * config/alpha/t-slibgcc-osf: New file.
5838         * config/alpha/libgcc-osf5.ver: New file.
5840 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5842         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
5843         tmake_file.
5844         Add crtfastmath.o to extra_parts.
5846 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5848         * config/gmon-sol2.c: Reindent.
5849         Cleanup comments.
5850         Remove, correct casts.
5851         Use STDERR_FILENO, NULL.
5852         (BASEADDRESS): Remove.
5853         (minbrk): Remove.
5854         (errno, sbrk): Remove declarations.
5855         (monstartup) [hp300]: Remove.
5856         (mcount): Remove.
5858 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5860         * Makefile.in (cpu_type): Define.
5861         * config.host (i[34567]86-*-rtems*): Handle it.
5862         (i[34567]86-*-solaris2*): Move body ...
5863         (*-*-solaris2*): ... here.
5864         New case, generalize.
5865         (sparc-*-elf*): Handle it.
5866         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5867         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5868         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5869         Fold into ...
5870         (sparc*-*-solaris2*): ... this.
5871         New case.
5872         (sparc64-*-elf*): Handle it.
5873         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5874         Merge ../gcc/config/i386/gmon-sol2.c.
5875         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5876         Use C comments.
5877         Merge ../gcc/config/i386/sol2-gc1.asm.
5878         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5879         Use C comments.
5880         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5881         Use C comments.
5882         * config/i386/t-crtfm (crtfastmath.o): Use $<.
5883         * config/i386/t-crtstuff: New file.
5884         * config/i386/t-softfp: New file.
5885         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5886         $(T)crti.o, $(T)crtn.o): Remove.
5887         (gcrt1.o): New rule.
5888         (TARGET_LIBGCC2_CFLAGS): Remove.
5889         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5890         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5891         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5892         * config/sparc/t-sol2: New file.
5893         * config/sparc/t-crtfm: Move to ...
5894         * config/t-crtfm: ... this.
5895         Use $(cpu_type), $<.
5896         * config/t-crtin: New file.
5897         * config/sparc/t-softfp: New file.
5898         * config/sparc/t-softmul: New file.
5899         * config/t-rtems: New file.
5900         * config/t-slibgcc: New file.
5901         * config/t-slibgcc-elf-ver: New file.
5902         * config/t-slibgcc-gld: New file.
5903         * config/t-slibgcc-sld: New file.
5904         * config/t-sol2: New file.
5905         * configure.ac: Include ../config/lib-ld.m4.
5906         Call AC_LIB_PROG_LD_GNU.
5907         Substitute cpu_type.
5908         * configure: Regenerate.
5910 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
5912         PR bootstrap/49173
5913         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5914         libgcc-std.ver in the build directory.
5915         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5916         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5918 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
5920         * libgcc-std.ver.in: New file.
5921         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5922         variables.
5923         (libgcc-std.ver): New rule.
5924         * config/t-gnu-prefix: New file.
5926 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5928         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5930 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
5932         * config/i386/darwin-lib.h: New file.
5934 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
5936         * config/arm/symbian-lib.h: New.
5938 2011-05-04  Chris Demetriou  <cgd@google.com>
5940         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5941         (__x86.get_pc_thunk.bx): ...this.
5942         (__morestack): Adjust for rename, remove undef of __i686.
5944 2011-05-03  Chris Demetriou  <cgd@google.com>
5946         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5948 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
5950         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5951         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5952         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5953         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5954         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5955         Remove cases.
5957 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
5959         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5960         Adjust copyright year.
5962 2011-03-07  Ian Lance Taylor  <iant@google.com>
5964         * generic-morestack.c (__splitstack_find): Adjust returned stack
5965         pointer to include all registers pushed by __morestack.
5967 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
5969         PR target/40125
5970         * configure.ac: Call ACX_NONCANONICAL_TARGET.
5971         (toolexecdir): Calculate and AC_SUBST.
5972         (toolexeclibdir): Likewise.
5973         * Makefile.in (target_noncanonical): Import.
5974         (toolexecdir): Likewise.
5975         (toolexeclibdir): Likewise.
5976         * configure: Regenerate.
5978 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
5980         PR target/46040
5981         * config/arm/bpabi.h: Rename to...
5982         * config/arm/bpabi-lib.h: ...this.
5984 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5986         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5987         appropriate.
5988         * configure: Regenerate.
5990 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
5992         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5993         __FLOAT_WORD_ORDER__.
5994         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5995         Delete.
5997 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
5999         PR other/46202
6000         * Makefile.in (install-strip): New phony target.
6002 2010-11-07  Ian Lance Taylor  <iant@google.com>
6004         PR target/46089
6005         * config/i386/morestack.S (__morestack_large_model): New
6006         function.
6008 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
6010         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
6011         Delete.
6012         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
6014 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
6016         * config/arm/bpabi.h: New file.
6017         * config/frv/frv-abi.h: New file.
6019 2010-10-01  Ian Lance Taylor  <iant@google.com>
6021         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
6022         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
6024 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6026         PR target/45858
6027         * config.host: Add the missing `$'.
6029 2010-09-30  Michael Eager  <eager@eagercon.com>
6031         * config.host: Add microblaze*-*-*.
6032         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
6033         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
6034         udivsi3.asm,umodsi3.asm}:  New.
6036 2010-09-28  Ian Lance Taylor  <iant@google.com>
6038         * configure.ac: Adjust CFI test to test assembler directly rather
6039         than checking gcc preprocessor macro.
6040         * configure: Rebuild.
6042 2010-09-27  Ian Lance Taylor  <iant@google.com>
6044         * configure.ac: Test whether assembler supports CFI directives.
6045         * config.host: Only add t-stack and i386/t-stack-i386 to
6046         tmake_file if libgcc_cv_cfi is "yes".
6047         * configure: Rebuild.
6049 2010-09-27  Ian Lance Taylor  <iant@google.com>
6051         * generic-morestack.h: New file.
6052         * generic-morestack.c: New file.
6053         * generic-morestack-thread.c: New file.
6054         * config/i386/morestack.S: New file.
6055         * config/t-stack: New file.
6056         * config/i386/t-stack-i386: New file.
6057         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
6058         i386/t-stack-i386 to tmake_file.
6060 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
6062         * Makefile.in (libgcc-extra-parts):  Check for static archives and
6063         invoke ranlib after installing them.
6064         (gcc-extra-parts): Likewise.
6065         (install-leaf): Likewise.
6067 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
6069         * configure: Regenerated.
6071 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
6073         * configure: Regenerated.
6075 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
6076             Andrew Pinski  <pinskia@gmail.com>
6078         PR target/40959
6079         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
6081 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6083         PR target/45524
6084         * configure: Regenerated.
6086 2010-09-06  Andreas Schwab  <schwab@redhat.com>
6088         * configure: Regenerate.
6090 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
6092         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
6093         64bit targets.
6094         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
6095         for 64bit targets.
6097 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
6098             Iain Sandoe  <iains@gcc.gnu.org>
6100         PR target/45476
6101         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
6102         LIB2FUNCS_EXCLUDE functions.
6104 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6106         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
6107         Include dfp.m4.
6108         * configure: Regenerate.
6110 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
6112         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
6113         i386/t-freebsd to tmake_file.
6114         * config/i386/t-freebsd: New file.
6115         * config/i386/libgcc-bsd.ver: New file.
6117 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
6119         * config.host (powerpc*-eabispe*): Set tmake_file.
6120         (powerpc*-eabi*): Likewise.
6121         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
6122         crtbeginS, crtendS, crtbeginT.
6124 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
6126         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
6127         to tmake_file.  Add crtfastmath.o to extra_parts.
6128         * config/mips/t-crtfm: New.
6130 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
6132         * config.host (sparc64-*-rtems*): New target.
6134 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6136         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6137         assembler syntax.
6139 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
6141         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
6143 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6145         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
6146         alpha-dec-osf5.0* support.
6148 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
6150         * config.host: Add lm32-*-rtems*.
6152 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6153             Uros Bizjak <ubizjak@gmail.com>
6155         PR target/39048
6156         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
6157         like other remaining 32-bit x86 OSes.
6158         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6159         assembler syntax.
6160         * config/i386/libgcc-sol2.ver: New file.
6161         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
6163 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
6165         PR c/43553
6166         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
6167         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
6168         is used and substitute set_use_emutls.
6169         * configure: Regenerated.
6171 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
6173         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
6175 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6177         PR target/38085
6178         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
6179         MULTILIB_CFLAGS.
6180         ($(T)gcrt1.o): Likewise.
6181         ($(T)crt1.o): Likewise.
6182         ($(T)crti.o): Likewise.
6183         ($(T)crtn.o): Likewise.
6185 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6187         PR other/42980
6188         * Makefile.in (install): Use $(MAKE) string in rule, for
6189         parallel make.
6191 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
6193         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
6194         * config/mmix/t-mmix: New file.
6195         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
6197 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
6199         PR java/41991
6200         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
6201         SHLIB_MAPFILES.
6203 2010-01-04  Anthony Green  <green@moxielogic.com>
6205         * config/moxie/crti.asm, config/moxie/crtn.asm,
6206         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
6207         config/moxie/t-moxie: New files.
6208         * config.host: Add t-moxie-softfp reference.
6210 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
6212         PR other/39888
6213         * config/t-slibgcc-darwin: Fix embedded rpaths for
6214         --enable-version-specific-runtime-libs, build extension stub
6215         libs exposing features available from current libgcc_s.
6217 2009-11-11  Jon Beniston <jon@beniston.com>
6219         * config.host: Add lm32 targets.
6220         * config/lm32: New directory.
6221         * config/lm32/libgcc_lm32.h: New file.
6222         * config/lm32/_mulsi3.c: New file.
6223         * config/lm32/_udivmodsi4.c: New file.
6224         * config/lm32/_divsi3.c: New file.
6225         * config/lm32/_modsi3.c: New file.
6226         * config/lm32/_udivsi3.c: New file.
6227         * config/lm32/_umodsi3.c: New file.
6228         * config/lm32/_lshrsi3.S: New file.
6229         * config/lm32/_ashrsi3.S: New file.
6230         * config/lm32/_ashlsi3.S: New file.
6231         * config/lm32/crti.S: New file.
6232         * config/lm32/crtn.S: New file.
6233         * config/lm32/t-lm32: New file.
6234         * config/lm32/t-elf: New file.
6235         * config/lm32/t-uclinux: New file.
6237 2009-10-26  Nick Clifton  <nickc@redhat.com>
6239         * config.host: Add support for RX target.
6240         * config/rx: New directory.
6241         * config/rx/rx-abi-functions.c: New file. Supplementary
6242         functions for libgcc to support the RX ABI.
6243         * config/rx/rx-abi.h: New file.  Supplementary header file for
6244         libgcc RX ABI functions.
6245         * config/rx/t-rx: New file: Makefile fragment for building
6246         libgcc for the RX.
6248 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
6250         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6251         constraint of y0 to "g".
6253 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6255         * config.host: Include the s390 makefile fragments.
6256         * config/s390/32/_fixdfdi.c: New file.
6257         * config/s390/32/_fixsfdi.c: New file.
6258         * config/s390/32/_fixtfdi.c: New file.
6259         * config/s390/32/_fixunsdfdi.c: New file.
6260         * config/s390/32/_fixunssfdi.c: New file.
6261         * config/s390/32/_fixunstfdi.c: New file.
6262         * config/s390/32/t-floattodi: New file.
6263         * config/s390/libgcc-glibc.ver: New file.
6264         * config/s390/t-crtstuff: New file.
6265         * config/s390/t-linux: New file.
6266         * config/s390/t-tpf: New file.
6268 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6270         * configure.ac (AC_PREREQ): Bump to 2.64.
6272 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
6274         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6276 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6278         * configure: Regenerate.
6280 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
6282         * config.host (ia64-hp-*vms*): New target.
6283         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6284         with ia64-hp-*vms*.
6286 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6288         * configure.ac: Add snippet for maintainer-mode.
6289         * configure: Regenerate.
6290         * Makefile.in (AUTOCONF, configure_deps): New variables.
6291         ($(srcdir)/configure)): New rule, active only with maintainer
6292         mode turned on.
6294 2009-06-23  DJ Delorie  <dj@redhat.com>
6296         Add MeP port.
6297         * config.host: Add mep support.
6299 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
6301         * config.host: Add i386/${host_address}/t-fprules-softfp and
6302         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
6304         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6305         for mingw targets.
6306         * config/i386/64/_multc3.c: Likewise.
6307         * config/i386/64/_powitf2.c: Likewise.
6308         * config/i386/64/eqtf2.c: Likewise.
6309         * config/i386/64/getf2.c: Likewise.
6310         * config/i386/64/letf2.c: Likewise.
6311         * config/i386/64/letf2.c: Likewise.
6312         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6313         unsigned long long for x64 mingw targets.
6314         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6315         (_FP_I_TYPE): Define as long long for x64 mingw target.
6317 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
6319         * config.host (vax-*-linux*): New.
6321 2009-05-31  Anthony Green  <green@moxielogic.com>
6323         * config.host: Add moxie support.
6324         * config/moxie/t-moxie: New file.
6326 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
6328         * config.host: Add i386/${host_address}/t-fprules-softfp and
6329         t-softfp to tmake_file for i[34567]86-*-cygwin*.
6331 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
6333         * config.host: Add i386/${host_address}/t-fprules-softfp to
6334         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6336 2009-04-09  Nick Clifton  <nickc@redhat.com>
6338         * config/ia64/tf-signs.c: Change copyright header to refer to
6339         version 3 of the GNU General Public License with version 3.1
6340         of the GCC Runtime Library Exception and to point readers at
6341         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6342         web page.
6343         * config/i386/32/tf-signs.c: Likewise.
6344         * config/libbid/_addsub_dd.c: Likewise.
6345         * config/libbid/_addsub_sd.c: Likewise.
6346         * config/libbid/_addsub_td.c: Likewise.
6347         * config/libbid/_dd_to_df.c: Likewise.
6348         * config/libbid/_dd_to_di.c: Likewise.
6349         * config/libbid/_dd_to_sd.c: Likewise.
6350         * config/libbid/_dd_to_sf.c: Likewise.
6351         * config/libbid/_dd_to_si.c: Likewise.
6352         * config/libbid/_dd_to_td.c: Likewise.
6353         * config/libbid/_dd_to_tf.c: Likewise.
6354         * config/libbid/_dd_to_udi.c: Likewise.
6355         * config/libbid/_dd_to_usi.c: Likewise.
6356         * config/libbid/_dd_to_xf.c: Likewise.
6357         * config/libbid/_df_to_dd.c: Likewise.
6358         * config/libbid/_df_to_sd.c: Likewise.
6359         * config/libbid/_df_to_td.c: Likewise.
6360         * config/libbid/_di_to_dd.c: Likewise.
6361         * config/libbid/_di_to_sd.c: Likewise.
6362         * config/libbid/_di_to_td.c: Likewise.
6363         * config/libbid/_div_dd.c: Likewise.
6364         * config/libbid/_div_sd.c: Likewise.
6365         * config/libbid/_div_td.c: Likewise.
6366         * config/libbid/_eq_dd.c: Likewise.
6367         * config/libbid/_eq_sd.c: Likewise.
6368         * config/libbid/_eq_td.c: Likewise.
6369         * config/libbid/_ge_dd.c: Likewise.
6370         * config/libbid/_ge_sd.c: Likewise.
6371         * config/libbid/_ge_td.c: Likewise.
6372         * config/libbid/_gt_dd.c: Likewise.
6373         * config/libbid/_gt_sd.c: Likewise.
6374         * config/libbid/_gt_td.c: Likewise.
6375         * config/libbid/_isinfd128.c: Likewise.
6376         * config/libbid/_isinfd32.c: Likewise.
6377         * config/libbid/_isinfd64.c: Likewise.
6378         * config/libbid/_le_dd.c: Likewise.
6379         * config/libbid/_le_sd.c: Likewise.
6380         * config/libbid/_le_td.c: Likewise.
6381         * config/libbid/_lt_dd.c: Likewise.
6382         * config/libbid/_lt_sd.c: Likewise.
6383         * config/libbid/_lt_td.c: Likewise.
6384         * config/libbid/_mul_dd.c: Likewise.
6385         * config/libbid/_mul_sd.c: Likewise.
6386         * config/libbid/_mul_td.c: Likewise.
6387         * config/libbid/_ne_dd.c: Likewise.
6388         * config/libbid/_ne_sd.c: Likewise.
6389         * config/libbid/_ne_td.c: Likewise.
6390         * config/libbid/_sd_to_dd.c: Likewise.
6391         * config/libbid/_sd_to_df.c: Likewise.
6392         * config/libbid/_sd_to_di.c: Likewise.
6393         * config/libbid/_sd_to_sf.c: Likewise.
6394         * config/libbid/_sd_to_si.c: Likewise.
6395         * config/libbid/_sd_to_td.c: Likewise.
6396         * config/libbid/_sd_to_tf.c: Likewise.
6397         * config/libbid/_sd_to_udi.c: Likewise.
6398         * config/libbid/_sd_to_usi.c: Likewise.
6399         * config/libbid/_sd_to_xf.c: Likewise.
6400         * config/libbid/_sf_to_dd.c: Likewise.
6401         * config/libbid/_sf_to_sd.c: Likewise.
6402         * config/libbid/_sf_to_td.c: Likewise.
6403         * config/libbid/_si_to_dd.c: Likewise.
6404         * config/libbid/_si_to_sd.c: Likewise.
6405         * config/libbid/_si_to_td.c: Likewise.
6406         * config/libbid/_td_to_dd.c: Likewise.
6407         * config/libbid/_td_to_df.c: Likewise.
6408         * config/libbid/_td_to_di.c: Likewise.
6409         * config/libbid/_td_to_sd.c: Likewise.
6410         * config/libbid/_td_to_sf.c: Likewise.
6411         * config/libbid/_td_to_si.c: Likewise.
6412         * config/libbid/_td_to_tf.c: Likewise.
6413         * config/libbid/_td_to_udi.c: Likewise.
6414         * config/libbid/_td_to_usi.c: Likewise.
6415         * config/libbid/_td_to_xf.c: Likewise.
6416         * config/libbid/_tf_to_dd.c: Likewise.
6417         * config/libbid/_tf_to_sd.c: Likewise.
6418         * config/libbid/_tf_to_td.c: Likewise.
6419         * config/libbid/_udi_to_dd.c: Likewise.
6420         * config/libbid/_udi_to_sd.c: Likewise.
6421         * config/libbid/_udi_to_td.c: Likewise.
6422         * config/libbid/_unord_dd.c: Likewise.
6423         * config/libbid/_unord_sd.c: Likewise.
6424         * config/libbid/_unord_td.c: Likewise.
6425         * config/libbid/_usi_to_dd.c: Likewise.
6426         * config/libbid/_usi_to_sd.c: Likewise.
6427         * config/libbid/_usi_to_td.c: Likewise.
6428         * config/libbid/_xf_to_dd.c: Likewise.
6429         * config/libbid/_xf_to_sd.c: Likewise.
6430         * config/libbid/_xf_to_td.c: Likewise.
6431         * config/libbid/bid128.c: Likewise.
6432         * config/libbid/bid128_2_str.h: Likewise.
6433         * config/libbid/bid128_2_str_macros.h: Likewise.
6434         * config/libbid/bid128_2_str_tables.c: Likewise.
6435         * config/libbid/bid128_add.c: Likewise.
6436         * config/libbid/bid128_compare.c: Likewise.
6437         * config/libbid/bid128_div.c: Likewise.
6438         * config/libbid/bid128_fma.c: Likewise.
6439         * config/libbid/bid128_logb.c: Likewise.
6440         * config/libbid/bid128_minmax.c: Likewise.
6441         * config/libbid/bid128_mul.c: Likewise.
6442         * config/libbid/bid128_next.c: Likewise.
6443         * config/libbid/bid128_noncomp.c: Likewise.
6444         * config/libbid/bid128_quantize.c: Likewise.
6445         * config/libbid/bid128_rem.c: Likewise.
6446         * config/libbid/bid128_round_integral.c: Likewise.
6447         * config/libbid/bid128_scalb.c: Likewise.
6448         * config/libbid/bid128_sqrt.c: Likewise.
6449         * config/libbid/bid128_string.c: Likewise.
6450         * config/libbid/bid128_to_int16.c: Likewise.
6451         * config/libbid/bid128_to_int32.c: Likewise.
6452         * config/libbid/bid128_to_int64.c: Likewise.
6453         * config/libbid/bid128_to_int8.c: Likewise.
6454         * config/libbid/bid128_to_uint16.c: Likewise.
6455         * config/libbid/bid128_to_uint32.c: Likewise.
6456         * config/libbid/bid128_to_uint64.c: Likewise.
6457         * config/libbid/bid128_to_uint8.c: Likewise.
6458         * config/libbid/bid32_to_bid128.c: Likewise.
6459         * config/libbid/bid32_to_bid64.c: Likewise.
6460         * config/libbid/bid64_add.c: Likewise.
6461         * config/libbid/bid64_compare.c: Likewise.
6462         * config/libbid/bid64_div.c: Likewise.
6463         * config/libbid/bid64_fma.c: Likewise.
6464         * config/libbid/bid64_logb.c: Likewise.
6465         * config/libbid/bid64_minmax.c: Likewise.
6466         * config/libbid/bid64_mul.c: Likewise.
6467         * config/libbid/bid64_next.c: Likewise.
6468         * config/libbid/bid64_noncomp.c: Likewise.
6469         * config/libbid/bid64_quantize.c: Likewise.
6470         * config/libbid/bid64_rem.c: Likewise.
6471         * config/libbid/bid64_round_integral.c: Likewise.
6472         * config/libbid/bid64_scalb.c: Likewise.
6473         * config/libbid/bid64_sqrt.c: Likewise.
6474         * config/libbid/bid64_string.c: Likewise.
6475         * config/libbid/bid64_to_bid128.c: Likewise.
6476         * config/libbid/bid64_to_int16.c: Likewise.
6477         * config/libbid/bid64_to_int32.c: Likewise.
6478         * config/libbid/bid64_to_int64.c: Likewise.
6479         * config/libbid/bid64_to_int8.c: Likewise.
6480         * config/libbid/bid64_to_uint16.c: Likewise.
6481         * config/libbid/bid64_to_uint32.c: Likewise.
6482         * config/libbid/bid64_to_uint64.c: Likewise.
6483         * config/libbid/bid64_to_uint8.c: Likewise.
6484         * config/libbid/bid_b2d.h: Likewise.
6485         * config/libbid/bid_binarydecimal.c: Likewise.
6486         * config/libbid/bid_conf.h: Likewise.
6487         * config/libbid/bid_convert_data.c: Likewise.
6488         * config/libbid/bid_decimal_data.c: Likewise.
6489         * config/libbid/bid_decimal_globals.c: Likewise.
6490         * config/libbid/bid_div_macros.h: Likewise.
6491         * config/libbid/bid_dpd.c: Likewise.
6492         * config/libbid/bid_flag_operations.c: Likewise.
6493         * config/libbid/bid_from_int.c: Likewise.
6494         * config/libbid/bid_functions.h: Likewise.
6495         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6496         * config/libbid/bid_inline_add.h: Likewise.
6497         * config/libbid/bid_internal.h: Likewise.
6498         * config/libbid/bid_round.c: Likewise.
6499         * config/libbid/bid_sqrt_macros.h: Likewise.
6501 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
6503         * Makefile.in: Change copyright header to refer to version
6504         3 of the GNU General Public License and to point readers at the
6505         COPYING3 file and the FSF's license web page.
6506         * config.host: Likewise.
6508 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
6510         * config.host: Reorder and merge to match config.gcc change.
6512 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
6514         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6516 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
6518         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6519         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6520         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6521         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6523 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
6525         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6526         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6528 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
6530         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6531         ia64/t-softfp-compat to tmake_file.
6533         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6535         * config/ia64/__divxf3.asm: New.
6536         * config/ia64/_fixtfdi.asm: Likewise.
6537         * config/ia64/_fixunstfdi.asm: Likewise.
6538         * config/ia64/_floatditf.asm: Likewise.
6539         * config/ia64/t-fprules-softfp: Likewise.
6540         * config/ia64/t-softfp-compat: Likewise.
6541         * config/ia64/tf-signs.c: Likewise.
6543 2009-01-18  Ben Elliston  <bje@au.ibm.com>
6545         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6547 2009-01-16  Ben Elliston  <bje@au.ibm.com>
6549         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6550         to tmake_file.
6552 2009-01-13  Ben Elliston  <bje@au.ibm.com>
6554         * config/t-softfp: New file.
6555         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6556         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6558 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
6560         * config.host: Add m32r*-*-rtems*.
6562 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
6564         * config.host: Add m32c*-*-rtems*.
6566 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6568         PR bootstrap/33100
6569         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6570         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6571         * configure: Regenerate.
6572         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6573         tmake_file here from gcc/config.gcc.
6574         Move extra_parts here from gcc/config.gcc.
6575         * config/i386/t-sol2: Move here from gcc/config/i386.
6576         Use gcc_srcdir instead of srcdir.
6578 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
6580         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6581         case.
6583 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
6585         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6587 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
6589         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6591 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
6593         Add picoChip port.
6594         * config.host: Add picochip-*-*.
6596 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
6598         * config.host: Match more processor names for Xtensa.
6600 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
6602         * config/i386/64/t-softfp-compat: Update comments.
6604 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6606         * config/i386/64/_divtc3-compat.c: Moved to ...
6607         * config/i386/64/_divtc3.c: Here.
6609         * config/i386/64/_multc3-compat.c: Moved to ...
6610         * config/i386/64/_multc3.c: Here.
6612         * config/i386/64/_powitf2-compat.c: Moved to ...
6613         * config/i386/64/_powitf2.c: Here.
6615         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6616         .c suffix instead of -compat.c.
6618 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
6620         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6621         (_FP_MUL_MEAT_D): Ditto.
6622         (_FP_DIV_MEAT_S): Ditto.
6623         (_FP_DIV_MEAT_D): Ditto.
6625 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
6627         * Makefile.in: Add support for __sync_* libgcc functions.
6629 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
6631         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6633 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6635         PR boostrap/36702
6636         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6637         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
6639         * config/i386/64/t-fprules-softfp: Moved to ...
6640         * config/i386/64/t-softfp-compat: This.  New.
6642 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
6644         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6645         Initialize f with 0.0.
6647 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6649         PR target/36669
6650         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6652         * config/i386/64/_divtc3-compat.c: New.
6653         * config/i386/64/_multc3-compat.c: Likewise.
6654         * config/i386/64/_powitf2-compat.c: Likewise.
6655         * config/i386/64/eqtf2.c: Likewise.
6656         * config/i386/64/getf2.c: Likewise.
6657         * config/i386/64/letf2.c: Likewise.
6658         * config/i386/64/t-fprules-softfp: Likewise.
6660 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6662         * config.host: Add i386/${host_address}/t-fprules-softfp to
6663         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
6664         i[34567]86-*-linux*, x86_64-*-linux*.
6666         * configure.ac: Set host_address to 64 or 32 for x86.
6667         * configure: Regenerated.
6669         * Makefile.in (config.status): Also depend on
6670         $(srcdir)/config.host.
6672         * config/i386/32/t-fprules-softfp: New.
6673         * config/i386/32/tf-signs.c: Likewise.
6675         * config/i386/64/sfp-machine.h: New. Moved from gcc.
6677 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6678             Uros Bizjak  <ubizjak@gmail.com>
6680         * config/i386/32/sfp-machine.h: New.
6682 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
6684         * config/rs6000/t-ppccomm: Remove rules that conflict with
6685         auto-generated rules.
6687 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6689         * configure.ac: sinclude override.m4.
6690         * configure: Regenerate.
6692 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
6694         * configure: Regenerate.
6696 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
6698         * Makefile.in (DECNUMINC): Remove
6699         -I$(MULTIBUILDTOP)../../libdecnumber.
6700         * gstdint.h: New.
6702 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
6704         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
6705         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
6706         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
6707         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
6708         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
6709         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6710         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
6711         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
6712         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
6713         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
6714         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
6715         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
6716         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
6717         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
6719 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
6721         * config.host (sh2[lbe]*-*-linux*): Allow target.
6723 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
6725         * config/rs6000/t-ppccomm: Add build rules for new files.
6726         (LIB2ADD_ST): New variable.
6728 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
6730         PR target/34210
6731         PR target/35508
6732         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
6733         * config/t-avr: New file. Build 16bit libgcc functions.
6735 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
6737         PR target/35401
6738         * config/t-slibgcc-darwin: Make install-leaf dependent on
6739         install-darwin-libgcc-stubs instead of install.
6741 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
6743         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
6744         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
6745         sh-*-rtemscoff*): Remove cases.
6747 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
6749         * Makefile.in (all): Use install-leaf rather than install.
6750         (install): Split most of the rule into...
6751         (install-leaf): ...this new one.
6753 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
6754             Paolo Bonzini  <bonzini@gnu.org>
6756         PR target/30572
6757         * Makefile.in: Use @shlib_slibdir@ substitution to get
6758         correct install name on darwin.
6759         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
6761 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
6763         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
6764         cris-*-elf and cris-*-none.
6765         (crisv32-*-linux*): Similar, as cris-*-linux*.
6767 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
6769         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
6771 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
6773         PR regression/33926
6774         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
6775         * configure: Regenerated.
6777 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
6779         * Makefile.in (dfp-filenames): Replace decimal_globals,
6780         decimal_data, binarydecimal and convert_data with
6781         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6782         and bid_convert_data, respectively.
6784 2007-09-17  Chao-ying Fu  <fu@mips.com>
6785             Nigel Stephens  <nigel@mips.com>
6787         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6788         * Makefile.in (fixed_point): Define.
6789         Check if fixed_point is yes to build support functions.
6790         * configure.ac: Check for fixed_point support.
6791         * configure: Regenerated.
6792         * gen-fixed.sh: New file to generate lists of fixed-point labels,
6793         funcs, modes, from, to.
6795 2007-09-11  Janis Johnson  <janis187@us.ibm.com
6797         * Makefile.in (dfp-filenames): Add bid128_noncomp.
6799 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
6801         * Makefile.in (dfp-filenames): Remove decUtility, add
6802         decDouble, decPacked, decQuad, decSingle.
6804 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
6806         * config.host : Add x86_64-elf target.
6808 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6810         * configure.ac (set_have_cc_tls): Add a missing =.
6811         * configure: Regenerated.
6813 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6815         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
6816         and x86_64-*-linux*.
6818         * config/t-tls: New file.
6820         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6822         * configure.ac: Include ../config/enable.m4 and
6823         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
6824         supports TLS and substitute set_have_cc_tls.
6825         * configure: Regenerated.
6827 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
6829         * Makefile.in: Use libbid for DFP when BID is enabled.
6831 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
6833         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
6834         extra_parts. Add config/i386/t-cygming to tmake_file.
6835         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
6837 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
6838             Danny Smith  <dannysmith@users.sourceforge.net>
6840         PR target/29498
6841         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
6842         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
6843         * config/i386/t-crtfm: Compile crtfastmath.o with
6844         -minline-all-stringops.
6846 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
6848         * config.host (sparc-wrs-vxworks): New target.
6850 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
6852         * config.host: Recognize fido.
6854 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
6856         * configure: Check host, not target, for decimal float support.
6858 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
6860         * config/i386/t-crtpc: New file.
6861         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
6862         (x86_64-*-linux*): Ditto.
6864 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
6866         * config.host (x86_64-*-mingw*): New target.
6868 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
6869             H.J. Lu  <hongjiu.lu@intel.com>
6871         * Makefile.in (enable_decimal_float): New.
6872         (DECNUMINC): Add
6873         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6874         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6875         (decbits-filenames): This.
6876         (decbits-objects): New.
6877         (libgcc-objects): Add $(decbits-objects).
6879         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6880         Substitute enable_decimal_float.
6881         * configure: Regenerated.
6883 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
6885         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6887 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
6889         * Makefile.in (install-info): New dummy target.
6891 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
6893         * config.host (bfin*-linux-uclibc*): Set extra_parts.
6895 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
6897         * Makefile.in: Add install-html and install-pdf dummy
6898         targets.
6900 2007-02-05  Roger Sayle  <roger@eyesopen.com>
6901             Daniel Jacobowitz  <dan@codesourcery.com>
6903         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6904         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6905         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6907 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
6909         * Makefile.in (dec-filenames): Add decExcept.
6911 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
6913         PR bootstrap/30469
6914         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6915         -fprofile-use.
6917 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
6919         * configure.ac: Add --enable-version-specific-runtime-libs.
6920         Correct $slibdir default.
6921         * configure: Regenerated.
6923 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
6925         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6927 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
6929         PR target/30519
6930         * config.host (alpha*-*-linux*): Set extra_parts.
6932 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
6934         * config/sh/t-linux: New.
6935         * config.host (sh*-*-linux*): Set tmake_file.
6937 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
6939         * Makefile.in (install): Handle multilibs.
6941 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
6943         * Makefile.in: Added .PHONY entry for documentation targets.
6945 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
6947         * Makefile.in: Add empty info, html, dvi, pdf targets.
6949 2007-01-04  Mike Stump  <mrs@apple.com>
6951         * Makefile.in (MAKEINFO): Remove.
6952         (PERL): Likewise.
6954 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
6956         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6957         * configure: Regenerate.
6958         * Makefile.in (host_subdir): Substitute it.
6959         (gcc_objdir): Use it.
6961 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
6963         * config.host (ia64*-*-linux*): Set tmake_file.
6965 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
6967         * Makefile.in (version): Define.
6969 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
6970             Paolo Bonzini  <bonzini@gnu.org>
6972         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6973         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6974         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6975         config/sparc/t-crtfm, config/t-slibgcc-darwin,
6976         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6977         shared-object.mk, siditi-object.mk, static-object.mk: New files.
6978         * configure: Generated.