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