* crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
[official-gcc.git] / libgcc / ChangeLog
blob66d52d8f96a779225e72f5099a60d7e78b5c8d6d
1 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
3         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4         even if inhibit_libc.
6 2012-08-17  Julian Brown  <julian@codesourcery.com>
8         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9         -fexceptions -fnon-call-exceptions if not defined.
10         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
11         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
13 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
15         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
16         type.
18 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
20         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
21         rs6000/t-slibgcc-aix.
23 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
25         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
27 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
29         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
31 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
33         PR driver/54171
34         * Makefile.in (version): Replace top_srcdir with srcdir.
36 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
38         * Makefile.in (version): set to BASE-VER file from gcc directory.
40 2012-08-01  Nick Clifton  <nickc@redhat.com>
42         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
43         Implements __clrsb for an HImode argument.
45 2012-07-31  Nick Clifton  <nickc@redhat.com>
47         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
48         Implements __clrsb for an HImode argument.
49         * config/stormy16/clrsbhi2.c: New file:
50         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
52 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
54         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
56 2012-07-19  Tristan Gingold  <gingold@adacore.com>
57             Richard Henderson  <rth@redhat.com>
59         * unwind-seh.c: New file.
60         * unwind-generic.h: Include windows.h for SEH.
61         (_Unwind_Exception): Use 6 private fields for SEH.
62         (_GCC_specific_handler): Declare.
63         * unwind-c.c (__gcc_personality_seh0): New function.
64         Adjust for SEH.
65         * config/i386/libgcc-cygming.ver: New file.
66         * config/i386/t-seh-eh: New file.
67         * config.host (x86_64-*-mingw*): Default to seh.
69 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
71         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
73 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
75         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
76         __builtin_expect when checking for exceptions.
77         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
79 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
81         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
82         function declaration.
83         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
84         (FP_RND_MASK): New.
85         * config/ia64/sfp-exceptions.c: New.
86         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
88 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
90         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
91         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
92         * config/i386/64/sfp-machine: ... (delete here) ...
93         * config/i386/sfp-machine.h: ... to here.
94         (FP_EX_MASK): Remove.
95         (FP_RND_MASK): New.
96         (FP_INIT_ROUNDMODE): Declare asm as volatile.
98 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
100         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
101         * config/i386/libgcc-sol2.ver: Ditto.
102         * config/i386/libgcc-glibc.ver: Ditto.
104 2012-06-11  Roland McGrath  <mcgrathr@google.com>
106         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
107         If __GLIBC__ is defined, refer to __pthread_key_create instead of
108         pthread_cancel.
110 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
112         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
113         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
114         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
115         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
116         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
117         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
118         * config/i386/64/sfp-machine: ... (delete here) ...
119         * config/i386/sfp-machine.h: ... to here.
120         (FP_EX_MASK): New.
121         (__sfp_handle_exceptions): New function declaration.
122         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
123         * config/i386/sfp-exceptions.c: New.
124         * config/i386/t-softfp: New.
125         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
126         i386/t-softfp to tmake_file.
128 2012-06-03  David S. Miller  <davem@davemloft.net>
130         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
131         change.
133 2012-05-31  David S. Miller  <davem@davemloft.net>
135         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
136         multiply and divide instructions on 32-bit when V9.
137         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
139 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
141         * config/arm/ieee754-df.S: Fix typos.
142         * config/arm/ieee754-sf.S: Fix typos.
143         * config/c6x/libunwind.S: Fix typos.
144         * config/epiphany/udivsi3-float.c: Fix typos.
145         * config/microblaze/muldi3_hard.S: Fix typos.
146         * config/picochip/adddi3.S: Fix typos.
147         * config/picochip/ashlsi3.S: Fix typos.
148         * config/picochip/ashrsi3.S: Fix typos.
149         * config/picochip/clzsi2.S: Fix typos.
150         * config/picochip/cmpsi2.S: Fix typos.
151         * config/picochip/divmod15.S: Fix typos.
152         * config/picochip/divmodhi4.S: Fix typos.
153         * config/picochip/divmodsi4.S: Fix typos.
154         * config/picochip/longjmp.S: Fix typos.
155         * config/picochip/lshrsi3.S: Fix typos.
156         * config/picochip/parityhi2.S: Fix typos.
157         * config/picochip/popcounthi2.S: Fix typos.
158         * config/picochip/setjmp.S: Fix typos.
159         * config/picochip/subdi3.S: Fix typos.
160         * config/picochip/ucmpsi2.S: Fix typos.
161         * config/picochip/udivmodhi4.S: Fix typos.
162         * config/picochip/udivmodsi4.S: Fix typos.
163         * config/spu/divv2df3.c: Fix typos.
164         * config/spu/mfc_multi_tag_release.c: Fix typos.
165         * config/spu/mfc_tag_release.c: Fix typos.
166         * configure.ac: Fix typos.
167         * configure: Regenerate.
169 2012-05-25  Ian Lance Taylor  <iant@google.com>
171         * config/i386/morestack.S (__morestack_non_split): Check whether
172         caller is varargs and needs %bp to hold the stack frame on return.
174 2012-05-25  Olivier Hainque  <hainque@adacore.com>
176         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
177         sequence in the non pic case on VxWorks.
179 2012-05-24  Olivier Hainque  <hainque@adacore.com>
181         * Makefile.in: Move dependency on install-unwind_h from
182         "install-leaf" to "install".
184 2012-05-24  Olivier Hainque  <hainque@adacore.com>
186         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
187         Use a separate command for stamp removals.
189 2012-05-21  Andrew Pinski  <apinski@cavium.com>
191         PR bootstrap/53183
192         * configure.ac: Define the default includes to being none.
193         * configure: Regenerate.
195 2012-05-16  Olivier Hainque  <hainque@adacore.com>
197         * Makefile.in (install-unwind_h): Rename into ...
198         (install-unwind_h-forbuild): New target.
199         (all): Use it instead of the former install-unwind_h.
200         (install-unwind_h): Reinstate, copy to user install destination
201         for include files, not to the internal gcc object directory one.
202         (install-leaf): Depend on it.
204 2012-05-15  Olivier Hainque  <hainque@adacore.com>
206         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
207         register numbers. LR_REGNO replaces R_LR.
208         (ucontext_for): New, helper for ...
209         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
210         and 5.3 of ...
211         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
213 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
215         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
216         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
217         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
218         i386/t-cpuinfo ...
219         (i[34567]86-*-*, x86_64-*-*): ... here.
221         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
222         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
224         * config/i386/i386-cpuinfo.c: Rename to ...
225         * config/i386/cpuinfo.c: ... this.
226         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
228         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
229         (libgcc_cv_init_priority): New test.
230         * configure: Regenerate.
231         * config.in: New file.
232         * Makefile.in (clean): Rename config.h to auto-target.h.
233         (config.h): Likewise.
234         (stamp-h): Likewise.
236         * config/i386/cpuinfo.c (auto-target.h): Include.
237         (CONSTRUCTOR_PRIORITY): Define.
238         (__cpu_indicator_init): Use it.
240 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
242         * longlong.h: Use a URL instead of an FSF postal address.
243         Replace spaces with tab.
245 2012-05-08  Teresa Johnson  <tejohnson@google.com>
247         * libgcov.c (gcov_clear, __gcov_reset): New functions.
248         (__gcov_dump): Ditto.
249         (gcov_dump_complete): New global variable.
250         (gcov_exit): Export hidden to enable use in L_gcov_dump.
251         (__gcov_flush): Outline functionality now in gcov_clear.
252         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
254 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
256         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
257         (mips*-*-linux*): Include mips/t-tpbit when long double is
258         16 bytes long.
260 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
262         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
263         (get_available_features): New argument. Check for AVX2.
264         (__cpu_indicator_init): Modify call to get_available_features.
266 2012-04-25  Alan Modra  <amodra@gmail.com>
268         * config/rs6000/crtsavevr.S: New file.
269         * config/rs6000/crtrestvr.S: New file.
270         * config/rs6000/t-savresfgpr: Build the above.
271         * config/rs6000/t-netbsd: Likewise.
273 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
275         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
277 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
279         * libgcc/config/i386/i386-cpuinfo.c: New file.
280         * libgcc/config/i386/t-cpuinfo: New file.
281         * libgcc/config.host: Include t-cpuinfo.
282         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
284 2012-04-24  Chao-ying Fu  <fu@mips.com>
286         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
288 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
290         struct siginfo vs. siginfo_t
292         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
293         siginfo_t instead of struct siginfo.
294         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
295         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
296         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
297         (ia64_handle_unwabi): Likewise.
298         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
299         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
300         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
301         (sh_fallback_frame_state): Likewise.
302         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
303         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
305 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
307         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
308         system call number.
310 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
312         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
313         if it hasn't been previously saved.
315 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
317         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
318         only for glibc.
320 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
322         PR target/52737
323         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
324         instead of __AVR_HAVE_8BIT_SP__.
326 2012-03-26  Tristan Gingold  <gingold@adacore.com>
328         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
329         (unw_table_entry): Use unw_word instead of unsigned long.
330         (_Unwind_FindTableEntry): Likewise.
331         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
332         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
333         (_Unwind_FindTableEntry): Likewise.
334         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
335         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
336         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
337         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
338         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
339         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
340         (uw_init_context_1, uw_install_context): Likewise.
341         (unw_word): Move to unwind-ia64.h
343 2012-03-26  Tristan Gingold  <gingold@adacore.com>
345         * config/vms/vms-ucrt0.c: Update copyright years.
346         Add a sanity check.
347         (___gcc_main_flags): Declare.
348         (__main): Check flags to remap argv and exit code.
349         * config.host (*-*-*vms*): Adjust extra_parts.
350         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
351         (crt0.o): Add.
353 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
355         * arm/lib1funcs.asm (ctzsi2): New function.
356         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
357         * arm/t-linux (LIB1ASMFUNCS): Likewise.
358         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
359         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
360         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
361         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
363 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
365         * config.host: Add bits to support powerpc64-*-freebsd*.
366         * config/rs6000/freebsd-unwind.h: New file.
367         * config/rs6000/t-freebsd64: New file.
369 2012-03-20  Richard Guenther  <rguenther@suse.de>
371         PR gcov-profile/52627
372         * libgcov.c (init_mx): Fix mutex name.
374 2012-03-16  Tristan Gingold  <gingold@adacore.com>
376         * config/ia64/vms-unwind.h: Remove ulong (and replace
377         it by unw_reg where used).  Define unw_reg with __int64.
379 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
381         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
382         Solaris 8 handling.
383         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
384         Solaris 8 handling.
385         (sparc_is_sighandler): Likewise.
387 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
389         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
390         <= saved reg size.
392 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
394         * config/arm/crtn.S: Fix typo.
396 2012-03-13  Richard Guenther  <rguenther@suse.de>
398         * libgcov.c: Remove stdio.h include and NULL un-define.
400 2012-03-13  Richard Guenther  <rguenther@suse.de>
402         PR target/52569
403         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
405 2012-03-13  Richard Guenther  <rguenther@suse.de>
407         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
409 2012-03-13  Richard Guenther  <rguenther@suse.de>
411         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
412         and __gthread_mutex_init_function definitions.
414 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
416         * config.host (mips*-*-openbsd*): Remove.
418 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
420         * config.host: Remove alpha*-dec-osf5.1* handling.
421         * config/alpha/gthr-posix.c: Remove.
422         * config/alpha/libgcc-osf5.ver: Remove.
423         * config/alpha/osf5-unwind.h: Remove.
424         * config/alpha/t-osf-pthread: Remove.
425         * config/alpha/t-slibgcc-osf: Remove.
426         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
427         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
428         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
429         * mkmap-flat.awk: Remove osf_export handling.
431 2012-03-12  Richard Guenther  <rguenther@suse.de>
433         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
434         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
435         (__gthread_mutex_init_function): New function.
436         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
438         PR gcov/49484
439         * libgcov.c: Include gthr.h.
440         (__gcov_flush_mx): New global variable.
441         (init_mx, init_mx_once): New functions.
442         (__gcov_flush): Protect self with a mutex.
443         (__gcov_fork): Re-initialize mutex after forking.
444         * unwind-dw2-fde.c: Change condition under which to use
445         __GTHREAD_MUTEX_INIT_FUNCTION.
447 2012-03-12  Tristan Gingold  <gingold@adacore.com>
449         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
450         * config/ia64/t-vms: Likewise.
452 2012-03-11  Michael Hope  <michael.hope@linaro.org>
454         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
455         for Thumb-2.
457 2012-03-07  Walter Lee  <walt@tilera.com>
459         * config/tilepro/atomic.c: Rename "atomic_" prefix to
460         "arch_atomic_".
461         (atomic_xor): Rename and move definition to
462         config/tilepro/atomic.h.
463         (atomic_nand): Ditto.
464         * config/tilepro/atomic.h: Rename "atomic_" prefix to
465         "arch_atomic_".
466         (arch_atomic_xor): Move from config/tilepro/atomic.c.
467         (arch_atomic_nand): Ditto.
469 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
471         PR target/52507
472         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
474 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
476         PR target/52505
477         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
478         from RAM.
480 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
482         PR target/52461
483         PR target/52508
484         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
485         if RAMPZ affects reading from RAM.
486         (__tablejump_elpm__): Ditto.
487         (.xload): Ditto.
488         (__movmemx_hi): Ditto.
489         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
490         (__do_global_dtors): Ditto.
491         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
492         (__movmemx_hi): Ditto.
494 2012-03-05  Richard Henderson  <rth@redhat.com>
496         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
497         [ARM] (count_trailing_zeros): Use the builtin.
499 2012-03-01  Kai Tietz  <ktietz@redhat.com>
501         * soft-fp: Imported from glibc upstream.
503 2012-02-28  Kai Tietz  <ktietz@redhat.com>
505         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
506         for mingw-targets as attribute gcc_struct.
508 2012-02-28  Ian Lance Taylor  <iant@google.com>
510         * generic-morestack.c (__splitstack_releasecontext): Correct call
511         to __morestack_release_segments.
513 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
515         PR target/52390
516         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
517         for __linux__ when removing signals from __morestack_fullmask.
519 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
521         PR target/52261
522         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
524 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
526         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
527         instead of HAVE_INITFINI_ARRAY.
528         * config/ia64/crtend.S: Likewise.
530 2012-02-20  Kai Tietz  <ktietz@redhat.com>
532         PR libstdc++/52300
533         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
535         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
536         to w32-unwind.h header.
538 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
540         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
541         (mips*-*-linux*): Remove t-slibgcc-libgcc.
542         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
543         * config/mips/mips16.S (__mips16_rdhwr): Delete.
545 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
547         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
549 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
551         PR libitm/52220
552         * config/darwin-crt-tm.c: Correct typo.
554 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
555             Patrick Marlier  <patrick.marlier@gmail.com>
557         PR libitm/52220
558         * config/darwin-crt-tm.c: Generate dummy functions.
560 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
561             Patrick Marlier  <patrick.marlier@gmail.com>
563         PR libitm/52042
564         * config/darwin-crt-tm.c (getTMCloneTable): New function.
565         (__doTMRegistrations): Call it.
566         (__doTMdeRegistrations): Likewise.
568 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
569             Anatoly Sokolov <aesok@post.ru>
570             Eric Weddington <eric.weddington@atmel.com>
572         PR target/52261
573         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
574         (__epilogue_restores__): Ditto.
576 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
578         PR target/51921
579         PR target/52205
580         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
581         Solaris 11 and slightly reformat.
582         (sparc_is_sighandler): Likewise.
584 2012-02-14  Walter Lee  <walt@tilera.com>
586         * config.host: Handle tilegx and tilepro.
587         * config/tilegx/sfp-machine.h: New file.
588         * config/tilegx/sfp-machine32.h: New file.
589         * config/tilegx/sfp-machine64.h: New file.
590         * config/tilegx/t-crtstuff: New file.
591         * config/tilegx/t-softfp: New file.
592         * config/tilegx/t-tilegx: New file.
593         * config/tilepro/atomic.c: New file.
594         * config/tilepro/atomic.h: New file.
595         * config/tilepro/linux-unwind.h: New file.
596         * config/tilepro/sfp-machine.h: New file.
597         * config/tilepro/softdivide.c: New file.
598         * config/tilepro/softmpy.S: New file.
599         * config/tilepro/t-crtstuff: New file.
600         * config/tilepro/t-tilepro: New file.
602 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
604         PR libstdc++/51296
605         PR libstdc++/51906
606         * gthr-posix.h: Allow static initializer macros to be disabled.
607         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
609 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
611         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
612         Add t-slibgcc-libgcc to tmake_file.
613         * config/mips/libgcc-mips16.ver: Revert previous patch.
614         * config/mips/mips16.S (__mips16_rdhwr): Hide.
616 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
617             Jayant R Sonar <jayant.sonar@kpitcummins.com>
619         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
620         * config/cr16/crti.S: New file.
621         * config/cr16/crtlibid.S: New file.
622         * config/cr16/crtn.S: New file.
623         * config/cr16/lib1funcs.S: New file.
624         * config/cr16/t-cr16: New file.
625         * config/cr16/t-crtlibid: New file.
626         * config/cr16/unwind-dw2.h: New file.
627         * config/cr16/unwind-cr16.c: New file.
628         * config/cr16/divmodhi3.c: New file.
630 2012-01-25  Alan Modra  <amodra@gmail.com>
632         * config/rs6000/t-linux64: Delete.  Move..
633         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
634         * config/rs6000/t-linux: ..and libgcc flags to here.
636 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
638         * config.host (i[34567]86-*-interix3*):
639         Change triplet to i[34567]86-*-interix[3-9]*.
640         * configure: Regenerate.
642 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
643             Richard Sandiford  <rdsandiford@googlemail.com>
645         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
646         * config/mips/mips16.S (__mips16_rdhwr): New function.
647         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
649 2012-01-11  Nathan Sidwell  <nathan@acm.org>
651         * libgcov.c (__gcov_init): Ignore objects with no functions.
653 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
655         PR target/49868
656         Extend __pgmx semantics to linearize memory.
657         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
658         * config/avr/lib1funcs.S (__xload_1): New function.
659         (__movmemx_qi, __movmemx_hi): New functions.
660         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
661         semantics.
663 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
665         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
666         purported sigacthandler address isn't null before dereferencing it.
667         (sparc_is_sighandler): Likewise.
669 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
671         PR ada/41929
672         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
673         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
674         (sparc_is_sighandler): Likewise.
675         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
677 2012-01-06  Tristan Gingold  <gingold@adacore.com>
679         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
680         compatibility thunks...
681         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
682         (crtbeginS.o, crtendS.o): ... and these to ...
683         * config/ia64/t-ia64-elf: ... this new file.
684         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
685         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
687 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
689         * configure: Regenerate.
690         * config/s390/t-crtstuff: Remove -fPIC.
692 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
694         PR bootstrap/51006
695         * enable-execute-stack-mprotect.c (getpagesize): Do not define
696         for NetBSD.
698 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
700         PR target/51345
701         * config/avr/lib1funcs.S: Remove FIXME comments.
702         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
704 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
706         Implement light-weight DImode support.
707         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
708         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
709         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
710         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
712 2011-12-30  Nathan Sidwell  <nathan@acm.org>
714         * libgcov.c (gcov_crc32): Remove global var.
715         (free_fn_data): New function.
716         (buffer_fn_data): Pass in filename, more robust error recovery.
717         (crc32_unsigned): New function.
718         (gcov_exit): More robust detection of new program. More robust
719         error recovery.
720         (__gcov_init): Do not update program's crc here.
722 2011-12-21  Tristan Gingold  <gingold@adacore.com>
724         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
726 2011-12-21  Ian Lance Taylor  <iant@google.com>
728         * config/i386/morestack.S: Simplify CFI opcodes throughout.
730 2011-12-20  Ian Lance Taylor  <iant@google.com>
732         * config/i386/morestack.S (__morestack_non_split): If there is
733         enough stack space already, don't split.  Ask for more stack space
734         than we required.
736 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
738         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
739         `sys/sdt.h'.
740         (_Unwind_DebugHook): New function.
741         (uw_restore_core_regs): New define.
742         (unwind_phase2): Use uw_restore_core_regs instead of
743         restore_core_regs.
744         (unwind_phase2_forced): Likewise.
745         (__gnu_Unwind_Resume): Likewise.
747 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
749         * config/alpha/linux-unwind.h: Update copyright years.
750         (MD_FROB_UPDATE_CONTEXT): New define.
751         (alpha_frob_update_context): New function.
753 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
755         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
756         tmake_file rather replacing it.
758 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
760         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
761         function is not used for PPC64.
762         (save_world): Amend comments.  Update the VRsave mask to reflect the
763         saved regs.
764         (rest_world): Update comments, do not  clobber r10, do not use r8.
765         (eh_rest_world_r10): Amend comments, do not use r8.
766         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
767         no longer used, move restore of CR and target address to the end of
768         the routine.
770 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
772         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
773         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
775 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
777         PR target/49313
778         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
779         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
781 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
783         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
785 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
787         PR target/49313
788         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
789         * config/avr/lib1funcs.S (__muldi3): New function.
791 2011-12-06  Andrew Pinski  <apinski@cavium.com>
793         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
794         size of func_ptr.
795         (__frame_dummy_init_array_entry): Likewise.
797 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
799         Forward-port from gcc-4_6-branch r181936 2011-12-02.
801         PR target/51345
802         PR target/51002
803         * config/avr/lib1funcs.S (__prologue_saves__,
804         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
805         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
807 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
809         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
811 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
813         PR other/51272
814         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
815         (_ITM_deregisterTMCloneTable): Likewise.
816         (__register_frame_info): Fix unused warning.
817         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
818         pthread_default_stacksize_np): Likewise.
819         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
821 2011-11-29  DJ Delorie  <dj@redhat.com>
823         * config.host (rl78-*-elf): New case.
824         * config/rl78: New directory for the Renesas RL78.
826 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
828         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
829         formatting.
831 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
833         PR other/51022
834         * config/rs6000/t-savresfgpr: New file.
835         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
836         $(srcdir)/config/rs6000/eabi.S.
837         * config/rs6000/t-ppccomm-ldbl: Remove.
838         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
839         tmake_file.
840         (powerpc-*-eabispe*): Likewise.
841         (powerpc-*-eabi*): Likewise.
842         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
843         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
844         to tmake_file, remove rs6000/t-ppccomm-ldbl.
845         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
846         tmake_file.
847         (powerpc-*-eabisim*): Likewise.
848         (powerpc-*-elf*): Likewise.
849         (powerpc-*-eabialtivec*): Likewise.
850         (powerpc-xilinx-eabi*): Likewise.
851         (powerpc-*-rtems*): Likewise.
852         (powerpcle-*-elf*): Likewise.
853         (powerpcle-*-eabisim*): Likewise.
854         (powerpcle-*-eabi*): Likewise.
856 2011-11-27  Ian Lance Taylor  <iant@google.com>
858         * generic-morestack.c (__splitstack_find): Check for NULL old
859         stack value.
860         (__splitstack_resetcontext): New function.
861         (__splitstack_releasecontext): New function.
862         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
864 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
866         * config/darwin-crt-tm.c: Correct comments, use correct licence.
868 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
870         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
872 2011-11-26  Richard Henderson  <rth@redhat.com>
874         * config/m68k/linux-atomic.c: New file.
875         * config/m68k/t-linux: New file.
876         * config.host (m68k-uclinux, m68k-linux): Use it.
878 2011-11-26  Richard Henderson  <rth@redhat.com>
880         * crtstuff.c (__TMC_LIST__): Mark used not unused.
881         (__TMC_END__): Only declare if hidden is available; in the definition,
882         if hidden is unavailable add a null record.
883         (deregister_tm_clones, register_tm_clones): New.
884         (__do_global_dtors_aux, frame_dummy): Use them.
885         (__do_global_dtors, __do_global_ctors_1): Likewise.
887 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
889         * config/darwin-crt-tm.c: New file.
890         * config.host (darwin): Build crttms.o crttme.o to provide
891         startup and shutdown for tm clones.
892         * config/t-darwin (crttms.o): New build rule.
893         (crttme.o): Likewise.
895 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
897         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
898         et al.
900 2011-11-21  Richard Henderson  <rth@redhat.com>
902         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
903         (__TMC_LIST__, __TMC_END__): New.
904         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
905         (__do_global_dtors): Likewise.
906         (frame_dummy): Call _ITM_registerTMCloneTable.
907         (__do_global_ctors_1): Likewise.
909 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
911         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
912         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
913         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
914         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
915         * config/i386/t-darwin64: Remove.
916         * config/sh/t-netbsd (LIB2ADD): Remove.
918 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
920         PR target/49313
921         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
922         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
923         * config/avr/lib1funcs.S (wmov): New assembler macro.
924         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
925         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
926         (__udivmod64): New function.
927         (__negdi2): New function.
929 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
931         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
932         *-*-freebsd*aout*): Remove.
934 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
936         * static-object.mk (c_flags-$o): Save c_flags.
937         ($(base)$(objext)): Use it.
939 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
941         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
943 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
945         PR target/49868
946         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
947         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
948         New functions.
950 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
952         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
953         functions.
954         (aeabi_uidivmod): Likewise.
955         (umodsi3): Likewise.
956         (divsi3): Likewise.
957         (aeabi_idivmod): Likewise.
958         (modsi3): Likewise.
960 2011-11-16  Tristan Gingold  <gingold@adacore.com>
962         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
964 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
966         PR target/49868
967         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
968         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
970 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
972         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
973         tmake_file list.
974         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
975         * config/pa/t-stublib64: Delete.
977 2011-11-12  Richard Henderson  <rth@redhat.com>
979         * config/rs6000/linux-unwind.h (frob_update_context): Properly
980         cast the pointer argument to _Unwind_SetGRPtr.
982 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
984         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
986 2011-11-09  Ian Lance Taylor  <iant@google.com>
988         * generic-morestack.c: Include <string.h>.
989         (uintptr_type): Define.
990         (struct initial_sp): Add dont_block_signals field.  Reduce size of
991         extra array by 1.
992         (allocate_segment): Set prev field to NULL.  Don't set
993         __morestack_current_segment or __morestack_segments.
994         (__generic_morestack): Update current->prev and *pp after calling
995         allocate_segment.
996         (__morestack_block_signals): Don't do anything if
997         dont_block_signals is set.
998         (__morestack_unblock_signals): Likewise.
999         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1000         uintptr_type.
1001         (__splitstack_block_signals): New function.
1002         (enum __splitstack_content_offsets): Define.
1003         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1004         (__splitstack_makecontext): New function.
1005         (__splitstack_block_signals_context): New function.
1006         (__splitstack_find_context): New function.
1007         * config/i386/morestack.S (__morestack_get_guard): New function.
1008         (__morestack_set_guard, __morestack_make_guard): New functions.
1009         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1011 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1013         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1014         (i[34567]86-*-mingw*): ... here.
1015         (x86_64-*-mingw*): ... here.
1017 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1019         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1021 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1023         * libgcov.c (struct gcov_fn_buffer): New struct.
1024         (buffer_fn_data): New helper.
1025         (gcov_exit): Rework for new gcov data structures.
1027 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1029         PR target/49313
1030         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1032 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1034         * config.host (tmake_file): Correct comment.
1035         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1036         t-libgcc-pic.
1037         (bfin*-uclinux*): Likewise.
1038         (bfin*-linux-uclibc*): Likewise.
1039         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1041         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1042         assigning.
1043         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1044         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1045         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1046         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1047         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1048         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1049         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1050         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1051         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1052         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1053         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1054         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1055         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1057         * config/bfin/t-elf: Remove.
1058         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1060 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1062         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1063         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1064         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1065         (lm32-*-elf*): ... this.
1066         (lm32-*-rtems*): ... and this.
1067         Add to tmake_file.
1068         (m32r-*-rtems*): Add to tmake_file.
1069         (moxie-*-rtems*): Likewise.
1070         (sparc-*-rtems*): Likewise.
1071         Remove t-rtems from tmake_file.
1072         (sparc64-*-rtems*): Likewise.
1073         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1074         instead.
1076 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1078         PR bootstrap/50982
1079         * config/gthr-posix.h: Move ...
1080         * gthr-posix.h: ... here.
1081         * config/gthr-lynx.h: Reflect this.
1082         * config/gthr-vxworks.h: Likewise.
1083         * config/rs6000/gthr-aix.h: Likewise.
1084         * configure.ac (target_thread_file): Likewise.
1085         * configure: Regenerate.
1087 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1089         * config.host (arm*-*-rtemseabi*): New target.
1091 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1093         PR other/50991
1094         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1095         extra-parts.
1097 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1099         * config.host (epiphany-*-elf*): New configuration.
1100         * config/epiphany: New Directory.
1102 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1104         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1105         * config/avr/t-rtems: New.
1106         Filter out _exit from LIB1ASMFUNCS.
1108 2011-11-04  David S. Miller  <davem@davemloft.net>
1110         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1111         * configure: Rebuild.
1113 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1115         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1116         variable.
1118 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1120         PR target/50931
1121         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1122         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1124 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1126         PR target/50989
1127         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1129 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1131         * config/c6x/t-elf (LIB2ADDEH): Set.
1132         * config/c6x/t-c6x-elf: Remove.
1134 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1136         * config/i386/sol2-ci.S: Rename to ...
1137         * config/i386/crti.S: ... this.
1138         * config/i386/sol2-cn.S: Rename to ...
1139         * config/i386/crtn.S: ... this.
1140         * config/sparc/sol2-ci.S: Rename to ...
1141         * config/sparc/crti.S: ... this.
1142         * config/sparc/sol2-cn.S: Rename to ...
1143         * config/sparc/crtn.S: ... this.
1144         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1145         (crti.o, crtn.o): Remove.
1147 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1149         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1151 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1153         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1155 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1157         * config.host (crisv32-*-none, cris-*-none): Remove.
1158         (crisv32-*-elf): Append to tmake_file, don't just set it.
1159         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1161 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1163         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1164         (ecrtn$(objext)): Likewise.
1165         (ncrti$(objext)): Likewise.
1166         (ncrtn$(objext)): Likewise.
1168 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1170         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1172 2011-11-02  David S. Miller  <davem@davemloft.net>
1174         * configure.ac: Set host_address on sparc too.
1175         * configure: Regenerate.
1176         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1177         based upon host_address.
1178         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1180 2011-11-02  Jason Merrill  <jason@redhat.com>
1182         * config/rs6000/t-ppccomm: Add missing \.
1184 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1186         * gthr-single.h, gthr.h: New files.
1187         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1188         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1189         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1190         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1191         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1192         * configure.ac (thread_header): New variable.
1193         Set it depending on target_thread_file.
1194         (gthr-default.h): Link from $thread_header.
1195         * configure: Regenerate.
1196         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1198 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1200         * configure.ac (tm_file_): New variable.
1201         Determine from tm_file.
1202         (tm_file, tm_defines): Substitute.
1203         * configure: Regenerate.
1204         * mkheader.sh: New file.
1205         * Makefile.in (clean): Remove libgcc_tm.h.
1206         ($(objects)): Depend on libgcc_tm.h.
1207         (libgcc_tm_defines, libgcc_tm_file): New variables.
1208         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1209         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1210         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1211         ($(extra-parts)): Depend on libgcc_tm.h.
1212         * config.host (tm_defines, tm_file): New variable.
1213         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1214         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1215         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1216         (avr-*-rtems*): Likewise.
1217         (avr-*-*): Likewise.
1218         (frv-*-elf): Likewise.
1219         (frv-*-*linux*): Likewise.
1220         (h8300-*-rtems*): Likewise.
1221         (h8300-*-elf*): Likewise.
1222         (i[34567]86-*-darwin*): Likewise.
1223         (x86_64-*-darwin*): Likewise.
1224         (rx-*-elf): Likewise.
1225         (tic6x-*-uclinux): Likewise.
1226         (tic6x-*-elf): Likewise.
1227         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1228         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1229         * config/i386/cygming-crtbegin.c: Likewise.
1230         * config/i386/cygming-crtend.c: Likewise.
1231         * config/ia64/fde-vms.c: Likewise.
1232         * config/ia64/unwind-ia64.c: Likewise.
1233         * config/libbid/bid_gcc_intrinsics.h: Likewise.
1234         * config/rs6000/darwin-fallback.c: Likewise.
1235         * config/stormy16/lib2funcs.c: Likewise.
1236         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1237         * crtstuff.c: Likewise.
1238         * dfp-bit.h: Likewise.
1239         * emutls.c: Likewise.
1240         * fixed-bit.c: Likewise.
1241         * fp-bit.c: Likewise.
1242         * generic-morestack-thread.c: Likewise.
1243         * generic-morestack.c: Likewise.
1244         * libgcc2.c: Likewise.
1245         * libgcov.c: Likewise.
1246         * unwind-dw2-fde-dip.c: Likewise.
1247         * unwind-dw2-fde.c: Likewise.
1248         * unwind-dw2.c: Likewise.
1249         * unwind-sjlj.c: Likewise.
1251 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1253         * configure.ac: Include ../config/picflag.m4.
1254         (GCC_PICFLAG): Call it.
1255         Substitute.
1256         * configure: Regenerate.
1257         * Makefile.in (gcc_srcdir): Remove.
1258         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1259         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1260         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1261         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1262         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1263         Use $<.
1264         Remove comment.
1265         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1266         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1267         to refer to libgcc2.c.
1268         Use $<.
1269         * config/darwin-64.c: New file.
1270         * config/darwin-crt3.c: Remove comment.
1271         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1272         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1273         config/udivmodsi4.c: New files.
1274         * config/memcmp.c, config/memcpy.c, config/memmove.c,
1275         config/memset.c: New files.
1276         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1277         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1278         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1279         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1280         * config/t-openbsd-thread: New file.
1281         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1282         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1283         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1284         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1285         qrnnd.S.
1286         Adapt filename.
1287         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1288         to refer to gthr-posix.c.
1289         * config/alpha/t-vms (LIB2ADD): Set.
1290         * config/alpha/vms-gcc_shell_handler.c: New file.
1291         * config/arm/bpabi.c, config/arm/fp16.c,
1292         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1293         config/arm/unaligned-funcs.c: New files.
1294         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1295         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1296         * config/arm/t-linux: Likewise.
1297         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1298         * config/arm/t-netbsd: New file.
1299         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1300         * config/arm/t-symbian (LIB2ADD_ST): Set.
1301         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1302         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1303         * config/bfin/t-elf: New file.
1304         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1305         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1306         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1307         config/c6x/ltf.c: New files.
1308         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1309         (HOST_LIBGCC2_CFLAGS): Set.
1310         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1311         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1312         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1313         New files.
1314         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1315         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1316         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1317         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1318         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1319         files.
1320         * config/frv/t-frv (LIB2ADD): Set.
1321         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1322         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1323         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1324         config/h8300/popcounthi2.c: New files.
1325         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1326         * config/i386/gthr-win32.c: New file.
1327         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1328         * config/i386/t-cygwin: Likewise.
1329         * config/i386/t-darwin, config/i386/t-darwin64,
1330         config/i386/t-gthr-win32, config/i386/t-interix: New files.
1331         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1332         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1333         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1334         * config/ia64/quadlib.c: New file.
1335         * config/ia64/t-hpux (LIB2ADD): Set.
1336         * config/ia64/t-ia64: Add comment.
1337         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1338         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1339         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1340         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1341         * config/m32c/t-m32c (LIB2ADD): Set.
1342         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1343         * config/m32r/t-m32r: Likewise.
1344         * config/m68k/fpgnulib.c: New file.
1345         * config/m68k/t-floatlib (LIB2ADD): Set.
1346         (xfgnulib.c): New target.
1347         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1348         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1349         * config/mep/t-mep (LIB2ADD): Set.
1350         * config/microblaze/divsi3.asm: Rename to divsi3.S.
1351         * config/microblaze/moddi3.asm: Rename to moddi3.S.
1352         * config/microblaze/modsi3.asm: Rename to modsi3.S.
1353         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1354         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1355         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1356         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1357         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1358         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1359         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1360         New files.
1361         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1362         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1363         * config/pa/fptr.c, config/pa/lib2funcs.S,
1364         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1365         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1366         (LIB2ADD, LIB2ADD_ST): Set.
1367         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1368         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1369         Set.
1370         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1371         * config/pdp11/t-pdp11: New file.
1372         * config/picochip/libgccExtras/adddi3.S,
1373         config/picochip/libgccExtras/ashlsi3.S,
1374         config/picochip/libgccExtras/ashrsi3.S,
1375         config/picochip/libgccExtras/clzsi2.S,
1376         config/picochip/libgccExtras/cmpsi2.S,
1377         config/picochip/libgccExtras/divmod15.S,
1378         config/picochip/libgccExtras/divmodhi4.S,
1379         config/picochip/libgccExtras/divmodsi4.S,
1380         config/picochip/libgccExtras/lshrsi3.S,
1381         config/picochip/libgccExtras/parityhi2.S,
1382         config/picochip/libgccExtras/popcounthi2.S,
1383         config/picochip/libgccExtras/subdi3.S,
1384         config/picochip/libgccExtras/ucmpsi2.S,
1385         config/picochip/libgccExtras/udivmodhi4.S,
1386         config/picochip/libgccExtras/udivmodsi4.S: New files.
1387         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1388         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1389         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1390         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1391         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1392         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1393         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
1394         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1395         files.
1396         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1397         (HOST_LIBGCC2_CFLAGS): Set.
1398         * config/rs6000/t-darwin64: New file.
1399         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1400         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1401         * config/rs6000/t-ppccomm (LIB2ADD): Add
1402         $(srcdir)/config/rs6000/tramp.S.
1403         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1404         Add  $(srcdir)/config/rs6000/eabi.S.
1405         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1406         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1407         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1408         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1409         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1410         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1411         * config/rs6000/tramp.S: New file.
1412         * config/s390/t-tpf: Remove.
1413         * config/sh/linux-atomic.S: New file.
1414         * config/sh/t-linux (LIB2ADD): Set.
1415         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1416         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1417         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1418         to unwind-dw2.c.
1419         (HOST_LIBGCC2_CFLAGS): Set.
1420         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1421         * config/spu/divmodti4.c, config/spu/divv2df3.c,
1422         config/spu/float_disf.c, config/spu/float_unsdidf.c,
1423         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1424         config/spu/mfc_multi_tag_release.c,
1425         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1426         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1427         config/spu/multi3.c: New files.
1428         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1429         (HOST_LIBGCC2_CFLAGS): Set.
1430         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1431         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1432         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1433         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1434         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1435         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1436         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1437         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1438         config/stormy16/umodsi3.c: New files.
1439         * config/xtensa/lib2funcs.S: New file.
1440         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1441         * config/xtensa/t-xtensa (LIB2ADD): Set.
1442         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1443         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1444         Add t-freebsd-thread to tmake_file for posix threads.
1445         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1446         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1447         (*-*-lynxos*): Likewise.
1448         (*-*-netbsd*): Likewise.
1449         (*-*-openbsd*): Likewise.
1450         Add t-openbsd-thread to tmake_file for posix threads.
1451         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1452         (*-*-vxworks*): Set tmake_file.
1453         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1454         (alpha*-*-freebsd*): Likewise.
1455         (alpha*-*-netbsd*): Likewise.
1456         (alpha*-*-openbsd*): Likewise.
1457         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1458         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1459         (alpha*-dec-*vms*): Likewise.
1460         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1461         (bfin*-elf*): Add bfin/t-elf to tmake_file.
1462         (bfin*-uclinux*): Likewise.
1463         (bfin*-linux-uclibc*): Likewise.
1464         (crisv32-*-elf): Add cris/t-cris to tmake_file.
1465         (crisv32-*-none): Likewise.
1466         (cris-*-elf): Likewise.
1467         (cris-*-none): Likewise.
1468         (cris-*-linux*, crisv32-*-linux*): Likewise.
1469         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1470         tmake_file.
1471         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1472         tmake_file.
1473         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1474         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1475         (x86_64-*-elf*): Likewise.
1476         (i[34567]86-*-nto-qnx*): Likewise.
1477         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1478         win32 threads.
1479         (x86_64-*-mingw*): Likewise.
1480         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1481         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1482         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1483         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1484         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1485         tmake_file.
1486         (mipsisa64sr71k-*-elf*): Likewise.
1487         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1488         (mips-*-elf*, mipsel-*-elf*): Likewise.
1489         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1490         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1491         (mips*-*-rtems*): Likewise.
1492         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1493         to tmake_file.
1494         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1495         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1496         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1497         (spu-*-elf*): Likewise.
1498         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1500 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1502         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1503         $(srcdir) to refer to $(LIB1ASMSRC).
1504         Use $<.
1505         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1506         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1507         config/arm/lib1funcs.S: New files.
1508         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1509         * config/arm/t-arm: New file.
1510         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1511         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1512         config/arm/t-strongarm-elf: New files.
1513         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1514         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1515         * config/avr/lib1funcs.S: New file.
1516         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1517         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1518         * config/c6x/lib1funcs.S: New file.
1519         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1520         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1521         * config/frv/lib1funcs.S: New file.
1522         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1523         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1524         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1525         * config/ia64/__divxf3.asm: Rename to ...
1526         * config/ia64/__divxf3.S: ... this.
1527         Adapt lib1funcs.asm filename.
1528         * config/ia64/_fixtfdi.asm: Rename to ...
1529         * config/ia64/_fixtfdi.S: ... this.
1530         Adapt lib1funcs.asm filename.
1531         * config/ia64/_fixunstfdi.asm: Rename to ...
1532         * config/ia64/_fixunstfdi.S: ... this.
1533         Adapt lib1funcs.asm filename.
1534         * config/ia64/_floatditf.asm: Rename to ...
1535         * config/ia64/_floatditf.S: ... this.
1536         Adapt lib1funcs.asm filename.
1537         * config/ia64/lib1funcs.S: New file.
1538         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1539         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1540         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1541         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1542         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1543         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1544         * config/mep/lib1funcs.S: New file.
1545         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1546         * config/mips/mips16.S: New file.
1547         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1548         * config/pa/milli64.S: New file.
1549         * config/pa/t-linux, config/pa/t-linux64: New files.
1550         * config/picochip/lib1funcs.S: New file.
1551         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1552         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1553         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1554         * config/sh/t-netbsd: New file.
1555         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1556         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1557         * config/sh/t-sh64: New file.
1558         * config/sparc/lb1spc.S: New file.
1559         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1560         filename.
1561         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1562         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1563         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1564         config/xtensa/lib1funcs.S: New files.
1565         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1566         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1567         tmake_file.
1568         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1569         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1570         (arm*-*-linux*): Likewise.
1571         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1572         arm*-*-linux-*eabi, add arm/t-linux otherwise.
1573         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1574         (arm*-*-ecos-elf): Likewise.
1575         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1576         (arm*-*-rtems*): Likewise.
1577         (arm*-*-elf): Likewise.
1578         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1579         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1580         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1581         (bfin*-uclinux*): Likewise.
1582         (bfin*-linux-uclibc*): Likewise.
1583         (bfin*-rtems*): Likewise.
1584         (bfin*-*): Likewise.
1585         (fido-*-elf): Merge into m68k-*-elf*.
1586         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1587         (frv-*-*linux*): Add frv/t-frv to tmake_file.
1588         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1589         (h8300-*-elf*): Likewise.
1590         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1591         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1592         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1593         (i[34567]86-*-mingw*): Likewise.
1594         (x86_64-*-mingw*): Likewise.
1595         (i[34567]86-*-interix3*): Likewise.
1596         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1597         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1598         (m68k-*-elf*): Also handle fido-*-elf.
1599         Add m68k/t-floatlib to tmake_file.
1600         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1601         (m68k-*-linux*): Likewise.
1602         (m68k-*-rtems*): Likewise.
1603         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1604         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1605         sh64*-*-*.
1606         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1607         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1608         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1609         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1610         sh/t-netbsd to tmake_file.
1611         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1612         (sh-*-rtems*): Add sh/t-sh to tmake_file.
1613         (sh-wrs-vxworks): Likewise.
1614         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1615         *-leon[3-9]*.
1616         (v850*-*-*): Add v850/t-v850 to tmake_file.
1617         (vax-*-linux*): Add vax/t-linux to tmake_file.
1618         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1620 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1622         * crtstuff.c: New file.
1623         * Makefile.in (CRTSTUFF_CFLAGS): Define.
1624         (CRTSTUFF_T_CFLAGS): Define.
1625         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1626         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1627         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1628         crtstuff.c.
1629         Use $<.
1630         (crtbeginT.o): Use $(objext).
1631         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1632         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1633         (gcc-extra-parts): Remove.
1634         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1635         Set extra_parts.
1636         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1637         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1638         Add t-crtstuff-pic to tmake_file.
1639         (*-*-lynxos*): New case.
1640         Set tmake_file, extra_parts.
1641         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1642         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1643         *-*-netbsdelf[2-9]*.
1644         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1645         (*-*-rtems*): Set extra_parts.
1646         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1647         (*-*-uclinux*): New case.
1648         Set extra_parts.
1649         (*-*-vms*): New case.
1650         Set tmake_file, extra_parts.
1651         (*-*-elf): Set extra_parts.
1652         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1653         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1654         vms/t-vms64.
1655         Set extra_parts.
1656         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1657         Set extra_parts.
1658         (arm*-*-freebsd*): Add t-crtin to tmake_file.
1659         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1660         (arm-wrs-vxworks): Append to tmake_file.
1661         Set extra_parts.
1662         (arm*-*-uclinux*): Set extra_parts.
1663         (arm*-*-ecos-elf): Likewise.
1664         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1665         arm*-*-eabi*.
1666         (arm*-*-rtems*): Set extra_parts.
1667         (arm*-*-elf): Likewise.
1668         (avr-*-rtems*): Clear extra_parts.
1669         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1670         Set extra_parts.
1671         (bfin*-uclinux*): Likewise.
1672         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1673         (bfin*-rtems*): Append to tmake_file.
1674         Set extra_parts.
1675         (bfin*-*): Likewise.
1676         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1677         (crisv32-*-elf): ... this.
1678         (crisv32-*-none): ... this.
1679         (cris-*-elf, cris-*-none): New cases.
1680         Add cris/t-elfmulti to tmake_file.
1681         (fr30-*-elf): Append to tmake_file.
1682         Set extra_parts.
1683         (frv-*-elf): Append to tmake_file, add frv/t-frv.
1684         Set extra_parts.
1685         (h8300-*-rtems*): Append to tmake_file.
1686         Set extra_parts.
1687         (h8300-*-elf*): Likewise.
1688         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1689         Set extra_parts.
1690         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1691         Set extra_parts.
1692         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1693         (x86_64-*-elf*): Likewise.
1694         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1695         (x86_64-*-freebsd*): Likewise.
1696         (x86_64-*-netbsd*): Likewise.
1697         (i[34567]86-*-linux*): Likewise.
1698         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1699         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1700         (x86_64-*-linux*): Likewise.
1701         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1702         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1703         tmake_file.
1704         Set extra_parts.
1705         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1706         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1707         Append to extra_parts, remove crtbegin.o, crtend.o.
1708         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1709         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1710         crtend.o, crtbeginS.o, crtendS.o.
1711         (ia64*-*-linux*): Comment extra_parts.
1712         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1713         Set extra_parts.
1714         (iq2000*-*-elf*): Clear extra_parts.
1715         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1716         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1717         (m32r-*-elf*, m32r-*-rtems*): Split off ...
1718         (m32r-*-rtems*): ... this.
1719         Add m32r/t-m32r to tmake_file.
1720         (m68k-*-elf*): Add t-crtin to tmake_file.
1721         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1722         (mcore-*-elf): Likewise.
1723         (microblaze*-*-*): Set extra_parts.
1724         (mips*-sde-elf*): New case.
1725         Set tmake_file, extra_parts.
1726         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1727         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1728         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1729         tmake_file.
1730         Set extra_parts.
1731         (mipsisa64sr71k-*-elf*): Likewise.
1732         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1733         (mips-*-elf*, mipsel-*-elf*): Likewise.
1734         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1735         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1736         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
1737         (mips*-*-rtems*): Likewise.
1738         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1739         (moxie-*-*): Split into ...
1740         (moxie-*-elf, moxie-*-uclinux*): ... this.
1741         Add to extra_parts, remove crtbegin.o, crtend.o.
1742         (moxie-*-rtems*): New case.
1743         Set tmake_file.
1744         Clear extra_parts.
1745         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1746         Set extra_parts.
1747         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1748         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1749         tmake_file.
1750         Set extra_parts.
1751         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1752         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1753         Set extra_parts.
1754         (powerpc-*-eabisim*): Likewise.
1755         (powerpc-*-elf*): Likewise.
1756         (powerpc-*-eabialtivec*): Likewise.
1757         (powerpc-xilinx-eabi*): Likewise.
1758         (powerpc-*-eabi*): Likewise.
1759         (powerpc-*-rtems*): Likewise.
1760         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1761         tmake_file.
1762         Set extra_parts.
1763         (powerpc-*-lynxos*): Add to tmake_file.
1764         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1765         rs6000/t-crtstuff, t-crtstuff-pic.
1766         Set extra_parts.
1767         (powerpcle-*-eabisim*): Likewise.
1768         (powerpcle-*-eabi*): Likewise.
1769         (rx-*-elf): Remove extra_parts.
1770         (s390x-ibm-tpf*): Set extra_parts.
1771         (score-*-elf): Set extra_parts.
1772         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1773         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1774         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1775         (sh64l*-*-netbsd*): Split into ...
1776         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1777         Add t-crtstuff-pic to tmake_file.
1778         Set extra_parts.
1779         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1780         Set extra_parts.
1781         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1782         (sparc-*-elf*): Remove t-crtin from tmake_file.
1783         Add to extra_parts, remove crtbegin.o, crtend.o.
1784         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1785         (sparc64-*-linux*): Likewise.
1786         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1787         Add to extra_parts, remove crtbegin.o, crtend.o.
1788         (sparc64-*-elf*): Remove t-crtin from tmake_file.
1789         Add to extra_parts, remove crtbegin.o, crtend.o.
1790         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1791         Add to extra_parts, remove crtbegin.o, crtend.o.
1792         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1793         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1794         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1795         Set extra_parts.
1796         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1797         Set extra_parts.
1798         (tic6x-*-*): Change to ...
1799         (tic6x-*-elf): ... this.
1800         Set extra_parts.
1801         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1802         Set extra_parts.
1803         (am33_2.0-*-linux*): Add comment.
1804         (mep*-*-*): Add mep/t-mep to tmake_file.
1805         Set extra_parts.
1806         * config/alpha/t-vms: New file.
1807         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1808         * config/arm/crti.S, config/arm/crtn.S: New files.
1809         * config/bfin/crti.S, config/bfin/crtn.S: New files.
1810         * config/bfin/crtlibid.S: New file.
1811         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1812         * config/c6x/crti.S, config/c6x/crtn.S: New files.
1813         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1814         (crti.o, crtin.o): New rules.
1815         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1816         * config/c6x/t-uclinux: New file.
1817         * config/cris/t-elfmulti: New file.
1818         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1819         * config/fr30/crti.S, config/fr30/crtn.S: New files.
1820         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1821         * config/frv/t-frv: New file.
1822         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1823         * config/h8300/crti.S, config/h8300/crtn.S: New files.
1824         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1825         New files.
1826         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1827         refer to cygming-crtbegin.c, cygming-crtend.c.
1828         Use $<.
1829         * config/i386/t-nto: New file.
1830         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1831         * config/ia64/crti.S, config/ia64/crtn.S: New files.
1832         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1833         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1834         Use .S extension.
1835         Use $<.
1836         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1837         (crtinitS.o): New rule.
1838         * config/ia64/vms-crtinit.S: New file.
1839         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1840         * config/m32r/initfini.c: New file.
1841         * config/m32r/t-linux, config/m32r/t-m32r: New files.
1842         * config/m68k/crti.S, config/m68k/crtn.S: New files.
1843         * config/mcore/crti.S, config/mcore/crtn.S: New files.
1844         * config/mep/t-mep: New file.
1845         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1846         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1847         * config/mips/crti.S, config/mips/crtn.S: New files.
1848         * config/mips/t-crtstuff: New file.
1849         * config/mmix/crti.S, config/mmix/crtn.S: New files.
1850         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1851         (CUSTOM_CRTIN): Set.
1852         ($(T)crti.o, $(T)crtn.o): Remove $(T),
1853         dependencies.
1854         Use $(srcdir) to refer to crti.S, crtn.S.
1855         Use .S extension, $<.
1856         * config/moxie/crti.asm: Rename to ...
1857         * config/moxie/crti.S: ... this.
1858         * config/moxie/crtn.asm: Rename to ...
1859         * config/moxie/crtn.S: ... this.
1860         * config/moxie/t-moxie: Remove.
1861         * config/pa/stublib.c: New file.
1862         * config/pa/t-stublib, config/pa/t-stublib64: New files.
1863         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1864         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1865         * config/rs6000/t-crtstuff: New file.
1866         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1867         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1868         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1869         Make output file explicit.
1870         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1871         Make output file explicit.
1872         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1873         Make output file explicit.
1874         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1875         Make output file explicit.
1876         * config/score/crti.S, config/score/crtn.S: New files.
1877         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1878         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1879         files.
1880         * config/sh/t-sh, config/sh/t-superh: New files.
1881         * config/sparc/t-linux64: New file.
1882         * config/spu/cache.S, config/spu/cachemgr.c: New files.
1883         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1884         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1885         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1886         * config/t-crtin: Remove.
1887         * config/t-crtstuff-pic: New file.
1888         * config/t-sol2 (CUSTOM_CRTIN): Set.
1889         (crti.o, crtn.o): New rules.
1890         * config/vms/t-vms: New file.
1891         * config/vms/vms-ucrt0.c: New file.
1892         * config/xtensa/t-elf: New file.
1894 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1896         * Makefile.in (SHLIB_NM_FLAGS): Set.
1897         * mkmap-flat.awk, mkmap-symver.awk: New files.
1898         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1899         exceptions.
1900         * configure: Regenerate.
1901         * config/libgcc-glibc.ver: New file.
1902         * config/libgcc-libsystem.ver: New file.
1903         * config/t-libunwind (SHLIB_LC): Set.
1904         * config/t-linux: New file.
1905         * config/t-slibgcc (INSTALL_SHLIB): New.
1906         (SHLIB_INSTALL): Use it.
1907         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1908         to mkmap-symver.awk.
1909         (SHLIB_MAPFILES): Don't append, adapt pathname.
1910         (SHLIB_VERPFX): Set.
1911         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1912         to mkmap-symver.awk.
1913         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1914         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1915         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1916         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1917         to mkmap-flat.awk.
1918         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1919         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1920         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1921         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1922         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1923         * config/i386/libgcc-darwin.10.4.ver,
1924         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1925         New files.
1926         * config/i386/t-darwin: Remove.
1927         * config/i386/t-darwin64: Likewise.
1928         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1929         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1930         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1931         * config/i386/t-linux: New file.
1932         * config/i386/t-mingw32: New file.
1933         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1934         * config/ia64/t-glibc: Rename to ...
1935         * config/ia64/t-linux: ... this.
1936         (SHLIB_MAPFILES): Set.
1937         * config/ia64/t-glibc-libunwind: Rename to ...
1938         * config/ia64/t-linux-libunwind: ... this.
1939         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1940         * config/ia64/t-slibgcc-hpux: New file.
1941         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1942         * config/m68k/t-slibgcc-elf-ver: New file.
1943         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1944         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1945         to mkmap-flat.awk.
1946         * config/pa/t-slibgcc-hpux: New file.
1947         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1948         files.
1949         * config/rs6000/libgcc-darwin.10.4.ver,
1950         config/rs6000/libgcc-darwin.10.5.ver: New files.
1951         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1952         config/rs6000/libgcc-glibc.ver.
1953         * config/rs6000/libgcc-ppc64.ver: Rename to
1954         config/rs6000/libgcc-ibm-ldouble.ver.
1955         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1956         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1957         * config/rs6000/t-ldbl128: Rename to ...
1958         * config/rs6000/t-linux: ... this.
1959         (SHLIB_MAPFILES): Adapt filename.
1960         * config/rs6000/t-slibgcc-aix: New file.
1961         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1962         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1963         libgcc-excl.ver, libgcc-glibc.ver.
1964         (SHLIB_LINK, SHLIB_INSTALL): Remove.
1965         * config/sparc/libgcc-glibc.ver: New file.
1966         * config/sparc/t-linux: New file.
1967         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1968         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1969         t-slibgcc-elf-ver to tmake_file.
1970         Add t-slibgcc-nolc-override to tmake_file for posix threads on
1971         *-*-freebsd[34].
1972         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1973         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1974         t-slibgcc-elf-ver, t-linux to tmake_file.
1975         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1976         tmake_file.
1977         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1978         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1979         (alpha*-dec-*vms*): Likewise.
1980         (arm*-*-freebsd*): Append to tmake_file.
1981         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1982         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1983         arm*-*-linux-*eabi.
1984         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1985         tmake_file for arm*-*-symbianelf*.
1986         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1987         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1988         cris/t-linux.
1989         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1990         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1991         pa/t-slibgcc-dwarf-ver to tmake_file.
1992         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1993         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1994         (hppa*64*-*-hpux11*): Likewise.
1995         (hppa[12]*-*-hpux11*): Likewise.
1996         (x86_64-*-darwin*): Don't override tmake_file, but only keep
1997         i386/t-crtpc, i386/t-crtfm.
1998         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1999         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2000         to tmake_file.
2001         Add i386/t-cygwin to tmake_file.
2002         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2003         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2004         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2005         to tmake_file.
2006         Add i386/t-mingw32 to tmake_file.
2007         (x86_64-*-mingw*): Likewise.
2008         (ia64*-*-freebsd*): Append to tmake_file.
2009         (ia64*-*-linux*): Append to tmake_file.
2010         Replace ia64/t-glibc by ia64/t-linux.
2011         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2012         system libunwind.
2013         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2014         t-slibgcc-hpux to tmake_file.
2015         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2016         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2017         (m32rle-*-linux*): Likewise.
2018         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2019         sjlj exceptions.
2020         (microblaze*-linux*): New case.
2021         Append to tmake_file, add t-slibgcc-nolc-override.
2022         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2023         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2024         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2025         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2026         rs6000/t-slibgcc-aix to tmake_file.
2027         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2028         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2029         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2030         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2031         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2032         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2033         sh*-*-linux*.
2034         (sparc-*-linux*): Append to tmake_file for *-leon*.
2035         Add sparc/t-linux to tmake_file for non-Leon targets.
2036         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2037         (tic6x-*-uclinux): New case.
2038         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2039         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2040         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2041         (am33_2.0-*-linux*): Append to tmake_file.
2042         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2043         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2044         x86_64-*-kfreebsd*-gnu.
2045         Add i386/t-linux to tmake_file.
2047 2011-10-28  Ian Lance Taylor  <iant@google.com>
2049         * config/i386/morestack.S: Correct CFI information to do proper
2050         returns throughout function.  In 32-bit mode, save %ebx so that it
2051         is restored on unwind.
2053 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2055         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2056         case where B3 isn't the return register.
2058         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2059         logic for doubleword pops.
2061 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2063         * config/rs6000/t-freebsd: Add wildcard.
2065 2011-10-21  Paul Brook  <paul@codesourcery.com>
2067         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2069 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2070             Eric Botcazou  <ebotcazou@adacore.com>
2072         PR target/50737
2073         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2074         fs->signal_frame to 1.
2076 2011-10-07  Ian Lance Taylor  <iant@google.com>
2078         * generic-morestack-thread.c: #include <errno.h>.
2080 2011-10-07  Ian Lance Taylor  <iant@google.com>
2082         PR target/46093
2083         * generic-morestack.c (__generic_morestack): Make sure the segment
2084         is large enough for both the stack frame and the copied
2085         parameters.
2087 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2089         PR bootstrap/49804
2090         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2091         extra_parts.
2093 2011-09-28  Nick Clifton  <nickc@redhat.com>
2095         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2096         64-bit doubles are not enabled.
2097         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2098         and floatunsisf functions.
2100 2011-09-13  Paul Brook  <paul@codesourcery.com>
2102         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2103         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2104         * unwind-arm-common.inc: New file.
2105         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2106         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2107         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2108         * config/c6x/libunwind.S: New file.
2109         * config/c6x/pr-support.c: New file.
2110         * config/c6x/unwind-c6x.c: New file.
2111         * config/c6x/unwind-c6x.h: New file.
2112         * config/c6x/t-c6x-elf: New file.
2114 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2116         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2117         (ASM_DIVZERO): Ditto.
2118         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2120 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2122         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2124 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2126         PR target/50090
2127         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2128         instead of an assembly one.
2130 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2132         PR bootstrap/50047
2133         * Makefile.in (install-unwind_h): Create
2134         $(gcc_objdir)/include/unwind.h atomically.
2136 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2138         * Makefile.in (install-unwind_h): Remove destination file first.
2140 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2142         * sync.c: New file.
2143         * config/mips/t-mips16: New file.
2144         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2145         (mips*-*-linux*): Likewise.
2146         (mips*-sde-elf*): Likewise.
2147         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2148         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2149         Add mips/t-mips16 to tmake_file.
2150         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2151         (mips-*-elf*): Likewise.
2152         (mips64-*-elf*): Likewise.
2153         (mips64orion-*-elf*): Likewise.
2154         (mips*-*-rtems*): Likewise.
2155         (mipstx39-*-elf*): Likewise.
2156         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2157         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2158         LIBGCC_SYNC_CFLAGS.
2159         Use $(srcdir) to refer to sync.c.
2160         Use $<.
2161         ($(libgcc-sync-funcs-o)): Likewise.
2162         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2163         ($(libgcc-sync-funcs-s-o)): Likewise.
2165 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2167         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2168         t-libunwind.
2170 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2172         PR other/48007
2173         * config/i386/value-unwind.h: New.
2175 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2177         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2178         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2179         Add to tmake_file rather than overriding it.
2181 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2183         * config/t-softfp: Remove.
2184         * soft-fp: Moved from ../gcc/config.
2185         * soft-fp/README: Remove t-softfp reference.
2186         * soft-fp/t-softfp: Move to config/t-softfp.
2187         (softfp_machine_header): Remove.
2188         (softfp_file_list): Remove config subdir.
2189         (soft-fp-objects): New variable.
2190         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2191         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2192         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2193         * config/t-softfp-excl: New file.
2194         * config/t-softfp-sfdf: New file.
2195         * config/t-softfp-tf: New file.
2196         * config/no-sfp-machine.h: New file.
2197         * config/arm/sfp-machine.h: New file.
2198         * config/arm/t-softfp: New file.
2199         * config/c6x/sfp-machine.h: New file.
2200         * config/i386/32/t-fprules-softfp: Rename to ...
2201         * config/i386/32/t-softfp: ... this.
2202         (tifunctions, LIB2ADD): Remove.
2203         (softfp_int_modes): Override.
2204         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2205         subdir.
2206         * config/i386/64/eqtf2.c: Likewise.
2207         * config/i386/64/getf2.c: Likewise.
2208         * config/i386/64/letf2.c: Likewise.
2209         * config/ia64/sft-machine.h: New file.
2210         * config/ia64/t-fprules-softfp: Rename to ...
2211         * config/ia64/t-softfp: ... this.
2212         * config/lm32/sfp-machine.h: New file.
2213         * config/moxie/t-moxie-softfp: Remove.
2214         * config/rs6000/ibm-ldouble-format: New file.
2215         * config/rs6000/ibm-ldouble.c: New file.
2216         * config/rs6000/libgcc-ppc-glibc.ver: New file
2217         * config/rs6000/libgcc-ppc64.ver: New file
2218         * config/rs6000/sfp-machine.h: New file.
2219         * config/rs6000/t-freebsd: New file.
2220         * config/rs6000/t-ibm-ldouble: New file.
2221         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2222         libgcc-ppc-glibc.ver.
2223         * config/rs6000/t-linux64: New file.
2224         * config/rs6000/t-ppccomm (LIB2ADD): Add
2225         $(srcdir)/config/rs6000/ibm-ldouble.c.
2226         * config/rs6000/t-ppccomm-ldbl: New file.
2227         * config/score/sfp-machine.h: New file.
2228         * config.host (sfp_machine_header): Explain.
2229         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2230         t-softfp to tmake_file.
2231         (arm*-*-uclinux*): Likewise.
2232         (arm*-*-ecos-elf): Likewise.
2233         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2234         (arm*-*-rtems*): Likewise.
2235         (arm*-*-elf): Likewise.
2236         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2237         in tmake_file.
2238         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2239         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2240         (lm32-*-uclinux*): Likewise.
2241         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2242         t-softfp-excl, t-softfp.
2243         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2244         (powerpc64-*-darwin*): Likewise.
2245         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2246         to tmake_file.
2247         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2248         tmake_file.
2249         (powerpc-*-eabisim*): Likewise.
2250         (powerpc-*-elf*): Likewise.
2251         (powerpc-*-eabialtivec*): Likewise.
2252         (powerpc-xilinx-eabi*): Likewise.
2253         (powerpc-*-rtems*): Likewise.
2254         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2255         t-softfp-excl, t-softfp to tmake_file.
2256         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2257         rs6000/t-ppccomm-ldbl to tmake_file.
2258         (powerpcle-*-elf*): Likewise.
2259         (powerpcle-*-eabisim*): Likewise.
2260         (powerpcle-*-eabi*): Likewise.
2261         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2262         rs6000/t-ibm-ldouble to tmake_file.
2263         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2264         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2265         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2266         (tic6x-*-*): Likewise.
2267         (i[34567]86-*-darwin*, x86_64-*-darwin*,
2268         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2269         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2270         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2271         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2272         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2273         t-softfp to tmake_file.
2274         * configure.ac (sfp_machine_header): Provide default if unset.
2275         Substitute.
2276         Link sfp-machine.h to config/$sfp_machine_header.
2277         * configure: Regenerate.
2279 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2281         * Makefile.in (double_type_size, long_double_type_size): Set.
2282         Remove $(fpbit-in-libgcc) support.
2283         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2284         (fpbit-src): New variable.
2285         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2286         Compile with -DFLOAT $(FPBIT_CFLAGS).
2287         Use $<.
2288         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2289         Compile with $(FPBIT_CFLAGS).
2290         Use $<.
2291         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2292         Compile with -DFLOAT $(TPBIT_CFLAGS).
2293         Use $<.
2294         * configure.ac (double_type_size, long_double_type_size):
2295         Determine and substitute.
2296         * configure: Regenerate.
2297         * fp-bit.c, fp-bit.h: New files.
2298         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2299         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2300         * config/mips/t-mips: New file.
2301         * config/mips/t-sdemtk: New file.
2302         * config/rs6000/ppc64-fp.c: New file.
2303         * config/rs6000/t-darwin (LIB2ADD): Add
2304         $(srcdir)/config/rs6000/ppc64-fp.c.
2305         * config/rs6000/t-ppc64-fp: New file.
2306         * config/rx/rx-lib.h: New file.
2307         * config/rx/t-rx (FPBIT): Set to true.
2308         ($(gcc_objdir)/fp-bit.c): Remove.
2309         (DPBIT): Set to true only with -m64bit-doubles.
2310         ($(gcc_objdir)/dp-bit.c): Remove.
2311         * config/sparc/t-softfp: Remove.
2312         * config/spu/t-elf: New file.
2313         * config/t-fdpbit, config/t-fpbit: New files.
2314         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2315         (mips*-*-*): Likewise.
2316         (arm-wrs-vxworks): Likewise.
2317         (arm*-*-freebsd*): Likewise.
2318         (avr-*-rtems*): Add t-fpbit to tmake_file.
2319         (avr-*-*): Likewise.
2320         (bfin*-elf*): Add t-fdpbit to tmake_file.
2321         (bfin*-uclinux*): Likewise.
2322         (bfin*-linux-uclibc*): Likewise.
2323         (bfin*-rtems*): New case.
2324         Add t-fdpbit to tmake_file.
2325         (bfin*-*): Add t-fdpbit to tmake_file.
2326         (crisv32-*-elf): Likewise.
2327         (cris-*-linux*): Likewise.
2328         (fr30-*-elf): Likewise.
2329         (frv-*-elf, frv-*-*linux*): Likewise.
2330         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2331         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2332         (m32r-*-elf*): Likewise.
2333         (m32rle-*-elf*): Likewise.
2334         (m32r-*-linux*): Likewise.
2335         (m32rle-*-linux*): Likewise.
2336         (mcore-*-elf): Add t-fdpbit to tmake_file.
2337         (microblaze*-*-*): Likewise.
2338         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2339         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2340         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2341         Fix typo.
2342         Add mips/t-tpbit to tmake-file.
2343         (mips*-*-linux*): Fix typo.
2344         (mips*-sde-elf*): New case
2345         Add mips/t-sdemtk unless using newlib.
2346         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2347         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2348         (mn10300-*-*): Likewise.
2349         (pdp11-*-*): Likewise.
2350         (picochip-*-*): Add t-fpbit to tmake_file.
2351         (powerpc-*-eabisimaltivec*): Likewise.
2352         (powerpc-*-eabisim*): Likewise.
2353         (powerpc-*-elf*): Likewise.
2354         (powerpc-*-eabialtivec*): Likewise.
2355         (powerpc-xilinx-eabi*): New case.
2356         Add t-fdpbit to tmake_file.
2357         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
2358         (powerpc-*-rtems*): Likewise.
2359         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2360         tmake_file.
2361         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2362         tmake_file.
2363         (powerpc-*-lynxos*): Likewise.
2364         (powerpcle-*-elf*): Likewise.
2365         (powerpcle-*-eabisim*): Likewise.
2366         (powerpcle-*-eabi*): Likewise.
2367         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2368         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2369         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2370         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2371         (rx-*-elf): Add t-fdpbit to tmake_file.
2372         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2373         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2374         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2375         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2376         sh*-*-netbsd*.
2377         (sh-*-rtems*): Add t-fdpbit to tmake_file.
2378         (sh-wrs-vxworks): Likewise.
2379         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2380         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2381         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2382         (sparc64-*-rtems*): ... new case.
2383         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2384         (spu-*-elf*): Likewise.
2385         Add spu/t-elf to tmake_file.
2386         (v850*-*-*): Add t-fdpbit to tmake_file.
2387         (xstormy16-*-elf): Likewise.
2388         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2389         (mep*-*-*): Likewise.
2391 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2393         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2394         variables.
2395         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2396         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2397         (install-unwind_h): New target.
2398         (all): Depend on it.
2399         * config.host (unwind_header): New variable.
2400         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2401         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2402         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2403         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2404         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2405         Set unwind_header.
2406         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2407         Set unwind_header.
2408         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2409         arm*-*-eabi*.
2410         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2411         Set unwind_header.
2412         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2413         (ia64*-*-freebsd*): Likewise.
2414         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2415         tmake_file.
2416         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2417         $with_system_libunwind.
2418         (ia64*-*-hpux*): Set tmake_file.
2419         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2420         (picochip-*-*): Set tmake_file.
2421         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2422         md_unwind_header.
2423         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2424         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2425         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2426         (xtensa*-*-elf*): Set tmake_file.
2427         (xtensa*-*-linux*): Likewise.
2428         * configure.ac: Include ../config/unwind_ipinfo.m4.
2429         Call GCC_CHECK_UNWIND_GETIPINFO.
2430         Link unwind.h to $unwind_header.
2431         * configure: Regenerate.
2432         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2433         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2434         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2435         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2436         * config/unwind-dw2-fde-darwin.c: New file.
2437         * config/arm/libunwind.S, config/arm/pr-support.c,
2438         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2439         config/arm/unwind-arm.h,: New files.
2440         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2441         config/ia64/t-eh-ia64, config/ia64/t-glibc,
2442         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2443         config/ia64/t-vms, config/ia64/unwind-ia64.c,
2444         config/ia64/unwind-ia64.h: New files.
2445         * config/picochip/t-picochip: New file.
2446         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2447         files.
2448         * config/rs6000/t-darwin (LIB2ADDEH): Set.
2449         * config/s390/t-tpf (LIB2ADDEH): Remove.
2450         * config/t-darwin (LIB2ADDEH): Set.
2451         * config/t-eh-dw2-dip: New file.
2452         * config/t-libunwind, config/t-libunwind-elf: New files.
2453         * config/t-sol2 (LIB2ADDEH): Remove.
2454         * config/xtensa/t-xtensa: New file.
2456 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
2458         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2459         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2460         long long to check rt_sigreturn syscall.
2462 2011-08-02  Alan Modra  <amodra@gmail.com>
2464         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2465         Restore for indirect call bcrtl from correct stack slot, and only
2466         if cfa+40 isn't valid.
2468 2011-08-01  Julian Brown  <julian@codesourcery.com>
2470         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2471         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2472         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2474 2011-08-01  Julian Brown  <julian@codesourcery.com>
2476         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2477         (libgcc-std.ver.in): Use above.
2478         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2479         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
2480         throughout file.
2481         * config/t-fixedpoint-gnu-prefix: New file.
2482         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2483         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2484         instead of __PFX__.
2486 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2488         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2489         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2490         for x86-64.  Properly check __x86_64__ and __LP64__.
2492 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2494         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2495         version.
2496         (_FP_WS_TYPE): Likewise.
2497         (_FP_I_TYPE): Likewise.
2499 2011-07-28  Alan Modra  <amodra@gmail.com>
2501         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2502         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2503         in a plt call stub.  Do restore r2 if stopped on bctrl.
2505 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2507         * config.host (i[3456x]86-*-netware*): Remove.
2508         * config/i386/netware-crt0.c, config/i386/t-nwld,
2509         config/i386/t-slibgcc-nwld: Remove.
2511 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
2513         * config.host: Handle tic6x-*-*.
2514         * config/c6x/c6x-abi.h: New file.
2516 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2518         * config/i386/crtprec.c: New file.
2519         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2520         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2521         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2522         (x86_64-*-darwin*): Likewise.
2523         (i[34567]86-*-solaris2*: Likewise.
2525 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2527         * config/alpha/crtfastmath.c: New file.
2528         * config/i386/crtfastmath.c: New file.
2529         * config/ia64/crtfastmath.c: New file.
2530         * config/mips/crtfastmath.c: New file.
2531         * config/sparc/crtfastmath.c: New file.
2533         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2534         crtfastmath.c.
2535         Add -frandom-seed=gcc-crtfastmath.
2536         * config/alpha/t-crtfm: Remove.
2537         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2538         * config/ia64/t-ia64 (crtfastmath.o): Remove.
2540         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2541         (alpha*-dec-osf5.1*): Likewise.
2542         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2543         Add crtfastmath.o to extra_parts.
2544         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2545         Add crtfastmath.o to extra_parts.
2546         (x86_64-*-darwin*): Likewise.
2547         (x86_64-*-mingw*): Likewise.
2548         (ia64*-*-elf*): Add t-crtfm to tmake_file.
2549         (ia64*-*-freebsd*): Likewise.
2550         (ia64*-*-linux*): Likewise.
2551         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2552         Add crtfastmath.o to extra_parts.
2554 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2556         * config/darwin-crt3.o: New file.
2557         * config/rs6000/darwin-crt2.c: New file.
2558         * config/t-darwin: New file.
2559         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2560         (crt2.o): New rule.
2561         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2562         (powerpc-*-darwin*): Add crt2.o to extra_parts.
2563         (powerpc64-*-darwin*): Likewise.
2565 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2567         * config/i386/netware-crt0.c: New file.
2568         * config/i386/t-nwld: Rename to ...
2569         * config/i386/t-slibgcc-nwld: ... this.
2570         * config/i386/t-nwld: New file.
2571         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2572         tmake_file.
2573         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2574         extra_parts.
2576 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2578         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2579         i386/t-crtstuff.
2580         * configure: Regenerate.
2582 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2584         * dfp-bit.c, dfp-bit.h: New files.
2585         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2586         variables.
2587         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2588         ($(d64pbit-o)): Likewise.
2589         ($(d128pbit-o)): Likewise.
2590         * config/t-dfprules: New file.
2591         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2592         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2593         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2594         (x86_64-*-linux*): Likewise.
2595         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2596         (i[34567]86-*-cygwin*): Likewise.
2597         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
2598         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2600 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2602         * Makfile.in (LIBGCOV): New variable.
2603         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2604         * libgcov.c: New file.
2606 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2608         * fixed-bit.c, fixed-bit.h: New files.
2609         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2610         refer to fixed-bit.c.
2612 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
2614         * config.host (*local*): Remove.
2616 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2618         PR target/39150
2619         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2620         like i?86-*-solaris2.1[0-9]*.
2621         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2622         * configure.ac (i?86-*-solaris2*): Likewise.
2623         * configure: Regenerate.
2625 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
2627         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2628         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2629         md_unwind_header by splitting out of...
2630         (i[34567]86-*-linux*): ... this.
2631         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2632         Remove md_unwind_header by splitting out of...
2633         (x86_64-*-linux*): ... this.
2635 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
2637         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2639 2011-06-28  Nick Clifton  <nickc@redhat.com>
2641         * config.host: Recognize all V850 variants.
2643 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
2645         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2647 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2649         * shared-object.mk (c_flags-$o): Save c_flags.
2650         ($(base)$(objext)): Use it.
2651         ($(base)_s$(objext)): Likewise.
2653 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
2655         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2656         * libgcc-std.ver.in (GCC_4.7.0): New section.
2658 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
2660         PR target/49313
2661         PR target/29524
2662         * config/avr/t-avr: Fix line endings.
2663         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
2664         _parityXX2.
2666 2011-06-14  Olivier Hainque  <hainque@adacore.com>
2667             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2669         * config/mips/irix6-unwind.h: New file.
2670         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2672 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
2674         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2675         (sparc64_fallback_frame_state): Use it.
2676         (sparc64_frob_update_context): Further adjust context.
2677         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2678         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2679         * config/sparc/sol2-cn.S: Likewise.
2681 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2683         * enable-execute-stack-empty.c: New file.
2684         * enable-execute-stack-mprotect.c: New file.
2685         * config/i386/enable-execute-stack-mingw32.c: New file.
2686         * config.host (enable_execute_stack): New variable.
2687         Select appropriate variants.
2688         * configure.ac: Link enable-execute-stack.c to
2689         $enable_execute_stack.
2690         * configure: Regenerate.
2691         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2692         (lib2funcs): Remove _enable_execute_stack.
2694 2011-06-09  David S. Miller  <davem@davemloft.net>
2695             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2697         * config.host (sparc-*-linux*): Correct md_unwind_header
2698         filename.
2699         (s390x-ibm-tpf*): Fix typo.
2701 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2703         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2704         Add crtfastmath.o to extra_parts.
2705         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2706         mips/t-crtfm.
2707         * config/mips/t-crtfm: Remove.
2709 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2711         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2713 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2715         * config.host (sh*-*-linux*): Fix typo.
2717 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2719         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2720         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2721         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2722         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2723         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2724         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2725         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2726         Wrap in !__MINGW64__.
2727         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2728         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2729         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2730         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2731         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2732         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2733         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2734         Wrap in !__LP64__.
2735         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2736         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2737         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2738         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2739         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2740         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2741         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2742         * config/no-unwind.h: New file.
2743         * config.host (md_unwind_header): Document.
2744         Define.
2745         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2746         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2747         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2748         hppa[12]*-*-hpux11*): Set md_unwind_header.
2749         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2750         Set md_unwind_header.
2751         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2752         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2753         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2754         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2755         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2756         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2757         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2758         md_unwind_header.
2759         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2760         * configure: Regenerate.
2762 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2764         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2765         Set tmake_file, extra_parts.
2766         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2767         Remove O32 support.
2768         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2769         Remove O32 support.
2770         * config/mips/t-irix6: New file.
2771         * config/mips/t-slibgcc-irix: New file.
2773 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2775         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2776         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2778 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2780         * configure.ac (target_thread_file): Determine thread model.
2781         * configure: Regenerate.
2782         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2783         * config/alpha/t-alpha: New file.
2784         * config/alpha/t-crtfm: Use $<.
2785         * config/alpha/t-ieee: New file.
2786         * config/alpha/t-osf-pthread: New file.
2787         * config/alpha/t-slibgcc-osf: New file.
2788         * config/alpha/libgcc-osf5.ver: New file.
2790 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2792         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2793         tmake_file.
2794         Add crtfastmath.o to extra_parts.
2796 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2798         * config/gmon-sol2.c: Reindent.
2799         Cleanup comments.
2800         Remove, correct casts.
2801         Use STDERR_FILENO, NULL.
2802         (BASEADDRESS): Remove.
2803         (minbrk): Remove.
2804         (errno, sbrk): Remove declarations.
2805         (monstartup) [hp300]: Remove.
2806         (mcount): Remove.
2808 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2810         * Makefile.in (cpu_type): Define.
2811         * config.host (i[34567]86-*-rtems*): Handle it.
2812         (i[34567]86-*-solaris2*): Move body ...
2813         (*-*-solaris2*): ... here.
2814         New case, generalize.
2815         (sparc-*-elf*): Handle it.
2816         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2817         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2818         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2819         Fold into ...
2820         (sparc*-*-solaris2*): ... this.
2821         New case.
2822         (sparc64-*-elf*): Handle it.
2823         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2824         Merge ../gcc/config/i386/gmon-sol2.c.
2825         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2826         Use C comments.
2827         Merge ../gcc/config/i386/sol2-gc1.asm.
2828         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2829         Use C comments.
2830         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2831         Use C comments.
2832         * config/i386/t-crtfm (crtfastmath.o): Use $<.
2833         * config/i386/t-crtstuff: New file.
2834         * config/i386/t-softfp: New file.
2835         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2836         $(T)crti.o, $(T)crtn.o): Remove.
2837         (gcrt1.o): New rule.
2838         (TARGET_LIBGCC2_CFLAGS): Remove.
2839         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2840         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2841         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2842         * config/sparc/t-sol2: New file.
2843         * config/sparc/t-crtfm: Move to ...
2844         * config/t-crtfm: ... this.
2845         Use $(cpu_type), $<.
2846         * config/t-crtin: New file.
2847         * config/sparc/t-softfp: New file.
2848         * config/sparc/t-softmul: New file.
2849         * config/t-rtems: New file.
2850         * config/t-slibgcc: New file.
2851         * config/t-slibgcc-elf-ver: New file.
2852         * config/t-slibgcc-gld: New file.
2853         * config/t-slibgcc-sld: New file.
2854         * config/t-sol2: New file.
2855         * configure.ac: Include ../config/lib-ld.m4.
2856         Call AC_LIB_PROG_LD_GNU.
2857         Substitute cpu_type.
2858         * configure: Regenerate.
2860 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
2862         PR bootstrap/49173
2863         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2864         libgcc-std.ver in the build directory.
2865         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2866         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2868 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
2870         * libgcc-std.ver.in: New file.
2871         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2872         variables.
2873         (libgcc-std.ver): New rule.
2874         * config/t-gnu-prefix: New file.
2876 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2878         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2880 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
2882         * config/i386/darwin-lib.h: New file.
2884 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
2886         * config/arm/symbian-lib.h: New.
2888 2011-05-04  Chris Demetriou  <cgd@google.com>
2890         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2891         (__x86.get_pc_thunk.bx): ...this.
2892         (__morestack): Adjust for rename, remove undef of __i686.
2894 2011-05-03  Chris Demetriou  <cgd@google.com>
2896         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2898 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
2900         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2901         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2902         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2903         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2904         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2905         Remove cases.
2907 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
2909         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2910         Adjust copyright year.
2912 2011-03-07  Ian Lance Taylor  <iant@google.com>
2914         * generic-morestack.c (__splitstack_find): Adjust returned stack
2915         pointer to include all registers pushed by __morestack.
2917 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
2919         PR target/40125
2920         * configure.ac: Call ACX_NONCANONICAL_TARGET.
2921         (toolexecdir): Calculate and AC_SUBST.
2922         (toolexeclibdir): Likewise.
2923         * Makefile.in (target_noncanonical): Import.
2924         (toolexecdir): Likewise.
2925         (toolexeclibdir): Likewise.
2926         * configure: Regenerate.
2928 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
2930         PR target/46040
2931         * config/arm/bpabi.h: Rename to...
2932         * config/arm/bpabi-lib.h: ...this.
2934 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2936         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2937         appropriate.
2938         * configure: Regenerate.
2940 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
2942         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2943         __FLOAT_WORD_ORDER__.
2944         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2945         Delete.
2947 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2949         PR other/46202
2950         * Makefile.in (install-strip): New phony target.
2952 2010-11-07  Ian Lance Taylor  <iant@google.com>
2954         PR target/46089
2955         * config/i386/morestack.S (__morestack_large_model): New
2956         function.
2958 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
2960         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2961         Delete.
2962         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2964 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
2966         * config/arm/bpabi.h: New file.
2967         * config/frv/frv-abi.h: New file.
2969 2010-10-01  Ian Lance Taylor  <iant@google.com>
2971         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2972         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2974 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
2976         PR target/45858
2977         * config.host: Add the missing `$'.
2979 2010-09-30  Michael Eager  <eager@eagercon.com>
2981         * config.host: Add microblaze*-*-*.
2982         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2983         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2984         udivsi3.asm,umodsi3.asm}:  New.
2986 2010-09-28  Ian Lance Taylor  <iant@google.com>
2988         * configure.ac: Adjust CFI test to test assembler directly rather
2989         than checking gcc preprocessor macro.
2990         * configure: Rebuild.
2992 2010-09-27  Ian Lance Taylor  <iant@google.com>
2994         * configure.ac: Test whether assembler supports CFI directives.
2995         * config.host: Only add t-stack and i386/t-stack-i386 to
2996         tmake_file if libgcc_cv_cfi is "yes".
2997         * configure: Rebuild.
2999 2010-09-27  Ian Lance Taylor  <iant@google.com>
3001         * generic-morestack.h: New file.
3002         * generic-morestack.c: New file.
3003         * generic-morestack-thread.c: New file.
3004         * config/i386/morestack.S: New file.
3005         * config/t-stack: New file.
3006         * config/i386/t-stack-i386: New file.
3007         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3008         i386/t-stack-i386 to tmake_file.
3010 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3012         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3013         invoke ranlib after installing them.
3014         (gcc-extra-parts): Likewise.
3015         (install-leaf): Likewise.
3017 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3019         * configure: Regenerated.
3021 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3023         * configure: Regenerated.
3025 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3026             Andrew Pinski  <pinskia@gmail.com>
3028         PR target/40959
3029         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3031 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3033         PR target/45524
3034         * configure: Regenerated.
3036 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3038         * configure: Regenerate.
3040 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3042         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3043         64bit targets.
3044         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3045         for 64bit targets.
3047 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3048             Iain Sandoe  <iains@gcc.gnu.org>
3050         PR target/45476
3051         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3052         LIB2FUNCS_EXCLUDE functions.
3054 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3056         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3057         Include dfp.m4.
3058         * configure: Regenerate.
3060 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3062         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3063         i386/t-freebsd to tmake_file.
3064         * config/i386/t-freebsd: New file.
3065         * config/i386/libgcc-bsd.ver: New file.
3067 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3069         * config.host (powerpc*-eabispe*): Set tmake_file.
3070         (powerpc*-eabi*): Likewise.
3071         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3072         crtbeginS, crtendS, crtbeginT.
3074 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3076         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3077         to tmake_file.  Add crtfastmath.o to extra_parts.
3078         * config/mips/t-crtfm: New.
3080 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3082         * config.host (sparc64-*-rtems*): New target.
3084 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3086         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3087         assembler syntax.
3089 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3091         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3093 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3095         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3096         alpha-dec-osf5.0* support.
3098 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3100         * config.host: Add lm32-*-rtems*.
3102 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3103             Uros Bizjak <ubizjak@gmail.com>
3105         PR target/39048
3106         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3107         like other remaining 32-bit x86 OSes.
3108         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3109         assembler syntax.
3110         * config/i386/libgcc-sol2.ver: New file.
3111         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3113 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3115         PR c/43553
3116         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3117         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3118         is used and substitute set_use_emutls.
3119         * configure: Regenerated.
3121 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3123         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3125 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3127         PR target/38085
3128         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3129         MULTILIB_CFLAGS.
3130         ($(T)gcrt1.o): Likewise.
3131         ($(T)crt1.o): Likewise.
3132         ($(T)crti.o): Likewise.
3133         ($(T)crtn.o): Likewise.
3135 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3137         PR other/42980
3138         * Makefile.in (install): Use $(MAKE) string in rule, for
3139         parallel make.
3141 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3143         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3144         * config/mmix/t-mmix: New file.
3145         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3147 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3149         PR java/41991
3150         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3151         SHLIB_MAPFILES.
3153 2010-01-04  Anthony Green  <green@moxielogic.com>
3155         * config/moxie/crti.asm, config/moxie/crtn.asm,
3156         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3157         config/moxie/t-moxie: New files.
3158         * config.host: Add t-moxie-softfp reference.
3160 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3162         PR other/39888
3163         * config/t-slibgcc-darwin: Fix embedded rpaths for
3164         --enable-version-specific-runtime-libs, build extension stub
3165         libs exposing features available from current libgcc_s.
3167 2009-11-11  Jon Beniston <jon@beniston.com>
3169         * config.host: Add lm32 targets.
3170         * config/lm32: New directory.
3171         * config/lm32/libgcc_lm32.h: New file.
3172         * config/lm32/_mulsi3.c: New file.
3173         * config/lm32/_udivmodsi4.c: New file.
3174         * config/lm32/_divsi3.c: New file.
3175         * config/lm32/_modsi3.c: New file.
3176         * config/lm32/_udivsi3.c: New file.
3177         * config/lm32/_umodsi3.c: New file.
3178         * config/lm32/_lshrsi3.S: New file.
3179         * config/lm32/_ashrsi3.S: New file.
3180         * config/lm32/_ashlsi3.S: New file.
3181         * config/lm32/crti.S: New file.
3182         * config/lm32/crtn.S: New file.
3183         * config/lm32/t-lm32: New file.
3184         * config/lm32/t-elf: New file.
3185         * config/lm32/t-uclinux: New file.
3187 2009-10-26  Nick Clifton  <nickc@redhat.com>
3189         * config.host: Add support for RX target.
3190         * config/rx: New directory.
3191         * config/rx/rx-abi-functions.c: New file. Supplementary
3192         functions for libgcc to support the RX ABI.
3193         * config/rx/rx-abi.h: New file.  Supplementary header file for
3194         libgcc RX ABI functions.
3195         * config/rx/t-rx: New file: Makefile fragment for building
3196         libgcc for the RX.
3198 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3200         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3201         constraint of y0 to "g".
3203 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3205         * config.host: Include the s390 makefile fragments.
3206         * config/s390/32/_fixdfdi.c: New file.
3207         * config/s390/32/_fixsfdi.c: New file.
3208         * config/s390/32/_fixtfdi.c: New file.
3209         * config/s390/32/_fixunsdfdi.c: New file.
3210         * config/s390/32/_fixunssfdi.c: New file.
3211         * config/s390/32/_fixunstfdi.c: New file.
3212         * config/s390/32/t-floattodi: New file.
3213         * config/s390/libgcc-glibc.ver: New file.
3214         * config/s390/t-crtstuff: New file.
3215         * config/s390/t-linux: New file.
3216         * config/s390/t-tpf: New file.
3218 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3220         * configure.ac (AC_PREREQ): Bump to 2.64.
3222 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
3224         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3226 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3228         * configure: Regenerate.
3230 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
3232         * config.host (ia64-hp-*vms*): New target.
3233         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3234         with ia64-hp-*vms*.
3236 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3238         * configure.ac: Add snippet for maintainer-mode.
3239         * configure: Regenerate.
3240         * Makefile.in (AUTOCONF, configure_deps): New variables.
3241         ($(srcdir)/configure)): New rule, active only with maintainer
3242         mode turned on.
3244 2009-06-23  DJ Delorie  <dj@redhat.com>
3246         Add MeP port.
3247         * config.host: Add mep support.
3249 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
3251         * config.host: Add i386/${host_address}/t-fprules-softfp and
3252         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3254         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3255         for mingw targets.
3256         * config/i386/64/_multc3.c: Likewise.
3257         * config/i386/64/_powitf2.c: Likewise.
3258         * config/i386/64/eqtf2.c: Likewise.
3259         * config/i386/64/getf2.c: Likewise.
3260         * config/i386/64/letf2.c: Likewise.
3261         * config/i386/64/letf2.c: Likewise.
3262         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3263         unsigned long long for x64 mingw targets.
3264         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3265         (_FP_I_TYPE): Define as long long for x64 mingw target.
3267 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
3269         * config.host (vax-*-linux*): New.
3271 2009-05-31  Anthony Green  <green@moxielogic.com>
3273         * config.host: Add moxie support.
3274         * config/moxie/t-moxie: New file.
3276 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
3278         * config.host: Add i386/${host_address}/t-fprules-softfp and
3279         t-softfp to tmake_file for i[34567]86-*-cygwin*.
3281 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
3283         * config.host: Add i386/${host_address}/t-fprules-softfp to
3284         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3286 2009-04-09  Nick Clifton  <nickc@redhat.com>
3288         * config/ia64/tf-signs.c: Change copyright header to refer to
3289         version 3 of the GNU General Public License with version 3.1
3290         of the GCC Runtime Library Exception and to point readers at
3291         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3292         web page.
3293         * config/i386/32/tf-signs.c: Likewise.
3294         * config/libbid/_addsub_dd.c: Likewise.
3295         * config/libbid/_addsub_sd.c: Likewise.
3296         * config/libbid/_addsub_td.c: Likewise.
3297         * config/libbid/_dd_to_df.c: Likewise.
3298         * config/libbid/_dd_to_di.c: Likewise.
3299         * config/libbid/_dd_to_sd.c: Likewise.
3300         * config/libbid/_dd_to_sf.c: Likewise.
3301         * config/libbid/_dd_to_si.c: Likewise.
3302         * config/libbid/_dd_to_td.c: Likewise.
3303         * config/libbid/_dd_to_tf.c: Likewise.
3304         * config/libbid/_dd_to_udi.c: Likewise.
3305         * config/libbid/_dd_to_usi.c: Likewise.
3306         * config/libbid/_dd_to_xf.c: Likewise.
3307         * config/libbid/_df_to_dd.c: Likewise.
3308         * config/libbid/_df_to_sd.c: Likewise.
3309         * config/libbid/_df_to_td.c: Likewise.
3310         * config/libbid/_di_to_dd.c: Likewise.
3311         * config/libbid/_di_to_sd.c: Likewise.
3312         * config/libbid/_di_to_td.c: Likewise.
3313         * config/libbid/_div_dd.c: Likewise.
3314         * config/libbid/_div_sd.c: Likewise.
3315         * config/libbid/_div_td.c: Likewise.
3316         * config/libbid/_eq_dd.c: Likewise.
3317         * config/libbid/_eq_sd.c: Likewise.
3318         * config/libbid/_eq_td.c: Likewise.
3319         * config/libbid/_ge_dd.c: Likewise.
3320         * config/libbid/_ge_sd.c: Likewise.
3321         * config/libbid/_ge_td.c: Likewise.
3322         * config/libbid/_gt_dd.c: Likewise.
3323         * config/libbid/_gt_sd.c: Likewise.
3324         * config/libbid/_gt_td.c: Likewise.
3325         * config/libbid/_isinfd128.c: Likewise.
3326         * config/libbid/_isinfd32.c: Likewise.
3327         * config/libbid/_isinfd64.c: Likewise.
3328         * config/libbid/_le_dd.c: Likewise.
3329         * config/libbid/_le_sd.c: Likewise.
3330         * config/libbid/_le_td.c: Likewise.
3331         * config/libbid/_lt_dd.c: Likewise.
3332         * config/libbid/_lt_sd.c: Likewise.
3333         * config/libbid/_lt_td.c: Likewise.
3334         * config/libbid/_mul_dd.c: Likewise.
3335         * config/libbid/_mul_sd.c: Likewise.
3336         * config/libbid/_mul_td.c: Likewise.
3337         * config/libbid/_ne_dd.c: Likewise.
3338         * config/libbid/_ne_sd.c: Likewise.
3339         * config/libbid/_ne_td.c: Likewise.
3340         * config/libbid/_sd_to_dd.c: Likewise.
3341         * config/libbid/_sd_to_df.c: Likewise.
3342         * config/libbid/_sd_to_di.c: Likewise.
3343         * config/libbid/_sd_to_sf.c: Likewise.
3344         * config/libbid/_sd_to_si.c: Likewise.
3345         * config/libbid/_sd_to_td.c: Likewise.
3346         * config/libbid/_sd_to_tf.c: Likewise.
3347         * config/libbid/_sd_to_udi.c: Likewise.
3348         * config/libbid/_sd_to_usi.c: Likewise.
3349         * config/libbid/_sd_to_xf.c: Likewise.
3350         * config/libbid/_sf_to_dd.c: Likewise.
3351         * config/libbid/_sf_to_sd.c: Likewise.
3352         * config/libbid/_sf_to_td.c: Likewise.
3353         * config/libbid/_si_to_dd.c: Likewise.
3354         * config/libbid/_si_to_sd.c: Likewise.
3355         * config/libbid/_si_to_td.c: Likewise.
3356         * config/libbid/_td_to_dd.c: Likewise.
3357         * config/libbid/_td_to_df.c: Likewise.
3358         * config/libbid/_td_to_di.c: Likewise.
3359         * config/libbid/_td_to_sd.c: Likewise.
3360         * config/libbid/_td_to_sf.c: Likewise.
3361         * config/libbid/_td_to_si.c: Likewise.
3362         * config/libbid/_td_to_tf.c: Likewise.
3363         * config/libbid/_td_to_udi.c: Likewise.
3364         * config/libbid/_td_to_usi.c: Likewise.
3365         * config/libbid/_td_to_xf.c: Likewise.
3366         * config/libbid/_tf_to_dd.c: Likewise.
3367         * config/libbid/_tf_to_sd.c: Likewise.
3368         * config/libbid/_tf_to_td.c: Likewise.
3369         * config/libbid/_udi_to_dd.c: Likewise.
3370         * config/libbid/_udi_to_sd.c: Likewise.
3371         * config/libbid/_udi_to_td.c: Likewise.
3372         * config/libbid/_unord_dd.c: Likewise.
3373         * config/libbid/_unord_sd.c: Likewise.
3374         * config/libbid/_unord_td.c: Likewise.
3375         * config/libbid/_usi_to_dd.c: Likewise.
3376         * config/libbid/_usi_to_sd.c: Likewise.
3377         * config/libbid/_usi_to_td.c: Likewise.
3378         * config/libbid/_xf_to_dd.c: Likewise.
3379         * config/libbid/_xf_to_sd.c: Likewise.
3380         * config/libbid/_xf_to_td.c: Likewise.
3381         * config/libbid/bid128.c: Likewise.
3382         * config/libbid/bid128_2_str.h: Likewise.
3383         * config/libbid/bid128_2_str_macros.h: Likewise.
3384         * config/libbid/bid128_2_str_tables.c: Likewise.
3385         * config/libbid/bid128_add.c: Likewise.
3386         * config/libbid/bid128_compare.c: Likewise.
3387         * config/libbid/bid128_div.c: Likewise.
3388         * config/libbid/bid128_fma.c: Likewise.
3389         * config/libbid/bid128_logb.c: Likewise.
3390         * config/libbid/bid128_minmax.c: Likewise.
3391         * config/libbid/bid128_mul.c: Likewise.
3392         * config/libbid/bid128_next.c: Likewise.
3393         * config/libbid/bid128_noncomp.c: Likewise.
3394         * config/libbid/bid128_quantize.c: Likewise.
3395         * config/libbid/bid128_rem.c: Likewise.
3396         * config/libbid/bid128_round_integral.c: Likewise.
3397         * config/libbid/bid128_scalb.c: Likewise.
3398         * config/libbid/bid128_sqrt.c: Likewise.
3399         * config/libbid/bid128_string.c: Likewise.
3400         * config/libbid/bid128_to_int16.c: Likewise.
3401         * config/libbid/bid128_to_int32.c: Likewise.
3402         * config/libbid/bid128_to_int64.c: Likewise.
3403         * config/libbid/bid128_to_int8.c: Likewise.
3404         * config/libbid/bid128_to_uint16.c: Likewise.
3405         * config/libbid/bid128_to_uint32.c: Likewise.
3406         * config/libbid/bid128_to_uint64.c: Likewise.
3407         * config/libbid/bid128_to_uint8.c: Likewise.
3408         * config/libbid/bid32_to_bid128.c: Likewise.
3409         * config/libbid/bid32_to_bid64.c: Likewise.
3410         * config/libbid/bid64_add.c: Likewise.
3411         * config/libbid/bid64_compare.c: Likewise.
3412         * config/libbid/bid64_div.c: Likewise.
3413         * config/libbid/bid64_fma.c: Likewise.
3414         * config/libbid/bid64_logb.c: Likewise.
3415         * config/libbid/bid64_minmax.c: Likewise.
3416         * config/libbid/bid64_mul.c: Likewise.
3417         * config/libbid/bid64_next.c: Likewise.
3418         * config/libbid/bid64_noncomp.c: Likewise.
3419         * config/libbid/bid64_quantize.c: Likewise.
3420         * config/libbid/bid64_rem.c: Likewise.
3421         * config/libbid/bid64_round_integral.c: Likewise.
3422         * config/libbid/bid64_scalb.c: Likewise.
3423         * config/libbid/bid64_sqrt.c: Likewise.
3424         * config/libbid/bid64_string.c: Likewise.
3425         * config/libbid/bid64_to_bid128.c: Likewise.
3426         * config/libbid/bid64_to_int16.c: Likewise.
3427         * config/libbid/bid64_to_int32.c: Likewise.
3428         * config/libbid/bid64_to_int64.c: Likewise.
3429         * config/libbid/bid64_to_int8.c: Likewise.
3430         * config/libbid/bid64_to_uint16.c: Likewise.
3431         * config/libbid/bid64_to_uint32.c: Likewise.
3432         * config/libbid/bid64_to_uint64.c: Likewise.
3433         * config/libbid/bid64_to_uint8.c: Likewise.
3434         * config/libbid/bid_b2d.h: Likewise.
3435         * config/libbid/bid_binarydecimal.c: Likewise.
3436         * config/libbid/bid_conf.h: Likewise.
3437         * config/libbid/bid_convert_data.c: Likewise.
3438         * config/libbid/bid_decimal_data.c: Likewise.
3439         * config/libbid/bid_decimal_globals.c: Likewise.
3440         * config/libbid/bid_div_macros.h: Likewise.
3441         * config/libbid/bid_dpd.c: Likewise.
3442         * config/libbid/bid_flag_operations.c: Likewise.
3443         * config/libbid/bid_from_int.c: Likewise.
3444         * config/libbid/bid_functions.h: Likewise.
3445         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3446         * config/libbid/bid_inline_add.h: Likewise.
3447         * config/libbid/bid_internal.h: Likewise.
3448         * config/libbid/bid_round.c: Likewise.
3449         * config/libbid/bid_sqrt_macros.h: Likewise.
3451 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
3453         * Makefile.in: Change copyright header to refer to version
3454         3 of the GNU General Public License and to point readers at the
3455         COPYING3 file and the FSF's license web page.
3456         * config.host: Likewise.
3458 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
3460         * config.host: Reorder and merge to match config.gcc change.
3462 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
3464         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3466 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
3468         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3469         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3470         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3471         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3473 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
3475         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3476         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3478 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3480         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3481         ia64/t-softfp-compat to tmake_file.
3483         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3485         * config/ia64/__divxf3.asm: New.
3486         * config/ia64/_fixtfdi.asm: Likewise.
3487         * config/ia64/_fixunstfdi.asm: Likewise.
3488         * config/ia64/_floatditf.asm: Likewise.
3489         * config/ia64/t-fprules-softfp: Likewise.
3490         * config/ia64/t-softfp-compat: Likewise.
3491         * config/ia64/tf-signs.c: Likewise.
3493 2009-01-18  Ben Elliston  <bje@au.ibm.com>
3495         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3497 2009-01-16  Ben Elliston  <bje@au.ibm.com>
3499         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3500         to tmake_file.
3502 2009-01-13  Ben Elliston  <bje@au.ibm.com>
3504         * config/t-softfp: New file.
3505         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3506         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3508 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
3510         * config.host: Add m32r*-*-rtems*.
3512 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
3514         * config.host: Add m32c*-*-rtems*.
3516 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3518         PR bootstrap/33100
3519         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3520         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3521         * configure: Regenerate.
3522         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3523         tmake_file here from gcc/config.gcc.
3524         Move extra_parts here from gcc/config.gcc.
3525         * config/i386/t-sol2: Move here from gcc/config/i386.
3526         Use gcc_srcdir instead of srcdir.
3528 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
3530         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3531         case.
3533 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
3535         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3537 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
3539         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3541 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
3543         Add picoChip port.
3544         * config.host: Add picochip-*-*.
3546 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
3548         * config.host: Match more processor names for Xtensa.
3550 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
3552         * config/i386/64/t-softfp-compat: Update comments.
3554 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3556         * config/i386/64/_divtc3-compat.c: Moved to ...
3557         * config/i386/64/_divtc3.c: Here.
3559         * config/i386/64/_multc3-compat.c: Moved to ...
3560         * config/i386/64/_multc3.c: Here.
3562         * config/i386/64/_powitf2-compat.c: Moved to ...
3563         * config/i386/64/_powitf2.c: Here.
3565         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3566         .c suffix instead of -compat.c.
3568 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
3570         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3571         (_FP_MUL_MEAT_D): Ditto.
3572         (_FP_DIV_MEAT_S): Ditto.
3573         (_FP_DIV_MEAT_D): Ditto.
3575 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
3577         * Makefile.in: Add support for __sync_* libgcc functions.
3579 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
3581         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3583 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3585         PR boostrap/36702
3586         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3587         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
3589         * config/i386/64/t-fprules-softfp: Moved to ...
3590         * config/i386/64/t-softfp-compat: This.  New.
3592 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
3594         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3595         Initialize f with 0.0.
3597 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3599         PR target/36669
3600         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3602         * config/i386/64/_divtc3-compat.c: New.
3603         * config/i386/64/_multc3-compat.c: Likewise.
3604         * config/i386/64/_powitf2-compat.c: Likewise.
3605         * config/i386/64/eqtf2.c: Likewise.
3606         * config/i386/64/getf2.c: Likewise.
3607         * config/i386/64/letf2.c: Likewise.
3608         * config/i386/64/t-fprules-softfp: Likewise.
3610 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3612         * config.host: Add i386/${host_address}/t-fprules-softfp to
3613         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3614         i[34567]86-*-linux*, x86_64-*-linux*.
3616         * configure.ac: Set host_address to 64 or 32 for x86.
3617         * configure: Regenerated.
3619         * Makefile.in (config.status): Also depend on
3620         $(srcdir)/config.host.
3622         * config/i386/32/t-fprules-softfp: New.
3623         * config/i386/32/tf-signs.c: Likewise.
3625         * config/i386/64/sfp-machine.h: New. Moved from gcc.
3627 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3628             Uros Bizjak  <ubizjak@gmail.com>
3630         * config/i386/32/sfp-machine.h: New.
3632 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
3634         * config/rs6000/t-ppccomm: Remove rules that conflict with
3635         auto-generated rules.
3637 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3639         * configure.ac: sinclude override.m4.
3640         * configure: Regenerate.
3642 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
3644         * configure: Regenerate.
3646 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
3648         * Makefile.in (DECNUMINC): Remove
3649         -I$(MULTIBUILDTOP)../../libdecnumber.
3650         * gstdint.h: New.
3652 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
3654         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3655         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3656         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3657         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3658         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3659         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3660         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3661         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3662         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3663         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3664         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3665         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3666         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3667         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3669 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
3671         * config.host (sh2[lbe]*-*-linux*): Allow target.
3673 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
3675         * config/rs6000/t-ppccomm: Add build rules for new files.
3676         (LIB2ADD_ST): New variable.
3678 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
3680         PR target/34210
3681         PR target/35508
3682         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3683         * config/t-avr: New file. Build 16bit libgcc functions.
3685 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
3687         PR target/35401
3688         * config/t-slibgcc-darwin: Make install-leaf dependent on
3689         install-darwin-libgcc-stubs instead of install.
3691 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
3693         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3694         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3695         sh-*-rtemscoff*): Remove cases.
3697 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
3699         * Makefile.in (all): Use install-leaf rather than install.
3700         (install): Split most of the rule into...
3701         (install-leaf): ...this new one.
3703 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
3704             Paolo Bonzini  <bonzini@gnu.org>
3706         PR target/30572
3707         * Makefile.in: Use @shlib_slibdir@ substitution to get
3708         correct install name on darwin.
3709         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3711 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
3713         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3714         cris-*-elf and cris-*-none.
3715         (crisv32-*-linux*): Similar, as cris-*-linux*.
3717 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
3719         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3721 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
3723         PR regression/33926
3724         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3725         * configure: Regenerated.
3727 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3729         * Makefile.in (dfp-filenames): Replace decimal_globals,
3730         decimal_data, binarydecimal and convert_data with
3731         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3732         and bid_convert_data, respectively.
3734 2007-09-17  Chao-ying Fu  <fu@mips.com>
3735             Nigel Stephens  <nigel@mips.com>
3737         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3738         * Makefile.in (fixed_point): Define.
3739         Check if fixed_point is yes to build support functions.
3740         * configure.ac: Check for fixed_point support.
3741         * configure: Regenerated.
3742         * gen-fixed.sh: New file to generate lists of fixed-point labels,
3743         funcs, modes, from, to.
3745 2007-09-11  Janis Johnson  <janis187@us.ibm.com
3747         * Makefile.in (dfp-filenames): Add bid128_noncomp.
3749 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
3751         * Makefile.in (dfp-filenames): Remove decUtility, add
3752         decDouble, decPacked, decQuad, decSingle.
3754 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
3756         * config.host : Add x86_64-elf target.
3758 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3760         * configure.ac (set_have_cc_tls): Add a missing =.
3761         * configure: Regenerated.
3763 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3765         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3766         and x86_64-*-linux*.
3768         * config/t-tls: New file.
3770         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3772         * configure.ac: Include ../config/enable.m4 and
3773         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
3774         supports TLS and substitute set_have_cc_tls.
3775         * configure: Regenerated.
3777 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
3779         * Makefile.in: Use libbid for DFP when BID is enabled.
3781 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
3783         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3784         extra_parts. Add config/i386/t-cygming to tmake_file.
3785         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3787 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
3788             Danny Smith  <dannysmith@users.sourceforge.net>
3790         PR target/29498
3791         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3792         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
3793         * config/i386/t-crtfm: Compile crtfastmath.o with
3794         -minline-all-stringops.
3796 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
3798         * config.host (sparc-wrs-vxworks): New target.
3800 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
3802         * config.host: Recognize fido.
3804 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
3806         * configure: Check host, not target, for decimal float support.
3808 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
3810         * config/i386/t-crtpc: New file.
3811         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3812         (x86_64-*-linux*): Ditto.
3814 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
3816         * config.host (x86_64-*-mingw*): New target.
3818 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
3819             H.J. Lu  <hongjiu.lu@intel.com>
3821         * Makefile.in (enable_decimal_float): New.
3822         (DECNUMINC): Add
3823         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3824         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3825         (decbits-filenames): This.
3826         (decbits-objects): New.
3827         (libgcc-objects): Add $(decbits-objects).
3829         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3830         Substitute enable_decimal_float.
3831         * configure: Regenerated.
3833 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
3835         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3837 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
3839         * Makefile.in (install-info): New dummy target.
3841 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
3843         * config.host (bfin*-linux-uclibc*): Set extra_parts.
3845 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
3847         * Makefile.in: Add install-html and install-pdf dummy
3848         targets.
3850 2007-02-05  Roger Sayle  <roger@eyesopen.com>
3851             Daniel Jacobowitz  <dan@codesourcery.com>
3853         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3854         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3855         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3857 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
3859         * Makefile.in (dec-filenames): Add decExcept.
3861 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
3863         PR bootstrap/30469
3864         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3865         -fprofile-use.
3867 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
3869         * configure.ac: Add --enable-version-specific-runtime-libs.
3870         Correct $slibdir default.
3871         * configure: Regenerated.
3873 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
3875         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3877 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
3879         PR target/30519
3880         * config.host (alpha*-*-linux*): Set extra_parts.
3882 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
3884         * config/sh/t-linux: New.
3885         * config.host (sh*-*-linux*): Set tmake_file.
3887 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
3889         * Makefile.in (install): Handle multilibs.
3891 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
3893         * Makefile.in: Added .PHONY entry for documentation targets.
3895 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
3897         * Makefile.in: Add empty info, html, dvi, pdf targets.
3899 2007-01-04  Mike Stump  <mrs@apple.com>
3901         * Makefile.in (MAKEINFO): Remove.
3902         (PERL): Likewise.
3904 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
3906         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3907         * configure: Regenerate.
3908         * Makefile.in (host_subdir): Substitute it.
3909         (gcc_objdir): Use it.
3911 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
3913         * config.host (ia64*-*-linux*): Set tmake_file.
3915 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
3917         * Makefile.in (version): Define.
3919 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
3920             Paolo Bonzini  <bonzini@gnu.org>
3922         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3923         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3924         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3925         config/sparc/t-crtfm, config/t-slibgcc-darwin,
3926         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3927         shared-object.mk, siditi-object.mk, static-object.mk: New files.
3928         * configure: Generated.