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