* config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
[official-gcc.git] / libgcc / ChangeLog
blobd47f64ebb5fd2104325daa3104181049aefc0022
1 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
3         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5         __UINTPTR_TYPE__; also cast 'base' to the same type before the
6         alignment operation.
8 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
10         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
11         loop start address for cache clearing.
13 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
15         * config/avr/lib1funcs.S: Remove trailing blanks.
16         * config/avr/lib1funcs-fixed.S: Ditto.
18 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
20         * config/avr/avr-lib.h: Add GPL copyright notice.
22 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
24         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
25         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
26         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
27         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
29 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
31         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
32         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
34 2013-01-04  Nick Clifton  <nickc@redhat.com>
36         * config/v850/lib1funcs.S: Only provide CALLT support functions if
37         the CALLT instruction is supported.
39 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
41         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
42         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
44 2012-12-13  John Tytgat  <John@bass-software.com>
46         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
47         is 25.
49 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
51         PR libgcc/55451
52         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
53         undefined signed overflows.
55 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
57         PR target/55344
58         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
60 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
62         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
63         (FP_TRAPPING_EXCEPTIONS): Define.
64         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
65         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
67 2012-12-04  Richard Henderson  <rth@redhat.com>
69         PR bootstrap/55571
70         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
72 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
74         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
75         (FP_EX_SHIFT): Define.
76         (FP_TRAPPING_EXCEPTIONS): Define.
78 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
80         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
81         (FP_ROUNDMODE): Use FP_RND_MASK.
82         * config/aarch64/sfp-exceptions.c: New.
83         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
84         Use __sfp_handle_exceptions.
86 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
88         * config.host: (arm*-*-freebsd*): Remove.
89         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
90         (arm*-*-elf*): Remove.
91         (arm*-*-wince-pe*): Remove.
92         * arm/unwind-arm.c (struct fpa_reg): Delete.
93         (struct fpa_regs): Delete.
94         (phase1_vrs): Remove fpa element.
95         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
96         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
97         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
98         * ieee754-sf.S (floatundisf): Remove FPA support.
99         (floatdisf): Likewise.
100         * ieee75f-df.S (floatundidf): Likewise.
101         (floatdidf): Likewise.
103 2012-11-29  Kai Tietz  <ktietz@redhat.com>
105         PR target/55445
106         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
107         * unwind-generic.h: Likewise.
108         * unwind-seh.c: Likewise.
110 2012-11-28  Richard Henderson  <rth@redhat.com>
112         PR libgcc/48076
113         * emutls.c (__emutls_get_address): Avoid race condition between
114         obj->loc.offset read and emutls_key initialization.
116 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
118         Adjust decimal point of signed accum mode to GCC default.
120         PR target/54222
121         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
122         _divqq_helper.
123         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
124         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
125         (__mulha3, __mulsa3)
126         (__divqq3, __divha3, __divsa3): Adjust to new position of
127         decimal point of signed accum types.
129         (__mulusa3_round): New function.
130         (__mulusa3): Use it.
131         (__divqq_helper): New function.
132         (__udivuqq3): Use it.
134 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
136         PR bootstrap/55370
137         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
139 2012-11-18  Teresa Johnson  <tejohnson@google.com>
141         PR bootstrap/55051
142         * libgcov.c (gcov_exit): Remove merged program summary
143         comparison unless !GCOV_LOCKED.
145 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
147         * soft-fp: Updated from glibc upstream.
149 2012-11-06  Ian Lance Taylor  <iant@google.com>
151         * generic-morestack.c (__generic_morestack): Align the returned
152         stack pointer to a 32 byte boundary.
153         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
154         increment the return address until we have decided that we don't
155         have a varargs function.
156         (__morestack) [32-bit]: Align stack correctly when calling C
157         functions.
158         (__morestack) [64-bit]: Likewise.
160 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
162         * configure: Regenerate.
164 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
166         PR target/55175
167         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
168         * config/i386/sfp-machine.h: Guard exception handling
169         code with _SOFT_FLOAT.
170         * config/i386/32/sfp-machine.h: Guard rounding handling
171         code with _SOFT_FLOAT.
172         * config/i386/64/sfp-machine.h: Ditto.
174 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
176         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
177         as extra_parts.
179 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
181         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
182         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
183         when appropriate.  Correct structure element types.
184         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
185         -minline-all-stringops from compile flags.
187 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
189         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
191 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
193         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
195 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
197         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
198         tmake_file.
200 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
201             Jim MacArthur  <jim.macarthur@arm.com>
202             Marcus Shawcroft  <marcus.shawcroft@arm.com>
203             Nigel Stephens  <nigel.stephens@arm.com>
204             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
205             Richard Earnshaw  <rearnsha@arm.com>
206             Sofiane Naci  <sofiane.naci@arm.com>
207             Stephen Thomas  <stephen.thomas@arm.com>
208             Tejas Belagod  <tejas.belagod@arm.com>
209             Yufeng Zhang  <yufeng.zhang@arm.com>
211         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
212         * config/aarch64/crti.S: New file.
213         * config/aarch64/crtn.S: New file.
214         * config/aarch64/linux-unwind.h: New file.
215         * config/aarch64/sfp-machine.h: New file.
216         * config/aarch64/sync-cache.c: New file.
217         * config/aarch64/t-aarch64: New file.
218         * config/aarch64/t-softfp: New file.
220 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
222         * config/mmix/crti.S: Mark program and data addresses using PRELD.
223         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
224         no-longer-needed LDBU insns.
226 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
228         * config.host
229         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
230         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
232 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
234         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
236 2012-10-15  Matthias Klose  <doko@ubuntu.com>
238         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
240 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
242         * configure: Regenerate.
243         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
245 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
247         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
248         instructions for 64bit targets only.
250 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
252         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
253         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
254         * config/i386/32/sfp-machine.h: ... here.
255         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
256         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
257         New defines.
259 2012-10-07  Matthias Klose  <doko@ubuntu.com>
261         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
262         as unused.
263         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
265 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
267         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
268         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
269         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
270         (ElfW): Likewise.
272 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
274         PR other/53889
275         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
276         Fix parameter names.
278 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
280         PR target/33135
281         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
282         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
283         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
285 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
287         PR target/50457
288         * config/sh/linux-atomic.S: Delete.
289         * config/sh/linux-atomic.c: New.
290         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
291         linux-atomic.c.  Add cflags to disable warnings.
293 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
295         PR other/53889
296         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
297         function.
298         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
299         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
300         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
301         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
302         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
303         Likewise.
304         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
305         Likewise.
306         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
307         Likewise.
308         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
309         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
311 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
313         * config.host (hppa-*-openbsd*): New target.
314         * config/pa/t-openbsd: New file.
316 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
318         PR target/54222
319         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
320         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
321         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
322         (__divsa3): Use __negsi2 to negate r_quoL.
323         * config/avr/lib1funcs.S (FALIAS): New macro.
324         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
325         (__negsi2): ...this new function.
326         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
327         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
328         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
329         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
330         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
331         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
333 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
335         PR target/54089
336         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
337         (lshrsi3): Reimplement as lshrsi3_r0.
339 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
341         PR target/46191
342         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
343         of libgcc.a.
345 2012-09-07  Teresa Johnson  <tejohnson@google.com>
347         PR gcov-profile/54487
348         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
349         differences.
351 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
353         PR target/54461
354         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
355         not configured --with-avrlibc=no.
356         * config/avr/t-avrlibc: New file.
357         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
358         (DPBIT_FUNCS): Ditto.
359         (TPBIT_FUNCS): Ditto.
361 2012-09-04  Teresa Johnson  <tejohnson@google.com>
363         * libgcov.c (struct gcov_summary_buffer): New structure.
364         (gcov_histogram_insert): New function.
365         (gcov_compute_histogram): Ditto.
366         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
367         histograms during summary merging.
369 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
371         * config.host (x86_64-*-openbsd*): New target.
373 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
375         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
376         attribute.
378 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
380         PR target/54222
381         * config/avr/t-avr (conv_X): Rename to func_X.
383 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
385         PR target/54222
386         * config/avr/lib1funcs-fixed.S: New file.
387         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
388         after they are used.
389         (neg2, neg4): New macros.
390         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
391         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
392         (__umulhisi3): Speed up MUL variant if there is enough flash.
393         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
394         avr-modes.def.
395         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
396         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
397         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
398         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
399         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
400         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
401         (LIB2FUNCS_EXCLUDE): Add supported functions.
403 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
405         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
406         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
407         libgcc-s-objects.
408         * fixed-obj.mk: Only expand dependency if $o is not in
409         LIB2FUNCS_EXCLUDE.
411 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
413         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
415 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
417         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
418         depend on --enable-shared.
419         ($(lib1asmfuncs-o)): Use %.vis files independent of
420         --enable-shared.
421         * static-object.mk ($(base)$(objext), $(base).vis)
422         ($(base)_s$(objext)): Use same rules for visibility handling as in
423         shared-object.mk.
425 2012-08-21  Ian Lance Taylor  <iant@google.com>
427         * config/i386/morestack.S (__morestack_non_split): Increase amount
428         of space allocated for non-split code stack.
430 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
432         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
433         even if inhibit_libc.
435 2012-08-17  Julian Brown  <julian@codesourcery.com>
437         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
438         -fexceptions -fnon-call-exceptions if not defined.
439         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
440         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
442 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
444         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
445         type.
447 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
449         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
450         rs6000/t-slibgcc-aix.
452 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
454         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
456 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
458         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
460 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
462         PR driver/54171
463         * Makefile.in (version): Replace top_srcdir with srcdir.
465 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
467         * Makefile.in (version): set to BASE-VER file from gcc directory.
469 2012-08-01  Nick Clifton  <nickc@redhat.com>
471         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
472         Implements __clrsb for an HImode argument.
474 2012-07-31  Nick Clifton  <nickc@redhat.com>
476         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
477         Implements __clrsb for an HImode argument.
478         * config/stormy16/clrsbhi2.c: New file:
479         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
481 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
483         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
485 2012-07-19  Tristan Gingold  <gingold@adacore.com>
486             Richard Henderson  <rth@redhat.com>
488         * unwind-seh.c: New file.
489         * unwind-generic.h: Include windows.h for SEH.
490         (_Unwind_Exception): Use 6 private fields for SEH.
491         (_GCC_specific_handler): Declare.
492         * unwind-c.c (__gcc_personality_seh0): New function.
493         Adjust for SEH.
494         * config/i386/libgcc-cygming.ver: New file.
495         * config/i386/t-seh-eh: New file.
496         * config.host (x86_64-*-mingw*): Default to seh.
498 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
500         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
502 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
504         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
505         __builtin_expect when checking for exceptions.
506         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
508 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
510         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
511         function declaration.
512         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
513         (FP_RND_MASK): New.
514         * config/ia64/sfp-exceptions.c: New.
515         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
517 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
519         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
520         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
521         * config/i386/64/sfp-machine: ... (delete here) ...
522         * config/i386/sfp-machine.h: ... to here.
523         (FP_EX_MASK): Remove.
524         (FP_RND_MASK): New.
525         (FP_INIT_ROUNDMODE): Declare asm as volatile.
527 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
529         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
530         * config/i386/libgcc-sol2.ver: Ditto.
531         * config/i386/libgcc-glibc.ver: Ditto.
533 2012-06-11  Roland McGrath  <mcgrathr@google.com>
535         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
536         If __GLIBC__ is defined, refer to __pthread_key_create instead of
537         pthread_cancel.
539 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
541         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
542         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
543         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
544         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
545         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
546         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
547         * config/i386/64/sfp-machine: ... (delete here) ...
548         * config/i386/sfp-machine.h: ... to here.
549         (FP_EX_MASK): New.
550         (__sfp_handle_exceptions): New function declaration.
551         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
552         * config/i386/sfp-exceptions.c: New.
553         * config/i386/t-softfp: New.
554         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
555         i386/t-softfp to tmake_file.
557 2012-06-03  David S. Miller  <davem@davemloft.net>
559         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
560         change.
562 2012-05-31  David S. Miller  <davem@davemloft.net>
564         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
565         multiply and divide instructions on 32-bit when V9.
566         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
568 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
570         * config/arm/ieee754-df.S: Fix typos.
571         * config/arm/ieee754-sf.S: Fix typos.
572         * config/c6x/libunwind.S: Fix typos.
573         * config/epiphany/udivsi3-float.c: Fix typos.
574         * config/microblaze/muldi3_hard.S: Fix typos.
575         * config/picochip/adddi3.S: Fix typos.
576         * config/picochip/ashlsi3.S: Fix typos.
577         * config/picochip/ashrsi3.S: Fix typos.
578         * config/picochip/clzsi2.S: Fix typos.
579         * config/picochip/cmpsi2.S: Fix typos.
580         * config/picochip/divmod15.S: Fix typos.
581         * config/picochip/divmodhi4.S: Fix typos.
582         * config/picochip/divmodsi4.S: Fix typos.
583         * config/picochip/longjmp.S: Fix typos.
584         * config/picochip/lshrsi3.S: Fix typos.
585         * config/picochip/parityhi2.S: Fix typos.
586         * config/picochip/popcounthi2.S: Fix typos.
587         * config/picochip/setjmp.S: Fix typos.
588         * config/picochip/subdi3.S: Fix typos.
589         * config/picochip/ucmpsi2.S: Fix typos.
590         * config/picochip/udivmodhi4.S: Fix typos.
591         * config/picochip/udivmodsi4.S: Fix typos.
592         * config/spu/divv2df3.c: Fix typos.
593         * config/spu/mfc_multi_tag_release.c: Fix typos.
594         * config/spu/mfc_tag_release.c: Fix typos.
595         * configure.ac: Fix typos.
596         * configure: Regenerate.
598 2012-05-25  Ian Lance Taylor  <iant@google.com>
600         * config/i386/morestack.S (__morestack_non_split): Check whether
601         caller is varargs and needs %bp to hold the stack frame on return.
603 2012-05-25  Olivier Hainque  <hainque@adacore.com>
605         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
606         sequence in the non pic case on VxWorks.
608 2012-05-24  Olivier Hainque  <hainque@adacore.com>
610         * Makefile.in: Move dependency on install-unwind_h from
611         "install-leaf" to "install".
613 2012-05-24  Olivier Hainque  <hainque@adacore.com>
615         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
616         Use a separate command for stamp removals.
618 2012-05-21  Andrew Pinski  <apinski@cavium.com>
620         PR bootstrap/53183
621         * configure.ac: Define the default includes to being none.
622         * configure: Regenerate.
624 2012-05-16  Olivier Hainque  <hainque@adacore.com>
626         * Makefile.in (install-unwind_h): Rename into ...
627         (install-unwind_h-forbuild): New target.
628         (all): Use it instead of the former install-unwind_h.
629         (install-unwind_h): Reinstate, copy to user install destination
630         for include files, not to the internal gcc object directory one.
631         (install-leaf): Depend on it.
633 2012-05-15  Olivier Hainque  <hainque@adacore.com>
635         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
636         register numbers. LR_REGNO replaces R_LR.
637         (ucontext_for): New, helper for ...
638         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
639         and 5.3 of ...
640         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
642 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
644         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
645         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
646         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
647         i386/t-cpuinfo ...
648         (i[34567]86-*-*, x86_64-*-*): ... here.
650         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
651         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
653         * config/i386/i386-cpuinfo.c: Rename to ...
654         * config/i386/cpuinfo.c: ... this.
655         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
657         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
658         (libgcc_cv_init_priority): New test.
659         * configure: Regenerate.
660         * config.in: New file.
661         * Makefile.in (clean): Rename config.h to auto-target.h.
662         (config.h): Likewise.
663         (stamp-h): Likewise.
665         * config/i386/cpuinfo.c (auto-target.h): Include.
666         (CONSTRUCTOR_PRIORITY): Define.
667         (__cpu_indicator_init): Use it.
669 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
671         * longlong.h: Use a URL instead of an FSF postal address.
672         Replace spaces with tab.
674 2012-05-08  Teresa Johnson  <tejohnson@google.com>
676         * libgcov.c (gcov_clear, __gcov_reset): New functions.
677         (__gcov_dump): Ditto.
678         (gcov_dump_complete): New global variable.
679         (gcov_exit): Export hidden to enable use in L_gcov_dump.
680         (__gcov_flush): Outline functionality now in gcov_clear.
681         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
683 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
685         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
686         (mips*-*-linux*): Include mips/t-tpbit when long double is
687         16 bytes long.
689 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
691         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
692         (get_available_features): New argument. Check for AVX2.
693         (__cpu_indicator_init): Modify call to get_available_features.
695 2012-04-25  Alan Modra  <amodra@gmail.com>
697         * config/rs6000/crtsavevr.S: New file.
698         * config/rs6000/crtrestvr.S: New file.
699         * config/rs6000/t-savresfgpr: Build the above.
700         * config/rs6000/t-netbsd: Likewise.
702 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
704         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
706 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
708         * libgcc/config/i386/i386-cpuinfo.c: New file.
709         * libgcc/config/i386/t-cpuinfo: New file.
710         * libgcc/config.host: Include t-cpuinfo.
711         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
713 2012-04-24  Chao-ying Fu  <fu@mips.com>
715         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
717 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
719         struct siginfo vs. siginfo_t
721         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
722         siginfo_t instead of struct siginfo.
723         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
724         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
725         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
726         (ia64_handle_unwabi): Likewise.
727         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
728         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
729         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
730         (sh_fallback_frame_state): Likewise.
731         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
732         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
734 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
736         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
737         system call number.
739 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
741         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
742         if it hasn't been previously saved.
744 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
746         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
747         only for glibc.
749 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
751         PR target/52737
752         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
753         instead of __AVR_HAVE_8BIT_SP__.
755 2012-03-26  Tristan Gingold  <gingold@adacore.com>
757         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
758         (unw_table_entry): Use unw_word instead of unsigned long.
759         (_Unwind_FindTableEntry): Likewise.
760         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
761         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
762         (_Unwind_FindTableEntry): Likewise.
763         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
764         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
765         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
766         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
767         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
768         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
769         (uw_init_context_1, uw_install_context): Likewise.
770         (unw_word): Move to unwind-ia64.h
772 2012-03-26  Tristan Gingold  <gingold@adacore.com>
774         * config/vms/vms-ucrt0.c: Update copyright years.
775         Add a sanity check.
776         (___gcc_main_flags): Declare.
777         (__main): Check flags to remap argv and exit code.
778         * config.host (*-*-*vms*): Adjust extra_parts.
779         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
780         (crt0.o): Add.
782 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
784         * arm/lib1funcs.asm (ctzsi2): New function.
785         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
786         * arm/t-linux (LIB1ASMFUNCS): Likewise.
787         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
788         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
789         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
790         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
792 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
794         * config.host: Add bits to support powerpc64-*-freebsd*.
795         * config/rs6000/freebsd-unwind.h: New file.
796         * config/rs6000/t-freebsd64: New file.
798 2012-03-20  Richard Guenther  <rguenther@suse.de>
800         PR gcov-profile/52627
801         * libgcov.c (init_mx): Fix mutex name.
803 2012-03-16  Tristan Gingold  <gingold@adacore.com>
805         * config/ia64/vms-unwind.h: Remove ulong (and replace
806         it by unw_reg where used).  Define unw_reg with __int64.
808 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
810         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
811         Solaris 8 handling.
812         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
813         Solaris 8 handling.
814         (sparc_is_sighandler): Likewise.
816 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
818         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
819         <= saved reg size.
821 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
823         * config/arm/crtn.S: Fix typo.
825 2012-03-13  Richard Guenther  <rguenther@suse.de>
827         * libgcov.c: Remove stdio.h include and NULL un-define.
829 2012-03-13  Richard Guenther  <rguenther@suse.de>
831         PR target/52569
832         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
834 2012-03-13  Richard Guenther  <rguenther@suse.de>
836         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
838 2012-03-13  Richard Guenther  <rguenther@suse.de>
840         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
841         and __gthread_mutex_init_function definitions.
843 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
845         * config.host (mips*-*-openbsd*): Remove.
847 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
849         * config.host: Remove alpha*-dec-osf5.1* handling.
850         * config/alpha/gthr-posix.c: Remove.
851         * config/alpha/libgcc-osf5.ver: Remove.
852         * config/alpha/osf5-unwind.h: Remove.
853         * config/alpha/t-osf-pthread: Remove.
854         * config/alpha/t-slibgcc-osf: Remove.
855         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
856         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
857         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
858         * mkmap-flat.awk: Remove osf_export handling.
860 2012-03-12  Richard Guenther  <rguenther@suse.de>
862         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
863         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
864         (__gthread_mutex_init_function): New function.
865         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
867         PR gcov/49484
868         * libgcov.c: Include gthr.h.
869         (__gcov_flush_mx): New global variable.
870         (init_mx, init_mx_once): New functions.
871         (__gcov_flush): Protect self with a mutex.
872         (__gcov_fork): Re-initialize mutex after forking.
873         * unwind-dw2-fde.c: Change condition under which to use
874         __GTHREAD_MUTEX_INIT_FUNCTION.
876 2012-03-12  Tristan Gingold  <gingold@adacore.com>
878         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
879         * config/ia64/t-vms: Likewise.
881 2012-03-11  Michael Hope  <michael.hope@linaro.org>
883         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
884         for Thumb-2.
886 2012-03-07  Walter Lee  <walt@tilera.com>
888         * config/tilepro/atomic.c: Rename "atomic_" prefix to
889         "arch_atomic_".
890         (atomic_xor): Rename and move definition to
891         config/tilepro/atomic.h.
892         (atomic_nand): Ditto.
893         * config/tilepro/atomic.h: Rename "atomic_" prefix to
894         "arch_atomic_".
895         (arch_atomic_xor): Move from config/tilepro/atomic.c.
896         (arch_atomic_nand): Ditto.
898 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
900         PR target/52507
901         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
903 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
905         PR target/52505
906         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
907         from RAM.
909 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
911         PR target/52461
912         PR target/52508
913         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
914         if RAMPZ affects reading from RAM.
915         (__tablejump_elpm__): Ditto.
916         (.xload): Ditto.
917         (__movmemx_hi): Ditto.
918         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
919         (__do_global_dtors): Ditto.
920         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
921         (__movmemx_hi): Ditto.
923 2012-03-05  Richard Henderson  <rth@redhat.com>
925         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
926         [ARM] (count_trailing_zeros): Use the builtin.
928 2012-03-01  Kai Tietz  <ktietz@redhat.com>
930         * soft-fp: Imported from glibc upstream.
932 2012-02-28  Kai Tietz  <ktietz@redhat.com>
934         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
935         for mingw-targets as attribute gcc_struct.
937 2012-02-28  Ian Lance Taylor  <iant@google.com>
939         * generic-morestack.c (__splitstack_releasecontext): Correct call
940         to __morestack_release_segments.
942 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
944         PR target/52390
945         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
946         for __linux__ when removing signals from __morestack_fullmask.
948 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
950         PR target/52261
951         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
953 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
955         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
956         instead of HAVE_INITFINI_ARRAY.
957         * config/ia64/crtend.S: Likewise.
959 2012-02-20  Kai Tietz  <ktietz@redhat.com>
961         PR libstdc++/52300
962         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
964         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
965         to w32-unwind.h header.
967 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
969         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
970         (mips*-*-linux*): Remove t-slibgcc-libgcc.
971         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
972         * config/mips/mips16.S (__mips16_rdhwr): Delete.
974 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
976         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
978 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
980         PR libitm/52220
981         * config/darwin-crt-tm.c: Correct typo.
983 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
984             Patrick Marlier  <patrick.marlier@gmail.com>
986         PR libitm/52220
987         * config/darwin-crt-tm.c: Generate dummy functions.
989 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
990             Patrick Marlier  <patrick.marlier@gmail.com>
992         PR libitm/52042
993         * config/darwin-crt-tm.c (getTMCloneTable): New function.
994         (__doTMRegistrations): Call it.
995         (__doTMdeRegistrations): Likewise.
997 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
998             Anatoly Sokolov <aesok@post.ru>
999             Eric Weddington <eric.weddington@atmel.com>
1001         PR target/52261
1002         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1003         (__epilogue_restores__): Ditto.
1005 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1007         PR target/51921
1008         PR target/52205
1009         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1010         Solaris 11 and slightly reformat.
1011         (sparc_is_sighandler): Likewise.
1013 2012-02-14  Walter Lee  <walt@tilera.com>
1015         * config.host: Handle tilegx and tilepro.
1016         * config/tilegx/sfp-machine.h: New file.
1017         * config/tilegx/sfp-machine32.h: New file.
1018         * config/tilegx/sfp-machine64.h: New file.
1019         * config/tilegx/t-crtstuff: New file.
1020         * config/tilegx/t-softfp: New file.
1021         * config/tilegx/t-tilegx: New file.
1022         * config/tilepro/atomic.c: New file.
1023         * config/tilepro/atomic.h: New file.
1024         * config/tilepro/linux-unwind.h: New file.
1025         * config/tilepro/sfp-machine.h: New file.
1026         * config/tilepro/softdivide.c: New file.
1027         * config/tilepro/softmpy.S: New file.
1028         * config/tilepro/t-crtstuff: New file.
1029         * config/tilepro/t-tilepro: New file.
1031 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1033         PR libstdc++/51296
1034         PR libstdc++/51906
1035         * gthr-posix.h: Allow static initializer macros to be disabled.
1036         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1038 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1040         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1041         Add t-slibgcc-libgcc to tmake_file.
1042         * config/mips/libgcc-mips16.ver: Revert previous patch.
1043         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1045 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1046             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1048         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1049         * config/cr16/crti.S: New file.
1050         * config/cr16/crtlibid.S: New file.
1051         * config/cr16/crtn.S: New file.
1052         * config/cr16/lib1funcs.S: New file.
1053         * config/cr16/t-cr16: New file.
1054         * config/cr16/t-crtlibid: New file.
1055         * config/cr16/unwind-dw2.h: New file.
1056         * config/cr16/unwind-cr16.c: New file.
1057         * config/cr16/divmodhi3.c: New file.
1059 2012-01-25  Alan Modra  <amodra@gmail.com>
1061         * config/rs6000/t-linux64: Delete.  Move..
1062         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1063         * config/rs6000/t-linux: ..and libgcc flags to here.
1065 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1067         * config.host (i[34567]86-*-interix3*):
1068         Change triplet to i[34567]86-*-interix[3-9]*.
1069         * configure: Regenerate.
1071 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1072             Richard Sandiford  <rdsandiford@googlemail.com>
1074         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1075         * config/mips/mips16.S (__mips16_rdhwr): New function.
1076         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1078 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1080         * libgcov.c (__gcov_init): Ignore objects with no functions.
1082 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1084         PR target/49868
1085         Extend __pgmx semantics to linearize memory.
1086         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1087         * config/avr/lib1funcs.S (__xload_1): New function.
1088         (__movmemx_qi, __movmemx_hi): New functions.
1089         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1090         semantics.
1092 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1094         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1095         purported sigacthandler address isn't null before dereferencing it.
1096         (sparc_is_sighandler): Likewise.
1098 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1100         PR ada/41929
1101         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1102         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1103         (sparc_is_sighandler): Likewise.
1104         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1106 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1108         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1109         compatibility thunks...
1110         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1111         (crtbeginS.o, crtendS.o): ... and these to ...
1112         * config/ia64/t-ia64-elf: ... this new file.
1113         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1114         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1116 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1118         * configure: Regenerate.
1119         * config/s390/t-crtstuff: Remove -fPIC.
1121 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1123         PR bootstrap/51006
1124         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1125         for NetBSD.
1127 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1129         PR target/51345
1130         * config/avr/lib1funcs.S: Remove FIXME comments.
1131         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1133 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1135         Implement light-weight DImode support.
1136         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1137         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1138         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1139         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1141 2011-12-30  Nathan Sidwell  <nathan@acm.org>
1143         * libgcov.c (gcov_crc32): Remove global var.
1144         (free_fn_data): New function.
1145         (buffer_fn_data): Pass in filename, more robust error recovery.
1146         (crc32_unsigned): New function.
1147         (gcov_exit): More robust detection of new program. More robust
1148         error recovery.
1149         (__gcov_init): Do not update program's crc here.
1151 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1153         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1155 2011-12-21  Ian Lance Taylor  <iant@google.com>
1157         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1159 2011-12-20  Ian Lance Taylor  <iant@google.com>
1161         * config/i386/morestack.S (__morestack_non_split): If there is
1162         enough stack space already, don't split.  Ask for more stack space
1163         than we required.
1165 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1167         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1168         `sys/sdt.h'.
1169         (_Unwind_DebugHook): New function.
1170         (uw_restore_core_regs): New define.
1171         (unwind_phase2): Use uw_restore_core_regs instead of
1172         restore_core_regs.
1173         (unwind_phase2_forced): Likewise.
1174         (__gnu_Unwind_Resume): Likewise.
1176 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1178         * config/alpha/linux-unwind.h: Update copyright years.
1179         (MD_FROB_UPDATE_CONTEXT): New define.
1180         (alpha_frob_update_context): New function.
1182 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1184         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1185         tmake_file rather replacing it.
1187 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1189         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1190         function is not used for PPC64.
1191         (save_world): Amend comments.  Update the VRsave mask to reflect the
1192         saved regs.
1193         (rest_world): Update comments, do not  clobber r10, do not use r8.
1194         (eh_rest_world_r10): Amend comments, do not use r8.
1195         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1196         no longer used, move restore of CR and target address to the end of
1197         the routine.
1199 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1201         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1202         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1204 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1206         PR target/49313
1207         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1208         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1210 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
1212         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1214 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
1216         PR target/49313
1217         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1218         * config/avr/lib1funcs.S (__muldi3): New function.
1220 2011-12-06  Andrew Pinski  <apinski@cavium.com>
1222         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1223         size of func_ptr.
1224         (__frame_dummy_init_array_entry): Likewise.
1226 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
1228         Forward-port from gcc-4_6-branch r181936 2011-12-02.
1230         PR target/51345
1231         PR target/51002
1232         * config/avr/lib1funcs.S (__prologue_saves__,
1233         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1234         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
1236 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
1238         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1240 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1242         PR other/51272
1243         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1244         (_ITM_deregisterTMCloneTable): Likewise.
1245         (__register_frame_info): Fix unused warning.
1246         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1247         pthread_default_stacksize_np): Likewise.
1248         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1250 2011-11-29  DJ Delorie  <dj@redhat.com>
1252         * config.host (rl78-*-elf): New case.
1253         * config/rl78: New directory for the Renesas RL78.
1255 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
1257         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
1258         formatting.
1260 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1262         PR other/51022
1263         * config/rs6000/t-savresfgpr: New file.
1264         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1265         $(srcdir)/config/rs6000/eabi.S.
1266         * config/rs6000/t-ppccomm-ldbl: Remove.
1267         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1268         tmake_file.
1269         (powerpc-*-eabispe*): Likewise.
1270         (powerpc-*-eabi*): Likewise.
1271         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1272         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1273         to tmake_file, remove rs6000/t-ppccomm-ldbl.
1274         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1275         tmake_file.
1276         (powerpc-*-eabisim*): Likewise.
1277         (powerpc-*-elf*): Likewise.
1278         (powerpc-*-eabialtivec*): Likewise.
1279         (powerpc-xilinx-eabi*): Likewise.
1280         (powerpc-*-rtems*): Likewise.
1281         (powerpcle-*-elf*): Likewise.
1282         (powerpcle-*-eabisim*): Likewise.
1283         (powerpcle-*-eabi*): Likewise.
1285 2011-11-27  Ian Lance Taylor  <iant@google.com>
1287         * generic-morestack.c (__splitstack_find): Check for NULL old
1288         stack value.
1289         (__splitstack_resetcontext): New function.
1290         (__splitstack_releasecontext): New function.
1291         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1293 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1295         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1297 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1299         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1301 2011-11-26  Richard Henderson  <rth@redhat.com>
1303         * config/m68k/linux-atomic.c: New file.
1304         * config/m68k/t-linux: New file.
1305         * config.host (m68k-uclinux, m68k-linux): Use it.
1307 2011-11-26  Richard Henderson  <rth@redhat.com>
1309         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1310         (__TMC_END__): Only declare if hidden is available; in the definition,
1311         if hidden is unavailable add a null record.
1312         (deregister_tm_clones, register_tm_clones): New.
1313         (__do_global_dtors_aux, frame_dummy): Use them.
1314         (__do_global_dtors, __do_global_ctors_1): Likewise.
1316 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1318         * config/darwin-crt-tm.c: New file.
1319         * config.host (darwin): Build crttms.o crttme.o to provide
1320         startup and shutdown for tm clones.
1321         * config/t-darwin (crttms.o): New build rule.
1322         (crttme.o): Likewise.
1324 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1326         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1327         et al.
1329 2011-11-21  Richard Henderson  <rth@redhat.com>
1331         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1332         (__TMC_LIST__, __TMC_END__): New.
1333         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1334         (__do_global_dtors): Likewise.
1335         (frame_dummy): Call _ITM_registerTMCloneTable.
1336         (__do_global_ctors_1): Likewise.
1338 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1340         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1341         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1342         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1343         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1344         * config/i386/t-darwin64: Remove.
1345         * config/sh/t-netbsd (LIB2ADD): Remove.
1347 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1349         PR target/49313
1350         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1351         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1352         * config/avr/lib1funcs.S (wmov): New assembler macro.
1353         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1354         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1355         (__udivmod64): New function.
1356         (__negdi2): New function.
1358 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1360         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1361         *-*-freebsd*aout*): Remove.
1363 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1365         * static-object.mk (c_flags-$o): Save c_flags.
1366         ($(base)$(objext)): Use it.
1368 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1370         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1372 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1374         PR target/49868
1375         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1376         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1377         New functions.
1379 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1381         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1382         functions.
1383         (aeabi_uidivmod): Likewise.
1384         (umodsi3): Likewise.
1385         (divsi3): Likewise.
1386         (aeabi_idivmod): Likewise.
1387         (modsi3): Likewise.
1389 2011-11-16  Tristan Gingold  <gingold@adacore.com>
1391         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1393 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
1395         PR target/49868
1396         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
1397         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1399 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1401         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1402         tmake_file list.
1403         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1404         * config/pa/t-stublib64: Delete.
1406 2011-11-12  Richard Henderson  <rth@redhat.com>
1408         * config/rs6000/linux-unwind.h (frob_update_context): Properly
1409         cast the pointer argument to _Unwind_SetGRPtr.
1411 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1413         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1415 2011-11-09  Ian Lance Taylor  <iant@google.com>
1417         * generic-morestack.c: Include <string.h>.
1418         (uintptr_type): Define.
1419         (struct initial_sp): Add dont_block_signals field.  Reduce size of
1420         extra array by 1.
1421         (allocate_segment): Set prev field to NULL.  Don't set
1422         __morestack_current_segment or __morestack_segments.
1423         (__generic_morestack): Update current->prev and *pp after calling
1424         allocate_segment.
1425         (__morestack_block_signals): Don't do anything if
1426         dont_block_signals is set.
1427         (__morestack_unblock_signals): Likewise.
1428         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1429         uintptr_type.
1430         (__splitstack_block_signals): New function.
1431         (enum __splitstack_content_offsets): Define.
1432         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1433         (__splitstack_makecontext): New function.
1434         (__splitstack_block_signals_context): New function.
1435         (__splitstack_find_context): New function.
1436         * config/i386/morestack.S (__morestack_get_guard): New function.
1437         (__morestack_set_guard, __morestack_make_guard): New functions.
1438         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1440 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1442         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1443         (i[34567]86-*-mingw*): ... here.
1444         (x86_64-*-mingw*): ... here.
1446 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1448         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1450 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1452         * libgcov.c (struct gcov_fn_buffer): New struct.
1453         (buffer_fn_data): New helper.
1454         (gcov_exit): Rework for new gcov data structures.
1456 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1458         PR target/49313
1459         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1461 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1463         * config.host (tmake_file): Correct comment.
1464         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1465         t-libgcc-pic.
1466         (bfin*-uclinux*): Likewise.
1467         (bfin*-linux-uclibc*): Likewise.
1468         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1470         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1471         assigning.
1472         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1473         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1474         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1475         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1476         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1477         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1478         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1479         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1480         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1481         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1482         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1483         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1484         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1486         * config/bfin/t-elf: Remove.
1487         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1489 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1491         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1492         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1493         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1494         (lm32-*-elf*): ... this.
1495         (lm32-*-rtems*): ... and this.
1496         Add to tmake_file.
1497         (m32r-*-rtems*): Add to tmake_file.
1498         (moxie-*-rtems*): Likewise.
1499         (sparc-*-rtems*): Likewise.
1500         Remove t-rtems from tmake_file.
1501         (sparc64-*-rtems*): Likewise.
1502         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1503         instead.
1505 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1507         PR bootstrap/50982
1508         * config/gthr-posix.h: Move ...
1509         * gthr-posix.h: ... here.
1510         * config/gthr-lynx.h: Reflect this.
1511         * config/gthr-vxworks.h: Likewise.
1512         * config/rs6000/gthr-aix.h: Likewise.
1513         * configure.ac (target_thread_file): Likewise.
1514         * configure: Regenerate.
1516 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1518         * config.host (arm*-*-rtemseabi*): New target.
1520 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1522         PR other/50991
1523         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1524         extra-parts.
1526 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1528         * config.host (epiphany-*-elf*): New configuration.
1529         * config/epiphany: New Directory.
1531 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1533         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1534         * config/avr/t-rtems: New.
1535         Filter out _exit from LIB1ASMFUNCS.
1537 2011-11-04  David S. Miller  <davem@davemloft.net>
1539         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1540         * configure: Rebuild.
1542 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1544         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1545         variable.
1547 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1549         PR target/50931
1550         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1551         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1553 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1555         PR target/50989
1556         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1558 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1560         * config/c6x/t-elf (LIB2ADDEH): Set.
1561         * config/c6x/t-c6x-elf: Remove.
1563 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1565         * config/i386/sol2-ci.S: Rename to ...
1566         * config/i386/crti.S: ... this.
1567         * config/i386/sol2-cn.S: Rename to ...
1568         * config/i386/crtn.S: ... this.
1569         * config/sparc/sol2-ci.S: Rename to ...
1570         * config/sparc/crti.S: ... this.
1571         * config/sparc/sol2-cn.S: Rename to ...
1572         * config/sparc/crtn.S: ... this.
1573         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1574         (crti.o, crtn.o): Remove.
1576 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1578         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1580 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1582         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1584 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1586         * config.host (crisv32-*-none, cris-*-none): Remove.
1587         (crisv32-*-elf): Append to tmake_file, don't just set it.
1588         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1590 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1592         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1593         (ecrtn$(objext)): Likewise.
1594         (ncrti$(objext)): Likewise.
1595         (ncrtn$(objext)): Likewise.
1597 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1599         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1601 2011-11-02  David S. Miller  <davem@davemloft.net>
1603         * configure.ac: Set host_address on sparc too.
1604         * configure: Regenerate.
1605         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1606         based upon host_address.
1607         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1609 2011-11-02  Jason Merrill  <jason@redhat.com>
1611         * config/rs6000/t-ppccomm: Add missing \.
1613 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1615         * gthr-single.h, gthr.h: New files.
1616         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1617         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1618         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1619         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1620         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1621         * configure.ac (thread_header): New variable.
1622         Set it depending on target_thread_file.
1623         (gthr-default.h): Link from $thread_header.
1624         * configure: Regenerate.
1625         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1627 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1629         * configure.ac (tm_file_): New variable.
1630         Determine from tm_file.
1631         (tm_file, tm_defines): Substitute.
1632         * configure: Regenerate.
1633         * mkheader.sh: New file.
1634         * Makefile.in (clean): Remove libgcc_tm.h.
1635         ($(objects)): Depend on libgcc_tm.h.
1636         (libgcc_tm_defines, libgcc_tm_file): New variables.
1637         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1638         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1639         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1640         ($(extra-parts)): Depend on libgcc_tm.h.
1641         * config.host (tm_defines, tm_file): New variable.
1642         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1643         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1644         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1645         (avr-*-rtems*): Likewise.
1646         (avr-*-*): Likewise.
1647         (frv-*-elf): Likewise.
1648         (frv-*-*linux*): Likewise.
1649         (h8300-*-rtems*): Likewise.
1650         (h8300-*-elf*): Likewise.
1651         (i[34567]86-*-darwin*): Likewise.
1652         (x86_64-*-darwin*): Likewise.
1653         (rx-*-elf): Likewise.
1654         (tic6x-*-uclinux): Likewise.
1655         (tic6x-*-elf): Likewise.
1656         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1657         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1658         * config/i386/cygming-crtbegin.c: Likewise.
1659         * config/i386/cygming-crtend.c: Likewise.
1660         * config/ia64/fde-vms.c: Likewise.
1661         * config/ia64/unwind-ia64.c: Likewise.
1662         * config/libbid/bid_gcc_intrinsics.h: Likewise.
1663         * config/rs6000/darwin-fallback.c: Likewise.
1664         * config/stormy16/lib2funcs.c: Likewise.
1665         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1666         * crtstuff.c: Likewise.
1667         * dfp-bit.h: Likewise.
1668         * emutls.c: Likewise.
1669         * fixed-bit.c: Likewise.
1670         * fp-bit.c: Likewise.
1671         * generic-morestack-thread.c: Likewise.
1672         * generic-morestack.c: Likewise.
1673         * libgcc2.c: Likewise.
1674         * libgcov.c: Likewise.
1675         * unwind-dw2-fde-dip.c: Likewise.
1676         * unwind-dw2-fde.c: Likewise.
1677         * unwind-dw2.c: Likewise.
1678         * unwind-sjlj.c: Likewise.
1680 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1682         * configure.ac: Include ../config/picflag.m4.
1683         (GCC_PICFLAG): Call it.
1684         Substitute.
1685         * configure: Regenerate.
1686         * Makefile.in (gcc_srcdir): Remove.
1687         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1688         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1689         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1690         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1691         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1692         Use $<.
1693         Remove comment.
1694         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1695         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1696         to refer to libgcc2.c.
1697         Use $<.
1698         * config/darwin-64.c: New file.
1699         * config/darwin-crt3.c: Remove comment.
1700         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1701         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1702         config/udivmodsi4.c: New files.
1703         * config/memcmp.c, config/memcpy.c, config/memmove.c,
1704         config/memset.c: New files.
1705         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1706         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1707         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1708         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1709         * config/t-openbsd-thread: New file.
1710         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1711         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1712         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1713         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1714         qrnnd.S.
1715         Adapt filename.
1716         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1717         to refer to gthr-posix.c.
1718         * config/alpha/t-vms (LIB2ADD): Set.
1719         * config/alpha/vms-gcc_shell_handler.c: New file.
1720         * config/arm/bpabi.c, config/arm/fp16.c,
1721         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1722         config/arm/unaligned-funcs.c: New files.
1723         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1724         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1725         * config/arm/t-linux: Likewise.
1726         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1727         * config/arm/t-netbsd: New file.
1728         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1729         * config/arm/t-symbian (LIB2ADD_ST): Set.
1730         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1731         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1732         * config/bfin/t-elf: New file.
1733         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1734         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1735         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1736         config/c6x/ltf.c: New files.
1737         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1738         (HOST_LIBGCC2_CFLAGS): Set.
1739         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1740         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1741         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1742         New files.
1743         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1744         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1745         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1746         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1747         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1748         files.
1749         * config/frv/t-frv (LIB2ADD): Set.
1750         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1751         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1752         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1753         config/h8300/popcounthi2.c: New files.
1754         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1755         * config/i386/gthr-win32.c: New file.
1756         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1757         * config/i386/t-cygwin: Likewise.
1758         * config/i386/t-darwin, config/i386/t-darwin64,
1759         config/i386/t-gthr-win32, config/i386/t-interix: New files.
1760         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1761         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1762         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1763         * config/ia64/quadlib.c: New file.
1764         * config/ia64/t-hpux (LIB2ADD): Set.
1765         * config/ia64/t-ia64: Add comment.
1766         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1767         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1768         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1769         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1770         * config/m32c/t-m32c (LIB2ADD): Set.
1771         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1772         * config/m32r/t-m32r: Likewise.
1773         * config/m68k/fpgnulib.c: New file.
1774         * config/m68k/t-floatlib (LIB2ADD): Set.
1775         (xfgnulib.c): New target.
1776         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1777         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1778         * config/mep/t-mep (LIB2ADD): Set.
1779         * config/microblaze/divsi3.asm: Rename to divsi3.S.
1780         * config/microblaze/moddi3.asm: Rename to moddi3.S.
1781         * config/microblaze/modsi3.asm: Rename to modsi3.S.
1782         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1783         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1784         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1785         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1786         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1787         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1788         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1789         New files.
1790         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1791         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1792         * config/pa/fptr.c, config/pa/lib2funcs.S,
1793         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1794         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1795         (LIB2ADD, LIB2ADD_ST): Set.
1796         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1797         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1798         Set.
1799         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1800         * config/pdp11/t-pdp11: New file.
1801         * config/picochip/libgccExtras/adddi3.S,
1802         config/picochip/libgccExtras/ashlsi3.S,
1803         config/picochip/libgccExtras/ashrsi3.S,
1804         config/picochip/libgccExtras/clzsi2.S,
1805         config/picochip/libgccExtras/cmpsi2.S,
1806         config/picochip/libgccExtras/divmod15.S,
1807         config/picochip/libgccExtras/divmodhi4.S,
1808         config/picochip/libgccExtras/divmodsi4.S,
1809         config/picochip/libgccExtras/lshrsi3.S,
1810         config/picochip/libgccExtras/parityhi2.S,
1811         config/picochip/libgccExtras/popcounthi2.S,
1812         config/picochip/libgccExtras/subdi3.S,
1813         config/picochip/libgccExtras/ucmpsi2.S,
1814         config/picochip/libgccExtras/udivmodhi4.S,
1815         config/picochip/libgccExtras/udivmodsi4.S: New files.
1816         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1817         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1818         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1819         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1820         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1821         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1822         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
1823         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1824         files.
1825         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1826         (HOST_LIBGCC2_CFLAGS): Set.
1827         * config/rs6000/t-darwin64: New file.
1828         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1829         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1830         * config/rs6000/t-ppccomm (LIB2ADD): Add
1831         $(srcdir)/config/rs6000/tramp.S.
1832         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1833         Add  $(srcdir)/config/rs6000/eabi.S.
1834         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1835         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1836         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1837         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1838         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1839         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1840         * config/rs6000/tramp.S: New file.
1841         * config/s390/t-tpf: Remove.
1842         * config/sh/linux-atomic.S: New file.
1843         * config/sh/t-linux (LIB2ADD): Set.
1844         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1845         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1846         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1847         to unwind-dw2.c.
1848         (HOST_LIBGCC2_CFLAGS): Set.
1849         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1850         * config/spu/divmodti4.c, config/spu/divv2df3.c,
1851         config/spu/float_disf.c, config/spu/float_unsdidf.c,
1852         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1853         config/spu/mfc_multi_tag_release.c,
1854         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1855         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1856         config/spu/multi3.c: New files.
1857         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1858         (HOST_LIBGCC2_CFLAGS): Set.
1859         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1860         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1861         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1862         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1863         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1864         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1865         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1866         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1867         config/stormy16/umodsi3.c: New files.
1868         * config/xtensa/lib2funcs.S: New file.
1869         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1870         * config/xtensa/t-xtensa (LIB2ADD): Set.
1871         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1872         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1873         Add t-freebsd-thread to tmake_file for posix threads.
1874         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1875         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1876         (*-*-lynxos*): Likewise.
1877         (*-*-netbsd*): Likewise.
1878         (*-*-openbsd*): Likewise.
1879         Add t-openbsd-thread to tmake_file for posix threads.
1880         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1881         (*-*-vxworks*): Set tmake_file.
1882         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1883         (alpha*-*-freebsd*): Likewise.
1884         (alpha*-*-netbsd*): Likewise.
1885         (alpha*-*-openbsd*): Likewise.
1886         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1887         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1888         (alpha*-dec-*vms*): Likewise.
1889         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1890         (bfin*-elf*): Add bfin/t-elf to tmake_file.
1891         (bfin*-uclinux*): Likewise.
1892         (bfin*-linux-uclibc*): Likewise.
1893         (crisv32-*-elf): Add cris/t-cris to tmake_file.
1894         (crisv32-*-none): Likewise.
1895         (cris-*-elf): Likewise.
1896         (cris-*-none): Likewise.
1897         (cris-*-linux*, crisv32-*-linux*): Likewise.
1898         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1899         tmake_file.
1900         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1901         tmake_file.
1902         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1903         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1904         (x86_64-*-elf*): Likewise.
1905         (i[34567]86-*-nto-qnx*): Likewise.
1906         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1907         win32 threads.
1908         (x86_64-*-mingw*): Likewise.
1909         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1910         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1911         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1912         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1913         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1914         tmake_file.
1915         (mipsisa64sr71k-*-elf*): Likewise.
1916         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1917         (mips-*-elf*, mipsel-*-elf*): Likewise.
1918         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1919         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1920         (mips*-*-rtems*): Likewise.
1921         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1922         to tmake_file.
1923         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1924         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1925         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1926         (spu-*-elf*): Likewise.
1927         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1929 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1931         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1932         $(srcdir) to refer to $(LIB1ASMSRC).
1933         Use $<.
1934         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1935         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1936         config/arm/lib1funcs.S: New files.
1937         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1938         * config/arm/t-arm: New file.
1939         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1940         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1941         config/arm/t-strongarm-elf: New files.
1942         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1943         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1944         * config/avr/lib1funcs.S: New file.
1945         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1946         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1947         * config/c6x/lib1funcs.S: New file.
1948         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1949         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1950         * config/frv/lib1funcs.S: New file.
1951         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1952         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1953         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1954         * config/ia64/__divxf3.asm: Rename to ...
1955         * config/ia64/__divxf3.S: ... this.
1956         Adapt lib1funcs.asm filename.
1957         * config/ia64/_fixtfdi.asm: Rename to ...
1958         * config/ia64/_fixtfdi.S: ... this.
1959         Adapt lib1funcs.asm filename.
1960         * config/ia64/_fixunstfdi.asm: Rename to ...
1961         * config/ia64/_fixunstfdi.S: ... this.
1962         Adapt lib1funcs.asm filename.
1963         * config/ia64/_floatditf.asm: Rename to ...
1964         * config/ia64/_floatditf.S: ... this.
1965         Adapt lib1funcs.asm filename.
1966         * config/ia64/lib1funcs.S: New file.
1967         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1968         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1969         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1970         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1971         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1972         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1973         * config/mep/lib1funcs.S: New file.
1974         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1975         * config/mips/mips16.S: New file.
1976         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1977         * config/pa/milli64.S: New file.
1978         * config/pa/t-linux, config/pa/t-linux64: New files.
1979         * config/picochip/lib1funcs.S: New file.
1980         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1981         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1982         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1983         * config/sh/t-netbsd: New file.
1984         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1985         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1986         * config/sh/t-sh64: New file.
1987         * config/sparc/lb1spc.S: New file.
1988         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1989         filename.
1990         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1991         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1992         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1993         config/xtensa/lib1funcs.S: New files.
1994         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1995         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1996         tmake_file.
1997         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1998         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1999         (arm*-*-linux*): Likewise.
2000         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2001         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2002         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2003         (arm*-*-ecos-elf): Likewise.
2004         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2005         (arm*-*-rtems*): Likewise.
2006         (arm*-*-elf): Likewise.
2007         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2008         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2009         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2010         (bfin*-uclinux*): Likewise.
2011         (bfin*-linux-uclibc*): Likewise.
2012         (bfin*-rtems*): Likewise.
2013         (bfin*-*): Likewise.
2014         (fido-*-elf): Merge into m68k-*-elf*.
2015         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2016         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2017         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2018         (h8300-*-elf*): Likewise.
2019         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2020         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2021         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2022         (i[34567]86-*-mingw*): Likewise.
2023         (x86_64-*-mingw*): Likewise.
2024         (i[34567]86-*-interix3*): Likewise.
2025         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2026         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2027         (m68k-*-elf*): Also handle fido-*-elf.
2028         Add m68k/t-floatlib to tmake_file.
2029         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2030         (m68k-*-linux*): Likewise.
2031         (m68k-*-rtems*): Likewise.
2032         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2033         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2034         sh64*-*-*.
2035         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2036         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2037         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2038         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2039         sh/t-netbsd to tmake_file.
2040         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2041         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2042         (sh-wrs-vxworks): Likewise.
2043         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2044         *-leon[3-9]*.
2045         (v850*-*-*): Add v850/t-v850 to tmake_file.
2046         (vax-*-linux*): Add vax/t-linux to tmake_file.
2047         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2049 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2051         * crtstuff.c: New file.
2052         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2053         (CRTSTUFF_T_CFLAGS): Define.
2054         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2055         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2056         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2057         crtstuff.c.
2058         Use $<.
2059         (crtbeginT.o): Use $(objext).
2060         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2061         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2062         (gcc-extra-parts): Remove.
2063         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2064         Set extra_parts.
2065         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2066         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2067         Add t-crtstuff-pic to tmake_file.
2068         (*-*-lynxos*): New case.
2069         Set tmake_file, extra_parts.
2070         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2071         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2072         *-*-netbsdelf[2-9]*.
2073         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2074         (*-*-rtems*): Set extra_parts.
2075         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2076         (*-*-uclinux*): New case.
2077         Set extra_parts.
2078         (*-*-vms*): New case.
2079         Set tmake_file, extra_parts.
2080         (*-*-elf): Set extra_parts.
2081         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2082         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2083         vms/t-vms64.
2084         Set extra_parts.
2085         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2086         Set extra_parts.
2087         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2088         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2089         (arm-wrs-vxworks): Append to tmake_file.
2090         Set extra_parts.
2091         (arm*-*-uclinux*): Set extra_parts.
2092         (arm*-*-ecos-elf): Likewise.
2093         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2094         arm*-*-eabi*.
2095         (arm*-*-rtems*): Set extra_parts.
2096         (arm*-*-elf): Likewise.
2097         (avr-*-rtems*): Clear extra_parts.
2098         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2099         Set extra_parts.
2100         (bfin*-uclinux*): Likewise.
2101         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2102         (bfin*-rtems*): Append to tmake_file.
2103         Set extra_parts.
2104         (bfin*-*): Likewise.
2105         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2106         (crisv32-*-elf): ... this.
2107         (crisv32-*-none): ... this.
2108         (cris-*-elf, cris-*-none): New cases.
2109         Add cris/t-elfmulti to tmake_file.
2110         (fr30-*-elf): Append to tmake_file.
2111         Set extra_parts.
2112         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2113         Set extra_parts.
2114         (h8300-*-rtems*): Append to tmake_file.
2115         Set extra_parts.
2116         (h8300-*-elf*): Likewise.
2117         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2118         Set extra_parts.
2119         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2120         Set extra_parts.
2121         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2122         (x86_64-*-elf*): Likewise.
2123         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2124         (x86_64-*-freebsd*): Likewise.
2125         (x86_64-*-netbsd*): Likewise.
2126         (i[34567]86-*-linux*): Likewise.
2127         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2128         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2129         (x86_64-*-linux*): Likewise.
2130         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2131         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2132         tmake_file.
2133         Set extra_parts.
2134         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2135         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2136         Append to extra_parts, remove crtbegin.o, crtend.o.
2137         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2138         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2139         crtend.o, crtbeginS.o, crtendS.o.
2140         (ia64*-*-linux*): Comment extra_parts.
2141         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2142         Set extra_parts.
2143         (iq2000*-*-elf*): Clear extra_parts.
2144         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2145         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2146         (m32r-*-elf*, m32r-*-rtems*): Split off ...
2147         (m32r-*-rtems*): ... this.
2148         Add m32r/t-m32r to tmake_file.
2149         (m68k-*-elf*): Add t-crtin to tmake_file.
2150         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2151         (mcore-*-elf): Likewise.
2152         (microblaze*-*-*): Set extra_parts.
2153         (mips*-sde-elf*): New case.
2154         Set tmake_file, extra_parts.
2155         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2156         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2157         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2158         tmake_file.
2159         Set extra_parts.
2160         (mipsisa64sr71k-*-elf*): Likewise.
2161         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2162         (mips-*-elf*, mipsel-*-elf*): Likewise.
2163         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2164         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2165         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2166         (mips*-*-rtems*): Likewise.
2167         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2168         (moxie-*-*): Split into ...
2169         (moxie-*-elf, moxie-*-uclinux*): ... this.
2170         Add to extra_parts, remove crtbegin.o, crtend.o.
2171         (moxie-*-rtems*): New case.
2172         Set tmake_file.
2173         Clear extra_parts.
2174         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2175         Set extra_parts.
2176         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2177         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2178         tmake_file.
2179         Set extra_parts.
2180         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2181         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2182         Set extra_parts.
2183         (powerpc-*-eabisim*): Likewise.
2184         (powerpc-*-elf*): Likewise.
2185         (powerpc-*-eabialtivec*): Likewise.
2186         (powerpc-xilinx-eabi*): Likewise.
2187         (powerpc-*-eabi*): Likewise.
2188         (powerpc-*-rtems*): Likewise.
2189         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2190         tmake_file.
2191         Set extra_parts.
2192         (powerpc-*-lynxos*): Add to tmake_file.
2193         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2194         rs6000/t-crtstuff, t-crtstuff-pic.
2195         Set extra_parts.
2196         (powerpcle-*-eabisim*): Likewise.
2197         (powerpcle-*-eabi*): Likewise.
2198         (rx-*-elf): Remove extra_parts.
2199         (s390x-ibm-tpf*): Set extra_parts.
2200         (score-*-elf): Set extra_parts.
2201         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2202         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2203         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2204         (sh64l*-*-netbsd*): Split into ...
2205         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2206         Add t-crtstuff-pic to tmake_file.
2207         Set extra_parts.
2208         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2209         Set extra_parts.
2210         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2211         (sparc-*-elf*): Remove t-crtin from tmake_file.
2212         Add to extra_parts, remove crtbegin.o, crtend.o.
2213         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2214         (sparc64-*-linux*): Likewise.
2215         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2216         Add to extra_parts, remove crtbegin.o, crtend.o.
2217         (sparc64-*-elf*): Remove t-crtin from tmake_file.
2218         Add to extra_parts, remove crtbegin.o, crtend.o.
2219         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2220         Add to extra_parts, remove crtbegin.o, crtend.o.
2221         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2222         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2223         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2224         Set extra_parts.
2225         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2226         Set extra_parts.
2227         (tic6x-*-*): Change to ...
2228         (tic6x-*-elf): ... this.
2229         Set extra_parts.
2230         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2231         Set extra_parts.
2232         (am33_2.0-*-linux*): Add comment.
2233         (mep*-*-*): Add mep/t-mep to tmake_file.
2234         Set extra_parts.
2235         * config/alpha/t-vms: New file.
2236         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2237         * config/arm/crti.S, config/arm/crtn.S: New files.
2238         * config/bfin/crti.S, config/bfin/crtn.S: New files.
2239         * config/bfin/crtlibid.S: New file.
2240         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2241         * config/c6x/crti.S, config/c6x/crtn.S: New files.
2242         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2243         (crti.o, crtin.o): New rules.
2244         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2245         * config/c6x/t-uclinux: New file.
2246         * config/cris/t-elfmulti: New file.
2247         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2248         * config/fr30/crti.S, config/fr30/crtn.S: New files.
2249         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2250         * config/frv/t-frv: New file.
2251         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2252         * config/h8300/crti.S, config/h8300/crtn.S: New files.
2253         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2254         New files.
2255         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2256         refer to cygming-crtbegin.c, cygming-crtend.c.
2257         Use $<.
2258         * config/i386/t-nto: New file.
2259         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2260         * config/ia64/crti.S, config/ia64/crtn.S: New files.
2261         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2262         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2263         Use .S extension.
2264         Use $<.
2265         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2266         (crtinitS.o): New rule.
2267         * config/ia64/vms-crtinit.S: New file.
2268         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2269         * config/m32r/initfini.c: New file.
2270         * config/m32r/t-linux, config/m32r/t-m32r: New files.
2271         * config/m68k/crti.S, config/m68k/crtn.S: New files.
2272         * config/mcore/crti.S, config/mcore/crtn.S: New files.
2273         * config/mep/t-mep: New file.
2274         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2275         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2276         * config/mips/crti.S, config/mips/crtn.S: New files.
2277         * config/mips/t-crtstuff: New file.
2278         * config/mmix/crti.S, config/mmix/crtn.S: New files.
2279         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2280         (CUSTOM_CRTIN): Set.
2281         ($(T)crti.o, $(T)crtn.o): Remove $(T),
2282         dependencies.
2283         Use $(srcdir) to refer to crti.S, crtn.S.
2284         Use .S extension, $<.
2285         * config/moxie/crti.asm: Rename to ...
2286         * config/moxie/crti.S: ... this.
2287         * config/moxie/crtn.asm: Rename to ...
2288         * config/moxie/crtn.S: ... this.
2289         * config/moxie/t-moxie: Remove.
2290         * config/pa/stublib.c: New file.
2291         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2292         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2293         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2294         * config/rs6000/t-crtstuff: New file.
2295         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2296         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2297         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2298         Make output file explicit.
2299         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2300         Make output file explicit.
2301         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2302         Make output file explicit.
2303         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2304         Make output file explicit.
2305         * config/score/crti.S, config/score/crtn.S: New files.
2306         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2307         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2308         files.
2309         * config/sh/t-sh, config/sh/t-superh: New files.
2310         * config/sparc/t-linux64: New file.
2311         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2312         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2313         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2314         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2315         * config/t-crtin: Remove.
2316         * config/t-crtstuff-pic: New file.
2317         * config/t-sol2 (CUSTOM_CRTIN): Set.
2318         (crti.o, crtn.o): New rules.
2319         * config/vms/t-vms: New file.
2320         * config/vms/vms-ucrt0.c: New file.
2321         * config/xtensa/t-elf: New file.
2323 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2325         * Makefile.in (SHLIB_NM_FLAGS): Set.
2326         * mkmap-flat.awk, mkmap-symver.awk: New files.
2327         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2328         exceptions.
2329         * configure: Regenerate.
2330         * config/libgcc-glibc.ver: New file.
2331         * config/libgcc-libsystem.ver: New file.
2332         * config/t-libunwind (SHLIB_LC): Set.
2333         * config/t-linux: New file.
2334         * config/t-slibgcc (INSTALL_SHLIB): New.
2335         (SHLIB_INSTALL): Use it.
2336         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2337         to mkmap-symver.awk.
2338         (SHLIB_MAPFILES): Don't append, adapt pathname.
2339         (SHLIB_VERPFX): Set.
2340         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2341         to mkmap-symver.awk.
2342         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2343         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2344         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2345         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2346         to mkmap-flat.awk.
2347         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2348         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2349         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2350         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2351         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2352         * config/i386/libgcc-darwin.10.4.ver,
2353         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2354         New files.
2355         * config/i386/t-darwin: Remove.
2356         * config/i386/t-darwin64: Likewise.
2357         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2358         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2359         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2360         * config/i386/t-linux: New file.
2361         * config/i386/t-mingw32: New file.
2362         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2363         * config/ia64/t-glibc: Rename to ...
2364         * config/ia64/t-linux: ... this.
2365         (SHLIB_MAPFILES): Set.
2366         * config/ia64/t-glibc-libunwind: Rename to ...
2367         * config/ia64/t-linux-libunwind: ... this.
2368         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2369         * config/ia64/t-slibgcc-hpux: New file.
2370         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2371         * config/m68k/t-slibgcc-elf-ver: New file.
2372         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2373         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2374         to mkmap-flat.awk.
2375         * config/pa/t-slibgcc-hpux: New file.
2376         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2377         files.
2378         * config/rs6000/libgcc-darwin.10.4.ver,
2379         config/rs6000/libgcc-darwin.10.5.ver: New files.
2380         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2381         config/rs6000/libgcc-glibc.ver.
2382         * config/rs6000/libgcc-ppc64.ver: Rename to
2383         config/rs6000/libgcc-ibm-ldouble.ver.
2384         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2385         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2386         * config/rs6000/t-ldbl128: Rename to ...
2387         * config/rs6000/t-linux: ... this.
2388         (SHLIB_MAPFILES): Adapt filename.
2389         * config/rs6000/t-slibgcc-aix: New file.
2390         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2391         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2392         libgcc-excl.ver, libgcc-glibc.ver.
2393         (SHLIB_LINK, SHLIB_INSTALL): Remove.
2394         * config/sparc/libgcc-glibc.ver: New file.
2395         * config/sparc/t-linux: New file.
2396         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2397         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2398         t-slibgcc-elf-ver to tmake_file.
2399         Add t-slibgcc-nolc-override to tmake_file for posix threads on
2400         *-*-freebsd[34].
2401         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2402         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2403         t-slibgcc-elf-ver, t-linux to tmake_file.
2404         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2405         tmake_file.
2406         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2407         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2408         (alpha*-dec-*vms*): Likewise.
2409         (arm*-*-freebsd*): Append to tmake_file.
2410         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2411         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2412         arm*-*-linux-*eabi.
2413         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2414         tmake_file for arm*-*-symbianelf*.
2415         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2416         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2417         cris/t-linux.
2418         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2419         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2420         pa/t-slibgcc-dwarf-ver to tmake_file.
2421         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2422         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2423         (hppa*64*-*-hpux11*): Likewise.
2424         (hppa[12]*-*-hpux11*): Likewise.
2425         (x86_64-*-darwin*): Don't override tmake_file, but only keep
2426         i386/t-crtpc, i386/t-crtfm.
2427         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2428         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2429         to tmake_file.
2430         Add i386/t-cygwin to tmake_file.
2431         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2432         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2433         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2434         to tmake_file.
2435         Add i386/t-mingw32 to tmake_file.
2436         (x86_64-*-mingw*): Likewise.
2437         (ia64*-*-freebsd*): Append to tmake_file.
2438         (ia64*-*-linux*): Append to tmake_file.
2439         Replace ia64/t-glibc by ia64/t-linux.
2440         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2441         system libunwind.
2442         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2443         t-slibgcc-hpux to tmake_file.
2444         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2445         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2446         (m32rle-*-linux*): Likewise.
2447         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2448         sjlj exceptions.
2449         (microblaze*-linux*): New case.
2450         Append to tmake_file, add t-slibgcc-nolc-override.
2451         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2452         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2453         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2454         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2455         rs6000/t-slibgcc-aix to tmake_file.
2456         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2457         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2458         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2459         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2460         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2461         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2462         sh*-*-linux*.
2463         (sparc-*-linux*): Append to tmake_file for *-leon*.
2464         Add sparc/t-linux to tmake_file for non-Leon targets.
2465         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2466         (tic6x-*-uclinux): New case.
2467         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2468         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2469         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2470         (am33_2.0-*-linux*): Append to tmake_file.
2471         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2472         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2473         x86_64-*-kfreebsd*-gnu.
2474         Add i386/t-linux to tmake_file.
2476 2011-10-28  Ian Lance Taylor  <iant@google.com>
2478         * config/i386/morestack.S: Correct CFI information to do proper
2479         returns throughout function.  In 32-bit mode, save %ebx so that it
2480         is restored on unwind.
2482 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2484         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2485         case where B3 isn't the return register.
2487         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2488         logic for doubleword pops.
2490 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2492         * config/rs6000/t-freebsd: Add wildcard.
2494 2011-10-21  Paul Brook  <paul@codesourcery.com>
2496         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2498 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2499             Eric Botcazou  <ebotcazou@adacore.com>
2501         PR target/50737
2502         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2503         fs->signal_frame to 1.
2505 2011-10-07  Ian Lance Taylor  <iant@google.com>
2507         * generic-morestack-thread.c: #include <errno.h>.
2509 2011-10-07  Ian Lance Taylor  <iant@google.com>
2511         PR target/46093
2512         * generic-morestack.c (__generic_morestack): Make sure the segment
2513         is large enough for both the stack frame and the copied
2514         parameters.
2516 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2518         PR bootstrap/49804
2519         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2520         extra_parts.
2522 2011-09-28  Nick Clifton  <nickc@redhat.com>
2524         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2525         64-bit doubles are not enabled.
2526         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2527         and floatunsisf functions.
2529 2011-09-13  Paul Brook  <paul@codesourcery.com>
2531         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2532         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2533         * unwind-arm-common.inc: New file.
2534         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2535         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2536         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2537         * config/c6x/libunwind.S: New file.
2538         * config/c6x/pr-support.c: New file.
2539         * config/c6x/unwind-c6x.c: New file.
2540         * config/c6x/unwind-c6x.h: New file.
2541         * config/c6x/t-c6x-elf: New file.
2543 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2545         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2546         (ASM_DIVZERO): Ditto.
2547         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2549 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2551         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2553 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2555         PR target/50090
2556         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2557         instead of an assembly one.
2559 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2561         PR bootstrap/50047
2562         * Makefile.in (install-unwind_h): Create
2563         $(gcc_objdir)/include/unwind.h atomically.
2565 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2567         * Makefile.in (install-unwind_h): Remove destination file first.
2569 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2571         * sync.c: New file.
2572         * config/mips/t-mips16: New file.
2573         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2574         (mips*-*-linux*): Likewise.
2575         (mips*-sde-elf*): Likewise.
2576         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2577         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2578         Add mips/t-mips16 to tmake_file.
2579         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2580         (mips-*-elf*): Likewise.
2581         (mips64-*-elf*): Likewise.
2582         (mips64orion-*-elf*): Likewise.
2583         (mips*-*-rtems*): Likewise.
2584         (mipstx39-*-elf*): Likewise.
2585         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2586         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2587         LIBGCC_SYNC_CFLAGS.
2588         Use $(srcdir) to refer to sync.c.
2589         Use $<.
2590         ($(libgcc-sync-funcs-o)): Likewise.
2591         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2592         ($(libgcc-sync-funcs-s-o)): Likewise.
2594 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2596         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2597         t-libunwind.
2599 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2601         PR other/48007
2602         * config/i386/value-unwind.h: New.
2604 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2606         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2607         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2608         Add to tmake_file rather than overriding it.
2610 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2612         * config/t-softfp: Remove.
2613         * soft-fp: Moved from ../gcc/config.
2614         * soft-fp/README: Remove t-softfp reference.
2615         * soft-fp/t-softfp: Move to config/t-softfp.
2616         (softfp_machine_header): Remove.
2617         (softfp_file_list): Remove config subdir.
2618         (soft-fp-objects): New variable.
2619         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2620         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2621         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2622         * config/t-softfp-excl: New file.
2623         * config/t-softfp-sfdf: New file.
2624         * config/t-softfp-tf: New file.
2625         * config/no-sfp-machine.h: New file.
2626         * config/arm/sfp-machine.h: New file.
2627         * config/arm/t-softfp: New file.
2628         * config/c6x/sfp-machine.h: New file.
2629         * config/i386/32/t-fprules-softfp: Rename to ...
2630         * config/i386/32/t-softfp: ... this.
2631         (tifunctions, LIB2ADD): Remove.
2632         (softfp_int_modes): Override.
2633         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2634         subdir.
2635         * config/i386/64/eqtf2.c: Likewise.
2636         * config/i386/64/getf2.c: Likewise.
2637         * config/i386/64/letf2.c: Likewise.
2638         * config/ia64/sft-machine.h: New file.
2639         * config/ia64/t-fprules-softfp: Rename to ...
2640         * config/ia64/t-softfp: ... this.
2641         * config/lm32/sfp-machine.h: New file.
2642         * config/moxie/t-moxie-softfp: Remove.
2643         * config/rs6000/ibm-ldouble-format: New file.
2644         * config/rs6000/ibm-ldouble.c: New file.
2645         * config/rs6000/libgcc-ppc-glibc.ver: New file
2646         * config/rs6000/libgcc-ppc64.ver: New file
2647         * config/rs6000/sfp-machine.h: New file.
2648         * config/rs6000/t-freebsd: New file.
2649         * config/rs6000/t-ibm-ldouble: New file.
2650         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2651         libgcc-ppc-glibc.ver.
2652         * config/rs6000/t-linux64: New file.
2653         * config/rs6000/t-ppccomm (LIB2ADD): Add
2654         $(srcdir)/config/rs6000/ibm-ldouble.c.
2655         * config/rs6000/t-ppccomm-ldbl: New file.
2656         * config/score/sfp-machine.h: New file.
2657         * config.host (sfp_machine_header): Explain.
2658         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2659         t-softfp to tmake_file.
2660         (arm*-*-uclinux*): Likewise.
2661         (arm*-*-ecos-elf): Likewise.
2662         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2663         (arm*-*-rtems*): Likewise.
2664         (arm*-*-elf): Likewise.
2665         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2666         in tmake_file.
2667         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2668         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2669         (lm32-*-uclinux*): Likewise.
2670         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2671         t-softfp-excl, t-softfp.
2672         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2673         (powerpc64-*-darwin*): Likewise.
2674         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2675         to tmake_file.
2676         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2677         tmake_file.
2678         (powerpc-*-eabisim*): Likewise.
2679         (powerpc-*-elf*): Likewise.
2680         (powerpc-*-eabialtivec*): Likewise.
2681         (powerpc-xilinx-eabi*): Likewise.
2682         (powerpc-*-rtems*): Likewise.
2683         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2684         t-softfp-excl, t-softfp to tmake_file.
2685         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2686         rs6000/t-ppccomm-ldbl to tmake_file.
2687         (powerpcle-*-elf*): Likewise.
2688         (powerpcle-*-eabisim*): Likewise.
2689         (powerpcle-*-eabi*): Likewise.
2690         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2691         rs6000/t-ibm-ldouble to tmake_file.
2692         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2693         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2694         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2695         (tic6x-*-*): Likewise.
2696         (i[34567]86-*-darwin*, x86_64-*-darwin*,
2697         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2698         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2699         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2700         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2701         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2702         t-softfp to tmake_file.
2703         * configure.ac (sfp_machine_header): Provide default if unset.
2704         Substitute.
2705         Link sfp-machine.h to config/$sfp_machine_header.
2706         * configure: Regenerate.
2708 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2710         * Makefile.in (double_type_size, long_double_type_size): Set.
2711         Remove $(fpbit-in-libgcc) support.
2712         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2713         (fpbit-src): New variable.
2714         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2715         Compile with -DFLOAT $(FPBIT_CFLAGS).
2716         Use $<.
2717         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2718         Compile with $(FPBIT_CFLAGS).
2719         Use $<.
2720         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2721         Compile with -DFLOAT $(TPBIT_CFLAGS).
2722         Use $<.
2723         * configure.ac (double_type_size, long_double_type_size):
2724         Determine and substitute.
2725         * configure: Regenerate.
2726         * fp-bit.c, fp-bit.h: New files.
2727         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2728         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2729         * config/mips/t-mips: New file.
2730         * config/mips/t-sdemtk: New file.
2731         * config/rs6000/ppc64-fp.c: New file.
2732         * config/rs6000/t-darwin (LIB2ADD): Add
2733         $(srcdir)/config/rs6000/ppc64-fp.c.
2734         * config/rs6000/t-ppc64-fp: New file.
2735         * config/rx/rx-lib.h: New file.
2736         * config/rx/t-rx (FPBIT): Set to true.
2737         ($(gcc_objdir)/fp-bit.c): Remove.
2738         (DPBIT): Set to true only with -m64bit-doubles.
2739         ($(gcc_objdir)/dp-bit.c): Remove.
2740         * config/sparc/t-softfp: Remove.
2741         * config/spu/t-elf: New file.
2742         * config/t-fdpbit, config/t-fpbit: New files.
2743         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2744         (mips*-*-*): Likewise.
2745         (arm-wrs-vxworks): Likewise.
2746         (arm*-*-freebsd*): Likewise.
2747         (avr-*-rtems*): Add t-fpbit to tmake_file.
2748         (avr-*-*): Likewise.
2749         (bfin*-elf*): Add t-fdpbit to tmake_file.
2750         (bfin*-uclinux*): Likewise.
2751         (bfin*-linux-uclibc*): Likewise.
2752         (bfin*-rtems*): New case.
2753         Add t-fdpbit to tmake_file.
2754         (bfin*-*): Add t-fdpbit to tmake_file.
2755         (crisv32-*-elf): Likewise.
2756         (cris-*-linux*): Likewise.
2757         (fr30-*-elf): Likewise.
2758         (frv-*-elf, frv-*-*linux*): Likewise.
2759         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2760         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2761         (m32r-*-elf*): Likewise.
2762         (m32rle-*-elf*): Likewise.
2763         (m32r-*-linux*): Likewise.
2764         (m32rle-*-linux*): Likewise.
2765         (mcore-*-elf): Add t-fdpbit to tmake_file.
2766         (microblaze*-*-*): Likewise.
2767         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2768         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2769         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2770         Fix typo.
2771         Add mips/t-tpbit to tmake-file.
2772         (mips*-*-linux*): Fix typo.
2773         (mips*-sde-elf*): New case
2774         Add mips/t-sdemtk unless using newlib.
2775         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2776         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2777         (mn10300-*-*): Likewise.
2778         (pdp11-*-*): Likewise.
2779         (picochip-*-*): Add t-fpbit to tmake_file.
2780         (powerpc-*-eabisimaltivec*): Likewise.
2781         (powerpc-*-eabisim*): Likewise.
2782         (powerpc-*-elf*): Likewise.
2783         (powerpc-*-eabialtivec*): Likewise.
2784         (powerpc-xilinx-eabi*): New case.
2785         Add t-fdpbit to tmake_file.
2786         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
2787         (powerpc-*-rtems*): Likewise.
2788         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2789         tmake_file.
2790         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2791         tmake_file.
2792         (powerpc-*-lynxos*): Likewise.
2793         (powerpcle-*-elf*): Likewise.
2794         (powerpcle-*-eabisim*): Likewise.
2795         (powerpcle-*-eabi*): Likewise.
2796         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2797         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2798         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2799         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2800         (rx-*-elf): Add t-fdpbit to tmake_file.
2801         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2802         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2803         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2804         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2805         sh*-*-netbsd*.
2806         (sh-*-rtems*): Add t-fdpbit to tmake_file.
2807         (sh-wrs-vxworks): Likewise.
2808         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2809         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2810         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2811         (sparc64-*-rtems*): ... new case.
2812         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2813         (spu-*-elf*): Likewise.
2814         Add spu/t-elf to tmake_file.
2815         (v850*-*-*): Add t-fdpbit to tmake_file.
2816         (xstormy16-*-elf): Likewise.
2817         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2818         (mep*-*-*): Likewise.
2820 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2822         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2823         variables.
2824         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2825         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2826         (install-unwind_h): New target.
2827         (all): Depend on it.
2828         * config.host (unwind_header): New variable.
2829         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2830         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2831         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2832         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2833         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2834         Set unwind_header.
2835         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2836         Set unwind_header.
2837         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2838         arm*-*-eabi*.
2839         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2840         Set unwind_header.
2841         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2842         (ia64*-*-freebsd*): Likewise.
2843         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2844         tmake_file.
2845         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2846         $with_system_libunwind.
2847         (ia64*-*-hpux*): Set tmake_file.
2848         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2849         (picochip-*-*): Set tmake_file.
2850         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2851         md_unwind_header.
2852         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2853         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2854         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2855         (xtensa*-*-elf*): Set tmake_file.
2856         (xtensa*-*-linux*): Likewise.
2857         * configure.ac: Include ../config/unwind_ipinfo.m4.
2858         Call GCC_CHECK_UNWIND_GETIPINFO.
2859         Link unwind.h to $unwind_header.
2860         * configure: Regenerate.
2861         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2862         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2863         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2864         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2865         * config/unwind-dw2-fde-darwin.c: New file.
2866         * config/arm/libunwind.S, config/arm/pr-support.c,
2867         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2868         config/arm/unwind-arm.h,: New files.
2869         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2870         config/ia64/t-eh-ia64, config/ia64/t-glibc,
2871         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2872         config/ia64/t-vms, config/ia64/unwind-ia64.c,
2873         config/ia64/unwind-ia64.h: New files.
2874         * config/picochip/t-picochip: New file.
2875         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2876         files.
2877         * config/rs6000/t-darwin (LIB2ADDEH): Set.
2878         * config/s390/t-tpf (LIB2ADDEH): Remove.
2879         * config/t-darwin (LIB2ADDEH): Set.
2880         * config/t-eh-dw2-dip: New file.
2881         * config/t-libunwind, config/t-libunwind-elf: New files.
2882         * config/t-sol2 (LIB2ADDEH): Remove.
2883         * config/xtensa/t-xtensa: New file.
2885 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
2887         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2888         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2889         long long to check rt_sigreturn syscall.
2891 2011-08-02  Alan Modra  <amodra@gmail.com>
2893         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2894         Restore for indirect call bcrtl from correct stack slot, and only
2895         if cfa+40 isn't valid.
2897 2011-08-01  Julian Brown  <julian@codesourcery.com>
2899         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2900         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2901         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2903 2011-08-01  Julian Brown  <julian@codesourcery.com>
2905         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2906         (libgcc-std.ver.in): Use above.
2907         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2908         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
2909         throughout file.
2910         * config/t-fixedpoint-gnu-prefix: New file.
2911         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2912         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2913         instead of __PFX__.
2915 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2917         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2918         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2919         for x86-64.  Properly check __x86_64__ and __LP64__.
2921 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2923         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2924         version.
2925         (_FP_WS_TYPE): Likewise.
2926         (_FP_I_TYPE): Likewise.
2928 2011-07-28  Alan Modra  <amodra@gmail.com>
2930         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2931         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2932         in a plt call stub.  Do restore r2 if stopped on bctrl.
2934 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2936         * config.host (i[3456x]86-*-netware*): Remove.
2937         * config/i386/netware-crt0.c, config/i386/t-nwld,
2938         config/i386/t-slibgcc-nwld: Remove.
2940 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
2942         * config.host: Handle tic6x-*-*.
2943         * config/c6x/c6x-abi.h: New file.
2945 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2947         * config/i386/crtprec.c: New file.
2948         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2949         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2950         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2951         (x86_64-*-darwin*): Likewise.
2952         (i[34567]86-*-solaris2*: Likewise.
2954 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2956         * config/alpha/crtfastmath.c: New file.
2957         * config/i386/crtfastmath.c: New file.
2958         * config/ia64/crtfastmath.c: New file.
2959         * config/mips/crtfastmath.c: New file.
2960         * config/sparc/crtfastmath.c: New file.
2962         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2963         crtfastmath.c.
2964         Add -frandom-seed=gcc-crtfastmath.
2965         * config/alpha/t-crtfm: Remove.
2966         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2967         * config/ia64/t-ia64 (crtfastmath.o): Remove.
2969         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2970         (alpha*-dec-osf5.1*): Likewise.
2971         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2972         Add crtfastmath.o to extra_parts.
2973         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2974         Add crtfastmath.o to extra_parts.
2975         (x86_64-*-darwin*): Likewise.
2976         (x86_64-*-mingw*): Likewise.
2977         (ia64*-*-elf*): Add t-crtfm to tmake_file.
2978         (ia64*-*-freebsd*): Likewise.
2979         (ia64*-*-linux*): Likewise.
2980         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2981         Add crtfastmath.o to extra_parts.
2983 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2985         * config/darwin-crt3.o: New file.
2986         * config/rs6000/darwin-crt2.c: New file.
2987         * config/t-darwin: New file.
2988         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2989         (crt2.o): New rule.
2990         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2991         (powerpc-*-darwin*): Add crt2.o to extra_parts.
2992         (powerpc64-*-darwin*): Likewise.
2994 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2996         * config/i386/netware-crt0.c: New file.
2997         * config/i386/t-nwld: Rename to ...
2998         * config/i386/t-slibgcc-nwld: ... this.
2999         * config/i386/t-nwld: New file.
3000         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3001         tmake_file.
3002         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3003         extra_parts.
3005 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3007         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3008         i386/t-crtstuff.
3009         * configure: Regenerate.
3011 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3013         * dfp-bit.c, dfp-bit.h: New files.
3014         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3015         variables.
3016         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3017         ($(d64pbit-o)): Likewise.
3018         ($(d128pbit-o)): Likewise.
3019         * config/t-dfprules: New file.
3020         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3021         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3022         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3023         (x86_64-*-linux*): Likewise.
3024         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3025         (i[34567]86-*-cygwin*): Likewise.
3026         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3027         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3029 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3031         * Makfile.in (LIBGCOV): New variable.
3032         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3033         * libgcov.c: New file.
3035 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3037         * fixed-bit.c, fixed-bit.h: New files.
3038         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3039         refer to fixed-bit.c.
3041 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3043         * config.host (*local*): Remove.
3045 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3047         PR target/39150
3048         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3049         like i?86-*-solaris2.1[0-9]*.
3050         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3051         * configure.ac (i?86-*-solaris2*): Likewise.
3052         * configure: Regenerate.
3054 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3056         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3057         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3058         md_unwind_header by splitting out of...
3059         (i[34567]86-*-linux*): ... this.
3060         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3061         Remove md_unwind_header by splitting out of...
3062         (x86_64-*-linux*): ... this.
3064 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3066         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3068 2011-06-28  Nick Clifton  <nickc@redhat.com>
3070         * config.host: Recognize all V850 variants.
3072 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3074         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3076 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3078         * shared-object.mk (c_flags-$o): Save c_flags.
3079         ($(base)$(objext)): Use it.
3080         ($(base)_s$(objext)): Likewise.
3082 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3084         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3085         * libgcc-std.ver.in (GCC_4.7.0): New section.
3087 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3089         PR target/49313
3090         PR target/29524
3091         * config/avr/t-avr: Fix line endings.
3092         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3093         _parityXX2.
3095 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3096             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3098         * config/mips/irix6-unwind.h: New file.
3099         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3101 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3103         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3104         (sparc64_fallback_frame_state): Use it.
3105         (sparc64_frob_update_context): Further adjust context.
3106         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3107         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3108         * config/sparc/sol2-cn.S: Likewise.
3110 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3112         * enable-execute-stack-empty.c: New file.
3113         * enable-execute-stack-mprotect.c: New file.
3114         * config/i386/enable-execute-stack-mingw32.c: New file.
3115         * config.host (enable_execute_stack): New variable.
3116         Select appropriate variants.
3117         * configure.ac: Link enable-execute-stack.c to
3118         $enable_execute_stack.
3119         * configure: Regenerate.
3120         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3121         (lib2funcs): Remove _enable_execute_stack.
3123 2011-06-09  David S. Miller  <davem@davemloft.net>
3124             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3126         * config.host (sparc-*-linux*): Correct md_unwind_header
3127         filename.
3128         (s390x-ibm-tpf*): Fix typo.
3130 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3132         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3133         Add crtfastmath.o to extra_parts.
3134         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3135         mips/t-crtfm.
3136         * config/mips/t-crtfm: Remove.
3138 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3140         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3142 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3144         * config.host (sh*-*-linux*): Fix typo.
3146 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3148         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3149         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3150         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3151         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3152         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3153         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3154         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3155         Wrap in !__MINGW64__.
3156         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3157         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3158         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3159         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3160         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3161         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3162         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3163         Wrap in !__LP64__.
3164         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3165         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3166         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3167         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3168         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3169         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3170         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3171         * config/no-unwind.h: New file.
3172         * config.host (md_unwind_header): Document.
3173         Define.
3174         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3175         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3176         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3177         hppa[12]*-*-hpux11*): Set md_unwind_header.
3178         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3179         Set md_unwind_header.
3180         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3181         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3182         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3183         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3184         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3185         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3186         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3187         md_unwind_header.
3188         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3189         * configure: Regenerate.
3191 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3193         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3194         Set tmake_file, extra_parts.
3195         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3196         Remove O32 support.
3197         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3198         Remove O32 support.
3199         * config/mips/t-irix6: New file.
3200         * config/mips/t-slibgcc-irix: New file.
3202 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3204         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3205         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3207 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3209         * configure.ac (target_thread_file): Determine thread model.
3210         * configure: Regenerate.
3211         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3212         * config/alpha/t-alpha: New file.
3213         * config/alpha/t-crtfm: Use $<.
3214         * config/alpha/t-ieee: New file.
3215         * config/alpha/t-osf-pthread: New file.
3216         * config/alpha/t-slibgcc-osf: New file.
3217         * config/alpha/libgcc-osf5.ver: New file.
3219 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3221         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3222         tmake_file.
3223         Add crtfastmath.o to extra_parts.
3225 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3227         * config/gmon-sol2.c: Reindent.
3228         Cleanup comments.
3229         Remove, correct casts.
3230         Use STDERR_FILENO, NULL.
3231         (BASEADDRESS): Remove.
3232         (minbrk): Remove.
3233         (errno, sbrk): Remove declarations.
3234         (monstartup) [hp300]: Remove.
3235         (mcount): Remove.
3237 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3239         * Makefile.in (cpu_type): Define.
3240         * config.host (i[34567]86-*-rtems*): Handle it.
3241         (i[34567]86-*-solaris2*): Move body ...
3242         (*-*-solaris2*): ... here.
3243         New case, generalize.
3244         (sparc-*-elf*): Handle it.
3245         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3246         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3247         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3248         Fold into ...
3249         (sparc*-*-solaris2*): ... this.
3250         New case.
3251         (sparc64-*-elf*): Handle it.
3252         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3253         Merge ../gcc/config/i386/gmon-sol2.c.
3254         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3255         Use C comments.
3256         Merge ../gcc/config/i386/sol2-gc1.asm.
3257         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3258         Use C comments.
3259         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3260         Use C comments.
3261         * config/i386/t-crtfm (crtfastmath.o): Use $<.
3262         * config/i386/t-crtstuff: New file.
3263         * config/i386/t-softfp: New file.
3264         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3265         $(T)crti.o, $(T)crtn.o): Remove.
3266         (gcrt1.o): New rule.
3267         (TARGET_LIBGCC2_CFLAGS): Remove.
3268         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3269         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3270         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3271         * config/sparc/t-sol2: New file.
3272         * config/sparc/t-crtfm: Move to ...
3273         * config/t-crtfm: ... this.
3274         Use $(cpu_type), $<.
3275         * config/t-crtin: New file.
3276         * config/sparc/t-softfp: New file.
3277         * config/sparc/t-softmul: New file.
3278         * config/t-rtems: New file.
3279         * config/t-slibgcc: New file.
3280         * config/t-slibgcc-elf-ver: New file.
3281         * config/t-slibgcc-gld: New file.
3282         * config/t-slibgcc-sld: New file.
3283         * config/t-sol2: New file.
3284         * configure.ac: Include ../config/lib-ld.m4.
3285         Call AC_LIB_PROG_LD_GNU.
3286         Substitute cpu_type.
3287         * configure: Regenerate.
3289 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3291         PR bootstrap/49173
3292         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3293         libgcc-std.ver in the build directory.
3294         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3295         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3297 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3299         * libgcc-std.ver.in: New file.
3300         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3301         variables.
3302         (libgcc-std.ver): New rule.
3303         * config/t-gnu-prefix: New file.
3305 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3307         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3309 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3311         * config/i386/darwin-lib.h: New file.
3313 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3315         * config/arm/symbian-lib.h: New.
3317 2011-05-04  Chris Demetriou  <cgd@google.com>
3319         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3320         (__x86.get_pc_thunk.bx): ...this.
3321         (__morestack): Adjust for rename, remove undef of __i686.
3323 2011-05-03  Chris Demetriou  <cgd@google.com>
3325         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3327 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3329         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3330         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3331         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3332         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3333         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3334         Remove cases.
3336 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3338         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3339         Adjust copyright year.
3341 2011-03-07  Ian Lance Taylor  <iant@google.com>
3343         * generic-morestack.c (__splitstack_find): Adjust returned stack
3344         pointer to include all registers pushed by __morestack.
3346 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3348         PR target/40125
3349         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3350         (toolexecdir): Calculate and AC_SUBST.
3351         (toolexeclibdir): Likewise.
3352         * Makefile.in (target_noncanonical): Import.
3353         (toolexecdir): Likewise.
3354         (toolexeclibdir): Likewise.
3355         * configure: Regenerate.
3357 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3359         PR target/46040
3360         * config/arm/bpabi.h: Rename to...
3361         * config/arm/bpabi-lib.h: ...this.
3363 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3365         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3366         appropriate.
3367         * configure: Regenerate.
3369 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3371         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3372         __FLOAT_WORD_ORDER__.
3373         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3374         Delete.
3376 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3378         PR other/46202
3379         * Makefile.in (install-strip): New phony target.
3381 2010-11-07  Ian Lance Taylor  <iant@google.com>
3383         PR target/46089
3384         * config/i386/morestack.S (__morestack_large_model): New
3385         function.
3387 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
3389         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3390         Delete.
3391         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3393 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
3395         * config/arm/bpabi.h: New file.
3396         * config/frv/frv-abi.h: New file.
3398 2010-10-01  Ian Lance Taylor  <iant@google.com>
3400         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3401         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3403 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3405         PR target/45858
3406         * config.host: Add the missing `$'.
3408 2010-09-30  Michael Eager  <eager@eagercon.com>
3410         * config.host: Add microblaze*-*-*.
3411         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3412         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3413         udivsi3.asm,umodsi3.asm}:  New.
3415 2010-09-28  Ian Lance Taylor  <iant@google.com>
3417         * configure.ac: Adjust CFI test to test assembler directly rather
3418         than checking gcc preprocessor macro.
3419         * configure: Rebuild.
3421 2010-09-27  Ian Lance Taylor  <iant@google.com>
3423         * configure.ac: Test whether assembler supports CFI directives.
3424         * config.host: Only add t-stack and i386/t-stack-i386 to
3425         tmake_file if libgcc_cv_cfi is "yes".
3426         * configure: Rebuild.
3428 2010-09-27  Ian Lance Taylor  <iant@google.com>
3430         * generic-morestack.h: New file.
3431         * generic-morestack.c: New file.
3432         * generic-morestack-thread.c: New file.
3433         * config/i386/morestack.S: New file.
3434         * config/t-stack: New file.
3435         * config/i386/t-stack-i386: New file.
3436         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3437         i386/t-stack-i386 to tmake_file.
3439 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3441         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3442         invoke ranlib after installing them.
3443         (gcc-extra-parts): Likewise.
3444         (install-leaf): Likewise.
3446 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3448         * configure: Regenerated.
3450 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3452         * configure: Regenerated.
3454 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3455             Andrew Pinski  <pinskia@gmail.com>
3457         PR target/40959
3458         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3460 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3462         PR target/45524
3463         * configure: Regenerated.
3465 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3467         * configure: Regenerate.
3469 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3471         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3472         64bit targets.
3473         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3474         for 64bit targets.
3476 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3477             Iain Sandoe  <iains@gcc.gnu.org>
3479         PR target/45476
3480         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3481         LIB2FUNCS_EXCLUDE functions.
3483 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3485         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3486         Include dfp.m4.
3487         * configure: Regenerate.
3489 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3491         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3492         i386/t-freebsd to tmake_file.
3493         * config/i386/t-freebsd: New file.
3494         * config/i386/libgcc-bsd.ver: New file.
3496 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3498         * config.host (powerpc*-eabispe*): Set tmake_file.
3499         (powerpc*-eabi*): Likewise.
3500         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3501         crtbeginS, crtendS, crtbeginT.
3503 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3505         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3506         to tmake_file.  Add crtfastmath.o to extra_parts.
3507         * config/mips/t-crtfm: New.
3509 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3511         * config.host (sparc64-*-rtems*): New target.
3513 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3515         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3516         assembler syntax.
3518 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3520         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3522 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3524         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3525         alpha-dec-osf5.0* support.
3527 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3529         * config.host: Add lm32-*-rtems*.
3531 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3532             Uros Bizjak <ubizjak@gmail.com>
3534         PR target/39048
3535         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3536         like other remaining 32-bit x86 OSes.
3537         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3538         assembler syntax.
3539         * config/i386/libgcc-sol2.ver: New file.
3540         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3542 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3544         PR c/43553
3545         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3546         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3547         is used and substitute set_use_emutls.
3548         * configure: Regenerated.
3550 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3552         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3554 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3556         PR target/38085
3557         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3558         MULTILIB_CFLAGS.
3559         ($(T)gcrt1.o): Likewise.
3560         ($(T)crt1.o): Likewise.
3561         ($(T)crti.o): Likewise.
3562         ($(T)crtn.o): Likewise.
3564 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3566         PR other/42980
3567         * Makefile.in (install): Use $(MAKE) string in rule, for
3568         parallel make.
3570 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3572         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3573         * config/mmix/t-mmix: New file.
3574         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3576 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3578         PR java/41991
3579         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3580         SHLIB_MAPFILES.
3582 2010-01-04  Anthony Green  <green@moxielogic.com>
3584         * config/moxie/crti.asm, config/moxie/crtn.asm,
3585         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3586         config/moxie/t-moxie: New files.
3587         * config.host: Add t-moxie-softfp reference.
3589 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3591         PR other/39888
3592         * config/t-slibgcc-darwin: Fix embedded rpaths for
3593         --enable-version-specific-runtime-libs, build extension stub
3594         libs exposing features available from current libgcc_s.
3596 2009-11-11  Jon Beniston <jon@beniston.com>
3598         * config.host: Add lm32 targets.
3599         * config/lm32: New directory.
3600         * config/lm32/libgcc_lm32.h: New file.
3601         * config/lm32/_mulsi3.c: New file.
3602         * config/lm32/_udivmodsi4.c: New file.
3603         * config/lm32/_divsi3.c: New file.
3604         * config/lm32/_modsi3.c: New file.
3605         * config/lm32/_udivsi3.c: New file.
3606         * config/lm32/_umodsi3.c: New file.
3607         * config/lm32/_lshrsi3.S: New file.
3608         * config/lm32/_ashrsi3.S: New file.
3609         * config/lm32/_ashlsi3.S: New file.
3610         * config/lm32/crti.S: New file.
3611         * config/lm32/crtn.S: New file.
3612         * config/lm32/t-lm32: New file.
3613         * config/lm32/t-elf: New file.
3614         * config/lm32/t-uclinux: New file.
3616 2009-10-26  Nick Clifton  <nickc@redhat.com>
3618         * config.host: Add support for RX target.
3619         * config/rx: New directory.
3620         * config/rx/rx-abi-functions.c: New file. Supplementary
3621         functions for libgcc to support the RX ABI.
3622         * config/rx/rx-abi.h: New file.  Supplementary header file for
3623         libgcc RX ABI functions.
3624         * config/rx/t-rx: New file: Makefile fragment for building
3625         libgcc for the RX.
3627 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3629         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3630         constraint of y0 to "g".
3632 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3634         * config.host: Include the s390 makefile fragments.
3635         * config/s390/32/_fixdfdi.c: New file.
3636         * config/s390/32/_fixsfdi.c: New file.
3637         * config/s390/32/_fixtfdi.c: New file.
3638         * config/s390/32/_fixunsdfdi.c: New file.
3639         * config/s390/32/_fixunssfdi.c: New file.
3640         * config/s390/32/_fixunstfdi.c: New file.
3641         * config/s390/32/t-floattodi: New file.
3642         * config/s390/libgcc-glibc.ver: New file.
3643         * config/s390/t-crtstuff: New file.
3644         * config/s390/t-linux: New file.
3645         * config/s390/t-tpf: New file.
3647 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3649         * configure.ac (AC_PREREQ): Bump to 2.64.
3651 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
3653         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3655 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3657         * configure: Regenerate.
3659 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
3661         * config.host (ia64-hp-*vms*): New target.
3662         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3663         with ia64-hp-*vms*.
3665 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3667         * configure.ac: Add snippet for maintainer-mode.
3668         * configure: Regenerate.
3669         * Makefile.in (AUTOCONF, configure_deps): New variables.
3670         ($(srcdir)/configure)): New rule, active only with maintainer
3671         mode turned on.
3673 2009-06-23  DJ Delorie  <dj@redhat.com>
3675         Add MeP port.
3676         * config.host: Add mep support.
3678 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
3680         * config.host: Add i386/${host_address}/t-fprules-softfp and
3681         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3683         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3684         for mingw targets.
3685         * config/i386/64/_multc3.c: Likewise.
3686         * config/i386/64/_powitf2.c: Likewise.
3687         * config/i386/64/eqtf2.c: Likewise.
3688         * config/i386/64/getf2.c: Likewise.
3689         * config/i386/64/letf2.c: Likewise.
3690         * config/i386/64/letf2.c: Likewise.
3691         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3692         unsigned long long for x64 mingw targets.
3693         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3694         (_FP_I_TYPE): Define as long long for x64 mingw target.
3696 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
3698         * config.host (vax-*-linux*): New.
3700 2009-05-31  Anthony Green  <green@moxielogic.com>
3702         * config.host: Add moxie support.
3703         * config/moxie/t-moxie: New file.
3705 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
3707         * config.host: Add i386/${host_address}/t-fprules-softfp and
3708         t-softfp to tmake_file for i[34567]86-*-cygwin*.
3710 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
3712         * config.host: Add i386/${host_address}/t-fprules-softfp to
3713         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3715 2009-04-09  Nick Clifton  <nickc@redhat.com>
3717         * config/ia64/tf-signs.c: Change copyright header to refer to
3718         version 3 of the GNU General Public License with version 3.1
3719         of the GCC Runtime Library Exception and to point readers at
3720         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3721         web page.
3722         * config/i386/32/tf-signs.c: Likewise.
3723         * config/libbid/_addsub_dd.c: Likewise.
3724         * config/libbid/_addsub_sd.c: Likewise.
3725         * config/libbid/_addsub_td.c: Likewise.
3726         * config/libbid/_dd_to_df.c: Likewise.
3727         * config/libbid/_dd_to_di.c: Likewise.
3728         * config/libbid/_dd_to_sd.c: Likewise.
3729         * config/libbid/_dd_to_sf.c: Likewise.
3730         * config/libbid/_dd_to_si.c: Likewise.
3731         * config/libbid/_dd_to_td.c: Likewise.
3732         * config/libbid/_dd_to_tf.c: Likewise.
3733         * config/libbid/_dd_to_udi.c: Likewise.
3734         * config/libbid/_dd_to_usi.c: Likewise.
3735         * config/libbid/_dd_to_xf.c: Likewise.
3736         * config/libbid/_df_to_dd.c: Likewise.
3737         * config/libbid/_df_to_sd.c: Likewise.
3738         * config/libbid/_df_to_td.c: Likewise.
3739         * config/libbid/_di_to_dd.c: Likewise.
3740         * config/libbid/_di_to_sd.c: Likewise.
3741         * config/libbid/_di_to_td.c: Likewise.
3742         * config/libbid/_div_dd.c: Likewise.
3743         * config/libbid/_div_sd.c: Likewise.
3744         * config/libbid/_div_td.c: Likewise.
3745         * config/libbid/_eq_dd.c: Likewise.
3746         * config/libbid/_eq_sd.c: Likewise.
3747         * config/libbid/_eq_td.c: Likewise.
3748         * config/libbid/_ge_dd.c: Likewise.
3749         * config/libbid/_ge_sd.c: Likewise.
3750         * config/libbid/_ge_td.c: Likewise.
3751         * config/libbid/_gt_dd.c: Likewise.
3752         * config/libbid/_gt_sd.c: Likewise.
3753         * config/libbid/_gt_td.c: Likewise.
3754         * config/libbid/_isinfd128.c: Likewise.
3755         * config/libbid/_isinfd32.c: Likewise.
3756         * config/libbid/_isinfd64.c: Likewise.
3757         * config/libbid/_le_dd.c: Likewise.
3758         * config/libbid/_le_sd.c: Likewise.
3759         * config/libbid/_le_td.c: Likewise.
3760         * config/libbid/_lt_dd.c: Likewise.
3761         * config/libbid/_lt_sd.c: Likewise.
3762         * config/libbid/_lt_td.c: Likewise.
3763         * config/libbid/_mul_dd.c: Likewise.
3764         * config/libbid/_mul_sd.c: Likewise.
3765         * config/libbid/_mul_td.c: Likewise.
3766         * config/libbid/_ne_dd.c: Likewise.
3767         * config/libbid/_ne_sd.c: Likewise.
3768         * config/libbid/_ne_td.c: Likewise.
3769         * config/libbid/_sd_to_dd.c: Likewise.
3770         * config/libbid/_sd_to_df.c: Likewise.
3771         * config/libbid/_sd_to_di.c: Likewise.
3772         * config/libbid/_sd_to_sf.c: Likewise.
3773         * config/libbid/_sd_to_si.c: Likewise.
3774         * config/libbid/_sd_to_td.c: Likewise.
3775         * config/libbid/_sd_to_tf.c: Likewise.
3776         * config/libbid/_sd_to_udi.c: Likewise.
3777         * config/libbid/_sd_to_usi.c: Likewise.
3778         * config/libbid/_sd_to_xf.c: Likewise.
3779         * config/libbid/_sf_to_dd.c: Likewise.
3780         * config/libbid/_sf_to_sd.c: Likewise.
3781         * config/libbid/_sf_to_td.c: Likewise.
3782         * config/libbid/_si_to_dd.c: Likewise.
3783         * config/libbid/_si_to_sd.c: Likewise.
3784         * config/libbid/_si_to_td.c: Likewise.
3785         * config/libbid/_td_to_dd.c: Likewise.
3786         * config/libbid/_td_to_df.c: Likewise.
3787         * config/libbid/_td_to_di.c: Likewise.
3788         * config/libbid/_td_to_sd.c: Likewise.
3789         * config/libbid/_td_to_sf.c: Likewise.
3790         * config/libbid/_td_to_si.c: Likewise.
3791         * config/libbid/_td_to_tf.c: Likewise.
3792         * config/libbid/_td_to_udi.c: Likewise.
3793         * config/libbid/_td_to_usi.c: Likewise.
3794         * config/libbid/_td_to_xf.c: Likewise.
3795         * config/libbid/_tf_to_dd.c: Likewise.
3796         * config/libbid/_tf_to_sd.c: Likewise.
3797         * config/libbid/_tf_to_td.c: Likewise.
3798         * config/libbid/_udi_to_dd.c: Likewise.
3799         * config/libbid/_udi_to_sd.c: Likewise.
3800         * config/libbid/_udi_to_td.c: Likewise.
3801         * config/libbid/_unord_dd.c: Likewise.
3802         * config/libbid/_unord_sd.c: Likewise.
3803         * config/libbid/_unord_td.c: Likewise.
3804         * config/libbid/_usi_to_dd.c: Likewise.
3805         * config/libbid/_usi_to_sd.c: Likewise.
3806         * config/libbid/_usi_to_td.c: Likewise.
3807         * config/libbid/_xf_to_dd.c: Likewise.
3808         * config/libbid/_xf_to_sd.c: Likewise.
3809         * config/libbid/_xf_to_td.c: Likewise.
3810         * config/libbid/bid128.c: Likewise.
3811         * config/libbid/bid128_2_str.h: Likewise.
3812         * config/libbid/bid128_2_str_macros.h: Likewise.
3813         * config/libbid/bid128_2_str_tables.c: Likewise.
3814         * config/libbid/bid128_add.c: Likewise.
3815         * config/libbid/bid128_compare.c: Likewise.
3816         * config/libbid/bid128_div.c: Likewise.
3817         * config/libbid/bid128_fma.c: Likewise.
3818         * config/libbid/bid128_logb.c: Likewise.
3819         * config/libbid/bid128_minmax.c: Likewise.
3820         * config/libbid/bid128_mul.c: Likewise.
3821         * config/libbid/bid128_next.c: Likewise.
3822         * config/libbid/bid128_noncomp.c: Likewise.
3823         * config/libbid/bid128_quantize.c: Likewise.
3824         * config/libbid/bid128_rem.c: Likewise.
3825         * config/libbid/bid128_round_integral.c: Likewise.
3826         * config/libbid/bid128_scalb.c: Likewise.
3827         * config/libbid/bid128_sqrt.c: Likewise.
3828         * config/libbid/bid128_string.c: Likewise.
3829         * config/libbid/bid128_to_int16.c: Likewise.
3830         * config/libbid/bid128_to_int32.c: Likewise.
3831         * config/libbid/bid128_to_int64.c: Likewise.
3832         * config/libbid/bid128_to_int8.c: Likewise.
3833         * config/libbid/bid128_to_uint16.c: Likewise.
3834         * config/libbid/bid128_to_uint32.c: Likewise.
3835         * config/libbid/bid128_to_uint64.c: Likewise.
3836         * config/libbid/bid128_to_uint8.c: Likewise.
3837         * config/libbid/bid32_to_bid128.c: Likewise.
3838         * config/libbid/bid32_to_bid64.c: Likewise.
3839         * config/libbid/bid64_add.c: Likewise.
3840         * config/libbid/bid64_compare.c: Likewise.
3841         * config/libbid/bid64_div.c: Likewise.
3842         * config/libbid/bid64_fma.c: Likewise.
3843         * config/libbid/bid64_logb.c: Likewise.
3844         * config/libbid/bid64_minmax.c: Likewise.
3845         * config/libbid/bid64_mul.c: Likewise.
3846         * config/libbid/bid64_next.c: Likewise.
3847         * config/libbid/bid64_noncomp.c: Likewise.
3848         * config/libbid/bid64_quantize.c: Likewise.
3849         * config/libbid/bid64_rem.c: Likewise.
3850         * config/libbid/bid64_round_integral.c: Likewise.
3851         * config/libbid/bid64_scalb.c: Likewise.
3852         * config/libbid/bid64_sqrt.c: Likewise.
3853         * config/libbid/bid64_string.c: Likewise.
3854         * config/libbid/bid64_to_bid128.c: Likewise.
3855         * config/libbid/bid64_to_int16.c: Likewise.
3856         * config/libbid/bid64_to_int32.c: Likewise.
3857         * config/libbid/bid64_to_int64.c: Likewise.
3858         * config/libbid/bid64_to_int8.c: Likewise.
3859         * config/libbid/bid64_to_uint16.c: Likewise.
3860         * config/libbid/bid64_to_uint32.c: Likewise.
3861         * config/libbid/bid64_to_uint64.c: Likewise.
3862         * config/libbid/bid64_to_uint8.c: Likewise.
3863         * config/libbid/bid_b2d.h: Likewise.
3864         * config/libbid/bid_binarydecimal.c: Likewise.
3865         * config/libbid/bid_conf.h: Likewise.
3866         * config/libbid/bid_convert_data.c: Likewise.
3867         * config/libbid/bid_decimal_data.c: Likewise.
3868         * config/libbid/bid_decimal_globals.c: Likewise.
3869         * config/libbid/bid_div_macros.h: Likewise.
3870         * config/libbid/bid_dpd.c: Likewise.
3871         * config/libbid/bid_flag_operations.c: Likewise.
3872         * config/libbid/bid_from_int.c: Likewise.
3873         * config/libbid/bid_functions.h: Likewise.
3874         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3875         * config/libbid/bid_inline_add.h: Likewise.
3876         * config/libbid/bid_internal.h: Likewise.
3877         * config/libbid/bid_round.c: Likewise.
3878         * config/libbid/bid_sqrt_macros.h: Likewise.
3880 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
3882         * Makefile.in: Change copyright header to refer to version
3883         3 of the GNU General Public License and to point readers at the
3884         COPYING3 file and the FSF's license web page.
3885         * config.host: Likewise.
3887 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
3889         * config.host: Reorder and merge to match config.gcc change.
3891 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
3893         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3895 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
3897         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3898         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3899         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3900         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3902 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
3904         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3905         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3907 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3909         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3910         ia64/t-softfp-compat to tmake_file.
3912         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3914         * config/ia64/__divxf3.asm: New.
3915         * config/ia64/_fixtfdi.asm: Likewise.
3916         * config/ia64/_fixunstfdi.asm: Likewise.
3917         * config/ia64/_floatditf.asm: Likewise.
3918         * config/ia64/t-fprules-softfp: Likewise.
3919         * config/ia64/t-softfp-compat: Likewise.
3920         * config/ia64/tf-signs.c: Likewise.
3922 2009-01-18  Ben Elliston  <bje@au.ibm.com>
3924         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3926 2009-01-16  Ben Elliston  <bje@au.ibm.com>
3928         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3929         to tmake_file.
3931 2009-01-13  Ben Elliston  <bje@au.ibm.com>
3933         * config/t-softfp: New file.
3934         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3935         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3937 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
3939         * config.host: Add m32r*-*-rtems*.
3941 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
3943         * config.host: Add m32c*-*-rtems*.
3945 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3947         PR bootstrap/33100
3948         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3949         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3950         * configure: Regenerate.
3951         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3952         tmake_file here from gcc/config.gcc.
3953         Move extra_parts here from gcc/config.gcc.
3954         * config/i386/t-sol2: Move here from gcc/config/i386.
3955         Use gcc_srcdir instead of srcdir.
3957 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
3959         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3960         case.
3962 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
3964         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3966 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
3968         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3970 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
3972         Add picoChip port.
3973         * config.host: Add picochip-*-*.
3975 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
3977         * config.host: Match more processor names for Xtensa.
3979 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
3981         * config/i386/64/t-softfp-compat: Update comments.
3983 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3985         * config/i386/64/_divtc3-compat.c: Moved to ...
3986         * config/i386/64/_divtc3.c: Here.
3988         * config/i386/64/_multc3-compat.c: Moved to ...
3989         * config/i386/64/_multc3.c: Here.
3991         * config/i386/64/_powitf2-compat.c: Moved to ...
3992         * config/i386/64/_powitf2.c: Here.
3994         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3995         .c suffix instead of -compat.c.
3997 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
3999         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4000         (_FP_MUL_MEAT_D): Ditto.
4001         (_FP_DIV_MEAT_S): Ditto.
4002         (_FP_DIV_MEAT_D): Ditto.
4004 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4006         * Makefile.in: Add support for __sync_* libgcc functions.
4008 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4010         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4012 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4014         PR boostrap/36702
4015         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4016         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4018         * config/i386/64/t-fprules-softfp: Moved to ...
4019         * config/i386/64/t-softfp-compat: This.  New.
4021 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4023         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4024         Initialize f with 0.0.
4026 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4028         PR target/36669
4029         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4031         * config/i386/64/_divtc3-compat.c: New.
4032         * config/i386/64/_multc3-compat.c: Likewise.
4033         * config/i386/64/_powitf2-compat.c: Likewise.
4034         * config/i386/64/eqtf2.c: Likewise.
4035         * config/i386/64/getf2.c: Likewise.
4036         * config/i386/64/letf2.c: Likewise.
4037         * config/i386/64/t-fprules-softfp: Likewise.
4039 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4041         * config.host: Add i386/${host_address}/t-fprules-softfp to
4042         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4043         i[34567]86-*-linux*, x86_64-*-linux*.
4045         * configure.ac: Set host_address to 64 or 32 for x86.
4046         * configure: Regenerated.
4048         * Makefile.in (config.status): Also depend on
4049         $(srcdir)/config.host.
4051         * config/i386/32/t-fprules-softfp: New.
4052         * config/i386/32/tf-signs.c: Likewise.
4054         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4056 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4057             Uros Bizjak  <ubizjak@gmail.com>
4059         * config/i386/32/sfp-machine.h: New.
4061 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4063         * config/rs6000/t-ppccomm: Remove rules that conflict with
4064         auto-generated rules.
4066 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4068         * configure.ac: sinclude override.m4.
4069         * configure: Regenerate.
4071 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4073         * configure: Regenerate.
4075 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4077         * Makefile.in (DECNUMINC): Remove
4078         -I$(MULTIBUILDTOP)../../libdecnumber.
4079         * gstdint.h: New.
4081 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4083         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4084         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4085         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4086         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4087         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4088         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4089         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4090         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4091         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4092         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4093         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4094         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4095         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4096         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4098 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4100         * config.host (sh2[lbe]*-*-linux*): Allow target.
4102 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4104         * config/rs6000/t-ppccomm: Add build rules for new files.
4105         (LIB2ADD_ST): New variable.
4107 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4109         PR target/34210
4110         PR target/35508
4111         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4112         * config/t-avr: New file. Build 16bit libgcc functions.
4114 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4116         PR target/35401
4117         * config/t-slibgcc-darwin: Make install-leaf dependent on
4118         install-darwin-libgcc-stubs instead of install.
4120 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4122         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4123         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4124         sh-*-rtemscoff*): Remove cases.
4126 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4128         * Makefile.in (all): Use install-leaf rather than install.
4129         (install): Split most of the rule into...
4130         (install-leaf): ...this new one.
4132 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4133             Paolo Bonzini  <bonzini@gnu.org>
4135         PR target/30572
4136         * Makefile.in: Use @shlib_slibdir@ substitution to get
4137         correct install name on darwin.
4138         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4140 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
4142         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4143         cris-*-elf and cris-*-none.
4144         (crisv32-*-linux*): Similar, as cris-*-linux*.
4146 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4148         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4150 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4152         PR regression/33926
4153         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4154         * configure: Regenerated.
4156 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4158         * Makefile.in (dfp-filenames): Replace decimal_globals,
4159         decimal_data, binarydecimal and convert_data with
4160         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4161         and bid_convert_data, respectively.
4163 2007-09-17  Chao-ying Fu  <fu@mips.com>
4164             Nigel Stephens  <nigel@mips.com>
4166         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4167         * Makefile.in (fixed_point): Define.
4168         Check if fixed_point is yes to build support functions.
4169         * configure.ac: Check for fixed_point support.
4170         * configure: Regenerated.
4171         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4172         funcs, modes, from, to.
4174 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4176         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4178 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4180         * Makefile.in (dfp-filenames): Remove decUtility, add
4181         decDouble, decPacked, decQuad, decSingle.
4183 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4185         * config.host : Add x86_64-elf target.
4187 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4189         * configure.ac (set_have_cc_tls): Add a missing =.
4190         * configure: Regenerated.
4192 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4194         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4195         and x86_64-*-linux*.
4197         * config/t-tls: New file.
4199         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4201         * configure.ac: Include ../config/enable.m4 and
4202         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4203         supports TLS and substitute set_have_cc_tls.
4204         * configure: Regenerated.
4206 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4208         * Makefile.in: Use libbid for DFP when BID is enabled.
4210 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
4212         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4213         extra_parts. Add config/i386/t-cygming to tmake_file.
4214         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4216 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
4217             Danny Smith  <dannysmith@users.sourceforge.net>
4219         PR target/29498
4220         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4221         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
4222         * config/i386/t-crtfm: Compile crtfastmath.o with
4223         -minline-all-stringops.
4225 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
4227         * config.host (sparc-wrs-vxworks): New target.
4229 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
4231         * config.host: Recognize fido.
4233 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
4235         * configure: Check host, not target, for decimal float support.
4237 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
4239         * config/i386/t-crtpc: New file.
4240         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4241         (x86_64-*-linux*): Ditto.
4243 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
4245         * config.host (x86_64-*-mingw*): New target.
4247 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
4248             H.J. Lu  <hongjiu.lu@intel.com>
4250         * Makefile.in (enable_decimal_float): New.
4251         (DECNUMINC): Add
4252         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4253         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4254         (decbits-filenames): This.
4255         (decbits-objects): New.
4256         (libgcc-objects): Add $(decbits-objects).
4258         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4259         Substitute enable_decimal_float.
4260         * configure: Regenerated.
4262 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
4264         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4266 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
4268         * Makefile.in (install-info): New dummy target.
4270 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
4272         * config.host (bfin*-linux-uclibc*): Set extra_parts.
4274 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
4276         * Makefile.in: Add install-html and install-pdf dummy
4277         targets.
4279 2007-02-05  Roger Sayle  <roger@eyesopen.com>
4280             Daniel Jacobowitz  <dan@codesourcery.com>
4282         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4283         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4284         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4286 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4288         * Makefile.in (dec-filenames): Add decExcept.
4290 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4292         PR bootstrap/30469
4293         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4294         -fprofile-use.
4296 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4298         * configure.ac: Add --enable-version-specific-runtime-libs.
4299         Correct $slibdir default.
4300         * configure: Regenerated.
4302 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4304         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4306 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4308         PR target/30519
4309         * config.host (alpha*-*-linux*): Set extra_parts.
4311 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4313         * config/sh/t-linux: New.
4314         * config.host (sh*-*-linux*): Set tmake_file.
4316 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4318         * Makefile.in (install): Handle multilibs.
4320 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4322         * Makefile.in: Added .PHONY entry for documentation targets.
4324 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4326         * Makefile.in: Add empty info, html, dvi, pdf targets.
4328 2007-01-04  Mike Stump  <mrs@apple.com>
4330         * Makefile.in (MAKEINFO): Remove.
4331         (PERL): Likewise.
4333 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4335         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4336         * configure: Regenerate.
4337         * Makefile.in (host_subdir): Substitute it.
4338         (gcc_objdir): Use it.
4340 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4342         * config.host (ia64*-*-linux*): Set tmake_file.
4344 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4346         * Makefile.in (version): Define.
4348 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4349             Paolo Bonzini  <bonzini@gnu.org>
4351         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4352         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4353         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4354         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4355         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4356         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4357         * configure: Generated.