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