* asan.c: Include tm_p.h
[official-gcc.git] / libgcc / ChangeLog
blob0458afe298d94ef92d6144ca14871d21bbbcac75
1 2012-11-06  Ian Lance Taylor  <iant@google.com>
3         * generic-morestack.c (__generic_morestack): Align the returned
4         stack pointer to a 32 byte boundary.
5         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6         increment the return address until we have decided that we don't
7         have a varargs function.
8         (__morestack) [32-bit]: Align stack correctly when calling C
9         functions.
10         (__morestack) [64-bit]: Likewise.
12 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
14         * configure: Regenerate.
16 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
18         PR target/55175
19         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
20         * config/i386/sfp-machine.h: Guard exception handling
21         code with _SOFT_FLOAT.
22         * config/i386/32/sfp-machine.h: Guard rounding handling
23         code with _SOFT_FLOAT.
24         * config/i386/64/sfp-machine.h: Ditto.
26 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
28         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
29         as extra_parts.
31 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
33         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
34         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
35         when appropriate.  Correct structure element types.
36         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
37         -minline-all-stringops from compile flags.
39 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
41         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
43 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
45         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
47 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
49         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
50         tmake_file.
52 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
53             Jim MacArthur  <jim.macarthur@arm.com>
54             Marcus Shawcroft  <marcus.shawcroft@arm.com>
55             Nigel Stephens  <nigel.stephens@arm.com>
56             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
57             Richard Earnshaw  <rearnsha@arm.com>
58             Sofiane Naci  <sofiane.naci@arm.com>
59             Stephen Thomas  <stephen.thomas@arm.com>
60             Tejas Belagod  <tejas.belagod@arm.com>
61             Yufeng Zhang  <yufeng.zhang@arm.com>
63         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
64         * config/aarch64/crti.S: New file.
65         * config/aarch64/crtn.S: New file.
66         * config/aarch64/linux-unwind.h: New file.
67         * config/aarch64/sfp-machine.h: New file.
68         * config/aarch64/sync-cache.c: New file.
69         * config/aarch64/t-aarch64: New file.
70         * config/aarch64/t-softfp: New file.
72 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
74         * config/mmix/crti.S: Mark program and data addresses using PRELD.
75         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
76         no-longer-needed LDBU insns.
78 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
80         * config.host
81         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
82         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
84 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
86         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
88 2012-10-15  Matthias Klose  <doko@ubuntu.com>
90         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
92 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
94         * configure: Regenerate.
95         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
97 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
99         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
100         instructions for 64bit targets only.
102 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
104         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
105         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
106         * config/i386/32/sfp-machine.h: ... here.
107         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
108         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
109         New defines.
111 2012-10-07  Matthias Klose  <doko@ubuntu.com>
113         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
114         as unused.
115         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
117 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
119         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
120         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
121         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
122         (ElfW): Likewise.
124 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
126         PR other/53889
127         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
128         Fix parameter names.
130 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
132         PR target/33135
133         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
134         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
135         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
137 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
139         PR target/50457
140         * config/sh/linux-atomic.S: Delete.
141         * config/sh/linux-atomic.c: New.
142         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
143         linux-atomic.c.  Add cflags to disable warnings.
145 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
147         PR other/53889
148         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
149         function.
150         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
151         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
152         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
153         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
154         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
155         Likewise.
156         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
157         Likewise.
158         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
159         Likewise.
160         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
161         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
163 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
165         * config.host (hppa-*-openbsd*): New target.
166         * config/pa/t-openbsd: New file.
168 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
170         PR target/54222
171         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
172         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
173         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
174         (__divsa3): Use __negsi2 to negate r_quoL.
175         * config/avr/lib1funcs.S (FALIAS): New macro.
176         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
177         (__negsi2): ...this new function.
178         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
179         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
180         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
181         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
182         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
183         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
185 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
187         PR target/54089
188         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
189         (lshrsi3): Reimplement as lshrsi3_r0.
191 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
193         PR target/46191
194         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
195         of libgcc.a.
197 2012-09-07  Teresa Johnson  <tejohnson@google.com>
199         PR gcov-profile/54487
200         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
201         differences.
203 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
205         PR target/54461
206         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
207         not configured --with-avrlibc=no.
208         * config/avr/t-avrlibc: New file.
209         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
210         (DPBIT_FUNCS): Ditto.
211         (TPBIT_FUNCS): Ditto.
213 2012-09-04  Teresa Johnson  <tejohnson@google.com>
215         * libgcov.c (struct gcov_summary_buffer): New structure.
216         (gcov_histogram_insert): New function.
217         (gcov_compute_histogram): Ditto.
218         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
219         histograms during summary merging.
221 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
223         * config.host (x86_64-*-openbsd*): New target.
225 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
227         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
228         attribute.
230 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
232         PR target/54222
233         * config/avr/t-avr (conv_X): Rename to func_X.
235 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
237         PR target/54222
238         * config/avr/lib1funcs-fixed.S: New file.
239         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
240         after they are used.
241         (neg2, neg4): New macros.
242         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
243         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
244         (__umulhisi3): Speed up MUL variant if there is enough flash.
245         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
246         avr-modes.def.
247         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
248         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
249         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
250         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
251         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
252         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
253         (LIB2FUNCS_EXCLUDE): Add supported functions.
255 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
257         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
258         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
259         libgcc-s-objects.
260         * fixed-obj.mk: Only expand dependency if $o is not in
261         LIB2FUNCS_EXCLUDE.
263 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
265         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
267 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
269         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
270         depend on --enable-shared.
271         ($(lib1asmfuncs-o)): Use %.vis files independent of
272         --enable-shared.
273         * static-object.mk ($(base)$(objext), $(base).vis)
274         ($(base)_s$(objext)): Use same rules for visibility handling as in
275         shared-object.mk.
277 2012-08-21  Ian Lance Taylor  <iant@google.com>
279         * config/i386/morestack.S (__morestack_non_split): Increase amount
280         of space allocated for non-split code stack.
282 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
284         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
285         even if inhibit_libc.
287 2012-08-17  Julian Brown  <julian@codesourcery.com>
289         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
290         -fexceptions -fnon-call-exceptions if not defined.
291         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
292         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
294 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
296         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
297         type.
299 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
301         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
302         rs6000/t-slibgcc-aix.
304 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
306         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
308 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
310         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
312 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
314         PR driver/54171
315         * Makefile.in (version): Replace top_srcdir with srcdir.
317 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
319         * Makefile.in (version): set to BASE-VER file from gcc directory.
321 2012-08-01  Nick Clifton  <nickc@redhat.com>
323         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
324         Implements __clrsb for an HImode argument.
326 2012-07-31  Nick Clifton  <nickc@redhat.com>
328         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
329         Implements __clrsb for an HImode argument.
330         * config/stormy16/clrsbhi2.c: New file:
331         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
333 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
335         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
337 2012-07-19  Tristan Gingold  <gingold@adacore.com>
338             Richard Henderson  <rth@redhat.com>
340         * unwind-seh.c: New file.
341         * unwind-generic.h: Include windows.h for SEH.
342         (_Unwind_Exception): Use 6 private fields for SEH.
343         (_GCC_specific_handler): Declare.
344         * unwind-c.c (__gcc_personality_seh0): New function.
345         Adjust for SEH.
346         * config/i386/libgcc-cygming.ver: New file.
347         * config/i386/t-seh-eh: New file.
348         * config.host (x86_64-*-mingw*): Default to seh.
350 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
352         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
354 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
356         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
357         __builtin_expect when checking for exceptions.
358         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
360 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
362         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
363         function declaration.
364         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
365         (FP_RND_MASK): New.
366         * config/ia64/sfp-exceptions.c: New.
367         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
369 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
371         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
372         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
373         * config/i386/64/sfp-machine: ... (delete here) ...
374         * config/i386/sfp-machine.h: ... to here.
375         (FP_EX_MASK): Remove.
376         (FP_RND_MASK): New.
377         (FP_INIT_ROUNDMODE): Declare asm as volatile.
379 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
381         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
382         * config/i386/libgcc-sol2.ver: Ditto.
383         * config/i386/libgcc-glibc.ver: Ditto.
385 2012-06-11  Roland McGrath  <mcgrathr@google.com>
387         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
388         If __GLIBC__ is defined, refer to __pthread_key_create instead of
389         pthread_cancel.
391 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
393         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
394         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
395         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
396         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
397         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
398         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
399         * config/i386/64/sfp-machine: ... (delete here) ...
400         * config/i386/sfp-machine.h: ... to here.
401         (FP_EX_MASK): New.
402         (__sfp_handle_exceptions): New function declaration.
403         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
404         * config/i386/sfp-exceptions.c: New.
405         * config/i386/t-softfp: New.
406         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
407         i386/t-softfp to tmake_file.
409 2012-06-03  David S. Miller  <davem@davemloft.net>
411         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
412         change.
414 2012-05-31  David S. Miller  <davem@davemloft.net>
416         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
417         multiply and divide instructions on 32-bit when V9.
418         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
420 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
422         * config/arm/ieee754-df.S: Fix typos.
423         * config/arm/ieee754-sf.S: Fix typos.
424         * config/c6x/libunwind.S: Fix typos.
425         * config/epiphany/udivsi3-float.c: Fix typos.
426         * config/microblaze/muldi3_hard.S: Fix typos.
427         * config/picochip/adddi3.S: Fix typos.
428         * config/picochip/ashlsi3.S: Fix typos.
429         * config/picochip/ashrsi3.S: Fix typos.
430         * config/picochip/clzsi2.S: Fix typos.
431         * config/picochip/cmpsi2.S: Fix typos.
432         * config/picochip/divmod15.S: Fix typos.
433         * config/picochip/divmodhi4.S: Fix typos.
434         * config/picochip/divmodsi4.S: Fix typos.
435         * config/picochip/longjmp.S: Fix typos.
436         * config/picochip/lshrsi3.S: Fix typos.
437         * config/picochip/parityhi2.S: Fix typos.
438         * config/picochip/popcounthi2.S: Fix typos.
439         * config/picochip/setjmp.S: Fix typos.
440         * config/picochip/subdi3.S: Fix typos.
441         * config/picochip/ucmpsi2.S: Fix typos.
442         * config/picochip/udivmodhi4.S: Fix typos.
443         * config/picochip/udivmodsi4.S: Fix typos.
444         * config/spu/divv2df3.c: Fix typos.
445         * config/spu/mfc_multi_tag_release.c: Fix typos.
446         * config/spu/mfc_tag_release.c: Fix typos.
447         * configure.ac: Fix typos.
448         * configure: Regenerate.
450 2012-05-25  Ian Lance Taylor  <iant@google.com>
452         * config/i386/morestack.S (__morestack_non_split): Check whether
453         caller is varargs and needs %bp to hold the stack frame on return.
455 2012-05-25  Olivier Hainque  <hainque@adacore.com>
457         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
458         sequence in the non pic case on VxWorks.
460 2012-05-24  Olivier Hainque  <hainque@adacore.com>
462         * Makefile.in: Move dependency on install-unwind_h from
463         "install-leaf" to "install".
465 2012-05-24  Olivier Hainque  <hainque@adacore.com>
467         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
468         Use a separate command for stamp removals.
470 2012-05-21  Andrew Pinski  <apinski@cavium.com>
472         PR bootstrap/53183
473         * configure.ac: Define the default includes to being none.
474         * configure: Regenerate.
476 2012-05-16  Olivier Hainque  <hainque@adacore.com>
478         * Makefile.in (install-unwind_h): Rename into ...
479         (install-unwind_h-forbuild): New target.
480         (all): Use it instead of the former install-unwind_h.
481         (install-unwind_h): Reinstate, copy to user install destination
482         for include files, not to the internal gcc object directory one.
483         (install-leaf): Depend on it.
485 2012-05-15  Olivier Hainque  <hainque@adacore.com>
487         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
488         register numbers. LR_REGNO replaces R_LR.
489         (ucontext_for): New, helper for ...
490         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
491         and 5.3 of ...
492         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
494 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
496         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
497         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
498         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
499         i386/t-cpuinfo ...
500         (i[34567]86-*-*, x86_64-*-*): ... here.
502         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
503         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
505         * config/i386/i386-cpuinfo.c: Rename to ...
506         * config/i386/cpuinfo.c: ... this.
507         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
509         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
510         (libgcc_cv_init_priority): New test.
511         * configure: Regenerate.
512         * config.in: New file.
513         * Makefile.in (clean): Rename config.h to auto-target.h.
514         (config.h): Likewise.
515         (stamp-h): Likewise.
517         * config/i386/cpuinfo.c (auto-target.h): Include.
518         (CONSTRUCTOR_PRIORITY): Define.
519         (__cpu_indicator_init): Use it.
521 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
523         * longlong.h: Use a URL instead of an FSF postal address.
524         Replace spaces with tab.
526 2012-05-08  Teresa Johnson  <tejohnson@google.com>
528         * libgcov.c (gcov_clear, __gcov_reset): New functions.
529         (__gcov_dump): Ditto.
530         (gcov_dump_complete): New global variable.
531         (gcov_exit): Export hidden to enable use in L_gcov_dump.
532         (__gcov_flush): Outline functionality now in gcov_clear.
533         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
535 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
537         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
538         (mips*-*-linux*): Include mips/t-tpbit when long double is
539         16 bytes long.
541 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
543         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
544         (get_available_features): New argument. Check for AVX2.
545         (__cpu_indicator_init): Modify call to get_available_features.
547 2012-04-25  Alan Modra  <amodra@gmail.com>
549         * config/rs6000/crtsavevr.S: New file.
550         * config/rs6000/crtrestvr.S: New file.
551         * config/rs6000/t-savresfgpr: Build the above.
552         * config/rs6000/t-netbsd: Likewise.
554 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
556         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
558 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
560         * libgcc/config/i386/i386-cpuinfo.c: New file.
561         * libgcc/config/i386/t-cpuinfo: New file.
562         * libgcc/config.host: Include t-cpuinfo.
563         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
565 2012-04-24  Chao-ying Fu  <fu@mips.com>
567         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
569 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
571         struct siginfo vs. siginfo_t
573         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
574         siginfo_t instead of struct siginfo.
575         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
576         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
577         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
578         (ia64_handle_unwabi): Likewise.
579         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
580         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
581         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
582         (sh_fallback_frame_state): Likewise.
583         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
584         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
586 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
588         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
589         system call number.
591 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
593         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
594         if it hasn't been previously saved.
596 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
598         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
599         only for glibc.
601 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
603         PR target/52737
604         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
605         instead of __AVR_HAVE_8BIT_SP__.
607 2012-03-26  Tristan Gingold  <gingold@adacore.com>
609         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
610         (unw_table_entry): Use unw_word instead of unsigned long.
611         (_Unwind_FindTableEntry): Likewise.
612         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
613         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
614         (_Unwind_FindTableEntry): Likewise.
615         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
616         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
617         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
618         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
619         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
620         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
621         (uw_init_context_1, uw_install_context): Likewise.
622         (unw_word): Move to unwind-ia64.h
624 2012-03-26  Tristan Gingold  <gingold@adacore.com>
626         * config/vms/vms-ucrt0.c: Update copyright years.
627         Add a sanity check.
628         (___gcc_main_flags): Declare.
629         (__main): Check flags to remap argv and exit code.
630         * config.host (*-*-*vms*): Adjust extra_parts.
631         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
632         (crt0.o): Add.
634 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
636         * arm/lib1funcs.asm (ctzsi2): New function.
637         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
638         * arm/t-linux (LIB1ASMFUNCS): Likewise.
639         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
640         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
641         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
642         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
644 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
646         * config.host: Add bits to support powerpc64-*-freebsd*.
647         * config/rs6000/freebsd-unwind.h: New file.
648         * config/rs6000/t-freebsd64: New file.
650 2012-03-20  Richard Guenther  <rguenther@suse.de>
652         PR gcov-profile/52627
653         * libgcov.c (init_mx): Fix mutex name.
655 2012-03-16  Tristan Gingold  <gingold@adacore.com>
657         * config/ia64/vms-unwind.h: Remove ulong (and replace
658         it by unw_reg where used).  Define unw_reg with __int64.
660 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
662         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
663         Solaris 8 handling.
664         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
665         Solaris 8 handling.
666         (sparc_is_sighandler): Likewise.
668 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
670         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
671         <= saved reg size.
673 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
675         * config/arm/crtn.S: Fix typo.
677 2012-03-13  Richard Guenther  <rguenther@suse.de>
679         * libgcov.c: Remove stdio.h include and NULL un-define.
681 2012-03-13  Richard Guenther  <rguenther@suse.de>
683         PR target/52569
684         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
686 2012-03-13  Richard Guenther  <rguenther@suse.de>
688         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
690 2012-03-13  Richard Guenther  <rguenther@suse.de>
692         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
693         and __gthread_mutex_init_function definitions.
695 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
697         * config.host (mips*-*-openbsd*): Remove.
699 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
701         * config.host: Remove alpha*-dec-osf5.1* handling.
702         * config/alpha/gthr-posix.c: Remove.
703         * config/alpha/libgcc-osf5.ver: Remove.
704         * config/alpha/osf5-unwind.h: Remove.
705         * config/alpha/t-osf-pthread: Remove.
706         * config/alpha/t-slibgcc-osf: Remove.
707         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
708         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
709         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
710         * mkmap-flat.awk: Remove osf_export handling.
712 2012-03-12  Richard Guenther  <rguenther@suse.de>
714         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
715         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
716         (__gthread_mutex_init_function): New function.
717         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
719         PR gcov/49484
720         * libgcov.c: Include gthr.h.
721         (__gcov_flush_mx): New global variable.
722         (init_mx, init_mx_once): New functions.
723         (__gcov_flush): Protect self with a mutex.
724         (__gcov_fork): Re-initialize mutex after forking.
725         * unwind-dw2-fde.c: Change condition under which to use
726         __GTHREAD_MUTEX_INIT_FUNCTION.
728 2012-03-12  Tristan Gingold  <gingold@adacore.com>
730         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
731         * config/ia64/t-vms: Likewise.
733 2012-03-11  Michael Hope  <michael.hope@linaro.org>
735         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
736         for Thumb-2.
738 2012-03-07  Walter Lee  <walt@tilera.com>
740         * config/tilepro/atomic.c: Rename "atomic_" prefix to
741         "arch_atomic_".
742         (atomic_xor): Rename and move definition to
743         config/tilepro/atomic.h.
744         (atomic_nand): Ditto.
745         * config/tilepro/atomic.h: Rename "atomic_" prefix to
746         "arch_atomic_".
747         (arch_atomic_xor): Move from config/tilepro/atomic.c.
748         (arch_atomic_nand): Ditto.
750 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
752         PR target/52507
753         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
755 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
757         PR target/52505
758         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
759         from RAM.
761 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
763         PR target/52461
764         PR target/52508
765         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
766         if RAMPZ affects reading from RAM.
767         (__tablejump_elpm__): Ditto.
768         (.xload): Ditto.
769         (__movmemx_hi): Ditto.
770         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
771         (__do_global_dtors): Ditto.
772         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
773         (__movmemx_hi): Ditto.
775 2012-03-05  Richard Henderson  <rth@redhat.com>
777         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
778         [ARM] (count_trailing_zeros): Use the builtin.
780 2012-03-01  Kai Tietz  <ktietz@redhat.com>
782         * soft-fp: Imported from glibc upstream.
784 2012-02-28  Kai Tietz  <ktietz@redhat.com>
786         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
787         for mingw-targets as attribute gcc_struct.
789 2012-02-28  Ian Lance Taylor  <iant@google.com>
791         * generic-morestack.c (__splitstack_releasecontext): Correct call
792         to __morestack_release_segments.
794 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
796         PR target/52390
797         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
798         for __linux__ when removing signals from __morestack_fullmask.
800 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
802         PR target/52261
803         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
805 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
807         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
808         instead of HAVE_INITFINI_ARRAY.
809         * config/ia64/crtend.S: Likewise.
811 2012-02-20  Kai Tietz  <ktietz@redhat.com>
813         PR libstdc++/52300
814         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
816         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
817         to w32-unwind.h header.
819 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
821         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
822         (mips*-*-linux*): Remove t-slibgcc-libgcc.
823         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
824         * config/mips/mips16.S (__mips16_rdhwr): Delete.
826 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
828         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
830 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
832         PR libitm/52220
833         * config/darwin-crt-tm.c: Correct typo.
835 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
836             Patrick Marlier  <patrick.marlier@gmail.com>
838         PR libitm/52220
839         * config/darwin-crt-tm.c: Generate dummy functions.
841 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
842             Patrick Marlier  <patrick.marlier@gmail.com>
844         PR libitm/52042
845         * config/darwin-crt-tm.c (getTMCloneTable): New function.
846         (__doTMRegistrations): Call it.
847         (__doTMdeRegistrations): Likewise.
849 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
850             Anatoly Sokolov <aesok@post.ru>
851             Eric Weddington <eric.weddington@atmel.com>
853         PR target/52261
854         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
855         (__epilogue_restores__): Ditto.
857 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
859         PR target/51921
860         PR target/52205
861         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
862         Solaris 11 and slightly reformat.
863         (sparc_is_sighandler): Likewise.
865 2012-02-14  Walter Lee  <walt@tilera.com>
867         * config.host: Handle tilegx and tilepro.
868         * config/tilegx/sfp-machine.h: New file.
869         * config/tilegx/sfp-machine32.h: New file.
870         * config/tilegx/sfp-machine64.h: New file.
871         * config/tilegx/t-crtstuff: New file.
872         * config/tilegx/t-softfp: New file.
873         * config/tilegx/t-tilegx: New file.
874         * config/tilepro/atomic.c: New file.
875         * config/tilepro/atomic.h: New file.
876         * config/tilepro/linux-unwind.h: New file.
877         * config/tilepro/sfp-machine.h: New file.
878         * config/tilepro/softdivide.c: New file.
879         * config/tilepro/softmpy.S: New file.
880         * config/tilepro/t-crtstuff: New file.
881         * config/tilepro/t-tilepro: New file.
883 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
885         PR libstdc++/51296
886         PR libstdc++/51906
887         * gthr-posix.h: Allow static initializer macros to be disabled.
888         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
890 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
892         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
893         Add t-slibgcc-libgcc to tmake_file.
894         * config/mips/libgcc-mips16.ver: Revert previous patch.
895         * config/mips/mips16.S (__mips16_rdhwr): Hide.
897 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
898             Jayant R Sonar <jayant.sonar@kpitcummins.com>
900         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
901         * config/cr16/crti.S: New file.
902         * config/cr16/crtlibid.S: New file.
903         * config/cr16/crtn.S: New file.
904         * config/cr16/lib1funcs.S: New file.
905         * config/cr16/t-cr16: New file.
906         * config/cr16/t-crtlibid: New file.
907         * config/cr16/unwind-dw2.h: New file.
908         * config/cr16/unwind-cr16.c: New file.
909         * config/cr16/divmodhi3.c: New file.
911 2012-01-25  Alan Modra  <amodra@gmail.com>
913         * config/rs6000/t-linux64: Delete.  Move..
914         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
915         * config/rs6000/t-linux: ..and libgcc flags to here.
917 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
919         * config.host (i[34567]86-*-interix3*):
920         Change triplet to i[34567]86-*-interix[3-9]*.
921         * configure: Regenerate.
923 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
924             Richard Sandiford  <rdsandiford@googlemail.com>
926         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
927         * config/mips/mips16.S (__mips16_rdhwr): New function.
928         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
930 2012-01-11  Nathan Sidwell  <nathan@acm.org>
932         * libgcov.c (__gcov_init): Ignore objects with no functions.
934 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
936         PR target/49868
937         Extend __pgmx semantics to linearize memory.
938         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
939         * config/avr/lib1funcs.S (__xload_1): New function.
940         (__movmemx_qi, __movmemx_hi): New functions.
941         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
942         semantics.
944 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
946         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
947         purported sigacthandler address isn't null before dereferencing it.
948         (sparc_is_sighandler): Likewise.
950 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
952         PR ada/41929
953         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
954         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
955         (sparc_is_sighandler): Likewise.
956         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
958 2012-01-06  Tristan Gingold  <gingold@adacore.com>
960         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
961         compatibility thunks...
962         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
963         (crtbeginS.o, crtendS.o): ... and these to ...
964         * config/ia64/t-ia64-elf: ... this new file.
965         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
966         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
968 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
970         * configure: Regenerate.
971         * config/s390/t-crtstuff: Remove -fPIC.
973 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
975         PR bootstrap/51006
976         * enable-execute-stack-mprotect.c (getpagesize): Do not define
977         for NetBSD.
979 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
981         PR target/51345
982         * config/avr/lib1funcs.S: Remove FIXME comments.
983         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
985 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
987         Implement light-weight DImode support.
988         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
989         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
990         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
991         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
993 2011-12-30  Nathan Sidwell  <nathan@acm.org>
995         * libgcov.c (gcov_crc32): Remove global var.
996         (free_fn_data): New function.
997         (buffer_fn_data): Pass in filename, more robust error recovery.
998         (crc32_unsigned): New function.
999         (gcov_exit): More robust detection of new program. More robust
1000         error recovery.
1001         (__gcov_init): Do not update program's crc here.
1003 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1005         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1007 2011-12-21  Ian Lance Taylor  <iant@google.com>
1009         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1011 2011-12-20  Ian Lance Taylor  <iant@google.com>
1013         * config/i386/morestack.S (__morestack_non_split): If there is
1014         enough stack space already, don't split.  Ask for more stack space
1015         than we required.
1017 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1019         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1020         `sys/sdt.h'.
1021         (_Unwind_DebugHook): New function.
1022         (uw_restore_core_regs): New define.
1023         (unwind_phase2): Use uw_restore_core_regs instead of
1024         restore_core_regs.
1025         (unwind_phase2_forced): Likewise.
1026         (__gnu_Unwind_Resume): Likewise.
1028 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1030         * config/alpha/linux-unwind.h: Update copyright years.
1031         (MD_FROB_UPDATE_CONTEXT): New define.
1032         (alpha_frob_update_context): New function.
1034 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1036         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1037         tmake_file rather replacing it.
1039 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1041         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1042         function is not used for PPC64.
1043         (save_world): Amend comments.  Update the VRsave mask to reflect the
1044         saved regs.
1045         (rest_world): Update comments, do not  clobber r10, do not use r8.
1046         (eh_rest_world_r10): Amend comments, do not use r8.
1047         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1048         no longer used, move restore of CR and target address to the end of
1049         the routine.
1051 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1053         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1054         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1056 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1058         PR target/49313
1059         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1060         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1062 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
1064         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1066 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
1068         PR target/49313
1069         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1070         * config/avr/lib1funcs.S (__muldi3): New function.
1072 2011-12-06  Andrew Pinski  <apinski@cavium.com>
1074         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1075         size of func_ptr.
1076         (__frame_dummy_init_array_entry): Likewise.
1078 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
1080         Forward-port from gcc-4_6-branch r181936 2011-12-02.
1082         PR target/51345
1083         PR target/51002
1084         * config/avr/lib1funcs.S (__prologue_saves__,
1085         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1086         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
1088 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
1090         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1092 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1094         PR other/51272
1095         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1096         (_ITM_deregisterTMCloneTable): Likewise.
1097         (__register_frame_info): Fix unused warning.
1098         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1099         pthread_default_stacksize_np): Likewise.
1100         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1102 2011-11-29  DJ Delorie  <dj@redhat.com>
1104         * config.host (rl78-*-elf): New case.
1105         * config/rl78: New directory for the Renesas RL78.
1107 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
1109         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
1110         formatting.
1112 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1114         PR other/51022
1115         * config/rs6000/t-savresfgpr: New file.
1116         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1117         $(srcdir)/config/rs6000/eabi.S.
1118         * config/rs6000/t-ppccomm-ldbl: Remove.
1119         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1120         tmake_file.
1121         (powerpc-*-eabispe*): Likewise.
1122         (powerpc-*-eabi*): Likewise.
1123         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1124         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1125         to tmake_file, remove rs6000/t-ppccomm-ldbl.
1126         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1127         tmake_file.
1128         (powerpc-*-eabisim*): Likewise.
1129         (powerpc-*-elf*): Likewise.
1130         (powerpc-*-eabialtivec*): Likewise.
1131         (powerpc-xilinx-eabi*): Likewise.
1132         (powerpc-*-rtems*): Likewise.
1133         (powerpcle-*-elf*): Likewise.
1134         (powerpcle-*-eabisim*): Likewise.
1135         (powerpcle-*-eabi*): Likewise.
1137 2011-11-27  Ian Lance Taylor  <iant@google.com>
1139         * generic-morestack.c (__splitstack_find): Check for NULL old
1140         stack value.
1141         (__splitstack_resetcontext): New function.
1142         (__splitstack_releasecontext): New function.
1143         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1145 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1147         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1149 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1151         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1153 2011-11-26  Richard Henderson  <rth@redhat.com>
1155         * config/m68k/linux-atomic.c: New file.
1156         * config/m68k/t-linux: New file.
1157         * config.host (m68k-uclinux, m68k-linux): Use it.
1159 2011-11-26  Richard Henderson  <rth@redhat.com>
1161         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1162         (__TMC_END__): Only declare if hidden is available; in the definition,
1163         if hidden is unavailable add a null record.
1164         (deregister_tm_clones, register_tm_clones): New.
1165         (__do_global_dtors_aux, frame_dummy): Use them.
1166         (__do_global_dtors, __do_global_ctors_1): Likewise.
1168 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1170         * config/darwin-crt-tm.c: New file.
1171         * config.host (darwin): Build crttms.o crttme.o to provide
1172         startup and shutdown for tm clones.
1173         * config/t-darwin (crttms.o): New build rule.
1174         (crttme.o): Likewise.
1176 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1178         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1179         et al.
1181 2011-11-21  Richard Henderson  <rth@redhat.com>
1183         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1184         (__TMC_LIST__, __TMC_END__): New.
1185         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1186         (__do_global_dtors): Likewise.
1187         (frame_dummy): Call _ITM_registerTMCloneTable.
1188         (__do_global_ctors_1): Likewise.
1190 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1192         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1193         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1194         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1195         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1196         * config/i386/t-darwin64: Remove.
1197         * config/sh/t-netbsd (LIB2ADD): Remove.
1199 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1201         PR target/49313
1202         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1203         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1204         * config/avr/lib1funcs.S (wmov): New assembler macro.
1205         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1206         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1207         (__udivmod64): New function.
1208         (__negdi2): New function.
1210 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1212         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1213         *-*-freebsd*aout*): Remove.
1215 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1217         * static-object.mk (c_flags-$o): Save c_flags.
1218         ($(base)$(objext)): Use it.
1220 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1222         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1224 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1226         PR target/49868
1227         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1228         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1229         New functions.
1231 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1233         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1234         functions.
1235         (aeabi_uidivmod): Likewise.
1236         (umodsi3): Likewise.
1237         (divsi3): Likewise.
1238         (aeabi_idivmod): Likewise.
1239         (modsi3): Likewise.
1241 2011-11-16  Tristan Gingold  <gingold@adacore.com>
1243         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1245 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
1247         PR target/49868
1248         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
1249         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1251 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1253         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1254         tmake_file list.
1255         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1256         * config/pa/t-stublib64: Delete.
1258 2011-11-12  Richard Henderson  <rth@redhat.com>
1260         * config/rs6000/linux-unwind.h (frob_update_context): Properly
1261         cast the pointer argument to _Unwind_SetGRPtr.
1263 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1265         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1267 2011-11-09  Ian Lance Taylor  <iant@google.com>
1269         * generic-morestack.c: Include <string.h>.
1270         (uintptr_type): Define.
1271         (struct initial_sp): Add dont_block_signals field.  Reduce size of
1272         extra array by 1.
1273         (allocate_segment): Set prev field to NULL.  Don't set
1274         __morestack_current_segment or __morestack_segments.
1275         (__generic_morestack): Update current->prev and *pp after calling
1276         allocate_segment.
1277         (__morestack_block_signals): Don't do anything if
1278         dont_block_signals is set.
1279         (__morestack_unblock_signals): Likewise.
1280         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1281         uintptr_type.
1282         (__splitstack_block_signals): New function.
1283         (enum __splitstack_content_offsets): Define.
1284         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1285         (__splitstack_makecontext): New function.
1286         (__splitstack_block_signals_context): New function.
1287         (__splitstack_find_context): New function.
1288         * config/i386/morestack.S (__morestack_get_guard): New function.
1289         (__morestack_set_guard, __morestack_make_guard): New functions.
1290         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1292 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1294         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1295         (i[34567]86-*-mingw*): ... here.
1296         (x86_64-*-mingw*): ... here.
1298 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1300         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1302 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1304         * libgcov.c (struct gcov_fn_buffer): New struct.
1305         (buffer_fn_data): New helper.
1306         (gcov_exit): Rework for new gcov data structures.
1308 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1310         PR target/49313
1311         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1313 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1315         * config.host (tmake_file): Correct comment.
1316         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1317         t-libgcc-pic.
1318         (bfin*-uclinux*): Likewise.
1319         (bfin*-linux-uclibc*): Likewise.
1320         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1322         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1323         assigning.
1324         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1325         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1326         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1327         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1328         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1329         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1330         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1331         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1332         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1333         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1334         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1335         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1336         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1338         * config/bfin/t-elf: Remove.
1339         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1341 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1343         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1344         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1345         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1346         (lm32-*-elf*): ... this.
1347         (lm32-*-rtems*): ... and this.
1348         Add to tmake_file.
1349         (m32r-*-rtems*): Add to tmake_file.
1350         (moxie-*-rtems*): Likewise.
1351         (sparc-*-rtems*): Likewise.
1352         Remove t-rtems from tmake_file.
1353         (sparc64-*-rtems*): Likewise.
1354         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1355         instead.
1357 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1359         PR bootstrap/50982
1360         * config/gthr-posix.h: Move ...
1361         * gthr-posix.h: ... here.
1362         * config/gthr-lynx.h: Reflect this.
1363         * config/gthr-vxworks.h: Likewise.
1364         * config/rs6000/gthr-aix.h: Likewise.
1365         * configure.ac (target_thread_file): Likewise.
1366         * configure: Regenerate.
1368 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1370         * config.host (arm*-*-rtemseabi*): New target.
1372 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1374         PR other/50991
1375         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1376         extra-parts.
1378 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1380         * config.host (epiphany-*-elf*): New configuration.
1381         * config/epiphany: New Directory.
1383 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1385         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1386         * config/avr/t-rtems: New.
1387         Filter out _exit from LIB1ASMFUNCS.
1389 2011-11-04  David S. Miller  <davem@davemloft.net>
1391         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1392         * configure: Rebuild.
1394 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1396         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1397         variable.
1399 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1401         PR target/50931
1402         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1403         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1405 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1407         PR target/50989
1408         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1410 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1412         * config/c6x/t-elf (LIB2ADDEH): Set.
1413         * config/c6x/t-c6x-elf: Remove.
1415 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1417         * config/i386/sol2-ci.S: Rename to ...
1418         * config/i386/crti.S: ... this.
1419         * config/i386/sol2-cn.S: Rename to ...
1420         * config/i386/crtn.S: ... this.
1421         * config/sparc/sol2-ci.S: Rename to ...
1422         * config/sparc/crti.S: ... this.
1423         * config/sparc/sol2-cn.S: Rename to ...
1424         * config/sparc/crtn.S: ... this.
1425         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1426         (crti.o, crtn.o): Remove.
1428 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1430         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1432 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1434         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1436 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1438         * config.host (crisv32-*-none, cris-*-none): Remove.
1439         (crisv32-*-elf): Append to tmake_file, don't just set it.
1440         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1442 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1444         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1445         (ecrtn$(objext)): Likewise.
1446         (ncrti$(objext)): Likewise.
1447         (ncrtn$(objext)): Likewise.
1449 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1451         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1453 2011-11-02  David S. Miller  <davem@davemloft.net>
1455         * configure.ac: Set host_address on sparc too.
1456         * configure: Regenerate.
1457         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1458         based upon host_address.
1459         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1461 2011-11-02  Jason Merrill  <jason@redhat.com>
1463         * config/rs6000/t-ppccomm: Add missing \.
1465 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1467         * gthr-single.h, gthr.h: New files.
1468         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1469         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1470         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1471         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1472         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1473         * configure.ac (thread_header): New variable.
1474         Set it depending on target_thread_file.
1475         (gthr-default.h): Link from $thread_header.
1476         * configure: Regenerate.
1477         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1479 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1481         * configure.ac (tm_file_): New variable.
1482         Determine from tm_file.
1483         (tm_file, tm_defines): Substitute.
1484         * configure: Regenerate.
1485         * mkheader.sh: New file.
1486         * Makefile.in (clean): Remove libgcc_tm.h.
1487         ($(objects)): Depend on libgcc_tm.h.
1488         (libgcc_tm_defines, libgcc_tm_file): New variables.
1489         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1490         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1491         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1492         ($(extra-parts)): Depend on libgcc_tm.h.
1493         * config.host (tm_defines, tm_file): New variable.
1494         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1495         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1496         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1497         (avr-*-rtems*): Likewise.
1498         (avr-*-*): Likewise.
1499         (frv-*-elf): Likewise.
1500         (frv-*-*linux*): Likewise.
1501         (h8300-*-rtems*): Likewise.
1502         (h8300-*-elf*): Likewise.
1503         (i[34567]86-*-darwin*): Likewise.
1504         (x86_64-*-darwin*): Likewise.
1505         (rx-*-elf): Likewise.
1506         (tic6x-*-uclinux): Likewise.
1507         (tic6x-*-elf): Likewise.
1508         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1509         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1510         * config/i386/cygming-crtbegin.c: Likewise.
1511         * config/i386/cygming-crtend.c: Likewise.
1512         * config/ia64/fde-vms.c: Likewise.
1513         * config/ia64/unwind-ia64.c: Likewise.
1514         * config/libbid/bid_gcc_intrinsics.h: Likewise.
1515         * config/rs6000/darwin-fallback.c: Likewise.
1516         * config/stormy16/lib2funcs.c: Likewise.
1517         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1518         * crtstuff.c: Likewise.
1519         * dfp-bit.h: Likewise.
1520         * emutls.c: Likewise.
1521         * fixed-bit.c: Likewise.
1522         * fp-bit.c: Likewise.
1523         * generic-morestack-thread.c: Likewise.
1524         * generic-morestack.c: Likewise.
1525         * libgcc2.c: Likewise.
1526         * libgcov.c: Likewise.
1527         * unwind-dw2-fde-dip.c: Likewise.
1528         * unwind-dw2-fde.c: Likewise.
1529         * unwind-dw2.c: Likewise.
1530         * unwind-sjlj.c: Likewise.
1532 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1534         * configure.ac: Include ../config/picflag.m4.
1535         (GCC_PICFLAG): Call it.
1536         Substitute.
1537         * configure: Regenerate.
1538         * Makefile.in (gcc_srcdir): Remove.
1539         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1540         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1541         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1542         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1543         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1544         Use $<.
1545         Remove comment.
1546         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1547         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1548         to refer to libgcc2.c.
1549         Use $<.
1550         * config/darwin-64.c: New file.
1551         * config/darwin-crt3.c: Remove comment.
1552         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1553         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1554         config/udivmodsi4.c: New files.
1555         * config/memcmp.c, config/memcpy.c, config/memmove.c,
1556         config/memset.c: New files.
1557         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1558         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1559         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1560         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1561         * config/t-openbsd-thread: New file.
1562         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1563         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1564         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1565         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1566         qrnnd.S.
1567         Adapt filename.
1568         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1569         to refer to gthr-posix.c.
1570         * config/alpha/t-vms (LIB2ADD): Set.
1571         * config/alpha/vms-gcc_shell_handler.c: New file.
1572         * config/arm/bpabi.c, config/arm/fp16.c,
1573         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1574         config/arm/unaligned-funcs.c: New files.
1575         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1576         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1577         * config/arm/t-linux: Likewise.
1578         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1579         * config/arm/t-netbsd: New file.
1580         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1581         * config/arm/t-symbian (LIB2ADD_ST): Set.
1582         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1583         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1584         * config/bfin/t-elf: New file.
1585         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1586         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1587         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1588         config/c6x/ltf.c: New files.
1589         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1590         (HOST_LIBGCC2_CFLAGS): Set.
1591         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1592         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1593         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1594         New files.
1595         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1596         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1597         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1598         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1599         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1600         files.
1601         * config/frv/t-frv (LIB2ADD): Set.
1602         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1603         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1604         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1605         config/h8300/popcounthi2.c: New files.
1606         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1607         * config/i386/gthr-win32.c: New file.
1608         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1609         * config/i386/t-cygwin: Likewise.
1610         * config/i386/t-darwin, config/i386/t-darwin64,
1611         config/i386/t-gthr-win32, config/i386/t-interix: New files.
1612         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1613         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1614         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1615         * config/ia64/quadlib.c: New file.
1616         * config/ia64/t-hpux (LIB2ADD): Set.
1617         * config/ia64/t-ia64: Add comment.
1618         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1619         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1620         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1621         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1622         * config/m32c/t-m32c (LIB2ADD): Set.
1623         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1624         * config/m32r/t-m32r: Likewise.
1625         * config/m68k/fpgnulib.c: New file.
1626         * config/m68k/t-floatlib (LIB2ADD): Set.
1627         (xfgnulib.c): New target.
1628         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1629         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1630         * config/mep/t-mep (LIB2ADD): Set.
1631         * config/microblaze/divsi3.asm: Rename to divsi3.S.
1632         * config/microblaze/moddi3.asm: Rename to moddi3.S.
1633         * config/microblaze/modsi3.asm: Rename to modsi3.S.
1634         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1635         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1636         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1637         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1638         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1639         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1640         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1641         New files.
1642         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1643         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1644         * config/pa/fptr.c, config/pa/lib2funcs.S,
1645         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1646         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1647         (LIB2ADD, LIB2ADD_ST): Set.
1648         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1649         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1650         Set.
1651         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1652         * config/pdp11/t-pdp11: New file.
1653         * config/picochip/libgccExtras/adddi3.S,
1654         config/picochip/libgccExtras/ashlsi3.S,
1655         config/picochip/libgccExtras/ashrsi3.S,
1656         config/picochip/libgccExtras/clzsi2.S,
1657         config/picochip/libgccExtras/cmpsi2.S,
1658         config/picochip/libgccExtras/divmod15.S,
1659         config/picochip/libgccExtras/divmodhi4.S,
1660         config/picochip/libgccExtras/divmodsi4.S,
1661         config/picochip/libgccExtras/lshrsi3.S,
1662         config/picochip/libgccExtras/parityhi2.S,
1663         config/picochip/libgccExtras/popcounthi2.S,
1664         config/picochip/libgccExtras/subdi3.S,
1665         config/picochip/libgccExtras/ucmpsi2.S,
1666         config/picochip/libgccExtras/udivmodhi4.S,
1667         config/picochip/libgccExtras/udivmodsi4.S: New files.
1668         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1669         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1670         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1671         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1672         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1673         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1674         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
1675         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1676         files.
1677         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1678         (HOST_LIBGCC2_CFLAGS): Set.
1679         * config/rs6000/t-darwin64: New file.
1680         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1681         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1682         * config/rs6000/t-ppccomm (LIB2ADD): Add
1683         $(srcdir)/config/rs6000/tramp.S.
1684         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1685         Add  $(srcdir)/config/rs6000/eabi.S.
1686         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1687         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1688         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1689         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1690         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1691         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1692         * config/rs6000/tramp.S: New file.
1693         * config/s390/t-tpf: Remove.
1694         * config/sh/linux-atomic.S: New file.
1695         * config/sh/t-linux (LIB2ADD): Set.
1696         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1697         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1698         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1699         to unwind-dw2.c.
1700         (HOST_LIBGCC2_CFLAGS): Set.
1701         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1702         * config/spu/divmodti4.c, config/spu/divv2df3.c,
1703         config/spu/float_disf.c, config/spu/float_unsdidf.c,
1704         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1705         config/spu/mfc_multi_tag_release.c,
1706         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1707         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1708         config/spu/multi3.c: New files.
1709         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1710         (HOST_LIBGCC2_CFLAGS): Set.
1711         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1712         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1713         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1714         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1715         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1716         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1717         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1718         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1719         config/stormy16/umodsi3.c: New files.
1720         * config/xtensa/lib2funcs.S: New file.
1721         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1722         * config/xtensa/t-xtensa (LIB2ADD): Set.
1723         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1724         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1725         Add t-freebsd-thread to tmake_file for posix threads.
1726         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1727         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1728         (*-*-lynxos*): Likewise.
1729         (*-*-netbsd*): Likewise.
1730         (*-*-openbsd*): Likewise.
1731         Add t-openbsd-thread to tmake_file for posix threads.
1732         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1733         (*-*-vxworks*): Set tmake_file.
1734         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1735         (alpha*-*-freebsd*): Likewise.
1736         (alpha*-*-netbsd*): Likewise.
1737         (alpha*-*-openbsd*): Likewise.
1738         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1739         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1740         (alpha*-dec-*vms*): Likewise.
1741         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1742         (bfin*-elf*): Add bfin/t-elf to tmake_file.
1743         (bfin*-uclinux*): Likewise.
1744         (bfin*-linux-uclibc*): Likewise.
1745         (crisv32-*-elf): Add cris/t-cris to tmake_file.
1746         (crisv32-*-none): Likewise.
1747         (cris-*-elf): Likewise.
1748         (cris-*-none): Likewise.
1749         (cris-*-linux*, crisv32-*-linux*): Likewise.
1750         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1751         tmake_file.
1752         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1753         tmake_file.
1754         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1755         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1756         (x86_64-*-elf*): Likewise.
1757         (i[34567]86-*-nto-qnx*): Likewise.
1758         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1759         win32 threads.
1760         (x86_64-*-mingw*): Likewise.
1761         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1762         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1763         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1764         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1765         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1766         tmake_file.
1767         (mipsisa64sr71k-*-elf*): Likewise.
1768         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1769         (mips-*-elf*, mipsel-*-elf*): Likewise.
1770         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1771         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1772         (mips*-*-rtems*): Likewise.
1773         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1774         to tmake_file.
1775         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1776         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1777         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1778         (spu-*-elf*): Likewise.
1779         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1781 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1783         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1784         $(srcdir) to refer to $(LIB1ASMSRC).
1785         Use $<.
1786         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1787         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1788         config/arm/lib1funcs.S: New files.
1789         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1790         * config/arm/t-arm: New file.
1791         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1792         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1793         config/arm/t-strongarm-elf: New files.
1794         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1795         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1796         * config/avr/lib1funcs.S: New file.
1797         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1798         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1799         * config/c6x/lib1funcs.S: New file.
1800         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1801         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1802         * config/frv/lib1funcs.S: New file.
1803         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1804         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1805         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1806         * config/ia64/__divxf3.asm: Rename to ...
1807         * config/ia64/__divxf3.S: ... this.
1808         Adapt lib1funcs.asm filename.
1809         * config/ia64/_fixtfdi.asm: Rename to ...
1810         * config/ia64/_fixtfdi.S: ... this.
1811         Adapt lib1funcs.asm filename.
1812         * config/ia64/_fixunstfdi.asm: Rename to ...
1813         * config/ia64/_fixunstfdi.S: ... this.
1814         Adapt lib1funcs.asm filename.
1815         * config/ia64/_floatditf.asm: Rename to ...
1816         * config/ia64/_floatditf.S: ... this.
1817         Adapt lib1funcs.asm filename.
1818         * config/ia64/lib1funcs.S: New file.
1819         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1820         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1821         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1822         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1823         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1824         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1825         * config/mep/lib1funcs.S: New file.
1826         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1827         * config/mips/mips16.S: New file.
1828         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1829         * config/pa/milli64.S: New file.
1830         * config/pa/t-linux, config/pa/t-linux64: New files.
1831         * config/picochip/lib1funcs.S: New file.
1832         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1833         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1834         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1835         * config/sh/t-netbsd: New file.
1836         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1837         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1838         * config/sh/t-sh64: New file.
1839         * config/sparc/lb1spc.S: New file.
1840         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1841         filename.
1842         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1843         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1844         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1845         config/xtensa/lib1funcs.S: New files.
1846         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1847         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1848         tmake_file.
1849         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1850         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1851         (arm*-*-linux*): Likewise.
1852         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1853         arm*-*-linux-*eabi, add arm/t-linux otherwise.
1854         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1855         (arm*-*-ecos-elf): Likewise.
1856         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1857         (arm*-*-rtems*): Likewise.
1858         (arm*-*-elf): Likewise.
1859         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1860         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1861         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1862         (bfin*-uclinux*): Likewise.
1863         (bfin*-linux-uclibc*): Likewise.
1864         (bfin*-rtems*): Likewise.
1865         (bfin*-*): Likewise.
1866         (fido-*-elf): Merge into m68k-*-elf*.
1867         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1868         (frv-*-*linux*): Add frv/t-frv to tmake_file.
1869         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1870         (h8300-*-elf*): Likewise.
1871         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1872         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1873         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1874         (i[34567]86-*-mingw*): Likewise.
1875         (x86_64-*-mingw*): Likewise.
1876         (i[34567]86-*-interix3*): Likewise.
1877         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1878         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1879         (m68k-*-elf*): Also handle fido-*-elf.
1880         Add m68k/t-floatlib to tmake_file.
1881         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1882         (m68k-*-linux*): Likewise.
1883         (m68k-*-rtems*): Likewise.
1884         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1885         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1886         sh64*-*-*.
1887         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1888         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1889         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1890         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1891         sh/t-netbsd to tmake_file.
1892         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1893         (sh-*-rtems*): Add sh/t-sh to tmake_file.
1894         (sh-wrs-vxworks): Likewise.
1895         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1896         *-leon[3-9]*.
1897         (v850*-*-*): Add v850/t-v850 to tmake_file.
1898         (vax-*-linux*): Add vax/t-linux to tmake_file.
1899         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1901 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1903         * crtstuff.c: New file.
1904         * Makefile.in (CRTSTUFF_CFLAGS): Define.
1905         (CRTSTUFF_T_CFLAGS): Define.
1906         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1907         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1908         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1909         crtstuff.c.
1910         Use $<.
1911         (crtbeginT.o): Use $(objext).
1912         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1913         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1914         (gcc-extra-parts): Remove.
1915         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1916         Set extra_parts.
1917         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1918         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1919         Add t-crtstuff-pic to tmake_file.
1920         (*-*-lynxos*): New case.
1921         Set tmake_file, extra_parts.
1922         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1923         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1924         *-*-netbsdelf[2-9]*.
1925         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1926         (*-*-rtems*): Set extra_parts.
1927         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1928         (*-*-uclinux*): New case.
1929         Set extra_parts.
1930         (*-*-vms*): New case.
1931         Set tmake_file, extra_parts.
1932         (*-*-elf): Set extra_parts.
1933         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1934         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1935         vms/t-vms64.
1936         Set extra_parts.
1937         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1938         Set extra_parts.
1939         (arm*-*-freebsd*): Add t-crtin to tmake_file.
1940         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1941         (arm-wrs-vxworks): Append to tmake_file.
1942         Set extra_parts.
1943         (arm*-*-uclinux*): Set extra_parts.
1944         (arm*-*-ecos-elf): Likewise.
1945         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1946         arm*-*-eabi*.
1947         (arm*-*-rtems*): Set extra_parts.
1948         (arm*-*-elf): Likewise.
1949         (avr-*-rtems*): Clear extra_parts.
1950         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1951         Set extra_parts.
1952         (bfin*-uclinux*): Likewise.
1953         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1954         (bfin*-rtems*): Append to tmake_file.
1955         Set extra_parts.
1956         (bfin*-*): Likewise.
1957         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1958         (crisv32-*-elf): ... this.
1959         (crisv32-*-none): ... this.
1960         (cris-*-elf, cris-*-none): New cases.
1961         Add cris/t-elfmulti to tmake_file.
1962         (fr30-*-elf): Append to tmake_file.
1963         Set extra_parts.
1964         (frv-*-elf): Append to tmake_file, add frv/t-frv.
1965         Set extra_parts.
1966         (h8300-*-rtems*): Append to tmake_file.
1967         Set extra_parts.
1968         (h8300-*-elf*): Likewise.
1969         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1970         Set extra_parts.
1971         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1972         Set extra_parts.
1973         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1974         (x86_64-*-elf*): Likewise.
1975         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1976         (x86_64-*-freebsd*): Likewise.
1977         (x86_64-*-netbsd*): Likewise.
1978         (i[34567]86-*-linux*): Likewise.
1979         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1980         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1981         (x86_64-*-linux*): Likewise.
1982         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1983         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1984         tmake_file.
1985         Set extra_parts.
1986         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1987         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1988         Append to extra_parts, remove crtbegin.o, crtend.o.
1989         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1990         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1991         crtend.o, crtbeginS.o, crtendS.o.
1992         (ia64*-*-linux*): Comment extra_parts.
1993         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1994         Set extra_parts.
1995         (iq2000*-*-elf*): Clear extra_parts.
1996         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1997         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1998         (m32r-*-elf*, m32r-*-rtems*): Split off ...
1999         (m32r-*-rtems*): ... this.
2000         Add m32r/t-m32r to tmake_file.
2001         (m68k-*-elf*): Add t-crtin to tmake_file.
2002         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2003         (mcore-*-elf): Likewise.
2004         (microblaze*-*-*): Set extra_parts.
2005         (mips*-sde-elf*): New case.
2006         Set tmake_file, extra_parts.
2007         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2008         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2009         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2010         tmake_file.
2011         Set extra_parts.
2012         (mipsisa64sr71k-*-elf*): Likewise.
2013         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2014         (mips-*-elf*, mipsel-*-elf*): Likewise.
2015         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2016         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2017         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2018         (mips*-*-rtems*): Likewise.
2019         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2020         (moxie-*-*): Split into ...
2021         (moxie-*-elf, moxie-*-uclinux*): ... this.
2022         Add to extra_parts, remove crtbegin.o, crtend.o.
2023         (moxie-*-rtems*): New case.
2024         Set tmake_file.
2025         Clear extra_parts.
2026         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2027         Set extra_parts.
2028         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2029         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2030         tmake_file.
2031         Set extra_parts.
2032         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2033         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2034         Set extra_parts.
2035         (powerpc-*-eabisim*): Likewise.
2036         (powerpc-*-elf*): Likewise.
2037         (powerpc-*-eabialtivec*): Likewise.
2038         (powerpc-xilinx-eabi*): Likewise.
2039         (powerpc-*-eabi*): Likewise.
2040         (powerpc-*-rtems*): Likewise.
2041         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2042         tmake_file.
2043         Set extra_parts.
2044         (powerpc-*-lynxos*): Add to tmake_file.
2045         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2046         rs6000/t-crtstuff, t-crtstuff-pic.
2047         Set extra_parts.
2048         (powerpcle-*-eabisim*): Likewise.
2049         (powerpcle-*-eabi*): Likewise.
2050         (rx-*-elf): Remove extra_parts.
2051         (s390x-ibm-tpf*): Set extra_parts.
2052         (score-*-elf): Set extra_parts.
2053         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2054         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2055         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2056         (sh64l*-*-netbsd*): Split into ...
2057         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2058         Add t-crtstuff-pic to tmake_file.
2059         Set extra_parts.
2060         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2061         Set extra_parts.
2062         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2063         (sparc-*-elf*): Remove t-crtin from tmake_file.
2064         Add to extra_parts, remove crtbegin.o, crtend.o.
2065         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2066         (sparc64-*-linux*): Likewise.
2067         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2068         Add to extra_parts, remove crtbegin.o, crtend.o.
2069         (sparc64-*-elf*): Remove t-crtin from tmake_file.
2070         Add to extra_parts, remove crtbegin.o, crtend.o.
2071         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2072         Add to extra_parts, remove crtbegin.o, crtend.o.
2073         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2074         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2075         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2076         Set extra_parts.
2077         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2078         Set extra_parts.
2079         (tic6x-*-*): Change to ...
2080         (tic6x-*-elf): ... this.
2081         Set extra_parts.
2082         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2083         Set extra_parts.
2084         (am33_2.0-*-linux*): Add comment.
2085         (mep*-*-*): Add mep/t-mep to tmake_file.
2086         Set extra_parts.
2087         * config/alpha/t-vms: New file.
2088         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2089         * config/arm/crti.S, config/arm/crtn.S: New files.
2090         * config/bfin/crti.S, config/bfin/crtn.S: New files.
2091         * config/bfin/crtlibid.S: New file.
2092         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2093         * config/c6x/crti.S, config/c6x/crtn.S: New files.
2094         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2095         (crti.o, crtin.o): New rules.
2096         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2097         * config/c6x/t-uclinux: New file.
2098         * config/cris/t-elfmulti: New file.
2099         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2100         * config/fr30/crti.S, config/fr30/crtn.S: New files.
2101         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2102         * config/frv/t-frv: New file.
2103         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2104         * config/h8300/crti.S, config/h8300/crtn.S: New files.
2105         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2106         New files.
2107         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2108         refer to cygming-crtbegin.c, cygming-crtend.c.
2109         Use $<.
2110         * config/i386/t-nto: New file.
2111         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2112         * config/ia64/crti.S, config/ia64/crtn.S: New files.
2113         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2114         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2115         Use .S extension.
2116         Use $<.
2117         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2118         (crtinitS.o): New rule.
2119         * config/ia64/vms-crtinit.S: New file.
2120         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2121         * config/m32r/initfini.c: New file.
2122         * config/m32r/t-linux, config/m32r/t-m32r: New files.
2123         * config/m68k/crti.S, config/m68k/crtn.S: New files.
2124         * config/mcore/crti.S, config/mcore/crtn.S: New files.
2125         * config/mep/t-mep: New file.
2126         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2127         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2128         * config/mips/crti.S, config/mips/crtn.S: New files.
2129         * config/mips/t-crtstuff: New file.
2130         * config/mmix/crti.S, config/mmix/crtn.S: New files.
2131         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2132         (CUSTOM_CRTIN): Set.
2133         ($(T)crti.o, $(T)crtn.o): Remove $(T),
2134         dependencies.
2135         Use $(srcdir) to refer to crti.S, crtn.S.
2136         Use .S extension, $<.
2137         * config/moxie/crti.asm: Rename to ...
2138         * config/moxie/crti.S: ... this.
2139         * config/moxie/crtn.asm: Rename to ...
2140         * config/moxie/crtn.S: ... this.
2141         * config/moxie/t-moxie: Remove.
2142         * config/pa/stublib.c: New file.
2143         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2144         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2145         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2146         * config/rs6000/t-crtstuff: New file.
2147         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2148         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2149         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2150         Make output file explicit.
2151         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2152         Make output file explicit.
2153         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2154         Make output file explicit.
2155         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2156         Make output file explicit.
2157         * config/score/crti.S, config/score/crtn.S: New files.
2158         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2159         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2160         files.
2161         * config/sh/t-sh, config/sh/t-superh: New files.
2162         * config/sparc/t-linux64: New file.
2163         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2164         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2165         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2166         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2167         * config/t-crtin: Remove.
2168         * config/t-crtstuff-pic: New file.
2169         * config/t-sol2 (CUSTOM_CRTIN): Set.
2170         (crti.o, crtn.o): New rules.
2171         * config/vms/t-vms: New file.
2172         * config/vms/vms-ucrt0.c: New file.
2173         * config/xtensa/t-elf: New file.
2175 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2177         * Makefile.in (SHLIB_NM_FLAGS): Set.
2178         * mkmap-flat.awk, mkmap-symver.awk: New files.
2179         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2180         exceptions.
2181         * configure: Regenerate.
2182         * config/libgcc-glibc.ver: New file.
2183         * config/libgcc-libsystem.ver: New file.
2184         * config/t-libunwind (SHLIB_LC): Set.
2185         * config/t-linux: New file.
2186         * config/t-slibgcc (INSTALL_SHLIB): New.
2187         (SHLIB_INSTALL): Use it.
2188         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2189         to mkmap-symver.awk.
2190         (SHLIB_MAPFILES): Don't append, adapt pathname.
2191         (SHLIB_VERPFX): Set.
2192         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2193         to mkmap-symver.awk.
2194         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2195         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2196         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2197         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2198         to mkmap-flat.awk.
2199         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2200         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2201         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2202         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2203         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2204         * config/i386/libgcc-darwin.10.4.ver,
2205         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2206         New files.
2207         * config/i386/t-darwin: Remove.
2208         * config/i386/t-darwin64: Likewise.
2209         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2210         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2211         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2212         * config/i386/t-linux: New file.
2213         * config/i386/t-mingw32: New file.
2214         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2215         * config/ia64/t-glibc: Rename to ...
2216         * config/ia64/t-linux: ... this.
2217         (SHLIB_MAPFILES): Set.
2218         * config/ia64/t-glibc-libunwind: Rename to ...
2219         * config/ia64/t-linux-libunwind: ... this.
2220         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2221         * config/ia64/t-slibgcc-hpux: New file.
2222         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2223         * config/m68k/t-slibgcc-elf-ver: New file.
2224         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2225         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2226         to mkmap-flat.awk.
2227         * config/pa/t-slibgcc-hpux: New file.
2228         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2229         files.
2230         * config/rs6000/libgcc-darwin.10.4.ver,
2231         config/rs6000/libgcc-darwin.10.5.ver: New files.
2232         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2233         config/rs6000/libgcc-glibc.ver.
2234         * config/rs6000/libgcc-ppc64.ver: Rename to
2235         config/rs6000/libgcc-ibm-ldouble.ver.
2236         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2237         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2238         * config/rs6000/t-ldbl128: Rename to ...
2239         * config/rs6000/t-linux: ... this.
2240         (SHLIB_MAPFILES): Adapt filename.
2241         * config/rs6000/t-slibgcc-aix: New file.
2242         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2243         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2244         libgcc-excl.ver, libgcc-glibc.ver.
2245         (SHLIB_LINK, SHLIB_INSTALL): Remove.
2246         * config/sparc/libgcc-glibc.ver: New file.
2247         * config/sparc/t-linux: New file.
2248         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2249         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2250         t-slibgcc-elf-ver to tmake_file.
2251         Add t-slibgcc-nolc-override to tmake_file for posix threads on
2252         *-*-freebsd[34].
2253         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2254         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2255         t-slibgcc-elf-ver, t-linux to tmake_file.
2256         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2257         tmake_file.
2258         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2259         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2260         (alpha*-dec-*vms*): Likewise.
2261         (arm*-*-freebsd*): Append to tmake_file.
2262         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2263         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2264         arm*-*-linux-*eabi.
2265         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2266         tmake_file for arm*-*-symbianelf*.
2267         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2268         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2269         cris/t-linux.
2270         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2271         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2272         pa/t-slibgcc-dwarf-ver to tmake_file.
2273         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2274         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2275         (hppa*64*-*-hpux11*): Likewise.
2276         (hppa[12]*-*-hpux11*): Likewise.
2277         (x86_64-*-darwin*): Don't override tmake_file, but only keep
2278         i386/t-crtpc, i386/t-crtfm.
2279         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2280         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2281         to tmake_file.
2282         Add i386/t-cygwin to tmake_file.
2283         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2284         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2285         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2286         to tmake_file.
2287         Add i386/t-mingw32 to tmake_file.
2288         (x86_64-*-mingw*): Likewise.
2289         (ia64*-*-freebsd*): Append to tmake_file.
2290         (ia64*-*-linux*): Append to tmake_file.
2291         Replace ia64/t-glibc by ia64/t-linux.
2292         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2293         system libunwind.
2294         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2295         t-slibgcc-hpux to tmake_file.
2296         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2297         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2298         (m32rle-*-linux*): Likewise.
2299         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2300         sjlj exceptions.
2301         (microblaze*-linux*): New case.
2302         Append to tmake_file, add t-slibgcc-nolc-override.
2303         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2304         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2305         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2306         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2307         rs6000/t-slibgcc-aix to tmake_file.
2308         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2309         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2310         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2311         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2312         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2313         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2314         sh*-*-linux*.
2315         (sparc-*-linux*): Append to tmake_file for *-leon*.
2316         Add sparc/t-linux to tmake_file for non-Leon targets.
2317         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2318         (tic6x-*-uclinux): New case.
2319         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2320         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2321         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2322         (am33_2.0-*-linux*): Append to tmake_file.
2323         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2324         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2325         x86_64-*-kfreebsd*-gnu.
2326         Add i386/t-linux to tmake_file.
2328 2011-10-28  Ian Lance Taylor  <iant@google.com>
2330         * config/i386/morestack.S: Correct CFI information to do proper
2331         returns throughout function.  In 32-bit mode, save %ebx so that it
2332         is restored on unwind.
2334 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2336         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2337         case where B3 isn't the return register.
2339         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2340         logic for doubleword pops.
2342 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2344         * config/rs6000/t-freebsd: Add wildcard.
2346 2011-10-21  Paul Brook  <paul@codesourcery.com>
2348         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2350 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2351             Eric Botcazou  <ebotcazou@adacore.com>
2353         PR target/50737
2354         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2355         fs->signal_frame to 1.
2357 2011-10-07  Ian Lance Taylor  <iant@google.com>
2359         * generic-morestack-thread.c: #include <errno.h>.
2361 2011-10-07  Ian Lance Taylor  <iant@google.com>
2363         PR target/46093
2364         * generic-morestack.c (__generic_morestack): Make sure the segment
2365         is large enough for both the stack frame and the copied
2366         parameters.
2368 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2370         PR bootstrap/49804
2371         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2372         extra_parts.
2374 2011-09-28  Nick Clifton  <nickc@redhat.com>
2376         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2377         64-bit doubles are not enabled.
2378         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2379         and floatunsisf functions.
2381 2011-09-13  Paul Brook  <paul@codesourcery.com>
2383         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2384         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2385         * unwind-arm-common.inc: New file.
2386         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2387         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2388         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2389         * config/c6x/libunwind.S: New file.
2390         * config/c6x/pr-support.c: New file.
2391         * config/c6x/unwind-c6x.c: New file.
2392         * config/c6x/unwind-c6x.h: New file.
2393         * config/c6x/t-c6x-elf: New file.
2395 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2397         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2398         (ASM_DIVZERO): Ditto.
2399         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2401 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2403         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2405 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2407         PR target/50090
2408         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2409         instead of an assembly one.
2411 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2413         PR bootstrap/50047
2414         * Makefile.in (install-unwind_h): Create
2415         $(gcc_objdir)/include/unwind.h atomically.
2417 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2419         * Makefile.in (install-unwind_h): Remove destination file first.
2421 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2423         * sync.c: New file.
2424         * config/mips/t-mips16: New file.
2425         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2426         (mips*-*-linux*): Likewise.
2427         (mips*-sde-elf*): Likewise.
2428         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2429         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2430         Add mips/t-mips16 to tmake_file.
2431         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2432         (mips-*-elf*): Likewise.
2433         (mips64-*-elf*): Likewise.
2434         (mips64orion-*-elf*): Likewise.
2435         (mips*-*-rtems*): Likewise.
2436         (mipstx39-*-elf*): Likewise.
2437         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2438         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2439         LIBGCC_SYNC_CFLAGS.
2440         Use $(srcdir) to refer to sync.c.
2441         Use $<.
2442         ($(libgcc-sync-funcs-o)): Likewise.
2443         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2444         ($(libgcc-sync-funcs-s-o)): Likewise.
2446 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2448         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2449         t-libunwind.
2451 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2453         PR other/48007
2454         * config/i386/value-unwind.h: New.
2456 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2458         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2459         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2460         Add to tmake_file rather than overriding it.
2462 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2464         * config/t-softfp: Remove.
2465         * soft-fp: Moved from ../gcc/config.
2466         * soft-fp/README: Remove t-softfp reference.
2467         * soft-fp/t-softfp: Move to config/t-softfp.
2468         (softfp_machine_header): Remove.
2469         (softfp_file_list): Remove config subdir.
2470         (soft-fp-objects): New variable.
2471         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2472         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2473         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2474         * config/t-softfp-excl: New file.
2475         * config/t-softfp-sfdf: New file.
2476         * config/t-softfp-tf: New file.
2477         * config/no-sfp-machine.h: New file.
2478         * config/arm/sfp-machine.h: New file.
2479         * config/arm/t-softfp: New file.
2480         * config/c6x/sfp-machine.h: New file.
2481         * config/i386/32/t-fprules-softfp: Rename to ...
2482         * config/i386/32/t-softfp: ... this.
2483         (tifunctions, LIB2ADD): Remove.
2484         (softfp_int_modes): Override.
2485         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2486         subdir.
2487         * config/i386/64/eqtf2.c: Likewise.
2488         * config/i386/64/getf2.c: Likewise.
2489         * config/i386/64/letf2.c: Likewise.
2490         * config/ia64/sft-machine.h: New file.
2491         * config/ia64/t-fprules-softfp: Rename to ...
2492         * config/ia64/t-softfp: ... this.
2493         * config/lm32/sfp-machine.h: New file.
2494         * config/moxie/t-moxie-softfp: Remove.
2495         * config/rs6000/ibm-ldouble-format: New file.
2496         * config/rs6000/ibm-ldouble.c: New file.
2497         * config/rs6000/libgcc-ppc-glibc.ver: New file
2498         * config/rs6000/libgcc-ppc64.ver: New file
2499         * config/rs6000/sfp-machine.h: New file.
2500         * config/rs6000/t-freebsd: New file.
2501         * config/rs6000/t-ibm-ldouble: New file.
2502         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2503         libgcc-ppc-glibc.ver.
2504         * config/rs6000/t-linux64: New file.
2505         * config/rs6000/t-ppccomm (LIB2ADD): Add
2506         $(srcdir)/config/rs6000/ibm-ldouble.c.
2507         * config/rs6000/t-ppccomm-ldbl: New file.
2508         * config/score/sfp-machine.h: New file.
2509         * config.host (sfp_machine_header): Explain.
2510         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2511         t-softfp to tmake_file.
2512         (arm*-*-uclinux*): Likewise.
2513         (arm*-*-ecos-elf): Likewise.
2514         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2515         (arm*-*-rtems*): Likewise.
2516         (arm*-*-elf): Likewise.
2517         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2518         in tmake_file.
2519         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2520         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2521         (lm32-*-uclinux*): Likewise.
2522         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2523         t-softfp-excl, t-softfp.
2524         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2525         (powerpc64-*-darwin*): Likewise.
2526         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2527         to tmake_file.
2528         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2529         tmake_file.
2530         (powerpc-*-eabisim*): Likewise.
2531         (powerpc-*-elf*): Likewise.
2532         (powerpc-*-eabialtivec*): Likewise.
2533         (powerpc-xilinx-eabi*): Likewise.
2534         (powerpc-*-rtems*): Likewise.
2535         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2536         t-softfp-excl, t-softfp to tmake_file.
2537         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2538         rs6000/t-ppccomm-ldbl to tmake_file.
2539         (powerpcle-*-elf*): Likewise.
2540         (powerpcle-*-eabisim*): Likewise.
2541         (powerpcle-*-eabi*): Likewise.
2542         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2543         rs6000/t-ibm-ldouble to tmake_file.
2544         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2545         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2546         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2547         (tic6x-*-*): Likewise.
2548         (i[34567]86-*-darwin*, x86_64-*-darwin*,
2549         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2550         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2551         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2552         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2553         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2554         t-softfp to tmake_file.
2555         * configure.ac (sfp_machine_header): Provide default if unset.
2556         Substitute.
2557         Link sfp-machine.h to config/$sfp_machine_header.
2558         * configure: Regenerate.
2560 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2562         * Makefile.in (double_type_size, long_double_type_size): Set.
2563         Remove $(fpbit-in-libgcc) support.
2564         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2565         (fpbit-src): New variable.
2566         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2567         Compile with -DFLOAT $(FPBIT_CFLAGS).
2568         Use $<.
2569         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2570         Compile with $(FPBIT_CFLAGS).
2571         Use $<.
2572         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2573         Compile with -DFLOAT $(TPBIT_CFLAGS).
2574         Use $<.
2575         * configure.ac (double_type_size, long_double_type_size):
2576         Determine and substitute.
2577         * configure: Regenerate.
2578         * fp-bit.c, fp-bit.h: New files.
2579         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2580         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2581         * config/mips/t-mips: New file.
2582         * config/mips/t-sdemtk: New file.
2583         * config/rs6000/ppc64-fp.c: New file.
2584         * config/rs6000/t-darwin (LIB2ADD): Add
2585         $(srcdir)/config/rs6000/ppc64-fp.c.
2586         * config/rs6000/t-ppc64-fp: New file.
2587         * config/rx/rx-lib.h: New file.
2588         * config/rx/t-rx (FPBIT): Set to true.
2589         ($(gcc_objdir)/fp-bit.c): Remove.
2590         (DPBIT): Set to true only with -m64bit-doubles.
2591         ($(gcc_objdir)/dp-bit.c): Remove.
2592         * config/sparc/t-softfp: Remove.
2593         * config/spu/t-elf: New file.
2594         * config/t-fdpbit, config/t-fpbit: New files.
2595         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2596         (mips*-*-*): Likewise.
2597         (arm-wrs-vxworks): Likewise.
2598         (arm*-*-freebsd*): Likewise.
2599         (avr-*-rtems*): Add t-fpbit to tmake_file.
2600         (avr-*-*): Likewise.
2601         (bfin*-elf*): Add t-fdpbit to tmake_file.
2602         (bfin*-uclinux*): Likewise.
2603         (bfin*-linux-uclibc*): Likewise.
2604         (bfin*-rtems*): New case.
2605         Add t-fdpbit to tmake_file.
2606         (bfin*-*): Add t-fdpbit to tmake_file.
2607         (crisv32-*-elf): Likewise.
2608         (cris-*-linux*): Likewise.
2609         (fr30-*-elf): Likewise.
2610         (frv-*-elf, frv-*-*linux*): Likewise.
2611         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2612         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2613         (m32r-*-elf*): Likewise.
2614         (m32rle-*-elf*): Likewise.
2615         (m32r-*-linux*): Likewise.
2616         (m32rle-*-linux*): Likewise.
2617         (mcore-*-elf): Add t-fdpbit to tmake_file.
2618         (microblaze*-*-*): Likewise.
2619         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2620         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2621         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2622         Fix typo.
2623         Add mips/t-tpbit to tmake-file.
2624         (mips*-*-linux*): Fix typo.
2625         (mips*-sde-elf*): New case
2626         Add mips/t-sdemtk unless using newlib.
2627         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2628         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2629         (mn10300-*-*): Likewise.
2630         (pdp11-*-*): Likewise.
2631         (picochip-*-*): Add t-fpbit to tmake_file.
2632         (powerpc-*-eabisimaltivec*): Likewise.
2633         (powerpc-*-eabisim*): Likewise.
2634         (powerpc-*-elf*): Likewise.
2635         (powerpc-*-eabialtivec*): Likewise.
2636         (powerpc-xilinx-eabi*): New case.
2637         Add t-fdpbit to tmake_file.
2638         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
2639         (powerpc-*-rtems*): Likewise.
2640         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2641         tmake_file.
2642         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2643         tmake_file.
2644         (powerpc-*-lynxos*): Likewise.
2645         (powerpcle-*-elf*): Likewise.
2646         (powerpcle-*-eabisim*): Likewise.
2647         (powerpcle-*-eabi*): Likewise.
2648         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2649         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2650         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2651         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2652         (rx-*-elf): Add t-fdpbit to tmake_file.
2653         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2654         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2655         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2656         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2657         sh*-*-netbsd*.
2658         (sh-*-rtems*): Add t-fdpbit to tmake_file.
2659         (sh-wrs-vxworks): Likewise.
2660         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2661         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2662         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2663         (sparc64-*-rtems*): ... new case.
2664         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2665         (spu-*-elf*): Likewise.
2666         Add spu/t-elf to tmake_file.
2667         (v850*-*-*): Add t-fdpbit to tmake_file.
2668         (xstormy16-*-elf): Likewise.
2669         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2670         (mep*-*-*): Likewise.
2672 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2674         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2675         variables.
2676         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2677         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2678         (install-unwind_h): New target.
2679         (all): Depend on it.
2680         * config.host (unwind_header): New variable.
2681         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2682         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2683         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2684         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2685         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2686         Set unwind_header.
2687         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2688         Set unwind_header.
2689         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2690         arm*-*-eabi*.
2691         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2692         Set unwind_header.
2693         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2694         (ia64*-*-freebsd*): Likewise.
2695         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2696         tmake_file.
2697         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2698         $with_system_libunwind.
2699         (ia64*-*-hpux*): Set tmake_file.
2700         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2701         (picochip-*-*): Set tmake_file.
2702         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2703         md_unwind_header.
2704         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2705         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2706         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2707         (xtensa*-*-elf*): Set tmake_file.
2708         (xtensa*-*-linux*): Likewise.
2709         * configure.ac: Include ../config/unwind_ipinfo.m4.
2710         Call GCC_CHECK_UNWIND_GETIPINFO.
2711         Link unwind.h to $unwind_header.
2712         * configure: Regenerate.
2713         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2714         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2715         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2716         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2717         * config/unwind-dw2-fde-darwin.c: New file.
2718         * config/arm/libunwind.S, config/arm/pr-support.c,
2719         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2720         config/arm/unwind-arm.h,: New files.
2721         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2722         config/ia64/t-eh-ia64, config/ia64/t-glibc,
2723         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2724         config/ia64/t-vms, config/ia64/unwind-ia64.c,
2725         config/ia64/unwind-ia64.h: New files.
2726         * config/picochip/t-picochip: New file.
2727         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2728         files.
2729         * config/rs6000/t-darwin (LIB2ADDEH): Set.
2730         * config/s390/t-tpf (LIB2ADDEH): Remove.
2731         * config/t-darwin (LIB2ADDEH): Set.
2732         * config/t-eh-dw2-dip: New file.
2733         * config/t-libunwind, config/t-libunwind-elf: New files.
2734         * config/t-sol2 (LIB2ADDEH): Remove.
2735         * config/xtensa/t-xtensa: New file.
2737 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
2739         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2740         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2741         long long to check rt_sigreturn syscall.
2743 2011-08-02  Alan Modra  <amodra@gmail.com>
2745         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2746         Restore for indirect call bcrtl from correct stack slot, and only
2747         if cfa+40 isn't valid.
2749 2011-08-01  Julian Brown  <julian@codesourcery.com>
2751         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2752         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2753         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2755 2011-08-01  Julian Brown  <julian@codesourcery.com>
2757         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2758         (libgcc-std.ver.in): Use above.
2759         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2760         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
2761         throughout file.
2762         * config/t-fixedpoint-gnu-prefix: New file.
2763         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2764         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2765         instead of __PFX__.
2767 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2769         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2770         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2771         for x86-64.  Properly check __x86_64__ and __LP64__.
2773 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2775         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2776         version.
2777         (_FP_WS_TYPE): Likewise.
2778         (_FP_I_TYPE): Likewise.
2780 2011-07-28  Alan Modra  <amodra@gmail.com>
2782         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2783         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2784         in a plt call stub.  Do restore r2 if stopped on bctrl.
2786 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2788         * config.host (i[3456x]86-*-netware*): Remove.
2789         * config/i386/netware-crt0.c, config/i386/t-nwld,
2790         config/i386/t-slibgcc-nwld: Remove.
2792 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
2794         * config.host: Handle tic6x-*-*.
2795         * config/c6x/c6x-abi.h: New file.
2797 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2799         * config/i386/crtprec.c: New file.
2800         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2801         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2802         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2803         (x86_64-*-darwin*): Likewise.
2804         (i[34567]86-*-solaris2*: Likewise.
2806 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2808         * config/alpha/crtfastmath.c: New file.
2809         * config/i386/crtfastmath.c: New file.
2810         * config/ia64/crtfastmath.c: New file.
2811         * config/mips/crtfastmath.c: New file.
2812         * config/sparc/crtfastmath.c: New file.
2814         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2815         crtfastmath.c.
2816         Add -frandom-seed=gcc-crtfastmath.
2817         * config/alpha/t-crtfm: Remove.
2818         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2819         * config/ia64/t-ia64 (crtfastmath.o): Remove.
2821         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2822         (alpha*-dec-osf5.1*): Likewise.
2823         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2824         Add crtfastmath.o to extra_parts.
2825         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2826         Add crtfastmath.o to extra_parts.
2827         (x86_64-*-darwin*): Likewise.
2828         (x86_64-*-mingw*): Likewise.
2829         (ia64*-*-elf*): Add t-crtfm to tmake_file.
2830         (ia64*-*-freebsd*): Likewise.
2831         (ia64*-*-linux*): Likewise.
2832         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2833         Add crtfastmath.o to extra_parts.
2835 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2837         * config/darwin-crt3.o: New file.
2838         * config/rs6000/darwin-crt2.c: New file.
2839         * config/t-darwin: New file.
2840         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2841         (crt2.o): New rule.
2842         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2843         (powerpc-*-darwin*): Add crt2.o to extra_parts.
2844         (powerpc64-*-darwin*): Likewise.
2846 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2848         * config/i386/netware-crt0.c: New file.
2849         * config/i386/t-nwld: Rename to ...
2850         * config/i386/t-slibgcc-nwld: ... this.
2851         * config/i386/t-nwld: New file.
2852         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2853         tmake_file.
2854         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2855         extra_parts.
2857 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2859         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2860         i386/t-crtstuff.
2861         * configure: Regenerate.
2863 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2865         * dfp-bit.c, dfp-bit.h: New files.
2866         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2867         variables.
2868         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2869         ($(d64pbit-o)): Likewise.
2870         ($(d128pbit-o)): Likewise.
2871         * config/t-dfprules: New file.
2872         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2873         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2874         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2875         (x86_64-*-linux*): Likewise.
2876         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2877         (i[34567]86-*-cygwin*): Likewise.
2878         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
2879         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2881 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2883         * Makfile.in (LIBGCOV): New variable.
2884         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2885         * libgcov.c: New file.
2887 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2889         * fixed-bit.c, fixed-bit.h: New files.
2890         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2891         refer to fixed-bit.c.
2893 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
2895         * config.host (*local*): Remove.
2897 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2899         PR target/39150
2900         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2901         like i?86-*-solaris2.1[0-9]*.
2902         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2903         * configure.ac (i?86-*-solaris2*): Likewise.
2904         * configure: Regenerate.
2906 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
2908         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2909         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2910         md_unwind_header by splitting out of...
2911         (i[34567]86-*-linux*): ... this.
2912         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2913         Remove md_unwind_header by splitting out of...
2914         (x86_64-*-linux*): ... this.
2916 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
2918         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2920 2011-06-28  Nick Clifton  <nickc@redhat.com>
2922         * config.host: Recognize all V850 variants.
2924 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
2926         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2928 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2930         * shared-object.mk (c_flags-$o): Save c_flags.
2931         ($(base)$(objext)): Use it.
2932         ($(base)_s$(objext)): Likewise.
2934 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
2936         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2937         * libgcc-std.ver.in (GCC_4.7.0): New section.
2939 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
2941         PR target/49313
2942         PR target/29524
2943         * config/avr/t-avr: Fix line endings.
2944         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
2945         _parityXX2.
2947 2011-06-14  Olivier Hainque  <hainque@adacore.com>
2948             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2950         * config/mips/irix6-unwind.h: New file.
2951         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2953 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
2955         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2956         (sparc64_fallback_frame_state): Use it.
2957         (sparc64_frob_update_context): Further adjust context.
2958         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2959         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2960         * config/sparc/sol2-cn.S: Likewise.
2962 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2964         * enable-execute-stack-empty.c: New file.
2965         * enable-execute-stack-mprotect.c: New file.
2966         * config/i386/enable-execute-stack-mingw32.c: New file.
2967         * config.host (enable_execute_stack): New variable.
2968         Select appropriate variants.
2969         * configure.ac: Link enable-execute-stack.c to
2970         $enable_execute_stack.
2971         * configure: Regenerate.
2972         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2973         (lib2funcs): Remove _enable_execute_stack.
2975 2011-06-09  David S. Miller  <davem@davemloft.net>
2976             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2978         * config.host (sparc-*-linux*): Correct md_unwind_header
2979         filename.
2980         (s390x-ibm-tpf*): Fix typo.
2982 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2984         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2985         Add crtfastmath.o to extra_parts.
2986         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2987         mips/t-crtfm.
2988         * config/mips/t-crtfm: Remove.
2990 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2992         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2994 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2996         * config.host (sh*-*-linux*): Fix typo.
2998 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3000         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3001         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3002         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3003         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3004         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3005         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3006         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3007         Wrap in !__MINGW64__.
3008         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3009         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3010         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3011         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3012         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3013         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3014         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3015         Wrap in !__LP64__.
3016         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3017         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3018         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3019         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3020         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3021         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3022         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3023         * config/no-unwind.h: New file.
3024         * config.host (md_unwind_header): Document.
3025         Define.
3026         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3027         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3028         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3029         hppa[12]*-*-hpux11*): Set md_unwind_header.
3030         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3031         Set md_unwind_header.
3032         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3033         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3034         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3035         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3036         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3037         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3038         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3039         md_unwind_header.
3040         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3041         * configure: Regenerate.
3043 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3045         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3046         Set tmake_file, extra_parts.
3047         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3048         Remove O32 support.
3049         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3050         Remove O32 support.
3051         * config/mips/t-irix6: New file.
3052         * config/mips/t-slibgcc-irix: New file.
3054 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3056         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3057         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3059 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3061         * configure.ac (target_thread_file): Determine thread model.
3062         * configure: Regenerate.
3063         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3064         * config/alpha/t-alpha: New file.
3065         * config/alpha/t-crtfm: Use $<.
3066         * config/alpha/t-ieee: New file.
3067         * config/alpha/t-osf-pthread: New file.
3068         * config/alpha/t-slibgcc-osf: New file.
3069         * config/alpha/libgcc-osf5.ver: New file.
3071 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3073         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3074         tmake_file.
3075         Add crtfastmath.o to extra_parts.
3077 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3079         * config/gmon-sol2.c: Reindent.
3080         Cleanup comments.
3081         Remove, correct casts.
3082         Use STDERR_FILENO, NULL.
3083         (BASEADDRESS): Remove.
3084         (minbrk): Remove.
3085         (errno, sbrk): Remove declarations.
3086         (monstartup) [hp300]: Remove.
3087         (mcount): Remove.
3089 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3091         * Makefile.in (cpu_type): Define.
3092         * config.host (i[34567]86-*-rtems*): Handle it.
3093         (i[34567]86-*-solaris2*): Move body ...
3094         (*-*-solaris2*): ... here.
3095         New case, generalize.
3096         (sparc-*-elf*): Handle it.
3097         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3098         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3099         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3100         Fold into ...
3101         (sparc*-*-solaris2*): ... this.
3102         New case.
3103         (sparc64-*-elf*): Handle it.
3104         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3105         Merge ../gcc/config/i386/gmon-sol2.c.
3106         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3107         Use C comments.
3108         Merge ../gcc/config/i386/sol2-gc1.asm.
3109         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3110         Use C comments.
3111         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3112         Use C comments.
3113         * config/i386/t-crtfm (crtfastmath.o): Use $<.
3114         * config/i386/t-crtstuff: New file.
3115         * config/i386/t-softfp: New file.
3116         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3117         $(T)crti.o, $(T)crtn.o): Remove.
3118         (gcrt1.o): New rule.
3119         (TARGET_LIBGCC2_CFLAGS): Remove.
3120         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3121         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3122         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3123         * config/sparc/t-sol2: New file.
3124         * config/sparc/t-crtfm: Move to ...
3125         * config/t-crtfm: ... this.
3126         Use $(cpu_type), $<.
3127         * config/t-crtin: New file.
3128         * config/sparc/t-softfp: New file.
3129         * config/sparc/t-softmul: New file.
3130         * config/t-rtems: New file.
3131         * config/t-slibgcc: New file.
3132         * config/t-slibgcc-elf-ver: New file.
3133         * config/t-slibgcc-gld: New file.
3134         * config/t-slibgcc-sld: New file.
3135         * config/t-sol2: New file.
3136         * configure.ac: Include ../config/lib-ld.m4.
3137         Call AC_LIB_PROG_LD_GNU.
3138         Substitute cpu_type.
3139         * configure: Regenerate.
3141 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3143         PR bootstrap/49173
3144         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3145         libgcc-std.ver in the build directory.
3146         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3147         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3149 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3151         * libgcc-std.ver.in: New file.
3152         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3153         variables.
3154         (libgcc-std.ver): New rule.
3155         * config/t-gnu-prefix: New file.
3157 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3159         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3161 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3163         * config/i386/darwin-lib.h: New file.
3165 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3167         * config/arm/symbian-lib.h: New.
3169 2011-05-04  Chris Demetriou  <cgd@google.com>
3171         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3172         (__x86.get_pc_thunk.bx): ...this.
3173         (__morestack): Adjust for rename, remove undef of __i686.
3175 2011-05-03  Chris Demetriou  <cgd@google.com>
3177         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3179 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3181         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3182         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3183         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3184         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3185         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3186         Remove cases.
3188 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3190         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3191         Adjust copyright year.
3193 2011-03-07  Ian Lance Taylor  <iant@google.com>
3195         * generic-morestack.c (__splitstack_find): Adjust returned stack
3196         pointer to include all registers pushed by __morestack.
3198 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3200         PR target/40125
3201         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3202         (toolexecdir): Calculate and AC_SUBST.
3203         (toolexeclibdir): Likewise.
3204         * Makefile.in (target_noncanonical): Import.
3205         (toolexecdir): Likewise.
3206         (toolexeclibdir): Likewise.
3207         * configure: Regenerate.
3209 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3211         PR target/46040
3212         * config/arm/bpabi.h: Rename to...
3213         * config/arm/bpabi-lib.h: ...this.
3215 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3217         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3218         appropriate.
3219         * configure: Regenerate.
3221 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3223         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3224         __FLOAT_WORD_ORDER__.
3225         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3226         Delete.
3228 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3230         PR other/46202
3231         * Makefile.in (install-strip): New phony target.
3233 2010-11-07  Ian Lance Taylor  <iant@google.com>
3235         PR target/46089
3236         * config/i386/morestack.S (__morestack_large_model): New
3237         function.
3239 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
3241         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3242         Delete.
3243         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3245 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
3247         * config/arm/bpabi.h: New file.
3248         * config/frv/frv-abi.h: New file.
3250 2010-10-01  Ian Lance Taylor  <iant@google.com>
3252         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3253         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3255 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3257         PR target/45858
3258         * config.host: Add the missing `$'.
3260 2010-09-30  Michael Eager  <eager@eagercon.com>
3262         * config.host: Add microblaze*-*-*.
3263         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3264         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3265         udivsi3.asm,umodsi3.asm}:  New.
3267 2010-09-28  Ian Lance Taylor  <iant@google.com>
3269         * configure.ac: Adjust CFI test to test assembler directly rather
3270         than checking gcc preprocessor macro.
3271         * configure: Rebuild.
3273 2010-09-27  Ian Lance Taylor  <iant@google.com>
3275         * configure.ac: Test whether assembler supports CFI directives.
3276         * config.host: Only add t-stack and i386/t-stack-i386 to
3277         tmake_file if libgcc_cv_cfi is "yes".
3278         * configure: Rebuild.
3280 2010-09-27  Ian Lance Taylor  <iant@google.com>
3282         * generic-morestack.h: New file.
3283         * generic-morestack.c: New file.
3284         * generic-morestack-thread.c: New file.
3285         * config/i386/morestack.S: New file.
3286         * config/t-stack: New file.
3287         * config/i386/t-stack-i386: New file.
3288         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3289         i386/t-stack-i386 to tmake_file.
3291 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3293         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3294         invoke ranlib after installing them.
3295         (gcc-extra-parts): Likewise.
3296         (install-leaf): Likewise.
3298 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3300         * configure: Regenerated.
3302 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3304         * configure: Regenerated.
3306 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3307             Andrew Pinski  <pinskia@gmail.com>
3309         PR target/40959
3310         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3312 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3314         PR target/45524
3315         * configure: Regenerated.
3317 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3319         * configure: Regenerate.
3321 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3323         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3324         64bit targets.
3325         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3326         for 64bit targets.
3328 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3329             Iain Sandoe  <iains@gcc.gnu.org>
3331         PR target/45476
3332         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3333         LIB2FUNCS_EXCLUDE functions.
3335 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3337         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3338         Include dfp.m4.
3339         * configure: Regenerate.
3341 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3343         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3344         i386/t-freebsd to tmake_file.
3345         * config/i386/t-freebsd: New file.
3346         * config/i386/libgcc-bsd.ver: New file.
3348 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3350         * config.host (powerpc*-eabispe*): Set tmake_file.
3351         (powerpc*-eabi*): Likewise.
3352         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3353         crtbeginS, crtendS, crtbeginT.
3355 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3357         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3358         to tmake_file.  Add crtfastmath.o to extra_parts.
3359         * config/mips/t-crtfm: New.
3361 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3363         * config.host (sparc64-*-rtems*): New target.
3365 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3367         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3368         assembler syntax.
3370 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3372         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3374 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3376         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3377         alpha-dec-osf5.0* support.
3379 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3381         * config.host: Add lm32-*-rtems*.
3383 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3384             Uros Bizjak <ubizjak@gmail.com>
3386         PR target/39048
3387         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3388         like other remaining 32-bit x86 OSes.
3389         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3390         assembler syntax.
3391         * config/i386/libgcc-sol2.ver: New file.
3392         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3394 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3396         PR c/43553
3397         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3398         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3399         is used and substitute set_use_emutls.
3400         * configure: Regenerated.
3402 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3404         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3406 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3408         PR target/38085
3409         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3410         MULTILIB_CFLAGS.
3411         ($(T)gcrt1.o): Likewise.
3412         ($(T)crt1.o): Likewise.
3413         ($(T)crti.o): Likewise.
3414         ($(T)crtn.o): Likewise.
3416 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3418         PR other/42980
3419         * Makefile.in (install): Use $(MAKE) string in rule, for
3420         parallel make.
3422 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3424         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3425         * config/mmix/t-mmix: New file.
3426         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3428 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3430         PR java/41991
3431         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3432         SHLIB_MAPFILES.
3434 2010-01-04  Anthony Green  <green@moxielogic.com>
3436         * config/moxie/crti.asm, config/moxie/crtn.asm,
3437         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3438         config/moxie/t-moxie: New files.
3439         * config.host: Add t-moxie-softfp reference.
3441 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3443         PR other/39888
3444         * config/t-slibgcc-darwin: Fix embedded rpaths for
3445         --enable-version-specific-runtime-libs, build extension stub
3446         libs exposing features available from current libgcc_s.
3448 2009-11-11  Jon Beniston <jon@beniston.com>
3450         * config.host: Add lm32 targets.
3451         * config/lm32: New directory.
3452         * config/lm32/libgcc_lm32.h: New file.
3453         * config/lm32/_mulsi3.c: New file.
3454         * config/lm32/_udivmodsi4.c: New file.
3455         * config/lm32/_divsi3.c: New file.
3456         * config/lm32/_modsi3.c: New file.
3457         * config/lm32/_udivsi3.c: New file.
3458         * config/lm32/_umodsi3.c: New file.
3459         * config/lm32/_lshrsi3.S: New file.
3460         * config/lm32/_ashrsi3.S: New file.
3461         * config/lm32/_ashlsi3.S: New file.
3462         * config/lm32/crti.S: New file.
3463         * config/lm32/crtn.S: New file.
3464         * config/lm32/t-lm32: New file.
3465         * config/lm32/t-elf: New file.
3466         * config/lm32/t-uclinux: New file.
3468 2009-10-26  Nick Clifton  <nickc@redhat.com>
3470         * config.host: Add support for RX target.
3471         * config/rx: New directory.
3472         * config/rx/rx-abi-functions.c: New file. Supplementary
3473         functions for libgcc to support the RX ABI.
3474         * config/rx/rx-abi.h: New file.  Supplementary header file for
3475         libgcc RX ABI functions.
3476         * config/rx/t-rx: New file: Makefile fragment for building
3477         libgcc for the RX.
3479 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3481         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3482         constraint of y0 to "g".
3484 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3486         * config.host: Include the s390 makefile fragments.
3487         * config/s390/32/_fixdfdi.c: New file.
3488         * config/s390/32/_fixsfdi.c: New file.
3489         * config/s390/32/_fixtfdi.c: New file.
3490         * config/s390/32/_fixunsdfdi.c: New file.
3491         * config/s390/32/_fixunssfdi.c: New file.
3492         * config/s390/32/_fixunstfdi.c: New file.
3493         * config/s390/32/t-floattodi: New file.
3494         * config/s390/libgcc-glibc.ver: New file.
3495         * config/s390/t-crtstuff: New file.
3496         * config/s390/t-linux: New file.
3497         * config/s390/t-tpf: New file.
3499 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3501         * configure.ac (AC_PREREQ): Bump to 2.64.
3503 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
3505         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3507 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3509         * configure: Regenerate.
3511 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
3513         * config.host (ia64-hp-*vms*): New target.
3514         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3515         with ia64-hp-*vms*.
3517 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3519         * configure.ac: Add snippet for maintainer-mode.
3520         * configure: Regenerate.
3521         * Makefile.in (AUTOCONF, configure_deps): New variables.
3522         ($(srcdir)/configure)): New rule, active only with maintainer
3523         mode turned on.
3525 2009-06-23  DJ Delorie  <dj@redhat.com>
3527         Add MeP port.
3528         * config.host: Add mep support.
3530 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
3532         * config.host: Add i386/${host_address}/t-fprules-softfp and
3533         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3535         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3536         for mingw targets.
3537         * config/i386/64/_multc3.c: Likewise.
3538         * config/i386/64/_powitf2.c: Likewise.
3539         * config/i386/64/eqtf2.c: Likewise.
3540         * config/i386/64/getf2.c: Likewise.
3541         * config/i386/64/letf2.c: Likewise.
3542         * config/i386/64/letf2.c: Likewise.
3543         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3544         unsigned long long for x64 mingw targets.
3545         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3546         (_FP_I_TYPE): Define as long long for x64 mingw target.
3548 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
3550         * config.host (vax-*-linux*): New.
3552 2009-05-31  Anthony Green  <green@moxielogic.com>
3554         * config.host: Add moxie support.
3555         * config/moxie/t-moxie: New file.
3557 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
3559         * config.host: Add i386/${host_address}/t-fprules-softfp and
3560         t-softfp to tmake_file for i[34567]86-*-cygwin*.
3562 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
3564         * config.host: Add i386/${host_address}/t-fprules-softfp to
3565         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3567 2009-04-09  Nick Clifton  <nickc@redhat.com>
3569         * config/ia64/tf-signs.c: Change copyright header to refer to
3570         version 3 of the GNU General Public License with version 3.1
3571         of the GCC Runtime Library Exception and to point readers at
3572         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3573         web page.
3574         * config/i386/32/tf-signs.c: Likewise.
3575         * config/libbid/_addsub_dd.c: Likewise.
3576         * config/libbid/_addsub_sd.c: Likewise.
3577         * config/libbid/_addsub_td.c: Likewise.
3578         * config/libbid/_dd_to_df.c: Likewise.
3579         * config/libbid/_dd_to_di.c: Likewise.
3580         * config/libbid/_dd_to_sd.c: Likewise.
3581         * config/libbid/_dd_to_sf.c: Likewise.
3582         * config/libbid/_dd_to_si.c: Likewise.
3583         * config/libbid/_dd_to_td.c: Likewise.
3584         * config/libbid/_dd_to_tf.c: Likewise.
3585         * config/libbid/_dd_to_udi.c: Likewise.
3586         * config/libbid/_dd_to_usi.c: Likewise.
3587         * config/libbid/_dd_to_xf.c: Likewise.
3588         * config/libbid/_df_to_dd.c: Likewise.
3589         * config/libbid/_df_to_sd.c: Likewise.
3590         * config/libbid/_df_to_td.c: Likewise.
3591         * config/libbid/_di_to_dd.c: Likewise.
3592         * config/libbid/_di_to_sd.c: Likewise.
3593         * config/libbid/_di_to_td.c: Likewise.
3594         * config/libbid/_div_dd.c: Likewise.
3595         * config/libbid/_div_sd.c: Likewise.
3596         * config/libbid/_div_td.c: Likewise.
3597         * config/libbid/_eq_dd.c: Likewise.
3598         * config/libbid/_eq_sd.c: Likewise.
3599         * config/libbid/_eq_td.c: Likewise.
3600         * config/libbid/_ge_dd.c: Likewise.
3601         * config/libbid/_ge_sd.c: Likewise.
3602         * config/libbid/_ge_td.c: Likewise.
3603         * config/libbid/_gt_dd.c: Likewise.
3604         * config/libbid/_gt_sd.c: Likewise.
3605         * config/libbid/_gt_td.c: Likewise.
3606         * config/libbid/_isinfd128.c: Likewise.
3607         * config/libbid/_isinfd32.c: Likewise.
3608         * config/libbid/_isinfd64.c: Likewise.
3609         * config/libbid/_le_dd.c: Likewise.
3610         * config/libbid/_le_sd.c: Likewise.
3611         * config/libbid/_le_td.c: Likewise.
3612         * config/libbid/_lt_dd.c: Likewise.
3613         * config/libbid/_lt_sd.c: Likewise.
3614         * config/libbid/_lt_td.c: Likewise.
3615         * config/libbid/_mul_dd.c: Likewise.
3616         * config/libbid/_mul_sd.c: Likewise.
3617         * config/libbid/_mul_td.c: Likewise.
3618         * config/libbid/_ne_dd.c: Likewise.
3619         * config/libbid/_ne_sd.c: Likewise.
3620         * config/libbid/_ne_td.c: Likewise.
3621         * config/libbid/_sd_to_dd.c: Likewise.
3622         * config/libbid/_sd_to_df.c: Likewise.
3623         * config/libbid/_sd_to_di.c: Likewise.
3624         * config/libbid/_sd_to_sf.c: Likewise.
3625         * config/libbid/_sd_to_si.c: Likewise.
3626         * config/libbid/_sd_to_td.c: Likewise.
3627         * config/libbid/_sd_to_tf.c: Likewise.
3628         * config/libbid/_sd_to_udi.c: Likewise.
3629         * config/libbid/_sd_to_usi.c: Likewise.
3630         * config/libbid/_sd_to_xf.c: Likewise.
3631         * config/libbid/_sf_to_dd.c: Likewise.
3632         * config/libbid/_sf_to_sd.c: Likewise.
3633         * config/libbid/_sf_to_td.c: Likewise.
3634         * config/libbid/_si_to_dd.c: Likewise.
3635         * config/libbid/_si_to_sd.c: Likewise.
3636         * config/libbid/_si_to_td.c: Likewise.
3637         * config/libbid/_td_to_dd.c: Likewise.
3638         * config/libbid/_td_to_df.c: Likewise.
3639         * config/libbid/_td_to_di.c: Likewise.
3640         * config/libbid/_td_to_sd.c: Likewise.
3641         * config/libbid/_td_to_sf.c: Likewise.
3642         * config/libbid/_td_to_si.c: Likewise.
3643         * config/libbid/_td_to_tf.c: Likewise.
3644         * config/libbid/_td_to_udi.c: Likewise.
3645         * config/libbid/_td_to_usi.c: Likewise.
3646         * config/libbid/_td_to_xf.c: Likewise.
3647         * config/libbid/_tf_to_dd.c: Likewise.
3648         * config/libbid/_tf_to_sd.c: Likewise.
3649         * config/libbid/_tf_to_td.c: Likewise.
3650         * config/libbid/_udi_to_dd.c: Likewise.
3651         * config/libbid/_udi_to_sd.c: Likewise.
3652         * config/libbid/_udi_to_td.c: Likewise.
3653         * config/libbid/_unord_dd.c: Likewise.
3654         * config/libbid/_unord_sd.c: Likewise.
3655         * config/libbid/_unord_td.c: Likewise.
3656         * config/libbid/_usi_to_dd.c: Likewise.
3657         * config/libbid/_usi_to_sd.c: Likewise.
3658         * config/libbid/_usi_to_td.c: Likewise.
3659         * config/libbid/_xf_to_dd.c: Likewise.
3660         * config/libbid/_xf_to_sd.c: Likewise.
3661         * config/libbid/_xf_to_td.c: Likewise.
3662         * config/libbid/bid128.c: Likewise.
3663         * config/libbid/bid128_2_str.h: Likewise.
3664         * config/libbid/bid128_2_str_macros.h: Likewise.
3665         * config/libbid/bid128_2_str_tables.c: Likewise.
3666         * config/libbid/bid128_add.c: Likewise.
3667         * config/libbid/bid128_compare.c: Likewise.
3668         * config/libbid/bid128_div.c: Likewise.
3669         * config/libbid/bid128_fma.c: Likewise.
3670         * config/libbid/bid128_logb.c: Likewise.
3671         * config/libbid/bid128_minmax.c: Likewise.
3672         * config/libbid/bid128_mul.c: Likewise.
3673         * config/libbid/bid128_next.c: Likewise.
3674         * config/libbid/bid128_noncomp.c: Likewise.
3675         * config/libbid/bid128_quantize.c: Likewise.
3676         * config/libbid/bid128_rem.c: Likewise.
3677         * config/libbid/bid128_round_integral.c: Likewise.
3678         * config/libbid/bid128_scalb.c: Likewise.
3679         * config/libbid/bid128_sqrt.c: Likewise.
3680         * config/libbid/bid128_string.c: Likewise.
3681         * config/libbid/bid128_to_int16.c: Likewise.
3682         * config/libbid/bid128_to_int32.c: Likewise.
3683         * config/libbid/bid128_to_int64.c: Likewise.
3684         * config/libbid/bid128_to_int8.c: Likewise.
3685         * config/libbid/bid128_to_uint16.c: Likewise.
3686         * config/libbid/bid128_to_uint32.c: Likewise.
3687         * config/libbid/bid128_to_uint64.c: Likewise.
3688         * config/libbid/bid128_to_uint8.c: Likewise.
3689         * config/libbid/bid32_to_bid128.c: Likewise.
3690         * config/libbid/bid32_to_bid64.c: Likewise.
3691         * config/libbid/bid64_add.c: Likewise.
3692         * config/libbid/bid64_compare.c: Likewise.
3693         * config/libbid/bid64_div.c: Likewise.
3694         * config/libbid/bid64_fma.c: Likewise.
3695         * config/libbid/bid64_logb.c: Likewise.
3696         * config/libbid/bid64_minmax.c: Likewise.
3697         * config/libbid/bid64_mul.c: Likewise.
3698         * config/libbid/bid64_next.c: Likewise.
3699         * config/libbid/bid64_noncomp.c: Likewise.
3700         * config/libbid/bid64_quantize.c: Likewise.
3701         * config/libbid/bid64_rem.c: Likewise.
3702         * config/libbid/bid64_round_integral.c: Likewise.
3703         * config/libbid/bid64_scalb.c: Likewise.
3704         * config/libbid/bid64_sqrt.c: Likewise.
3705         * config/libbid/bid64_string.c: Likewise.
3706         * config/libbid/bid64_to_bid128.c: Likewise.
3707         * config/libbid/bid64_to_int16.c: Likewise.
3708         * config/libbid/bid64_to_int32.c: Likewise.
3709         * config/libbid/bid64_to_int64.c: Likewise.
3710         * config/libbid/bid64_to_int8.c: Likewise.
3711         * config/libbid/bid64_to_uint16.c: Likewise.
3712         * config/libbid/bid64_to_uint32.c: Likewise.
3713         * config/libbid/bid64_to_uint64.c: Likewise.
3714         * config/libbid/bid64_to_uint8.c: Likewise.
3715         * config/libbid/bid_b2d.h: Likewise.
3716         * config/libbid/bid_binarydecimal.c: Likewise.
3717         * config/libbid/bid_conf.h: Likewise.
3718         * config/libbid/bid_convert_data.c: Likewise.
3719         * config/libbid/bid_decimal_data.c: Likewise.
3720         * config/libbid/bid_decimal_globals.c: Likewise.
3721         * config/libbid/bid_div_macros.h: Likewise.
3722         * config/libbid/bid_dpd.c: Likewise.
3723         * config/libbid/bid_flag_operations.c: Likewise.
3724         * config/libbid/bid_from_int.c: Likewise.
3725         * config/libbid/bid_functions.h: Likewise.
3726         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3727         * config/libbid/bid_inline_add.h: Likewise.
3728         * config/libbid/bid_internal.h: Likewise.
3729         * config/libbid/bid_round.c: Likewise.
3730         * config/libbid/bid_sqrt_macros.h: Likewise.
3732 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
3734         * Makefile.in: Change copyright header to refer to version
3735         3 of the GNU General Public License and to point readers at the
3736         COPYING3 file and the FSF's license web page.
3737         * config.host: Likewise.
3739 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
3741         * config.host: Reorder and merge to match config.gcc change.
3743 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
3745         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3747 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
3749         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3750         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3751         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3752         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3754 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
3756         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3757         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3759 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3761         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3762         ia64/t-softfp-compat to tmake_file.
3764         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3766         * config/ia64/__divxf3.asm: New.
3767         * config/ia64/_fixtfdi.asm: Likewise.
3768         * config/ia64/_fixunstfdi.asm: Likewise.
3769         * config/ia64/_floatditf.asm: Likewise.
3770         * config/ia64/t-fprules-softfp: Likewise.
3771         * config/ia64/t-softfp-compat: Likewise.
3772         * config/ia64/tf-signs.c: Likewise.
3774 2009-01-18  Ben Elliston  <bje@au.ibm.com>
3776         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3778 2009-01-16  Ben Elliston  <bje@au.ibm.com>
3780         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3781         to tmake_file.
3783 2009-01-13  Ben Elliston  <bje@au.ibm.com>
3785         * config/t-softfp: New file.
3786         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3787         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3789 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
3791         * config.host: Add m32r*-*-rtems*.
3793 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
3795         * config.host: Add m32c*-*-rtems*.
3797 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3799         PR bootstrap/33100
3800         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3801         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3802         * configure: Regenerate.
3803         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3804         tmake_file here from gcc/config.gcc.
3805         Move extra_parts here from gcc/config.gcc.
3806         * config/i386/t-sol2: Move here from gcc/config/i386.
3807         Use gcc_srcdir instead of srcdir.
3809 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
3811         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3812         case.
3814 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
3816         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3818 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
3820         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3822 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
3824         Add picoChip port.
3825         * config.host: Add picochip-*-*.
3827 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
3829         * config.host: Match more processor names for Xtensa.
3831 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
3833         * config/i386/64/t-softfp-compat: Update comments.
3835 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3837         * config/i386/64/_divtc3-compat.c: Moved to ...
3838         * config/i386/64/_divtc3.c: Here.
3840         * config/i386/64/_multc3-compat.c: Moved to ...
3841         * config/i386/64/_multc3.c: Here.
3843         * config/i386/64/_powitf2-compat.c: Moved to ...
3844         * config/i386/64/_powitf2.c: Here.
3846         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3847         .c suffix instead of -compat.c.
3849 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
3851         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3852         (_FP_MUL_MEAT_D): Ditto.
3853         (_FP_DIV_MEAT_S): Ditto.
3854         (_FP_DIV_MEAT_D): Ditto.
3856 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
3858         * Makefile.in: Add support for __sync_* libgcc functions.
3860 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
3862         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3864 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3866         PR boostrap/36702
3867         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3868         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
3870         * config/i386/64/t-fprules-softfp: Moved to ...
3871         * config/i386/64/t-softfp-compat: This.  New.
3873 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
3875         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3876         Initialize f with 0.0.
3878 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3880         PR target/36669
3881         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3883         * config/i386/64/_divtc3-compat.c: New.
3884         * config/i386/64/_multc3-compat.c: Likewise.
3885         * config/i386/64/_powitf2-compat.c: Likewise.
3886         * config/i386/64/eqtf2.c: Likewise.
3887         * config/i386/64/getf2.c: Likewise.
3888         * config/i386/64/letf2.c: Likewise.
3889         * config/i386/64/t-fprules-softfp: Likewise.
3891 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3893         * config.host: Add i386/${host_address}/t-fprules-softfp to
3894         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3895         i[34567]86-*-linux*, x86_64-*-linux*.
3897         * configure.ac: Set host_address to 64 or 32 for x86.
3898         * configure: Regenerated.
3900         * Makefile.in (config.status): Also depend on
3901         $(srcdir)/config.host.
3903         * config/i386/32/t-fprules-softfp: New.
3904         * config/i386/32/tf-signs.c: Likewise.
3906         * config/i386/64/sfp-machine.h: New. Moved from gcc.
3908 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3909             Uros Bizjak  <ubizjak@gmail.com>
3911         * config/i386/32/sfp-machine.h: New.
3913 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
3915         * config/rs6000/t-ppccomm: Remove rules that conflict with
3916         auto-generated rules.
3918 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3920         * configure.ac: sinclude override.m4.
3921         * configure: Regenerate.
3923 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
3925         * configure: Regenerate.
3927 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
3929         * Makefile.in (DECNUMINC): Remove
3930         -I$(MULTIBUILDTOP)../../libdecnumber.
3931         * gstdint.h: New.
3933 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
3935         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3936         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3937         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3938         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3939         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3940         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3941         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3942         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3943         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3944         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3945         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3946         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3947         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3948         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3950 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
3952         * config.host (sh2[lbe]*-*-linux*): Allow target.
3954 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
3956         * config/rs6000/t-ppccomm: Add build rules for new files.
3957         (LIB2ADD_ST): New variable.
3959 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
3961         PR target/34210
3962         PR target/35508
3963         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3964         * config/t-avr: New file. Build 16bit libgcc functions.
3966 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
3968         PR target/35401
3969         * config/t-slibgcc-darwin: Make install-leaf dependent on
3970         install-darwin-libgcc-stubs instead of install.
3972 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
3974         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3975         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3976         sh-*-rtemscoff*): Remove cases.
3978 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
3980         * Makefile.in (all): Use install-leaf rather than install.
3981         (install): Split most of the rule into...
3982         (install-leaf): ...this new one.
3984 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
3985             Paolo Bonzini  <bonzini@gnu.org>
3987         PR target/30572
3988         * Makefile.in: Use @shlib_slibdir@ substitution to get
3989         correct install name on darwin.
3990         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3992 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
3994         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3995         cris-*-elf and cris-*-none.
3996         (crisv32-*-linux*): Similar, as cris-*-linux*.
3998 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4000         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4002 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4004         PR regression/33926
4005         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4006         * configure: Regenerated.
4008 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4010         * Makefile.in (dfp-filenames): Replace decimal_globals,
4011         decimal_data, binarydecimal and convert_data with
4012         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4013         and bid_convert_data, respectively.
4015 2007-09-17  Chao-ying Fu  <fu@mips.com>
4016             Nigel Stephens  <nigel@mips.com>
4018         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4019         * Makefile.in (fixed_point): Define.
4020         Check if fixed_point is yes to build support functions.
4021         * configure.ac: Check for fixed_point support.
4022         * configure: Regenerated.
4023         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4024         funcs, modes, from, to.
4026 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4028         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4030 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4032         * Makefile.in (dfp-filenames): Remove decUtility, add
4033         decDouble, decPacked, decQuad, decSingle.
4035 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4037         * config.host : Add x86_64-elf target.
4039 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4041         * configure.ac (set_have_cc_tls): Add a missing =.
4042         * configure: Regenerated.
4044 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4046         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4047         and x86_64-*-linux*.
4049         * config/t-tls: New file.
4051         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4053         * configure.ac: Include ../config/enable.m4 and
4054         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4055         supports TLS and substitute set_have_cc_tls.
4056         * configure: Regenerated.
4058 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4060         * Makefile.in: Use libbid for DFP when BID is enabled.
4062 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
4064         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4065         extra_parts. Add config/i386/t-cygming to tmake_file.
4066         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4068 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
4069             Danny Smith  <dannysmith@users.sourceforge.net>
4071         PR target/29498
4072         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4073         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
4074         * config/i386/t-crtfm: Compile crtfastmath.o with
4075         -minline-all-stringops.
4077 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
4079         * config.host (sparc-wrs-vxworks): New target.
4081 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
4083         * config.host: Recognize fido.
4085 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
4087         * configure: Check host, not target, for decimal float support.
4089 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
4091         * config/i386/t-crtpc: New file.
4092         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4093         (x86_64-*-linux*): Ditto.
4095 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
4097         * config.host (x86_64-*-mingw*): New target.
4099 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
4100             H.J. Lu  <hongjiu.lu@intel.com>
4102         * Makefile.in (enable_decimal_float): New.
4103         (DECNUMINC): Add
4104         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4105         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4106         (decbits-filenames): This.
4107         (decbits-objects): New.
4108         (libgcc-objects): Add $(decbits-objects).
4110         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4111         Substitute enable_decimal_float.
4112         * configure: Regenerated.
4114 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
4116         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4118 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
4120         * Makefile.in (install-info): New dummy target.
4122 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
4124         * config.host (bfin*-linux-uclibc*): Set extra_parts.
4126 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
4128         * Makefile.in: Add install-html and install-pdf dummy
4129         targets.
4131 2007-02-05  Roger Sayle  <roger@eyesopen.com>
4132             Daniel Jacobowitz  <dan@codesourcery.com>
4134         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4135         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4136         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4138 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4140         * Makefile.in (dec-filenames): Add decExcept.
4142 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4144         PR bootstrap/30469
4145         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4146         -fprofile-use.
4148 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4150         * configure.ac: Add --enable-version-specific-runtime-libs.
4151         Correct $slibdir default.
4152         * configure: Regenerated.
4154 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4156         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4158 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4160         PR target/30519
4161         * config.host (alpha*-*-linux*): Set extra_parts.
4163 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4165         * config/sh/t-linux: New.
4166         * config.host (sh*-*-linux*): Set tmake_file.
4168 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4170         * Makefile.in (install): Handle multilibs.
4172 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4174         * Makefile.in: Added .PHONY entry for documentation targets.
4176 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4178         * Makefile.in: Add empty info, html, dvi, pdf targets.
4180 2007-01-04  Mike Stump  <mrs@apple.com>
4182         * Makefile.in (MAKEINFO): Remove.
4183         (PERL): Likewise.
4185 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4187         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4188         * configure: Regenerate.
4189         * Makefile.in (host_subdir): Substitute it.
4190         (gcc_objdir): Use it.
4192 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4194         * config.host (ia64*-*-linux*): Set tmake_file.
4196 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4198         * Makefile.in (version): Define.
4200 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4201             Paolo Bonzini  <bonzini@gnu.org>
4203         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4204         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4205         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4206         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4207         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4208         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4209         * configure: Generated.