* sh.c (sh_can_use_simple_return_p): Return false for SHmedia
[official-gcc.git] / libgcc / ChangeLog
blob683d2d113aacb824650a5d0ca85727eb063f1cb2
1 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
3         PR target/50457
4         * config/sh/linux-atomic.S: Delete.
5         * config/sh/linux-atomic.c: New.
6         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7         linux-atomic.c.  Add cflags to disable warnings.
9 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
11         PR other/53889
12         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
13         function.
14         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
15         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
16         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
17         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
18         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
19         Likewise.
20         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
21         Likewise.
22         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
23         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
25 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
27         * config.host (hppa-*-openbsd*): New target.
28         * config/pa/t-openbsd: New file.
30 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
32         PR target/54222
33         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
34         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
35         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
36         (__divsa3): Use __negsi2 to negate r_quoL.
37         * config/avr/lib1funcs.S (FALIAS): New macro.
38         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
39         (__negsi2): ...this new function.
40         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
41         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
42         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
43         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
44         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
45         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
47 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
49         PR target/54089
50         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
51         (lshrsi3): Reimplement as lshrsi3_r0.
53 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
55         PR target/46191
56         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
57         of libgcc.a.
59 2012-09-07  Teresa Johnson  <tejohnson@google.com>
61         PR gcov-profile/54487
62         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
63         differences.
65 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
67         PR target/54461
68         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
69         not configured --with-avrlibc=no.
70         * config/avr/t-avrlibc: New file.
71         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
72         (DPBIT_FUNCS): Ditto.
73         (TPBIT_FUNCS): Ditto.
75 2012-09-04  Teresa Johnson  <tejohnson@google.com>
77         * libgcov.c (struct gcov_summary_buffer): New structure.
78         (gcov_histogram_insert): New function.
79         (gcov_compute_histogram): Ditto.
80         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
81         histograms during summary merging.
83 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
85         * config.host (x86_64-*-openbsd*): New target.
86         
87 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
89         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
90         attribute.
92 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
94         PR target/54222
95         * config/avr/t-avr (conv_X): Rename to func_X.
97 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
99         PR target/54222
100         * config/avr/lib1funcs-fixed.S: New file.
101         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
102         after they are used.
103         (neg2, neg4): New macros.
104         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
105         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
106         (__umulhisi3): Speed up MUL variant if there is enough flash.
107         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
108         avr-modes.def.
109         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
110         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
111         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
112         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
113         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
114         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
115         (LIB2FUNCS_EXCLUDE): Add supported functions.
117 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
119         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
120         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
121         libgcc-s-objects.
122         * fixed-obj.mk: Only expand dependency if $o is not in
123         LIB2FUNCS_EXCLUDE.
125 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
127         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
129 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
131         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
132         depend on --enable-shared.
133         ($(lib1asmfuncs-o)): Use %.vis files independent of
134         --enable-shared.
135         * static-object.mk ($(base)$(objext), $(base).vis)
136         ($(base)_s$(objext)): Use same rules for visibility handling as in
137         shared-object.mk.
139 2012-08-21  Ian Lance Taylor  <iant@google.com>
141         * config/i386/morestack.S (__morestack_non_split): Increase amount
142         of space allocated for non-split code stack.
144 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
146         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
147         even if inhibit_libc.
149 2012-08-17  Julian Brown  <julian@codesourcery.com>
151         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
152         -fexceptions -fnon-call-exceptions if not defined.
153         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
154         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
156 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
158         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
159         type.
161 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
163         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
164         rs6000/t-slibgcc-aix.
166 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
168         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
170 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
172         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
174 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
176         PR driver/54171
177         * Makefile.in (version): Replace top_srcdir with srcdir.
179 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
181         * Makefile.in (version): set to BASE-VER file from gcc directory.
183 2012-08-01  Nick Clifton  <nickc@redhat.com>
185         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
186         Implements __clrsb for an HImode argument.
188 2012-07-31  Nick Clifton  <nickc@redhat.com>
190         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
191         Implements __clrsb for an HImode argument.
192         * config/stormy16/clrsbhi2.c: New file:
193         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
195 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
197         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
199 2012-07-19  Tristan Gingold  <gingold@adacore.com>
200             Richard Henderson  <rth@redhat.com>
202         * unwind-seh.c: New file.
203         * unwind-generic.h: Include windows.h for SEH.
204         (_Unwind_Exception): Use 6 private fields for SEH.
205         (_GCC_specific_handler): Declare.
206         * unwind-c.c (__gcc_personality_seh0): New function.
207         Adjust for SEH.
208         * config/i386/libgcc-cygming.ver: New file.
209         * config/i386/t-seh-eh: New file.
210         * config.host (x86_64-*-mingw*): Default to seh.
212 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
214         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
216 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
218         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
219         __builtin_expect when checking for exceptions.
220         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
222 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
224         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
225         function declaration.
226         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
227         (FP_RND_MASK): New.
228         * config/ia64/sfp-exceptions.c: New.
229         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
231 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
233         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
234         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
235         * config/i386/64/sfp-machine: ... (delete here) ...
236         * config/i386/sfp-machine.h: ... to here.
237         (FP_EX_MASK): Remove.
238         (FP_RND_MASK): New.
239         (FP_INIT_ROUNDMODE): Declare asm as volatile.
241 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
243         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
244         * config/i386/libgcc-sol2.ver: Ditto.
245         * config/i386/libgcc-glibc.ver: Ditto.
247 2012-06-11  Roland McGrath  <mcgrathr@google.com>
249         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
250         If __GLIBC__ is defined, refer to __pthread_key_create instead of
251         pthread_cancel.
253 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
255         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
256         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
257         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
258         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
259         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
260         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
261         * config/i386/64/sfp-machine: ... (delete here) ...
262         * config/i386/sfp-machine.h: ... to here.
263         (FP_EX_MASK): New.
264         (__sfp_handle_exceptions): New function declaration.
265         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
266         * config/i386/sfp-exceptions.c: New.
267         * config/i386/t-softfp: New.
268         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
269         i386/t-softfp to tmake_file.
271 2012-06-03  David S. Miller  <davem@davemloft.net>
273         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
274         change.
276 2012-05-31  David S. Miller  <davem@davemloft.net>
278         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
279         multiply and divide instructions on 32-bit when V9.
280         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
282 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
284         * config/arm/ieee754-df.S: Fix typos.
285         * config/arm/ieee754-sf.S: Fix typos.
286         * config/c6x/libunwind.S: Fix typos.
287         * config/epiphany/udivsi3-float.c: Fix typos.
288         * config/microblaze/muldi3_hard.S: Fix typos.
289         * config/picochip/adddi3.S: Fix typos.
290         * config/picochip/ashlsi3.S: Fix typos.
291         * config/picochip/ashrsi3.S: Fix typos.
292         * config/picochip/clzsi2.S: Fix typos.
293         * config/picochip/cmpsi2.S: Fix typos.
294         * config/picochip/divmod15.S: Fix typos.
295         * config/picochip/divmodhi4.S: Fix typos.
296         * config/picochip/divmodsi4.S: Fix typos.
297         * config/picochip/longjmp.S: Fix typos.
298         * config/picochip/lshrsi3.S: Fix typos.
299         * config/picochip/parityhi2.S: Fix typos.
300         * config/picochip/popcounthi2.S: Fix typos.
301         * config/picochip/setjmp.S: Fix typos.
302         * config/picochip/subdi3.S: Fix typos.
303         * config/picochip/ucmpsi2.S: Fix typos.
304         * config/picochip/udivmodhi4.S: Fix typos.
305         * config/picochip/udivmodsi4.S: Fix typos.
306         * config/spu/divv2df3.c: Fix typos.
307         * config/spu/mfc_multi_tag_release.c: Fix typos.
308         * config/spu/mfc_tag_release.c: Fix typos.
309         * configure.ac: Fix typos.
310         * configure: Regenerate.
312 2012-05-25  Ian Lance Taylor  <iant@google.com>
314         * config/i386/morestack.S (__morestack_non_split): Check whether
315         caller is varargs and needs %bp to hold the stack frame on return.
317 2012-05-25  Olivier Hainque  <hainque@adacore.com>
319         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
320         sequence in the non pic case on VxWorks.
322 2012-05-24  Olivier Hainque  <hainque@adacore.com>
324         * Makefile.in: Move dependency on install-unwind_h from
325         "install-leaf" to "install".
327 2012-05-24  Olivier Hainque  <hainque@adacore.com>
329         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
330         Use a separate command for stamp removals.
332 2012-05-21  Andrew Pinski  <apinski@cavium.com>
334         PR bootstrap/53183
335         * configure.ac: Define the default includes to being none.
336         * configure: Regenerate.
338 2012-05-16  Olivier Hainque  <hainque@adacore.com>
340         * Makefile.in (install-unwind_h): Rename into ...
341         (install-unwind_h-forbuild): New target.
342         (all): Use it instead of the former install-unwind_h.
343         (install-unwind_h): Reinstate, copy to user install destination
344         for include files, not to the internal gcc object directory one.
345         (install-leaf): Depend on it.
347 2012-05-15  Olivier Hainque  <hainque@adacore.com>
349         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
350         register numbers. LR_REGNO replaces R_LR.
351         (ucontext_for): New, helper for ...
352         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
353         and 5.3 of ...
354         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
356 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
358         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
359         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
360         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
361         i386/t-cpuinfo ...
362         (i[34567]86-*-*, x86_64-*-*): ... here.
364         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
365         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
367         * config/i386/i386-cpuinfo.c: Rename to ...
368         * config/i386/cpuinfo.c: ... this.
369         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
371         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
372         (libgcc_cv_init_priority): New test.
373         * configure: Regenerate.
374         * config.in: New file.
375         * Makefile.in (clean): Rename config.h to auto-target.h.
376         (config.h): Likewise.
377         (stamp-h): Likewise.
379         * config/i386/cpuinfo.c (auto-target.h): Include.
380         (CONSTRUCTOR_PRIORITY): Define.
381         (__cpu_indicator_init): Use it.
383 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
385         * longlong.h: Use a URL instead of an FSF postal address.
386         Replace spaces with tab.
388 2012-05-08  Teresa Johnson  <tejohnson@google.com>
390         * libgcov.c (gcov_clear, __gcov_reset): New functions.
391         (__gcov_dump): Ditto.
392         (gcov_dump_complete): New global variable.
393         (gcov_exit): Export hidden to enable use in L_gcov_dump.
394         (__gcov_flush): Outline functionality now in gcov_clear.
395         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
397 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
399         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
400         (mips*-*-linux*): Include mips/t-tpbit when long double is
401         16 bytes long.
403 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
405         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
406         (get_available_features): New argument. Check for AVX2.
407         (__cpu_indicator_init): Modify call to get_available_features.
409 2012-04-25  Alan Modra  <amodra@gmail.com>
411         * config/rs6000/crtsavevr.S: New file.
412         * config/rs6000/crtrestvr.S: New file.
413         * config/rs6000/t-savresfgpr: Build the above.
414         * config/rs6000/t-netbsd: Likewise.
416 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
418         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
420 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
422         * libgcc/config/i386/i386-cpuinfo.c: New file.
423         * libgcc/config/i386/t-cpuinfo: New file.
424         * libgcc/config.host: Include t-cpuinfo.
425         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
427 2012-04-24  Chao-ying Fu  <fu@mips.com>
429         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
431 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
433         struct siginfo vs. siginfo_t
435         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
436         siginfo_t instead of struct siginfo.
437         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
438         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
439         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
440         (ia64_handle_unwabi): Likewise.
441         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
442         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
443         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
444         (sh_fallback_frame_state): Likewise.
445         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
446         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
448 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
450         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
451         system call number.
453 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
455         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
456         if it hasn't been previously saved.
458 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
460         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
461         only for glibc.
463 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
465         PR target/52737
466         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
467         instead of __AVR_HAVE_8BIT_SP__.
469 2012-03-26  Tristan Gingold  <gingold@adacore.com>
471         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
472         (unw_table_entry): Use unw_word instead of unsigned long.
473         (_Unwind_FindTableEntry): Likewise.
474         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
475         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
476         (_Unwind_FindTableEntry): Likewise.
477         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
478         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
479         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
480         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
481         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
482         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
483         (uw_init_context_1, uw_install_context): Likewise.
484         (unw_word): Move to unwind-ia64.h
486 2012-03-26  Tristan Gingold  <gingold@adacore.com>
488         * config/vms/vms-ucrt0.c: Update copyright years.
489         Add a sanity check.
490         (___gcc_main_flags): Declare.
491         (__main): Check flags to remap argv and exit code.
492         * config.host (*-*-*vms*): Adjust extra_parts.
493         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
494         (crt0.o): Add.
496 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
498         * arm/lib1funcs.asm (ctzsi2): New function.
499         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
500         * arm/t-linux (LIB1ASMFUNCS): Likewise.
501         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
502         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
503         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
504         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
506 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
508         * config.host: Add bits to support powerpc64-*-freebsd*.
509         * config/rs6000/freebsd-unwind.h: New file.
510         * config/rs6000/t-freebsd64: New file.
512 2012-03-20  Richard Guenther  <rguenther@suse.de>
514         PR gcov-profile/52627
515         * libgcov.c (init_mx): Fix mutex name.
517 2012-03-16  Tristan Gingold  <gingold@adacore.com>
519         * config/ia64/vms-unwind.h: Remove ulong (and replace
520         it by unw_reg where used).  Define unw_reg with __int64.
522 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
524         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
525         Solaris 8 handling.
526         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
527         Solaris 8 handling.
528         (sparc_is_sighandler): Likewise.
530 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
532         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
533         <= saved reg size.
535 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
537         * config/arm/crtn.S: Fix typo.
539 2012-03-13  Richard Guenther  <rguenther@suse.de>
541         * libgcov.c: Remove stdio.h include and NULL un-define.
543 2012-03-13  Richard Guenther  <rguenther@suse.de>
545         PR target/52569
546         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
548 2012-03-13  Richard Guenther  <rguenther@suse.de>
550         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
552 2012-03-13  Richard Guenther  <rguenther@suse.de>
554         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
555         and __gthread_mutex_init_function definitions.
557 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
559         * config.host (mips*-*-openbsd*): Remove.
561 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
563         * config.host: Remove alpha*-dec-osf5.1* handling.
564         * config/alpha/gthr-posix.c: Remove.
565         * config/alpha/libgcc-osf5.ver: Remove.
566         * config/alpha/osf5-unwind.h: Remove.
567         * config/alpha/t-osf-pthread: Remove.
568         * config/alpha/t-slibgcc-osf: Remove.
569         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
570         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
571         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
572         * mkmap-flat.awk: Remove osf_export handling.
574 2012-03-12  Richard Guenther  <rguenther@suse.de>
576         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
577         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
578         (__gthread_mutex_init_function): New function.
579         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
581         PR gcov/49484
582         * libgcov.c: Include gthr.h.
583         (__gcov_flush_mx): New global variable.
584         (init_mx, init_mx_once): New functions.
585         (__gcov_flush): Protect self with a mutex.
586         (__gcov_fork): Re-initialize mutex after forking.
587         * unwind-dw2-fde.c: Change condition under which to use
588         __GTHREAD_MUTEX_INIT_FUNCTION.
590 2012-03-12  Tristan Gingold  <gingold@adacore.com>
592         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
593         * config/ia64/t-vms: Likewise.
595 2012-03-11  Michael Hope  <michael.hope@linaro.org>
597         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
598         for Thumb-2.
600 2012-03-07  Walter Lee  <walt@tilera.com>
602         * config/tilepro/atomic.c: Rename "atomic_" prefix to
603         "arch_atomic_".
604         (atomic_xor): Rename and move definition to
605         config/tilepro/atomic.h.
606         (atomic_nand): Ditto.
607         * config/tilepro/atomic.h: Rename "atomic_" prefix to
608         "arch_atomic_".
609         (arch_atomic_xor): Move from config/tilepro/atomic.c.
610         (arch_atomic_nand): Ditto.
612 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
614         PR target/52507
615         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
617 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
619         PR target/52505
620         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
621         from RAM.
623 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
625         PR target/52461
626         PR target/52508
627         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
628         if RAMPZ affects reading from RAM.
629         (__tablejump_elpm__): Ditto.
630         (.xload): Ditto.
631         (__movmemx_hi): Ditto.
632         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
633         (__do_global_dtors): Ditto.
634         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
635         (__movmemx_hi): Ditto.
637 2012-03-05  Richard Henderson  <rth@redhat.com>
639         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
640         [ARM] (count_trailing_zeros): Use the builtin.
642 2012-03-01  Kai Tietz  <ktietz@redhat.com>
644         * soft-fp: Imported from glibc upstream.
646 2012-02-28  Kai Tietz  <ktietz@redhat.com>
648         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
649         for mingw-targets as attribute gcc_struct.
651 2012-02-28  Ian Lance Taylor  <iant@google.com>
653         * generic-morestack.c (__splitstack_releasecontext): Correct call
654         to __morestack_release_segments.
656 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
658         PR target/52390
659         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
660         for __linux__ when removing signals from __morestack_fullmask.
662 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
664         PR target/52261
665         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
667 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
669         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
670         instead of HAVE_INITFINI_ARRAY.
671         * config/ia64/crtend.S: Likewise.
673 2012-02-20  Kai Tietz  <ktietz@redhat.com>
675         PR libstdc++/52300
676         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
678         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
679         to w32-unwind.h header.
681 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
683         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
684         (mips*-*-linux*): Remove t-slibgcc-libgcc.
685         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
686         * config/mips/mips16.S (__mips16_rdhwr): Delete.
688 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
690         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
692 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
694         PR libitm/52220
695         * config/darwin-crt-tm.c: Correct typo.
697 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
698             Patrick Marlier  <patrick.marlier@gmail.com>
700         PR libitm/52220
701         * config/darwin-crt-tm.c: Generate dummy functions.
703 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
704             Patrick Marlier  <patrick.marlier@gmail.com>
706         PR libitm/52042
707         * config/darwin-crt-tm.c (getTMCloneTable): New function.
708         (__doTMRegistrations): Call it.
709         (__doTMdeRegistrations): Likewise.
711 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
712             Anatoly Sokolov <aesok@post.ru>
713             Eric Weddington <eric.weddington@atmel.com>
715         PR target/52261
716         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
717         (__epilogue_restores__): Ditto.
719 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
721         PR target/51921
722         PR target/52205
723         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
724         Solaris 11 and slightly reformat.
725         (sparc_is_sighandler): Likewise.
727 2012-02-14  Walter Lee  <walt@tilera.com>
729         * config.host: Handle tilegx and tilepro.
730         * config/tilegx/sfp-machine.h: New file.
731         * config/tilegx/sfp-machine32.h: New file.
732         * config/tilegx/sfp-machine64.h: New file.
733         * config/tilegx/t-crtstuff: New file.
734         * config/tilegx/t-softfp: New file.
735         * config/tilegx/t-tilegx: New file.
736         * config/tilepro/atomic.c: New file.
737         * config/tilepro/atomic.h: New file.
738         * config/tilepro/linux-unwind.h: New file.
739         * config/tilepro/sfp-machine.h: New file.
740         * config/tilepro/softdivide.c: New file.
741         * config/tilepro/softmpy.S: New file.
742         * config/tilepro/t-crtstuff: New file.
743         * config/tilepro/t-tilepro: New file.
745 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
747         PR libstdc++/51296
748         PR libstdc++/51906
749         * gthr-posix.h: Allow static initializer macros to be disabled.
750         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
752 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
754         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
755         Add t-slibgcc-libgcc to tmake_file.
756         * config/mips/libgcc-mips16.ver: Revert previous patch.
757         * config/mips/mips16.S (__mips16_rdhwr): Hide.
759 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
760             Jayant R Sonar <jayant.sonar@kpitcummins.com>
762         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
763         * config/cr16/crti.S: New file.
764         * config/cr16/crtlibid.S: New file.
765         * config/cr16/crtn.S: New file.
766         * config/cr16/lib1funcs.S: New file.
767         * config/cr16/t-cr16: New file.
768         * config/cr16/t-crtlibid: New file.
769         * config/cr16/unwind-dw2.h: New file.
770         * config/cr16/unwind-cr16.c: New file.
771         * config/cr16/divmodhi3.c: New file.
773 2012-01-25  Alan Modra  <amodra@gmail.com>
775         * config/rs6000/t-linux64: Delete.  Move..
776         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
777         * config/rs6000/t-linux: ..and libgcc flags to here.
779 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
781         * config.host (i[34567]86-*-interix3*):
782         Change triplet to i[34567]86-*-interix[3-9]*.
783         * configure: Regenerate.
785 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
786             Richard Sandiford  <rdsandiford@googlemail.com>
788         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
789         * config/mips/mips16.S (__mips16_rdhwr): New function.
790         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
792 2012-01-11  Nathan Sidwell  <nathan@acm.org>
794         * libgcov.c (__gcov_init): Ignore objects with no functions.
796 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
798         PR target/49868
799         Extend __pgmx semantics to linearize memory.
800         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
801         * config/avr/lib1funcs.S (__xload_1): New function.
802         (__movmemx_qi, __movmemx_hi): New functions.
803         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
804         semantics.
806 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
808         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
809         purported sigacthandler address isn't null before dereferencing it.
810         (sparc_is_sighandler): Likewise.
812 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
814         PR ada/41929
815         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
816         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
817         (sparc_is_sighandler): Likewise.
818         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
820 2012-01-06  Tristan Gingold  <gingold@adacore.com>
822         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
823         compatibility thunks...
824         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
825         (crtbeginS.o, crtendS.o): ... and these to ...
826         * config/ia64/t-ia64-elf: ... this new file.
827         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
828         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
830 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
832         * configure: Regenerate.
833         * config/s390/t-crtstuff: Remove -fPIC.
835 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
837         PR bootstrap/51006
838         * enable-execute-stack-mprotect.c (getpagesize): Do not define
839         for NetBSD.
841 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
843         PR target/51345
844         * config/avr/lib1funcs.S: Remove FIXME comments.
845         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
847 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
849         Implement light-weight DImode support.
850         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
851         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
852         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
853         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
855 2011-12-30  Nathan Sidwell  <nathan@acm.org>
857         * libgcov.c (gcov_crc32): Remove global var.
858         (free_fn_data): New function.
859         (buffer_fn_data): Pass in filename, more robust error recovery.
860         (crc32_unsigned): New function.
861         (gcov_exit): More robust detection of new program. More robust
862         error recovery.
863         (__gcov_init): Do not update program's crc here.
865 2011-12-21  Tristan Gingold  <gingold@adacore.com>
867         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
869 2011-12-21  Ian Lance Taylor  <iant@google.com>
871         * config/i386/morestack.S: Simplify CFI opcodes throughout.
873 2011-12-20  Ian Lance Taylor  <iant@google.com>
875         * config/i386/morestack.S (__morestack_non_split): If there is
876         enough stack space already, don't split.  Ask for more stack space
877         than we required.
879 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
881         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
882         `sys/sdt.h'.
883         (_Unwind_DebugHook): New function.
884         (uw_restore_core_regs): New define.
885         (unwind_phase2): Use uw_restore_core_regs instead of
886         restore_core_regs.
887         (unwind_phase2_forced): Likewise.
888         (__gnu_Unwind_Resume): Likewise.
890 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
892         * config/alpha/linux-unwind.h: Update copyright years.
893         (MD_FROB_UPDATE_CONTEXT): New define.
894         (alpha_frob_update_context): New function.
896 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
898         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
899         tmake_file rather replacing it.
901 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
903         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
904         function is not used for PPC64.
905         (save_world): Amend comments.  Update the VRsave mask to reflect the
906         saved regs.
907         (rest_world): Update comments, do not  clobber r10, do not use r8.
908         (eh_rest_world_r10): Amend comments, do not use r8.
909         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
910         no longer used, move restore of CR and target address to the end of
911         the routine.
913 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
915         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
916         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
918 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
920         PR target/49313
921         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
922         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
924 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
926         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
928 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
930         PR target/49313
931         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
932         * config/avr/lib1funcs.S (__muldi3): New function.
934 2011-12-06  Andrew Pinski  <apinski@cavium.com>
936         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
937         size of func_ptr.
938         (__frame_dummy_init_array_entry): Likewise.
940 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
942         Forward-port from gcc-4_6-branch r181936 2011-12-02.
944         PR target/51345
945         PR target/51002
946         * config/avr/lib1funcs.S (__prologue_saves__,
947         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
948         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
950 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
952         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
954 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
956         PR other/51272
957         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
958         (_ITM_deregisterTMCloneTable): Likewise.
959         (__register_frame_info): Fix unused warning.
960         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
961         pthread_default_stacksize_np): Likewise.
962         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
964 2011-11-29  DJ Delorie  <dj@redhat.com>
966         * config.host (rl78-*-elf): New case.
967         * config/rl78: New directory for the Renesas RL78.
969 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
971         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
972         formatting.
974 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
976         PR other/51022
977         * config/rs6000/t-savresfgpr: New file.
978         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
979         $(srcdir)/config/rs6000/eabi.S.
980         * config/rs6000/t-ppccomm-ldbl: Remove.
981         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
982         tmake_file.
983         (powerpc-*-eabispe*): Likewise.
984         (powerpc-*-eabi*): Likewise.
985         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
986         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
987         to tmake_file, remove rs6000/t-ppccomm-ldbl.
988         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
989         tmake_file.
990         (powerpc-*-eabisim*): Likewise.
991         (powerpc-*-elf*): Likewise.
992         (powerpc-*-eabialtivec*): Likewise.
993         (powerpc-xilinx-eabi*): Likewise.
994         (powerpc-*-rtems*): Likewise.
995         (powerpcle-*-elf*): Likewise.
996         (powerpcle-*-eabisim*): Likewise.
997         (powerpcle-*-eabi*): Likewise.
999 2011-11-27  Ian Lance Taylor  <iant@google.com>
1001         * generic-morestack.c (__splitstack_find): Check for NULL old
1002         stack value.
1003         (__splitstack_resetcontext): New function.
1004         (__splitstack_releasecontext): New function.
1005         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1007 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1009         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1011 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1013         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1015 2011-11-26  Richard Henderson  <rth@redhat.com>
1017         * config/m68k/linux-atomic.c: New file.
1018         * config/m68k/t-linux: New file.
1019         * config.host (m68k-uclinux, m68k-linux): Use it.
1021 2011-11-26  Richard Henderson  <rth@redhat.com>
1023         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1024         (__TMC_END__): Only declare if hidden is available; in the definition,
1025         if hidden is unavailable add a null record.
1026         (deregister_tm_clones, register_tm_clones): New.
1027         (__do_global_dtors_aux, frame_dummy): Use them.
1028         (__do_global_dtors, __do_global_ctors_1): Likewise.
1030 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1032         * config/darwin-crt-tm.c: New file.
1033         * config.host (darwin): Build crttms.o crttme.o to provide
1034         startup and shutdown for tm clones.
1035         * config/t-darwin (crttms.o): New build rule.
1036         (crttme.o): Likewise.
1038 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1040         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1041         et al.
1043 2011-11-21  Richard Henderson  <rth@redhat.com>
1045         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1046         (__TMC_LIST__, __TMC_END__): New.
1047         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1048         (__do_global_dtors): Likewise.
1049         (frame_dummy): Call _ITM_registerTMCloneTable.
1050         (__do_global_ctors_1): Likewise.
1052 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1054         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1055         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1056         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1057         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1058         * config/i386/t-darwin64: Remove.
1059         * config/sh/t-netbsd (LIB2ADD): Remove.
1061 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1063         PR target/49313
1064         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1065         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1066         * config/avr/lib1funcs.S (wmov): New assembler macro.
1067         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1068         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1069         (__udivmod64): New function.
1070         (__negdi2): New function.
1072 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1074         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1075         *-*-freebsd*aout*): Remove.
1077 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1079         * static-object.mk (c_flags-$o): Save c_flags.
1080         ($(base)$(objext)): Use it.
1082 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1084         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1086 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1088         PR target/49868
1089         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1090         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1091         New functions.
1093 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1095         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1096         functions.
1097         (aeabi_uidivmod): Likewise.
1098         (umodsi3): Likewise.
1099         (divsi3): Likewise.
1100         (aeabi_idivmod): Likewise.
1101         (modsi3): Likewise.
1103 2011-11-16  Tristan Gingold  <gingold@adacore.com>
1105         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1107 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
1109         PR target/49868
1110         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
1111         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1113 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1115         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1116         tmake_file list.
1117         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1118         * config/pa/t-stublib64: Delete.
1120 2011-11-12  Richard Henderson  <rth@redhat.com>
1122         * config/rs6000/linux-unwind.h (frob_update_context): Properly
1123         cast the pointer argument to _Unwind_SetGRPtr.
1125 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1127         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1129 2011-11-09  Ian Lance Taylor  <iant@google.com>
1131         * generic-morestack.c: Include <string.h>.
1132         (uintptr_type): Define.
1133         (struct initial_sp): Add dont_block_signals field.  Reduce size of
1134         extra array by 1.
1135         (allocate_segment): Set prev field to NULL.  Don't set
1136         __morestack_current_segment or __morestack_segments.
1137         (__generic_morestack): Update current->prev and *pp after calling
1138         allocate_segment.
1139         (__morestack_block_signals): Don't do anything if
1140         dont_block_signals is set.
1141         (__morestack_unblock_signals): Likewise.
1142         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1143         uintptr_type.
1144         (__splitstack_block_signals): New function.
1145         (enum __splitstack_content_offsets): Define.
1146         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1147         (__splitstack_makecontext): New function.
1148         (__splitstack_block_signals_context): New function.
1149         (__splitstack_find_context): New function.
1150         * config/i386/morestack.S (__morestack_get_guard): New function.
1151         (__morestack_set_guard, __morestack_make_guard): New functions.
1152         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1154 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1156         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1157         (i[34567]86-*-mingw*): ... here.
1158         (x86_64-*-mingw*): ... here.
1160 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1162         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1164 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1166         * libgcov.c (struct gcov_fn_buffer): New struct.
1167         (buffer_fn_data): New helper.
1168         (gcov_exit): Rework for new gcov data structures.
1170 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1172         PR target/49313
1173         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1175 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1177         * config.host (tmake_file): Correct comment.
1178         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1179         t-libgcc-pic.
1180         (bfin*-uclinux*): Likewise.
1181         (bfin*-linux-uclibc*): Likewise.
1182         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1184         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1185         assigning.
1186         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1187         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1188         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1189         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1190         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1191         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1192         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1193         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1194         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1195         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1196         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1197         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1198         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1200         * config/bfin/t-elf: Remove.
1201         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1203 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1205         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1206         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1207         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1208         (lm32-*-elf*): ... this.
1209         (lm32-*-rtems*): ... and this.
1210         Add to tmake_file.
1211         (m32r-*-rtems*): Add to tmake_file.
1212         (moxie-*-rtems*): Likewise.
1213         (sparc-*-rtems*): Likewise.
1214         Remove t-rtems from tmake_file.
1215         (sparc64-*-rtems*): Likewise.
1216         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1217         instead.
1219 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1221         PR bootstrap/50982
1222         * config/gthr-posix.h: Move ...
1223         * gthr-posix.h: ... here.
1224         * config/gthr-lynx.h: Reflect this.
1225         * config/gthr-vxworks.h: Likewise.
1226         * config/rs6000/gthr-aix.h: Likewise.
1227         * configure.ac (target_thread_file): Likewise.
1228         * configure: Regenerate.
1230 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1232         * config.host (arm*-*-rtemseabi*): New target.
1234 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1236         PR other/50991
1237         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1238         extra-parts.
1240 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1242         * config.host (epiphany-*-elf*): New configuration.
1243         * config/epiphany: New Directory.
1245 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1247         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1248         * config/avr/t-rtems: New.
1249         Filter out _exit from LIB1ASMFUNCS.
1251 2011-11-04  David S. Miller  <davem@davemloft.net>
1253         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1254         * configure: Rebuild.
1256 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1258         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1259         variable.
1261 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1263         PR target/50931
1264         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1265         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1267 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1269         PR target/50989
1270         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1272 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1274         * config/c6x/t-elf (LIB2ADDEH): Set.
1275         * config/c6x/t-c6x-elf: Remove.
1277 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1279         * config/i386/sol2-ci.S: Rename to ...
1280         * config/i386/crti.S: ... this.
1281         * config/i386/sol2-cn.S: Rename to ...
1282         * config/i386/crtn.S: ... this.
1283         * config/sparc/sol2-ci.S: Rename to ...
1284         * config/sparc/crti.S: ... this.
1285         * config/sparc/sol2-cn.S: Rename to ...
1286         * config/sparc/crtn.S: ... this.
1287         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1288         (crti.o, crtn.o): Remove.
1290 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1292         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1294 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1296         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1298 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1300         * config.host (crisv32-*-none, cris-*-none): Remove.
1301         (crisv32-*-elf): Append to tmake_file, don't just set it.
1302         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1304 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1306         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1307         (ecrtn$(objext)): Likewise.
1308         (ncrti$(objext)): Likewise.
1309         (ncrtn$(objext)): Likewise.
1311 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1313         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1315 2011-11-02  David S. Miller  <davem@davemloft.net>
1317         * configure.ac: Set host_address on sparc too.
1318         * configure: Regenerate.
1319         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1320         based upon host_address.
1321         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1323 2011-11-02  Jason Merrill  <jason@redhat.com>
1325         * config/rs6000/t-ppccomm: Add missing \.
1327 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1329         * gthr-single.h, gthr.h: New files.
1330         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1331         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1332         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1333         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1334         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1335         * configure.ac (thread_header): New variable.
1336         Set it depending on target_thread_file.
1337         (gthr-default.h): Link from $thread_header.
1338         * configure: Regenerate.
1339         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1341 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1343         * configure.ac (tm_file_): New variable.
1344         Determine from tm_file.
1345         (tm_file, tm_defines): Substitute.
1346         * configure: Regenerate.
1347         * mkheader.sh: New file.
1348         * Makefile.in (clean): Remove libgcc_tm.h.
1349         ($(objects)): Depend on libgcc_tm.h.
1350         (libgcc_tm_defines, libgcc_tm_file): New variables.
1351         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1352         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1353         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1354         ($(extra-parts)): Depend on libgcc_tm.h.
1355         * config.host (tm_defines, tm_file): New variable.
1356         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1357         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1358         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1359         (avr-*-rtems*): Likewise.
1360         (avr-*-*): Likewise.
1361         (frv-*-elf): Likewise.
1362         (frv-*-*linux*): Likewise.
1363         (h8300-*-rtems*): Likewise.
1364         (h8300-*-elf*): Likewise.
1365         (i[34567]86-*-darwin*): Likewise.
1366         (x86_64-*-darwin*): Likewise.
1367         (rx-*-elf): Likewise.
1368         (tic6x-*-uclinux): Likewise.
1369         (tic6x-*-elf): Likewise.
1370         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1371         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1372         * config/i386/cygming-crtbegin.c: Likewise.
1373         * config/i386/cygming-crtend.c: Likewise.
1374         * config/ia64/fde-vms.c: Likewise.
1375         * config/ia64/unwind-ia64.c: Likewise.
1376         * config/libbid/bid_gcc_intrinsics.h: Likewise.
1377         * config/rs6000/darwin-fallback.c: Likewise.
1378         * config/stormy16/lib2funcs.c: Likewise.
1379         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1380         * crtstuff.c: Likewise.
1381         * dfp-bit.h: Likewise.
1382         * emutls.c: Likewise.
1383         * fixed-bit.c: Likewise.
1384         * fp-bit.c: Likewise.
1385         * generic-morestack-thread.c: Likewise.
1386         * generic-morestack.c: Likewise.
1387         * libgcc2.c: Likewise.
1388         * libgcov.c: Likewise.
1389         * unwind-dw2-fde-dip.c: Likewise.
1390         * unwind-dw2-fde.c: Likewise.
1391         * unwind-dw2.c: Likewise.
1392         * unwind-sjlj.c: Likewise.
1394 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1396         * configure.ac: Include ../config/picflag.m4.
1397         (GCC_PICFLAG): Call it.
1398         Substitute.
1399         * configure: Regenerate.
1400         * Makefile.in (gcc_srcdir): Remove.
1401         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1402         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1403         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1404         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1405         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1406         Use $<.
1407         Remove comment.
1408         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1409         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1410         to refer to libgcc2.c.
1411         Use $<.
1412         * config/darwin-64.c: New file.
1413         * config/darwin-crt3.c: Remove comment.
1414         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1415         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1416         config/udivmodsi4.c: New files.
1417         * config/memcmp.c, config/memcpy.c, config/memmove.c,
1418         config/memset.c: New files.
1419         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1420         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1421         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1422         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1423         * config/t-openbsd-thread: New file.
1424         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1425         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1426         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1427         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1428         qrnnd.S.
1429         Adapt filename.
1430         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1431         to refer to gthr-posix.c.
1432         * config/alpha/t-vms (LIB2ADD): Set.
1433         * config/alpha/vms-gcc_shell_handler.c: New file.
1434         * config/arm/bpabi.c, config/arm/fp16.c,
1435         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1436         config/arm/unaligned-funcs.c: New files.
1437         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1438         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1439         * config/arm/t-linux: Likewise.
1440         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1441         * config/arm/t-netbsd: New file.
1442         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1443         * config/arm/t-symbian (LIB2ADD_ST): Set.
1444         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1445         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1446         * config/bfin/t-elf: New file.
1447         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1448         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1449         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1450         config/c6x/ltf.c: New files.
1451         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1452         (HOST_LIBGCC2_CFLAGS): Set.
1453         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1454         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1455         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1456         New files.
1457         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1458         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1459         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1460         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1461         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1462         files.
1463         * config/frv/t-frv (LIB2ADD): Set.
1464         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1465         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1466         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1467         config/h8300/popcounthi2.c: New files.
1468         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1469         * config/i386/gthr-win32.c: New file.
1470         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1471         * config/i386/t-cygwin: Likewise.
1472         * config/i386/t-darwin, config/i386/t-darwin64,
1473         config/i386/t-gthr-win32, config/i386/t-interix: New files.
1474         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1475         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1476         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1477         * config/ia64/quadlib.c: New file.
1478         * config/ia64/t-hpux (LIB2ADD): Set.
1479         * config/ia64/t-ia64: Add comment.
1480         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1481         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1482         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1483         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1484         * config/m32c/t-m32c (LIB2ADD): Set.
1485         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1486         * config/m32r/t-m32r: Likewise.
1487         * config/m68k/fpgnulib.c: New file.
1488         * config/m68k/t-floatlib (LIB2ADD): Set.
1489         (xfgnulib.c): New target.
1490         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1491         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1492         * config/mep/t-mep (LIB2ADD): Set.
1493         * config/microblaze/divsi3.asm: Rename to divsi3.S.
1494         * config/microblaze/moddi3.asm: Rename to moddi3.S.
1495         * config/microblaze/modsi3.asm: Rename to modsi3.S.
1496         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1497         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1498         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1499         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1500         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1501         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1502         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1503         New files.
1504         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1505         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1506         * config/pa/fptr.c, config/pa/lib2funcs.S,
1507         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1508         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1509         (LIB2ADD, LIB2ADD_ST): Set.
1510         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1511         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1512         Set.
1513         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1514         * config/pdp11/t-pdp11: New file.
1515         * config/picochip/libgccExtras/adddi3.S,
1516         config/picochip/libgccExtras/ashlsi3.S,
1517         config/picochip/libgccExtras/ashrsi3.S,
1518         config/picochip/libgccExtras/clzsi2.S,
1519         config/picochip/libgccExtras/cmpsi2.S,
1520         config/picochip/libgccExtras/divmod15.S,
1521         config/picochip/libgccExtras/divmodhi4.S,
1522         config/picochip/libgccExtras/divmodsi4.S,
1523         config/picochip/libgccExtras/lshrsi3.S,
1524         config/picochip/libgccExtras/parityhi2.S,
1525         config/picochip/libgccExtras/popcounthi2.S,
1526         config/picochip/libgccExtras/subdi3.S,
1527         config/picochip/libgccExtras/ucmpsi2.S,
1528         config/picochip/libgccExtras/udivmodhi4.S,
1529         config/picochip/libgccExtras/udivmodsi4.S: New files.
1530         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1531         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1532         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1533         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1534         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1535         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1536         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
1537         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1538         files.
1539         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1540         (HOST_LIBGCC2_CFLAGS): Set.
1541         * config/rs6000/t-darwin64: New file.
1542         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1543         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1544         * config/rs6000/t-ppccomm (LIB2ADD): Add
1545         $(srcdir)/config/rs6000/tramp.S.
1546         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1547         Add  $(srcdir)/config/rs6000/eabi.S.
1548         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1549         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1550         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1551         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1552         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1553         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1554         * config/rs6000/tramp.S: New file.
1555         * config/s390/t-tpf: Remove.
1556         * config/sh/linux-atomic.S: New file.
1557         * config/sh/t-linux (LIB2ADD): Set.
1558         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1559         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1560         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1561         to unwind-dw2.c.
1562         (HOST_LIBGCC2_CFLAGS): Set.
1563         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1564         * config/spu/divmodti4.c, config/spu/divv2df3.c,
1565         config/spu/float_disf.c, config/spu/float_unsdidf.c,
1566         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1567         config/spu/mfc_multi_tag_release.c,
1568         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1569         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1570         config/spu/multi3.c: New files.
1571         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1572         (HOST_LIBGCC2_CFLAGS): Set.
1573         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1574         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1575         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1576         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1577         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1578         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1579         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1580         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1581         config/stormy16/umodsi3.c: New files.
1582         * config/xtensa/lib2funcs.S: New file.
1583         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1584         * config/xtensa/t-xtensa (LIB2ADD): Set.
1585         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1586         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1587         Add t-freebsd-thread to tmake_file for posix threads.
1588         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1589         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1590         (*-*-lynxos*): Likewise.
1591         (*-*-netbsd*): Likewise.
1592         (*-*-openbsd*): Likewise.
1593         Add t-openbsd-thread to tmake_file for posix threads.
1594         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1595         (*-*-vxworks*): Set tmake_file.
1596         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1597         (alpha*-*-freebsd*): Likewise.
1598         (alpha*-*-netbsd*): Likewise.
1599         (alpha*-*-openbsd*): Likewise.
1600         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1601         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1602         (alpha*-dec-*vms*): Likewise.
1603         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1604         (bfin*-elf*): Add bfin/t-elf to tmake_file.
1605         (bfin*-uclinux*): Likewise.
1606         (bfin*-linux-uclibc*): Likewise.
1607         (crisv32-*-elf): Add cris/t-cris to tmake_file.
1608         (crisv32-*-none): Likewise.
1609         (cris-*-elf): Likewise.
1610         (cris-*-none): Likewise.
1611         (cris-*-linux*, crisv32-*-linux*): Likewise.
1612         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1613         tmake_file.
1614         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1615         tmake_file.
1616         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1617         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1618         (x86_64-*-elf*): Likewise.
1619         (i[34567]86-*-nto-qnx*): Likewise.
1620         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1621         win32 threads.
1622         (x86_64-*-mingw*): Likewise.
1623         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1624         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1625         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1626         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1627         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1628         tmake_file.
1629         (mipsisa64sr71k-*-elf*): Likewise.
1630         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1631         (mips-*-elf*, mipsel-*-elf*): Likewise.
1632         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1633         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1634         (mips*-*-rtems*): Likewise.
1635         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1636         to tmake_file.
1637         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1638         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1639         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1640         (spu-*-elf*): Likewise.
1641         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1643 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1645         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1646         $(srcdir) to refer to $(LIB1ASMSRC).
1647         Use $<.
1648         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1649         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1650         config/arm/lib1funcs.S: New files.
1651         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1652         * config/arm/t-arm: New file.
1653         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1654         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1655         config/arm/t-strongarm-elf: New files.
1656         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1657         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1658         * config/avr/lib1funcs.S: New file.
1659         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1660         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1661         * config/c6x/lib1funcs.S: New file.
1662         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1663         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1664         * config/frv/lib1funcs.S: New file.
1665         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1666         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1667         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1668         * config/ia64/__divxf3.asm: Rename to ...
1669         * config/ia64/__divxf3.S: ... this.
1670         Adapt lib1funcs.asm filename.
1671         * config/ia64/_fixtfdi.asm: Rename to ...
1672         * config/ia64/_fixtfdi.S: ... this.
1673         Adapt lib1funcs.asm filename.
1674         * config/ia64/_fixunstfdi.asm: Rename to ...
1675         * config/ia64/_fixunstfdi.S: ... this.
1676         Adapt lib1funcs.asm filename.
1677         * config/ia64/_floatditf.asm: Rename to ...
1678         * config/ia64/_floatditf.S: ... this.
1679         Adapt lib1funcs.asm filename.
1680         * config/ia64/lib1funcs.S: New file.
1681         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1682         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1683         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1684         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1685         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1686         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1687         * config/mep/lib1funcs.S: New file.
1688         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1689         * config/mips/mips16.S: New file.
1690         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1691         * config/pa/milli64.S: New file.
1692         * config/pa/t-linux, config/pa/t-linux64: New files.
1693         * config/picochip/lib1funcs.S: New file.
1694         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1695         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1696         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1697         * config/sh/t-netbsd: New file.
1698         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1699         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1700         * config/sh/t-sh64: New file.
1701         * config/sparc/lb1spc.S: New file.
1702         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1703         filename.
1704         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1705         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1706         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1707         config/xtensa/lib1funcs.S: New files.
1708         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1709         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1710         tmake_file.
1711         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1712         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1713         (arm*-*-linux*): Likewise.
1714         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1715         arm*-*-linux-*eabi, add arm/t-linux otherwise.
1716         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1717         (arm*-*-ecos-elf): Likewise.
1718         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1719         (arm*-*-rtems*): Likewise.
1720         (arm*-*-elf): Likewise.
1721         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1722         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1723         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1724         (bfin*-uclinux*): Likewise.
1725         (bfin*-linux-uclibc*): Likewise.
1726         (bfin*-rtems*): Likewise.
1727         (bfin*-*): Likewise.
1728         (fido-*-elf): Merge into m68k-*-elf*.
1729         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1730         (frv-*-*linux*): Add frv/t-frv to tmake_file.
1731         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1732         (h8300-*-elf*): Likewise.
1733         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1734         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1735         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1736         (i[34567]86-*-mingw*): Likewise.
1737         (x86_64-*-mingw*): Likewise.
1738         (i[34567]86-*-interix3*): Likewise.
1739         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1740         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1741         (m68k-*-elf*): Also handle fido-*-elf.
1742         Add m68k/t-floatlib to tmake_file.
1743         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1744         (m68k-*-linux*): Likewise.
1745         (m68k-*-rtems*): Likewise.
1746         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1747         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1748         sh64*-*-*.
1749         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1750         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1751         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1752         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1753         sh/t-netbsd to tmake_file.
1754         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1755         (sh-*-rtems*): Add sh/t-sh to tmake_file.
1756         (sh-wrs-vxworks): Likewise.
1757         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1758         *-leon[3-9]*.
1759         (v850*-*-*): Add v850/t-v850 to tmake_file.
1760         (vax-*-linux*): Add vax/t-linux to tmake_file.
1761         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1763 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1765         * crtstuff.c: New file.
1766         * Makefile.in (CRTSTUFF_CFLAGS): Define.
1767         (CRTSTUFF_T_CFLAGS): Define.
1768         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1769         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1770         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1771         crtstuff.c.
1772         Use $<.
1773         (crtbeginT.o): Use $(objext).
1774         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1775         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1776         (gcc-extra-parts): Remove.
1777         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1778         Set extra_parts.
1779         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1780         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1781         Add t-crtstuff-pic to tmake_file.
1782         (*-*-lynxos*): New case.
1783         Set tmake_file, extra_parts.
1784         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1785         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1786         *-*-netbsdelf[2-9]*.
1787         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1788         (*-*-rtems*): Set extra_parts.
1789         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1790         (*-*-uclinux*): New case.
1791         Set extra_parts.
1792         (*-*-vms*): New case.
1793         Set tmake_file, extra_parts.
1794         (*-*-elf): Set extra_parts.
1795         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1796         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1797         vms/t-vms64.
1798         Set extra_parts.
1799         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1800         Set extra_parts.
1801         (arm*-*-freebsd*): Add t-crtin to tmake_file.
1802         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1803         (arm-wrs-vxworks): Append to tmake_file.
1804         Set extra_parts.
1805         (arm*-*-uclinux*): Set extra_parts.
1806         (arm*-*-ecos-elf): Likewise.
1807         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1808         arm*-*-eabi*.
1809         (arm*-*-rtems*): Set extra_parts.
1810         (arm*-*-elf): Likewise.
1811         (avr-*-rtems*): Clear extra_parts.
1812         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1813         Set extra_parts.
1814         (bfin*-uclinux*): Likewise.
1815         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1816         (bfin*-rtems*): Append to tmake_file.
1817         Set extra_parts.
1818         (bfin*-*): Likewise.
1819         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1820         (crisv32-*-elf): ... this.
1821         (crisv32-*-none): ... this.
1822         (cris-*-elf, cris-*-none): New cases.
1823         Add cris/t-elfmulti to tmake_file.
1824         (fr30-*-elf): Append to tmake_file.
1825         Set extra_parts.
1826         (frv-*-elf): Append to tmake_file, add frv/t-frv.
1827         Set extra_parts.
1828         (h8300-*-rtems*): Append to tmake_file.
1829         Set extra_parts.
1830         (h8300-*-elf*): Likewise.
1831         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1832         Set extra_parts.
1833         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1834         Set extra_parts.
1835         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1836         (x86_64-*-elf*): Likewise.
1837         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1838         (x86_64-*-freebsd*): Likewise.
1839         (x86_64-*-netbsd*): Likewise.
1840         (i[34567]86-*-linux*): Likewise.
1841         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1842         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1843         (x86_64-*-linux*): Likewise.
1844         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1845         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1846         tmake_file.
1847         Set extra_parts.
1848         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1849         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1850         Append to extra_parts, remove crtbegin.o, crtend.o.
1851         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1852         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1853         crtend.o, crtbeginS.o, crtendS.o.
1854         (ia64*-*-linux*): Comment extra_parts.
1855         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1856         Set extra_parts.
1857         (iq2000*-*-elf*): Clear extra_parts.
1858         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1859         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1860         (m32r-*-elf*, m32r-*-rtems*): Split off ...
1861         (m32r-*-rtems*): ... this.
1862         Add m32r/t-m32r to tmake_file.
1863         (m68k-*-elf*): Add t-crtin to tmake_file.
1864         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1865         (mcore-*-elf): Likewise.
1866         (microblaze*-*-*): Set extra_parts.
1867         (mips*-sde-elf*): New case.
1868         Set tmake_file, extra_parts.
1869         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1870         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1871         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1872         tmake_file.
1873         Set extra_parts.
1874         (mipsisa64sr71k-*-elf*): Likewise.
1875         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1876         (mips-*-elf*, mipsel-*-elf*): Likewise.
1877         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1878         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1879         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
1880         (mips*-*-rtems*): Likewise.
1881         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1882         (moxie-*-*): Split into ...
1883         (moxie-*-elf, moxie-*-uclinux*): ... this.
1884         Add to extra_parts, remove crtbegin.o, crtend.o.
1885         (moxie-*-rtems*): New case.
1886         Set tmake_file.
1887         Clear extra_parts.
1888         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1889         Set extra_parts.
1890         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1891         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1892         tmake_file.
1893         Set extra_parts.
1894         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1895         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1896         Set extra_parts.
1897         (powerpc-*-eabisim*): Likewise.
1898         (powerpc-*-elf*): Likewise.
1899         (powerpc-*-eabialtivec*): Likewise.
1900         (powerpc-xilinx-eabi*): Likewise.
1901         (powerpc-*-eabi*): Likewise.
1902         (powerpc-*-rtems*): Likewise.
1903         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1904         tmake_file.
1905         Set extra_parts.
1906         (powerpc-*-lynxos*): Add to tmake_file.
1907         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1908         rs6000/t-crtstuff, t-crtstuff-pic.
1909         Set extra_parts.
1910         (powerpcle-*-eabisim*): Likewise.
1911         (powerpcle-*-eabi*): Likewise.
1912         (rx-*-elf): Remove extra_parts.
1913         (s390x-ibm-tpf*): Set extra_parts.
1914         (score-*-elf): Set extra_parts.
1915         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1916         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1917         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1918         (sh64l*-*-netbsd*): Split into ...
1919         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1920         Add t-crtstuff-pic to tmake_file.
1921         Set extra_parts.
1922         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1923         Set extra_parts.
1924         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1925         (sparc-*-elf*): Remove t-crtin from tmake_file.
1926         Add to extra_parts, remove crtbegin.o, crtend.o.
1927         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1928         (sparc64-*-linux*): Likewise.
1929         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1930         Add to extra_parts, remove crtbegin.o, crtend.o.
1931         (sparc64-*-elf*): Remove t-crtin from tmake_file.
1932         Add to extra_parts, remove crtbegin.o, crtend.o.
1933         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1934         Add to extra_parts, remove crtbegin.o, crtend.o.
1935         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1936         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1937         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1938         Set extra_parts.
1939         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1940         Set extra_parts.
1941         (tic6x-*-*): Change to ...
1942         (tic6x-*-elf): ... this.
1943         Set extra_parts.
1944         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1945         Set extra_parts.
1946         (am33_2.0-*-linux*): Add comment.
1947         (mep*-*-*): Add mep/t-mep to tmake_file.
1948         Set extra_parts.
1949         * config/alpha/t-vms: New file.
1950         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1951         * config/arm/crti.S, config/arm/crtn.S: New files.
1952         * config/bfin/crti.S, config/bfin/crtn.S: New files.
1953         * config/bfin/crtlibid.S: New file.
1954         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1955         * config/c6x/crti.S, config/c6x/crtn.S: New files.
1956         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1957         (crti.o, crtin.o): New rules.
1958         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1959         * config/c6x/t-uclinux: New file.
1960         * config/cris/t-elfmulti: New file.
1961         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1962         * config/fr30/crti.S, config/fr30/crtn.S: New files.
1963         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1964         * config/frv/t-frv: New file.
1965         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1966         * config/h8300/crti.S, config/h8300/crtn.S: New files.
1967         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1968         New files.
1969         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1970         refer to cygming-crtbegin.c, cygming-crtend.c.
1971         Use $<.
1972         * config/i386/t-nto: New file.
1973         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1974         * config/ia64/crti.S, config/ia64/crtn.S: New files.
1975         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1976         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1977         Use .S extension.
1978         Use $<.
1979         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1980         (crtinitS.o): New rule.
1981         * config/ia64/vms-crtinit.S: New file.
1982         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1983         * config/m32r/initfini.c: New file.
1984         * config/m32r/t-linux, config/m32r/t-m32r: New files.
1985         * config/m68k/crti.S, config/m68k/crtn.S: New files.
1986         * config/mcore/crti.S, config/mcore/crtn.S: New files.
1987         * config/mep/t-mep: New file.
1988         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1989         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1990         * config/mips/crti.S, config/mips/crtn.S: New files.
1991         * config/mips/t-crtstuff: New file.
1992         * config/mmix/crti.S, config/mmix/crtn.S: New files.
1993         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1994         (CUSTOM_CRTIN): Set.
1995         ($(T)crti.o, $(T)crtn.o): Remove $(T),
1996         dependencies.
1997         Use $(srcdir) to refer to crti.S, crtn.S.
1998         Use .S extension, $<.
1999         * config/moxie/crti.asm: Rename to ...
2000         * config/moxie/crti.S: ... this.
2001         * config/moxie/crtn.asm: Rename to ...
2002         * config/moxie/crtn.S: ... this.
2003         * config/moxie/t-moxie: Remove.
2004         * config/pa/stublib.c: New file.
2005         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2006         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2007         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2008         * config/rs6000/t-crtstuff: New file.
2009         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2010         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2011         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2012         Make output file explicit.
2013         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2014         Make output file explicit.
2015         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2016         Make output file explicit.
2017         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2018         Make output file explicit.
2019         * config/score/crti.S, config/score/crtn.S: New files.
2020         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2021         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2022         files.
2023         * config/sh/t-sh, config/sh/t-superh: New files.
2024         * config/sparc/t-linux64: New file.
2025         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2026         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2027         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2028         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2029         * config/t-crtin: Remove.
2030         * config/t-crtstuff-pic: New file.
2031         * config/t-sol2 (CUSTOM_CRTIN): Set.
2032         (crti.o, crtn.o): New rules.
2033         * config/vms/t-vms: New file.
2034         * config/vms/vms-ucrt0.c: New file.
2035         * config/xtensa/t-elf: New file.
2037 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2039         * Makefile.in (SHLIB_NM_FLAGS): Set.
2040         * mkmap-flat.awk, mkmap-symver.awk: New files.
2041         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2042         exceptions.
2043         * configure: Regenerate.
2044         * config/libgcc-glibc.ver: New file.
2045         * config/libgcc-libsystem.ver: New file.
2046         * config/t-libunwind (SHLIB_LC): Set.
2047         * config/t-linux: New file.
2048         * config/t-slibgcc (INSTALL_SHLIB): New.
2049         (SHLIB_INSTALL): Use it.
2050         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2051         to mkmap-symver.awk.
2052         (SHLIB_MAPFILES): Don't append, adapt pathname.
2053         (SHLIB_VERPFX): Set.
2054         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2055         to mkmap-symver.awk.
2056         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2057         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2058         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2059         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2060         to mkmap-flat.awk.
2061         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2062         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2063         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2064         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2065         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2066         * config/i386/libgcc-darwin.10.4.ver,
2067         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2068         New files.
2069         * config/i386/t-darwin: Remove.
2070         * config/i386/t-darwin64: Likewise.
2071         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2072         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2073         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2074         * config/i386/t-linux: New file.
2075         * config/i386/t-mingw32: New file.
2076         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2077         * config/ia64/t-glibc: Rename to ...
2078         * config/ia64/t-linux: ... this.
2079         (SHLIB_MAPFILES): Set.
2080         * config/ia64/t-glibc-libunwind: Rename to ...
2081         * config/ia64/t-linux-libunwind: ... this.
2082         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2083         * config/ia64/t-slibgcc-hpux: New file.
2084         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2085         * config/m68k/t-slibgcc-elf-ver: New file.
2086         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2087         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2088         to mkmap-flat.awk.
2089         * config/pa/t-slibgcc-hpux: New file.
2090         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2091         files.
2092         * config/rs6000/libgcc-darwin.10.4.ver,
2093         config/rs6000/libgcc-darwin.10.5.ver: New files.
2094         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2095         config/rs6000/libgcc-glibc.ver.
2096         * config/rs6000/libgcc-ppc64.ver: Rename to
2097         config/rs6000/libgcc-ibm-ldouble.ver.
2098         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2099         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2100         * config/rs6000/t-ldbl128: Rename to ...
2101         * config/rs6000/t-linux: ... this.
2102         (SHLIB_MAPFILES): Adapt filename.
2103         * config/rs6000/t-slibgcc-aix: New file.
2104         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2105         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2106         libgcc-excl.ver, libgcc-glibc.ver.
2107         (SHLIB_LINK, SHLIB_INSTALL): Remove.
2108         * config/sparc/libgcc-glibc.ver: New file.
2109         * config/sparc/t-linux: New file.
2110         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2111         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2112         t-slibgcc-elf-ver to tmake_file.
2113         Add t-slibgcc-nolc-override to tmake_file for posix threads on
2114         *-*-freebsd[34].
2115         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2116         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2117         t-slibgcc-elf-ver, t-linux to tmake_file.
2118         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2119         tmake_file.
2120         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2121         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2122         (alpha*-dec-*vms*): Likewise.
2123         (arm*-*-freebsd*): Append to tmake_file.
2124         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2125         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2126         arm*-*-linux-*eabi.
2127         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2128         tmake_file for arm*-*-symbianelf*.
2129         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2130         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2131         cris/t-linux.
2132         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2133         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2134         pa/t-slibgcc-dwarf-ver to tmake_file.
2135         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2136         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2137         (hppa*64*-*-hpux11*): Likewise.
2138         (hppa[12]*-*-hpux11*): Likewise.
2139         (x86_64-*-darwin*): Don't override tmake_file, but only keep
2140         i386/t-crtpc, i386/t-crtfm.
2141         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2142         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2143         to tmake_file.
2144         Add i386/t-cygwin to tmake_file.
2145         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2146         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2147         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2148         to tmake_file.
2149         Add i386/t-mingw32 to tmake_file.
2150         (x86_64-*-mingw*): Likewise.
2151         (ia64*-*-freebsd*): Append to tmake_file.
2152         (ia64*-*-linux*): Append to tmake_file.
2153         Replace ia64/t-glibc by ia64/t-linux.
2154         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2155         system libunwind.
2156         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2157         t-slibgcc-hpux to tmake_file.
2158         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2159         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2160         (m32rle-*-linux*): Likewise.
2161         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2162         sjlj exceptions.
2163         (microblaze*-linux*): New case.
2164         Append to tmake_file, add t-slibgcc-nolc-override.
2165         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2166         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2167         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2168         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2169         rs6000/t-slibgcc-aix to tmake_file.
2170         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2171         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2172         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2173         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2174         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2175         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2176         sh*-*-linux*.
2177         (sparc-*-linux*): Append to tmake_file for *-leon*.
2178         Add sparc/t-linux to tmake_file for non-Leon targets.
2179         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2180         (tic6x-*-uclinux): New case.
2181         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2182         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2183         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2184         (am33_2.0-*-linux*): Append to tmake_file.
2185         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2186         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2187         x86_64-*-kfreebsd*-gnu.
2188         Add i386/t-linux to tmake_file.
2190 2011-10-28  Ian Lance Taylor  <iant@google.com>
2192         * config/i386/morestack.S: Correct CFI information to do proper
2193         returns throughout function.  In 32-bit mode, save %ebx so that it
2194         is restored on unwind.
2196 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2198         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2199         case where B3 isn't the return register.
2201         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2202         logic for doubleword pops.
2204 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2206         * config/rs6000/t-freebsd: Add wildcard.
2208 2011-10-21  Paul Brook  <paul@codesourcery.com>
2210         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2212 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2213             Eric Botcazou  <ebotcazou@adacore.com>
2215         PR target/50737
2216         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2217         fs->signal_frame to 1.
2219 2011-10-07  Ian Lance Taylor  <iant@google.com>
2221         * generic-morestack-thread.c: #include <errno.h>.
2223 2011-10-07  Ian Lance Taylor  <iant@google.com>
2225         PR target/46093
2226         * generic-morestack.c (__generic_morestack): Make sure the segment
2227         is large enough for both the stack frame and the copied
2228         parameters.
2230 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2232         PR bootstrap/49804
2233         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2234         extra_parts.
2236 2011-09-28  Nick Clifton  <nickc@redhat.com>
2238         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2239         64-bit doubles are not enabled.
2240         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2241         and floatunsisf functions.
2243 2011-09-13  Paul Brook  <paul@codesourcery.com>
2245         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2246         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2247         * unwind-arm-common.inc: New file.
2248         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2249         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2250         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2251         * config/c6x/libunwind.S: New file.
2252         * config/c6x/pr-support.c: New file.
2253         * config/c6x/unwind-c6x.c: New file.
2254         * config/c6x/unwind-c6x.h: New file.
2255         * config/c6x/t-c6x-elf: New file.
2257 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2259         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2260         (ASM_DIVZERO): Ditto.
2261         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2263 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2265         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2267 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2269         PR target/50090
2270         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2271         instead of an assembly one.
2273 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2275         PR bootstrap/50047
2276         * Makefile.in (install-unwind_h): Create
2277         $(gcc_objdir)/include/unwind.h atomically.
2279 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2281         * Makefile.in (install-unwind_h): Remove destination file first.
2283 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2285         * sync.c: New file.
2286         * config/mips/t-mips16: New file.
2287         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2288         (mips*-*-linux*): Likewise.
2289         (mips*-sde-elf*): Likewise.
2290         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2291         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2292         Add mips/t-mips16 to tmake_file.
2293         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2294         (mips-*-elf*): Likewise.
2295         (mips64-*-elf*): Likewise.
2296         (mips64orion-*-elf*): Likewise.
2297         (mips*-*-rtems*): Likewise.
2298         (mipstx39-*-elf*): Likewise.
2299         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2300         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2301         LIBGCC_SYNC_CFLAGS.
2302         Use $(srcdir) to refer to sync.c.
2303         Use $<.
2304         ($(libgcc-sync-funcs-o)): Likewise.
2305         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2306         ($(libgcc-sync-funcs-s-o)): Likewise.
2308 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2310         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2311         t-libunwind.
2313 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2315         PR other/48007
2316         * config/i386/value-unwind.h: New.
2318 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2320         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2321         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2322         Add to tmake_file rather than overriding it.
2324 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2326         * config/t-softfp: Remove.
2327         * soft-fp: Moved from ../gcc/config.
2328         * soft-fp/README: Remove t-softfp reference.
2329         * soft-fp/t-softfp: Move to config/t-softfp.
2330         (softfp_machine_header): Remove.
2331         (softfp_file_list): Remove config subdir.
2332         (soft-fp-objects): New variable.
2333         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2334         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2335         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2336         * config/t-softfp-excl: New file.
2337         * config/t-softfp-sfdf: New file.
2338         * config/t-softfp-tf: New file.
2339         * config/no-sfp-machine.h: New file.
2340         * config/arm/sfp-machine.h: New file.
2341         * config/arm/t-softfp: New file.
2342         * config/c6x/sfp-machine.h: New file.
2343         * config/i386/32/t-fprules-softfp: Rename to ...
2344         * config/i386/32/t-softfp: ... this.
2345         (tifunctions, LIB2ADD): Remove.
2346         (softfp_int_modes): Override.
2347         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2348         subdir.
2349         * config/i386/64/eqtf2.c: Likewise.
2350         * config/i386/64/getf2.c: Likewise.
2351         * config/i386/64/letf2.c: Likewise.
2352         * config/ia64/sft-machine.h: New file.
2353         * config/ia64/t-fprules-softfp: Rename to ...
2354         * config/ia64/t-softfp: ... this.
2355         * config/lm32/sfp-machine.h: New file.
2356         * config/moxie/t-moxie-softfp: Remove.
2357         * config/rs6000/ibm-ldouble-format: New file.
2358         * config/rs6000/ibm-ldouble.c: New file.
2359         * config/rs6000/libgcc-ppc-glibc.ver: New file
2360         * config/rs6000/libgcc-ppc64.ver: New file
2361         * config/rs6000/sfp-machine.h: New file.
2362         * config/rs6000/t-freebsd: New file.
2363         * config/rs6000/t-ibm-ldouble: New file.
2364         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2365         libgcc-ppc-glibc.ver.
2366         * config/rs6000/t-linux64: New file.
2367         * config/rs6000/t-ppccomm (LIB2ADD): Add
2368         $(srcdir)/config/rs6000/ibm-ldouble.c.
2369         * config/rs6000/t-ppccomm-ldbl: New file.
2370         * config/score/sfp-machine.h: New file.
2371         * config.host (sfp_machine_header): Explain.
2372         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2373         t-softfp to tmake_file.
2374         (arm*-*-uclinux*): Likewise.
2375         (arm*-*-ecos-elf): Likewise.
2376         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2377         (arm*-*-rtems*): Likewise.
2378         (arm*-*-elf): Likewise.
2379         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2380         in tmake_file.
2381         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2382         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2383         (lm32-*-uclinux*): Likewise.
2384         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2385         t-softfp-excl, t-softfp.
2386         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2387         (powerpc64-*-darwin*): Likewise.
2388         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2389         to tmake_file.
2390         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2391         tmake_file.
2392         (powerpc-*-eabisim*): Likewise.
2393         (powerpc-*-elf*): Likewise.
2394         (powerpc-*-eabialtivec*): Likewise.
2395         (powerpc-xilinx-eabi*): Likewise.
2396         (powerpc-*-rtems*): Likewise.
2397         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2398         t-softfp-excl, t-softfp to tmake_file.
2399         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2400         rs6000/t-ppccomm-ldbl to tmake_file.
2401         (powerpcle-*-elf*): Likewise.
2402         (powerpcle-*-eabisim*): Likewise.
2403         (powerpcle-*-eabi*): Likewise.
2404         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2405         rs6000/t-ibm-ldouble to tmake_file.
2406         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2407         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2408         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2409         (tic6x-*-*): Likewise.
2410         (i[34567]86-*-darwin*, x86_64-*-darwin*,
2411         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2412         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2413         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2414         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2415         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2416         t-softfp to tmake_file.
2417         * configure.ac (sfp_machine_header): Provide default if unset.
2418         Substitute.
2419         Link sfp-machine.h to config/$sfp_machine_header.
2420         * configure: Regenerate.
2422 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2424         * Makefile.in (double_type_size, long_double_type_size): Set.
2425         Remove $(fpbit-in-libgcc) support.
2426         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2427         (fpbit-src): New variable.
2428         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2429         Compile with -DFLOAT $(FPBIT_CFLAGS).
2430         Use $<.
2431         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2432         Compile with $(FPBIT_CFLAGS).
2433         Use $<.
2434         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2435         Compile with -DFLOAT $(TPBIT_CFLAGS).
2436         Use $<.
2437         * configure.ac (double_type_size, long_double_type_size):
2438         Determine and substitute.
2439         * configure: Regenerate.
2440         * fp-bit.c, fp-bit.h: New files.
2441         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2442         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2443         * config/mips/t-mips: New file.
2444         * config/mips/t-sdemtk: New file.
2445         * config/rs6000/ppc64-fp.c: New file.
2446         * config/rs6000/t-darwin (LIB2ADD): Add
2447         $(srcdir)/config/rs6000/ppc64-fp.c.
2448         * config/rs6000/t-ppc64-fp: New file.
2449         * config/rx/rx-lib.h: New file.
2450         * config/rx/t-rx (FPBIT): Set to true.
2451         ($(gcc_objdir)/fp-bit.c): Remove.
2452         (DPBIT): Set to true only with -m64bit-doubles.
2453         ($(gcc_objdir)/dp-bit.c): Remove.
2454         * config/sparc/t-softfp: Remove.
2455         * config/spu/t-elf: New file.
2456         * config/t-fdpbit, config/t-fpbit: New files.
2457         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2458         (mips*-*-*): Likewise.
2459         (arm-wrs-vxworks): Likewise.
2460         (arm*-*-freebsd*): Likewise.
2461         (avr-*-rtems*): Add t-fpbit to tmake_file.
2462         (avr-*-*): Likewise.
2463         (bfin*-elf*): Add t-fdpbit to tmake_file.
2464         (bfin*-uclinux*): Likewise.
2465         (bfin*-linux-uclibc*): Likewise.
2466         (bfin*-rtems*): New case.
2467         Add t-fdpbit to tmake_file.
2468         (bfin*-*): Add t-fdpbit to tmake_file.
2469         (crisv32-*-elf): Likewise.
2470         (cris-*-linux*): Likewise.
2471         (fr30-*-elf): Likewise.
2472         (frv-*-elf, frv-*-*linux*): Likewise.
2473         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2474         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2475         (m32r-*-elf*): Likewise.
2476         (m32rle-*-elf*): Likewise.
2477         (m32r-*-linux*): Likewise.
2478         (m32rle-*-linux*): Likewise.
2479         (mcore-*-elf): Add t-fdpbit to tmake_file.
2480         (microblaze*-*-*): Likewise.
2481         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2482         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2483         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2484         Fix typo.
2485         Add mips/t-tpbit to tmake-file.
2486         (mips*-*-linux*): Fix typo.
2487         (mips*-sde-elf*): New case
2488         Add mips/t-sdemtk unless using newlib.
2489         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2490         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2491         (mn10300-*-*): Likewise.
2492         (pdp11-*-*): Likewise.
2493         (picochip-*-*): Add t-fpbit to tmake_file.
2494         (powerpc-*-eabisimaltivec*): Likewise.
2495         (powerpc-*-eabisim*): Likewise.
2496         (powerpc-*-elf*): Likewise.
2497         (powerpc-*-eabialtivec*): Likewise.
2498         (powerpc-xilinx-eabi*): New case.
2499         Add t-fdpbit to tmake_file.
2500         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
2501         (powerpc-*-rtems*): Likewise.
2502         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2503         tmake_file.
2504         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2505         tmake_file.
2506         (powerpc-*-lynxos*): Likewise.
2507         (powerpcle-*-elf*): Likewise.
2508         (powerpcle-*-eabisim*): Likewise.
2509         (powerpcle-*-eabi*): Likewise.
2510         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2511         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2512         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2513         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2514         (rx-*-elf): Add t-fdpbit to tmake_file.
2515         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2516         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2517         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2518         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2519         sh*-*-netbsd*.
2520         (sh-*-rtems*): Add t-fdpbit to tmake_file.
2521         (sh-wrs-vxworks): Likewise.
2522         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2523         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2524         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2525         (sparc64-*-rtems*): ... new case.
2526         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2527         (spu-*-elf*): Likewise.
2528         Add spu/t-elf to tmake_file.
2529         (v850*-*-*): Add t-fdpbit to tmake_file.
2530         (xstormy16-*-elf): Likewise.
2531         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2532         (mep*-*-*): Likewise.
2534 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2536         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2537         variables.
2538         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2539         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2540         (install-unwind_h): New target.
2541         (all): Depend on it.
2542         * config.host (unwind_header): New variable.
2543         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2544         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2545         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2546         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2547         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2548         Set unwind_header.
2549         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2550         Set unwind_header.
2551         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2552         arm*-*-eabi*.
2553         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2554         Set unwind_header.
2555         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2556         (ia64*-*-freebsd*): Likewise.
2557         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2558         tmake_file.
2559         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2560         $with_system_libunwind.
2561         (ia64*-*-hpux*): Set tmake_file.
2562         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2563         (picochip-*-*): Set tmake_file.
2564         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2565         md_unwind_header.
2566         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2567         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2568         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2569         (xtensa*-*-elf*): Set tmake_file.
2570         (xtensa*-*-linux*): Likewise.
2571         * configure.ac: Include ../config/unwind_ipinfo.m4.
2572         Call GCC_CHECK_UNWIND_GETIPINFO.
2573         Link unwind.h to $unwind_header.
2574         * configure: Regenerate.
2575         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2576         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2577         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2578         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2579         * config/unwind-dw2-fde-darwin.c: New file.
2580         * config/arm/libunwind.S, config/arm/pr-support.c,
2581         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2582         config/arm/unwind-arm.h,: New files.
2583         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2584         config/ia64/t-eh-ia64, config/ia64/t-glibc,
2585         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2586         config/ia64/t-vms, config/ia64/unwind-ia64.c,
2587         config/ia64/unwind-ia64.h: New files.
2588         * config/picochip/t-picochip: New file.
2589         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2590         files.
2591         * config/rs6000/t-darwin (LIB2ADDEH): Set.
2592         * config/s390/t-tpf (LIB2ADDEH): Remove.
2593         * config/t-darwin (LIB2ADDEH): Set.
2594         * config/t-eh-dw2-dip: New file.
2595         * config/t-libunwind, config/t-libunwind-elf: New files.
2596         * config/t-sol2 (LIB2ADDEH): Remove.
2597         * config/xtensa/t-xtensa: New file.
2599 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
2601         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2602         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2603         long long to check rt_sigreturn syscall.
2605 2011-08-02  Alan Modra  <amodra@gmail.com>
2607         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2608         Restore for indirect call bcrtl from correct stack slot, and only
2609         if cfa+40 isn't valid.
2611 2011-08-01  Julian Brown  <julian@codesourcery.com>
2613         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2614         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2615         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2617 2011-08-01  Julian Brown  <julian@codesourcery.com>
2619         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2620         (libgcc-std.ver.in): Use above.
2621         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2622         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
2623         throughout file.
2624         * config/t-fixedpoint-gnu-prefix: New file.
2625         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2626         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2627         instead of __PFX__.
2629 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2631         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2632         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2633         for x86-64.  Properly check __x86_64__ and __LP64__.
2635 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2637         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2638         version.
2639         (_FP_WS_TYPE): Likewise.
2640         (_FP_I_TYPE): Likewise.
2642 2011-07-28  Alan Modra  <amodra@gmail.com>
2644         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2645         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2646         in a plt call stub.  Do restore r2 if stopped on bctrl.
2648 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2650         * config.host (i[3456x]86-*-netware*): Remove.
2651         * config/i386/netware-crt0.c, config/i386/t-nwld,
2652         config/i386/t-slibgcc-nwld: Remove.
2654 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
2656         * config.host: Handle tic6x-*-*.
2657         * config/c6x/c6x-abi.h: New file.
2659 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2661         * config/i386/crtprec.c: New file.
2662         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2663         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2664         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2665         (x86_64-*-darwin*): Likewise.
2666         (i[34567]86-*-solaris2*: Likewise.
2668 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2670         * config/alpha/crtfastmath.c: New file.
2671         * config/i386/crtfastmath.c: New file.
2672         * config/ia64/crtfastmath.c: New file.
2673         * config/mips/crtfastmath.c: New file.
2674         * config/sparc/crtfastmath.c: New file.
2676         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2677         crtfastmath.c.
2678         Add -frandom-seed=gcc-crtfastmath.
2679         * config/alpha/t-crtfm: Remove.
2680         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2681         * config/ia64/t-ia64 (crtfastmath.o): Remove.
2683         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2684         (alpha*-dec-osf5.1*): Likewise.
2685         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2686         Add crtfastmath.o to extra_parts.
2687         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2688         Add crtfastmath.o to extra_parts.
2689         (x86_64-*-darwin*): Likewise.
2690         (x86_64-*-mingw*): Likewise.
2691         (ia64*-*-elf*): Add t-crtfm to tmake_file.
2692         (ia64*-*-freebsd*): Likewise.
2693         (ia64*-*-linux*): Likewise.
2694         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2695         Add crtfastmath.o to extra_parts.
2697 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2699         * config/darwin-crt3.o: New file.
2700         * config/rs6000/darwin-crt2.c: New file.
2701         * config/t-darwin: New file.
2702         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2703         (crt2.o): New rule.
2704         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2705         (powerpc-*-darwin*): Add crt2.o to extra_parts.
2706         (powerpc64-*-darwin*): Likewise.
2708 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2710         * config/i386/netware-crt0.c: New file.
2711         * config/i386/t-nwld: Rename to ...
2712         * config/i386/t-slibgcc-nwld: ... this.
2713         * config/i386/t-nwld: New file.
2714         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2715         tmake_file.
2716         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2717         extra_parts.
2719 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2721         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2722         i386/t-crtstuff.
2723         * configure: Regenerate.
2725 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2727         * dfp-bit.c, dfp-bit.h: New files.
2728         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2729         variables.
2730         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2731         ($(d64pbit-o)): Likewise.
2732         ($(d128pbit-o)): Likewise.
2733         * config/t-dfprules: New file.
2734         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2735         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2736         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2737         (x86_64-*-linux*): Likewise.
2738         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2739         (i[34567]86-*-cygwin*): Likewise.
2740         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
2741         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2743 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2745         * Makfile.in (LIBGCOV): New variable.
2746         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2747         * libgcov.c: New file.
2749 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2751         * fixed-bit.c, fixed-bit.h: New files.
2752         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2753         refer to fixed-bit.c.
2755 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
2757         * config.host (*local*): Remove.
2759 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2761         PR target/39150
2762         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2763         like i?86-*-solaris2.1[0-9]*.
2764         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2765         * configure.ac (i?86-*-solaris2*): Likewise.
2766         * configure: Regenerate.
2768 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
2770         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2771         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2772         md_unwind_header by splitting out of...
2773         (i[34567]86-*-linux*): ... this.
2774         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2775         Remove md_unwind_header by splitting out of...
2776         (x86_64-*-linux*): ... this.
2778 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
2780         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2782 2011-06-28  Nick Clifton  <nickc@redhat.com>
2784         * config.host: Recognize all V850 variants.
2786 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
2788         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2790 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2792         * shared-object.mk (c_flags-$o): Save c_flags.
2793         ($(base)$(objext)): Use it.
2794         ($(base)_s$(objext)): Likewise.
2796 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
2798         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2799         * libgcc-std.ver.in (GCC_4.7.0): New section.
2801 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
2803         PR target/49313
2804         PR target/29524
2805         * config/avr/t-avr: Fix line endings.
2806         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
2807         _parityXX2.
2809 2011-06-14  Olivier Hainque  <hainque@adacore.com>
2810             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2812         * config/mips/irix6-unwind.h: New file.
2813         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2815 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
2817         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2818         (sparc64_fallback_frame_state): Use it.
2819         (sparc64_frob_update_context): Further adjust context.
2820         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2821         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2822         * config/sparc/sol2-cn.S: Likewise.
2824 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2826         * enable-execute-stack-empty.c: New file.
2827         * enable-execute-stack-mprotect.c: New file.
2828         * config/i386/enable-execute-stack-mingw32.c: New file.
2829         * config.host (enable_execute_stack): New variable.
2830         Select appropriate variants.
2831         * configure.ac: Link enable-execute-stack.c to
2832         $enable_execute_stack.
2833         * configure: Regenerate.
2834         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2835         (lib2funcs): Remove _enable_execute_stack.
2837 2011-06-09  David S. Miller  <davem@davemloft.net>
2838             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2840         * config.host (sparc-*-linux*): Correct md_unwind_header
2841         filename.
2842         (s390x-ibm-tpf*): Fix typo.
2844 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2846         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2847         Add crtfastmath.o to extra_parts.
2848         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2849         mips/t-crtfm.
2850         * config/mips/t-crtfm: Remove.
2852 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2854         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2856 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2858         * config.host (sh*-*-linux*): Fix typo.
2860 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2862         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2863         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2864         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2865         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2866         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2867         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2868         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2869         Wrap in !__MINGW64__.
2870         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2871         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2872         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2873         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2874         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2875         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2876         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2877         Wrap in !__LP64__.
2878         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2879         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2880         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2881         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2882         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2883         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2884         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2885         * config/no-unwind.h: New file.
2886         * config.host (md_unwind_header): Document.
2887         Define.
2888         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2889         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2890         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2891         hppa[12]*-*-hpux11*): Set md_unwind_header.
2892         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2893         Set md_unwind_header.
2894         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2895         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2896         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2897         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2898         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2899         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2900         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2901         md_unwind_header.
2902         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2903         * configure: Regenerate.
2905 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2907         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2908         Set tmake_file, extra_parts.
2909         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2910         Remove O32 support.
2911         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2912         Remove O32 support.
2913         * config/mips/t-irix6: New file.
2914         * config/mips/t-slibgcc-irix: New file.
2916 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2918         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2919         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2921 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2923         * configure.ac (target_thread_file): Determine thread model.
2924         * configure: Regenerate.
2925         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2926         * config/alpha/t-alpha: New file.
2927         * config/alpha/t-crtfm: Use $<.
2928         * config/alpha/t-ieee: New file.
2929         * config/alpha/t-osf-pthread: New file.
2930         * config/alpha/t-slibgcc-osf: New file.
2931         * config/alpha/libgcc-osf5.ver: New file.
2933 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2935         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2936         tmake_file.
2937         Add crtfastmath.o to extra_parts.
2939 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2941         * config/gmon-sol2.c: Reindent.
2942         Cleanup comments.
2943         Remove, correct casts.
2944         Use STDERR_FILENO, NULL.
2945         (BASEADDRESS): Remove.
2946         (minbrk): Remove.
2947         (errno, sbrk): Remove declarations.
2948         (monstartup) [hp300]: Remove.
2949         (mcount): Remove.
2951 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2953         * Makefile.in (cpu_type): Define.
2954         * config.host (i[34567]86-*-rtems*): Handle it.
2955         (i[34567]86-*-solaris2*): Move body ...
2956         (*-*-solaris2*): ... here.
2957         New case, generalize.
2958         (sparc-*-elf*): Handle it.
2959         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2960         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2961         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2962         Fold into ...
2963         (sparc*-*-solaris2*): ... this.
2964         New case.
2965         (sparc64-*-elf*): Handle it.
2966         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2967         Merge ../gcc/config/i386/gmon-sol2.c.
2968         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2969         Use C comments.
2970         Merge ../gcc/config/i386/sol2-gc1.asm.
2971         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2972         Use C comments.
2973         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2974         Use C comments.
2975         * config/i386/t-crtfm (crtfastmath.o): Use $<.
2976         * config/i386/t-crtstuff: New file.
2977         * config/i386/t-softfp: New file.
2978         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2979         $(T)crti.o, $(T)crtn.o): Remove.
2980         (gcrt1.o): New rule.
2981         (TARGET_LIBGCC2_CFLAGS): Remove.
2982         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2983         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2984         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2985         * config/sparc/t-sol2: New file.
2986         * config/sparc/t-crtfm: Move to ...
2987         * config/t-crtfm: ... this.
2988         Use $(cpu_type), $<.
2989         * config/t-crtin: New file.
2990         * config/sparc/t-softfp: New file.
2991         * config/sparc/t-softmul: New file.
2992         * config/t-rtems: New file.
2993         * config/t-slibgcc: New file.
2994         * config/t-slibgcc-elf-ver: New file.
2995         * config/t-slibgcc-gld: New file.
2996         * config/t-slibgcc-sld: New file.
2997         * config/t-sol2: New file.
2998         * configure.ac: Include ../config/lib-ld.m4.
2999         Call AC_LIB_PROG_LD_GNU.
3000         Substitute cpu_type.
3001         * configure: Regenerate.
3003 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3005         PR bootstrap/49173
3006         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3007         libgcc-std.ver in the build directory.
3008         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3009         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3011 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3013         * libgcc-std.ver.in: New file.
3014         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3015         variables.
3016         (libgcc-std.ver): New rule.
3017         * config/t-gnu-prefix: New file.
3019 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3021         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3023 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3025         * config/i386/darwin-lib.h: New file.
3027 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3029         * config/arm/symbian-lib.h: New.
3031 2011-05-04  Chris Demetriou  <cgd@google.com>
3033         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3034         (__x86.get_pc_thunk.bx): ...this.
3035         (__morestack): Adjust for rename, remove undef of __i686.
3037 2011-05-03  Chris Demetriou  <cgd@google.com>
3039         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3041 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3043         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3044         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3045         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3046         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3047         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3048         Remove cases.
3050 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3052         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3053         Adjust copyright year.
3055 2011-03-07  Ian Lance Taylor  <iant@google.com>
3057         * generic-morestack.c (__splitstack_find): Adjust returned stack
3058         pointer to include all registers pushed by __morestack.
3060 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3062         PR target/40125
3063         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3064         (toolexecdir): Calculate and AC_SUBST.
3065         (toolexeclibdir): Likewise.
3066         * Makefile.in (target_noncanonical): Import.
3067         (toolexecdir): Likewise.
3068         (toolexeclibdir): Likewise.
3069         * configure: Regenerate.
3071 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3073         PR target/46040
3074         * config/arm/bpabi.h: Rename to...
3075         * config/arm/bpabi-lib.h: ...this.
3077 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3079         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3080         appropriate.
3081         * configure: Regenerate.
3083 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3085         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3086         __FLOAT_WORD_ORDER__.
3087         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3088         Delete.
3090 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3092         PR other/46202
3093         * Makefile.in (install-strip): New phony target.
3095 2010-11-07  Ian Lance Taylor  <iant@google.com>
3097         PR target/46089
3098         * config/i386/morestack.S (__morestack_large_model): New
3099         function.
3101 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
3103         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3104         Delete.
3105         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3107 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
3109         * config/arm/bpabi.h: New file.
3110         * config/frv/frv-abi.h: New file.
3112 2010-10-01  Ian Lance Taylor  <iant@google.com>
3114         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3115         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3117 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3119         PR target/45858
3120         * config.host: Add the missing `$'.
3122 2010-09-30  Michael Eager  <eager@eagercon.com>
3124         * config.host: Add microblaze*-*-*.
3125         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3126         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3127         udivsi3.asm,umodsi3.asm}:  New.
3129 2010-09-28  Ian Lance Taylor  <iant@google.com>
3131         * configure.ac: Adjust CFI test to test assembler directly rather
3132         than checking gcc preprocessor macro.
3133         * configure: Rebuild.
3135 2010-09-27  Ian Lance Taylor  <iant@google.com>
3137         * configure.ac: Test whether assembler supports CFI directives.
3138         * config.host: Only add t-stack and i386/t-stack-i386 to
3139         tmake_file if libgcc_cv_cfi is "yes".
3140         * configure: Rebuild.
3142 2010-09-27  Ian Lance Taylor  <iant@google.com>
3144         * generic-morestack.h: New file.
3145         * generic-morestack.c: New file.
3146         * generic-morestack-thread.c: New file.
3147         * config/i386/morestack.S: New file.
3148         * config/t-stack: New file.
3149         * config/i386/t-stack-i386: New file.
3150         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3151         i386/t-stack-i386 to tmake_file.
3153 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3155         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3156         invoke ranlib after installing them.
3157         (gcc-extra-parts): Likewise.
3158         (install-leaf): Likewise.
3160 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3162         * configure: Regenerated.
3164 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3166         * configure: Regenerated.
3168 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3169             Andrew Pinski  <pinskia@gmail.com>
3171         PR target/40959
3172         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3174 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3176         PR target/45524
3177         * configure: Regenerated.
3179 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3181         * configure: Regenerate.
3183 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3185         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3186         64bit targets.
3187         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3188         for 64bit targets.
3190 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3191             Iain Sandoe  <iains@gcc.gnu.org>
3193         PR target/45476
3194         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3195         LIB2FUNCS_EXCLUDE functions.
3197 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3199         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3200         Include dfp.m4.
3201         * configure: Regenerate.
3203 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3205         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3206         i386/t-freebsd to tmake_file.
3207         * config/i386/t-freebsd: New file.
3208         * config/i386/libgcc-bsd.ver: New file.
3210 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3212         * config.host (powerpc*-eabispe*): Set tmake_file.
3213         (powerpc*-eabi*): Likewise.
3214         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3215         crtbeginS, crtendS, crtbeginT.
3217 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3219         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3220         to tmake_file.  Add crtfastmath.o to extra_parts.
3221         * config/mips/t-crtfm: New.
3223 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3225         * config.host (sparc64-*-rtems*): New target.
3227 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3229         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3230         assembler syntax.
3232 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3234         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3236 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3238         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3239         alpha-dec-osf5.0* support.
3241 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3243         * config.host: Add lm32-*-rtems*.
3245 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3246             Uros Bizjak <ubizjak@gmail.com>
3248         PR target/39048
3249         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3250         like other remaining 32-bit x86 OSes.
3251         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3252         assembler syntax.
3253         * config/i386/libgcc-sol2.ver: New file.
3254         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3256 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3258         PR c/43553
3259         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3260         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3261         is used and substitute set_use_emutls.
3262         * configure: Regenerated.
3264 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3266         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3268 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3270         PR target/38085
3271         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3272         MULTILIB_CFLAGS.
3273         ($(T)gcrt1.o): Likewise.
3274         ($(T)crt1.o): Likewise.
3275         ($(T)crti.o): Likewise.
3276         ($(T)crtn.o): Likewise.
3278 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3280         PR other/42980
3281         * Makefile.in (install): Use $(MAKE) string in rule, for
3282         parallel make.
3284 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3286         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3287         * config/mmix/t-mmix: New file.
3288         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3290 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3292         PR java/41991
3293         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3294         SHLIB_MAPFILES.
3296 2010-01-04  Anthony Green  <green@moxielogic.com>
3298         * config/moxie/crti.asm, config/moxie/crtn.asm,
3299         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3300         config/moxie/t-moxie: New files.
3301         * config.host: Add t-moxie-softfp reference.
3303 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3305         PR other/39888
3306         * config/t-slibgcc-darwin: Fix embedded rpaths for
3307         --enable-version-specific-runtime-libs, build extension stub
3308         libs exposing features available from current libgcc_s.
3310 2009-11-11  Jon Beniston <jon@beniston.com>
3312         * config.host: Add lm32 targets.
3313         * config/lm32: New directory.
3314         * config/lm32/libgcc_lm32.h: New file.
3315         * config/lm32/_mulsi3.c: New file.
3316         * config/lm32/_udivmodsi4.c: New file.
3317         * config/lm32/_divsi3.c: New file.
3318         * config/lm32/_modsi3.c: New file.
3319         * config/lm32/_udivsi3.c: New file.
3320         * config/lm32/_umodsi3.c: New file.
3321         * config/lm32/_lshrsi3.S: New file.
3322         * config/lm32/_ashrsi3.S: New file.
3323         * config/lm32/_ashlsi3.S: New file.
3324         * config/lm32/crti.S: New file.
3325         * config/lm32/crtn.S: New file.
3326         * config/lm32/t-lm32: New file.
3327         * config/lm32/t-elf: New file.
3328         * config/lm32/t-uclinux: New file.
3330 2009-10-26  Nick Clifton  <nickc@redhat.com>
3332         * config.host: Add support for RX target.
3333         * config/rx: New directory.
3334         * config/rx/rx-abi-functions.c: New file. Supplementary
3335         functions for libgcc to support the RX ABI.
3336         * config/rx/rx-abi.h: New file.  Supplementary header file for
3337         libgcc RX ABI functions.
3338         * config/rx/t-rx: New file: Makefile fragment for building
3339         libgcc for the RX.
3341 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3343         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3344         constraint of y0 to "g".
3346 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3348         * config.host: Include the s390 makefile fragments.
3349         * config/s390/32/_fixdfdi.c: New file.
3350         * config/s390/32/_fixsfdi.c: New file.
3351         * config/s390/32/_fixtfdi.c: New file.
3352         * config/s390/32/_fixunsdfdi.c: New file.
3353         * config/s390/32/_fixunssfdi.c: New file.
3354         * config/s390/32/_fixunstfdi.c: New file.
3355         * config/s390/32/t-floattodi: New file.
3356         * config/s390/libgcc-glibc.ver: New file.
3357         * config/s390/t-crtstuff: New file.
3358         * config/s390/t-linux: New file.
3359         * config/s390/t-tpf: New file.
3361 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3363         * configure.ac (AC_PREREQ): Bump to 2.64.
3365 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
3367         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3369 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3371         * configure: Regenerate.
3373 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
3375         * config.host (ia64-hp-*vms*): New target.
3376         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3377         with ia64-hp-*vms*.
3379 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3381         * configure.ac: Add snippet for maintainer-mode.
3382         * configure: Regenerate.
3383         * Makefile.in (AUTOCONF, configure_deps): New variables.
3384         ($(srcdir)/configure)): New rule, active only with maintainer
3385         mode turned on.
3387 2009-06-23  DJ Delorie  <dj@redhat.com>
3389         Add MeP port.
3390         * config.host: Add mep support.
3392 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
3394         * config.host: Add i386/${host_address}/t-fprules-softfp and
3395         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3397         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3398         for mingw targets.
3399         * config/i386/64/_multc3.c: Likewise.
3400         * config/i386/64/_powitf2.c: Likewise.
3401         * config/i386/64/eqtf2.c: Likewise.
3402         * config/i386/64/getf2.c: Likewise.
3403         * config/i386/64/letf2.c: Likewise.
3404         * config/i386/64/letf2.c: Likewise.
3405         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3406         unsigned long long for x64 mingw targets.
3407         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3408         (_FP_I_TYPE): Define as long long for x64 mingw target.
3410 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
3412         * config.host (vax-*-linux*): New.
3414 2009-05-31  Anthony Green  <green@moxielogic.com>
3416         * config.host: Add moxie support.
3417         * config/moxie/t-moxie: New file.
3419 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
3421         * config.host: Add i386/${host_address}/t-fprules-softfp and
3422         t-softfp to tmake_file for i[34567]86-*-cygwin*.
3424 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
3426         * config.host: Add i386/${host_address}/t-fprules-softfp to
3427         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3429 2009-04-09  Nick Clifton  <nickc@redhat.com>
3431         * config/ia64/tf-signs.c: Change copyright header to refer to
3432         version 3 of the GNU General Public License with version 3.1
3433         of the GCC Runtime Library Exception and to point readers at
3434         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3435         web page.
3436         * config/i386/32/tf-signs.c: Likewise.
3437         * config/libbid/_addsub_dd.c: Likewise.
3438         * config/libbid/_addsub_sd.c: Likewise.
3439         * config/libbid/_addsub_td.c: Likewise.
3440         * config/libbid/_dd_to_df.c: Likewise.
3441         * config/libbid/_dd_to_di.c: Likewise.
3442         * config/libbid/_dd_to_sd.c: Likewise.
3443         * config/libbid/_dd_to_sf.c: Likewise.
3444         * config/libbid/_dd_to_si.c: Likewise.
3445         * config/libbid/_dd_to_td.c: Likewise.
3446         * config/libbid/_dd_to_tf.c: Likewise.
3447         * config/libbid/_dd_to_udi.c: Likewise.
3448         * config/libbid/_dd_to_usi.c: Likewise.
3449         * config/libbid/_dd_to_xf.c: Likewise.
3450         * config/libbid/_df_to_dd.c: Likewise.
3451         * config/libbid/_df_to_sd.c: Likewise.
3452         * config/libbid/_df_to_td.c: Likewise.
3453         * config/libbid/_di_to_dd.c: Likewise.
3454         * config/libbid/_di_to_sd.c: Likewise.
3455         * config/libbid/_di_to_td.c: Likewise.
3456         * config/libbid/_div_dd.c: Likewise.
3457         * config/libbid/_div_sd.c: Likewise.
3458         * config/libbid/_div_td.c: Likewise.
3459         * config/libbid/_eq_dd.c: Likewise.
3460         * config/libbid/_eq_sd.c: Likewise.
3461         * config/libbid/_eq_td.c: Likewise.
3462         * config/libbid/_ge_dd.c: Likewise.
3463         * config/libbid/_ge_sd.c: Likewise.
3464         * config/libbid/_ge_td.c: Likewise.
3465         * config/libbid/_gt_dd.c: Likewise.
3466         * config/libbid/_gt_sd.c: Likewise.
3467         * config/libbid/_gt_td.c: Likewise.
3468         * config/libbid/_isinfd128.c: Likewise.
3469         * config/libbid/_isinfd32.c: Likewise.
3470         * config/libbid/_isinfd64.c: Likewise.
3471         * config/libbid/_le_dd.c: Likewise.
3472         * config/libbid/_le_sd.c: Likewise.
3473         * config/libbid/_le_td.c: Likewise.
3474         * config/libbid/_lt_dd.c: Likewise.
3475         * config/libbid/_lt_sd.c: Likewise.
3476         * config/libbid/_lt_td.c: Likewise.
3477         * config/libbid/_mul_dd.c: Likewise.
3478         * config/libbid/_mul_sd.c: Likewise.
3479         * config/libbid/_mul_td.c: Likewise.
3480         * config/libbid/_ne_dd.c: Likewise.
3481         * config/libbid/_ne_sd.c: Likewise.
3482         * config/libbid/_ne_td.c: Likewise.
3483         * config/libbid/_sd_to_dd.c: Likewise.
3484         * config/libbid/_sd_to_df.c: Likewise.
3485         * config/libbid/_sd_to_di.c: Likewise.
3486         * config/libbid/_sd_to_sf.c: Likewise.
3487         * config/libbid/_sd_to_si.c: Likewise.
3488         * config/libbid/_sd_to_td.c: Likewise.
3489         * config/libbid/_sd_to_tf.c: Likewise.
3490         * config/libbid/_sd_to_udi.c: Likewise.
3491         * config/libbid/_sd_to_usi.c: Likewise.
3492         * config/libbid/_sd_to_xf.c: Likewise.
3493         * config/libbid/_sf_to_dd.c: Likewise.
3494         * config/libbid/_sf_to_sd.c: Likewise.
3495         * config/libbid/_sf_to_td.c: Likewise.
3496         * config/libbid/_si_to_dd.c: Likewise.
3497         * config/libbid/_si_to_sd.c: Likewise.
3498         * config/libbid/_si_to_td.c: Likewise.
3499         * config/libbid/_td_to_dd.c: Likewise.
3500         * config/libbid/_td_to_df.c: Likewise.
3501         * config/libbid/_td_to_di.c: Likewise.
3502         * config/libbid/_td_to_sd.c: Likewise.
3503         * config/libbid/_td_to_sf.c: Likewise.
3504         * config/libbid/_td_to_si.c: Likewise.
3505         * config/libbid/_td_to_tf.c: Likewise.
3506         * config/libbid/_td_to_udi.c: Likewise.
3507         * config/libbid/_td_to_usi.c: Likewise.
3508         * config/libbid/_td_to_xf.c: Likewise.
3509         * config/libbid/_tf_to_dd.c: Likewise.
3510         * config/libbid/_tf_to_sd.c: Likewise.
3511         * config/libbid/_tf_to_td.c: Likewise.
3512         * config/libbid/_udi_to_dd.c: Likewise.
3513         * config/libbid/_udi_to_sd.c: Likewise.
3514         * config/libbid/_udi_to_td.c: Likewise.
3515         * config/libbid/_unord_dd.c: Likewise.
3516         * config/libbid/_unord_sd.c: Likewise.
3517         * config/libbid/_unord_td.c: Likewise.
3518         * config/libbid/_usi_to_dd.c: Likewise.
3519         * config/libbid/_usi_to_sd.c: Likewise.
3520         * config/libbid/_usi_to_td.c: Likewise.
3521         * config/libbid/_xf_to_dd.c: Likewise.
3522         * config/libbid/_xf_to_sd.c: Likewise.
3523         * config/libbid/_xf_to_td.c: Likewise.
3524         * config/libbid/bid128.c: Likewise.
3525         * config/libbid/bid128_2_str.h: Likewise.
3526         * config/libbid/bid128_2_str_macros.h: Likewise.
3527         * config/libbid/bid128_2_str_tables.c: Likewise.
3528         * config/libbid/bid128_add.c: Likewise.
3529         * config/libbid/bid128_compare.c: Likewise.
3530         * config/libbid/bid128_div.c: Likewise.
3531         * config/libbid/bid128_fma.c: Likewise.
3532         * config/libbid/bid128_logb.c: Likewise.
3533         * config/libbid/bid128_minmax.c: Likewise.
3534         * config/libbid/bid128_mul.c: Likewise.
3535         * config/libbid/bid128_next.c: Likewise.
3536         * config/libbid/bid128_noncomp.c: Likewise.
3537         * config/libbid/bid128_quantize.c: Likewise.
3538         * config/libbid/bid128_rem.c: Likewise.
3539         * config/libbid/bid128_round_integral.c: Likewise.
3540         * config/libbid/bid128_scalb.c: Likewise.
3541         * config/libbid/bid128_sqrt.c: Likewise.
3542         * config/libbid/bid128_string.c: Likewise.
3543         * config/libbid/bid128_to_int16.c: Likewise.
3544         * config/libbid/bid128_to_int32.c: Likewise.
3545         * config/libbid/bid128_to_int64.c: Likewise.
3546         * config/libbid/bid128_to_int8.c: Likewise.
3547         * config/libbid/bid128_to_uint16.c: Likewise.
3548         * config/libbid/bid128_to_uint32.c: Likewise.
3549         * config/libbid/bid128_to_uint64.c: Likewise.
3550         * config/libbid/bid128_to_uint8.c: Likewise.
3551         * config/libbid/bid32_to_bid128.c: Likewise.
3552         * config/libbid/bid32_to_bid64.c: Likewise.
3553         * config/libbid/bid64_add.c: Likewise.
3554         * config/libbid/bid64_compare.c: Likewise.
3555         * config/libbid/bid64_div.c: Likewise.
3556         * config/libbid/bid64_fma.c: Likewise.
3557         * config/libbid/bid64_logb.c: Likewise.
3558         * config/libbid/bid64_minmax.c: Likewise.
3559         * config/libbid/bid64_mul.c: Likewise.
3560         * config/libbid/bid64_next.c: Likewise.
3561         * config/libbid/bid64_noncomp.c: Likewise.
3562         * config/libbid/bid64_quantize.c: Likewise.
3563         * config/libbid/bid64_rem.c: Likewise.
3564         * config/libbid/bid64_round_integral.c: Likewise.
3565         * config/libbid/bid64_scalb.c: Likewise.
3566         * config/libbid/bid64_sqrt.c: Likewise.
3567         * config/libbid/bid64_string.c: Likewise.
3568         * config/libbid/bid64_to_bid128.c: Likewise.
3569         * config/libbid/bid64_to_int16.c: Likewise.
3570         * config/libbid/bid64_to_int32.c: Likewise.
3571         * config/libbid/bid64_to_int64.c: Likewise.
3572         * config/libbid/bid64_to_int8.c: Likewise.
3573         * config/libbid/bid64_to_uint16.c: Likewise.
3574         * config/libbid/bid64_to_uint32.c: Likewise.
3575         * config/libbid/bid64_to_uint64.c: Likewise.
3576         * config/libbid/bid64_to_uint8.c: Likewise.
3577         * config/libbid/bid_b2d.h: Likewise.
3578         * config/libbid/bid_binarydecimal.c: Likewise.
3579         * config/libbid/bid_conf.h: Likewise.
3580         * config/libbid/bid_convert_data.c: Likewise.
3581         * config/libbid/bid_decimal_data.c: Likewise.
3582         * config/libbid/bid_decimal_globals.c: Likewise.
3583         * config/libbid/bid_div_macros.h: Likewise.
3584         * config/libbid/bid_dpd.c: Likewise.
3585         * config/libbid/bid_flag_operations.c: Likewise.
3586         * config/libbid/bid_from_int.c: Likewise.
3587         * config/libbid/bid_functions.h: Likewise.
3588         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3589         * config/libbid/bid_inline_add.h: Likewise.
3590         * config/libbid/bid_internal.h: Likewise.
3591         * config/libbid/bid_round.c: Likewise.
3592         * config/libbid/bid_sqrt_macros.h: Likewise.
3594 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
3596         * Makefile.in: Change copyright header to refer to version
3597         3 of the GNU General Public License and to point readers at the
3598         COPYING3 file and the FSF's license web page.
3599         * config.host: Likewise.
3601 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
3603         * config.host: Reorder and merge to match config.gcc change.
3605 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
3607         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3609 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
3611         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3612         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3613         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3614         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3616 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
3618         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3619         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3621 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3623         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3624         ia64/t-softfp-compat to tmake_file.
3626         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3628         * config/ia64/__divxf3.asm: New.
3629         * config/ia64/_fixtfdi.asm: Likewise.
3630         * config/ia64/_fixunstfdi.asm: Likewise.
3631         * config/ia64/_floatditf.asm: Likewise.
3632         * config/ia64/t-fprules-softfp: Likewise.
3633         * config/ia64/t-softfp-compat: Likewise.
3634         * config/ia64/tf-signs.c: Likewise.
3636 2009-01-18  Ben Elliston  <bje@au.ibm.com>
3638         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3640 2009-01-16  Ben Elliston  <bje@au.ibm.com>
3642         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3643         to tmake_file.
3645 2009-01-13  Ben Elliston  <bje@au.ibm.com>
3647         * config/t-softfp: New file.
3648         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3649         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3651 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
3653         * config.host: Add m32r*-*-rtems*.
3655 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
3657         * config.host: Add m32c*-*-rtems*.
3659 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3661         PR bootstrap/33100
3662         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3663         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3664         * configure: Regenerate.
3665         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3666         tmake_file here from gcc/config.gcc.
3667         Move extra_parts here from gcc/config.gcc.
3668         * config/i386/t-sol2: Move here from gcc/config/i386.
3669         Use gcc_srcdir instead of srcdir.
3671 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
3673         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3674         case.
3676 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
3678         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3680 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
3682         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3684 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
3686         Add picoChip port.
3687         * config.host: Add picochip-*-*.
3689 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
3691         * config.host: Match more processor names for Xtensa.
3693 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
3695         * config/i386/64/t-softfp-compat: Update comments.
3697 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3699         * config/i386/64/_divtc3-compat.c: Moved to ...
3700         * config/i386/64/_divtc3.c: Here.
3702         * config/i386/64/_multc3-compat.c: Moved to ...
3703         * config/i386/64/_multc3.c: Here.
3705         * config/i386/64/_powitf2-compat.c: Moved to ...
3706         * config/i386/64/_powitf2.c: Here.
3708         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3709         .c suffix instead of -compat.c.
3711 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
3713         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3714         (_FP_MUL_MEAT_D): Ditto.
3715         (_FP_DIV_MEAT_S): Ditto.
3716         (_FP_DIV_MEAT_D): Ditto.
3718 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
3720         * Makefile.in: Add support for __sync_* libgcc functions.
3722 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
3724         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3726 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3728         PR boostrap/36702
3729         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3730         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
3732         * config/i386/64/t-fprules-softfp: Moved to ...
3733         * config/i386/64/t-softfp-compat: This.  New.
3735 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
3737         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3738         Initialize f with 0.0.
3740 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3742         PR target/36669
3743         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3745         * config/i386/64/_divtc3-compat.c: New.
3746         * config/i386/64/_multc3-compat.c: Likewise.
3747         * config/i386/64/_powitf2-compat.c: Likewise.
3748         * config/i386/64/eqtf2.c: Likewise.
3749         * config/i386/64/getf2.c: Likewise.
3750         * config/i386/64/letf2.c: Likewise.
3751         * config/i386/64/t-fprules-softfp: Likewise.
3753 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3755         * config.host: Add i386/${host_address}/t-fprules-softfp to
3756         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3757         i[34567]86-*-linux*, x86_64-*-linux*.
3759         * configure.ac: Set host_address to 64 or 32 for x86.
3760         * configure: Regenerated.
3762         * Makefile.in (config.status): Also depend on
3763         $(srcdir)/config.host.
3765         * config/i386/32/t-fprules-softfp: New.
3766         * config/i386/32/tf-signs.c: Likewise.
3768         * config/i386/64/sfp-machine.h: New. Moved from gcc.
3770 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3771             Uros Bizjak  <ubizjak@gmail.com>
3773         * config/i386/32/sfp-machine.h: New.
3775 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
3777         * config/rs6000/t-ppccomm: Remove rules that conflict with
3778         auto-generated rules.
3780 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3782         * configure.ac: sinclude override.m4.
3783         * configure: Regenerate.
3785 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
3787         * configure: Regenerate.
3789 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
3791         * Makefile.in (DECNUMINC): Remove
3792         -I$(MULTIBUILDTOP)../../libdecnumber.
3793         * gstdint.h: New.
3795 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
3797         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3798         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3799         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3800         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3801         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3802         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3803         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3804         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3805         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3806         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3807         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3808         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3809         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3810         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3812 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
3814         * config.host (sh2[lbe]*-*-linux*): Allow target.
3816 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
3818         * config/rs6000/t-ppccomm: Add build rules for new files.
3819         (LIB2ADD_ST): New variable.
3821 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
3823         PR target/34210
3824         PR target/35508
3825         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3826         * config/t-avr: New file. Build 16bit libgcc functions.
3828 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
3830         PR target/35401
3831         * config/t-slibgcc-darwin: Make install-leaf dependent on
3832         install-darwin-libgcc-stubs instead of install.
3834 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
3836         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3837         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3838         sh-*-rtemscoff*): Remove cases.
3840 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
3842         * Makefile.in (all): Use install-leaf rather than install.
3843         (install): Split most of the rule into...
3844         (install-leaf): ...this new one.
3846 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
3847             Paolo Bonzini  <bonzini@gnu.org>
3849         PR target/30572
3850         * Makefile.in: Use @shlib_slibdir@ substitution to get
3851         correct install name on darwin.
3852         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3854 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
3856         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3857         cris-*-elf and cris-*-none.
3858         (crisv32-*-linux*): Similar, as cris-*-linux*.
3860 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
3862         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3864 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
3866         PR regression/33926
3867         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3868         * configure: Regenerated.
3870 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3872         * Makefile.in (dfp-filenames): Replace decimal_globals,
3873         decimal_data, binarydecimal and convert_data with
3874         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3875         and bid_convert_data, respectively.
3877 2007-09-17  Chao-ying Fu  <fu@mips.com>
3878             Nigel Stephens  <nigel@mips.com>
3880         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3881         * Makefile.in (fixed_point): Define.
3882         Check if fixed_point is yes to build support functions.
3883         * configure.ac: Check for fixed_point support.
3884         * configure: Regenerated.
3885         * gen-fixed.sh: New file to generate lists of fixed-point labels,
3886         funcs, modes, from, to.
3888 2007-09-11  Janis Johnson  <janis187@us.ibm.com
3890         * Makefile.in (dfp-filenames): Add bid128_noncomp.
3892 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
3894         * Makefile.in (dfp-filenames): Remove decUtility, add
3895         decDouble, decPacked, decQuad, decSingle.
3897 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
3899         * config.host : Add x86_64-elf target.
3901 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3903         * configure.ac (set_have_cc_tls): Add a missing =.
3904         * configure: Regenerated.
3906 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3908         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3909         and x86_64-*-linux*.
3911         * config/t-tls: New file.
3913         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3915         * configure.ac: Include ../config/enable.m4 and
3916         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
3917         supports TLS and substitute set_have_cc_tls.
3918         * configure: Regenerated.
3920 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
3922         * Makefile.in: Use libbid for DFP when BID is enabled.
3924 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
3926         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3927         extra_parts. Add config/i386/t-cygming to tmake_file.
3928         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3930 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
3931             Danny Smith  <dannysmith@users.sourceforge.net>
3933         PR target/29498
3934         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3935         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
3936         * config/i386/t-crtfm: Compile crtfastmath.o with
3937         -minline-all-stringops.
3939 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
3941         * config.host (sparc-wrs-vxworks): New target.
3943 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
3945         * config.host: Recognize fido.
3947 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
3949         * configure: Check host, not target, for decimal float support.
3951 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
3953         * config/i386/t-crtpc: New file.
3954         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3955         (x86_64-*-linux*): Ditto.
3957 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
3959         * config.host (x86_64-*-mingw*): New target.
3961 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
3962             H.J. Lu  <hongjiu.lu@intel.com>
3964         * Makefile.in (enable_decimal_float): New.
3965         (DECNUMINC): Add
3966         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3967         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3968         (decbits-filenames): This.
3969         (decbits-objects): New.
3970         (libgcc-objects): Add $(decbits-objects).
3972         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3973         Substitute enable_decimal_float.
3974         * configure: Regenerated.
3976 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
3978         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3980 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
3982         * Makefile.in (install-info): New dummy target.
3984 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
3986         * config.host (bfin*-linux-uclibc*): Set extra_parts.
3988 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
3990         * Makefile.in: Add install-html and install-pdf dummy
3991         targets.
3993 2007-02-05  Roger Sayle  <roger@eyesopen.com>
3994             Daniel Jacobowitz  <dan@codesourcery.com>
3996         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3997         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3998         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4000 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4002         * Makefile.in (dec-filenames): Add decExcept.
4004 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4006         PR bootstrap/30469
4007         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4008         -fprofile-use.
4010 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4012         * configure.ac: Add --enable-version-specific-runtime-libs.
4013         Correct $slibdir default.
4014         * configure: Regenerated.
4016 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4018         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4020 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4022         PR target/30519
4023         * config.host (alpha*-*-linux*): Set extra_parts.
4025 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4027         * config/sh/t-linux: New.
4028         * config.host (sh*-*-linux*): Set tmake_file.
4030 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4032         * Makefile.in (install): Handle multilibs.
4034 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4036         * Makefile.in: Added .PHONY entry for documentation targets.
4038 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4040         * Makefile.in: Add empty info, html, dvi, pdf targets.
4042 2007-01-04  Mike Stump  <mrs@apple.com>
4044         * Makefile.in (MAKEINFO): Remove.
4045         (PERL): Likewise.
4047 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4049         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4050         * configure: Regenerate.
4051         * Makefile.in (host_subdir): Substitute it.
4052         (gcc_objdir): Use it.
4054 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4056         * config.host (ia64*-*-linux*): Set tmake_file.
4058 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4060         * Makefile.in (version): Define.
4062 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4063             Paolo Bonzini  <bonzini@gnu.org>
4065         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4066         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4067         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4068         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4069         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4070         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4071         * configure: Generated.