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