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