2013-04-03 Marc Glisse <marc.glisse@inria.fr>
[official-gcc.git] / libgcc / ChangeLog
blob0d581bfcfa141dd4cfb45c10e8095fb401af8920
1 2013-03-27  Kai Tietz  <ktietz@redhat.com>
3         * config.host: Add support for cygwin x64 target.
4         * configure: Regenerated.
6 2013-03-26  Walter Lee  <walt@tilera.com>
8         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
11 2013-03-25  Kai Tietz  <ktietz@redhat.com>
13         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
15 2013-03-20  Robert Mason  <rbmj@verizon.net>
17         * config/vxlib-tls.c (__gthread_get_tsd_data,)
18         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
19         (__gthread_leave_tsd_dtor_context): Add prototypes.
20         (tls_delete_hook): Update.
22 2013-03-20  Catherine Moore  <clm@codesourcery.com>
23             Joseph Myers  <joseph@codesourcery.com>
24             Chao-ying Fu  <fu@mips.com>
26         * config/mips/mips16.S:  Don't build for microMIPS.
27         * config/mips/linux-unwind.h: Handle microMIPS frame.
28         * config/mips/crtn.S (fini, init): New labels.
30 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
32         PR tree-optimization/53265
33         * unwind-dw2.c (execute_cfa_program): Avoid
34         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
35         on targets with DWARF_FRAME_REGISTERS < 32.
37 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
39         PR target/49880
40         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
41         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
43 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
45         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
46         sandybridge processors.
48 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
50         PR target/56529
51         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
52         inclusion list.
54 2013-03-04  Edgar E. Iglesias <edgar.iglesias@gmail.com>
56         * config/microblaze/crti.S: Setup stack protection at entry
58 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
60         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
61         (__rotldi3): Shift bytewise if applicable.
63 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
65         * config/aarch64/sync-cache.c
66         (__aarch64_sync_cache_range): Silence warnings.
68 2013-02-25  Catherine Moore  <clm@codesourcery.com>
70         Revert:
71         2013-02-24  Catherine Moore  <clm@codesourcery.com>
72             Joseph Myers  <joseph@codesourcery.com>
73             Chao-ying Fu  <fu@mips.com>
75         * config/mips/mips16.S:  Don't build for microMIPS.
76         * config/mips/linux-unwind.h: Handle microMIPS frame.
77         * config/mips/crtn.S (fini, init): New labels.
79 2013-02-24  Catherine Moore  <clm@codesourcery.com>
80             Joseph Myers  <joseph@codesourcery.com>
81             Chao-ying Fu  <fu@mips.com>
83         * config/mips/mips16.S:  Don't build for microMIPS.
84         * config/mips/linux-unwind.h: Handle microMIPS frame.
85         * config/mips/crtn.S (fini, init): New labels.
87 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
88         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
89         as dividend.
91 2013-02-16  Alan Modra  <amodra@gmail.com>
93         PR target/55431
94         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
95         (ppc_fallback_frame_state): Always set up save locations for fp
96         and altivec.  Don't bother with non-callee-saved regs, r0-r13
97         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
99 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
101         PR target/54222
102         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
103         _ssmulHA, _ssmulSA.
104         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
105         _ssmulha3, _usmulusa3, _ssmulsa3.
106         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
107         (__muldi3): XCALL __muldi3_6 instead of rcall.
108         (__umulsidi3, __mulsidi3): New functions.
109         (do_prologue_saves, do_epilogue_restores): New .macros.
110         (__divdi3_moddi3): Use them.
111         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
112         (__usmulusa3, __ssmulsa3): New functions.
114 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
115             Jack Howarth  <howarth@bromo.med.uc.edu>
116             Patrick Marlier  <patrick.marlier@gmail.com>
118         PR libitm/55693
119         * config/darwin-crt-tm.c: Remove dummy functions hack.
121 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
123         PR target/54222
124         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
125         * config/avr/lib2-object.mk: New iterator to build objects from it.
126         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
127         lib2funcs.c.
128         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
129         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
130         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
131         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
132         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
133         * config/avr/lib1funcs-fixed.S: Implement them.
135 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
137         Update copyright years.
139 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
141         PR target/54601
142         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
143         Add crtcxa to extra_parts.
144         * config/rs6000/exit.h: New file.
145         * config/rs6000/cxa_atexit.c: New file.
146         * config/rs6000/cxa_finalize.c: New file.
147         * config/rs6000/crtcxa.c: New file.
148         * config/rs6000/t-aix-cxa: New file.
149         * config/rs6000/libgcc-aix-cxa.ver: New file.
151 2013-01-31  Nick Clifton  <nickc@redhat.com>
153         * config/v850/lib1funcs.S: Add support for e3v5 architecture
154         variant.
156 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
158         PR target/54222
159         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
160         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
161         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
162         _divQQ,  _divHQ,  _divHA,  _divSA,
163         _divUQQ, _divUHQ, _divUHA, _divUSA.
165 2013-01-26  David Holsgrove <david.holsgrove@xilinx.com>
167         * config.host(microblaze*-linux*): tmake_file: Remove
168         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
169         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
170         to exclude functions from being built with libgcc.c and use
171         the microblaze assembly.
173 2013-01-26  Edgar E. Iglesias <edgar.iglesias@gmail.com>
175         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
176         extra_parts.
178 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
180         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
181         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
182         __UINTPTR_TYPE__; also cast 'base' to the same type before the
183         alignment operation.
185 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
187         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
188         loop start address for cache clearing.
190 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
192         * config/avr/lib1funcs.S: Remove trailing blanks.
193         * config/avr/lib1funcs-fixed.S: Ditto.
195 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
197         * config/avr/avr-lib.h: Add GPL copyright notice.
199 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
201         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
202         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
203         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
204         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
206 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
208         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
209         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
211 2013-01-04  Nick Clifton  <nickc@redhat.com>
213         * config/v850/lib1funcs.S: Only provide CALLT support functions if
214         the CALLT instruction is supported.
216 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
218         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
219         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
221 2012-12-13  John Tytgat  <John@bass-software.com>
223         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
224         is 25.
226 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
228         PR libgcc/55451
229         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
230         undefined signed overflows.
232 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
234         PR target/55344
235         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
237 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
239         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
240         (FP_TRAPPING_EXCEPTIONS): Define.
241         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
242         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
244 2012-12-04  Richard Henderson  <rth@redhat.com>
246         PR bootstrap/55571
247         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
249 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
251         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
252         (FP_EX_SHIFT): Define.
253         (FP_TRAPPING_EXCEPTIONS): Define.
255 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
257         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
258         (FP_ROUNDMODE): Use FP_RND_MASK.
259         * config/aarch64/sfp-exceptions.c: New.
260         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
261         Use __sfp_handle_exceptions.
263 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
265         * config.host: (arm*-*-freebsd*): Remove.
266         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
267         (arm*-*-elf*): Remove.
268         (arm*-*-wince-pe*): Remove.
269         * arm/unwind-arm.c (struct fpa_reg): Delete.
270         (struct fpa_regs): Delete.
271         (phase1_vrs): Remove fpa element.
272         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
273         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
274         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
275         * ieee754-sf.S (floatundisf): Remove FPA support.
276         (floatdisf): Likewise.
277         * ieee75f-df.S (floatundidf): Likewise.
278         (floatdidf): Likewise.
280 2012-11-29  Kai Tietz  <ktietz@redhat.com>
282         PR target/55445
283         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
284         * unwind-generic.h: Likewise.
285         * unwind-seh.c: Likewise.
287 2012-11-28  Richard Henderson  <rth@redhat.com>
289         PR libgcc/48076
290         * emutls.c (__emutls_get_address): Avoid race condition between
291         obj->loc.offset read and emutls_key initialization.
293 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
295         Adjust decimal point of signed accum mode to GCC default.
297         PR target/54222
298         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
299         _divqq_helper.
300         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
301         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
302         (__mulha3, __mulsa3)
303         (__divqq3, __divha3, __divsa3): Adjust to new position of
304         decimal point of signed accum types.
306         (__mulusa3_round): New function.
307         (__mulusa3): Use it.
308         (__divqq_helper): New function.
309         (__udivuqq3): Use it.
311 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
313         PR bootstrap/55370
314         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
316 2012-11-18  Teresa Johnson  <tejohnson@google.com>
318         PR bootstrap/55051
319         * libgcov.c (gcov_exit): Remove merged program summary
320         comparison unless !GCOV_LOCKED.
322 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
324         * soft-fp: Updated from glibc upstream.
326 2012-11-06  Ian Lance Taylor  <iant@google.com>
328         * generic-morestack.c (__generic_morestack): Align the returned
329         stack pointer to a 32 byte boundary.
330         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
331         increment the return address until we have decided that we don't
332         have a varargs function.
333         (__morestack) [32-bit]: Align stack correctly when calling C
334         functions.
335         (__morestack) [64-bit]: Likewise.
337 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
339         * configure: Regenerate.
341 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
343         PR target/55175
344         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
345         * config/i386/sfp-machine.h: Guard exception handling
346         code with _SOFT_FLOAT.
347         * config/i386/32/sfp-machine.h: Guard rounding handling
348         code with _SOFT_FLOAT.
349         * config/i386/64/sfp-machine.h: Ditto.
351 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
353         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
354         as extra_parts.
356 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
358         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
359         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
360         when appropriate.  Correct structure element types.
361         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
362         -minline-all-stringops from compile flags.
364 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
366         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
368 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
370         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
372 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
374         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
375         tmake_file.
377 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
378             Jim MacArthur  <jim.macarthur@arm.com>
379             Marcus Shawcroft  <marcus.shawcroft@arm.com>
380             Nigel Stephens  <nigel.stephens@arm.com>
381             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
382             Richard Earnshaw  <rearnsha@arm.com>
383             Sofiane Naci  <sofiane.naci@arm.com>
384             Stephen Thomas  <stephen.thomas@arm.com>
385             Tejas Belagod  <tejas.belagod@arm.com>
386             Yufeng Zhang  <yufeng.zhang@arm.com>
388         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
389         * config/aarch64/crti.S: New file.
390         * config/aarch64/crtn.S: New file.
391         * config/aarch64/linux-unwind.h: New file.
392         * config/aarch64/sfp-machine.h: New file.
393         * config/aarch64/sync-cache.c: New file.
394         * config/aarch64/t-aarch64: New file.
395         * config/aarch64/t-softfp: New file.
397 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
399         * config/mmix/crti.S: Mark program and data addresses using PRELD.
400         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
401         no-longer-needed LDBU insns.
403 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
405         * config.host
406         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
407         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
409 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
411         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
413 2012-10-15  Matthias Klose  <doko@ubuntu.com>
415         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
417 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
419         * configure: Regenerate.
420         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
422 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
424         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
425         instructions for 64bit targets only.
427 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
429         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
430         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
431         * config/i386/32/sfp-machine.h: ... here.
432         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
433         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
434         New defines.
436 2012-10-07  Matthias Klose  <doko@ubuntu.com>
438         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
439         as unused.
440         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
442 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
444         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
445         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
446         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
447         (ElfW): Likewise.
449 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
451         PR other/53889
452         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
453         Fix parameter names.
455 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
457         PR target/33135
458         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
459         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
460         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
462 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
464         PR target/50457
465         * config/sh/linux-atomic.S: Delete.
466         * config/sh/linux-atomic.c: New.
467         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
468         linux-atomic.c.  Add cflags to disable warnings.
470 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
472         PR other/53889
473         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
474         function.
475         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
476         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
477         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
478         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
479         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
480         Likewise.
481         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
482         Likewise.
483         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
484         Likewise.
485         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
486         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
488 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
490         * config.host (hppa-*-openbsd*): New target.
491         * config/pa/t-openbsd: New file.
493 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
495         PR target/54222
496         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
497         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
498         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
499         (__divsa3): Use __negsi2 to negate r_quoL.
500         * config/avr/lib1funcs.S (FALIAS): New macro.
501         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
502         (__negsi2): ...this new function.
503         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
504         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
505         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
506         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
507         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
508         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
510 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
512         PR target/54089
513         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
514         (lshrsi3): Reimplement as lshrsi3_r0.
516 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
518         PR target/46191
519         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
520         of libgcc.a.
522 2012-09-07  Teresa Johnson  <tejohnson@google.com>
524         PR gcov-profile/54487
525         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
526         differences.
528 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
530         PR target/54461
531         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
532         not configured --with-avrlibc=no.
533         * config/avr/t-avrlibc: New file.
534         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
535         (DPBIT_FUNCS): Ditto.
536         (TPBIT_FUNCS): Ditto.
538 2012-09-04  Teresa Johnson  <tejohnson@google.com>
540         * libgcov.c (struct gcov_summary_buffer): New structure.
541         (gcov_histogram_insert): New function.
542         (gcov_compute_histogram): Ditto.
543         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
544         histograms during summary merging.
546 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
548         * config.host (x86_64-*-openbsd*): New target.
550 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
552         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
553         attribute.
555 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
557         PR target/54222
558         * config/avr/t-avr (conv_X): Rename to func_X.
560 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
562         PR target/54222
563         * config/avr/lib1funcs-fixed.S: New file.
564         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
565         after they are used.
566         (neg2, neg4): New macros.
567         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
568         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
569         (__umulhisi3): Speed up MUL variant if there is enough flash.
570         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
571         avr-modes.def.
572         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
573         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
574         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
575         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
576         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
577         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
578         (LIB2FUNCS_EXCLUDE): Add supported functions.
580 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
582         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
583         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
584         libgcc-s-objects.
585         * fixed-obj.mk: Only expand dependency if $o is not in
586         LIB2FUNCS_EXCLUDE.
588 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
590         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
592 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
594         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
595         depend on --enable-shared.
596         ($(lib1asmfuncs-o)): Use %.vis files independent of
597         --enable-shared.
598         * static-object.mk ($(base)$(objext), $(base).vis)
599         ($(base)_s$(objext)): Use same rules for visibility handling as in
600         shared-object.mk.
602 2012-08-21  Ian Lance Taylor  <iant@google.com>
604         * config/i386/morestack.S (__morestack_non_split): Increase amount
605         of space allocated for non-split code stack.
607 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
609         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
610         even if inhibit_libc.
612 2012-08-17  Julian Brown  <julian@codesourcery.com>
614         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
615         -fexceptions -fnon-call-exceptions if not defined.
616         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
617         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
619 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
621         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
622         type.
624 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
626         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
627         rs6000/t-slibgcc-aix.
629 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
631         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
633 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
635         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
637 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
639         PR driver/54171
640         * Makefile.in (version): Replace top_srcdir with srcdir.
642 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
644         * Makefile.in (version): set to BASE-VER file from gcc directory.
646 2012-08-01  Nick Clifton  <nickc@redhat.com>
648         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
649         Implements __clrsb for an HImode argument.
651 2012-07-31  Nick Clifton  <nickc@redhat.com>
653         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
654         Implements __clrsb for an HImode argument.
655         * config/stormy16/clrsbhi2.c: New file:
656         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
658 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
660         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
662 2012-07-19  Tristan Gingold  <gingold@adacore.com>
663             Richard Henderson  <rth@redhat.com>
665         * unwind-seh.c: New file.
666         * unwind-generic.h: Include windows.h for SEH.
667         (_Unwind_Exception): Use 6 private fields for SEH.
668         (_GCC_specific_handler): Declare.
669         * unwind-c.c (__gcc_personality_seh0): New function.
670         Adjust for SEH.
671         * config/i386/libgcc-cygming.ver: New file.
672         * config/i386/t-seh-eh: New file.
673         * config.host (x86_64-*-mingw*): Default to seh.
675 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
677         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
679 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
681         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
682         __builtin_expect when checking for exceptions.
683         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
685 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
687         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
688         function declaration.
689         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
690         (FP_RND_MASK): New.
691         * config/ia64/sfp-exceptions.c: New.
692         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
694 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
696         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
697         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
698         * config/i386/64/sfp-machine: ... (delete here) ...
699         * config/i386/sfp-machine.h: ... to here.
700         (FP_EX_MASK): Remove.
701         (FP_RND_MASK): New.
702         (FP_INIT_ROUNDMODE): Declare asm as volatile.
704 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
706         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
707         * config/i386/libgcc-sol2.ver: Ditto.
708         * config/i386/libgcc-glibc.ver: Ditto.
710 2012-06-11  Roland McGrath  <mcgrathr@google.com>
712         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
713         If __GLIBC__ is defined, refer to __pthread_key_create instead of
714         pthread_cancel.
716 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
718         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
719         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
720         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
721         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
722         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
723         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
724         * config/i386/64/sfp-machine: ... (delete here) ...
725         * config/i386/sfp-machine.h: ... to here.
726         (FP_EX_MASK): New.
727         (__sfp_handle_exceptions): New function declaration.
728         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
729         * config/i386/sfp-exceptions.c: New.
730         * config/i386/t-softfp: New.
731         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
732         i386/t-softfp to tmake_file.
734 2012-06-03  David S. Miller  <davem@davemloft.net>
736         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
737         change.
739 2012-05-31  David S. Miller  <davem@davemloft.net>
741         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
742         multiply and divide instructions on 32-bit when V9.
743         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
745 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
747         * config/arm/ieee754-df.S: Fix typos.
748         * config/arm/ieee754-sf.S: Fix typos.
749         * config/c6x/libunwind.S: Fix typos.
750         * config/epiphany/udivsi3-float.c: Fix typos.
751         * config/microblaze/muldi3_hard.S: Fix typos.
752         * config/picochip/adddi3.S: Fix typos.
753         * config/picochip/ashlsi3.S: Fix typos.
754         * config/picochip/ashrsi3.S: Fix typos.
755         * config/picochip/clzsi2.S: Fix typos.
756         * config/picochip/cmpsi2.S: Fix typos.
757         * config/picochip/divmod15.S: Fix typos.
758         * config/picochip/divmodhi4.S: Fix typos.
759         * config/picochip/divmodsi4.S: Fix typos.
760         * config/picochip/longjmp.S: Fix typos.
761         * config/picochip/lshrsi3.S: Fix typos.
762         * config/picochip/parityhi2.S: Fix typos.
763         * config/picochip/popcounthi2.S: Fix typos.
764         * config/picochip/setjmp.S: Fix typos.
765         * config/picochip/subdi3.S: Fix typos.
766         * config/picochip/ucmpsi2.S: Fix typos.
767         * config/picochip/udivmodhi4.S: Fix typos.
768         * config/picochip/udivmodsi4.S: Fix typos.
769         * config/spu/divv2df3.c: Fix typos.
770         * config/spu/mfc_multi_tag_release.c: Fix typos.
771         * config/spu/mfc_tag_release.c: Fix typos.
772         * configure.ac: Fix typos.
773         * configure: Regenerate.
775 2012-05-25  Ian Lance Taylor  <iant@google.com>
777         * config/i386/morestack.S (__morestack_non_split): Check whether
778         caller is varargs and needs %bp to hold the stack frame on return.
780 2012-05-25  Olivier Hainque  <hainque@adacore.com>
782         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
783         sequence in the non pic case on VxWorks.
785 2012-05-24  Olivier Hainque  <hainque@adacore.com>
787         * Makefile.in: Move dependency on install-unwind_h from
788         "install-leaf" to "install".
790 2012-05-24  Olivier Hainque  <hainque@adacore.com>
792         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
793         Use a separate command for stamp removals.
795 2012-05-21  Andrew Pinski  <apinski@cavium.com>
797         PR bootstrap/53183
798         * configure.ac: Define the default includes to being none.
799         * configure: Regenerate.
801 2012-05-16  Olivier Hainque  <hainque@adacore.com>
803         * Makefile.in (install-unwind_h): Rename into ...
804         (install-unwind_h-forbuild): New target.
805         (all): Use it instead of the former install-unwind_h.
806         (install-unwind_h): Reinstate, copy to user install destination
807         for include files, not to the internal gcc object directory one.
808         (install-leaf): Depend on it.
810 2012-05-15  Olivier Hainque  <hainque@adacore.com>
812         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
813         register numbers. LR_REGNO replaces R_LR.
814         (ucontext_for): New, helper for ...
815         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
816         and 5.3 of ...
817         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
819 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
821         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
822         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
823         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
824         i386/t-cpuinfo ...
825         (i[34567]86-*-*, x86_64-*-*): ... here.
827         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
828         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
830         * config/i386/i386-cpuinfo.c: Rename to ...
831         * config/i386/cpuinfo.c: ... this.
832         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
834         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
835         (libgcc_cv_init_priority): New test.
836         * configure: Regenerate.
837         * config.in: New file.
838         * Makefile.in (clean): Rename config.h to auto-target.h.
839         (config.h): Likewise.
840         (stamp-h): Likewise.
842         * config/i386/cpuinfo.c (auto-target.h): Include.
843         (CONSTRUCTOR_PRIORITY): Define.
844         (__cpu_indicator_init): Use it.
846 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
848         * longlong.h: Use a URL instead of an FSF postal address.
849         Replace spaces with tab.
851 2012-05-08  Teresa Johnson  <tejohnson@google.com>
853         * libgcov.c (gcov_clear, __gcov_reset): New functions.
854         (__gcov_dump): Ditto.
855         (gcov_dump_complete): New global variable.
856         (gcov_exit): Export hidden to enable use in L_gcov_dump.
857         (__gcov_flush): Outline functionality now in gcov_clear.
858         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
860 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
862         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
863         (mips*-*-linux*): Include mips/t-tpbit when long double is
864         16 bytes long.
866 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
868         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
869         (get_available_features): New argument. Check for AVX2.
870         (__cpu_indicator_init): Modify call to get_available_features.
872 2012-04-25  Alan Modra  <amodra@gmail.com>
874         * config/rs6000/crtsavevr.S: New file.
875         * config/rs6000/crtrestvr.S: New file.
876         * config/rs6000/t-savresfgpr: Build the above.
877         * config/rs6000/t-netbsd: Likewise.
879 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
881         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
883 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
885         * libgcc/config/i386/i386-cpuinfo.c: New file.
886         * libgcc/config/i386/t-cpuinfo: New file.
887         * libgcc/config.host: Include t-cpuinfo.
888         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
890 2012-04-24  Chao-ying Fu  <fu@mips.com>
892         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
894 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
896         struct siginfo vs. siginfo_t
898         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
899         siginfo_t instead of struct siginfo.
900         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
901         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
902         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
903         (ia64_handle_unwabi): Likewise.
904         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
905         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
906         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
907         (sh_fallback_frame_state): Likewise.
908         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
909         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
911 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
913         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
914         system call number.
916 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
918         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
919         if it hasn't been previously saved.
921 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
923         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
924         only for glibc.
926 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
928         PR target/52737
929         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
930         instead of __AVR_HAVE_8BIT_SP__.
932 2012-03-26  Tristan Gingold  <gingold@adacore.com>
934         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
935         (unw_table_entry): Use unw_word instead of unsigned long.
936         (_Unwind_FindTableEntry): Likewise.
937         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
938         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
939         (_Unwind_FindTableEntry): Likewise.
940         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
941         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
942         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
943         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
944         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
945         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
946         (uw_init_context_1, uw_install_context): Likewise.
947         (unw_word): Move to unwind-ia64.h
949 2012-03-26  Tristan Gingold  <gingold@adacore.com>
951         * config/vms/vms-ucrt0.c: Update copyright years.
952         Add a sanity check.
953         (___gcc_main_flags): Declare.
954         (__main): Check flags to remap argv and exit code.
955         * config.host (*-*-*vms*): Adjust extra_parts.
956         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
957         (crt0.o): Add.
959 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
961         * arm/lib1funcs.asm (ctzsi2): New function.
962         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
963         * arm/t-linux (LIB1ASMFUNCS): Likewise.
964         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
965         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
966         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
967         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
969 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
971         * config.host: Add bits to support powerpc64-*-freebsd*.
972         * config/rs6000/freebsd-unwind.h: New file.
973         * config/rs6000/t-freebsd64: New file.
975 2012-03-20  Richard Guenther  <rguenther@suse.de>
977         PR gcov-profile/52627
978         * libgcov.c (init_mx): Fix mutex name.
980 2012-03-16  Tristan Gingold  <gingold@adacore.com>
982         * config/ia64/vms-unwind.h: Remove ulong (and replace
983         it by unw_reg where used).  Define unw_reg with __int64.
985 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
987         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
988         Solaris 8 handling.
989         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
990         Solaris 8 handling.
991         (sparc_is_sighandler): Likewise.
993 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
995         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
996         <= saved reg size.
998 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1000         * config/arm/crtn.S: Fix typo.
1002 2012-03-13  Richard Guenther  <rguenther@suse.de>
1004         * libgcov.c: Remove stdio.h include and NULL un-define.
1006 2012-03-13  Richard Guenther  <rguenther@suse.de>
1008         PR target/52569
1009         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1011 2012-03-13  Richard Guenther  <rguenther@suse.de>
1013         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1015 2012-03-13  Richard Guenther  <rguenther@suse.de>
1017         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1018         and __gthread_mutex_init_function definitions.
1020 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1022         * config.host (mips*-*-openbsd*): Remove.
1024 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1026         * config.host: Remove alpha*-dec-osf5.1* handling.
1027         * config/alpha/gthr-posix.c: Remove.
1028         * config/alpha/libgcc-osf5.ver: Remove.
1029         * config/alpha/osf5-unwind.h: Remove.
1030         * config/alpha/t-osf-pthread: Remove.
1031         * config/alpha/t-slibgcc-osf: Remove.
1032         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1033         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1034         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1035         * mkmap-flat.awk: Remove osf_export handling.
1037 2012-03-12  Richard Guenther  <rguenther@suse.de>
1039         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1040         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1041         (__gthread_mutex_init_function): New function.
1042         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1044         PR gcov/49484
1045         * libgcov.c: Include gthr.h.
1046         (__gcov_flush_mx): New global variable.
1047         (init_mx, init_mx_once): New functions.
1048         (__gcov_flush): Protect self with a mutex.
1049         (__gcov_fork): Re-initialize mutex after forking.
1050         * unwind-dw2-fde.c: Change condition under which to use
1051         __GTHREAD_MUTEX_INIT_FUNCTION.
1053 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1055         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1056         * config/ia64/t-vms: Likewise.
1058 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1060         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1061         for Thumb-2.
1063 2012-03-07  Walter Lee  <walt@tilera.com>
1065         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1066         "arch_atomic_".
1067         (atomic_xor): Rename and move definition to
1068         config/tilepro/atomic.h.
1069         (atomic_nand): Ditto.
1070         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1071         "arch_atomic_".
1072         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1073         (arch_atomic_nand): Ditto.
1075 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1077         PR target/52507
1078         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1080 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1082         PR target/52505
1083         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1084         from RAM.
1086 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1088         PR target/52461
1089         PR target/52508
1090         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1091         if RAMPZ affects reading from RAM.
1092         (__tablejump_elpm__): Ditto.
1093         (.xload): Ditto.
1094         (__movmemx_hi): Ditto.
1095         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1096         (__do_global_dtors): Ditto.
1097         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1098         (__movmemx_hi): Ditto.
1100 2012-03-05  Richard Henderson  <rth@redhat.com>
1102         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1103         [ARM] (count_trailing_zeros): Use the builtin.
1105 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1107         * soft-fp: Imported from glibc upstream.
1109 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1111         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1112         for mingw-targets as attribute gcc_struct.
1114 2012-02-28  Ian Lance Taylor  <iant@google.com>
1116         * generic-morestack.c (__splitstack_releasecontext): Correct call
1117         to __morestack_release_segments.
1119 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1121         PR target/52390
1122         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1123         for __linux__ when removing signals from __morestack_fullmask.
1125 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1127         PR target/52261
1128         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1130 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1132         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1133         instead of HAVE_INITFINI_ARRAY.
1134         * config/ia64/crtend.S: Likewise.
1136 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1138         PR libstdc++/52300
1139         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1141         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1142         to w32-unwind.h header.
1144 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1146         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1147         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1148         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1149         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1151 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1153         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1155 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1157         PR libitm/52220
1158         * config/darwin-crt-tm.c: Correct typo.
1160 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1161             Patrick Marlier  <patrick.marlier@gmail.com>
1163         PR libitm/52220
1164         * config/darwin-crt-tm.c: Generate dummy functions.
1166 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1167             Patrick Marlier  <patrick.marlier@gmail.com>
1169         PR libitm/52042
1170         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1171         (__doTMRegistrations): Call it.
1172         (__doTMdeRegistrations): Likewise.
1174 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1175             Anatoly Sokolov <aesok@post.ru>
1176             Eric Weddington <eric.weddington@atmel.com>
1178         PR target/52261
1179         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1180         (__epilogue_restores__): Ditto.
1182 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1184         PR target/51921
1185         PR target/52205
1186         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1187         Solaris 11 and slightly reformat.
1188         (sparc_is_sighandler): Likewise.
1190 2012-02-14  Walter Lee  <walt@tilera.com>
1192         * config.host: Handle tilegx and tilepro.
1193         * config/tilegx/sfp-machine.h: New file.
1194         * config/tilegx/sfp-machine32.h: New file.
1195         * config/tilegx/sfp-machine64.h: New file.
1196         * config/tilegx/t-crtstuff: New file.
1197         * config/tilegx/t-softfp: New file.
1198         * config/tilegx/t-tilegx: New file.
1199         * config/tilepro/atomic.c: New file.
1200         * config/tilepro/atomic.h: New file.
1201         * config/tilepro/linux-unwind.h: New file.
1202         * config/tilepro/sfp-machine.h: New file.
1203         * config/tilepro/softdivide.c: New file.
1204         * config/tilepro/softmpy.S: New file.
1205         * config/tilepro/t-crtstuff: New file.
1206         * config/tilepro/t-tilepro: New file.
1208 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1210         PR libstdc++/51296
1211         PR libstdc++/51906
1212         * gthr-posix.h: Allow static initializer macros to be disabled.
1213         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1215 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1217         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1218         Add t-slibgcc-libgcc to tmake_file.
1219         * config/mips/libgcc-mips16.ver: Revert previous patch.
1220         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1222 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1223             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1225         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1226         * config/cr16/crti.S: New file.
1227         * config/cr16/crtlibid.S: New file.
1228         * config/cr16/crtn.S: New file.
1229         * config/cr16/lib1funcs.S: New file.
1230         * config/cr16/t-cr16: New file.
1231         * config/cr16/t-crtlibid: New file.
1232         * config/cr16/unwind-dw2.h: New file.
1233         * config/cr16/unwind-cr16.c: New file.
1234         * config/cr16/divmodhi3.c: New file.
1236 2012-01-25  Alan Modra  <amodra@gmail.com>
1238         * config/rs6000/t-linux64: Delete.  Move..
1239         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1240         * config/rs6000/t-linux: ..and libgcc flags to here.
1242 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1244         * config.host (i[34567]86-*-interix3*):
1245         Change triplet to i[34567]86-*-interix[3-9]*.
1246         * configure: Regenerate.
1248 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1249             Richard Sandiford  <rdsandiford@googlemail.com>
1251         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1252         * config/mips/mips16.S (__mips16_rdhwr): New function.
1253         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1255 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1257         * libgcov.c (__gcov_init): Ignore objects with no functions.
1259 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1261         PR target/49868
1262         Extend __pgmx semantics to linearize memory.
1263         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1264         * config/avr/lib1funcs.S (__xload_1): New function.
1265         (__movmemx_qi, __movmemx_hi): New functions.
1266         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1267         semantics.
1269 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1271         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1272         purported sigacthandler address isn't null before dereferencing it.
1273         (sparc_is_sighandler): Likewise.
1275 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1277         PR ada/41929
1278         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1279         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1280         (sparc_is_sighandler): Likewise.
1281         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1283 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1285         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1286         compatibility thunks...
1287         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1288         (crtbeginS.o, crtendS.o): ... and these to ...
1289         * config/ia64/t-ia64-elf: ... this new file.
1290         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1291         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1293 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1295         * configure: Regenerate.
1296         * config/s390/t-crtstuff: Remove -fPIC.
1298 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1300         PR bootstrap/51006
1301         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1302         for NetBSD.
1304 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1306         PR target/51345
1307         * config/avr/lib1funcs.S: Remove FIXME comments.
1308         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1310 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1312         Implement light-weight DImode support.
1313         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1314         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1315         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1316         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1318 2011-12-30  Nathan Sidwell  <nathan@acm.org>
1320         * libgcov.c (gcov_crc32): Remove global var.
1321         (free_fn_data): New function.
1322         (buffer_fn_data): Pass in filename, more robust error recovery.
1323         (crc32_unsigned): New function.
1324         (gcov_exit): More robust detection of new program. More robust
1325         error recovery.
1326         (__gcov_init): Do not update program's crc here.
1328 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1330         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1332 2011-12-21  Ian Lance Taylor  <iant@google.com>
1334         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1336 2011-12-20  Ian Lance Taylor  <iant@google.com>
1338         * config/i386/morestack.S (__morestack_non_split): If there is
1339         enough stack space already, don't split.  Ask for more stack space
1340         than we required.
1342 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1344         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1345         `sys/sdt.h'.
1346         (_Unwind_DebugHook): New function.
1347         (uw_restore_core_regs): New define.
1348         (unwind_phase2): Use uw_restore_core_regs instead of
1349         restore_core_regs.
1350         (unwind_phase2_forced): Likewise.
1351         (__gnu_Unwind_Resume): Likewise.
1353 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1355         * config/alpha/linux-unwind.h: Update copyright years.
1356         (MD_FROB_UPDATE_CONTEXT): New define.
1357         (alpha_frob_update_context): New function.
1359 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1361         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1362         tmake_file rather replacing it.
1364 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1366         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1367         function is not used for PPC64.
1368         (save_world): Amend comments.  Update the VRsave mask to reflect the
1369         saved regs.
1370         (rest_world): Update comments, do not  clobber r10, do not use r8.
1371         (eh_rest_world_r10): Amend comments, do not use r8.
1372         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1373         no longer used, move restore of CR and target address to the end of
1374         the routine.
1376 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1378         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1379         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1381 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1383         PR target/49313
1384         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1385         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1387 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
1389         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1391 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
1393         PR target/49313
1394         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1395         * config/avr/lib1funcs.S (__muldi3): New function.
1397 2011-12-06  Andrew Pinski  <apinski@cavium.com>
1399         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1400         size of func_ptr.
1401         (__frame_dummy_init_array_entry): Likewise.
1403 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
1405         Forward-port from gcc-4_6-branch r181936 2011-12-02.
1407         PR target/51345
1408         PR target/51002
1409         * config/avr/lib1funcs.S (__prologue_saves__,
1410         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1411         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
1413 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
1415         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1417 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1419         PR other/51272
1420         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1421         (_ITM_deregisterTMCloneTable): Likewise.
1422         (__register_frame_info): Fix unused warning.
1423         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1424         pthread_default_stacksize_np): Likewise.
1425         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1427 2011-11-29  DJ Delorie  <dj@redhat.com>
1429         * config.host (rl78-*-elf): New case.
1430         * config/rl78: New directory for the Renesas RL78.
1432 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
1434         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
1435         formatting.
1437 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1439         PR other/51022
1440         * config/rs6000/t-savresfgpr: New file.
1441         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1442         $(srcdir)/config/rs6000/eabi.S.
1443         * config/rs6000/t-ppccomm-ldbl: Remove.
1444         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1445         tmake_file.
1446         (powerpc-*-eabispe*): Likewise.
1447         (powerpc-*-eabi*): Likewise.
1448         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1449         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1450         to tmake_file, remove rs6000/t-ppccomm-ldbl.
1451         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1452         tmake_file.
1453         (powerpc-*-eabisim*): Likewise.
1454         (powerpc-*-elf*): Likewise.
1455         (powerpc-*-eabialtivec*): Likewise.
1456         (powerpc-xilinx-eabi*): Likewise.
1457         (powerpc-*-rtems*): Likewise.
1458         (powerpcle-*-elf*): Likewise.
1459         (powerpcle-*-eabisim*): Likewise.
1460         (powerpcle-*-eabi*): Likewise.
1462 2011-11-27  Ian Lance Taylor  <iant@google.com>
1464         * generic-morestack.c (__splitstack_find): Check for NULL old
1465         stack value.
1466         (__splitstack_resetcontext): New function.
1467         (__splitstack_releasecontext): New function.
1468         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1470 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1472         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1474 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1476         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1478 2011-11-26  Richard Henderson  <rth@redhat.com>
1480         * config/m68k/linux-atomic.c: New file.
1481         * config/m68k/t-linux: New file.
1482         * config.host (m68k-uclinux, m68k-linux): Use it.
1484 2011-11-26  Richard Henderson  <rth@redhat.com>
1486         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1487         (__TMC_END__): Only declare if hidden is available; in the definition,
1488         if hidden is unavailable add a null record.
1489         (deregister_tm_clones, register_tm_clones): New.
1490         (__do_global_dtors_aux, frame_dummy): Use them.
1491         (__do_global_dtors, __do_global_ctors_1): Likewise.
1493 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1495         * config/darwin-crt-tm.c: New file.
1496         * config.host (darwin): Build crttms.o crttme.o to provide
1497         startup and shutdown for tm clones.
1498         * config/t-darwin (crttms.o): New build rule.
1499         (crttme.o): Likewise.
1501 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1503         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1504         et al.
1506 2011-11-21  Richard Henderson  <rth@redhat.com>
1508         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1509         (__TMC_LIST__, __TMC_END__): New.
1510         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1511         (__do_global_dtors): Likewise.
1512         (frame_dummy): Call _ITM_registerTMCloneTable.
1513         (__do_global_ctors_1): Likewise.
1515 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1517         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1518         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1519         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1520         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1521         * config/i386/t-darwin64: Remove.
1522         * config/sh/t-netbsd (LIB2ADD): Remove.
1524 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1526         PR target/49313
1527         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1528         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1529         * config/avr/lib1funcs.S (wmov): New assembler macro.
1530         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1531         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1532         (__udivmod64): New function.
1533         (__negdi2): New function.
1535 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1537         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1538         *-*-freebsd*aout*): Remove.
1540 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1542         * static-object.mk (c_flags-$o): Save c_flags.
1543         ($(base)$(objext)): Use it.
1545 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1547         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1549 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1551         PR target/49868
1552         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1553         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1554         New functions.
1556 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1558         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1559         functions.
1560         (aeabi_uidivmod): Likewise.
1561         (umodsi3): Likewise.
1562         (divsi3): Likewise.
1563         (aeabi_idivmod): Likewise.
1564         (modsi3): Likewise.
1566 2011-11-16  Tristan Gingold  <gingold@adacore.com>
1568         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1570 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
1572         PR target/49868
1573         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
1574         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1576 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1578         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1579         tmake_file list.
1580         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1581         * config/pa/t-stublib64: Delete.
1583 2011-11-12  Richard Henderson  <rth@redhat.com>
1585         * config/rs6000/linux-unwind.h (frob_update_context): Properly
1586         cast the pointer argument to _Unwind_SetGRPtr.
1588 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1590         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1592 2011-11-09  Ian Lance Taylor  <iant@google.com>
1594         * generic-morestack.c: Include <string.h>.
1595         (uintptr_type): Define.
1596         (struct initial_sp): Add dont_block_signals field.  Reduce size of
1597         extra array by 1.
1598         (allocate_segment): Set prev field to NULL.  Don't set
1599         __morestack_current_segment or __morestack_segments.
1600         (__generic_morestack): Update current->prev and *pp after calling
1601         allocate_segment.
1602         (__morestack_block_signals): Don't do anything if
1603         dont_block_signals is set.
1604         (__morestack_unblock_signals): Likewise.
1605         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1606         uintptr_type.
1607         (__splitstack_block_signals): New function.
1608         (enum __splitstack_content_offsets): Define.
1609         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1610         (__splitstack_makecontext): New function.
1611         (__splitstack_block_signals_context): New function.
1612         (__splitstack_find_context): New function.
1613         * config/i386/morestack.S (__morestack_get_guard): New function.
1614         (__morestack_set_guard, __morestack_make_guard): New functions.
1615         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1617 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1619         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1620         (i[34567]86-*-mingw*): ... here.
1621         (x86_64-*-mingw*): ... here.
1623 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1625         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1627 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1629         * libgcov.c (struct gcov_fn_buffer): New struct.
1630         (buffer_fn_data): New helper.
1631         (gcov_exit): Rework for new gcov data structures.
1633 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1635         PR target/49313
1636         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1638 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1640         * config.host (tmake_file): Correct comment.
1641         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1642         t-libgcc-pic.
1643         (bfin*-uclinux*): Likewise.
1644         (bfin*-linux-uclibc*): Likewise.
1645         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1647         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1648         assigning.
1649         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1650         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1651         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1652         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1653         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1654         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1655         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1656         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1657         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1658         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1659         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1660         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1661         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1663         * config/bfin/t-elf: Remove.
1664         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1666 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1668         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1669         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1670         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1671         (lm32-*-elf*): ... this.
1672         (lm32-*-rtems*): ... and this.
1673         Add to tmake_file.
1674         (m32r-*-rtems*): Add to tmake_file.
1675         (moxie-*-rtems*): Likewise.
1676         (sparc-*-rtems*): Likewise.
1677         Remove t-rtems from tmake_file.
1678         (sparc64-*-rtems*): Likewise.
1679         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1680         instead.
1682 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1684         PR bootstrap/50982
1685         * config/gthr-posix.h: Move ...
1686         * gthr-posix.h: ... here.
1687         * config/gthr-lynx.h: Reflect this.
1688         * config/gthr-vxworks.h: Likewise.
1689         * config/rs6000/gthr-aix.h: Likewise.
1690         * configure.ac (target_thread_file): Likewise.
1691         * configure: Regenerate.
1693 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1695         * config.host (arm*-*-rtemseabi*): New target.
1697 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1699         PR other/50991
1700         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1701         extra-parts.
1703 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1705         * config.host (epiphany-*-elf*): New configuration.
1706         * config/epiphany: New Directory.
1708 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1710         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1711         * config/avr/t-rtems: New.
1712         Filter out _exit from LIB1ASMFUNCS.
1714 2011-11-04  David S. Miller  <davem@davemloft.net>
1716         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1717         * configure: Rebuild.
1719 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1721         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1722         variable.
1724 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1726         PR target/50931
1727         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1728         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1730 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1732         PR target/50989
1733         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1735 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1737         * config/c6x/t-elf (LIB2ADDEH): Set.
1738         * config/c6x/t-c6x-elf: Remove.
1740 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1742         * config/i386/sol2-ci.S: Rename to ...
1743         * config/i386/crti.S: ... this.
1744         * config/i386/sol2-cn.S: Rename to ...
1745         * config/i386/crtn.S: ... this.
1746         * config/sparc/sol2-ci.S: Rename to ...
1747         * config/sparc/crti.S: ... this.
1748         * config/sparc/sol2-cn.S: Rename to ...
1749         * config/sparc/crtn.S: ... this.
1750         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1751         (crti.o, crtn.o): Remove.
1753 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1755         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1757 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1759         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1761 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1763         * config.host (crisv32-*-none, cris-*-none): Remove.
1764         (crisv32-*-elf): Append to tmake_file, don't just set it.
1765         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1767 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1769         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1770         (ecrtn$(objext)): Likewise.
1771         (ncrti$(objext)): Likewise.
1772         (ncrtn$(objext)): Likewise.
1774 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1776         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1778 2011-11-02  David S. Miller  <davem@davemloft.net>
1780         * configure.ac: Set host_address on sparc too.
1781         * configure: Regenerate.
1782         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1783         based upon host_address.
1784         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1786 2011-11-02  Jason Merrill  <jason@redhat.com>
1788         * config/rs6000/t-ppccomm: Add missing \.
1790 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1792         * gthr-single.h, gthr.h: New files.
1793         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1794         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1795         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1796         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1797         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1798         * configure.ac (thread_header): New variable.
1799         Set it depending on target_thread_file.
1800         (gthr-default.h): Link from $thread_header.
1801         * configure: Regenerate.
1802         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1804 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1806         * configure.ac (tm_file_): New variable.
1807         Determine from tm_file.
1808         (tm_file, tm_defines): Substitute.
1809         * configure: Regenerate.
1810         * mkheader.sh: New file.
1811         * Makefile.in (clean): Remove libgcc_tm.h.
1812         ($(objects)): Depend on libgcc_tm.h.
1813         (libgcc_tm_defines, libgcc_tm_file): New variables.
1814         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1815         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1816         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1817         ($(extra-parts)): Depend on libgcc_tm.h.
1818         * config.host (tm_defines, tm_file): New variable.
1819         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1820         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1821         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1822         (avr-*-rtems*): Likewise.
1823         (avr-*-*): Likewise.
1824         (frv-*-elf): Likewise.
1825         (frv-*-*linux*): Likewise.
1826         (h8300-*-rtems*): Likewise.
1827         (h8300-*-elf*): Likewise.
1828         (i[34567]86-*-darwin*): Likewise.
1829         (x86_64-*-darwin*): Likewise.
1830         (rx-*-elf): Likewise.
1831         (tic6x-*-uclinux): Likewise.
1832         (tic6x-*-elf): Likewise.
1833         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1834         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1835         * config/i386/cygming-crtbegin.c: Likewise.
1836         * config/i386/cygming-crtend.c: Likewise.
1837         * config/ia64/fde-vms.c: Likewise.
1838         * config/ia64/unwind-ia64.c: Likewise.
1839         * config/libbid/bid_gcc_intrinsics.h: Likewise.
1840         * config/rs6000/darwin-fallback.c: Likewise.
1841         * config/stormy16/lib2funcs.c: Likewise.
1842         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1843         * crtstuff.c: Likewise.
1844         * dfp-bit.h: Likewise.
1845         * emutls.c: Likewise.
1846         * fixed-bit.c: Likewise.
1847         * fp-bit.c: Likewise.
1848         * generic-morestack-thread.c: Likewise.
1849         * generic-morestack.c: Likewise.
1850         * libgcc2.c: Likewise.
1851         * libgcov.c: Likewise.
1852         * unwind-dw2-fde-dip.c: Likewise.
1853         * unwind-dw2-fde.c: Likewise.
1854         * unwind-dw2.c: Likewise.
1855         * unwind-sjlj.c: Likewise.
1857 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1859         * configure.ac: Include ../config/picflag.m4.
1860         (GCC_PICFLAG): Call it.
1861         Substitute.
1862         * configure: Regenerate.
1863         * Makefile.in (gcc_srcdir): Remove.
1864         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1865         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1866         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1867         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1868         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1869         Use $<.
1870         Remove comment.
1871         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1872         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1873         to refer to libgcc2.c.
1874         Use $<.
1875         * config/darwin-64.c: New file.
1876         * config/darwin-crt3.c: Remove comment.
1877         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1878         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1879         config/udivmodsi4.c: New files.
1880         * config/memcmp.c, config/memcpy.c, config/memmove.c,
1881         config/memset.c: New files.
1882         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1883         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1884         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1885         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1886         * config/t-openbsd-thread: New file.
1887         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1888         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1889         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1890         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1891         qrnnd.S.
1892         Adapt filename.
1893         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1894         to refer to gthr-posix.c.
1895         * config/alpha/t-vms (LIB2ADD): Set.
1896         * config/alpha/vms-gcc_shell_handler.c: New file.
1897         * config/arm/bpabi.c, config/arm/fp16.c,
1898         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1899         config/arm/unaligned-funcs.c: New files.
1900         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1901         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1902         * config/arm/t-linux: Likewise.
1903         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1904         * config/arm/t-netbsd: New file.
1905         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1906         * config/arm/t-symbian (LIB2ADD_ST): Set.
1907         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1908         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1909         * config/bfin/t-elf: New file.
1910         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1911         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1912         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1913         config/c6x/ltf.c: New files.
1914         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1915         (HOST_LIBGCC2_CFLAGS): Set.
1916         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1917         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1918         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1919         New files.
1920         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1921         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1922         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1923         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1924         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1925         files.
1926         * config/frv/t-frv (LIB2ADD): Set.
1927         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1928         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1929         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1930         config/h8300/popcounthi2.c: New files.
1931         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1932         * config/i386/gthr-win32.c: New file.
1933         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1934         * config/i386/t-cygwin: Likewise.
1935         * config/i386/t-darwin, config/i386/t-darwin64,
1936         config/i386/t-gthr-win32, config/i386/t-interix: New files.
1937         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1938         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1939         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1940         * config/ia64/quadlib.c: New file.
1941         * config/ia64/t-hpux (LIB2ADD): Set.
1942         * config/ia64/t-ia64: Add comment.
1943         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1944         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1945         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1946         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1947         * config/m32c/t-m32c (LIB2ADD): Set.
1948         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1949         * config/m32r/t-m32r: Likewise.
1950         * config/m68k/fpgnulib.c: New file.
1951         * config/m68k/t-floatlib (LIB2ADD): Set.
1952         (xfgnulib.c): New target.
1953         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1954         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1955         * config/mep/t-mep (LIB2ADD): Set.
1956         * config/microblaze/divsi3.asm: Rename to divsi3.S.
1957         * config/microblaze/moddi3.asm: Rename to moddi3.S.
1958         * config/microblaze/modsi3.asm: Rename to modsi3.S.
1959         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1960         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1961         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1962         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1963         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1964         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1965         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1966         New files.
1967         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1968         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1969         * config/pa/fptr.c, config/pa/lib2funcs.S,
1970         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1971         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1972         (LIB2ADD, LIB2ADD_ST): Set.
1973         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1974         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1975         Set.
1976         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1977         * config/pdp11/t-pdp11: New file.
1978         * config/picochip/libgccExtras/adddi3.S,
1979         config/picochip/libgccExtras/ashlsi3.S,
1980         config/picochip/libgccExtras/ashrsi3.S,
1981         config/picochip/libgccExtras/clzsi2.S,
1982         config/picochip/libgccExtras/cmpsi2.S,
1983         config/picochip/libgccExtras/divmod15.S,
1984         config/picochip/libgccExtras/divmodhi4.S,
1985         config/picochip/libgccExtras/divmodsi4.S,
1986         config/picochip/libgccExtras/lshrsi3.S,
1987         config/picochip/libgccExtras/parityhi2.S,
1988         config/picochip/libgccExtras/popcounthi2.S,
1989         config/picochip/libgccExtras/subdi3.S,
1990         config/picochip/libgccExtras/ucmpsi2.S,
1991         config/picochip/libgccExtras/udivmodhi4.S,
1992         config/picochip/libgccExtras/udivmodsi4.S: New files.
1993         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1994         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1995         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1996         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1997         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1998         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1999         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2000         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2001         files.
2002         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2003         (HOST_LIBGCC2_CFLAGS): Set.
2004         * config/rs6000/t-darwin64: New file.
2005         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2006         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2007         * config/rs6000/t-ppccomm (LIB2ADD): Add
2008         $(srcdir)/config/rs6000/tramp.S.
2009         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2010         Add  $(srcdir)/config/rs6000/eabi.S.
2011         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2012         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2013         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2014         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2015         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2016         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2017         * config/rs6000/tramp.S: New file.
2018         * config/s390/t-tpf: Remove.
2019         * config/sh/linux-atomic.S: New file.
2020         * config/sh/t-linux (LIB2ADD): Set.
2021         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2022         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2023         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2024         to unwind-dw2.c.
2025         (HOST_LIBGCC2_CFLAGS): Set.
2026         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2027         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2028         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2029         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2030         config/spu/mfc_multi_tag_release.c,
2031         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2032         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2033         config/spu/multi3.c: New files.
2034         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2035         (HOST_LIBGCC2_CFLAGS): Set.
2036         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2037         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2038         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2039         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2040         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2041         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2042         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2043         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2044         config/stormy16/umodsi3.c: New files.
2045         * config/xtensa/lib2funcs.S: New file.
2046         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2047         * config/xtensa/t-xtensa (LIB2ADD): Set.
2048         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2049         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2050         Add t-freebsd-thread to tmake_file for posix threads.
2051         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2052         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2053         (*-*-lynxos*): Likewise.
2054         (*-*-netbsd*): Likewise.
2055         (*-*-openbsd*): Likewise.
2056         Add t-openbsd-thread to tmake_file for posix threads.
2057         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2058         (*-*-vxworks*): Set tmake_file.
2059         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2060         (alpha*-*-freebsd*): Likewise.
2061         (alpha*-*-netbsd*): Likewise.
2062         (alpha*-*-openbsd*): Likewise.
2063         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2064         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2065         (alpha*-dec-*vms*): Likewise.
2066         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2067         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2068         (bfin*-uclinux*): Likewise.
2069         (bfin*-linux-uclibc*): Likewise.
2070         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2071         (crisv32-*-none): Likewise.
2072         (cris-*-elf): Likewise.
2073         (cris-*-none): Likewise.
2074         (cris-*-linux*, crisv32-*-linux*): Likewise.
2075         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2076         tmake_file.
2077         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2078         tmake_file.
2079         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2080         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2081         (x86_64-*-elf*): Likewise.
2082         (i[34567]86-*-nto-qnx*): Likewise.
2083         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2084         win32 threads.
2085         (x86_64-*-mingw*): Likewise.
2086         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2087         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2088         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2089         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2090         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2091         tmake_file.
2092         (mipsisa64sr71k-*-elf*): Likewise.
2093         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2094         (mips-*-elf*, mipsel-*-elf*): Likewise.
2095         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2096         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2097         (mips*-*-rtems*): Likewise.
2098         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2099         to tmake_file.
2100         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2101         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2102         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2103         (spu-*-elf*): Likewise.
2104         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2106 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2108         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2109         $(srcdir) to refer to $(LIB1ASMSRC).
2110         Use $<.
2111         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2112         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2113         config/arm/lib1funcs.S: New files.
2114         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2115         * config/arm/t-arm: New file.
2116         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2117         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2118         config/arm/t-strongarm-elf: New files.
2119         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2120         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2121         * config/avr/lib1funcs.S: New file.
2122         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2123         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2124         * config/c6x/lib1funcs.S: New file.
2125         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2126         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2127         * config/frv/lib1funcs.S: New file.
2128         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2129         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2130         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2131         * config/ia64/__divxf3.asm: Rename to ...
2132         * config/ia64/__divxf3.S: ... this.
2133         Adapt lib1funcs.asm filename.
2134         * config/ia64/_fixtfdi.asm: Rename to ...
2135         * config/ia64/_fixtfdi.S: ... this.
2136         Adapt lib1funcs.asm filename.
2137         * config/ia64/_fixunstfdi.asm: Rename to ...
2138         * config/ia64/_fixunstfdi.S: ... this.
2139         Adapt lib1funcs.asm filename.
2140         * config/ia64/_floatditf.asm: Rename to ...
2141         * config/ia64/_floatditf.S: ... this.
2142         Adapt lib1funcs.asm filename.
2143         * config/ia64/lib1funcs.S: New file.
2144         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2145         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2146         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2147         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2148         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2149         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2150         * config/mep/lib1funcs.S: New file.
2151         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2152         * config/mips/mips16.S: New file.
2153         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2154         * config/pa/milli64.S: New file.
2155         * config/pa/t-linux, config/pa/t-linux64: New files.
2156         * config/picochip/lib1funcs.S: New file.
2157         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2158         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2159         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2160         * config/sh/t-netbsd: New file.
2161         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2162         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2163         * config/sh/t-sh64: New file.
2164         * config/sparc/lb1spc.S: New file.
2165         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2166         filename.
2167         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2168         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2169         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2170         config/xtensa/lib1funcs.S: New files.
2171         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2172         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2173         tmake_file.
2174         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2175         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2176         (arm*-*-linux*): Likewise.
2177         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2178         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2179         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2180         (arm*-*-ecos-elf): Likewise.
2181         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2182         (arm*-*-rtems*): Likewise.
2183         (arm*-*-elf): Likewise.
2184         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2185         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2186         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2187         (bfin*-uclinux*): Likewise.
2188         (bfin*-linux-uclibc*): Likewise.
2189         (bfin*-rtems*): Likewise.
2190         (bfin*-*): Likewise.
2191         (fido-*-elf): Merge into m68k-*-elf*.
2192         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2193         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2194         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2195         (h8300-*-elf*): Likewise.
2196         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2197         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2198         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2199         (i[34567]86-*-mingw*): Likewise.
2200         (x86_64-*-mingw*): Likewise.
2201         (i[34567]86-*-interix3*): Likewise.
2202         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2203         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2204         (m68k-*-elf*): Also handle fido-*-elf.
2205         Add m68k/t-floatlib to tmake_file.
2206         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2207         (m68k-*-linux*): Likewise.
2208         (m68k-*-rtems*): Likewise.
2209         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2210         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2211         sh64*-*-*.
2212         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2213         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2214         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2215         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2216         sh/t-netbsd to tmake_file.
2217         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2218         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2219         (sh-wrs-vxworks): Likewise.
2220         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2221         *-leon[3-9]*.
2222         (v850*-*-*): Add v850/t-v850 to tmake_file.
2223         (vax-*-linux*): Add vax/t-linux to tmake_file.
2224         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2226 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2228         * crtstuff.c: New file.
2229         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2230         (CRTSTUFF_T_CFLAGS): Define.
2231         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2232         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2233         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2234         crtstuff.c.
2235         Use $<.
2236         (crtbeginT.o): Use $(objext).
2237         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2238         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2239         (gcc-extra-parts): Remove.
2240         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2241         Set extra_parts.
2242         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2243         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2244         Add t-crtstuff-pic to tmake_file.
2245         (*-*-lynxos*): New case.
2246         Set tmake_file, extra_parts.
2247         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2248         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2249         *-*-netbsdelf[2-9]*.
2250         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2251         (*-*-rtems*): Set extra_parts.
2252         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2253         (*-*-uclinux*): New case.
2254         Set extra_parts.
2255         (*-*-vms*): New case.
2256         Set tmake_file, extra_parts.
2257         (*-*-elf): Set extra_parts.
2258         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2259         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2260         vms/t-vms64.
2261         Set extra_parts.
2262         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2263         Set extra_parts.
2264         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2265         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2266         (arm-wrs-vxworks): Append to tmake_file.
2267         Set extra_parts.
2268         (arm*-*-uclinux*): Set extra_parts.
2269         (arm*-*-ecos-elf): Likewise.
2270         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2271         arm*-*-eabi*.
2272         (arm*-*-rtems*): Set extra_parts.
2273         (arm*-*-elf): Likewise.
2274         (avr-*-rtems*): Clear extra_parts.
2275         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2276         Set extra_parts.
2277         (bfin*-uclinux*): Likewise.
2278         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2279         (bfin*-rtems*): Append to tmake_file.
2280         Set extra_parts.
2281         (bfin*-*): Likewise.
2282         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2283         (crisv32-*-elf): ... this.
2284         (crisv32-*-none): ... this.
2285         (cris-*-elf, cris-*-none): New cases.
2286         Add cris/t-elfmulti to tmake_file.
2287         (fr30-*-elf): Append to tmake_file.
2288         Set extra_parts.
2289         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2290         Set extra_parts.
2291         (h8300-*-rtems*): Append to tmake_file.
2292         Set extra_parts.
2293         (h8300-*-elf*): Likewise.
2294         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2295         Set extra_parts.
2296         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2297         Set extra_parts.
2298         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2299         (x86_64-*-elf*): Likewise.
2300         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2301         (x86_64-*-freebsd*): Likewise.
2302         (x86_64-*-netbsd*): Likewise.
2303         (i[34567]86-*-linux*): Likewise.
2304         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2305         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2306         (x86_64-*-linux*): Likewise.
2307         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2308         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2309         tmake_file.
2310         Set extra_parts.
2311         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2312         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2313         Append to extra_parts, remove crtbegin.o, crtend.o.
2314         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2315         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2316         crtend.o, crtbeginS.o, crtendS.o.
2317         (ia64*-*-linux*): Comment extra_parts.
2318         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2319         Set extra_parts.
2320         (iq2000*-*-elf*): Clear extra_parts.
2321         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2322         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2323         (m32r-*-elf*, m32r-*-rtems*): Split off ...
2324         (m32r-*-rtems*): ... this.
2325         Add m32r/t-m32r to tmake_file.
2326         (m68k-*-elf*): Add t-crtin to tmake_file.
2327         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2328         (mcore-*-elf): Likewise.
2329         (microblaze*-*-*): Set extra_parts.
2330         (mips*-sde-elf*): New case.
2331         Set tmake_file, extra_parts.
2332         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2333         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2334         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2335         tmake_file.
2336         Set extra_parts.
2337         (mipsisa64sr71k-*-elf*): Likewise.
2338         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2339         (mips-*-elf*, mipsel-*-elf*): Likewise.
2340         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2341         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2342         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2343         (mips*-*-rtems*): Likewise.
2344         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2345         (moxie-*-*): Split into ...
2346         (moxie-*-elf, moxie-*-uclinux*): ... this.
2347         Add to extra_parts, remove crtbegin.o, crtend.o.
2348         (moxie-*-rtems*): New case.
2349         Set tmake_file.
2350         Clear extra_parts.
2351         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2352         Set extra_parts.
2353         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2354         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2355         tmake_file.
2356         Set extra_parts.
2357         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2358         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2359         Set extra_parts.
2360         (powerpc-*-eabisim*): Likewise.
2361         (powerpc-*-elf*): Likewise.
2362         (powerpc-*-eabialtivec*): Likewise.
2363         (powerpc-xilinx-eabi*): Likewise.
2364         (powerpc-*-eabi*): Likewise.
2365         (powerpc-*-rtems*): Likewise.
2366         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2367         tmake_file.
2368         Set extra_parts.
2369         (powerpc-*-lynxos*): Add to tmake_file.
2370         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2371         rs6000/t-crtstuff, t-crtstuff-pic.
2372         Set extra_parts.
2373         (powerpcle-*-eabisim*): Likewise.
2374         (powerpcle-*-eabi*): Likewise.
2375         (rx-*-elf): Remove extra_parts.
2376         (s390x-ibm-tpf*): Set extra_parts.
2377         (score-*-elf): Set extra_parts.
2378         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2379         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2380         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2381         (sh64l*-*-netbsd*): Split into ...
2382         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2383         Add t-crtstuff-pic to tmake_file.
2384         Set extra_parts.
2385         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2386         Set extra_parts.
2387         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2388         (sparc-*-elf*): Remove t-crtin from tmake_file.
2389         Add to extra_parts, remove crtbegin.o, crtend.o.
2390         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2391         (sparc64-*-linux*): Likewise.
2392         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2393         Add to extra_parts, remove crtbegin.o, crtend.o.
2394         (sparc64-*-elf*): Remove t-crtin from tmake_file.
2395         Add to extra_parts, remove crtbegin.o, crtend.o.
2396         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2397         Add to extra_parts, remove crtbegin.o, crtend.o.
2398         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2399         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2400         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2401         Set extra_parts.
2402         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2403         Set extra_parts.
2404         (tic6x-*-*): Change to ...
2405         (tic6x-*-elf): ... this.
2406         Set extra_parts.
2407         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2408         Set extra_parts.
2409         (am33_2.0-*-linux*): Add comment.
2410         (mep*-*-*): Add mep/t-mep to tmake_file.
2411         Set extra_parts.
2412         * config/alpha/t-vms: New file.
2413         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2414         * config/arm/crti.S, config/arm/crtn.S: New files.
2415         * config/bfin/crti.S, config/bfin/crtn.S: New files.
2416         * config/bfin/crtlibid.S: New file.
2417         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2418         * config/c6x/crti.S, config/c6x/crtn.S: New files.
2419         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2420         (crti.o, crtin.o): New rules.
2421         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2422         * config/c6x/t-uclinux: New file.
2423         * config/cris/t-elfmulti: New file.
2424         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2425         * config/fr30/crti.S, config/fr30/crtn.S: New files.
2426         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2427         * config/frv/t-frv: New file.
2428         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2429         * config/h8300/crti.S, config/h8300/crtn.S: New files.
2430         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2431         New files.
2432         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2433         refer to cygming-crtbegin.c, cygming-crtend.c.
2434         Use $<.
2435         * config/i386/t-nto: New file.
2436         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2437         * config/ia64/crti.S, config/ia64/crtn.S: New files.
2438         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2439         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2440         Use .S extension.
2441         Use $<.
2442         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2443         (crtinitS.o): New rule.
2444         * config/ia64/vms-crtinit.S: New file.
2445         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2446         * config/m32r/initfini.c: New file.
2447         * config/m32r/t-linux, config/m32r/t-m32r: New files.
2448         * config/m68k/crti.S, config/m68k/crtn.S: New files.
2449         * config/mcore/crti.S, config/mcore/crtn.S: New files.
2450         * config/mep/t-mep: New file.
2451         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2452         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2453         * config/mips/crti.S, config/mips/crtn.S: New files.
2454         * config/mips/t-crtstuff: New file.
2455         * config/mmix/crti.S, config/mmix/crtn.S: New files.
2456         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2457         (CUSTOM_CRTIN): Set.
2458         ($(T)crti.o, $(T)crtn.o): Remove $(T),
2459         dependencies.
2460         Use $(srcdir) to refer to crti.S, crtn.S.
2461         Use .S extension, $<.
2462         * config/moxie/crti.asm: Rename to ...
2463         * config/moxie/crti.S: ... this.
2464         * config/moxie/crtn.asm: Rename to ...
2465         * config/moxie/crtn.S: ... this.
2466         * config/moxie/t-moxie: Remove.
2467         * config/pa/stublib.c: New file.
2468         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2469         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2470         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2471         * config/rs6000/t-crtstuff: New file.
2472         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2473         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2474         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2475         Make output file explicit.
2476         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2477         Make output file explicit.
2478         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2479         Make output file explicit.
2480         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2481         Make output file explicit.
2482         * config/score/crti.S, config/score/crtn.S: New files.
2483         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2484         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2485         files.
2486         * config/sh/t-sh, config/sh/t-superh: New files.
2487         * config/sparc/t-linux64: New file.
2488         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2489         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2490         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2491         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2492         * config/t-crtin: Remove.
2493         * config/t-crtstuff-pic: New file.
2494         * config/t-sol2 (CUSTOM_CRTIN): Set.
2495         (crti.o, crtn.o): New rules.
2496         * config/vms/t-vms: New file.
2497         * config/vms/vms-ucrt0.c: New file.
2498         * config/xtensa/t-elf: New file.
2500 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2502         * Makefile.in (SHLIB_NM_FLAGS): Set.
2503         * mkmap-flat.awk, mkmap-symver.awk: New files.
2504         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2505         exceptions.
2506         * configure: Regenerate.
2507         * config/libgcc-glibc.ver: New file.
2508         * config/libgcc-libsystem.ver: New file.
2509         * config/t-libunwind (SHLIB_LC): Set.
2510         * config/t-linux: New file.
2511         * config/t-slibgcc (INSTALL_SHLIB): New.
2512         (SHLIB_INSTALL): Use it.
2513         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2514         to mkmap-symver.awk.
2515         (SHLIB_MAPFILES): Don't append, adapt pathname.
2516         (SHLIB_VERPFX): Set.
2517         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2518         to mkmap-symver.awk.
2519         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2520         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2521         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2522         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2523         to mkmap-flat.awk.
2524         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2525         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2526         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2527         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2528         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2529         * config/i386/libgcc-darwin.10.4.ver,
2530         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2531         New files.
2532         * config/i386/t-darwin: Remove.
2533         * config/i386/t-darwin64: Likewise.
2534         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2535         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2536         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2537         * config/i386/t-linux: New file.
2538         * config/i386/t-mingw32: New file.
2539         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2540         * config/ia64/t-glibc: Rename to ...
2541         * config/ia64/t-linux: ... this.
2542         (SHLIB_MAPFILES): Set.
2543         * config/ia64/t-glibc-libunwind: Rename to ...
2544         * config/ia64/t-linux-libunwind: ... this.
2545         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2546         * config/ia64/t-slibgcc-hpux: New file.
2547         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2548         * config/m68k/t-slibgcc-elf-ver: New file.
2549         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2550         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2551         to mkmap-flat.awk.
2552         * config/pa/t-slibgcc-hpux: New file.
2553         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2554         files.
2555         * config/rs6000/libgcc-darwin.10.4.ver,
2556         config/rs6000/libgcc-darwin.10.5.ver: New files.
2557         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2558         config/rs6000/libgcc-glibc.ver.
2559         * config/rs6000/libgcc-ppc64.ver: Rename to
2560         config/rs6000/libgcc-ibm-ldouble.ver.
2561         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2562         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2563         * config/rs6000/t-ldbl128: Rename to ...
2564         * config/rs6000/t-linux: ... this.
2565         (SHLIB_MAPFILES): Adapt filename.
2566         * config/rs6000/t-slibgcc-aix: New file.
2567         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2568         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2569         libgcc-excl.ver, libgcc-glibc.ver.
2570         (SHLIB_LINK, SHLIB_INSTALL): Remove.
2571         * config/sparc/libgcc-glibc.ver: New file.
2572         * config/sparc/t-linux: New file.
2573         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2574         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2575         t-slibgcc-elf-ver to tmake_file.
2576         Add t-slibgcc-nolc-override to tmake_file for posix threads on
2577         *-*-freebsd[34].
2578         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2579         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2580         t-slibgcc-elf-ver, t-linux to tmake_file.
2581         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2582         tmake_file.
2583         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2584         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2585         (alpha*-dec-*vms*): Likewise.
2586         (arm*-*-freebsd*): Append to tmake_file.
2587         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2588         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2589         arm*-*-linux-*eabi.
2590         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2591         tmake_file for arm*-*-symbianelf*.
2592         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2593         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2594         cris/t-linux.
2595         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2596         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2597         pa/t-slibgcc-dwarf-ver to tmake_file.
2598         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2599         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2600         (hppa*64*-*-hpux11*): Likewise.
2601         (hppa[12]*-*-hpux11*): Likewise.
2602         (x86_64-*-darwin*): Don't override tmake_file, but only keep
2603         i386/t-crtpc, i386/t-crtfm.
2604         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2605         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2606         to tmake_file.
2607         Add i386/t-cygwin to tmake_file.
2608         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2609         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2610         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2611         to tmake_file.
2612         Add i386/t-mingw32 to tmake_file.
2613         (x86_64-*-mingw*): Likewise.
2614         (ia64*-*-freebsd*): Append to tmake_file.
2615         (ia64*-*-linux*): Append to tmake_file.
2616         Replace ia64/t-glibc by ia64/t-linux.
2617         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2618         system libunwind.
2619         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2620         t-slibgcc-hpux to tmake_file.
2621         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2622         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2623         (m32rle-*-linux*): Likewise.
2624         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2625         sjlj exceptions.
2626         (microblaze*-linux*): New case.
2627         Append to tmake_file, add t-slibgcc-nolc-override.
2628         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2629         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2630         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2631         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2632         rs6000/t-slibgcc-aix to tmake_file.
2633         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2634         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2635         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2636         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2637         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2638         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2639         sh*-*-linux*.
2640         (sparc-*-linux*): Append to tmake_file for *-leon*.
2641         Add sparc/t-linux to tmake_file for non-Leon targets.
2642         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2643         (tic6x-*-uclinux): New case.
2644         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2645         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2646         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2647         (am33_2.0-*-linux*): Append to tmake_file.
2648         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2649         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2650         x86_64-*-kfreebsd*-gnu.
2651         Add i386/t-linux to tmake_file.
2653 2011-10-28  Ian Lance Taylor  <iant@google.com>
2655         * config/i386/morestack.S: Correct CFI information to do proper
2656         returns throughout function.  In 32-bit mode, save %ebx so that it
2657         is restored on unwind.
2659 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2661         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2662         case where B3 isn't the return register.
2664         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2665         logic for doubleword pops.
2667 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2669         * config/rs6000/t-freebsd: Add wildcard.
2671 2011-10-21  Paul Brook  <paul@codesourcery.com>
2673         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2675 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2676             Eric Botcazou  <ebotcazou@adacore.com>
2678         PR target/50737
2679         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2680         fs->signal_frame to 1.
2682 2011-10-07  Ian Lance Taylor  <iant@google.com>
2684         * generic-morestack-thread.c: #include <errno.h>.
2686 2011-10-07  Ian Lance Taylor  <iant@google.com>
2688         PR target/46093
2689         * generic-morestack.c (__generic_morestack): Make sure the segment
2690         is large enough for both the stack frame and the copied
2691         parameters.
2693 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2695         PR bootstrap/49804
2696         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2697         extra_parts.
2699 2011-09-28  Nick Clifton  <nickc@redhat.com>
2701         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2702         64-bit doubles are not enabled.
2703         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2704         and floatunsisf functions.
2706 2011-09-13  Paul Brook  <paul@codesourcery.com>
2708         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2709         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2710         * unwind-arm-common.inc: New file.
2711         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2712         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2713         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2714         * config/c6x/libunwind.S: New file.
2715         * config/c6x/pr-support.c: New file.
2716         * config/c6x/unwind-c6x.c: New file.
2717         * config/c6x/unwind-c6x.h: New file.
2718         * config/c6x/t-c6x-elf: New file.
2720 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2722         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2723         (ASM_DIVZERO): Ditto.
2724         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2726 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2728         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2730 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2732         PR target/50090
2733         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2734         instead of an assembly one.
2736 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2738         PR bootstrap/50047
2739         * Makefile.in (install-unwind_h): Create
2740         $(gcc_objdir)/include/unwind.h atomically.
2742 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2744         * Makefile.in (install-unwind_h): Remove destination file first.
2746 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2748         * sync.c: New file.
2749         * config/mips/t-mips16: New file.
2750         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2751         (mips*-*-linux*): Likewise.
2752         (mips*-sde-elf*): Likewise.
2753         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2754         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2755         Add mips/t-mips16 to tmake_file.
2756         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2757         (mips-*-elf*): Likewise.
2758         (mips64-*-elf*): Likewise.
2759         (mips64orion-*-elf*): Likewise.
2760         (mips*-*-rtems*): Likewise.
2761         (mipstx39-*-elf*): Likewise.
2762         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2763         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2764         LIBGCC_SYNC_CFLAGS.
2765         Use $(srcdir) to refer to sync.c.
2766         Use $<.
2767         ($(libgcc-sync-funcs-o)): Likewise.
2768         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2769         ($(libgcc-sync-funcs-s-o)): Likewise.
2771 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2773         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2774         t-libunwind.
2776 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2778         PR other/48007
2779         * config/i386/value-unwind.h: New.
2781 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2783         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2784         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2785         Add to tmake_file rather than overriding it.
2787 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2789         * config/t-softfp: Remove.
2790         * soft-fp: Moved from ../gcc/config.
2791         * soft-fp/README: Remove t-softfp reference.
2792         * soft-fp/t-softfp: Move to config/t-softfp.
2793         (softfp_machine_header): Remove.
2794         (softfp_file_list): Remove config subdir.
2795         (soft-fp-objects): New variable.
2796         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2797         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2798         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2799         * config/t-softfp-excl: New file.
2800         * config/t-softfp-sfdf: New file.
2801         * config/t-softfp-tf: New file.
2802         * config/no-sfp-machine.h: New file.
2803         * config/arm/sfp-machine.h: New file.
2804         * config/arm/t-softfp: New file.
2805         * config/c6x/sfp-machine.h: New file.
2806         * config/i386/32/t-fprules-softfp: Rename to ...
2807         * config/i386/32/t-softfp: ... this.
2808         (tifunctions, LIB2ADD): Remove.
2809         (softfp_int_modes): Override.
2810         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2811         subdir.
2812         * config/i386/64/eqtf2.c: Likewise.
2813         * config/i386/64/getf2.c: Likewise.
2814         * config/i386/64/letf2.c: Likewise.
2815         * config/ia64/sft-machine.h: New file.
2816         * config/ia64/t-fprules-softfp: Rename to ...
2817         * config/ia64/t-softfp: ... this.
2818         * config/lm32/sfp-machine.h: New file.
2819         * config/moxie/t-moxie-softfp: Remove.
2820         * config/rs6000/ibm-ldouble-format: New file.
2821         * config/rs6000/ibm-ldouble.c: New file.
2822         * config/rs6000/libgcc-ppc-glibc.ver: New file
2823         * config/rs6000/libgcc-ppc64.ver: New file
2824         * config/rs6000/sfp-machine.h: New file.
2825         * config/rs6000/t-freebsd: New file.
2826         * config/rs6000/t-ibm-ldouble: New file.
2827         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2828         libgcc-ppc-glibc.ver.
2829         * config/rs6000/t-linux64: New file.
2830         * config/rs6000/t-ppccomm (LIB2ADD): Add
2831         $(srcdir)/config/rs6000/ibm-ldouble.c.
2832         * config/rs6000/t-ppccomm-ldbl: New file.
2833         * config/score/sfp-machine.h: New file.
2834         * config.host (sfp_machine_header): Explain.
2835         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2836         t-softfp to tmake_file.
2837         (arm*-*-uclinux*): Likewise.
2838         (arm*-*-ecos-elf): Likewise.
2839         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2840         (arm*-*-rtems*): Likewise.
2841         (arm*-*-elf): Likewise.
2842         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2843         in tmake_file.
2844         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2845         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2846         (lm32-*-uclinux*): Likewise.
2847         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2848         t-softfp-excl, t-softfp.
2849         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2850         (powerpc64-*-darwin*): Likewise.
2851         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2852         to tmake_file.
2853         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2854         tmake_file.
2855         (powerpc-*-eabisim*): Likewise.
2856         (powerpc-*-elf*): Likewise.
2857         (powerpc-*-eabialtivec*): Likewise.
2858         (powerpc-xilinx-eabi*): Likewise.
2859         (powerpc-*-rtems*): Likewise.
2860         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2861         t-softfp-excl, t-softfp to tmake_file.
2862         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2863         rs6000/t-ppccomm-ldbl to tmake_file.
2864         (powerpcle-*-elf*): Likewise.
2865         (powerpcle-*-eabisim*): Likewise.
2866         (powerpcle-*-eabi*): Likewise.
2867         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2868         rs6000/t-ibm-ldouble to tmake_file.
2869         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2870         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2871         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2872         (tic6x-*-*): Likewise.
2873         (i[34567]86-*-darwin*, x86_64-*-darwin*,
2874         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2875         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2876         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2877         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2878         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2879         t-softfp to tmake_file.
2880         * configure.ac (sfp_machine_header): Provide default if unset.
2881         Substitute.
2882         Link sfp-machine.h to config/$sfp_machine_header.
2883         * configure: Regenerate.
2885 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2887         * Makefile.in (double_type_size, long_double_type_size): Set.
2888         Remove $(fpbit-in-libgcc) support.
2889         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2890         (fpbit-src): New variable.
2891         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2892         Compile with -DFLOAT $(FPBIT_CFLAGS).
2893         Use $<.
2894         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2895         Compile with $(FPBIT_CFLAGS).
2896         Use $<.
2897         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2898         Compile with -DFLOAT $(TPBIT_CFLAGS).
2899         Use $<.
2900         * configure.ac (double_type_size, long_double_type_size):
2901         Determine and substitute.
2902         * configure: Regenerate.
2903         * fp-bit.c, fp-bit.h: New files.
2904         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2905         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2906         * config/mips/t-mips: New file.
2907         * config/mips/t-sdemtk: New file.
2908         * config/rs6000/ppc64-fp.c: New file.
2909         * config/rs6000/t-darwin (LIB2ADD): Add
2910         $(srcdir)/config/rs6000/ppc64-fp.c.
2911         * config/rs6000/t-ppc64-fp: New file.
2912         * config/rx/rx-lib.h: New file.
2913         * config/rx/t-rx (FPBIT): Set to true.
2914         ($(gcc_objdir)/fp-bit.c): Remove.
2915         (DPBIT): Set to true only with -m64bit-doubles.
2916         ($(gcc_objdir)/dp-bit.c): Remove.
2917         * config/sparc/t-softfp: Remove.
2918         * config/spu/t-elf: New file.
2919         * config/t-fdpbit, config/t-fpbit: New files.
2920         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2921         (mips*-*-*): Likewise.
2922         (arm-wrs-vxworks): Likewise.
2923         (arm*-*-freebsd*): Likewise.
2924         (avr-*-rtems*): Add t-fpbit to tmake_file.
2925         (avr-*-*): Likewise.
2926         (bfin*-elf*): Add t-fdpbit to tmake_file.
2927         (bfin*-uclinux*): Likewise.
2928         (bfin*-linux-uclibc*): Likewise.
2929         (bfin*-rtems*): New case.
2930         Add t-fdpbit to tmake_file.
2931         (bfin*-*): Add t-fdpbit to tmake_file.
2932         (crisv32-*-elf): Likewise.
2933         (cris-*-linux*): Likewise.
2934         (fr30-*-elf): Likewise.
2935         (frv-*-elf, frv-*-*linux*): Likewise.
2936         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2937         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2938         (m32r-*-elf*): Likewise.
2939         (m32rle-*-elf*): Likewise.
2940         (m32r-*-linux*): Likewise.
2941         (m32rle-*-linux*): Likewise.
2942         (mcore-*-elf): Add t-fdpbit to tmake_file.
2943         (microblaze*-*-*): Likewise.
2944         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2945         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2946         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2947         Fix typo.
2948         Add mips/t-tpbit to tmake-file.
2949         (mips*-*-linux*): Fix typo.
2950         (mips*-sde-elf*): New case
2951         Add mips/t-sdemtk unless using newlib.
2952         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2953         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2954         (mn10300-*-*): Likewise.
2955         (pdp11-*-*): Likewise.
2956         (picochip-*-*): Add t-fpbit to tmake_file.
2957         (powerpc-*-eabisimaltivec*): Likewise.
2958         (powerpc-*-eabisim*): Likewise.
2959         (powerpc-*-elf*): Likewise.
2960         (powerpc-*-eabialtivec*): Likewise.
2961         (powerpc-xilinx-eabi*): New case.
2962         Add t-fdpbit to tmake_file.
2963         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
2964         (powerpc-*-rtems*): Likewise.
2965         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2966         tmake_file.
2967         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2968         tmake_file.
2969         (powerpc-*-lynxos*): Likewise.
2970         (powerpcle-*-elf*): Likewise.
2971         (powerpcle-*-eabisim*): Likewise.
2972         (powerpcle-*-eabi*): Likewise.
2973         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2974         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2975         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2976         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2977         (rx-*-elf): Add t-fdpbit to tmake_file.
2978         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2979         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2980         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2981         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2982         sh*-*-netbsd*.
2983         (sh-*-rtems*): Add t-fdpbit to tmake_file.
2984         (sh-wrs-vxworks): Likewise.
2985         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2986         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2987         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2988         (sparc64-*-rtems*): ... new case.
2989         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2990         (spu-*-elf*): Likewise.
2991         Add spu/t-elf to tmake_file.
2992         (v850*-*-*): Add t-fdpbit to tmake_file.
2993         (xstormy16-*-elf): Likewise.
2994         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2995         (mep*-*-*): Likewise.
2997 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2999         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3000         variables.
3001         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3002         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3003         (install-unwind_h): New target.
3004         (all): Depend on it.
3005         * config.host (unwind_header): New variable.
3006         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3007         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3008         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3009         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3010         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3011         Set unwind_header.
3012         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3013         Set unwind_header.
3014         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3015         arm*-*-eabi*.
3016         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3017         Set unwind_header.
3018         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3019         (ia64*-*-freebsd*): Likewise.
3020         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3021         tmake_file.
3022         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3023         $with_system_libunwind.
3024         (ia64*-*-hpux*): Set tmake_file.
3025         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3026         (picochip-*-*): Set tmake_file.
3027         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3028         md_unwind_header.
3029         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3030         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3031         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3032         (xtensa*-*-elf*): Set tmake_file.
3033         (xtensa*-*-linux*): Likewise.
3034         * configure.ac: Include ../config/unwind_ipinfo.m4.
3035         Call GCC_CHECK_UNWIND_GETIPINFO.
3036         Link unwind.h to $unwind_header.
3037         * configure: Regenerate.
3038         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3039         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3040         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3041         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3042         * config/unwind-dw2-fde-darwin.c: New file.
3043         * config/arm/libunwind.S, config/arm/pr-support.c,
3044         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3045         config/arm/unwind-arm.h,: New files.
3046         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3047         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3048         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3049         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3050         config/ia64/unwind-ia64.h: New files.
3051         * config/picochip/t-picochip: New file.
3052         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3053         files.
3054         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3055         * config/s390/t-tpf (LIB2ADDEH): Remove.
3056         * config/t-darwin (LIB2ADDEH): Set.
3057         * config/t-eh-dw2-dip: New file.
3058         * config/t-libunwind, config/t-libunwind-elf: New files.
3059         * config/t-sol2 (LIB2ADDEH): Remove.
3060         * config/xtensa/t-xtensa: New file.
3062 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3064         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3065         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3066         long long to check rt_sigreturn syscall.
3068 2011-08-02  Alan Modra  <amodra@gmail.com>
3070         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3071         Restore for indirect call bcrtl from correct stack slot, and only
3072         if cfa+40 isn't valid.
3074 2011-08-01  Julian Brown  <julian@codesourcery.com>
3076         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3077         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3078         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3080 2011-08-01  Julian Brown  <julian@codesourcery.com>
3082         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3083         (libgcc-std.ver.in): Use above.
3084         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3085         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3086         throughout file.
3087         * config/t-fixedpoint-gnu-prefix: New file.
3088         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3089         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3090         instead of __PFX__.
3092 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3094         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3095         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3096         for x86-64.  Properly check __x86_64__ and __LP64__.
3098 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3100         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3101         version.
3102         (_FP_WS_TYPE): Likewise.
3103         (_FP_I_TYPE): Likewise.
3105 2011-07-28  Alan Modra  <amodra@gmail.com>
3107         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3108         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3109         in a plt call stub.  Do restore r2 if stopped on bctrl.
3111 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3113         * config.host (i[3456x]86-*-netware*): Remove.
3114         * config/i386/netware-crt0.c, config/i386/t-nwld,
3115         config/i386/t-slibgcc-nwld: Remove.
3117 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3119         * config.host: Handle tic6x-*-*.
3120         * config/c6x/c6x-abi.h: New file.
3122 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3124         * config/i386/crtprec.c: New file.
3125         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3126         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3127         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3128         (x86_64-*-darwin*): Likewise.
3129         (i[34567]86-*-solaris2*: Likewise.
3131 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3133         * config/alpha/crtfastmath.c: New file.
3134         * config/i386/crtfastmath.c: New file.
3135         * config/ia64/crtfastmath.c: New file.
3136         * config/mips/crtfastmath.c: New file.
3137         * config/sparc/crtfastmath.c: New file.
3139         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3140         crtfastmath.c.
3141         Add -frandom-seed=gcc-crtfastmath.
3142         * config/alpha/t-crtfm: Remove.
3143         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3144         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3146         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3147         (alpha*-dec-osf5.1*): Likewise.
3148         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3149         Add crtfastmath.o to extra_parts.
3150         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3151         Add crtfastmath.o to extra_parts.
3152         (x86_64-*-darwin*): Likewise.
3153         (x86_64-*-mingw*): Likewise.
3154         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3155         (ia64*-*-freebsd*): Likewise.
3156         (ia64*-*-linux*): Likewise.
3157         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3158         Add crtfastmath.o to extra_parts.
3160 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3162         * config/darwin-crt3.o: New file.
3163         * config/rs6000/darwin-crt2.c: New file.
3164         * config/t-darwin: New file.
3165         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3166         (crt2.o): New rule.
3167         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3168         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3169         (powerpc64-*-darwin*): Likewise.
3171 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3173         * config/i386/netware-crt0.c: New file.
3174         * config/i386/t-nwld: Rename to ...
3175         * config/i386/t-slibgcc-nwld: ... this.
3176         * config/i386/t-nwld: New file.
3177         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3178         tmake_file.
3179         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3180         extra_parts.
3182 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3184         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3185         i386/t-crtstuff.
3186         * configure: Regenerate.
3188 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3190         * dfp-bit.c, dfp-bit.h: New files.
3191         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3192         variables.
3193         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3194         ($(d64pbit-o)): Likewise.
3195         ($(d128pbit-o)): Likewise.
3196         * config/t-dfprules: New file.
3197         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3198         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3199         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3200         (x86_64-*-linux*): Likewise.
3201         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3202         (i[34567]86-*-cygwin*): Likewise.
3203         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3204         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3206 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3208         * Makfile.in (LIBGCOV): New variable.
3209         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3210         * libgcov.c: New file.
3212 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3214         * fixed-bit.c, fixed-bit.h: New files.
3215         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3216         refer to fixed-bit.c.
3218 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3220         * config.host (*local*): Remove.
3222 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3224         PR target/39150
3225         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3226         like i?86-*-solaris2.1[0-9]*.
3227         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3228         * configure.ac (i?86-*-solaris2*): Likewise.
3229         * configure: Regenerate.
3231 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3233         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3234         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3235         md_unwind_header by splitting out of...
3236         (i[34567]86-*-linux*): ... this.
3237         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3238         Remove md_unwind_header by splitting out of...
3239         (x86_64-*-linux*): ... this.
3241 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3243         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3245 2011-06-28  Nick Clifton  <nickc@redhat.com>
3247         * config.host: Recognize all V850 variants.
3249 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3251         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3253 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3255         * shared-object.mk (c_flags-$o): Save c_flags.
3256         ($(base)$(objext)): Use it.
3257         ($(base)_s$(objext)): Likewise.
3259 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3261         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3262         * libgcc-std.ver.in (GCC_4.7.0): New section.
3264 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3266         PR target/49313
3267         PR target/29524
3268         * config/avr/t-avr: Fix line endings.
3269         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3270         _parityXX2.
3272 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3273             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3275         * config/mips/irix6-unwind.h: New file.
3276         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3278 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3280         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3281         (sparc64_fallback_frame_state): Use it.
3282         (sparc64_frob_update_context): Further adjust context.
3283         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3284         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3285         * config/sparc/sol2-cn.S: Likewise.
3287 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3289         * enable-execute-stack-empty.c: New file.
3290         * enable-execute-stack-mprotect.c: New file.
3291         * config/i386/enable-execute-stack-mingw32.c: New file.
3292         * config.host (enable_execute_stack): New variable.
3293         Select appropriate variants.
3294         * configure.ac: Link enable-execute-stack.c to
3295         $enable_execute_stack.
3296         * configure: Regenerate.
3297         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3298         (lib2funcs): Remove _enable_execute_stack.
3300 2011-06-09  David S. Miller  <davem@davemloft.net>
3301             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3303         * config.host (sparc-*-linux*): Correct md_unwind_header
3304         filename.
3305         (s390x-ibm-tpf*): Fix typo.
3307 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3309         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3310         Add crtfastmath.o to extra_parts.
3311         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3312         mips/t-crtfm.
3313         * config/mips/t-crtfm: Remove.
3315 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3317         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3319 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3321         * config.host (sh*-*-linux*): Fix typo.
3323 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3325         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3326         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3327         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3328         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3329         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3330         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3331         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3332         Wrap in !__MINGW64__.
3333         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3334         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3335         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3336         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3337         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3338         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3339         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3340         Wrap in !__LP64__.
3341         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3342         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3343         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3344         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3345         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3346         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3347         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3348         * config/no-unwind.h: New file.
3349         * config.host (md_unwind_header): Document.
3350         Define.
3351         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3352         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3353         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3354         hppa[12]*-*-hpux11*): Set md_unwind_header.
3355         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3356         Set md_unwind_header.
3357         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3358         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3359         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3360         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3361         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3362         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3363         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3364         md_unwind_header.
3365         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3366         * configure: Regenerate.
3368 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3370         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3371         Set tmake_file, extra_parts.
3372         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3373         Remove O32 support.
3374         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3375         Remove O32 support.
3376         * config/mips/t-irix6: New file.
3377         * config/mips/t-slibgcc-irix: New file.
3379 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3381         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3382         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3384 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3386         * configure.ac (target_thread_file): Determine thread model.
3387         * configure: Regenerate.
3388         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3389         * config/alpha/t-alpha: New file.
3390         * config/alpha/t-crtfm: Use $<.
3391         * config/alpha/t-ieee: New file.
3392         * config/alpha/t-osf-pthread: New file.
3393         * config/alpha/t-slibgcc-osf: New file.
3394         * config/alpha/libgcc-osf5.ver: New file.
3396 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3398         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3399         tmake_file.
3400         Add crtfastmath.o to extra_parts.
3402 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3404         * config/gmon-sol2.c: Reindent.
3405         Cleanup comments.
3406         Remove, correct casts.
3407         Use STDERR_FILENO, NULL.
3408         (BASEADDRESS): Remove.
3409         (minbrk): Remove.
3410         (errno, sbrk): Remove declarations.
3411         (monstartup) [hp300]: Remove.
3412         (mcount): Remove.
3414 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3416         * Makefile.in (cpu_type): Define.
3417         * config.host (i[34567]86-*-rtems*): Handle it.
3418         (i[34567]86-*-solaris2*): Move body ...
3419         (*-*-solaris2*): ... here.
3420         New case, generalize.
3421         (sparc-*-elf*): Handle it.
3422         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3423         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3424         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3425         Fold into ...
3426         (sparc*-*-solaris2*): ... this.
3427         New case.
3428         (sparc64-*-elf*): Handle it.
3429         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3430         Merge ../gcc/config/i386/gmon-sol2.c.
3431         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3432         Use C comments.
3433         Merge ../gcc/config/i386/sol2-gc1.asm.
3434         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3435         Use C comments.
3436         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3437         Use C comments.
3438         * config/i386/t-crtfm (crtfastmath.o): Use $<.
3439         * config/i386/t-crtstuff: New file.
3440         * config/i386/t-softfp: New file.
3441         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3442         $(T)crti.o, $(T)crtn.o): Remove.
3443         (gcrt1.o): New rule.
3444         (TARGET_LIBGCC2_CFLAGS): Remove.
3445         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3446         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3447         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3448         * config/sparc/t-sol2: New file.
3449         * config/sparc/t-crtfm: Move to ...
3450         * config/t-crtfm: ... this.
3451         Use $(cpu_type), $<.
3452         * config/t-crtin: New file.
3453         * config/sparc/t-softfp: New file.
3454         * config/sparc/t-softmul: New file.
3455         * config/t-rtems: New file.
3456         * config/t-slibgcc: New file.
3457         * config/t-slibgcc-elf-ver: New file.
3458         * config/t-slibgcc-gld: New file.
3459         * config/t-slibgcc-sld: New file.
3460         * config/t-sol2: New file.
3461         * configure.ac: Include ../config/lib-ld.m4.
3462         Call AC_LIB_PROG_LD_GNU.
3463         Substitute cpu_type.
3464         * configure: Regenerate.
3466 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3468         PR bootstrap/49173
3469         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3470         libgcc-std.ver in the build directory.
3471         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3472         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3474 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3476         * libgcc-std.ver.in: New file.
3477         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3478         variables.
3479         (libgcc-std.ver): New rule.
3480         * config/t-gnu-prefix: New file.
3482 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3484         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3486 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3488         * config/i386/darwin-lib.h: New file.
3490 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3492         * config/arm/symbian-lib.h: New.
3494 2011-05-04  Chris Demetriou  <cgd@google.com>
3496         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3497         (__x86.get_pc_thunk.bx): ...this.
3498         (__morestack): Adjust for rename, remove undef of __i686.
3500 2011-05-03  Chris Demetriou  <cgd@google.com>
3502         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3504 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3506         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3507         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3508         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3509         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3510         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3511         Remove cases.
3513 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3515         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3516         Adjust copyright year.
3518 2011-03-07  Ian Lance Taylor  <iant@google.com>
3520         * generic-morestack.c (__splitstack_find): Adjust returned stack
3521         pointer to include all registers pushed by __morestack.
3523 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3525         PR target/40125
3526         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3527         (toolexecdir): Calculate and AC_SUBST.
3528         (toolexeclibdir): Likewise.
3529         * Makefile.in (target_noncanonical): Import.
3530         (toolexecdir): Likewise.
3531         (toolexeclibdir): Likewise.
3532         * configure: Regenerate.
3534 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3536         PR target/46040
3537         * config/arm/bpabi.h: Rename to...
3538         * config/arm/bpabi-lib.h: ...this.
3540 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3542         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3543         appropriate.
3544         * configure: Regenerate.
3546 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3548         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3549         __FLOAT_WORD_ORDER__.
3550         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3551         Delete.
3553 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3555         PR other/46202
3556         * Makefile.in (install-strip): New phony target.
3558 2010-11-07  Ian Lance Taylor  <iant@google.com>
3560         PR target/46089
3561         * config/i386/morestack.S (__morestack_large_model): New
3562         function.
3564 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
3566         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3567         Delete.
3568         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3570 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
3572         * config/arm/bpabi.h: New file.
3573         * config/frv/frv-abi.h: New file.
3575 2010-10-01  Ian Lance Taylor  <iant@google.com>
3577         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3578         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3580 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3582         PR target/45858
3583         * config.host: Add the missing `$'.
3585 2010-09-30  Michael Eager  <eager@eagercon.com>
3587         * config.host: Add microblaze*-*-*.
3588         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3589         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3590         udivsi3.asm,umodsi3.asm}:  New.
3592 2010-09-28  Ian Lance Taylor  <iant@google.com>
3594         * configure.ac: Adjust CFI test to test assembler directly rather
3595         than checking gcc preprocessor macro.
3596         * configure: Rebuild.
3598 2010-09-27  Ian Lance Taylor  <iant@google.com>
3600         * configure.ac: Test whether assembler supports CFI directives.
3601         * config.host: Only add t-stack and i386/t-stack-i386 to
3602         tmake_file if libgcc_cv_cfi is "yes".
3603         * configure: Rebuild.
3605 2010-09-27  Ian Lance Taylor  <iant@google.com>
3607         * generic-morestack.h: New file.
3608         * generic-morestack.c: New file.
3609         * generic-morestack-thread.c: New file.
3610         * config/i386/morestack.S: New file.
3611         * config/t-stack: New file.
3612         * config/i386/t-stack-i386: New file.
3613         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3614         i386/t-stack-i386 to tmake_file.
3616 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3618         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3619         invoke ranlib after installing them.
3620         (gcc-extra-parts): Likewise.
3621         (install-leaf): Likewise.
3623 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3625         * configure: Regenerated.
3627 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3629         * configure: Regenerated.
3631 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3632             Andrew Pinski  <pinskia@gmail.com>
3634         PR target/40959
3635         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3637 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3639         PR target/45524
3640         * configure: Regenerated.
3642 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3644         * configure: Regenerate.
3646 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3648         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3649         64bit targets.
3650         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3651         for 64bit targets.
3653 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3654             Iain Sandoe  <iains@gcc.gnu.org>
3656         PR target/45476
3657         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3658         LIB2FUNCS_EXCLUDE functions.
3660 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3662         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3663         Include dfp.m4.
3664         * configure: Regenerate.
3666 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3668         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3669         i386/t-freebsd to tmake_file.
3670         * config/i386/t-freebsd: New file.
3671         * config/i386/libgcc-bsd.ver: New file.
3673 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3675         * config.host (powerpc*-eabispe*): Set tmake_file.
3676         (powerpc*-eabi*): Likewise.
3677         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3678         crtbeginS, crtendS, crtbeginT.
3680 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3682         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3683         to tmake_file.  Add crtfastmath.o to extra_parts.
3684         * config/mips/t-crtfm: New.
3686 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3688         * config.host (sparc64-*-rtems*): New target.
3690 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3692         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3693         assembler syntax.
3695 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3697         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3699 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3701         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3702         alpha-dec-osf5.0* support.
3704 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3706         * config.host: Add lm32-*-rtems*.
3708 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3709             Uros Bizjak <ubizjak@gmail.com>
3711         PR target/39048
3712         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3713         like other remaining 32-bit x86 OSes.
3714         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3715         assembler syntax.
3716         * config/i386/libgcc-sol2.ver: New file.
3717         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3719 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3721         PR c/43553
3722         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3723         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3724         is used and substitute set_use_emutls.
3725         * configure: Regenerated.
3727 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3729         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3731 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3733         PR target/38085
3734         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3735         MULTILIB_CFLAGS.
3736         ($(T)gcrt1.o): Likewise.
3737         ($(T)crt1.o): Likewise.
3738         ($(T)crti.o): Likewise.
3739         ($(T)crtn.o): Likewise.
3741 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3743         PR other/42980
3744         * Makefile.in (install): Use $(MAKE) string in rule, for
3745         parallel make.
3747 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3749         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3750         * config/mmix/t-mmix: New file.
3751         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3753 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3755         PR java/41991
3756         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3757         SHLIB_MAPFILES.
3759 2010-01-04  Anthony Green  <green@moxielogic.com>
3761         * config/moxie/crti.asm, config/moxie/crtn.asm,
3762         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3763         config/moxie/t-moxie: New files.
3764         * config.host: Add t-moxie-softfp reference.
3766 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3768         PR other/39888
3769         * config/t-slibgcc-darwin: Fix embedded rpaths for
3770         --enable-version-specific-runtime-libs, build extension stub
3771         libs exposing features available from current libgcc_s.
3773 2009-11-11  Jon Beniston <jon@beniston.com>
3775         * config.host: Add lm32 targets.
3776         * config/lm32: New directory.
3777         * config/lm32/libgcc_lm32.h: New file.
3778         * config/lm32/_mulsi3.c: New file.
3779         * config/lm32/_udivmodsi4.c: New file.
3780         * config/lm32/_divsi3.c: New file.
3781         * config/lm32/_modsi3.c: New file.
3782         * config/lm32/_udivsi3.c: New file.
3783         * config/lm32/_umodsi3.c: New file.
3784         * config/lm32/_lshrsi3.S: New file.
3785         * config/lm32/_ashrsi3.S: New file.
3786         * config/lm32/_ashlsi3.S: New file.
3787         * config/lm32/crti.S: New file.
3788         * config/lm32/crtn.S: New file.
3789         * config/lm32/t-lm32: New file.
3790         * config/lm32/t-elf: New file.
3791         * config/lm32/t-uclinux: New file.
3793 2009-10-26  Nick Clifton  <nickc@redhat.com>
3795         * config.host: Add support for RX target.
3796         * config/rx: New directory.
3797         * config/rx/rx-abi-functions.c: New file. Supplementary
3798         functions for libgcc to support the RX ABI.
3799         * config/rx/rx-abi.h: New file.  Supplementary header file for
3800         libgcc RX ABI functions.
3801         * config/rx/t-rx: New file: Makefile fragment for building
3802         libgcc for the RX.
3804 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3806         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3807         constraint of y0 to "g".
3809 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3811         * config.host: Include the s390 makefile fragments.
3812         * config/s390/32/_fixdfdi.c: New file.
3813         * config/s390/32/_fixsfdi.c: New file.
3814         * config/s390/32/_fixtfdi.c: New file.
3815         * config/s390/32/_fixunsdfdi.c: New file.
3816         * config/s390/32/_fixunssfdi.c: New file.
3817         * config/s390/32/_fixunstfdi.c: New file.
3818         * config/s390/32/t-floattodi: New file.
3819         * config/s390/libgcc-glibc.ver: New file.
3820         * config/s390/t-crtstuff: New file.
3821         * config/s390/t-linux: New file.
3822         * config/s390/t-tpf: New file.
3824 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3826         * configure.ac (AC_PREREQ): Bump to 2.64.
3828 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
3830         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3832 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3834         * configure: Regenerate.
3836 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
3838         * config.host (ia64-hp-*vms*): New target.
3839         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3840         with ia64-hp-*vms*.
3842 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3844         * configure.ac: Add snippet for maintainer-mode.
3845         * configure: Regenerate.
3846         * Makefile.in (AUTOCONF, configure_deps): New variables.
3847         ($(srcdir)/configure)): New rule, active only with maintainer
3848         mode turned on.
3850 2009-06-23  DJ Delorie  <dj@redhat.com>
3852         Add MeP port.
3853         * config.host: Add mep support.
3855 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
3857         * config.host: Add i386/${host_address}/t-fprules-softfp and
3858         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3860         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3861         for mingw targets.
3862         * config/i386/64/_multc3.c: Likewise.
3863         * config/i386/64/_powitf2.c: Likewise.
3864         * config/i386/64/eqtf2.c: Likewise.
3865         * config/i386/64/getf2.c: Likewise.
3866         * config/i386/64/letf2.c: Likewise.
3867         * config/i386/64/letf2.c: Likewise.
3868         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3869         unsigned long long for x64 mingw targets.
3870         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3871         (_FP_I_TYPE): Define as long long for x64 mingw target.
3873 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
3875         * config.host (vax-*-linux*): New.
3877 2009-05-31  Anthony Green  <green@moxielogic.com>
3879         * config.host: Add moxie support.
3880         * config/moxie/t-moxie: New file.
3882 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
3884         * config.host: Add i386/${host_address}/t-fprules-softfp and
3885         t-softfp to tmake_file for i[34567]86-*-cygwin*.
3887 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
3889         * config.host: Add i386/${host_address}/t-fprules-softfp to
3890         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3892 2009-04-09  Nick Clifton  <nickc@redhat.com>
3894         * config/ia64/tf-signs.c: Change copyright header to refer to
3895         version 3 of the GNU General Public License with version 3.1
3896         of the GCC Runtime Library Exception and to point readers at
3897         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3898         web page.
3899         * config/i386/32/tf-signs.c: Likewise.
3900         * config/libbid/_addsub_dd.c: Likewise.
3901         * config/libbid/_addsub_sd.c: Likewise.
3902         * config/libbid/_addsub_td.c: Likewise.
3903         * config/libbid/_dd_to_df.c: Likewise.
3904         * config/libbid/_dd_to_di.c: Likewise.
3905         * config/libbid/_dd_to_sd.c: Likewise.
3906         * config/libbid/_dd_to_sf.c: Likewise.
3907         * config/libbid/_dd_to_si.c: Likewise.
3908         * config/libbid/_dd_to_td.c: Likewise.
3909         * config/libbid/_dd_to_tf.c: Likewise.
3910         * config/libbid/_dd_to_udi.c: Likewise.
3911         * config/libbid/_dd_to_usi.c: Likewise.
3912         * config/libbid/_dd_to_xf.c: Likewise.
3913         * config/libbid/_df_to_dd.c: Likewise.
3914         * config/libbid/_df_to_sd.c: Likewise.
3915         * config/libbid/_df_to_td.c: Likewise.
3916         * config/libbid/_di_to_dd.c: Likewise.
3917         * config/libbid/_di_to_sd.c: Likewise.
3918         * config/libbid/_di_to_td.c: Likewise.
3919         * config/libbid/_div_dd.c: Likewise.
3920         * config/libbid/_div_sd.c: Likewise.
3921         * config/libbid/_div_td.c: Likewise.
3922         * config/libbid/_eq_dd.c: Likewise.
3923         * config/libbid/_eq_sd.c: Likewise.
3924         * config/libbid/_eq_td.c: Likewise.
3925         * config/libbid/_ge_dd.c: Likewise.
3926         * config/libbid/_ge_sd.c: Likewise.
3927         * config/libbid/_ge_td.c: Likewise.
3928         * config/libbid/_gt_dd.c: Likewise.
3929         * config/libbid/_gt_sd.c: Likewise.
3930         * config/libbid/_gt_td.c: Likewise.
3931         * config/libbid/_isinfd128.c: Likewise.
3932         * config/libbid/_isinfd32.c: Likewise.
3933         * config/libbid/_isinfd64.c: Likewise.
3934         * config/libbid/_le_dd.c: Likewise.
3935         * config/libbid/_le_sd.c: Likewise.
3936         * config/libbid/_le_td.c: Likewise.
3937         * config/libbid/_lt_dd.c: Likewise.
3938         * config/libbid/_lt_sd.c: Likewise.
3939         * config/libbid/_lt_td.c: Likewise.
3940         * config/libbid/_mul_dd.c: Likewise.
3941         * config/libbid/_mul_sd.c: Likewise.
3942         * config/libbid/_mul_td.c: Likewise.
3943         * config/libbid/_ne_dd.c: Likewise.
3944         * config/libbid/_ne_sd.c: Likewise.
3945         * config/libbid/_ne_td.c: Likewise.
3946         * config/libbid/_sd_to_dd.c: Likewise.
3947         * config/libbid/_sd_to_df.c: Likewise.
3948         * config/libbid/_sd_to_di.c: Likewise.
3949         * config/libbid/_sd_to_sf.c: Likewise.
3950         * config/libbid/_sd_to_si.c: Likewise.
3951         * config/libbid/_sd_to_td.c: Likewise.
3952         * config/libbid/_sd_to_tf.c: Likewise.
3953         * config/libbid/_sd_to_udi.c: Likewise.
3954         * config/libbid/_sd_to_usi.c: Likewise.
3955         * config/libbid/_sd_to_xf.c: Likewise.
3956         * config/libbid/_sf_to_dd.c: Likewise.
3957         * config/libbid/_sf_to_sd.c: Likewise.
3958         * config/libbid/_sf_to_td.c: Likewise.
3959         * config/libbid/_si_to_dd.c: Likewise.
3960         * config/libbid/_si_to_sd.c: Likewise.
3961         * config/libbid/_si_to_td.c: Likewise.
3962         * config/libbid/_td_to_dd.c: Likewise.
3963         * config/libbid/_td_to_df.c: Likewise.
3964         * config/libbid/_td_to_di.c: Likewise.
3965         * config/libbid/_td_to_sd.c: Likewise.
3966         * config/libbid/_td_to_sf.c: Likewise.
3967         * config/libbid/_td_to_si.c: Likewise.
3968         * config/libbid/_td_to_tf.c: Likewise.
3969         * config/libbid/_td_to_udi.c: Likewise.
3970         * config/libbid/_td_to_usi.c: Likewise.
3971         * config/libbid/_td_to_xf.c: Likewise.
3972         * config/libbid/_tf_to_dd.c: Likewise.
3973         * config/libbid/_tf_to_sd.c: Likewise.
3974         * config/libbid/_tf_to_td.c: Likewise.
3975         * config/libbid/_udi_to_dd.c: Likewise.
3976         * config/libbid/_udi_to_sd.c: Likewise.
3977         * config/libbid/_udi_to_td.c: Likewise.
3978         * config/libbid/_unord_dd.c: Likewise.
3979         * config/libbid/_unord_sd.c: Likewise.
3980         * config/libbid/_unord_td.c: Likewise.
3981         * config/libbid/_usi_to_dd.c: Likewise.
3982         * config/libbid/_usi_to_sd.c: Likewise.
3983         * config/libbid/_usi_to_td.c: Likewise.
3984         * config/libbid/_xf_to_dd.c: Likewise.
3985         * config/libbid/_xf_to_sd.c: Likewise.
3986         * config/libbid/_xf_to_td.c: Likewise.
3987         * config/libbid/bid128.c: Likewise.
3988         * config/libbid/bid128_2_str.h: Likewise.
3989         * config/libbid/bid128_2_str_macros.h: Likewise.
3990         * config/libbid/bid128_2_str_tables.c: Likewise.
3991         * config/libbid/bid128_add.c: Likewise.
3992         * config/libbid/bid128_compare.c: Likewise.
3993         * config/libbid/bid128_div.c: Likewise.
3994         * config/libbid/bid128_fma.c: Likewise.
3995         * config/libbid/bid128_logb.c: Likewise.
3996         * config/libbid/bid128_minmax.c: Likewise.
3997         * config/libbid/bid128_mul.c: Likewise.
3998         * config/libbid/bid128_next.c: Likewise.
3999         * config/libbid/bid128_noncomp.c: Likewise.
4000         * config/libbid/bid128_quantize.c: Likewise.
4001         * config/libbid/bid128_rem.c: Likewise.
4002         * config/libbid/bid128_round_integral.c: Likewise.
4003         * config/libbid/bid128_scalb.c: Likewise.
4004         * config/libbid/bid128_sqrt.c: Likewise.
4005         * config/libbid/bid128_string.c: Likewise.
4006         * config/libbid/bid128_to_int16.c: Likewise.
4007         * config/libbid/bid128_to_int32.c: Likewise.
4008         * config/libbid/bid128_to_int64.c: Likewise.
4009         * config/libbid/bid128_to_int8.c: Likewise.
4010         * config/libbid/bid128_to_uint16.c: Likewise.
4011         * config/libbid/bid128_to_uint32.c: Likewise.
4012         * config/libbid/bid128_to_uint64.c: Likewise.
4013         * config/libbid/bid128_to_uint8.c: Likewise.
4014         * config/libbid/bid32_to_bid128.c: Likewise.
4015         * config/libbid/bid32_to_bid64.c: Likewise.
4016         * config/libbid/bid64_add.c: Likewise.
4017         * config/libbid/bid64_compare.c: Likewise.
4018         * config/libbid/bid64_div.c: Likewise.
4019         * config/libbid/bid64_fma.c: Likewise.
4020         * config/libbid/bid64_logb.c: Likewise.
4021         * config/libbid/bid64_minmax.c: Likewise.
4022         * config/libbid/bid64_mul.c: Likewise.
4023         * config/libbid/bid64_next.c: Likewise.
4024         * config/libbid/bid64_noncomp.c: Likewise.
4025         * config/libbid/bid64_quantize.c: Likewise.
4026         * config/libbid/bid64_rem.c: Likewise.
4027         * config/libbid/bid64_round_integral.c: Likewise.
4028         * config/libbid/bid64_scalb.c: Likewise.
4029         * config/libbid/bid64_sqrt.c: Likewise.
4030         * config/libbid/bid64_string.c: Likewise.
4031         * config/libbid/bid64_to_bid128.c: Likewise.
4032         * config/libbid/bid64_to_int16.c: Likewise.
4033         * config/libbid/bid64_to_int32.c: Likewise.
4034         * config/libbid/bid64_to_int64.c: Likewise.
4035         * config/libbid/bid64_to_int8.c: Likewise.
4036         * config/libbid/bid64_to_uint16.c: Likewise.
4037         * config/libbid/bid64_to_uint32.c: Likewise.
4038         * config/libbid/bid64_to_uint64.c: Likewise.
4039         * config/libbid/bid64_to_uint8.c: Likewise.
4040         * config/libbid/bid_b2d.h: Likewise.
4041         * config/libbid/bid_binarydecimal.c: Likewise.
4042         * config/libbid/bid_conf.h: Likewise.
4043         * config/libbid/bid_convert_data.c: Likewise.
4044         * config/libbid/bid_decimal_data.c: Likewise.
4045         * config/libbid/bid_decimal_globals.c: Likewise.
4046         * config/libbid/bid_div_macros.h: Likewise.
4047         * config/libbid/bid_dpd.c: Likewise.
4048         * config/libbid/bid_flag_operations.c: Likewise.
4049         * config/libbid/bid_from_int.c: Likewise.
4050         * config/libbid/bid_functions.h: Likewise.
4051         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4052         * config/libbid/bid_inline_add.h: Likewise.
4053         * config/libbid/bid_internal.h: Likewise.
4054         * config/libbid/bid_round.c: Likewise.
4055         * config/libbid/bid_sqrt_macros.h: Likewise.
4057 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4059         * Makefile.in: Change copyright header to refer to version
4060         3 of the GNU General Public License and to point readers at the
4061         COPYING3 file and the FSF's license web page.
4062         * config.host: Likewise.
4064 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4066         * config.host: Reorder and merge to match config.gcc change.
4068 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4070         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4072 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4074         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4075         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4076         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4077         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4079 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4081         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4082         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4084 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4086         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4087         ia64/t-softfp-compat to tmake_file.
4089         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4091         * config/ia64/__divxf3.asm: New.
4092         * config/ia64/_fixtfdi.asm: Likewise.
4093         * config/ia64/_fixunstfdi.asm: Likewise.
4094         * config/ia64/_floatditf.asm: Likewise.
4095         * config/ia64/t-fprules-softfp: Likewise.
4096         * config/ia64/t-softfp-compat: Likewise.
4097         * config/ia64/tf-signs.c: Likewise.
4099 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4101         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4103 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4105         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4106         to tmake_file.
4108 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4110         * config/t-softfp: New file.
4111         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4112         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4114 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4116         * config.host: Add m32r*-*-rtems*.
4118 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4120         * config.host: Add m32c*-*-rtems*.
4122 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4124         PR bootstrap/33100
4125         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4126         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4127         * configure: Regenerate.
4128         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4129         tmake_file here from gcc/config.gcc.
4130         Move extra_parts here from gcc/config.gcc.
4131         * config/i386/t-sol2: Move here from gcc/config/i386.
4132         Use gcc_srcdir instead of srcdir.
4134 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4136         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4137         case.
4139 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4141         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4143 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4145         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4147 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4149         Add picoChip port.
4150         * config.host: Add picochip-*-*.
4152 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4154         * config.host: Match more processor names for Xtensa.
4156 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4158         * config/i386/64/t-softfp-compat: Update comments.
4160 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4162         * config/i386/64/_divtc3-compat.c: Moved to ...
4163         * config/i386/64/_divtc3.c: Here.
4165         * config/i386/64/_multc3-compat.c: Moved to ...
4166         * config/i386/64/_multc3.c: Here.
4168         * config/i386/64/_powitf2-compat.c: Moved to ...
4169         * config/i386/64/_powitf2.c: Here.
4171         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4172         .c suffix instead of -compat.c.
4174 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4176         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4177         (_FP_MUL_MEAT_D): Ditto.
4178         (_FP_DIV_MEAT_S): Ditto.
4179         (_FP_DIV_MEAT_D): Ditto.
4181 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4183         * Makefile.in: Add support for __sync_* libgcc functions.
4185 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4187         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4189 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4191         PR boostrap/36702
4192         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4193         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4195         * config/i386/64/t-fprules-softfp: Moved to ...
4196         * config/i386/64/t-softfp-compat: This.  New.
4198 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4200         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4201         Initialize f with 0.0.
4203 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4205         PR target/36669
4206         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4208         * config/i386/64/_divtc3-compat.c: New.
4209         * config/i386/64/_multc3-compat.c: Likewise.
4210         * config/i386/64/_powitf2-compat.c: Likewise.
4211         * config/i386/64/eqtf2.c: Likewise.
4212         * config/i386/64/getf2.c: Likewise.
4213         * config/i386/64/letf2.c: Likewise.
4214         * config/i386/64/t-fprules-softfp: Likewise.
4216 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4218         * config.host: Add i386/${host_address}/t-fprules-softfp to
4219         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4220         i[34567]86-*-linux*, x86_64-*-linux*.
4222         * configure.ac: Set host_address to 64 or 32 for x86.
4223         * configure: Regenerated.
4225         * Makefile.in (config.status): Also depend on
4226         $(srcdir)/config.host.
4228         * config/i386/32/t-fprules-softfp: New.
4229         * config/i386/32/tf-signs.c: Likewise.
4231         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4233 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4234             Uros Bizjak  <ubizjak@gmail.com>
4236         * config/i386/32/sfp-machine.h: New.
4238 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4240         * config/rs6000/t-ppccomm: Remove rules that conflict with
4241         auto-generated rules.
4243 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4245         * configure.ac: sinclude override.m4.
4246         * configure: Regenerate.
4248 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4250         * configure: Regenerate.
4252 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4254         * Makefile.in (DECNUMINC): Remove
4255         -I$(MULTIBUILDTOP)../../libdecnumber.
4256         * gstdint.h: New.
4258 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4260         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4261         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4262         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4263         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4264         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4265         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4266         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4267         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4268         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4269         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4270         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4271         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4272         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4273         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4275 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4277         * config.host (sh2[lbe]*-*-linux*): Allow target.
4279 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4281         * config/rs6000/t-ppccomm: Add build rules for new files.
4282         (LIB2ADD_ST): New variable.
4284 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4286         PR target/34210
4287         PR target/35508
4288         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4289         * config/t-avr: New file. Build 16bit libgcc functions.
4291 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4293         PR target/35401
4294         * config/t-slibgcc-darwin: Make install-leaf dependent on
4295         install-darwin-libgcc-stubs instead of install.
4297 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4299         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4300         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4301         sh-*-rtemscoff*): Remove cases.
4303 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4305         * Makefile.in (all): Use install-leaf rather than install.
4306         (install): Split most of the rule into...
4307         (install-leaf): ...this new one.
4309 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4310             Paolo Bonzini  <bonzini@gnu.org>
4312         PR target/30572
4313         * Makefile.in: Use @shlib_slibdir@ substitution to get
4314         correct install name on darwin.
4315         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4317 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
4319         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4320         cris-*-elf and cris-*-none.
4321         (crisv32-*-linux*): Similar, as cris-*-linux*.
4323 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4325         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4327 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4329         PR regression/33926
4330         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4331         * configure: Regenerated.
4333 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4335         * Makefile.in (dfp-filenames): Replace decimal_globals,
4336         decimal_data, binarydecimal and convert_data with
4337         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4338         and bid_convert_data, respectively.
4340 2007-09-17  Chao-ying Fu  <fu@mips.com>
4341             Nigel Stephens  <nigel@mips.com>
4343         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4344         * Makefile.in (fixed_point): Define.
4345         Check if fixed_point is yes to build support functions.
4346         * configure.ac: Check for fixed_point support.
4347         * configure: Regenerated.
4348         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4349         funcs, modes, from, to.
4351 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4353         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4355 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4357         * Makefile.in (dfp-filenames): Remove decUtility, add
4358         decDouble, decPacked, decQuad, decSingle.
4360 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4362         * config.host : Add x86_64-elf target.
4364 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4366         * configure.ac (set_have_cc_tls): Add a missing =.
4367         * configure: Regenerated.
4369 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4371         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4372         and x86_64-*-linux*.
4374         * config/t-tls: New file.
4376         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4378         * configure.ac: Include ../config/enable.m4 and
4379         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4380         supports TLS and substitute set_have_cc_tls.
4381         * configure: Regenerated.
4383 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4385         * Makefile.in: Use libbid for DFP when BID is enabled.
4387 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
4389         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4390         extra_parts. Add config/i386/t-cygming to tmake_file.
4391         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4393 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
4394             Danny Smith  <dannysmith@users.sourceforge.net>
4396         PR target/29498
4397         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4398         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
4399         * config/i386/t-crtfm: Compile crtfastmath.o with
4400         -minline-all-stringops.
4402 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
4404         * config.host (sparc-wrs-vxworks): New target.
4406 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
4408         * config.host: Recognize fido.
4410 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
4412         * configure: Check host, not target, for decimal float support.
4414 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
4416         * config/i386/t-crtpc: New file.
4417         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4418         (x86_64-*-linux*): Ditto.
4420 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
4422         * config.host (x86_64-*-mingw*): New target.
4424 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
4425             H.J. Lu  <hongjiu.lu@intel.com>
4427         * Makefile.in (enable_decimal_float): New.
4428         (DECNUMINC): Add
4429         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4430         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4431         (decbits-filenames): This.
4432         (decbits-objects): New.
4433         (libgcc-objects): Add $(decbits-objects).
4435         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4436         Substitute enable_decimal_float.
4437         * configure: Regenerated.
4439 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
4441         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4443 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
4445         * Makefile.in (install-info): New dummy target.
4447 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
4449         * config.host (bfin*-linux-uclibc*): Set extra_parts.
4451 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
4453         * Makefile.in: Add install-html and install-pdf dummy
4454         targets.
4456 2007-02-05  Roger Sayle  <roger@eyesopen.com>
4457             Daniel Jacobowitz  <dan@codesourcery.com>
4459         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4460         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4461         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4463 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4465         * Makefile.in (dec-filenames): Add decExcept.
4467 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4469         PR bootstrap/30469
4470         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4471         -fprofile-use.
4473 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4475         * configure.ac: Add --enable-version-specific-runtime-libs.
4476         Correct $slibdir default.
4477         * configure: Regenerated.
4479 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4481         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4483 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4485         PR target/30519
4486         * config.host (alpha*-*-linux*): Set extra_parts.
4488 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4490         * config/sh/t-linux: New.
4491         * config.host (sh*-*-linux*): Set tmake_file.
4493 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4495         * Makefile.in (install): Handle multilibs.
4497 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4499         * Makefile.in: Added .PHONY entry for documentation targets.
4501 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4503         * Makefile.in: Add empty info, html, dvi, pdf targets.
4505 2007-01-04  Mike Stump  <mrs@apple.com>
4507         * Makefile.in (MAKEINFO): Remove.
4508         (PERL): Likewise.
4510 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4512         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4513         * configure: Regenerate.
4514         * Makefile.in (host_subdir): Substitute it.
4515         (gcc_objdir): Use it.
4517 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4519         * config.host (ia64*-*-linux*): Set tmake_file.
4521 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4523         * Makefile.in (version): Define.
4525 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4526             Paolo Bonzini  <bonzini@gnu.org>
4528         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4529         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4530         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4531         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4532         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4533         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4534         * configure: Generated.