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