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