* arm/lib1funcs.asm (ctzsi2): New function.
[official-gcc.git] / libgcc / ChangeLog
blob617db6e27584ef2e05ee439095623f999a033da3
1 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
3         * arm/lib1funcs.asm (ctzsi2): New function.
4         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5         * arm/t-linux (LIB1ASMFUNCS): Likewise.
6         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
11 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
13         * config.host: Add bits to support powerpc64-*-freebsd*.
14         * config/rs6000/freebsd-unwind.h: New file.
15         * config/rs6000/t-freebsd64: New file.
17 2012-03-20  Richard Guenther  <rguenther@suse.de>
19         PR gcov-profile/52627
20         * libgcov.c (init_mx): Fix mutex name.
22 2012-03-16  Tristan Gingold  <gingold@adacore.com>
24         * config/ia64/vms-unwind.h: Remove ulong (and replace
25         it by unw_reg where used).  Define unw_reg with __int64.
27 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
29         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
30         Solaris 8 handling.
31         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
32         Solaris 8 handling.
33         (sparc_is_sighandler): Likewise.
35 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
37         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
38         <= saved reg size.
40 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
42         * config/arm/crtn.S: Fix typo.
44 2012-03-13  Richard Guenther  <rguenther@suse.de>
46         * libgcov.c: Remove stdio.h include and NULL un-define.
48 2012-03-13  Richard Guenther  <rguenther@suse.de>
50         PR target/52569
51         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
53 2012-03-13  Richard Guenther  <rguenther@suse.de>
55         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
57 2012-03-13  Richard Guenther  <rguenther@suse.de>
59         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
60         and __gthread_mutex_init_function definitions.
62 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
64         * config.host (mips*-*-openbsd*): Remove.
66 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
68         * config.host: Remove alpha*-dec-osf5.1* handling.
69         * config/alpha/gthr-posix.c: Remove.
70         * config/alpha/libgcc-osf5.ver: Remove.
71         * config/alpha/osf5-unwind.h: Remove.
72         * config/alpha/t-osf-pthread: Remove.
73         * config/alpha/t-slibgcc-osf: Remove.
74         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
75         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
76         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
77         * mkmap-flat.awk: Remove osf_export handling.
79 2012-03-12  Richard Guenther  <rguenther@suse.de>
81         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
82         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
83         (__gthread_mutex_init_function): New function.
84         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
86         PR gcov/49484
87         * libgcov.c: Include gthr.h.
88         (__gcov_flush_mx): New global variable.
89         (init_mx, init_mx_once): New functions.
90         (__gcov_flush): Protect self with a mutex.
91         (__gcov_fork): Re-initialize mutex after forking.
92         * unwind-dw2-fde.c: Change condition under which to use
93         __GTHREAD_MUTEX_INIT_FUNCTION.
95 2012-03-12  Tristan Gingold  <gingold@adacore.com>
97         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
98         * config/ia64/t-vms: Likewise.
100 2012-03-11  Michael Hope  <michael.hope@linaro.org>
102        * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
103        for Thumb-2.
105 2012-03-07  Walter Lee  <walt@tilera.com>
107         * config/tilepro/atomic.c: Rename "atomic_" prefix to
108         "arch_atomic_".
109         (atomic_xor): Rename and move definition to
110         config/tilepro/atomic.h.
111         (atomic_nand): Ditto.
112         * config/tilepro/atomic.h: Rename "atomic_" prefix to
113         "arch_atomic_".
114         (arch_atomic_xor): Move from config/tilepro/atomic.c.
115         (arch_atomic_nand): Ditto.
117 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
119         PR target/52507
120         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
122 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
124         PR target/52505
125         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
126         from RAM.
128 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
130         PR target/52461
131         PR target/52508
132         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
133         if RAMPZ affects reading from RAM.
134         (__tablejump_elpm__): Ditto.
135         (.xload): Ditto.
136         (__movmemx_hi): Ditto.
137         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
138         (__do_global_dtors): Ditto.
139         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
140         (__movmemx_hi): Ditto.
142 2012-03-05  Richard Henderson  <rth@redhat.com>
144         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
145         [ARM] (count_trailing_zeros): Use the builtin.
147 2012-03-01  Kai Tietz  <ktietz@redhat.com>
149         * soft-fp: Imported from glibc upstream.
151 2012-02-28  Kai Tietz  <ktietz@redhat.com>
153         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
154         for mingw-targets as attribute gcc_struct.
156 2012-02-28  Ian Lance Taylor  <iant@google.com>
158         * generic-morestack.c (__splitstack_releasecontext): Correct call
159         to __morestack_release_segments.
161 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
163         PR target/52390
164         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
165         for __linux__ when removing signals from __morestack_fullmask.
167 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
169         PR target/52261
170         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
172 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
174         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
175         instead of HAVE_INITFINI_ARRAY.
176         * config/ia64/crtend.S: Likewise.
178 2012-02-20  Kai Tietz  <ktietz@redhat.com>
180         PR libstdc++/52300
181         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
183         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
184         to w32-unwind.h header.
186 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
188         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
189         (mips*-*-linux*): Remove t-slibgcc-libgcc.
190         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
191         * config/mips/mips16.S (__mips16_rdhwr): Delete.
193 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
195         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
197 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
199         PR libitm/52220
200         * config/darwin-crt-tm.c: Correct typo.
202 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
203             Patrick Marlier  <patrick.marlier@gmail.com>
205         PR libitm/52220
206         * config/darwin-crt-tm.c: Generate dummy functions.
208 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
209             Patrick Marlier  <patrick.marlier@gmail.com>
211         PR libitm/52042
212         * config/darwin-crt-tm.c (getTMCloneTable): New function.
213         (__doTMRegistrations): Call it.
214         (__doTMdeRegistrations): Likewise.
216 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
217             Anatoly Sokolov <aesok@post.ru>
218             Eric Weddington <eric.weddington@atmel.com>
220         PR target/52261
221         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
222         (__epilogue_restores__): Ditto.
224 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
226         PR target/51921
227         PR target/52205
228         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
229         Solaris 11 and slightly reformat.
230         (sparc_is_sighandler): Likewise.
232 2012-02-14  Walter Lee  <walt@tilera.com>
234         * config.host: Handle tilegx and tilepro.
235         * config/tilegx/sfp-machine.h: New file.
236         * config/tilegx/sfp-machine32.h: New file.
237         * config/tilegx/sfp-machine64.h: New file.
238         * config/tilegx/t-crtstuff: New file.
239         * config/tilegx/t-softfp: New file.
240         * config/tilegx/t-tilegx: New file.
241         * config/tilepro/atomic.c: New file.
242         * config/tilepro/atomic.h: New file.
243         * config/tilepro/linux-unwind.h: New file.
244         * config/tilepro/sfp-machine.h: New file.
245         * config/tilepro/softdivide.c: New file.
246         * config/tilepro/softmpy.S: New file.
247         * config/tilepro/t-crtstuff: New file.
248         * config/tilepro/t-tilepro: New file.
250 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
252         PR libstdc++/51296
253         PR libstdc++/51906
254         * gthr-posix.h: Allow static initializer macros to be disabled.
255         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
257 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
259         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
260         Add t-slibgcc-libgcc to tmake_file.
261         * config/mips/libgcc-mips16.ver: Revert previous patch.
262         * config/mips/mips16.S (__mips16_rdhwr): Hide.
264 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
265             Jayant R Sonar <jayant.sonar@kpitcummins.com>
267         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
268         * config/cr16/crti.S: New file.
269         * config/cr16/crtlibid.S: New file.
270         * config/cr16/crtn.S: New file.
271         * config/cr16/lib1funcs.S: New file.
272         * config/cr16/t-cr16: New file.
273         * config/cr16/t-crtlibid: New file.
274         * config/cr16/unwind-dw2.h: New file.
275         * config/cr16/unwind-cr16.c: New file.
276         * config/cr16/divmodhi3.c: New file.
278 2012-01-25  Alan Modra  <amodra@gmail.com>
280         * config/rs6000/t-linux64: Delete.  Move..
281         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
282         * config/rs6000/t-linux: ..and libgcc flags to here.
284 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
286         * config.host (i[34567]86-*-interix3*):
287         Change triplet to i[34567]86-*-interix[3-9]*.
288         * configure: Regenerate.
290 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
291             Richard Sandiford  <rdsandiford@googlemail.com>
293         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
294         * config/mips/mips16.S (__mips16_rdhwr): New function.
295         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
297 2012-01-11  Nathan Sidwell  <nathan@acm.org>
299         * libgcov.c (__gcov_init): Ignore objects with no functions.
301 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
303         PR target/49868
304         Extend __pgmx semantics to linearize memory.
305         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
306         * config/avr/lib1funcs.S (__xload_1): New function.
307         (__movmemx_qi, __movmemx_hi): New functions.
308         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
309         semantics.
311 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
313         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
314         purported sigacthandler address isn't null before dereferencing it.
315         (sparc_is_sighandler): Likewise.
317 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
319         PR ada/41929
320         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
321         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
322         (sparc_is_sighandler): Likewise.
323         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
325 2012-01-06  Tristan Gingold  <gingold@adacore.com>
327         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
328         compatibility thunks...
329         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
330         (crtbeginS.o, crtendS.o): ... and these to ...
331         * config/ia64/t-ia64-elf: ... this new file.
332         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
333         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
335 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
337         * configure: Regenerate.
338         * config/s390/t-crtstuff: Remove -fPIC.
340 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
342         PR bootstrap/51006
343         * enable-execute-stack-mprotect.c (getpagesize): Do not define
344         for NetBSD.
346 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
348         PR target/51345
349         * config/avr/lib1funcs.S: Remove FIXME comments.
350         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
352 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
354         Implement light-weight DImode support.
355         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
356         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
357         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
358         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
360 2011-12-30  Nathan Sidwell  <nathan@acm.org>
362         * libgcov.c (gcov_crc32): Remove global var.
363         (free_fn_data): New function.
364         (buffer_fn_data): Pass in filename, more robust error recovery.
365         (crc32_unsigned): New function.
366         (gcov_exit): More robust detection of new program. More robust
367         error recovery.
368         (__gcov_init): Do not update program's crc here.
370 2011-12-21  Tristan Gingold  <gingold@adacore.com>
372         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
374 2011-12-21  Ian Lance Taylor  <iant@google.com>
376         * config/i386/morestack.S: Simplify CFI opcodes throughout.
378 2011-12-20  Ian Lance Taylor  <iant@google.com>
380         * config/i386/morestack.S (__morestack_non_split): If there is
381         enough stack space already, don't split.  Ask for more stack space
382         than we required.
384 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
386         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
387         `sys/sdt.h'.
388         (_Unwind_DebugHook): New function.
389         (uw_restore_core_regs): New define.
390         (unwind_phase2): Use uw_restore_core_regs instead of
391         restore_core_regs.
392         (unwind_phase2_forced): Likewise.
393         (__gnu_Unwind_Resume): Likewise.
395 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
397         * config/alpha/linux-unwind.h: Update copyright years.
398         (MD_FROB_UPDATE_CONTEXT): New define.
399         (alpha_frob_update_context): New function.
401 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
403         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
404         tmake_file rather replacing it.
406 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
408         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
409         function is not used for PPC64.
410         (save_world): Amend comments.  Update the VRsave mask to reflect the
411         saved regs.
412         (rest_world): Update comments, do not  clobber r10, do not use r8.
413         (eh_rest_world_r10): Amend comments, do not use r8.
414         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
415         no longer used, move restore of CR and target address to the end of
416         the routine.
418 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
420         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
421         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
423 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
425         PR target/49313
426         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
427         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
429 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
431         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
433 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
435         PR target/49313
436         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
437         * config/avr/lib1funcs.S (__muldi3): New function.
439 2011-12-06  Andrew Pinski  <apinski@cavium.com>
441         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
442         size of func_ptr.
443         (__frame_dummy_init_array_entry): Likewise.
445 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
447         Forward-port from gcc-4_6-branch r181936 2011-12-02.
449         PR target/51345
450         PR target/51002
451         * config/avr/lib1funcs.S (__prologue_saves__,
452         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
453         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
455 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
457         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
459 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
461         PR other/51272
462         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
463         (_ITM_deregisterTMCloneTable): Likewise.
464         (__register_frame_info): Fix unused warning.
465         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
466         pthread_default_stacksize_np): Likewise.
467         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
469 2011-11-29  DJ Delorie  <dj@redhat.com>
471         * config.host (rl78-*-elf): New case.
472         * config/rl78: New directory for the Renesas RL78.
474 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
476         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
477         formatting.
479 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
481         PR other/51022
482         * config/rs6000/t-savresfgpr: New file.
483         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
484         $(srcdir)/config/rs6000/eabi.S.
485         * config/rs6000/t-ppccomm-ldbl: Remove.
486         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
487         tmake_file.
488         (powerpc-*-eabispe*): Likewise.
489         (powerpc-*-eabi*): Likewise.
490         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
491         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
492         to tmake_file, remove rs6000/t-ppccomm-ldbl.
493         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
494         tmake_file.
495         (powerpc-*-eabisim*): Likewise.
496         (powerpc-*-elf*): Likewise.
497         (powerpc-*-eabialtivec*): Likewise.
498         (powerpc-xilinx-eabi*): Likewise.
499         (powerpc-*-rtems*): Likewise.
500         (powerpcle-*-elf*): Likewise.
501         (powerpcle-*-eabisim*): Likewise.
502         (powerpcle-*-eabi*): Likewise.
504 2011-11-27  Ian Lance Taylor  <iant@google.com>
506         * generic-morestack.c (__splitstack_find): Check for NULL old
507         stack value.
508         (__splitstack_resetcontext): New function.
509         (__splitstack_releasecontext): New function.
510         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
512 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
514         * config/darwin-crt-tm.c: Correct comments, use correct licence.
516 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
518         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
520 2011-11-26  Richard Henderson  <rth@redhat.com>
522         * config/m68k/linux-atomic.c: New file.
523         * config/m68k/t-linux: New file.
524         * config.host (m68k-uclinux, m68k-linux): Use it.
526 2011-11-26  Richard Henderson  <rth@redhat.com>
528         * crtstuff.c (__TMC_LIST__): Mark used not unused.
529         (__TMC_END__): Only declare if hidden is available; in the definition,
530         if hidden is unavailable add a null record.
531         (deregister_tm_clones, register_tm_clones): New.
532         (__do_global_dtors_aux, frame_dummy): Use them.
533         (__do_global_dtors, __do_global_ctors_1): Likewise.
535 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
537         * config/darwin-crt-tm.c: New file.
538         * config.host (darwin): Build crttms.o crttme.o to provide
539         startup and shutdown for tm clones.
540         * config/t-darwin (crttms.o): New build rule.
541         (crttme.o): Likewise.
543 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
545         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
546         et al.
548 2011-11-21  Richard Henderson  <rth@redhat.com>
550         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
551         (__TMC_LIST__, __TMC_END__): New.
552         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
553         (__do_global_dtors): Likewise.
554         (frame_dummy): Call _ITM_registerTMCloneTable.
555         (__do_global_ctors_1): Likewise.
557 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
559         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
560         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
561         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
562         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
563         * config/i386/t-darwin64: Remove.
564         * config/sh/t-netbsd (LIB2ADD): Remove.
566 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
568         PR target/49313
569         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
570         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
571         * config/avr/lib1funcs.S (wmov): New assembler macro.
572         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
573         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
574         (__udivmod64): New function.
575         (__negdi2): New function.
577 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
579         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
580         *-*-freebsd*aout*): Remove.
582 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
584         * static-object.mk (c_flags-$o): Save c_flags.
585         ($(base)$(objext)): Use it.
587 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
589         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
591 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
593         PR target/49868
594         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
595         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
596         New functions.
598 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
600         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
601         functions.
602         (aeabi_uidivmod): Likewise.
603         (umodsi3): Likewise.
604         (divsi3): Likewise.
605         (aeabi_idivmod): Likewise.
606         (modsi3): Likewise.
608 2011-11-16  Tristan Gingold  <gingold@adacore.com>
610         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
612 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
614         PR target/49868
615         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
616         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
618 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
620         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
621         tmake_file list.
622         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
623         * config/pa/t-stublib64: Delete.
625 2011-11-12  Richard Henderson  <rth@redhat.com>
627         * config/rs6000/linux-unwind.h (frob_update_context): Properly
628         cast the pointer argument to _Unwind_SetGRPtr.
630 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
632         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
634 2011-11-09  Ian Lance Taylor  <iant@google.com>
636         * generic-morestack.c: Include <string.h>.
637         (uintptr_type): Define.
638         (struct initial_sp): Add dont_block_signals field.  Reduce size of
639         extra array by 1.
640         (allocate_segment): Set prev field to NULL.  Don't set
641         __morestack_current_segment or __morestack_segments.
642         (__generic_morestack): Update current->prev and *pp after calling
643         allocate_segment.
644         (__morestack_block_signals): Don't do anything if
645         dont_block_signals is set.
646         (__morestack_unblock_signals): Likewise.
647         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
648         uintptr_type.
649         (__splitstack_block_signals): New function.
650         (enum __splitstack_content_offsets): Define.
651         (__splitstack_getcontext, __splitstack_setcontext): New functions.
652         (__splitstack_makecontext): New function.
653         (__splitstack_block_signals_context): New function.
654         (__splitstack_find_context): New function.
655         * config/i386/morestack.S (__morestack_get_guard): New function.
656         (__morestack_set_guard, __morestack_make_guard): New functions.
657         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
659 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
661         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
662         (i[34567]86-*-mingw*): ... here.
663         (x86_64-*-mingw*): ... here.
665 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
667         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
669 2011-11-07  Nathan Sidwell  <nathan@acm.org>
671         * libgcov.c (struct gcov_fn_buffer): New struct.
672         (buffer_fn_data): New helper.
673         (gcov_exit): Rework for new gcov data structures.
675 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
677         PR target/49313
678         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
680 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
682         * config.host (tmake_file): Correct comment.
683         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
684         t-libgcc-pic.
685         (bfin*-uclinux*): Likewise.
686         (bfin*-linux-uclibc*): Likewise.
687         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
689         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
690         assigning.
691         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
692         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
693         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
694         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
695         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
696         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
697         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
698         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
699         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
700         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
701         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
702         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
703         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
705         * config/bfin/t-elf: Remove.
706         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
708 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
710         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
711         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
712         (lm32-*-elf*, lm32-*-rtems*): Split into ...
713         (lm32-*-elf*): ... this.
714         (lm32-*-rtems*): ... and this.
715         Add to tmake_file.
716         (m32r-*-rtems*): Add to tmake_file.
717         (moxie-*-rtems*): Likewise.
718         (sparc-*-rtems*): Likewise.
719         Remove t-rtems from tmake_file.
720         (sparc64-*-rtems*): Likewise.
721         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
722         instead.
724 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
726         PR bootstrap/50982
727         * config/gthr-posix.h: Move ...
728         * gthr-posix.h: ... here.
729         * config/gthr-lynx.h: Reflect this.
730         * config/gthr-vxworks.h: Likewise.
731         * config/rs6000/gthr-aix.h: Likewise.
732         * configure.ac (target_thread_file): Likewise.
733         * configure: Regenerate.
735 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
737         * config.host (arm*-*-rtemseabi*): New target.
739 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
741         PR other/50991
742         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
743         extra-parts.
745 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
747         * config.host (epiphany-*-elf*): New configuration.
748         * config/epiphany: New Directory.
750 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
752         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
753         * config/avr/t-rtems: New.
754         Filter out _exit from LIB1ASMFUNCS.
756 2011-11-04  David S. Miller  <davem@davemloft.net>
758         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
759         * configure: Rebuild.
761 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
763         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
764         variable.
766 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
768         PR target/50931
769         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
770         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
772 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
774         PR target/50989
775         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
777 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
779         * config/c6x/t-elf (LIB2ADDEH): Set.
780         * config/c6x/t-c6x-elf: Remove.
782 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
784         * config/i386/sol2-ci.S: Rename to ...
785         * config/i386/crti.S: ... this.
786         * config/i386/sol2-cn.S: Rename to ...
787         * config/i386/crtn.S: ... this.
788         * config/sparc/sol2-ci.S: Rename to ...
789         * config/sparc/crti.S: ... this.
790         * config/sparc/sol2-cn.S: Rename to ...
791         * config/sparc/crtn.S: ... this.
792         * config/t-sol2 (CUSTOM_CRTIN): Remove.
793         (crti.o, crtn.o): Remove.
795 2011-11-04  Tristan Gingold  <gingold@adacore.com>
797         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
799 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
801         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
803 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
805         * config.host (crisv32-*-none, cris-*-none): Remove.
806         (crisv32-*-elf): Append to tmake_file, don't just set it.
807         (cris-*-elf): Add missing t-fdpbit to tmake_file.
809 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
811         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
812         (ecrtn$(objext)): Likewise.
813         (ncrti$(objext)): Likewise.
814         (ncrtn$(objext)): Likewise.
816 2011-11-03  Andreas Schwab  <schwab@redhat.com>
818         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
820 2011-11-02  David S. Miller  <davem@davemloft.net>
822         * configure.ac: Set host_address on sparc too.
823         * configure: Regenerate.
824         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
825         based upon host_address.
826         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
828 2011-11-02  Jason Merrill  <jason@redhat.com>
830         * config/rs6000/t-ppccomm: Add missing \.
832 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
834         * gthr-single.h, gthr.h: New files.
835         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
836         config/gthr-vxworks.h, config/i386/gthr-win32.h,
837         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
838         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
839         * config/i386/gthr-win32.c: Include "gthr-win32.h".
840         * configure.ac (thread_header): New variable.
841         Set it depending on target_thread_file.
842         (gthr-default.h): Link from $thread_header.
843         * configure: Regenerate.
844         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
846 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
848         * configure.ac (tm_file_): New variable.
849         Determine from tm_file.
850         (tm_file, tm_defines): Substitute.
851         * configure: Regenerate.
852         * mkheader.sh: New file.
853         * Makefile.in (clean): Remove libgcc_tm.h.
854         ($(objects)): Depend on libgcc_tm.h.
855         (libgcc_tm_defines, libgcc_tm_file): New variables.
856         (libgcc_tm.h, libgcc_tm.stamp): New targets.
857         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
858         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
859         ($(extra-parts)): Depend on libgcc_tm.h.
860         * config.host (tm_defines, tm_file): New variable.
861         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
862         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
863         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
864         (avr-*-rtems*): Likewise.
865         (avr-*-*): Likewise.
866         (frv-*-elf): Likewise.
867         (frv-*-*linux*): Likewise.
868         (h8300-*-rtems*): Likewise.
869         (h8300-*-elf*): Likewise.
870         (i[34567]86-*-darwin*): Likewise.
871         (x86_64-*-darwin*): Likewise.
872         (rx-*-elf): Likewise.
873         (tic6x-*-uclinux): Likewise.
874         (tic6x-*-elf): Likewise.
875         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
876         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
877         * config/i386/cygming-crtbegin.c: Likewise.
878         * config/i386/cygming-crtend.c: Likewise.
879         * config/ia64/fde-vms.c: Likewise.
880         * config/ia64/unwind-ia64.c: Likewise.
881         * config/libbid/bid_gcc_intrinsics.h: Likewise.
882         * config/rs6000/darwin-fallback.c: Likewise.
883         * config/stormy16/lib2funcs.c: Likewise.
884         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
885         * crtstuff.c: Likewise.
886         * dfp-bit.h: Likewise.
887         * emutls.c: Likewise.
888         * fixed-bit.c: Likewise.
889         * fp-bit.c: Likewise.
890         * generic-morestack-thread.c: Likewise.
891         * generic-morestack.c: Likewise.
892         * libgcc2.c: Likewise.
893         * libgcov.c: Likewise.
894         * unwind-dw2-fde-dip.c: Likewise.
895         * unwind-dw2-fde.c: Likewise.
896         * unwind-dw2.c: Likewise.
897         * unwind-sjlj.c: Likewise.
899 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
901         * configure.ac: Include ../config/picflag.m4.
902         (GCC_PICFLAG): Call it.
903         Substitute.
904         * configure: Regenerate.
905         * Makefile.in (gcc_srcdir): Remove.
906         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
907         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
908         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
909         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
910         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
911         Use $<.
912         Remove comment.
913         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
914         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
915         to refer to libgcc2.c.
916         Use $<.
917         * config/darwin-64.c: New file.
918         * config/darwin-crt3.c: Remove comment.
919         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
920         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
921         config/udivmodsi4.c: New files.
922         * config/memcmp.c, config/memcpy.c, config/memmove.c,
923         config/memset.c: New files.
924         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
925         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
926         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
927         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
928         * config/t-openbsd-thread: New file.
929         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
930         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
931         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
932         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
933         qrnnd.S.
934         Adapt filename.
935         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
936         to refer to gthr-posix.c.
937         * config/alpha/t-vms (LIB2ADD): Set.
938         * config/alpha/vms-gcc_shell_handler.c: New file.
939         * config/arm/bpabi.c, config/arm/fp16.c,
940         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
941         config/arm/unaligned-funcs.c: New files.
942         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
943         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
944         * config/arm/t-linux: Likewise.
945         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
946         * config/arm/t-netbsd: New file.
947         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
948         * config/arm/t-symbian (LIB2ADD_ST): Set.
949         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
950         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
951         * config/bfin/t-elf: New file.
952         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
953         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
954         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
955         config/c6x/ltf.c: New files.
956         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
957         (HOST_LIBGCC2_CFLAGS): Set.
958         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
959         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
960         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
961         New files.
962         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
963         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
964         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
965         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
966         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
967         files.
968         * config/frv/t-frv (LIB2ADD): Set.
969         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
970         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
971         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
972         config/h8300/popcounthi2.c: New files.
973         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
974         * config/i386/gthr-win32.c: New file.
975         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
976         * config/i386/t-cygwin: Likewise.
977         * config/i386/t-darwin, config/i386/t-darwin64,
978         config/i386/t-gthr-win32, config/i386/t-interix: New files.
979         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
980         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
981         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
982         * config/ia64/quadlib.c: New file.
983         * config/ia64/t-hpux (LIB2ADD): Set.
984         * config/ia64/t-ia64: Add comment.
985         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
986         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
987         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
988         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
989         * config/m32c/t-m32c (LIB2ADD): Set.
990         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
991         * config/m32r/t-m32r: Likewise.
992         * config/m68k/fpgnulib.c: New file.
993         * config/m68k/t-floatlib (LIB2ADD): Set.
994         (xfgnulib.c): New target.
995         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
996         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
997         * config/mep/t-mep (LIB2ADD): Set.
998         * config/microblaze/divsi3.asm: Rename to divsi3.S.
999         * config/microblaze/moddi3.asm: Rename to moddi3.S.
1000         * config/microblaze/modsi3.asm: Rename to modsi3.S.
1001         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1002         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1003         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1004         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1005         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1006         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1007         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1008         New files.
1009         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1010         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1011         * config/pa/fptr.c, config/pa/lib2funcs.S,
1012         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1013         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1014         (LIB2ADD, LIB2ADD_ST): Set.
1015         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1016         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1017         Set.
1018         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1019         * config/pdp11/t-pdp11: New file.
1020         * config/picochip/libgccExtras/adddi3.S,
1021         config/picochip/libgccExtras/ashlsi3.S,
1022         config/picochip/libgccExtras/ashrsi3.S,
1023         config/picochip/libgccExtras/clzsi2.S,
1024         config/picochip/libgccExtras/cmpsi2.S,
1025         config/picochip/libgccExtras/divmod15.S,
1026         config/picochip/libgccExtras/divmodhi4.S,
1027         config/picochip/libgccExtras/divmodsi4.S,
1028         config/picochip/libgccExtras/lshrsi3.S,
1029         config/picochip/libgccExtras/parityhi2.S,
1030         config/picochip/libgccExtras/popcounthi2.S,
1031         config/picochip/libgccExtras/subdi3.S,
1032         config/picochip/libgccExtras/ucmpsi2.S,
1033         config/picochip/libgccExtras/udivmodhi4.S,
1034         config/picochip/libgccExtras/udivmodsi4.S: New files.
1035         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1036         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1037         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1038         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1039         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1040         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1041         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
1042         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1043         files.
1044         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1045         (HOST_LIBGCC2_CFLAGS): Set.
1046         * config/rs6000/t-darwin64: New file.
1047         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1048         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1049         * config/rs6000/t-ppccomm (LIB2ADD): Add
1050         $(srcdir)/config/rs6000/tramp.S.
1051         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1052         Add  $(srcdir)/config/rs6000/eabi.S.
1053         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1054         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1055         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1056         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1057         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1058         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1059         * config/rs6000/tramp.S: New file.
1060         * config/s390/t-tpf: Remove.
1061         * config/sh/linux-atomic.S: New file.
1062         * config/sh/t-linux (LIB2ADD): Set.
1063         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1064         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1065         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1066         to unwind-dw2.c.
1067         (HOST_LIBGCC2_CFLAGS): Set.
1068         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1069         * config/spu/divmodti4.c, config/spu/divv2df3.c,
1070         config/spu/float_disf.c, config/spu/float_unsdidf.c,
1071         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1072         config/spu/mfc_multi_tag_release.c,
1073         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1074         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1075         config/spu/multi3.c: New files.
1076         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1077         (HOST_LIBGCC2_CFLAGS): Set.
1078         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1079         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1080         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1081         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1082         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1083         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1084         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1085         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1086         config/stormy16/umodsi3.c: New files.
1087         * config/xtensa/lib2funcs.S: New file.
1088         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1089         * config/xtensa/t-xtensa (LIB2ADD): Set.
1090         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1091         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1092         Add t-freebsd-thread to tmake_file for posix threads.
1093         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1094         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1095         (*-*-lynxos*): Likewise.
1096         (*-*-netbsd*): Likewise.
1097         (*-*-openbsd*): Likewise.
1098         Add t-openbsd-thread to tmake_file for posix threads.
1099         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1100         (*-*-vxworks*): Set tmake_file.
1101         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1102         (alpha*-*-freebsd*): Likewise.
1103         (alpha*-*-netbsd*): Likewise.
1104         (alpha*-*-openbsd*): Likewise.
1105         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1106         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1107         (alpha*-dec-*vms*): Likewise.
1108         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1109         (bfin*-elf*): Add bfin/t-elf to tmake_file.
1110         (bfin*-uclinux*): Likewise.
1111         (bfin*-linux-uclibc*): Likewise.
1112         (crisv32-*-elf): Add cris/t-cris to tmake_file.
1113         (crisv32-*-none): Likewise.
1114         (cris-*-elf): Likewise.
1115         (cris-*-none): Likewise.
1116         (cris-*-linux*, crisv32-*-linux*): Likewise.
1117         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1118         tmake_file.
1119         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1120         tmake_file.
1121         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1122         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1123         (x86_64-*-elf*): Likewise.
1124         (i[34567]86-*-nto-qnx*): Likewise.
1125         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1126         win32 threads.
1127         (x86_64-*-mingw*): Likewise.
1128         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1129         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1130         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1131         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1132         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1133         tmake_file.
1134         (mipsisa64sr71k-*-elf*): Likewise.
1135         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1136         (mips-*-elf*, mipsel-*-elf*): Likewise.
1137         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1138         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1139         (mips*-*-rtems*): Likewise.
1140         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1141         to tmake_file.
1142         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1143         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1144         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1145         (spu-*-elf*): Likewise.
1146         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1148 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1150         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1151         $(srcdir) to refer to $(LIB1ASMSRC).
1152         Use $<.
1153         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1154         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1155         config/arm/lib1funcs.S: New files.
1156         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1157         * config/arm/t-arm: New file.
1158         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1159         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1160         config/arm/t-strongarm-elf: New files.
1161         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1162         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1163         * config/avr/lib1funcs.S: New file.
1164         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1165         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1166         * config/c6x/lib1funcs.S: New file.
1167         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1168         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1169         * config/frv/lib1funcs.S: New file.
1170         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1171         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1172         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1173         * config/ia64/__divxf3.asm: Rename to ...
1174         * config/ia64/__divxf3.S: ... this.
1175         Adapt lib1funcs.asm filename.
1176         * config/ia64/_fixtfdi.asm: Rename to ...
1177         * config/ia64/_fixtfdi.S: ... this.
1178         Adapt lib1funcs.asm filename.
1179         * config/ia64/_fixunstfdi.asm: Rename to ...
1180         * config/ia64/_fixunstfdi.S: ... this.
1181         Adapt lib1funcs.asm filename.
1182         * config/ia64/_floatditf.asm: Rename to ...
1183         * config/ia64/_floatditf.S: ... this.
1184         Adapt lib1funcs.asm filename.
1185         * config/ia64/lib1funcs.S: New file.
1186         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1187         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1188         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1189         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1190         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1191         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1192         * config/mep/lib1funcs.S: New file.
1193         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1194         * config/mips/mips16.S: New file.
1195         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1196         * config/pa/milli64.S: New file.
1197         * config/pa/t-linux, config/pa/t-linux64: New files.
1198         * config/picochip/lib1funcs.S: New file.
1199         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1200         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1201         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1202         * config/sh/t-netbsd: New file.
1203         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1204         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1205         * config/sh/t-sh64: New file.
1206         * config/sparc/lb1spc.S: New file.
1207         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1208         filename.
1209         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1210         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1211         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1212         config/xtensa/lib1funcs.S: New files.
1213         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1214         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1215         tmake_file.
1216         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1217         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1218         (arm*-*-linux*): Likewise.
1219         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1220         arm*-*-linux-*eabi, add arm/t-linux otherwise.
1221         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1222         (arm*-*-ecos-elf): Likewise.
1223         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1224         (arm*-*-rtems*): Likewise.
1225         (arm*-*-elf): Likewise.
1226         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1227         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1228         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1229         (bfin*-uclinux*): Likewise.
1230         (bfin*-linux-uclibc*): Likewise.
1231         (bfin*-rtems*): Likewise.
1232         (bfin*-*): Likewise.
1233         (fido-*-elf): Merge into m68k-*-elf*.
1234         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1235         (frv-*-*linux*): Add frv/t-frv to tmake_file.
1236         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1237         (h8300-*-elf*): Likewise.
1238         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1239         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1240         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1241         (i[34567]86-*-mingw*): Likewise.
1242         (x86_64-*-mingw*): Likewise.
1243         (i[34567]86-*-interix3*): Likewise.
1244         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1245         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1246         (m68k-*-elf*): Also handle fido-*-elf.
1247         Add m68k/t-floatlib to tmake_file.
1248         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1249         (m68k-*-linux*): Likewise.
1250         (m68k-*-rtems*): Likewise.
1251         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1252         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1253         sh64*-*-*.
1254         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1255         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1256         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1257         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1258         sh/t-netbsd to tmake_file.
1259         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1260         (sh-*-rtems*): Add sh/t-sh to tmake_file.
1261         (sh-wrs-vxworks): Likewise.
1262         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1263         *-leon[3-9]*.
1264         (v850*-*-*): Add v850/t-v850 to tmake_file.
1265         (vax-*-linux*): Add vax/t-linux to tmake_file.
1266         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1268 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1270         * crtstuff.c: New file.
1271         * Makefile.in (CRTSTUFF_CFLAGS): Define.
1272         (CRTSTUFF_T_CFLAGS): Define.
1273         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1274         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1275         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1276         crtstuff.c.
1277         Use $<.
1278         (crtbeginT.o): Use $(objext).
1279         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1280         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1281         (gcc-extra-parts): Remove.
1282         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1283         Set extra_parts.
1284         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1285         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1286         Add t-crtstuff-pic to tmake_file.
1287         (*-*-lynxos*): New case.
1288         Set tmake_file, extra_parts.
1289         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1290         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1291         *-*-netbsdelf[2-9]*.
1292         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1293         (*-*-rtems*): Set extra_parts.
1294         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1295         (*-*-uclinux*): New case.
1296         Set extra_parts.
1297         (*-*-vms*): New case.
1298         Set tmake_file, extra_parts.
1299         (*-*-elf): Set extra_parts.
1300         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1301         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1302         vms/t-vms64.
1303         Set extra_parts.
1304         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1305         Set extra_parts.
1306         (arm*-*-freebsd*): Add t-crtin to tmake_file.
1307         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1308         (arm-wrs-vxworks): Append to tmake_file.
1309         Set extra_parts.
1310         (arm*-*-uclinux*): Set extra_parts.
1311         (arm*-*-ecos-elf): Likewise.
1312         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1313         arm*-*-eabi*.
1314         (arm*-*-rtems*): Set extra_parts.
1315         (arm*-*-elf): Likewise.
1316         (avr-*-rtems*): Clear extra_parts.
1317         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1318         Set extra_parts.
1319         (bfin*-uclinux*): Likewise.
1320         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1321         (bfin*-rtems*): Append to tmake_file.
1322         Set extra_parts.
1323         (bfin*-*): Likewise.
1324         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1325         (crisv32-*-elf): ... this.
1326         (crisv32-*-none): ... this.
1327         (cris-*-elf, cris-*-none): New cases.
1328         Add cris/t-elfmulti to tmake_file.
1329         (fr30-*-elf): Append to tmake_file.
1330         Set extra_parts.
1331         (frv-*-elf): Append to tmake_file, add frv/t-frv.
1332         Set extra_parts.
1333         (h8300-*-rtems*): Append to tmake_file.
1334         Set extra_parts.
1335         (h8300-*-elf*): Likewise.
1336         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1337         Set extra_parts.
1338         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1339         Set extra_parts.
1340         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1341         (x86_64-*-elf*): Likewise.
1342         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1343         (x86_64-*-freebsd*): Likewise.
1344         (x86_64-*-netbsd*): Likewise.
1345         (i[34567]86-*-linux*): Likewise.
1346         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1347         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1348         (x86_64-*-linux*): Likewise.
1349         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1350         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1351         tmake_file.
1352         Set extra_parts.
1353         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1354         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1355         Append to extra_parts, remove crtbegin.o, crtend.o.
1356         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1357         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1358         crtend.o, crtbeginS.o, crtendS.o.
1359         (ia64*-*-linux*): Comment extra_parts.
1360         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1361         Set extra_parts.
1362         (iq2000*-*-elf*): Clear extra_parts.
1363         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1364         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1365         (m32r-*-elf*, m32r-*-rtems*): Split off ...
1366         (m32r-*-rtems*): ... this.
1367         Add m32r/t-m32r to tmake_file.
1368         (m68k-*-elf*): Add t-crtin to tmake_file.
1369         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1370         (mcore-*-elf): Likewise.
1371         (microblaze*-*-*): Set extra_parts.
1372         (mips*-sde-elf*): New case.
1373         Set tmake_file, extra_parts.
1374         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1375         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1376         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1377         tmake_file.
1378         Set extra_parts.
1379         (mipsisa64sr71k-*-elf*): Likewise.
1380         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1381         (mips-*-elf*, mipsel-*-elf*): Likewise.
1382         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1383         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1384         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
1385         (mips*-*-rtems*): Likewise.
1386         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1387         (moxie-*-*): Split into ...
1388         (moxie-*-elf, moxie-*-uclinux*): ... this.
1389         Add to extra_parts, remove crtbegin.o, crtend.o.
1390         (moxie-*-rtems*): New case.
1391         Set tmake_file.
1392         Clear extra_parts.
1393         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1394         Set extra_parts.
1395         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1396         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1397         tmake_file.
1398         Set extra_parts.
1399         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1400         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1401         Set extra_parts.
1402         (powerpc-*-eabisim*): Likewise.
1403         (powerpc-*-elf*): Likewise.
1404         (powerpc-*-eabialtivec*): Likewise.
1405         (powerpc-xilinx-eabi*): Likewise.
1406         (powerpc-*-eabi*): Likewise.
1407         (powerpc-*-rtems*): Likewise.
1408         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1409         tmake_file.
1410         Set extra_parts.
1411         (powerpc-*-lynxos*): Add to tmake_file.
1412         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1413         rs6000/t-crtstuff, t-crtstuff-pic.
1414         Set extra_parts.
1415         (powerpcle-*-eabisim*): Likewise.
1416         (powerpcle-*-eabi*): Likewise.
1417         (rx-*-elf): Remove extra_parts.
1418         (s390x-ibm-tpf*): Set extra_parts.
1419         (score-*-elf): Set extra_parts.
1420         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1421         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1422         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1423         (sh64l*-*-netbsd*): Split into ...
1424         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1425         Add t-crtstuff-pic to tmake_file.
1426         Set extra_parts.
1427         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1428         Set extra_parts.
1429         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1430         (sparc-*-elf*): Remove t-crtin from tmake_file.
1431         Add to extra_parts, remove crtbegin.o, crtend.o.
1432         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1433         (sparc64-*-linux*): Likewise.
1434         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1435         Add to extra_parts, remove crtbegin.o, crtend.o.
1436         (sparc64-*-elf*): Remove t-crtin from tmake_file.
1437         Add to extra_parts, remove crtbegin.o, crtend.o.
1438         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1439         Add to extra_parts, remove crtbegin.o, crtend.o.
1440         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1441         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1442         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1443         Set extra_parts.
1444         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1445         Set extra_parts.
1446         (tic6x-*-*): Change to ...
1447         (tic6x-*-elf): ... this.
1448         Set extra_parts.
1449         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1450         Set extra_parts.
1451         (am33_2.0-*-linux*): Add comment.
1452         (mep*-*-*): Add mep/t-mep to tmake_file.
1453         Set extra_parts.
1454         * config/alpha/t-vms: New file.
1455         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1456         * config/arm/crti.S, config/arm/crtn.S: New files.
1457         * config/bfin/crti.S, config/bfin/crtn.S: New files.
1458         * config/bfin/crtlibid.S: New file.
1459         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1460         * config/c6x/crti.S, config/c6x/crtn.S: New files.
1461         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1462         (crti.o, crtin.o): New rules.
1463         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1464         * config/c6x/t-uclinux: New file.
1465         * config/cris/t-elfmulti: New file.
1466         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1467         * config/fr30/crti.S, config/fr30/crtn.S: New files.
1468         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1469         * config/frv/t-frv: New file.
1470         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1471         * config/h8300/crti.S, config/h8300/crtn.S: New files.
1472         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1473         New files.
1474         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1475         refer to cygming-crtbegin.c, cygming-crtend.c.
1476         Use $<.
1477         * config/i386/t-nto: New file.
1478         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1479         * config/ia64/crti.S, config/ia64/crtn.S: New files.
1480         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1481         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1482         Use .S extension.
1483         Use $<.
1484         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1485         (crtinitS.o): New rule.
1486         * config/ia64/vms-crtinit.S: New file.
1487         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1488         * config/m32r/initfini.c: New file.
1489         * config/m32r/t-linux, config/m32r/t-m32r: New files.
1490         * config/m68k/crti.S, config/m68k/crtn.S: New files.
1491         * config/mcore/crti.S, config/mcore/crtn.S: New files.
1492         * config/mep/t-mep: New file.
1493         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1494         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1495         * config/mips/crti.S, config/mips/crtn.S: New files.
1496         * config/mips/t-crtstuff: New file.
1497         * config/mmix/crti.S, config/mmix/crtn.S: New files.
1498         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1499         (CUSTOM_CRTIN): Set.
1500         ($(T)crti.o, $(T)crtn.o): Remove $(T),
1501         dependencies.
1502         Use $(srcdir) to refer to crti.S, crtn.S.
1503         Use .S extension, $<.
1504         * config/moxie/crti.asm: Rename to ...
1505         * config/moxie/crti.S: ... this.
1506         * config/moxie/crtn.asm: Rename to ...
1507         * config/moxie/crtn.S: ... this.
1508         * config/moxie/t-moxie: Remove.
1509         * config/pa/stublib.c: New file.
1510         * config/pa/t-stublib, config/pa/t-stublib64: New files.
1511         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1512         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1513         * config/rs6000/t-crtstuff: New file.
1514         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1515         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1516         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1517         Make output file explicit.
1518         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1519         Make output file explicit.
1520         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1521         Make output file explicit.
1522         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1523         Make output file explicit.
1524         * config/score/crti.S, config/score/crtn.S: New files.
1525         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1526         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1527         files.
1528         * config/sh/t-sh, config/sh/t-superh: New files.
1529         * config/sparc/t-linux64: New file.
1530         * config/spu/cache.S, config/spu/cachemgr.c: New files.
1531         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1532         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1533         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1534         * config/t-crtin: Remove.
1535         * config/t-crtstuff-pic: New file.
1536         * config/t-sol2 (CUSTOM_CRTIN): Set.
1537         (crti.o, crtn.o): New rules.
1538         * config/vms/t-vms: New file.
1539         * config/vms/vms-ucrt0.c: New file.
1540         * config/xtensa/t-elf: New file.
1542 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1544         * Makefile.in (SHLIB_NM_FLAGS): Set.
1545         * mkmap-flat.awk, mkmap-symver.awk: New files.
1546         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1547         exceptions.
1548         * configure: Regenerate.
1549         * config/libgcc-glibc.ver: New file.
1550         * config/libgcc-libsystem.ver: New file.
1551         * config/t-libunwind (SHLIB_LC): Set.
1552         * config/t-linux: New file.
1553         * config/t-slibgcc (INSTALL_SHLIB): New.
1554         (SHLIB_INSTALL): Use it.
1555         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1556         to mkmap-symver.awk.
1557         (SHLIB_MAPFILES): Don't append, adapt pathname.
1558         (SHLIB_VERPFX): Set.
1559         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1560         to mkmap-symver.awk.
1561         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1562         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1563         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1564         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1565         to mkmap-flat.awk.
1566         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1567         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1568         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1569         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1570         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1571         * config/i386/libgcc-darwin.10.4.ver,
1572         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1573         New files.
1574         * config/i386/t-darwin: Remove.
1575         * config/i386/t-darwin64: Likewise.
1576         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1577         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1578         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1579         * config/i386/t-linux: New file.
1580         * config/i386/t-mingw32: New file.
1581         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1582         * config/ia64/t-glibc: Rename to ...
1583         * config/ia64/t-linux: ... this.
1584         (SHLIB_MAPFILES): Set.
1585         * config/ia64/t-glibc-libunwind: Rename to ...
1586         * config/ia64/t-linux-libunwind: ... this.
1587         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1588         * config/ia64/t-slibgcc-hpux: New file.
1589         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1590         * config/m68k/t-slibgcc-elf-ver: New file.
1591         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1592         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1593         to mkmap-flat.awk.
1594         * config/pa/t-slibgcc-hpux: New file.
1595         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1596         files.
1597         * config/rs6000/libgcc-darwin.10.4.ver,
1598         config/rs6000/libgcc-darwin.10.5.ver: New files.
1599         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1600         config/rs6000/libgcc-glibc.ver.
1601         * config/rs6000/libgcc-ppc64.ver: Rename to
1602         config/rs6000/libgcc-ibm-ldouble.ver.
1603         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1604         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1605         * config/rs6000/t-ldbl128: Rename to ...
1606         * config/rs6000/t-linux: ... this.
1607         (SHLIB_MAPFILES): Adapt filename.
1608         * config/rs6000/t-slibgcc-aix: New file.
1609         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1610         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1611         libgcc-excl.ver, libgcc-glibc.ver.
1612         (SHLIB_LINK, SHLIB_INSTALL): Remove.
1613         * config/sparc/libgcc-glibc.ver: New file.
1614         * config/sparc/t-linux: New file.
1615         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1616         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1617         t-slibgcc-elf-ver to tmake_file.
1618         Add t-slibgcc-nolc-override to tmake_file for posix threads on
1619         *-*-freebsd[34].
1620         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1621         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1622         t-slibgcc-elf-ver, t-linux to tmake_file.
1623         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1624         tmake_file.
1625         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1626         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1627         (alpha*-dec-*vms*): Likewise.
1628         (arm*-*-freebsd*): Append to tmake_file.
1629         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1630         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1631         arm*-*-linux-*eabi.
1632         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1633         tmake_file for arm*-*-symbianelf*.
1634         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1635         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1636         cris/t-linux.
1637         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1638         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1639         pa/t-slibgcc-dwarf-ver to tmake_file.
1640         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1641         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1642         (hppa*64*-*-hpux11*): Likewise.
1643         (hppa[12]*-*-hpux11*): Likewise.
1644         (x86_64-*-darwin*): Don't override tmake_file, but only keep
1645         i386/t-crtpc, i386/t-crtfm.
1646         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1647         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1648         to tmake_file.
1649         Add i386/t-cygwin to tmake_file.
1650         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1651         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1652         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1653         to tmake_file.
1654         Add i386/t-mingw32 to tmake_file.
1655         (x86_64-*-mingw*): Likewise.
1656         (ia64*-*-freebsd*): Append to tmake_file.
1657         (ia64*-*-linux*): Append to tmake_file.
1658         Replace ia64/t-glibc by ia64/t-linux.
1659         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1660         system libunwind.
1661         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1662         t-slibgcc-hpux to tmake_file.
1663         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1664         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1665         (m32rle-*-linux*): Likewise.
1666         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1667         sjlj exceptions.
1668         (microblaze*-linux*): New case.
1669         Append to tmake_file, add t-slibgcc-nolc-override.
1670         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1671         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1672         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1673         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1674         rs6000/t-slibgcc-aix to tmake_file.
1675         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1676         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1677         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1678         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1679         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1680         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
1681         sh*-*-linux*.
1682         (sparc-*-linux*): Append to tmake_file for *-leon*.
1683         Add sparc/t-linux to tmake_file for non-Leon targets.
1684         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
1685         (tic6x-*-uclinux): New case.
1686         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
1687         (tic6x-*-*): Add c6x/t-elf to tmake_file.
1688         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
1689         (am33_2.0-*-linux*): Append to tmake_file.
1690         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1691         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
1692         x86_64-*-kfreebsd*-gnu.
1693         Add i386/t-linux to tmake_file.
1695 2011-10-28  Ian Lance Taylor  <iant@google.com>
1697         * config/i386/morestack.S: Correct CFI information to do proper
1698         returns throughout function.  In 32-bit mode, save %ebx so that it
1699         is restored on unwind.
1701 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
1703         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
1704         case where B3 isn't the return register.
1706         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
1707         logic for doubleword pops.
1709 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
1711         * config/rs6000/t-freebsd: Add wildcard.
1713 2011-10-21  Paul Brook  <paul@codesourcery.com>
1715         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
1717 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
1718             Eric Botcazou  <ebotcazou@adacore.com>
1720         PR target/50737
1721         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
1722         fs->signal_frame to 1.
1724 2011-10-07  Ian Lance Taylor  <iant@google.com>
1726         * generic-morestack-thread.c: #include <errno.h>.
1728 2011-10-07  Ian Lance Taylor  <iant@google.com>
1730         PR target/46093
1731         * generic-morestack.c (__generic_morestack): Make sure the segment
1732         is large enough for both the stack frame and the copied
1733         parameters.
1735 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1737         PR bootstrap/49804
1738         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
1739         extra_parts.
1741 2011-09-28  Nick Clifton  <nickc@redhat.com>
1743         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
1744         64-bit doubles are not enabled.
1745         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
1746         and floatunsisf functions.
1748 2011-09-13  Paul Brook  <paul@codesourcery.com>
1750         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
1751         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
1752         * unwind-arm-common.inc: New file.
1753         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
1754         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
1755         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
1756         * config/c6x/libunwind.S: New file.
1757         * config/c6x/pr-support.c: New file.
1758         * config/c6x/unwind-c6x.c: New file.
1759         * config/c6x/unwind-c6x.h: New file.
1760         * config/c6x/t-c6x-elf: New file.
1762 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
1764         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
1765         (ASM_DIVZERO): Ditto.
1766         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
1768 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
1770         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
1772 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
1774         PR target/50090
1775         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
1776         instead of an assembly one.
1778 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
1780         PR bootstrap/50047
1781         * Makefile.in (install-unwind_h): Create
1782         $(gcc_objdir)/include/unwind.h atomically.
1784 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1786         * Makefile.in (install-unwind_h): Remove destination file first.
1788 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1790         * sync.c: New file.
1791         * config/mips/t-mips16: New file.
1792         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
1793         (mips*-*-linux*): Likewise.
1794         (mips*-sde-elf*): Likewise.
1795         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
1796         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
1797         Add mips/t-mips16 to tmake_file.
1798         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
1799         (mips-*-elf*): Likewise.
1800         (mips64-*-elf*): Likewise.
1801         (mips64orion-*-elf*): Likewise.
1802         (mips*-*-rtems*): Likewise.
1803         (mipstx39-*-elf*): Likewise.
1804         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
1805         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
1806         LIBGCC_SYNC_CFLAGS.
1807         Use $(srcdir) to refer to sync.c.
1808         Use $<.
1809         ($(libgcc-sync-funcs-o)): Likewise.
1810         ($(libgcc-sync-size-funcs-s-o)): Likewise.
1811         ($(libgcc-sync-funcs-s-o)): Likewise.
1813 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1815         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
1816         t-libunwind.
1818 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
1820         PR other/48007
1821         * config/i386/value-unwind.h: New.
1823 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
1825         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
1826         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
1827         Add to tmake_file rather than overriding it.
1829 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1831         * config/t-softfp: Remove.
1832         * soft-fp: Moved from ../gcc/config.
1833         * soft-fp/README: Remove t-softfp reference.
1834         * soft-fp/t-softfp: Move to config/t-softfp.
1835         (softfp_machine_header): Remove.
1836         (softfp_file_list): Remove config subdir.
1837         (soft-fp-objects): New variable.
1838         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
1839         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
1840         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
1841         * config/t-softfp-excl: New file.
1842         * config/t-softfp-sfdf: New file.
1843         * config/t-softfp-tf: New file.
1844         * config/no-sfp-machine.h: New file.
1845         * config/arm/sfp-machine.h: New file.
1846         * config/arm/t-softfp: New file.
1847         * config/c6x/sfp-machine.h: New file.
1848         * config/i386/32/t-fprules-softfp: Rename to ...
1849         * config/i386/32/t-softfp: ... this.
1850         (tifunctions, LIB2ADD): Remove.
1851         (softfp_int_modes): Override.
1852         * config/i386/64/t-softfp-compat (tf-functions): Remove config
1853         subdir.
1854         * config/i386/64/eqtf2.c: Likewise.
1855         * config/i386/64/getf2.c: Likewise.
1856         * config/i386/64/letf2.c: Likewise.
1857         * config/ia64/sft-machine.h: New file.
1858         * config/ia64/t-fprules-softfp: Rename to ...
1859         * config/ia64/t-softfp: ... this.
1860         * config/lm32/sfp-machine.h: New file.
1861         * config/moxie/t-moxie-softfp: Remove.
1862         * config/rs6000/ibm-ldouble-format: New file.
1863         * config/rs6000/ibm-ldouble.c: New file.
1864         * config/rs6000/libgcc-ppc-glibc.ver: New file
1865         * config/rs6000/libgcc-ppc64.ver: New file
1866         * config/rs6000/sfp-machine.h: New file.
1867         * config/rs6000/t-freebsd: New file.
1868         * config/rs6000/t-ibm-ldouble: New file.
1869         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
1870         libgcc-ppc-glibc.ver.
1871         * config/rs6000/t-linux64: New file.
1872         * config/rs6000/t-ppccomm (LIB2ADD): Add
1873         $(srcdir)/config/rs6000/ibm-ldouble.c.
1874         * config/rs6000/t-ppccomm-ldbl: New file.
1875         * config/score/sfp-machine.h: New file.
1876         * config.host (sfp_machine_header): Explain.
1877         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
1878         t-softfp to tmake_file.
1879         (arm*-*-uclinux*): Likewise.
1880         (arm*-*-ecos-elf): Likewise.
1881         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1882         (arm*-*-rtems*): Likewise.
1883         (arm*-*-elf): Likewise.
1884         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
1885         in tmake_file.
1886         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
1887         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
1888         (lm32-*-uclinux*): Likewise.
1889         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
1890         t-softfp-excl, t-softfp.
1891         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
1892         (powerpc64-*-darwin*): Likewise.
1893         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
1894         to tmake_file.
1895         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
1896         tmake_file.
1897         (powerpc-*-eabisim*): Likewise.
1898         (powerpc-*-elf*): Likewise.
1899         (powerpc-*-eabialtivec*): Likewise.
1900         (powerpc-xilinx-eabi*): Likewise.
1901         (powerpc-*-rtems*): Likewise.
1902         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
1903         t-softfp-excl, t-softfp to tmake_file.
1904         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
1905         rs6000/t-ppccomm-ldbl to tmake_file.
1906         (powerpcle-*-elf*): Likewise.
1907         (powerpcle-*-eabisim*): Likewise.
1908         (powerpcle-*-eabi*): Likewise.
1909         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1910         rs6000/t-ibm-ldouble to tmake_file.
1911         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1912         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1913         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
1914         (tic6x-*-*): Likewise.
1915         (i[34567]86-*-darwin*, x86_64-*-darwin*,
1916         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
1917         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
1918         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
1919         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
1920         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
1921         t-softfp to tmake_file.
1922         * configure.ac (sfp_machine_header): Provide default if unset.
1923         Substitute.
1924         Link sfp-machine.h to config/$sfp_machine_header.
1925         * configure: Regenerate.
1927 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1929         * Makefile.in (double_type_size, long_double_type_size): Set.
1930         Remove $(fpbit-in-libgcc) support.
1931         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
1932         (fpbit-src): New variable.
1933         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
1934         Compile with -DFLOAT $(FPBIT_CFLAGS).
1935         Use $<.
1936         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
1937         Compile with $(FPBIT_CFLAGS).
1938         Use $<.
1939         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
1940         Compile with -DFLOAT $(TPBIT_CFLAGS).
1941         Use $<.
1942         * configure.ac (double_type_size, long_double_type_size):
1943         Determine and substitute.
1944         * configure: Regenerate.
1945         * fp-bit.c, fp-bit.h: New files.
1946         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
1947         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
1948         * config/mips/t-mips: New file.
1949         * config/mips/t-sdemtk: New file.
1950         * config/rs6000/ppc64-fp.c: New file.
1951         * config/rs6000/t-darwin (LIB2ADD): Add
1952         $(srcdir)/config/rs6000/ppc64-fp.c.
1953         * config/rs6000/t-ppc64-fp: New file.
1954         * config/rx/rx-lib.h: New file.
1955         * config/rx/t-rx (FPBIT): Set to true.
1956         ($(gcc_objdir)/fp-bit.c): Remove.
1957         (DPBIT): Set to true only with -m64bit-doubles.
1958         ($(gcc_objdir)/dp-bit.c): Remove.
1959         * config/sparc/t-softfp: Remove.
1960         * config/spu/t-elf: New file.
1961         * config/t-fdpbit, config/t-fpbit: New files.
1962         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
1963         (mips*-*-*): Likewise.
1964         (arm-wrs-vxworks): Likewise.
1965         (arm*-*-freebsd*): Likewise.
1966         (avr-*-rtems*): Add t-fpbit to tmake_file.
1967         (avr-*-*): Likewise.
1968         (bfin*-elf*): Add t-fdpbit to tmake_file.
1969         (bfin*-uclinux*): Likewise.
1970         (bfin*-linux-uclibc*): Likewise.
1971         (bfin*-rtems*): New case.
1972         Add t-fdpbit to tmake_file.
1973         (bfin*-*): Add t-fdpbit to tmake_file.
1974         (crisv32-*-elf): Likewise.
1975         (cris-*-linux*): Likewise.
1976         (fr30-*-elf): Likewise.
1977         (frv-*-elf, frv-*-*linux*): Likewise.
1978         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
1979         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
1980         (m32r-*-elf*): Likewise.
1981         (m32rle-*-elf*): Likewise.
1982         (m32r-*-linux*): Likewise.
1983         (m32rle-*-linux*): Likewise.
1984         (mcore-*-elf): Add t-fdpbit to tmake_file.
1985         (microblaze*-*-*): Likewise.
1986         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
1987         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
1988         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
1989         Fix typo.
1990         Add mips/t-tpbit to tmake-file.
1991         (mips*-*-linux*): Fix typo.
1992         (mips*-sde-elf*): New case
1993         Add mips/t-sdemtk unless using newlib.
1994         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
1995         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
1996         (mn10300-*-*): Likewise.
1997         (pdp11-*-*): Likewise.
1998         (picochip-*-*): Add t-fpbit to tmake_file.
1999         (powerpc-*-eabisimaltivec*): Likewise.
2000         (powerpc-*-eabisim*): Likewise.
2001         (powerpc-*-elf*): Likewise.
2002         (powerpc-*-eabialtivec*): Likewise.
2003         (powerpc-xilinx-eabi*): New case.
2004         Add t-fdpbit to tmake_file.
2005         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
2006         (powerpc-*-rtems*): Likewise.
2007         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2008         tmake_file.
2009         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2010         tmake_file.
2011         (powerpc-*-lynxos*): Likewise.
2012         (powerpcle-*-elf*): Likewise.
2013         (powerpcle-*-eabisim*): Likewise.
2014         (powerpcle-*-eabi*): Likewise.
2015         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2016         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2017         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2018         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2019         (rx-*-elf): Add t-fdpbit to tmake_file.
2020         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2021         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2022         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2023         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2024         sh*-*-netbsd*.
2025         (sh-*-rtems*): Add t-fdpbit to tmake_file.
2026         (sh-wrs-vxworks): Likewise.
2027         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2028         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2029         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2030         (sparc64-*-rtems*): ... new case.
2031         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2032         (spu-*-elf*): Likewise.
2033         Add spu/t-elf to tmake_file.
2034         (v850*-*-*): Add t-fdpbit to tmake_file.
2035         (xstormy16-*-elf): Likewise.
2036         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2037         (mep*-*-*): Likewise.
2039 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2041         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2042         variables.
2043         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2044         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2045         (install-unwind_h): New target.
2046         (all): Depend on it.
2047         * config.host (unwind_header): New variable.
2048         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2049         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2050         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2051         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2052         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2053         Set unwind_header.
2054         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2055         Set unwind_header.
2056         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2057         arm*-*-eabi*.
2058         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2059         Set unwind_header.
2060         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2061         (ia64*-*-freebsd*): Likewise.
2062         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2063         tmake_file.
2064         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2065         $with_system_libunwind.
2066         (ia64*-*-hpux*): Set tmake_file.
2067         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2068         (picochip-*-*): Set tmake_file.
2069         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2070         md_unwind_header.
2071         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2072         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2073         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2074         (xtensa*-*-elf*): Set tmake_file.
2075         (xtensa*-*-linux*): Likewise.
2076         * configure.ac: Include ../config/unwind_ipinfo.m4.
2077         Call GCC_CHECK_UNWIND_GETIPINFO.
2078         Link unwind.h to $unwind_header.
2079         * configure: Regenerate.
2080         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2081         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2082         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2083         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2084         * config/unwind-dw2-fde-darwin.c: New file.
2085         * config/arm/libunwind.S, config/arm/pr-support.c,
2086         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2087         config/arm/unwind-arm.h,: New files.
2088         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2089         config/ia64/t-eh-ia64, config/ia64/t-glibc,
2090         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2091         config/ia64/t-vms, config/ia64/unwind-ia64.c,
2092         config/ia64/unwind-ia64.h: New files.
2093         * config/picochip/t-picochip: New file.
2094         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2095         files.
2096         * config/rs6000/t-darwin (LIB2ADDEH): Set.
2097         * config/s390/t-tpf (LIB2ADDEH): Remove.
2098         * config/t-darwin (LIB2ADDEH): Set.
2099         * config/t-eh-dw2-dip: New file.
2100         * config/t-libunwind, config/t-libunwind-elf: New files.
2101         * config/t-sol2 (LIB2ADDEH): Remove.
2102         * config/xtensa/t-xtensa: New file.
2104 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
2106         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2107         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2108         long long to check rt_sigreturn syscall.
2110 2011-08-02  Alan Modra  <amodra@gmail.com>
2112         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2113         Restore for indirect call bcrtl from correct stack slot, and only
2114         if cfa+40 isn't valid.
2116 2011-08-01  Julian Brown  <julian@codesourcery.com>
2118         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2119         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2120         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2122 2011-08-01  Julian Brown  <julian@codesourcery.com>
2124         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2125         (libgcc-std.ver.in): Use above.
2126         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2127         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
2128         throughout file.
2129         * config/t-fixedpoint-gnu-prefix: New file.
2130         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2131         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2132         instead of __PFX__.
2134 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2136         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2137         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2138         for x86-64.  Properly check __x86_64__ and __LP64__.
2140 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2142         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2143         version.
2144         (_FP_WS_TYPE): Likewise.
2145         (_FP_I_TYPE): Likewise.
2147 2011-07-28  Alan Modra  <amodra@gmail.com>
2149         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2150         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2151         in a plt call stub.  Do restore r2 if stopped on bctrl.
2153 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2155         * config.host (i[3456x]86-*-netware*): Remove.
2156         * config/i386/netware-crt0.c, config/i386/t-nwld,
2157         config/i386/t-slibgcc-nwld: Remove.
2159 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
2161         * config.host: Handle tic6x-*-*.
2162         * config/c6x/c6x-abi.h: New file.
2164 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2166         * config/i386/crtprec.c: New file.
2167         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2168         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2169         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2170         (x86_64-*-darwin*): Likewise.
2171         (i[34567]86-*-solaris2*: Likewise.
2173 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2175         * config/alpha/crtfastmath.c: New file.
2176         * config/i386/crtfastmath.c: New file.
2177         * config/ia64/crtfastmath.c: New file.
2178         * config/mips/crtfastmath.c: New file.
2179         * config/sparc/crtfastmath.c: New file.
2181         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2182         crtfastmath.c.
2183         Add -frandom-seed=gcc-crtfastmath.
2184         * config/alpha/t-crtfm: Remove.
2185         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2186         * config/ia64/t-ia64 (crtfastmath.o): Remove.
2188         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2189         (alpha*-dec-osf5.1*): Likewise.
2190         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2191         Add crtfastmath.o to extra_parts.
2192         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2193         Add crtfastmath.o to extra_parts.
2194         (x86_64-*-darwin*): Likewise.
2195         (x86_64-*-mingw*): Likewise.
2196         (ia64*-*-elf*): Add t-crtfm to tmake_file.
2197         (ia64*-*-freebsd*): Likewise.
2198         (ia64*-*-linux*): Likewise.
2199         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2200         Add crtfastmath.o to extra_parts.
2202 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2204         * config/darwin-crt3.o: New file.
2205         * config/rs6000/darwin-crt2.c: New file.
2206         * config/t-darwin: New file.
2207         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2208         (crt2.o): New rule.
2209         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2210         (powerpc-*-darwin*): Add crt2.o to extra_parts.
2211         (powerpc64-*-darwin*): Likewise.
2213 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2215         * config/i386/netware-crt0.c: New file.
2216         * config/i386/t-nwld: Rename to ...
2217         * config/i386/t-slibgcc-nwld: ... this.
2218         * config/i386/t-nwld: New file.
2219         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2220         tmake_file.
2221         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2222         extra_parts.
2224 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2226         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2227         i386/t-crtstuff.
2228         * configure: Regenerate.
2230 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2232         * dfp-bit.c, dfp-bit.h: New files.
2233         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2234         variables.
2235         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2236         ($(d64pbit-o)): Likewise.
2237         ($(d128pbit-o)): Likewise.
2238         * config/t-dfprules: New file.
2239         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2240         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2241         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2242         (x86_64-*-linux*): Likewise.
2243         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2244         (i[34567]86-*-cygwin*): Likewise.
2245         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
2246         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2248 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2250         * Makfile.in (LIBGCOV): New variable.
2251         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2252         * libgcov.c: New file.
2254 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2256         * fixed-bit.c, fixed-bit.h: New files.
2257         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2258         refer to fixed-bit.c.
2260 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
2262         * config.host (*local*): Remove.
2264 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2266         PR target/39150
2267         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2268         like i?86-*-solaris2.1[0-9]*.
2269         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2270         * configure.ac (i?86-*-solaris2*): Likewise.
2271         * configure: Regenerate.
2273 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
2275         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2276         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2277         md_unwind_header by splitting out of...
2278         (i[34567]86-*-linux*): ... this.
2279         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2280         Remove md_unwind_header by splitting out of...
2281         (x86_64-*-linux*): ... this.
2283 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
2285         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2287 2011-06-28  Nick Clifton  <nickc@redhat.com>
2289         * config.host: Recognize all V850 variants.
2291 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
2293         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2295 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2297         * shared-object.mk (c_flags-$o): Save c_flags.
2298         ($(base)$(objext)): Use it.
2299         ($(base)_s$(objext)): Likewise.
2301 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
2303         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2304         * libgcc-std.ver.in (GCC_4.7.0): New section.
2306 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
2308         PR target/49313
2309         PR target/29524
2310         * config/avr/t-avr: Fix line endings.
2311         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
2312         _parityXX2.
2314 2011-06-14  Olivier Hainque  <hainque@adacore.com>
2315             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2317         * config/mips/irix6-unwind.h: New file.
2318         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2320 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
2322         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2323         (sparc64_fallback_frame_state): Use it.
2324         (sparc64_frob_update_context): Further adjust context.
2325         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2326         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2327         * config/sparc/sol2-cn.S: Likewise.
2329 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2331         * enable-execute-stack-empty.c: New file.
2332         * enable-execute-stack-mprotect.c: New file.
2333         * config/i386/enable-execute-stack-mingw32.c: New file.
2334         * config.host (enable_execute_stack): New variable.
2335         Select appropriate variants.
2336         * configure.ac: Link enable-execute-stack.c to
2337         $enable_execute_stack.
2338         * configure: Regenerate.
2339         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2340         (lib2funcs): Remove _enable_execute_stack.
2342 2011-06-09  David S. Miller  <davem@davemloft.net>
2343             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2345         * config.host (sparc-*-linux*): Correct md_unwind_header
2346         filename.
2347         (s390x-ibm-tpf*): Fix typo.
2349 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2351         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2352         Add crtfastmath.o to extra_parts.
2353         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2354         mips/t-crtfm.
2355         * config/mips/t-crtfm: Remove.
2357 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2359         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2361 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2363         * config.host (sh*-*-linux*): Fix typo.
2365 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2367         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2368         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2369         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2370         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2371         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2372         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2373         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2374         Wrap in !__MINGW64__.
2375         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2376         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2377         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2378         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2379         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2380         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2381         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2382         Wrap in !__LP64__.
2383         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2384         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2385         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2386         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2387         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2388         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2389         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2390         * config/no-unwind.h: New file.
2391         * config.host (md_unwind_header): Document.
2392         Define.
2393         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2394         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2395         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2396         hppa[12]*-*-hpux11*): Set md_unwind_header.
2397         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2398         Set md_unwind_header.
2399         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2400         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2401         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2402         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2403         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2404         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2405         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2406         md_unwind_header.
2407         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2408         * configure: Regenerate.
2410 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2412         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2413         Set tmake_file, extra_parts.
2414         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2415         Remove O32 support.
2416         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2417         Remove O32 support.
2418         * config/mips/t-irix6: New file.
2419         * config/mips/t-slibgcc-irix: New file.
2421 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2423         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2424         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2426 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2428         * configure.ac (target_thread_file): Determine thread model.
2429         * configure: Regenerate.
2430         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2431         * config/alpha/t-alpha: New file.
2432         * config/alpha/t-crtfm: Use $<.
2433         * config/alpha/t-ieee: New file.
2434         * config/alpha/t-osf-pthread: New file.
2435         * config/alpha/t-slibgcc-osf: New file.
2436         * config/alpha/libgcc-osf5.ver: New file.
2438 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2440         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2441         tmake_file.
2442         Add crtfastmath.o to extra_parts.
2444 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2446         * config/gmon-sol2.c: Reindent.
2447         Cleanup comments.
2448         Remove, correct casts.
2449         Use STDERR_FILENO, NULL.
2450         (BASEADDRESS): Remove.
2451         (minbrk): Remove.
2452         (errno, sbrk): Remove declarations.
2453         (monstartup) [hp300]: Remove.
2454         (mcount): Remove.
2456 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2458         * Makefile.in (cpu_type): Define.
2459         * config.host (i[34567]86-*-rtems*): Handle it.
2460         (i[34567]86-*-solaris2*): Move body ...
2461         (*-*-solaris2*): ... here.
2462         New case, generalize.
2463         (sparc-*-elf*): Handle it.
2464         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2465         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2466         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2467         Fold into ...
2468         (sparc*-*-solaris2*): ... this.
2469         New case.
2470         (sparc64-*-elf*): Handle it.
2471         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2472         Merge ../gcc/config/i386/gmon-sol2.c.
2473         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2474         Use C comments.
2475         Merge ../gcc/config/i386/sol2-gc1.asm.
2476         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2477         Use C comments.
2478         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2479         Use C comments.
2480         * config/i386/t-crtfm (crtfastmath.o): Use $<.
2481         * config/i386/t-crtstuff: New file.
2482         * config/i386/t-softfp: New file.
2483         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2484         $(T)crti.o, $(T)crtn.o): Remove.
2485         (gcrt1.o): New rule.
2486         (TARGET_LIBGCC2_CFLAGS): Remove.
2487         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2488         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2489         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2490         * config/sparc/t-sol2: New file.
2491         * config/sparc/t-crtfm: Move to ...
2492         * config/t-crtfm: ... this.
2493         Use $(cpu_type), $<.
2494         * config/t-crtin: New file.
2495         * config/sparc/t-softfp: New file.
2496         * config/sparc/t-softmul: New file.
2497         * config/t-rtems: New file.
2498         * config/t-slibgcc: New file.
2499         * config/t-slibgcc-elf-ver: New file.
2500         * config/t-slibgcc-gld: New file.
2501         * config/t-slibgcc-sld: New file.
2502         * config/t-sol2: New file.
2503         * configure.ac: Include ../config/lib-ld.m4.
2504         Call AC_LIB_PROG_LD_GNU.
2505         Substitute cpu_type.
2506         * configure: Regenerate.
2508 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
2510         PR bootstrap/49173
2511         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2512         libgcc-std.ver in the build directory.
2513         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2514         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2516 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
2518         * libgcc-std.ver.in: New file.
2519         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2520         variables.
2521         (libgcc-std.ver): New rule.
2522         * config/t-gnu-prefix: New file.
2524 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2526         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2528 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
2530         * config/i386/darwin-lib.h: New file.
2532 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
2534         * config/arm/symbian-lib.h: New.
2536 2011-05-04  Chris Demetriou  <cgd@google.com>
2538         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2539         (__x86.get_pc_thunk.bx): ...this.
2540         (__morestack): Adjust for rename, remove undef of __i686.
2542 2011-05-03  Chris Demetriou  <cgd@google.com>
2544         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2546 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
2548         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2549         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2550         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2551         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2552         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2553         Remove cases.
2555 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
2557         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2558         Adjust copyright year.
2560 2011-03-07  Ian Lance Taylor  <iant@google.com>
2562         * generic-morestack.c (__splitstack_find): Adjust returned stack
2563         pointer to include all registers pushed by __morestack.
2565 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
2567         PR target/40125
2568         * configure.ac: Call ACX_NONCANONICAL_TARGET.
2569         (toolexecdir): Calculate and AC_SUBST.
2570         (toolexeclibdir): Likewise.
2571         * Makefile.in (target_noncanonical): Import.
2572         (toolexecdir): Likewise.
2573         (toolexeclibdir): Likewise.
2574         * configure: Regenerate.
2576 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
2578         PR target/46040
2579         * config/arm/bpabi.h: Rename to...
2580         * config/arm/bpabi-lib.h: ...this.
2582 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2584         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2585         appropriate.
2586         * configure: Regenerate.
2588 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
2590         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2591         __FLOAT_WORD_ORDER__.
2592         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2593         Delete.
2595 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2597         PR other/46202
2598         * Makefile.in (install-strip): New phony target.
2600 2010-11-07  Ian Lance Taylor  <iant@google.com>
2602         PR target/46089
2603         * config/i386/morestack.S (__morestack_large_model): New
2604         function.
2606 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
2608         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2609         Delete.
2610         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2612 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
2614         * config/arm/bpabi.h: New file.
2615         * config/frv/frv-abi.h: New file.
2617 2010-10-01  Ian Lance Taylor  <iant@google.com>
2619         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2620         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2622 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
2624         PR target/45858
2625         * config.host: Add the missing `$'.
2627 2010-09-30  Michael Eager  <eager@eagercon.com>
2629         * config.host: Add microblaze*-*-*.
2630         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2631         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2632         udivsi3.asm,umodsi3.asm}:  New.
2634 2010-09-28  Ian Lance Taylor  <iant@google.com>
2636         * configure.ac: Adjust CFI test to test assembler directly rather
2637         than checking gcc preprocessor macro.
2638         * configure: Rebuild.
2640 2010-09-27  Ian Lance Taylor  <iant@google.com>
2642         * configure.ac: Test whether assembler supports CFI directives.
2643         * config.host: Only add t-stack and i386/t-stack-i386 to
2644         tmake_file if libgcc_cv_cfi is "yes".
2645         * configure: Rebuild.
2647 2010-09-27  Ian Lance Taylor  <iant@google.com>
2649         * generic-morestack.h: New file.
2650         * generic-morestack.c: New file.
2651         * generic-morestack-thread.c: New file.
2652         * config/i386/morestack.S: New file.
2653         * config/t-stack: New file.
2654         * config/i386/t-stack-i386: New file.
2655         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2656         i386/t-stack-i386 to tmake_file.
2658 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
2660         * Makefile.in (libgcc-extra-parts):  Check for static archives and
2661         invoke ranlib after installing them.
2662         (gcc-extra-parts): Likewise.
2663         (install-leaf): Likewise.
2665 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
2667         * configure: Regenerated.
2669 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
2671         * configure: Regenerated.
2673 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
2674             Andrew Pinski  <pinskia@gmail.com>
2676         PR target/40959
2677         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
2679 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2681         PR target/45524
2682         * configure: Regenerated.
2684 2010-09-06  Andreas Schwab  <schwab@redhat.com>
2686         * configure: Regenerate.
2688 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
2690         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
2691         64bit targets.
2692         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
2693         for 64bit targets.
2695 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
2696             Iain Sandoe  <iains@gcc.gnu.org>
2698         PR target/45476
2699         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
2700         LIB2FUNCS_EXCLUDE functions.
2702 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2704         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
2705         Include dfp.m4.
2706         * configure: Regenerate.
2708 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
2710         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
2711         i386/t-freebsd to tmake_file.
2712         * config/i386/t-freebsd: New file.
2713         * config/i386/libgcc-bsd.ver: New file.
2715 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
2717         * config.host (powerpc*-eabispe*): Set tmake_file.
2718         (powerpc*-eabi*): Likewise.
2719         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
2720         crtbeginS, crtendS, crtbeginT.
2722 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
2724         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
2725         to tmake_file.  Add crtfastmath.o to extra_parts.
2726         * config/mips/t-crtfm: New.
2728 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
2730         * config.host (sparc64-*-rtems*): New target.
2732 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2734         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2735         assembler syntax.
2737 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
2739         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
2741 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2743         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
2744         alpha-dec-osf5.0* support.
2746 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
2748         * config.host: Add lm32-*-rtems*.
2750 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2751             Uros Bizjak <ubizjak@gmail.com>
2753         PR target/39048
2754         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
2755         like other remaining 32-bit x86 OSes.
2756         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2757         assembler syntax.
2758         * config/i386/libgcc-sol2.ver: New file.
2759         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
2761 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
2763         PR c/43553
2764         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
2765         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
2766         is used and substitute set_use_emutls.
2767         * configure: Regenerated.
2769 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
2771         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
2773 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2775         PR target/38085
2776         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
2777         MULTILIB_CFLAGS.
2778         ($(T)gcrt1.o): Likewise.
2779         ($(T)crt1.o): Likewise.
2780         ($(T)crti.o): Likewise.
2781         ($(T)crtn.o): Likewise.
2783 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2785         PR other/42980
2786         * Makefile.in (install): Use $(MAKE) string in rule, for
2787         parallel make.
2789 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
2791         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
2792         * config/mmix/t-mmix: New file.
2793         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
2795 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
2797         PR java/41991
2798         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
2799         SHLIB_MAPFILES.
2801 2010-01-04  Anthony Green  <green@moxielogic.com>
2803         * config/moxie/crti.asm, config/moxie/crtn.asm,
2804         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
2805         config/moxie/t-moxie: New files.
2806         * config.host: Add t-moxie-softfp reference.
2808 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
2810         PR other/39888
2811         * config/t-slibgcc-darwin: Fix embedded rpaths for
2812         --enable-version-specific-runtime-libs, build extension stub
2813         libs exposing features available from current libgcc_s.
2815 2009-11-11  Jon Beniston <jon@beniston.com>
2817         * config.host: Add lm32 targets.
2818         * config/lm32: New directory.
2819         * config/lm32/libgcc_lm32.h: New file.
2820         * config/lm32/_mulsi3.c: New file.
2821         * config/lm32/_udivmodsi4.c: New file.
2822         * config/lm32/_divsi3.c: New file.
2823         * config/lm32/_modsi3.c: New file.
2824         * config/lm32/_udivsi3.c: New file.
2825         * config/lm32/_umodsi3.c: New file.
2826         * config/lm32/_lshrsi3.S: New file.
2827         * config/lm32/_ashrsi3.S: New file.
2828         * config/lm32/_ashlsi3.S: New file.
2829         * config/lm32/crti.S: New file.
2830         * config/lm32/crtn.S: New file.
2831         * config/lm32/t-lm32: New file.
2832         * config/lm32/t-elf: New file.
2833         * config/lm32/t-uclinux: New file.
2835 2009-10-26  Nick Clifton  <nickc@redhat.com>
2837         * config.host: Add support for RX target.
2838         * config/rx: New directory.
2839         * config/rx/rx-abi-functions.c: New file. Supplementary
2840         functions for libgcc to support the RX ABI.
2841         * config/rx/rx-abi.h: New file.  Supplementary header file for
2842         libgcc RX ABI functions.
2843         * config/rx/t-rx: New file: Makefile fragment for building
2844         libgcc for the RX.
2846 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
2848         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
2849         constraint of y0 to "g".
2851 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2853         * config.host: Include the s390 makefile fragments.
2854         * config/s390/32/_fixdfdi.c: New file.
2855         * config/s390/32/_fixsfdi.c: New file.
2856         * config/s390/32/_fixtfdi.c: New file.
2857         * config/s390/32/_fixunsdfdi.c: New file.
2858         * config/s390/32/_fixunssfdi.c: New file.
2859         * config/s390/32/_fixunstfdi.c: New file.
2860         * config/s390/32/t-floattodi: New file.
2861         * config/s390/libgcc-glibc.ver: New file.
2862         * config/s390/t-crtstuff: New file.
2863         * config/s390/t-linux: New file.
2864         * config/s390/t-tpf: New file.
2866 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2868         * configure.ac (AC_PREREQ): Bump to 2.64.
2870 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
2872         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
2874 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2876         * configure: Regenerate.
2878 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
2880         * config.host (ia64-hp-*vms*): New target.
2881         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
2882         with ia64-hp-*vms*.
2884 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2886         * configure.ac: Add snippet for maintainer-mode.
2887         * configure: Regenerate.
2888         * Makefile.in (AUTOCONF, configure_deps): New variables.
2889         ($(srcdir)/configure)): New rule, active only with maintainer
2890         mode turned on.
2892 2009-06-23  DJ Delorie  <dj@redhat.com>
2894         Add MeP port.
2895         * config.host: Add mep support.
2897 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
2899         * config.host: Add i386/${host_address}/t-fprules-softfp and
2900         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
2902         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
2903         for mingw targets.
2904         * config/i386/64/_multc3.c: Likewise.
2905         * config/i386/64/_powitf2.c: Likewise.
2906         * config/i386/64/eqtf2.c: Likewise.
2907         * config/i386/64/getf2.c: Likewise.
2908         * config/i386/64/letf2.c: Likewise.
2909         * config/i386/64/letf2.c: Likewise.
2910         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
2911         unsigned long long for x64 mingw targets.
2912         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
2913         (_FP_I_TYPE): Define as long long for x64 mingw target.
2915 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
2917         * config.host (vax-*-linux*): New.
2919 2009-05-31  Anthony Green  <green@moxielogic.com>
2921         * config.host: Add moxie support.
2922         * config/moxie/t-moxie: New file.
2924 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
2926         * config.host: Add i386/${host_address}/t-fprules-softfp and
2927         t-softfp to tmake_file for i[34567]86-*-cygwin*.
2929 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
2931         * config.host: Add i386/${host_address}/t-fprules-softfp to
2932         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
2934 2009-04-09  Nick Clifton  <nickc@redhat.com>
2936         * config/ia64/tf-signs.c: Change copyright header to refer to
2937         version 3 of the GNU General Public License with version 3.1
2938         of the GCC Runtime Library Exception and to point readers at
2939         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
2940         web page.
2941         * config/i386/32/tf-signs.c: Likewise.
2942         * config/libbid/_addsub_dd.c: Likewise.
2943         * config/libbid/_addsub_sd.c: Likewise.
2944         * config/libbid/_addsub_td.c: Likewise.
2945         * config/libbid/_dd_to_df.c: Likewise.
2946         * config/libbid/_dd_to_di.c: Likewise.
2947         * config/libbid/_dd_to_sd.c: Likewise.
2948         * config/libbid/_dd_to_sf.c: Likewise.
2949         * config/libbid/_dd_to_si.c: Likewise.
2950         * config/libbid/_dd_to_td.c: Likewise.
2951         * config/libbid/_dd_to_tf.c: Likewise.
2952         * config/libbid/_dd_to_udi.c: Likewise.
2953         * config/libbid/_dd_to_usi.c: Likewise.
2954         * config/libbid/_dd_to_xf.c: Likewise.
2955         * config/libbid/_df_to_dd.c: Likewise.
2956         * config/libbid/_df_to_sd.c: Likewise.
2957         * config/libbid/_df_to_td.c: Likewise.
2958         * config/libbid/_di_to_dd.c: Likewise.
2959         * config/libbid/_di_to_sd.c: Likewise.
2960         * config/libbid/_di_to_td.c: Likewise.
2961         * config/libbid/_div_dd.c: Likewise.
2962         * config/libbid/_div_sd.c: Likewise.
2963         * config/libbid/_div_td.c: Likewise.
2964         * config/libbid/_eq_dd.c: Likewise.
2965         * config/libbid/_eq_sd.c: Likewise.
2966         * config/libbid/_eq_td.c: Likewise.
2967         * config/libbid/_ge_dd.c: Likewise.
2968         * config/libbid/_ge_sd.c: Likewise.
2969         * config/libbid/_ge_td.c: Likewise.
2970         * config/libbid/_gt_dd.c: Likewise.
2971         * config/libbid/_gt_sd.c: Likewise.
2972         * config/libbid/_gt_td.c: Likewise.
2973         * config/libbid/_isinfd128.c: Likewise.
2974         * config/libbid/_isinfd32.c: Likewise.
2975         * config/libbid/_isinfd64.c: Likewise.
2976         * config/libbid/_le_dd.c: Likewise.
2977         * config/libbid/_le_sd.c: Likewise.
2978         * config/libbid/_le_td.c: Likewise.
2979         * config/libbid/_lt_dd.c: Likewise.
2980         * config/libbid/_lt_sd.c: Likewise.
2981         * config/libbid/_lt_td.c: Likewise.
2982         * config/libbid/_mul_dd.c: Likewise.
2983         * config/libbid/_mul_sd.c: Likewise.
2984         * config/libbid/_mul_td.c: Likewise.
2985         * config/libbid/_ne_dd.c: Likewise.
2986         * config/libbid/_ne_sd.c: Likewise.
2987         * config/libbid/_ne_td.c: Likewise.
2988         * config/libbid/_sd_to_dd.c: Likewise.
2989         * config/libbid/_sd_to_df.c: Likewise.
2990         * config/libbid/_sd_to_di.c: Likewise.
2991         * config/libbid/_sd_to_sf.c: Likewise.
2992         * config/libbid/_sd_to_si.c: Likewise.
2993         * config/libbid/_sd_to_td.c: Likewise.
2994         * config/libbid/_sd_to_tf.c: Likewise.
2995         * config/libbid/_sd_to_udi.c: Likewise.
2996         * config/libbid/_sd_to_usi.c: Likewise.
2997         * config/libbid/_sd_to_xf.c: Likewise.
2998         * config/libbid/_sf_to_dd.c: Likewise.
2999         * config/libbid/_sf_to_sd.c: Likewise.
3000         * config/libbid/_sf_to_td.c: Likewise.
3001         * config/libbid/_si_to_dd.c: Likewise.
3002         * config/libbid/_si_to_sd.c: Likewise.
3003         * config/libbid/_si_to_td.c: Likewise.
3004         * config/libbid/_td_to_dd.c: Likewise.
3005         * config/libbid/_td_to_df.c: Likewise.
3006         * config/libbid/_td_to_di.c: Likewise.
3007         * config/libbid/_td_to_sd.c: Likewise.
3008         * config/libbid/_td_to_sf.c: Likewise.
3009         * config/libbid/_td_to_si.c: Likewise.
3010         * config/libbid/_td_to_tf.c: Likewise.
3011         * config/libbid/_td_to_udi.c: Likewise.
3012         * config/libbid/_td_to_usi.c: Likewise.
3013         * config/libbid/_td_to_xf.c: Likewise.
3014         * config/libbid/_tf_to_dd.c: Likewise.
3015         * config/libbid/_tf_to_sd.c: Likewise.
3016         * config/libbid/_tf_to_td.c: Likewise.
3017         * config/libbid/_udi_to_dd.c: Likewise.
3018         * config/libbid/_udi_to_sd.c: Likewise.
3019         * config/libbid/_udi_to_td.c: Likewise.
3020         * config/libbid/_unord_dd.c: Likewise.
3021         * config/libbid/_unord_sd.c: Likewise.
3022         * config/libbid/_unord_td.c: Likewise.
3023         * config/libbid/_usi_to_dd.c: Likewise.
3024         * config/libbid/_usi_to_sd.c: Likewise.
3025         * config/libbid/_usi_to_td.c: Likewise.
3026         * config/libbid/_xf_to_dd.c: Likewise.
3027         * config/libbid/_xf_to_sd.c: Likewise.
3028         * config/libbid/_xf_to_td.c: Likewise.
3029         * config/libbid/bid128.c: Likewise.
3030         * config/libbid/bid128_2_str.h: Likewise.
3031         * config/libbid/bid128_2_str_macros.h: Likewise.
3032         * config/libbid/bid128_2_str_tables.c: Likewise.
3033         * config/libbid/bid128_add.c: Likewise.
3034         * config/libbid/bid128_compare.c: Likewise.
3035         * config/libbid/bid128_div.c: Likewise.
3036         * config/libbid/bid128_fma.c: Likewise.
3037         * config/libbid/bid128_logb.c: Likewise.
3038         * config/libbid/bid128_minmax.c: Likewise.
3039         * config/libbid/bid128_mul.c: Likewise.
3040         * config/libbid/bid128_next.c: Likewise.
3041         * config/libbid/bid128_noncomp.c: Likewise.
3042         * config/libbid/bid128_quantize.c: Likewise.
3043         * config/libbid/bid128_rem.c: Likewise.
3044         * config/libbid/bid128_round_integral.c: Likewise.
3045         * config/libbid/bid128_scalb.c: Likewise.
3046         * config/libbid/bid128_sqrt.c: Likewise.
3047         * config/libbid/bid128_string.c: Likewise.
3048         * config/libbid/bid128_to_int16.c: Likewise.
3049         * config/libbid/bid128_to_int32.c: Likewise.
3050         * config/libbid/bid128_to_int64.c: Likewise.
3051         * config/libbid/bid128_to_int8.c: Likewise.
3052         * config/libbid/bid128_to_uint16.c: Likewise.
3053         * config/libbid/bid128_to_uint32.c: Likewise.
3054         * config/libbid/bid128_to_uint64.c: Likewise.
3055         * config/libbid/bid128_to_uint8.c: Likewise.
3056         * config/libbid/bid32_to_bid128.c: Likewise.
3057         * config/libbid/bid32_to_bid64.c: Likewise.
3058         * config/libbid/bid64_add.c: Likewise.
3059         * config/libbid/bid64_compare.c: Likewise.
3060         * config/libbid/bid64_div.c: Likewise.
3061         * config/libbid/bid64_fma.c: Likewise.
3062         * config/libbid/bid64_logb.c: Likewise.
3063         * config/libbid/bid64_minmax.c: Likewise.
3064         * config/libbid/bid64_mul.c: Likewise.
3065         * config/libbid/bid64_next.c: Likewise.
3066         * config/libbid/bid64_noncomp.c: Likewise.
3067         * config/libbid/bid64_quantize.c: Likewise.
3068         * config/libbid/bid64_rem.c: Likewise.
3069         * config/libbid/bid64_round_integral.c: Likewise.
3070         * config/libbid/bid64_scalb.c: Likewise.
3071         * config/libbid/bid64_sqrt.c: Likewise.
3072         * config/libbid/bid64_string.c: Likewise.
3073         * config/libbid/bid64_to_bid128.c: Likewise.
3074         * config/libbid/bid64_to_int16.c: Likewise.
3075         * config/libbid/bid64_to_int32.c: Likewise.
3076         * config/libbid/bid64_to_int64.c: Likewise.
3077         * config/libbid/bid64_to_int8.c: Likewise.
3078         * config/libbid/bid64_to_uint16.c: Likewise.
3079         * config/libbid/bid64_to_uint32.c: Likewise.
3080         * config/libbid/bid64_to_uint64.c: Likewise.
3081         * config/libbid/bid64_to_uint8.c: Likewise.
3082         * config/libbid/bid_b2d.h: Likewise.
3083         * config/libbid/bid_binarydecimal.c: Likewise.
3084         * config/libbid/bid_conf.h: Likewise.
3085         * config/libbid/bid_convert_data.c: Likewise.
3086         * config/libbid/bid_decimal_data.c: Likewise.
3087         * config/libbid/bid_decimal_globals.c: Likewise.
3088         * config/libbid/bid_div_macros.h: Likewise.
3089         * config/libbid/bid_dpd.c: Likewise.
3090         * config/libbid/bid_flag_operations.c: Likewise.
3091         * config/libbid/bid_from_int.c: Likewise.
3092         * config/libbid/bid_functions.h: Likewise.
3093         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3094         * config/libbid/bid_inline_add.h: Likewise.
3095         * config/libbid/bid_internal.h: Likewise.
3096         * config/libbid/bid_round.c: Likewise.
3097         * config/libbid/bid_sqrt_macros.h: Likewise.
3099 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
3101         * Makefile.in: Change copyright header to refer to version
3102         3 of the GNU General Public License and to point readers at the
3103         COPYING3 file and the FSF's license web page.
3104         * config.host: Likewise.
3106 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
3108         * config.host: Reorder and merge to match config.gcc change.
3110 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
3112         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3114 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
3116         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3117         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3118         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3119         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3121 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
3123         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3124         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3126 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3128         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3129         ia64/t-softfp-compat to tmake_file.
3131         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3133         * config/ia64/__divxf3.asm: New.
3134         * config/ia64/_fixtfdi.asm: Likewise.
3135         * config/ia64/_fixunstfdi.asm: Likewise.
3136         * config/ia64/_floatditf.asm: Likewise.
3137         * config/ia64/t-fprules-softfp: Likewise.
3138         * config/ia64/t-softfp-compat: Likewise.
3139         * config/ia64/tf-signs.c: Likewise.
3141 2009-01-18  Ben Elliston  <bje@au.ibm.com>
3143         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3145 2009-01-16  Ben Elliston  <bje@au.ibm.com>
3147         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3148         to tmake_file.
3150 2009-01-13  Ben Elliston  <bje@au.ibm.com>
3152         * config/t-softfp: New file.
3153         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3154         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3156 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
3158         * config.host: Add m32r*-*-rtems*.
3160 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
3162         * config.host: Add m32c*-*-rtems*.
3164 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3166         PR bootstrap/33100
3167         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3168         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3169         * configure: Regenerate.
3170         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3171         tmake_file here from gcc/config.gcc.
3172         Move extra_parts here from gcc/config.gcc.
3173         * config/i386/t-sol2: Move here from gcc/config/i386.
3174         Use gcc_srcdir instead of srcdir.
3176 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
3178         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3179         case.
3181 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
3183         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3185 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
3187         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3189 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
3191         Add picoChip port.
3192         * config.host: Add picochip-*-*.
3194 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
3196         * config.host: Match more processor names for Xtensa.
3198 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
3200         * config/i386/64/t-softfp-compat: Update comments.
3202 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3204         * config/i386/64/_divtc3-compat.c: Moved to ...
3205         * config/i386/64/_divtc3.c: Here.
3207         * config/i386/64/_multc3-compat.c: Moved to ...
3208         * config/i386/64/_multc3.c: Here.
3210         * config/i386/64/_powitf2-compat.c: Moved to ...
3211         * config/i386/64/_powitf2.c: Here.
3213         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3214         .c suffix instead of -compat.c.
3216 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
3218         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3219         (_FP_MUL_MEAT_D): Ditto.
3220         (_FP_DIV_MEAT_S): Ditto.
3221         (_FP_DIV_MEAT_D): Ditto.
3223 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
3225         * Makefile.in: Add support for __sync_* libgcc functions.
3227 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
3229         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3231 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3233         PR boostrap/36702
3234         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3235         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
3237         * config/i386/64/t-fprules-softfp: Moved to ...
3238         * config/i386/64/t-softfp-compat: This.  New.
3240 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
3242         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3243         Initialize f with 0.0.
3245 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3247         PR target/36669
3248         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3250         * config/i386/64/_divtc3-compat.c: New.
3251         * config/i386/64/_multc3-compat.c: Likewise.
3252         * config/i386/64/_powitf2-compat.c: Likewise.
3253         * config/i386/64/eqtf2.c: Likewise.
3254         * config/i386/64/getf2.c: Likewise.
3255         * config/i386/64/letf2.c: Likewise.
3256         * config/i386/64/t-fprules-softfp: Likewise.
3258 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3260         * config.host: Add i386/${host_address}/t-fprules-softfp to
3261         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3262         i[34567]86-*-linux*, x86_64-*-linux*.
3264         * configure.ac: Set host_address to 64 or 32 for x86.
3265         * configure: Regenerated.
3267         * Makefile.in (config.status): Also depend on
3268         $(srcdir)/config.host.
3270         * config/i386/32/t-fprules-softfp: New.
3271         * config/i386/32/tf-signs.c: Likewise.
3273         * config/i386/64/sfp-machine.h: New. Moved from gcc.
3275 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3276             Uros Bizjak  <ubizjak@gmail.com>
3278         * config/i386/32/sfp-machine.h: New.
3280 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
3282         * config/rs6000/t-ppccomm: Remove rules that conflict with
3283         auto-generated rules.
3285 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3287         * configure.ac: sinclude override.m4.
3288         * configure: Regenerate.
3290 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
3292         * configure: Regenerate.
3294 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
3296         * Makefile.in (DECNUMINC): Remove
3297         -I$(MULTIBUILDTOP)../../libdecnumber.
3298         * gstdint.h: New.
3300 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
3302         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3303         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3304         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3305         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3306         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3307         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3308         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3309         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3310         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3311         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3312         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3313         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3314         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3315         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3317 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
3319         * config.host (sh2[lbe]*-*-linux*): Allow target.
3321 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
3323         * config/rs6000/t-ppccomm: Add build rules for new files.
3324         (LIB2ADD_ST): New variable.
3326 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
3328         PR target/34210
3329         PR target/35508
3330         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3331         * config/t-avr: New file. Build 16bit libgcc functions.
3333 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
3335         PR target/35401
3336         * config/t-slibgcc-darwin: Make install-leaf dependent on
3337         install-darwin-libgcc-stubs instead of install.
3339 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
3341         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3342         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3343         sh-*-rtemscoff*): Remove cases.
3345 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
3347         * Makefile.in (all): Use install-leaf rather than install.
3348         (install): Split most of the rule into...
3349         (install-leaf): ...this new one.
3351 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
3352             Paolo Bonzini  <bonzini@gnu.org>
3354         PR target/30572
3355         * Makefile.in: Use @shlib_slibdir@ substitution to get
3356         correct install name on darwin.
3357         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3359 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
3361         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3362         cris-*-elf and cris-*-none.
3363         (crisv32-*-linux*): Similar, as cris-*-linux*.
3365 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
3367         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3369 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
3371         PR regression/33926
3372         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3373         * configure: Regenerated.
3375 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3377         * Makefile.in (dfp-filenames): Replace decimal_globals,
3378         decimal_data, binarydecimal and convert_data with
3379         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3380         and bid_convert_data, respectively.
3382 2007-09-17  Chao-ying Fu  <fu@mips.com>
3383             Nigel Stephens  <nigel@mips.com>
3385         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3386         * Makefile.in (fixed_point): Define.
3387         Check if fixed_point is yes to build support functions.
3388         * configure.ac: Check for fixed_point support.
3389         * configure: Regenerated.
3390         * gen-fixed.sh: New file to generate lists of fixed-point labels,
3391         funcs, modes, from, to.
3393 2007-09-11  Janis Johnson  <janis187@us.ibm.com
3395         * Makefile.in (dfp-filenames): Add bid128_noncomp.
3397 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
3399         * Makefile.in (dfp-filenames): Remove decUtility, add
3400         decDouble, decPacked, decQuad, decSingle.
3402 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
3404         * config.host : Add x86_64-elf target.
3406 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3408         * configure.ac (set_have_cc_tls): Add a missing =.
3409         * configure: Regenerated.
3411 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3413         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3414         and x86_64-*-linux*.
3416         * config/t-tls: New file.
3418         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3420         * configure.ac: Include ../config/enable.m4 and
3421         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
3422         supports TLS and substitute set_have_cc_tls.
3423         * configure: Regenerated.
3425 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
3427         * Makefile.in: Use libbid for DFP when BID is enabled.
3429 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
3431         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3432         extra_parts. Add config/i386/t-cygming to tmake_file.
3433         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3435 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
3436             Danny Smith  <dannysmith@users.sourceforge.net>
3438         PR target/29498
3439         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3440         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
3441         * config/i386/t-crtfm: Compile crtfastmath.o with
3442         -minline-all-stringops.
3444 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
3446         * config.host (sparc-wrs-vxworks): New target.
3448 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
3450         * config.host: Recognize fido.
3452 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
3454         * configure: Check host, not target, for decimal float support.
3456 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
3458         * config/i386/t-crtpc: New file.
3459         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3460         (x86_64-*-linux*): Ditto.
3462 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
3464         * config.host (x86_64-*-mingw*): New target.
3466 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
3467             H.J. Lu  <hongjiu.lu@intel.com>
3469         * Makefile.in (enable_decimal_float): New.
3470         (DECNUMINC): Add
3471         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3472         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3473         (decbits-filenames): This.
3474         (decbits-objects): New.
3475         (libgcc-objects): Add $(decbits-objects).
3477         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3478         Substitute enable_decimal_float.
3479         * configure: Regenerated.
3481 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
3483         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3485 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
3487         * Makefile.in (install-info): New dummy target.
3489 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
3491         * config.host (bfin*-linux-uclibc*): Set extra_parts.
3493 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
3495         * Makefile.in: Add install-html and install-pdf dummy
3496         targets.
3498 2007-02-05  Roger Sayle  <roger@eyesopen.com>
3499             Daniel Jacobowitz  <dan@codesourcery.com>
3501         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3502         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3503         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3505 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
3507         * Makefile.in (dec-filenames): Add decExcept.
3509 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
3511         PR bootstrap/30469
3512         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3513         -fprofile-use.
3515 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
3517         * configure.ac: Add --enable-version-specific-runtime-libs.
3518         Correct $slibdir default.
3519         * configure: Regenerated.
3521 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
3523         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3525 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
3527         PR target/30519
3528         * config.host (alpha*-*-linux*): Set extra_parts.
3530 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
3532         * config/sh/t-linux: New.
3533         * config.host (sh*-*-linux*): Set tmake_file.
3535 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
3537         * Makefile.in (install): Handle multilibs.
3539 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
3541         * Makefile.in: Added .PHONY entry for documentation targets.
3543 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
3545         * Makefile.in: Add empty info, html, dvi, pdf targets.
3547 2007-01-04  Mike Stump  <mrs@apple.com>
3549         * Makefile.in (MAKEINFO): Remove.
3550         (PERL): Likewise.
3552 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
3554         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3555         * configure: Regenerate.
3556         * Makefile.in (host_subdir): Substitute it.
3557         (gcc_objdir): Use it.
3559 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
3561         * config.host (ia64*-*-linux*): Set tmake_file.
3563 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
3565         * Makefile.in (version): Define.
3567 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
3568             Paolo Bonzini  <bonzini@gnu.org>
3570         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3571         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3572         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3573         config/sparc/t-crtfm, config/t-slibgcc-darwin,
3574         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3575         shared-object.mk, siditi-object.mk, static-object.mk: New files.
3576         * configure: Generated.