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