2013-06-06 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libgcc / ChangeLog
blob81edf447f03264450f47647a568def7fdf625643
1 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
3         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4         (mips64r5900el-*-elf*): New configurations.
6 2013-06-04  Alan Modra  <amodra@gmail.com>
8         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
10 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
12         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
14 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
16         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
17         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
18         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
20 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
22         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
23         (powerpc-wrs-vxworks): Likewise.
25 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
27         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
28         signal frames as well.
29         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
30         STACK_BIAS to the CFA offset.
32 2013-05-17  Richard Henderson  <rth@redhat.com>
34         PR target/49146
35         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
36         (execute_cfa_program): Use it when storing to fs->regs.
38 2013-05-08  Kai Tietz  <ktietz@redhat.com>
40         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
41         (__deregister_frame_info): Likewise.
43 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
45         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
46         NaN's payload.
48         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
50 2013-04-25  Alan Modra  <amodra@gmail.com>
52         * config.host: Match little-endian powerpc-linux.
54 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
56         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
57         as 'unsigned long long' instead of 'unsigned long'.
58         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
59         'signed long'.
61 2013-04-10  Julian Brown  <julian@codesourcery.com>
63         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
64         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
65         unsigned char/unsigned short.
66         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
68 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
70         PR other/55274
71         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
73 2013-04-04  Meador Inge  <meadori@codesourcery.com>
75         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
76         computing the location of the link register.
77         (aeabi_uldivmod): Ditto.
79 2013-03-27  Kai Tietz  <ktietz@redhat.com>
81         * config.host: Add support for cygwin x64 target.
82         * configure: Regenerated.
84 2013-03-26  Walter Lee  <walt@tilera.com>
86         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
87         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
89 2013-03-25  Kai Tietz  <ktietz@redhat.com>
91         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
93 2013-03-20  Robert Mason  <rbmj@verizon.net>
95         * config/vxlib-tls.c (__gthread_get_tsd_data,)
96         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
97         (__gthread_leave_tsd_dtor_context): Add prototypes.
98         (tls_delete_hook): Update.
100 2013-03-20  Catherine Moore  <clm@codesourcery.com>
101             Joseph Myers  <joseph@codesourcery.com>
102             Chao-ying Fu  <fu@mips.com>
104         * config/mips/mips16.S:  Don't build for microMIPS.
105         * config/mips/linux-unwind.h: Handle microMIPS frame.
106         * config/mips/crtn.S (fini, init): New labels.
108 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
110         PR tree-optimization/53265
111         * unwind-dw2.c (execute_cfa_program): Avoid
112         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
113         on targets with DWARF_FRAME_REGISTERS < 32.
115 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
117         PR target/49880
118         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
119         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
121 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
123         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
124         sandybridge processors.
126 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
128         PR target/56529
129         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
130         inclusion list.
132 2013-03-04  Edgar E. Iglesias <edgar.iglesias@gmail.com>
134         * config/microblaze/crti.S: Setup stack protection at entry
136 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
138         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
139         (__rotldi3): Shift bytewise if applicable.
141 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
143         * config/aarch64/sync-cache.c
144         (__aarch64_sync_cache_range): Silence warnings.
146 2013-02-25  Catherine Moore  <clm@codesourcery.com>
148         Revert:
149         2013-02-24  Catherine Moore  <clm@codesourcery.com>
150             Joseph Myers  <joseph@codesourcery.com>
151             Chao-ying Fu  <fu@mips.com>
153         * config/mips/mips16.S:  Don't build for microMIPS.
154         * config/mips/linux-unwind.h: Handle microMIPS frame.
155         * config/mips/crtn.S (fini, init): New labels.
157 2013-02-24  Catherine Moore  <clm@codesourcery.com>
158             Joseph Myers  <joseph@codesourcery.com>
159             Chao-ying Fu  <fu@mips.com>
161         * config/mips/mips16.S:  Don't build for microMIPS.
162         * config/mips/linux-unwind.h: Handle microMIPS frame.
163         * config/mips/crtn.S (fini, init): New labels.
165 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
166         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000 
167         as dividend.
169 2013-02-16  Alan Modra  <amodra@gmail.com>
171         PR target/55431
172         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
173         (ppc_fallback_frame_state): Always set up save locations for fp
174         and altivec.  Don't bother with non-callee-saved regs, r0-r13
175         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
177 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
179         PR target/54222
180         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
181         _ssmulHA, _ssmulSA.
182         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
183         _ssmulha3, _usmulusa3, _ssmulsa3.
184         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
185         (__muldi3): XCALL __muldi3_6 instead of rcall.
186         (__umulsidi3, __mulsidi3): New functions.
187         (do_prologue_saves, do_epilogue_restores): New .macros.
188         (__divdi3_moddi3): Use them.
189         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
190         (__usmulusa3, __ssmulsa3): New functions.
192 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
193             Jack Howarth  <howarth@bromo.med.uc.edu>
194             Patrick Marlier  <patrick.marlier@gmail.com>
196         PR libitm/55693
197         * config/darwin-crt-tm.c: Remove dummy functions hack.
199 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
201         PR target/54222
202         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
203         * config/avr/lib2-object.mk: New iterator to build objects from it.
204         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
205         lib2funcs.c.
206         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
207         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
208         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
209         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
210         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
211         * config/avr/lib1funcs-fixed.S: Implement them.
213 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
215         Update copyright years.
217 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
219         PR target/54601
220         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
221         Add crtcxa to extra_parts.
222         * config/rs6000/exit.h: New file.
223         * config/rs6000/cxa_atexit.c: New file.
224         * config/rs6000/cxa_finalize.c: New file.
225         * config/rs6000/crtcxa.c: New file.
226         * config/rs6000/t-aix-cxa: New file.
227         * config/rs6000/libgcc-aix-cxa.ver: New file.
229 2013-01-31  Nick Clifton  <nickc@redhat.com>
231         * config/v850/lib1funcs.S: Add support for e3v5 architecture
232         variant.
234 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
236         PR target/54222
237         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
238         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
239         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
240         _divQQ,  _divHQ,  _divHA,  _divSA,
241         _divUQQ, _divUHQ, _divUHA, _divUSA.
243 2013-01-26  David Holsgrove <david.holsgrove@xilinx.com>
245         * config.host(microblaze*-linux*): tmake_file: Remove
246         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
247         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
248         to exclude functions from being built with libgcc.c and use
249         the microblaze assembly.
251 2013-01-26  Edgar E. Iglesias <edgar.iglesias@gmail.com>
253         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
254         extra_parts.
256 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
258         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
259         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
260         __UINTPTR_TYPE__; also cast 'base' to the same type before the
261         alignment operation.
263 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
265         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
266         loop start address for cache clearing.
268 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
270         * config/avr/lib1funcs.S: Remove trailing blanks.
271         * config/avr/lib1funcs-fixed.S: Ditto.
273 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
275         * config/avr/avr-lib.h: Add GPL copyright notice.
277 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
279         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
280         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
281         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
282         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
284 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
286         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
287         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
289 2013-01-04  Nick Clifton  <nickc@redhat.com>
291         * config/v850/lib1funcs.S: Only provide CALLT support functions if
292         the CALLT instruction is supported.
294 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
296         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
297         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
299 2012-12-13  John Tytgat  <John@bass-software.com>
301         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
302         is 25.
304 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
306         PR libgcc/55451
307         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
308         undefined signed overflows.
310 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
312         PR target/55344
313         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
315 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
317         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
318         (FP_TRAPPING_EXCEPTIONS): Define.
319         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
320         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
322 2012-12-04  Richard Henderson  <rth@redhat.com>
324         PR bootstrap/55571
325         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
327 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
329         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
330         (FP_EX_SHIFT): Define.
331         (FP_TRAPPING_EXCEPTIONS): Define.
333 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
335         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
336         (FP_ROUNDMODE): Use FP_RND_MASK.
337         * config/aarch64/sfp-exceptions.c: New.
338         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
339         Use __sfp_handle_exceptions.
341 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
343         * config.host: (arm*-*-freebsd*): Remove.
344         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
345         (arm*-*-elf*): Remove.
346         (arm*-*-wince-pe*): Remove.
347         * arm/unwind-arm.c (struct fpa_reg): Delete.
348         (struct fpa_regs): Delete.
349         (phase1_vrs): Remove fpa element.
350         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
351         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
352         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
353         * ieee754-sf.S (floatundisf): Remove FPA support.
354         (floatdisf): Likewise.
355         * ieee75f-df.S (floatundidf): Likewise.
356         (floatdidf): Likewise.
358 2012-11-29  Kai Tietz  <ktietz@redhat.com>
360         PR target/55445
361         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
362         * unwind-generic.h: Likewise.
363         * unwind-seh.c: Likewise.
365 2012-11-28  Richard Henderson  <rth@redhat.com>
367         PR libgcc/48076
368         * emutls.c (__emutls_get_address): Avoid race condition between
369         obj->loc.offset read and emutls_key initialization.
371 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
373         Adjust decimal point of signed accum mode to GCC default.
375         PR target/54222
376         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
377         _divqq_helper.
378         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
379         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
380         (__mulha3, __mulsa3)
381         (__divqq3, __divha3, __divsa3): Adjust to new position of
382         decimal point of signed accum types.
384         (__mulusa3_round): New function.
385         (__mulusa3): Use it.
386         (__divqq_helper): New function.
387         (__udivuqq3): Use it.
389 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
391         PR bootstrap/55370
392         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
394 2012-11-18  Teresa Johnson  <tejohnson@google.com>
396         PR bootstrap/55051
397         * libgcov.c (gcov_exit): Remove merged program summary
398         comparison unless !GCOV_LOCKED.
400 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
402         * soft-fp: Updated from glibc upstream.
404 2012-11-06  Ian Lance Taylor  <iant@google.com>
406         * generic-morestack.c (__generic_morestack): Align the returned
407         stack pointer to a 32 byte boundary.
408         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
409         increment the return address until we have decided that we don't
410         have a varargs function.
411         (__morestack) [32-bit]: Align stack correctly when calling C
412         functions.
413         (__morestack) [64-bit]: Likewise.
415 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
417         * configure: Regenerate.
419 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
421         PR target/55175
422         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
423         * config/i386/sfp-machine.h: Guard exception handling
424         code with _SOFT_FLOAT.
425         * config/i386/32/sfp-machine.h: Guard rounding handling
426         code with _SOFT_FLOAT.
427         * config/i386/64/sfp-machine.h: Ditto.
429 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
431         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
432         as extra_parts.
434 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
436         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
437         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
438         when appropriate.  Correct structure element types.
439         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
440         -minline-all-stringops from compile flags.
442 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
444         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
446 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
448         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
450 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
452         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
453         tmake_file.
455 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
456             Jim MacArthur  <jim.macarthur@arm.com>
457             Marcus Shawcroft  <marcus.shawcroft@arm.com>
458             Nigel Stephens  <nigel.stephens@arm.com>
459             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
460             Richard Earnshaw  <rearnsha@arm.com>
461             Sofiane Naci  <sofiane.naci@arm.com>
462             Stephen Thomas  <stephen.thomas@arm.com>
463             Tejas Belagod  <tejas.belagod@arm.com>
464             Yufeng Zhang  <yufeng.zhang@arm.com>
466         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
467         * config/aarch64/crti.S: New file.
468         * config/aarch64/crtn.S: New file.
469         * config/aarch64/linux-unwind.h: New file.
470         * config/aarch64/sfp-machine.h: New file.
471         * config/aarch64/sync-cache.c: New file.
472         * config/aarch64/t-aarch64: New file.
473         * config/aarch64/t-softfp: New file.
475 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
477         * config/mmix/crti.S: Mark program and data addresses using PRELD.
478         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
479         no-longer-needed LDBU insns.
481 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
483         * config.host
484         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
485         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
487 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
489         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
491 2012-10-15  Matthias Klose  <doko@ubuntu.com>
493         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
495 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
497         * configure: Regenerate.
498         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
500 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
502         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
503         instructions for 64bit targets only.
505 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
507         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
508         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
509         * config/i386/32/sfp-machine.h: ... here.
510         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
511         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
512         New defines.
514 2012-10-07  Matthias Klose  <doko@ubuntu.com>
516         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
517         as unused.
518         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
520 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
522         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
523         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
524         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
525         (ElfW): Likewise.
527 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
529         PR other/53889
530         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
531         Fix parameter names.
533 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
535         PR target/33135
536         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
537         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
538         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
540 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
542         PR target/50457
543         * config/sh/linux-atomic.S: Delete.
544         * config/sh/linux-atomic.c: New.
545         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
546         linux-atomic.c.  Add cflags to disable warnings.
548 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
550         PR other/53889
551         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
552         function.
553         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
554         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
555         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
556         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
557         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
558         Likewise.
559         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
560         Likewise.
561         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
562         Likewise.
563         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
564         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
566 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
568         * config.host (hppa-*-openbsd*): New target.
569         * config/pa/t-openbsd: New file.
571 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
573         PR target/54222
574         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
575         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
576         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
577         (__divsa3): Use __negsi2 to negate r_quoL.
578         * config/avr/lib1funcs.S (FALIAS): New macro.
579         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
580         (__negsi2): ...this new function.
581         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
582         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
583         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
584         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
585         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
586         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
588 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
590         PR target/54089
591         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
592         (lshrsi3): Reimplement as lshrsi3_r0.
594 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
596         PR target/46191
597         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
598         of libgcc.a.
600 2012-09-07  Teresa Johnson  <tejohnson@google.com>
602         PR gcov-profile/54487
603         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
604         differences.
606 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
608         PR target/54461
609         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
610         not configured --with-avrlibc=no.
611         * config/avr/t-avrlibc: New file.
612         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
613         (DPBIT_FUNCS): Ditto.
614         (TPBIT_FUNCS): Ditto.
616 2012-09-04  Teresa Johnson  <tejohnson@google.com>
618         * libgcov.c (struct gcov_summary_buffer): New structure.
619         (gcov_histogram_insert): New function.
620         (gcov_compute_histogram): Ditto.
621         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
622         histograms during summary merging.
624 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
626         * config.host (x86_64-*-openbsd*): New target.
628 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
630         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
631         attribute.
633 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
635         PR target/54222
636         * config/avr/t-avr (conv_X): Rename to func_X.
638 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
640         PR target/54222
641         * config/avr/lib1funcs-fixed.S: New file.
642         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
643         after they are used.
644         (neg2, neg4): New macros.
645         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
646         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
647         (__umulhisi3): Speed up MUL variant if there is enough flash.
648         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
649         avr-modes.def.
650         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
651         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
652         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
653         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
654         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
655         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
656         (LIB2FUNCS_EXCLUDE): Add supported functions.
658 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
660         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
661         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
662         libgcc-s-objects.
663         * fixed-obj.mk: Only expand dependency if $o is not in
664         LIB2FUNCS_EXCLUDE.
666 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
668         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
670 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
672         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
673         depend on --enable-shared.
674         ($(lib1asmfuncs-o)): Use %.vis files independent of
675         --enable-shared.
676         * static-object.mk ($(base)$(objext), $(base).vis)
677         ($(base)_s$(objext)): Use same rules for visibility handling as in
678         shared-object.mk.
680 2012-08-21  Ian Lance Taylor  <iant@google.com>
682         * config/i386/morestack.S (__morestack_non_split): Increase amount
683         of space allocated for non-split code stack.
685 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
687         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
688         even if inhibit_libc.
690 2012-08-17  Julian Brown  <julian@codesourcery.com>
692         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
693         -fexceptions -fnon-call-exceptions if not defined.
694         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
695         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
697 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
699         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
700         type.
702 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
704         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
705         rs6000/t-slibgcc-aix.
707 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
709         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
711 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
713         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
715 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
717         PR driver/54171
718         * Makefile.in (version): Replace top_srcdir with srcdir.
720 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
722         * Makefile.in (version): set to BASE-VER file from gcc directory.
724 2012-08-01  Nick Clifton  <nickc@redhat.com>
726         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
727         Implements __clrsb for an HImode argument.
729 2012-07-31  Nick Clifton  <nickc@redhat.com>
731         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
732         Implements __clrsb for an HImode argument.
733         * config/stormy16/clrsbhi2.c: New file:
734         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
736 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
738         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
740 2012-07-19  Tristan Gingold  <gingold@adacore.com>
741             Richard Henderson  <rth@redhat.com>
743         * unwind-seh.c: New file.
744         * unwind-generic.h: Include windows.h for SEH.
745         (_Unwind_Exception): Use 6 private fields for SEH.
746         (_GCC_specific_handler): Declare.
747         * unwind-c.c (__gcc_personality_seh0): New function.
748         Adjust for SEH.
749         * config/i386/libgcc-cygming.ver: New file.
750         * config/i386/t-seh-eh: New file.
751         * config.host (x86_64-*-mingw*): Default to seh.
753 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
755         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
757 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
759         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
760         __builtin_expect when checking for exceptions.
761         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
763 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
765         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
766         function declaration.
767         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
768         (FP_RND_MASK): New.
769         * config/ia64/sfp-exceptions.c: New.
770         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
772 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
774         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
775         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
776         * config/i386/64/sfp-machine: ... (delete here) ...
777         * config/i386/sfp-machine.h: ... to here.
778         (FP_EX_MASK): Remove.
779         (FP_RND_MASK): New.
780         (FP_INIT_ROUNDMODE): Declare asm as volatile.
782 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
784         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
785         * config/i386/libgcc-sol2.ver: Ditto.
786         * config/i386/libgcc-glibc.ver: Ditto.
788 2012-06-11  Roland McGrath  <mcgrathr@google.com>
790         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
791         If __GLIBC__ is defined, refer to __pthread_key_create instead of
792         pthread_cancel.
794 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
796         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
797         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
798         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
799         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
800         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
801         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
802         * config/i386/64/sfp-machine: ... (delete here) ...
803         * config/i386/sfp-machine.h: ... to here.
804         (FP_EX_MASK): New.
805         (__sfp_handle_exceptions): New function declaration.
806         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
807         * config/i386/sfp-exceptions.c: New.
808         * config/i386/t-softfp: New.
809         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
810         i386/t-softfp to tmake_file.
812 2012-06-03  David S. Miller  <davem@davemloft.net>
814         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
815         change.
817 2012-05-31  David S. Miller  <davem@davemloft.net>
819         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
820         multiply and divide instructions on 32-bit when V9.
821         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
823 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
825         * config/arm/ieee754-df.S: Fix typos.
826         * config/arm/ieee754-sf.S: Fix typos.
827         * config/c6x/libunwind.S: Fix typos.
828         * config/epiphany/udivsi3-float.c: Fix typos.
829         * config/microblaze/muldi3_hard.S: Fix typos.
830         * config/picochip/adddi3.S: Fix typos.
831         * config/picochip/ashlsi3.S: Fix typos.
832         * config/picochip/ashrsi3.S: Fix typos.
833         * config/picochip/clzsi2.S: Fix typos.
834         * config/picochip/cmpsi2.S: Fix typos.
835         * config/picochip/divmod15.S: Fix typos.
836         * config/picochip/divmodhi4.S: Fix typos.
837         * config/picochip/divmodsi4.S: Fix typos.
838         * config/picochip/longjmp.S: Fix typos.
839         * config/picochip/lshrsi3.S: Fix typos.
840         * config/picochip/parityhi2.S: Fix typos.
841         * config/picochip/popcounthi2.S: Fix typos.
842         * config/picochip/setjmp.S: Fix typos.
843         * config/picochip/subdi3.S: Fix typos.
844         * config/picochip/ucmpsi2.S: Fix typos.
845         * config/picochip/udivmodhi4.S: Fix typos.
846         * config/picochip/udivmodsi4.S: Fix typos.
847         * config/spu/divv2df3.c: Fix typos.
848         * config/spu/mfc_multi_tag_release.c: Fix typos.
849         * config/spu/mfc_tag_release.c: Fix typos.
850         * configure.ac: Fix typos.
851         * configure: Regenerate.
853 2012-05-25  Ian Lance Taylor  <iant@google.com>
855         * config/i386/morestack.S (__morestack_non_split): Check whether
856         caller is varargs and needs %bp to hold the stack frame on return.
858 2012-05-25  Olivier Hainque  <hainque@adacore.com>
860         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
861         sequence in the non pic case on VxWorks.
863 2012-05-24  Olivier Hainque  <hainque@adacore.com>
865         * Makefile.in: Move dependency on install-unwind_h from
866         "install-leaf" to "install".
868 2012-05-24  Olivier Hainque  <hainque@adacore.com>
870         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
871         Use a separate command for stamp removals.
873 2012-05-21  Andrew Pinski  <apinski@cavium.com>
875         PR bootstrap/53183
876         * configure.ac: Define the default includes to being none.
877         * configure: Regenerate.
879 2012-05-16  Olivier Hainque  <hainque@adacore.com>
881         * Makefile.in (install-unwind_h): Rename into ...
882         (install-unwind_h-forbuild): New target.
883         (all): Use it instead of the former install-unwind_h.
884         (install-unwind_h): Reinstate, copy to user install destination
885         for include files, not to the internal gcc object directory one.
886         (install-leaf): Depend on it.
888 2012-05-15  Olivier Hainque  <hainque@adacore.com>
890         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
891         register numbers. LR_REGNO replaces R_LR.
892         (ucontext_for): New, helper for ...
893         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
894         and 5.3 of ...
895         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
897 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
899         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
900         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
901         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
902         i386/t-cpuinfo ...
903         (i[34567]86-*-*, x86_64-*-*): ... here.
905         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
906         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
908         * config/i386/i386-cpuinfo.c: Rename to ...
909         * config/i386/cpuinfo.c: ... this.
910         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
912         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
913         (libgcc_cv_init_priority): New test.
914         * configure: Regenerate.
915         * config.in: New file.
916         * Makefile.in (clean): Rename config.h to auto-target.h.
917         (config.h): Likewise.
918         (stamp-h): Likewise.
920         * config/i386/cpuinfo.c (auto-target.h): Include.
921         (CONSTRUCTOR_PRIORITY): Define.
922         (__cpu_indicator_init): Use it.
924 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
926         * longlong.h: Use a URL instead of an FSF postal address.
927         Replace spaces with tab.
929 2012-05-08  Teresa Johnson  <tejohnson@google.com>
931         * libgcov.c (gcov_clear, __gcov_reset): New functions.
932         (__gcov_dump): Ditto.
933         (gcov_dump_complete): New global variable.
934         (gcov_exit): Export hidden to enable use in L_gcov_dump.
935         (__gcov_flush): Outline functionality now in gcov_clear.
936         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
938 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
940         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
941         (mips*-*-linux*): Include mips/t-tpbit when long double is
942         16 bytes long.
944 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
946         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
947         (get_available_features): New argument. Check for AVX2.
948         (__cpu_indicator_init): Modify call to get_available_features.
950 2012-04-25  Alan Modra  <amodra@gmail.com>
952         * config/rs6000/crtsavevr.S: New file.
953         * config/rs6000/crtrestvr.S: New file.
954         * config/rs6000/t-savresfgpr: Build the above.
955         * config/rs6000/t-netbsd: Likewise.
957 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
959         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
961 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
963         * libgcc/config/i386/i386-cpuinfo.c: New file.
964         * libgcc/config/i386/t-cpuinfo: New file.
965         * libgcc/config.host: Include t-cpuinfo.
966         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
968 2012-04-24  Chao-ying Fu  <fu@mips.com>
970         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
972 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
974         struct siginfo vs. siginfo_t
976         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
977         siginfo_t instead of struct siginfo.
978         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
979         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
980         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
981         (ia64_handle_unwabi): Likewise.
982         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
983         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
984         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
985         (sh_fallback_frame_state): Likewise.
986         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
987         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
989 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
991         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
992         system call number.
994 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
996         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
997         if it hasn't been previously saved.
999 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1001         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1002         only for glibc.
1004 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
1006         PR target/52737
1007         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1008         instead of __AVR_HAVE_8BIT_SP__.
1010 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1012         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1013         (unw_table_entry): Use unw_word instead of unsigned long.
1014         (_Unwind_FindTableEntry): Likewise.
1015         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1016         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1017         (_Unwind_FindTableEntry): Likewise.
1018         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1019         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1020         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1021         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1022         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1023         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1024         (uw_init_context_1, uw_install_context): Likewise.
1025         (unw_word): Move to unwind-ia64.h
1027 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1029         * config/vms/vms-ucrt0.c: Update copyright years.
1030         Add a sanity check.
1031         (___gcc_main_flags): Declare.
1032         (__main): Check flags to remap argv and exit code.
1033         * config.host (*-*-*vms*): Adjust extra_parts.
1034         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1035         (crt0.o): Add.
1037 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
1039         * arm/lib1funcs.asm (ctzsi2): New function.
1040         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1041         * arm/t-linux (LIB1ASMFUNCS): Likewise.
1042         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1043         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1044         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1045         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1047 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
1049         * config.host: Add bits to support powerpc64-*-freebsd*.
1050         * config/rs6000/freebsd-unwind.h: New file.
1051         * config/rs6000/t-freebsd64: New file.
1053 2012-03-20  Richard Guenther  <rguenther@suse.de>
1055         PR gcov-profile/52627
1056         * libgcov.c (init_mx): Fix mutex name.
1058 2012-03-16  Tristan Gingold  <gingold@adacore.com>
1060         * config/ia64/vms-unwind.h: Remove ulong (and replace
1061         it by unw_reg where used).  Define unw_reg with __int64.
1063 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1065         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1066         Solaris 8 handling.
1067         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1068         Solaris 8 handling.
1069         (sparc_is_sighandler): Likewise.
1071 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1073         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1074         <= saved reg size.
1076 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1078         * config/arm/crtn.S: Fix typo.
1080 2012-03-13  Richard Guenther  <rguenther@suse.de>
1082         * libgcov.c: Remove stdio.h include and NULL un-define.
1084 2012-03-13  Richard Guenther  <rguenther@suse.de>
1086         PR target/52569
1087         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1089 2012-03-13  Richard Guenther  <rguenther@suse.de>
1091         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1093 2012-03-13  Richard Guenther  <rguenther@suse.de>
1095         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1096         and __gthread_mutex_init_function definitions.
1098 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1100         * config.host (mips*-*-openbsd*): Remove.
1102 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1104         * config.host: Remove alpha*-dec-osf5.1* handling.
1105         * config/alpha/gthr-posix.c: Remove.
1106         * config/alpha/libgcc-osf5.ver: Remove.
1107         * config/alpha/osf5-unwind.h: Remove.
1108         * config/alpha/t-osf-pthread: Remove.
1109         * config/alpha/t-slibgcc-osf: Remove.
1110         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1111         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1112         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1113         * mkmap-flat.awk: Remove osf_export handling.
1115 2012-03-12  Richard Guenther  <rguenther@suse.de>
1117         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1118         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1119         (__gthread_mutex_init_function): New function.
1120         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1122         PR gcov/49484
1123         * libgcov.c: Include gthr.h.
1124         (__gcov_flush_mx): New global variable.
1125         (init_mx, init_mx_once): New functions.
1126         (__gcov_flush): Protect self with a mutex.
1127         (__gcov_fork): Re-initialize mutex after forking.
1128         * unwind-dw2-fde.c: Change condition under which to use
1129         __GTHREAD_MUTEX_INIT_FUNCTION.
1131 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1133         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1134         * config/ia64/t-vms: Likewise.
1136 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1138         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1139         for Thumb-2.
1141 2012-03-07  Walter Lee  <walt@tilera.com>
1143         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1144         "arch_atomic_".
1145         (atomic_xor): Rename and move definition to
1146         config/tilepro/atomic.h.
1147         (atomic_nand): Ditto.
1148         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1149         "arch_atomic_".
1150         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1151         (arch_atomic_nand): Ditto.
1153 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1155         PR target/52507
1156         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1158 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1160         PR target/52505
1161         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1162         from RAM.
1164 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1166         PR target/52461
1167         PR target/52508
1168         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1169         if RAMPZ affects reading from RAM.
1170         (__tablejump_elpm__): Ditto.
1171         (.xload): Ditto.
1172         (__movmemx_hi): Ditto.
1173         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1174         (__do_global_dtors): Ditto.
1175         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1176         (__movmemx_hi): Ditto.
1178 2012-03-05  Richard Henderson  <rth@redhat.com>
1180         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1181         [ARM] (count_trailing_zeros): Use the builtin.
1183 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1185         * soft-fp: Imported from glibc upstream.
1187 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1189         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1190         for mingw-targets as attribute gcc_struct.
1192 2012-02-28  Ian Lance Taylor  <iant@google.com>
1194         * generic-morestack.c (__splitstack_releasecontext): Correct call
1195         to __morestack_release_segments.
1197 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1199         PR target/52390
1200         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1201         for __linux__ when removing signals from __morestack_fullmask.
1203 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1205         PR target/52261
1206         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1208 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1210         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1211         instead of HAVE_INITFINI_ARRAY.
1212         * config/ia64/crtend.S: Likewise.
1214 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1216         PR libstdc++/52300
1217         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1219         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1220         to w32-unwind.h header.
1222 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1224         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1225         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1226         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1227         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1229 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1231         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1233 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1235         PR libitm/52220
1236         * config/darwin-crt-tm.c: Correct typo.
1238 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1239             Patrick Marlier  <patrick.marlier@gmail.com>
1241         PR libitm/52220
1242         * config/darwin-crt-tm.c: Generate dummy functions.
1244 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1245             Patrick Marlier  <patrick.marlier@gmail.com>
1247         PR libitm/52042
1248         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1249         (__doTMRegistrations): Call it.
1250         (__doTMdeRegistrations): Likewise.
1252 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1253             Anatoly Sokolov <aesok@post.ru>
1254             Eric Weddington <eric.weddington@atmel.com>
1256         PR target/52261
1257         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1258         (__epilogue_restores__): Ditto.
1260 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1262         PR target/51921
1263         PR target/52205
1264         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1265         Solaris 11 and slightly reformat.
1266         (sparc_is_sighandler): Likewise.
1268 2012-02-14  Walter Lee  <walt@tilera.com>
1270         * config.host: Handle tilegx and tilepro.
1271         * config/tilegx/sfp-machine.h: New file.
1272         * config/tilegx/sfp-machine32.h: New file.
1273         * config/tilegx/sfp-machine64.h: New file.
1274         * config/tilegx/t-crtstuff: New file.
1275         * config/tilegx/t-softfp: New file.
1276         * config/tilegx/t-tilegx: New file.
1277         * config/tilepro/atomic.c: New file.
1278         * config/tilepro/atomic.h: New file.
1279         * config/tilepro/linux-unwind.h: New file.
1280         * config/tilepro/sfp-machine.h: New file.
1281         * config/tilepro/softdivide.c: New file.
1282         * config/tilepro/softmpy.S: New file.
1283         * config/tilepro/t-crtstuff: New file.
1284         * config/tilepro/t-tilepro: New file.
1286 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1288         PR libstdc++/51296
1289         PR libstdc++/51906
1290         * gthr-posix.h: Allow static initializer macros to be disabled.
1291         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1293 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1295         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1296         Add t-slibgcc-libgcc to tmake_file.
1297         * config/mips/libgcc-mips16.ver: Revert previous patch.
1298         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1300 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1301             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1303         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1304         * config/cr16/crti.S: New file.
1305         * config/cr16/crtlibid.S: New file.
1306         * config/cr16/crtn.S: New file.
1307         * config/cr16/lib1funcs.S: New file.
1308         * config/cr16/t-cr16: New file.
1309         * config/cr16/t-crtlibid: New file.
1310         * config/cr16/unwind-dw2.h: New file.
1311         * config/cr16/unwind-cr16.c: New file.
1312         * config/cr16/divmodhi3.c: New file.
1314 2012-01-25  Alan Modra  <amodra@gmail.com>
1316         * config/rs6000/t-linux64: Delete.  Move..
1317         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1318         * config/rs6000/t-linux: ..and libgcc flags to here.
1320 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1322         * config.host (i[34567]86-*-interix3*):
1323         Change triplet to i[34567]86-*-interix[3-9]*.
1324         * configure: Regenerate.
1326 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1327             Richard Sandiford  <rdsandiford@googlemail.com>
1329         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1330         * config/mips/mips16.S (__mips16_rdhwr): New function.
1331         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1333 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1335         * libgcov.c (__gcov_init): Ignore objects with no functions.
1337 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1339         PR target/49868
1340         Extend __pgmx semantics to linearize memory.
1341         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1342         * config/avr/lib1funcs.S (__xload_1): New function.
1343         (__movmemx_qi, __movmemx_hi): New functions.
1344         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1345         semantics.
1347 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1349         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1350         purported sigacthandler address isn't null before dereferencing it.
1351         (sparc_is_sighandler): Likewise.
1353 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1355         PR ada/41929
1356         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1357         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1358         (sparc_is_sighandler): Likewise.
1359         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1361 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1363         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1364         compatibility thunks...
1365         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1366         (crtbeginS.o, crtendS.o): ... and these to ...
1367         * config/ia64/t-ia64-elf: ... this new file.
1368         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1369         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1371 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1373         * configure: Regenerate.
1374         * config/s390/t-crtstuff: Remove -fPIC.
1376 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1378         PR bootstrap/51006
1379         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1380         for NetBSD.
1382 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1384         PR target/51345
1385         * config/avr/lib1funcs.S: Remove FIXME comments.
1386         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1388 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1390         Implement light-weight DImode support.
1391         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1392         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1393         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1394         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1396 2011-12-30  Nathan Sidwell  <nathan@acm.org>
1398         * libgcov.c (gcov_crc32): Remove global var.
1399         (free_fn_data): New function.
1400         (buffer_fn_data): Pass in filename, more robust error recovery.
1401         (crc32_unsigned): New function.
1402         (gcov_exit): More robust detection of new program. More robust
1403         error recovery.
1404         (__gcov_init): Do not update program's crc here.
1406 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1408         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1410 2011-12-21  Ian Lance Taylor  <iant@google.com>
1412         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1414 2011-12-20  Ian Lance Taylor  <iant@google.com>
1416         * config/i386/morestack.S (__morestack_non_split): If there is
1417         enough stack space already, don't split.  Ask for more stack space
1418         than we required.
1420 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1422         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1423         `sys/sdt.h'.
1424         (_Unwind_DebugHook): New function.
1425         (uw_restore_core_regs): New define.
1426         (unwind_phase2): Use uw_restore_core_regs instead of
1427         restore_core_regs.
1428         (unwind_phase2_forced): Likewise.
1429         (__gnu_Unwind_Resume): Likewise.
1431 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1433         * config/alpha/linux-unwind.h: Update copyright years.
1434         (MD_FROB_UPDATE_CONTEXT): New define.
1435         (alpha_frob_update_context): New function.
1437 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1439         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1440         tmake_file rather replacing it.
1442 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1444         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1445         function is not used for PPC64.
1446         (save_world): Amend comments.  Update the VRsave mask to reflect the
1447         saved regs.
1448         (rest_world): Update comments, do not  clobber r10, do not use r8.
1449         (eh_rest_world_r10): Amend comments, do not use r8.
1450         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1451         no longer used, move restore of CR and target address to the end of
1452         the routine.
1454 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1456         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1457         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1459 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1461         PR target/49313
1462         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1463         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1465 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
1467         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1469 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
1471         PR target/49313
1472         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1473         * config/avr/lib1funcs.S (__muldi3): New function.
1475 2011-12-06  Andrew Pinski  <apinski@cavium.com>
1477         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1478         size of func_ptr.
1479         (__frame_dummy_init_array_entry): Likewise.
1481 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
1483         Forward-port from gcc-4_6-branch r181936 2011-12-02.
1485         PR target/51345
1486         PR target/51002
1487         * config/avr/lib1funcs.S (__prologue_saves__,
1488         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1489         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
1491 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
1493         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1495 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1497         PR other/51272
1498         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1499         (_ITM_deregisterTMCloneTable): Likewise.
1500         (__register_frame_info): Fix unused warning.
1501         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1502         pthread_default_stacksize_np): Likewise.
1503         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1505 2011-11-29  DJ Delorie  <dj@redhat.com>
1507         * config.host (rl78-*-elf): New case.
1508         * config/rl78: New directory for the Renesas RL78.
1510 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
1512         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
1513         formatting.
1515 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1517         PR other/51022
1518         * config/rs6000/t-savresfgpr: New file.
1519         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1520         $(srcdir)/config/rs6000/eabi.S.
1521         * config/rs6000/t-ppccomm-ldbl: Remove.
1522         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1523         tmake_file.
1524         (powerpc-*-eabispe*): Likewise.
1525         (powerpc-*-eabi*): Likewise.
1526         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1527         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1528         to tmake_file, remove rs6000/t-ppccomm-ldbl.
1529         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1530         tmake_file.
1531         (powerpc-*-eabisim*): Likewise.
1532         (powerpc-*-elf*): Likewise.
1533         (powerpc-*-eabialtivec*): Likewise.
1534         (powerpc-xilinx-eabi*): Likewise.
1535         (powerpc-*-rtems*): Likewise.
1536         (powerpcle-*-elf*): Likewise.
1537         (powerpcle-*-eabisim*): Likewise.
1538         (powerpcle-*-eabi*): Likewise.
1540 2011-11-27  Ian Lance Taylor  <iant@google.com>
1542         * generic-morestack.c (__splitstack_find): Check for NULL old
1543         stack value.
1544         (__splitstack_resetcontext): New function.
1545         (__splitstack_releasecontext): New function.
1546         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1548 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1550         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1552 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1554         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1556 2011-11-26  Richard Henderson  <rth@redhat.com>
1558         * config/m68k/linux-atomic.c: New file.
1559         * config/m68k/t-linux: New file.
1560         * config.host (m68k-uclinux, m68k-linux): Use it.
1562 2011-11-26  Richard Henderson  <rth@redhat.com>
1564         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1565         (__TMC_END__): Only declare if hidden is available; in the definition,
1566         if hidden is unavailable add a null record.
1567         (deregister_tm_clones, register_tm_clones): New.
1568         (__do_global_dtors_aux, frame_dummy): Use them.
1569         (__do_global_dtors, __do_global_ctors_1): Likewise.
1571 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1573         * config/darwin-crt-tm.c: New file.
1574         * config.host (darwin): Build crttms.o crttme.o to provide
1575         startup and shutdown for tm clones.
1576         * config/t-darwin (crttms.o): New build rule.
1577         (crttme.o): Likewise.
1579 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1581         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1582         et al.
1584 2011-11-21  Richard Henderson  <rth@redhat.com>
1586         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1587         (__TMC_LIST__, __TMC_END__): New.
1588         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1589         (__do_global_dtors): Likewise.
1590         (frame_dummy): Call _ITM_registerTMCloneTable.
1591         (__do_global_ctors_1): Likewise.
1593 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1595         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1596         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1597         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1598         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1599         * config/i386/t-darwin64: Remove.
1600         * config/sh/t-netbsd (LIB2ADD): Remove.
1602 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1604         PR target/49313
1605         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1606         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1607         * config/avr/lib1funcs.S (wmov): New assembler macro.
1608         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1609         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1610         (__udivmod64): New function.
1611         (__negdi2): New function.
1613 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1615         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1616         *-*-freebsd*aout*): Remove.
1618 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1620         * static-object.mk (c_flags-$o): Save c_flags.
1621         ($(base)$(objext)): Use it.
1623 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1625         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1627 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1629         PR target/49868
1630         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1631         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1632         New functions.
1634 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1636         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1637         functions.
1638         (aeabi_uidivmod): Likewise.
1639         (umodsi3): Likewise.
1640         (divsi3): Likewise.
1641         (aeabi_idivmod): Likewise.
1642         (modsi3): Likewise.
1644 2011-11-16  Tristan Gingold  <gingold@adacore.com>
1646         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1648 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
1650         PR target/49868
1651         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
1652         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1654 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1656         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1657         tmake_file list.
1658         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1659         * config/pa/t-stublib64: Delete.
1661 2011-11-12  Richard Henderson  <rth@redhat.com>
1663         * config/rs6000/linux-unwind.h (frob_update_context): Properly
1664         cast the pointer argument to _Unwind_SetGRPtr.
1666 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1668         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1670 2011-11-09  Ian Lance Taylor  <iant@google.com>
1672         * generic-morestack.c: Include <string.h>.
1673         (uintptr_type): Define.
1674         (struct initial_sp): Add dont_block_signals field.  Reduce size of
1675         extra array by 1.
1676         (allocate_segment): Set prev field to NULL.  Don't set
1677         __morestack_current_segment or __morestack_segments.
1678         (__generic_morestack): Update current->prev and *pp after calling
1679         allocate_segment.
1680         (__morestack_block_signals): Don't do anything if
1681         dont_block_signals is set.
1682         (__morestack_unblock_signals): Likewise.
1683         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1684         uintptr_type.
1685         (__splitstack_block_signals): New function.
1686         (enum __splitstack_content_offsets): Define.
1687         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1688         (__splitstack_makecontext): New function.
1689         (__splitstack_block_signals_context): New function.
1690         (__splitstack_find_context): New function.
1691         * config/i386/morestack.S (__morestack_get_guard): New function.
1692         (__morestack_set_guard, __morestack_make_guard): New functions.
1693         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1695 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1697         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1698         (i[34567]86-*-mingw*): ... here.
1699         (x86_64-*-mingw*): ... here.
1701 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1703         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1705 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1707         * libgcov.c (struct gcov_fn_buffer): New struct.
1708         (buffer_fn_data): New helper.
1709         (gcov_exit): Rework for new gcov data structures.
1711 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1713         PR target/49313
1714         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1716 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1718         * config.host (tmake_file): Correct comment.
1719         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1720         t-libgcc-pic.
1721         (bfin*-uclinux*): Likewise.
1722         (bfin*-linux-uclibc*): Likewise.
1723         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1725         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1726         assigning.
1727         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1728         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1729         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1730         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1731         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1732         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1733         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1734         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1735         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1736         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1737         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1738         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1739         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1741         * config/bfin/t-elf: Remove.
1742         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1744 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1746         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1747         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1748         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1749         (lm32-*-elf*): ... this.
1750         (lm32-*-rtems*): ... and this.
1751         Add to tmake_file.
1752         (m32r-*-rtems*): Add to tmake_file.
1753         (moxie-*-rtems*): Likewise.
1754         (sparc-*-rtems*): Likewise.
1755         Remove t-rtems from tmake_file.
1756         (sparc64-*-rtems*): Likewise.
1757         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1758         instead.
1760 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1762         PR bootstrap/50982
1763         * config/gthr-posix.h: Move ...
1764         * gthr-posix.h: ... here.
1765         * config/gthr-lynx.h: Reflect this.
1766         * config/gthr-vxworks.h: Likewise.
1767         * config/rs6000/gthr-aix.h: Likewise.
1768         * configure.ac (target_thread_file): Likewise.
1769         * configure: Regenerate.
1771 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1773         * config.host (arm*-*-rtemseabi*): New target.
1775 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1777         PR other/50991
1778         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1779         extra-parts.
1781 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1783         * config.host (epiphany-*-elf*): New configuration.
1784         * config/epiphany: New Directory.
1786 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1788         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1789         * config/avr/t-rtems: New.
1790         Filter out _exit from LIB1ASMFUNCS.
1792 2011-11-04  David S. Miller  <davem@davemloft.net>
1794         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1795         * configure: Rebuild.
1797 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1799         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1800         variable.
1802 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1804         PR target/50931
1805         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1806         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1808 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1810         PR target/50989
1811         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1813 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1815         * config/c6x/t-elf (LIB2ADDEH): Set.
1816         * config/c6x/t-c6x-elf: Remove.
1818 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1820         * config/i386/sol2-ci.S: Rename to ...
1821         * config/i386/crti.S: ... this.
1822         * config/i386/sol2-cn.S: Rename to ...
1823         * config/i386/crtn.S: ... this.
1824         * config/sparc/sol2-ci.S: Rename to ...
1825         * config/sparc/crti.S: ... this.
1826         * config/sparc/sol2-cn.S: Rename to ...
1827         * config/sparc/crtn.S: ... this.
1828         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1829         (crti.o, crtn.o): Remove.
1831 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1833         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1835 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1837         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1839 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1841         * config.host (crisv32-*-none, cris-*-none): Remove.
1842         (crisv32-*-elf): Append to tmake_file, don't just set it.
1843         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1845 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1847         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1848         (ecrtn$(objext)): Likewise.
1849         (ncrti$(objext)): Likewise.
1850         (ncrtn$(objext)): Likewise.
1852 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1854         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1856 2011-11-02  David S. Miller  <davem@davemloft.net>
1858         * configure.ac: Set host_address on sparc too.
1859         * configure: Regenerate.
1860         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1861         based upon host_address.
1862         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1864 2011-11-02  Jason Merrill  <jason@redhat.com>
1866         * config/rs6000/t-ppccomm: Add missing \.
1868 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1870         * gthr-single.h, gthr.h: New files.
1871         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1872         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1873         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1874         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1875         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1876         * configure.ac (thread_header): New variable.
1877         Set it depending on target_thread_file.
1878         (gthr-default.h): Link from $thread_header.
1879         * configure: Regenerate.
1880         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1882 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1884         * configure.ac (tm_file_): New variable.
1885         Determine from tm_file.
1886         (tm_file, tm_defines): Substitute.
1887         * configure: Regenerate.
1888         * mkheader.sh: New file.
1889         * Makefile.in (clean): Remove libgcc_tm.h.
1890         ($(objects)): Depend on libgcc_tm.h.
1891         (libgcc_tm_defines, libgcc_tm_file): New variables.
1892         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1893         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1894         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1895         ($(extra-parts)): Depend on libgcc_tm.h.
1896         * config.host (tm_defines, tm_file): New variable.
1897         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1898         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1899         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1900         (avr-*-rtems*): Likewise.
1901         (avr-*-*): Likewise.
1902         (frv-*-elf): Likewise.
1903         (frv-*-*linux*): Likewise.
1904         (h8300-*-rtems*): Likewise.
1905         (h8300-*-elf*): Likewise.
1906         (i[34567]86-*-darwin*): Likewise.
1907         (x86_64-*-darwin*): Likewise.
1908         (rx-*-elf): Likewise.
1909         (tic6x-*-uclinux): Likewise.
1910         (tic6x-*-elf): Likewise.
1911         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1912         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1913         * config/i386/cygming-crtbegin.c: Likewise.
1914         * config/i386/cygming-crtend.c: Likewise.
1915         * config/ia64/fde-vms.c: Likewise.
1916         * config/ia64/unwind-ia64.c: Likewise.
1917         * config/libbid/bid_gcc_intrinsics.h: Likewise.
1918         * config/rs6000/darwin-fallback.c: Likewise.
1919         * config/stormy16/lib2funcs.c: Likewise.
1920         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1921         * crtstuff.c: Likewise.
1922         * dfp-bit.h: Likewise.
1923         * emutls.c: Likewise.
1924         * fixed-bit.c: Likewise.
1925         * fp-bit.c: Likewise.
1926         * generic-morestack-thread.c: Likewise.
1927         * generic-morestack.c: Likewise.
1928         * libgcc2.c: Likewise.
1929         * libgcov.c: Likewise.
1930         * unwind-dw2-fde-dip.c: Likewise.
1931         * unwind-dw2-fde.c: Likewise.
1932         * unwind-dw2.c: Likewise.
1933         * unwind-sjlj.c: Likewise.
1935 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1937         * configure.ac: Include ../config/picflag.m4.
1938         (GCC_PICFLAG): Call it.
1939         Substitute.
1940         * configure: Regenerate.
1941         * Makefile.in (gcc_srcdir): Remove.
1942         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1943         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1944         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1945         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1946         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1947         Use $<.
1948         Remove comment.
1949         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1950         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1951         to refer to libgcc2.c.
1952         Use $<.
1953         * config/darwin-64.c: New file.
1954         * config/darwin-crt3.c: Remove comment.
1955         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1956         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1957         config/udivmodsi4.c: New files.
1958         * config/memcmp.c, config/memcpy.c, config/memmove.c,
1959         config/memset.c: New files.
1960         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1961         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1962         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1963         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1964         * config/t-openbsd-thread: New file.
1965         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1966         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1967         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1968         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1969         qrnnd.S.
1970         Adapt filename.
1971         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1972         to refer to gthr-posix.c.
1973         * config/alpha/t-vms (LIB2ADD): Set.
1974         * config/alpha/vms-gcc_shell_handler.c: New file.
1975         * config/arm/bpabi.c, config/arm/fp16.c,
1976         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1977         config/arm/unaligned-funcs.c: New files.
1978         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1979         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1980         * config/arm/t-linux: Likewise.
1981         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1982         * config/arm/t-netbsd: New file.
1983         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1984         * config/arm/t-symbian (LIB2ADD_ST): Set.
1985         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1986         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1987         * config/bfin/t-elf: New file.
1988         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1989         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1990         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1991         config/c6x/ltf.c: New files.
1992         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1993         (HOST_LIBGCC2_CFLAGS): Set.
1994         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1995         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1996         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1997         New files.
1998         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1999         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2000         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2001         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2002         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2003         files.
2004         * config/frv/t-frv (LIB2ADD): Set.
2005         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2006         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2007         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2008         config/h8300/popcounthi2.c: New files.
2009         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2010         * config/i386/gthr-win32.c: New file.
2011         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2012         * config/i386/t-cygwin: Likewise.
2013         * config/i386/t-darwin, config/i386/t-darwin64,
2014         config/i386/t-gthr-win32, config/i386/t-interix: New files.
2015         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2016         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2017         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2018         * config/ia64/quadlib.c: New file.
2019         * config/ia64/t-hpux (LIB2ADD): Set.
2020         * config/ia64/t-ia64: Add comment.
2021         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2022         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2023         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2024         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2025         * config/m32c/t-m32c (LIB2ADD): Set.
2026         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2027         * config/m32r/t-m32r: Likewise.
2028         * config/m68k/fpgnulib.c: New file.
2029         * config/m68k/t-floatlib (LIB2ADD): Set.
2030         (xfgnulib.c): New target.
2031         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2032         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2033         * config/mep/t-mep (LIB2ADD): Set.
2034         * config/microblaze/divsi3.asm: Rename to divsi3.S.
2035         * config/microblaze/moddi3.asm: Rename to moddi3.S.
2036         * config/microblaze/modsi3.asm: Rename to modsi3.S.
2037         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2038         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2039         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2040         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2041         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2042         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2043         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2044         New files.
2045         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2046         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2047         * config/pa/fptr.c, config/pa/lib2funcs.S,
2048         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2049         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2050         (LIB2ADD, LIB2ADD_ST): Set.
2051         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2052         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2053         Set.
2054         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2055         * config/pdp11/t-pdp11: New file.
2056         * config/picochip/libgccExtras/adddi3.S,
2057         config/picochip/libgccExtras/ashlsi3.S,
2058         config/picochip/libgccExtras/ashrsi3.S,
2059         config/picochip/libgccExtras/clzsi2.S,
2060         config/picochip/libgccExtras/cmpsi2.S,
2061         config/picochip/libgccExtras/divmod15.S,
2062         config/picochip/libgccExtras/divmodhi4.S,
2063         config/picochip/libgccExtras/divmodsi4.S,
2064         config/picochip/libgccExtras/lshrsi3.S,
2065         config/picochip/libgccExtras/parityhi2.S,
2066         config/picochip/libgccExtras/popcounthi2.S,
2067         config/picochip/libgccExtras/subdi3.S,
2068         config/picochip/libgccExtras/ucmpsi2.S,
2069         config/picochip/libgccExtras/udivmodhi4.S,
2070         config/picochip/libgccExtras/udivmodsi4.S: New files.
2071         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2072         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2073         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2074         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2075         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2076         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2077         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2078         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2079         files.
2080         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2081         (HOST_LIBGCC2_CFLAGS): Set.
2082         * config/rs6000/t-darwin64: New file.
2083         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2084         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2085         * config/rs6000/t-ppccomm (LIB2ADD): Add
2086         $(srcdir)/config/rs6000/tramp.S.
2087         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2088         Add  $(srcdir)/config/rs6000/eabi.S.
2089         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2090         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2091         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2092         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2093         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2094         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2095         * config/rs6000/tramp.S: New file.
2096         * config/s390/t-tpf: Remove.
2097         * config/sh/linux-atomic.S: New file.
2098         * config/sh/t-linux (LIB2ADD): Set.
2099         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2100         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2101         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2102         to unwind-dw2.c.
2103         (HOST_LIBGCC2_CFLAGS): Set.
2104         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2105         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2106         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2107         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2108         config/spu/mfc_multi_tag_release.c,
2109         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2110         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2111         config/spu/multi3.c: New files.
2112         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2113         (HOST_LIBGCC2_CFLAGS): Set.
2114         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2115         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2116         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2117         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2118         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2119         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2120         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2121         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2122         config/stormy16/umodsi3.c: New files.
2123         * config/xtensa/lib2funcs.S: New file.
2124         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2125         * config/xtensa/t-xtensa (LIB2ADD): Set.
2126         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2127         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2128         Add t-freebsd-thread to tmake_file for posix threads.
2129         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2130         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2131         (*-*-lynxos*): Likewise.
2132         (*-*-netbsd*): Likewise.
2133         (*-*-openbsd*): Likewise.
2134         Add t-openbsd-thread to tmake_file for posix threads.
2135         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2136         (*-*-vxworks*): Set tmake_file.
2137         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2138         (alpha*-*-freebsd*): Likewise.
2139         (alpha*-*-netbsd*): Likewise.
2140         (alpha*-*-openbsd*): Likewise.
2141         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2142         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2143         (alpha*-dec-*vms*): Likewise.
2144         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2145         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2146         (bfin*-uclinux*): Likewise.
2147         (bfin*-linux-uclibc*): Likewise.
2148         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2149         (crisv32-*-none): Likewise.
2150         (cris-*-elf): Likewise.
2151         (cris-*-none): Likewise.
2152         (cris-*-linux*, crisv32-*-linux*): Likewise.
2153         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2154         tmake_file.
2155         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2156         tmake_file.
2157         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2158         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2159         (x86_64-*-elf*): Likewise.
2160         (i[34567]86-*-nto-qnx*): Likewise.
2161         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2162         win32 threads.
2163         (x86_64-*-mingw*): Likewise.
2164         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2165         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2166         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2167         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2168         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2169         tmake_file.
2170         (mipsisa64sr71k-*-elf*): Likewise.
2171         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2172         (mips-*-elf*, mipsel-*-elf*): Likewise.
2173         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2174         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2175         (mips*-*-rtems*): Likewise.
2176         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2177         to tmake_file.
2178         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2179         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2180         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2181         (spu-*-elf*): Likewise.
2182         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2184 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2186         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2187         $(srcdir) to refer to $(LIB1ASMSRC).
2188         Use $<.
2189         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2190         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2191         config/arm/lib1funcs.S: New files.
2192         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2193         * config/arm/t-arm: New file.
2194         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2195         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2196         config/arm/t-strongarm-elf: New files.
2197         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2198         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2199         * config/avr/lib1funcs.S: New file.
2200         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2201         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2202         * config/c6x/lib1funcs.S: New file.
2203         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2204         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2205         * config/frv/lib1funcs.S: New file.
2206         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2207         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2208         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2209         * config/ia64/__divxf3.asm: Rename to ...
2210         * config/ia64/__divxf3.S: ... this.
2211         Adapt lib1funcs.asm filename.
2212         * config/ia64/_fixtfdi.asm: Rename to ...
2213         * config/ia64/_fixtfdi.S: ... this.
2214         Adapt lib1funcs.asm filename.
2215         * config/ia64/_fixunstfdi.asm: Rename to ...
2216         * config/ia64/_fixunstfdi.S: ... this.
2217         Adapt lib1funcs.asm filename.
2218         * config/ia64/_floatditf.asm: Rename to ...
2219         * config/ia64/_floatditf.S: ... this.
2220         Adapt lib1funcs.asm filename.
2221         * config/ia64/lib1funcs.S: New file.
2222         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2223         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2224         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2225         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2226         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2227         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2228         * config/mep/lib1funcs.S: New file.
2229         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2230         * config/mips/mips16.S: New file.
2231         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2232         * config/pa/milli64.S: New file.
2233         * config/pa/t-linux, config/pa/t-linux64: New files.
2234         * config/picochip/lib1funcs.S: New file.
2235         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2236         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2237         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2238         * config/sh/t-netbsd: New file.
2239         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2240         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2241         * config/sh/t-sh64: New file.
2242         * config/sparc/lb1spc.S: New file.
2243         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2244         filename.
2245         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2246         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2247         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2248         config/xtensa/lib1funcs.S: New files.
2249         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2250         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2251         tmake_file.
2252         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2253         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2254         (arm*-*-linux*): Likewise.
2255         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2256         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2257         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2258         (arm*-*-ecos-elf): Likewise.
2259         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2260         (arm*-*-rtems*): Likewise.
2261         (arm*-*-elf): Likewise.
2262         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2263         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2264         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2265         (bfin*-uclinux*): Likewise.
2266         (bfin*-linux-uclibc*): Likewise.
2267         (bfin*-rtems*): Likewise.
2268         (bfin*-*): Likewise.
2269         (fido-*-elf): Merge into m68k-*-elf*.
2270         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2271         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2272         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2273         (h8300-*-elf*): Likewise.
2274         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2275         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2276         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2277         (i[34567]86-*-mingw*): Likewise.
2278         (x86_64-*-mingw*): Likewise.
2279         (i[34567]86-*-interix3*): Likewise.
2280         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2281         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2282         (m68k-*-elf*): Also handle fido-*-elf.
2283         Add m68k/t-floatlib to tmake_file.
2284         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2285         (m68k-*-linux*): Likewise.
2286         (m68k-*-rtems*): Likewise.
2287         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2288         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2289         sh64*-*-*.
2290         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2291         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2292         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2293         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2294         sh/t-netbsd to tmake_file.
2295         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2296         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2297         (sh-wrs-vxworks): Likewise.
2298         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2299         *-leon[3-9]*.
2300         (v850*-*-*): Add v850/t-v850 to tmake_file.
2301         (vax-*-linux*): Add vax/t-linux to tmake_file.
2302         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2304 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2306         * crtstuff.c: New file.
2307         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2308         (CRTSTUFF_T_CFLAGS): Define.
2309         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2310         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2311         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2312         crtstuff.c.
2313         Use $<.
2314         (crtbeginT.o): Use $(objext).
2315         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2316         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2317         (gcc-extra-parts): Remove.
2318         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2319         Set extra_parts.
2320         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2321         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2322         Add t-crtstuff-pic to tmake_file.
2323         (*-*-lynxos*): New case.
2324         Set tmake_file, extra_parts.
2325         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2326         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2327         *-*-netbsdelf[2-9]*.
2328         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2329         (*-*-rtems*): Set extra_parts.
2330         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2331         (*-*-uclinux*): New case.
2332         Set extra_parts.
2333         (*-*-vms*): New case.
2334         Set tmake_file, extra_parts.
2335         (*-*-elf): Set extra_parts.
2336         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2337         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2338         vms/t-vms64.
2339         Set extra_parts.
2340         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2341         Set extra_parts.
2342         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2343         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2344         (arm-wrs-vxworks): Append to tmake_file.
2345         Set extra_parts.
2346         (arm*-*-uclinux*): Set extra_parts.
2347         (arm*-*-ecos-elf): Likewise.
2348         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2349         arm*-*-eabi*.
2350         (arm*-*-rtems*): Set extra_parts.
2351         (arm*-*-elf): Likewise.
2352         (avr-*-rtems*): Clear extra_parts.
2353         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2354         Set extra_parts.
2355         (bfin*-uclinux*): Likewise.
2356         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2357         (bfin*-rtems*): Append to tmake_file.
2358         Set extra_parts.
2359         (bfin*-*): Likewise.
2360         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2361         (crisv32-*-elf): ... this.
2362         (crisv32-*-none): ... this.
2363         (cris-*-elf, cris-*-none): New cases.
2364         Add cris/t-elfmulti to tmake_file.
2365         (fr30-*-elf): Append to tmake_file.
2366         Set extra_parts.
2367         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2368         Set extra_parts.
2369         (h8300-*-rtems*): Append to tmake_file.
2370         Set extra_parts.
2371         (h8300-*-elf*): Likewise.
2372         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2373         Set extra_parts.
2374         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2375         Set extra_parts.
2376         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2377         (x86_64-*-elf*): Likewise.
2378         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2379         (x86_64-*-freebsd*): Likewise.
2380         (x86_64-*-netbsd*): Likewise.
2381         (i[34567]86-*-linux*): Likewise.
2382         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2383         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2384         (x86_64-*-linux*): Likewise.
2385         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2386         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2387         tmake_file.
2388         Set extra_parts.
2389         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2390         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2391         Append to extra_parts, remove crtbegin.o, crtend.o.
2392         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2393         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2394         crtend.o, crtbeginS.o, crtendS.o.
2395         (ia64*-*-linux*): Comment extra_parts.
2396         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2397         Set extra_parts.
2398         (iq2000*-*-elf*): Clear extra_parts.
2399         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2400         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2401         (m32r-*-elf*, m32r-*-rtems*): Split off ...
2402         (m32r-*-rtems*): ... this.
2403         Add m32r/t-m32r to tmake_file.
2404         (m68k-*-elf*): Add t-crtin to tmake_file.
2405         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2406         (mcore-*-elf): Likewise.
2407         (microblaze*-*-*): Set extra_parts.
2408         (mips*-sde-elf*): New case.
2409         Set tmake_file, extra_parts.
2410         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2411         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2412         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2413         tmake_file.
2414         Set extra_parts.
2415         (mipsisa64sr71k-*-elf*): Likewise.
2416         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2417         (mips-*-elf*, mipsel-*-elf*): Likewise.
2418         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2419         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2420         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2421         (mips*-*-rtems*): Likewise.
2422         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2423         (moxie-*-*): Split into ...
2424         (moxie-*-elf, moxie-*-uclinux*): ... this.
2425         Add to extra_parts, remove crtbegin.o, crtend.o.
2426         (moxie-*-rtems*): New case.
2427         Set tmake_file.
2428         Clear extra_parts.
2429         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2430         Set extra_parts.
2431         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2432         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2433         tmake_file.
2434         Set extra_parts.
2435         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2436         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2437         Set extra_parts.
2438         (powerpc-*-eabisim*): Likewise.
2439         (powerpc-*-elf*): Likewise.
2440         (powerpc-*-eabialtivec*): Likewise.
2441         (powerpc-xilinx-eabi*): Likewise.
2442         (powerpc-*-eabi*): Likewise.
2443         (powerpc-*-rtems*): Likewise.
2444         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2445         tmake_file.
2446         Set extra_parts.
2447         (powerpc-*-lynxos*): Add to tmake_file.
2448         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2449         rs6000/t-crtstuff, t-crtstuff-pic.
2450         Set extra_parts.
2451         (powerpcle-*-eabisim*): Likewise.
2452         (powerpcle-*-eabi*): Likewise.
2453         (rx-*-elf): Remove extra_parts.
2454         (s390x-ibm-tpf*): Set extra_parts.
2455         (score-*-elf): Set extra_parts.
2456         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2457         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2458         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2459         (sh64l*-*-netbsd*): Split into ...
2460         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2461         Add t-crtstuff-pic to tmake_file.
2462         Set extra_parts.
2463         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2464         Set extra_parts.
2465         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2466         (sparc-*-elf*): Remove t-crtin from tmake_file.
2467         Add to extra_parts, remove crtbegin.o, crtend.o.
2468         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2469         (sparc64-*-linux*): Likewise.
2470         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2471         Add to extra_parts, remove crtbegin.o, crtend.o.
2472         (sparc64-*-elf*): Remove t-crtin from tmake_file.
2473         Add to extra_parts, remove crtbegin.o, crtend.o.
2474         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2475         Add to extra_parts, remove crtbegin.o, crtend.o.
2476         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2477         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2478         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2479         Set extra_parts.
2480         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2481         Set extra_parts.
2482         (tic6x-*-*): Change to ...
2483         (tic6x-*-elf): ... this.
2484         Set extra_parts.
2485         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2486         Set extra_parts.
2487         (am33_2.0-*-linux*): Add comment.
2488         (mep*-*-*): Add mep/t-mep to tmake_file.
2489         Set extra_parts.
2490         * config/alpha/t-vms: New file.
2491         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2492         * config/arm/crti.S, config/arm/crtn.S: New files.
2493         * config/bfin/crti.S, config/bfin/crtn.S: New files.
2494         * config/bfin/crtlibid.S: New file.
2495         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2496         * config/c6x/crti.S, config/c6x/crtn.S: New files.
2497         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2498         (crti.o, crtin.o): New rules.
2499         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2500         * config/c6x/t-uclinux: New file.
2501         * config/cris/t-elfmulti: New file.
2502         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2503         * config/fr30/crti.S, config/fr30/crtn.S: New files.
2504         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2505         * config/frv/t-frv: New file.
2506         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2507         * config/h8300/crti.S, config/h8300/crtn.S: New files.
2508         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2509         New files.
2510         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2511         refer to cygming-crtbegin.c, cygming-crtend.c.
2512         Use $<.
2513         * config/i386/t-nto: New file.
2514         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2515         * config/ia64/crti.S, config/ia64/crtn.S: New files.
2516         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2517         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2518         Use .S extension.
2519         Use $<.
2520         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2521         (crtinitS.o): New rule.
2522         * config/ia64/vms-crtinit.S: New file.
2523         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2524         * config/m32r/initfini.c: New file.
2525         * config/m32r/t-linux, config/m32r/t-m32r: New files.
2526         * config/m68k/crti.S, config/m68k/crtn.S: New files.
2527         * config/mcore/crti.S, config/mcore/crtn.S: New files.
2528         * config/mep/t-mep: New file.
2529         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2530         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2531         * config/mips/crti.S, config/mips/crtn.S: New files.
2532         * config/mips/t-crtstuff: New file.
2533         * config/mmix/crti.S, config/mmix/crtn.S: New files.
2534         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2535         (CUSTOM_CRTIN): Set.
2536         ($(T)crti.o, $(T)crtn.o): Remove $(T),
2537         dependencies.
2538         Use $(srcdir) to refer to crti.S, crtn.S.
2539         Use .S extension, $<.
2540         * config/moxie/crti.asm: Rename to ...
2541         * config/moxie/crti.S: ... this.
2542         * config/moxie/crtn.asm: Rename to ...
2543         * config/moxie/crtn.S: ... this.
2544         * config/moxie/t-moxie: Remove.
2545         * config/pa/stublib.c: New file.
2546         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2547         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2548         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2549         * config/rs6000/t-crtstuff: New file.
2550         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2551         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2552         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2553         Make output file explicit.
2554         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2555         Make output file explicit.
2556         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2557         Make output file explicit.
2558         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2559         Make output file explicit.
2560         * config/score/crti.S, config/score/crtn.S: New files.
2561         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2562         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2563         files.
2564         * config/sh/t-sh, config/sh/t-superh: New files.
2565         * config/sparc/t-linux64: New file.
2566         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2567         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2568         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2569         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2570         * config/t-crtin: Remove.
2571         * config/t-crtstuff-pic: New file.
2572         * config/t-sol2 (CUSTOM_CRTIN): Set.
2573         (crti.o, crtn.o): New rules.
2574         * config/vms/t-vms: New file.
2575         * config/vms/vms-ucrt0.c: New file.
2576         * config/xtensa/t-elf: New file.
2578 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2580         * Makefile.in (SHLIB_NM_FLAGS): Set.
2581         * mkmap-flat.awk, mkmap-symver.awk: New files.
2582         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2583         exceptions.
2584         * configure: Regenerate.
2585         * config/libgcc-glibc.ver: New file.
2586         * config/libgcc-libsystem.ver: New file.
2587         * config/t-libunwind (SHLIB_LC): Set.
2588         * config/t-linux: New file.
2589         * config/t-slibgcc (INSTALL_SHLIB): New.
2590         (SHLIB_INSTALL): Use it.
2591         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2592         to mkmap-symver.awk.
2593         (SHLIB_MAPFILES): Don't append, adapt pathname.
2594         (SHLIB_VERPFX): Set.
2595         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2596         to mkmap-symver.awk.
2597         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2598         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2599         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2600         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2601         to mkmap-flat.awk.
2602         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2603         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2604         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2605         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2606         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2607         * config/i386/libgcc-darwin.10.4.ver,
2608         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2609         New files.
2610         * config/i386/t-darwin: Remove.
2611         * config/i386/t-darwin64: Likewise.
2612         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2613         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2614         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2615         * config/i386/t-linux: New file.
2616         * config/i386/t-mingw32: New file.
2617         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2618         * config/ia64/t-glibc: Rename to ...
2619         * config/ia64/t-linux: ... this.
2620         (SHLIB_MAPFILES): Set.
2621         * config/ia64/t-glibc-libunwind: Rename to ...
2622         * config/ia64/t-linux-libunwind: ... this.
2623         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2624         * config/ia64/t-slibgcc-hpux: New file.
2625         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2626         * config/m68k/t-slibgcc-elf-ver: New file.
2627         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2628         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2629         to mkmap-flat.awk.
2630         * config/pa/t-slibgcc-hpux: New file.
2631         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2632         files.
2633         * config/rs6000/libgcc-darwin.10.4.ver,
2634         config/rs6000/libgcc-darwin.10.5.ver: New files.
2635         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2636         config/rs6000/libgcc-glibc.ver.
2637         * config/rs6000/libgcc-ppc64.ver: Rename to
2638         config/rs6000/libgcc-ibm-ldouble.ver.
2639         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2640         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2641         * config/rs6000/t-ldbl128: Rename to ...
2642         * config/rs6000/t-linux: ... this.
2643         (SHLIB_MAPFILES): Adapt filename.
2644         * config/rs6000/t-slibgcc-aix: New file.
2645         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2646         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2647         libgcc-excl.ver, libgcc-glibc.ver.
2648         (SHLIB_LINK, SHLIB_INSTALL): Remove.
2649         * config/sparc/libgcc-glibc.ver: New file.
2650         * config/sparc/t-linux: New file.
2651         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2652         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2653         t-slibgcc-elf-ver to tmake_file.
2654         Add t-slibgcc-nolc-override to tmake_file for posix threads on
2655         *-*-freebsd[34].
2656         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2657         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2658         t-slibgcc-elf-ver, t-linux to tmake_file.
2659         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2660         tmake_file.
2661         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2662         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2663         (alpha*-dec-*vms*): Likewise.
2664         (arm*-*-freebsd*): Append to tmake_file.
2665         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2666         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2667         arm*-*-linux-*eabi.
2668         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2669         tmake_file for arm*-*-symbianelf*.
2670         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2671         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2672         cris/t-linux.
2673         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2674         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2675         pa/t-slibgcc-dwarf-ver to tmake_file.
2676         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2677         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2678         (hppa*64*-*-hpux11*): Likewise.
2679         (hppa[12]*-*-hpux11*): Likewise.
2680         (x86_64-*-darwin*): Don't override tmake_file, but only keep
2681         i386/t-crtpc, i386/t-crtfm.
2682         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2683         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2684         to tmake_file.
2685         Add i386/t-cygwin to tmake_file.
2686         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2687         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2688         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2689         to tmake_file.
2690         Add i386/t-mingw32 to tmake_file.
2691         (x86_64-*-mingw*): Likewise.
2692         (ia64*-*-freebsd*): Append to tmake_file.
2693         (ia64*-*-linux*): Append to tmake_file.
2694         Replace ia64/t-glibc by ia64/t-linux.
2695         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2696         system libunwind.
2697         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2698         t-slibgcc-hpux to tmake_file.
2699         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2700         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2701         (m32rle-*-linux*): Likewise.
2702         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2703         sjlj exceptions.
2704         (microblaze*-linux*): New case.
2705         Append to tmake_file, add t-slibgcc-nolc-override.
2706         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2707         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2708         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2709         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2710         rs6000/t-slibgcc-aix to tmake_file.
2711         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2712         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2713         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2714         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2715         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2716         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2717         sh*-*-linux*.
2718         (sparc-*-linux*): Append to tmake_file for *-leon*.
2719         Add sparc/t-linux to tmake_file for non-Leon targets.
2720         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2721         (tic6x-*-uclinux): New case.
2722         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2723         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2724         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2725         (am33_2.0-*-linux*): Append to tmake_file.
2726         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2727         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2728         x86_64-*-kfreebsd*-gnu.
2729         Add i386/t-linux to tmake_file.
2731 2011-10-28  Ian Lance Taylor  <iant@google.com>
2733         * config/i386/morestack.S: Correct CFI information to do proper
2734         returns throughout function.  In 32-bit mode, save %ebx so that it
2735         is restored on unwind.
2737 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2739         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2740         case where B3 isn't the return register.
2742         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2743         logic for doubleword pops.
2745 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2747         * config/rs6000/t-freebsd: Add wildcard.
2749 2011-10-21  Paul Brook  <paul@codesourcery.com>
2751         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2753 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2754             Eric Botcazou  <ebotcazou@adacore.com>
2756         PR target/50737
2757         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2758         fs->signal_frame to 1.
2760 2011-10-07  Ian Lance Taylor  <iant@google.com>
2762         * generic-morestack-thread.c: #include <errno.h>.
2764 2011-10-07  Ian Lance Taylor  <iant@google.com>
2766         PR target/46093
2767         * generic-morestack.c (__generic_morestack): Make sure the segment
2768         is large enough for both the stack frame and the copied
2769         parameters.
2771 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2773         PR bootstrap/49804
2774         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2775         extra_parts.
2777 2011-09-28  Nick Clifton  <nickc@redhat.com>
2779         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2780         64-bit doubles are not enabled.
2781         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2782         and floatunsisf functions.
2784 2011-09-13  Paul Brook  <paul@codesourcery.com>
2786         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2787         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2788         * unwind-arm-common.inc: New file.
2789         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2790         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2791         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2792         * config/c6x/libunwind.S: New file.
2793         * config/c6x/pr-support.c: New file.
2794         * config/c6x/unwind-c6x.c: New file.
2795         * config/c6x/unwind-c6x.h: New file.
2796         * config/c6x/t-c6x-elf: New file.
2798 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2800         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2801         (ASM_DIVZERO): Ditto.
2802         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2804 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2806         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2808 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2810         PR target/50090
2811         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2812         instead of an assembly one.
2814 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2816         PR bootstrap/50047
2817         * Makefile.in (install-unwind_h): Create
2818         $(gcc_objdir)/include/unwind.h atomically.
2820 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2822         * Makefile.in (install-unwind_h): Remove destination file first.
2824 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2826         * sync.c: New file.
2827         * config/mips/t-mips16: New file.
2828         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2829         (mips*-*-linux*): Likewise.
2830         (mips*-sde-elf*): Likewise.
2831         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2832         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2833         Add mips/t-mips16 to tmake_file.
2834         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2835         (mips-*-elf*): Likewise.
2836         (mips64-*-elf*): Likewise.
2837         (mips64orion-*-elf*): Likewise.
2838         (mips*-*-rtems*): Likewise.
2839         (mipstx39-*-elf*): Likewise.
2840         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2841         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2842         LIBGCC_SYNC_CFLAGS.
2843         Use $(srcdir) to refer to sync.c.
2844         Use $<.
2845         ($(libgcc-sync-funcs-o)): Likewise.
2846         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2847         ($(libgcc-sync-funcs-s-o)): Likewise.
2849 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2851         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2852         t-libunwind.
2854 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2856         PR other/48007
2857         * config/i386/value-unwind.h: New.
2859 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2861         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2862         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2863         Add to tmake_file rather than overriding it.
2865 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2867         * config/t-softfp: Remove.
2868         * soft-fp: Moved from ../gcc/config.
2869         * soft-fp/README: Remove t-softfp reference.
2870         * soft-fp/t-softfp: Move to config/t-softfp.
2871         (softfp_machine_header): Remove.
2872         (softfp_file_list): Remove config subdir.
2873         (soft-fp-objects): New variable.
2874         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2875         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2876         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2877         * config/t-softfp-excl: New file.
2878         * config/t-softfp-sfdf: New file.
2879         * config/t-softfp-tf: New file.
2880         * config/no-sfp-machine.h: New file.
2881         * config/arm/sfp-machine.h: New file.
2882         * config/arm/t-softfp: New file.
2883         * config/c6x/sfp-machine.h: New file.
2884         * config/i386/32/t-fprules-softfp: Rename to ...
2885         * config/i386/32/t-softfp: ... this.
2886         (tifunctions, LIB2ADD): Remove.
2887         (softfp_int_modes): Override.
2888         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2889         subdir.
2890         * config/i386/64/eqtf2.c: Likewise.
2891         * config/i386/64/getf2.c: Likewise.
2892         * config/i386/64/letf2.c: Likewise.
2893         * config/ia64/sft-machine.h: New file.
2894         * config/ia64/t-fprules-softfp: Rename to ...
2895         * config/ia64/t-softfp: ... this.
2896         * config/lm32/sfp-machine.h: New file.
2897         * config/moxie/t-moxie-softfp: Remove.
2898         * config/rs6000/ibm-ldouble-format: New file.
2899         * config/rs6000/ibm-ldouble.c: New file.
2900         * config/rs6000/libgcc-ppc-glibc.ver: New file
2901         * config/rs6000/libgcc-ppc64.ver: New file
2902         * config/rs6000/sfp-machine.h: New file.
2903         * config/rs6000/t-freebsd: New file.
2904         * config/rs6000/t-ibm-ldouble: New file.
2905         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2906         libgcc-ppc-glibc.ver.
2907         * config/rs6000/t-linux64: New file.
2908         * config/rs6000/t-ppccomm (LIB2ADD): Add
2909         $(srcdir)/config/rs6000/ibm-ldouble.c.
2910         * config/rs6000/t-ppccomm-ldbl: New file.
2911         * config/score/sfp-machine.h: New file.
2912         * config.host (sfp_machine_header): Explain.
2913         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2914         t-softfp to tmake_file.
2915         (arm*-*-uclinux*): Likewise.
2916         (arm*-*-ecos-elf): Likewise.
2917         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2918         (arm*-*-rtems*): Likewise.
2919         (arm*-*-elf): Likewise.
2920         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2921         in tmake_file.
2922         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2923         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2924         (lm32-*-uclinux*): Likewise.
2925         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2926         t-softfp-excl, t-softfp.
2927         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2928         (powerpc64-*-darwin*): Likewise.
2929         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2930         to tmake_file.
2931         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2932         tmake_file.
2933         (powerpc-*-eabisim*): Likewise.
2934         (powerpc-*-elf*): Likewise.
2935         (powerpc-*-eabialtivec*): Likewise.
2936         (powerpc-xilinx-eabi*): Likewise.
2937         (powerpc-*-rtems*): Likewise.
2938         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2939         t-softfp-excl, t-softfp to tmake_file.
2940         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2941         rs6000/t-ppccomm-ldbl to tmake_file.
2942         (powerpcle-*-elf*): Likewise.
2943         (powerpcle-*-eabisim*): Likewise.
2944         (powerpcle-*-eabi*): Likewise.
2945         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2946         rs6000/t-ibm-ldouble to tmake_file.
2947         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2948         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2949         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2950         (tic6x-*-*): Likewise.
2951         (i[34567]86-*-darwin*, x86_64-*-darwin*,
2952         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2953         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2954         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2955         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2956         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2957         t-softfp to tmake_file.
2958         * configure.ac (sfp_machine_header): Provide default if unset.
2959         Substitute.
2960         Link sfp-machine.h to config/$sfp_machine_header.
2961         * configure: Regenerate.
2963 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2965         * Makefile.in (double_type_size, long_double_type_size): Set.
2966         Remove $(fpbit-in-libgcc) support.
2967         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2968         (fpbit-src): New variable.
2969         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2970         Compile with -DFLOAT $(FPBIT_CFLAGS).
2971         Use $<.
2972         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2973         Compile with $(FPBIT_CFLAGS).
2974         Use $<.
2975         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2976         Compile with -DFLOAT $(TPBIT_CFLAGS).
2977         Use $<.
2978         * configure.ac (double_type_size, long_double_type_size):
2979         Determine and substitute.
2980         * configure: Regenerate.
2981         * fp-bit.c, fp-bit.h: New files.
2982         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2983         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2984         * config/mips/t-mips: New file.
2985         * config/mips/t-sdemtk: New file.
2986         * config/rs6000/ppc64-fp.c: New file.
2987         * config/rs6000/t-darwin (LIB2ADD): Add
2988         $(srcdir)/config/rs6000/ppc64-fp.c.
2989         * config/rs6000/t-ppc64-fp: New file.
2990         * config/rx/rx-lib.h: New file.
2991         * config/rx/t-rx (FPBIT): Set to true.
2992         ($(gcc_objdir)/fp-bit.c): Remove.
2993         (DPBIT): Set to true only with -m64bit-doubles.
2994         ($(gcc_objdir)/dp-bit.c): Remove.
2995         * config/sparc/t-softfp: Remove.
2996         * config/spu/t-elf: New file.
2997         * config/t-fdpbit, config/t-fpbit: New files.
2998         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2999         (mips*-*-*): Likewise.
3000         (arm-wrs-vxworks): Likewise.
3001         (arm*-*-freebsd*): Likewise.
3002         (avr-*-rtems*): Add t-fpbit to tmake_file.
3003         (avr-*-*): Likewise.
3004         (bfin*-elf*): Add t-fdpbit to tmake_file.
3005         (bfin*-uclinux*): Likewise.
3006         (bfin*-linux-uclibc*): Likewise.
3007         (bfin*-rtems*): New case.
3008         Add t-fdpbit to tmake_file.
3009         (bfin*-*): Add t-fdpbit to tmake_file.
3010         (crisv32-*-elf): Likewise.
3011         (cris-*-linux*): Likewise.
3012         (fr30-*-elf): Likewise.
3013         (frv-*-elf, frv-*-*linux*): Likewise.
3014         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3015         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3016         (m32r-*-elf*): Likewise.
3017         (m32rle-*-elf*): Likewise.
3018         (m32r-*-linux*): Likewise.
3019         (m32rle-*-linux*): Likewise.
3020         (mcore-*-elf): Add t-fdpbit to tmake_file.
3021         (microblaze*-*-*): Likewise.
3022         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3023         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3024         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3025         Fix typo.
3026         Add mips/t-tpbit to tmake-file.
3027         (mips*-*-linux*): Fix typo.
3028         (mips*-sde-elf*): New case
3029         Add mips/t-sdemtk unless using newlib.
3030         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3031         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3032         (mn10300-*-*): Likewise.
3033         (pdp11-*-*): Likewise.
3034         (picochip-*-*): Add t-fpbit to tmake_file.
3035         (powerpc-*-eabisimaltivec*): Likewise.
3036         (powerpc-*-eabisim*): Likewise.
3037         (powerpc-*-elf*): Likewise.
3038         (powerpc-*-eabialtivec*): Likewise.
3039         (powerpc-xilinx-eabi*): New case.
3040         Add t-fdpbit to tmake_file.
3041         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
3042         (powerpc-*-rtems*): Likewise.
3043         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3044         tmake_file.
3045         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3046         tmake_file.
3047         (powerpc-*-lynxos*): Likewise.
3048         (powerpcle-*-elf*): Likewise.
3049         (powerpcle-*-eabisim*): Likewise.
3050         (powerpcle-*-eabi*): Likewise.
3051         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3052         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3053         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3054         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3055         (rx-*-elf): Add t-fdpbit to tmake_file.
3056         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3057         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3058         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3059         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3060         sh*-*-netbsd*.
3061         (sh-*-rtems*): Add t-fdpbit to tmake_file.
3062         (sh-wrs-vxworks): Likewise.
3063         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3064         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3065         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3066         (sparc64-*-rtems*): ... new case.
3067         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3068         (spu-*-elf*): Likewise.
3069         Add spu/t-elf to tmake_file.
3070         (v850*-*-*): Add t-fdpbit to tmake_file.
3071         (xstormy16-*-elf): Likewise.
3072         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3073         (mep*-*-*): Likewise.
3075 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3077         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3078         variables.
3079         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3080         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3081         (install-unwind_h): New target.
3082         (all): Depend on it.
3083         * config.host (unwind_header): New variable.
3084         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3085         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3086         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3087         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3088         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3089         Set unwind_header.
3090         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3091         Set unwind_header.
3092         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3093         arm*-*-eabi*.
3094         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3095         Set unwind_header.
3096         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3097         (ia64*-*-freebsd*): Likewise.
3098         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3099         tmake_file.
3100         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3101         $with_system_libunwind.
3102         (ia64*-*-hpux*): Set tmake_file.
3103         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3104         (picochip-*-*): Set tmake_file.
3105         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3106         md_unwind_header.
3107         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3108         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3109         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3110         (xtensa*-*-elf*): Set tmake_file.
3111         (xtensa*-*-linux*): Likewise.
3112         * configure.ac: Include ../config/unwind_ipinfo.m4.
3113         Call GCC_CHECK_UNWIND_GETIPINFO.
3114         Link unwind.h to $unwind_header.
3115         * configure: Regenerate.
3116         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3117         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3118         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3119         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3120         * config/unwind-dw2-fde-darwin.c: New file.
3121         * config/arm/libunwind.S, config/arm/pr-support.c,
3122         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3123         config/arm/unwind-arm.h,: New files.
3124         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3125         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3126         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3127         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3128         config/ia64/unwind-ia64.h: New files.
3129         * config/picochip/t-picochip: New file.
3130         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3131         files.
3132         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3133         * config/s390/t-tpf (LIB2ADDEH): Remove.
3134         * config/t-darwin (LIB2ADDEH): Set.
3135         * config/t-eh-dw2-dip: New file.
3136         * config/t-libunwind, config/t-libunwind-elf: New files.
3137         * config/t-sol2 (LIB2ADDEH): Remove.
3138         * config/xtensa/t-xtensa: New file.
3140 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3142         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3143         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3144         long long to check rt_sigreturn syscall.
3146 2011-08-02  Alan Modra  <amodra@gmail.com>
3148         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3149         Restore for indirect call bcrtl from correct stack slot, and only
3150         if cfa+40 isn't valid.
3152 2011-08-01  Julian Brown  <julian@codesourcery.com>
3154         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3155         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3156         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3158 2011-08-01  Julian Brown  <julian@codesourcery.com>
3160         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3161         (libgcc-std.ver.in): Use above.
3162         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3163         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3164         throughout file.
3165         * config/t-fixedpoint-gnu-prefix: New file.
3166         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3167         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3168         instead of __PFX__.
3170 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3172         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3173         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3174         for x86-64.  Properly check __x86_64__ and __LP64__.
3176 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3178         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3179         version.
3180         (_FP_WS_TYPE): Likewise.
3181         (_FP_I_TYPE): Likewise.
3183 2011-07-28  Alan Modra  <amodra@gmail.com>
3185         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3186         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3187         in a plt call stub.  Do restore r2 if stopped on bctrl.
3189 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3191         * config.host (i[3456x]86-*-netware*): Remove.
3192         * config/i386/netware-crt0.c, config/i386/t-nwld,
3193         config/i386/t-slibgcc-nwld: Remove.
3195 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3197         * config.host: Handle tic6x-*-*.
3198         * config/c6x/c6x-abi.h: New file.
3200 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3202         * config/i386/crtprec.c: New file.
3203         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3204         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3205         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3206         (x86_64-*-darwin*): Likewise.
3207         (i[34567]86-*-solaris2*: Likewise.
3209 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3211         * config/alpha/crtfastmath.c: New file.
3212         * config/i386/crtfastmath.c: New file.
3213         * config/ia64/crtfastmath.c: New file.
3214         * config/mips/crtfastmath.c: New file.
3215         * config/sparc/crtfastmath.c: New file.
3217         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3218         crtfastmath.c.
3219         Add -frandom-seed=gcc-crtfastmath.
3220         * config/alpha/t-crtfm: Remove.
3221         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3222         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3224         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3225         (alpha*-dec-osf5.1*): Likewise.
3226         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3227         Add crtfastmath.o to extra_parts.
3228         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3229         Add crtfastmath.o to extra_parts.
3230         (x86_64-*-darwin*): Likewise.
3231         (x86_64-*-mingw*): Likewise.
3232         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3233         (ia64*-*-freebsd*): Likewise.
3234         (ia64*-*-linux*): Likewise.
3235         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3236         Add crtfastmath.o to extra_parts.
3238 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3240         * config/darwin-crt3.o: New file.
3241         * config/rs6000/darwin-crt2.c: New file.
3242         * config/t-darwin: New file.
3243         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3244         (crt2.o): New rule.
3245         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3246         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3247         (powerpc64-*-darwin*): Likewise.
3249 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3251         * config/i386/netware-crt0.c: New file.
3252         * config/i386/t-nwld: Rename to ...
3253         * config/i386/t-slibgcc-nwld: ... this.
3254         * config/i386/t-nwld: New file.
3255         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3256         tmake_file.
3257         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3258         extra_parts.
3260 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3262         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3263         i386/t-crtstuff.
3264         * configure: Regenerate.
3266 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3268         * dfp-bit.c, dfp-bit.h: New files.
3269         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3270         variables.
3271         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3272         ($(d64pbit-o)): Likewise.
3273         ($(d128pbit-o)): Likewise.
3274         * config/t-dfprules: New file.
3275         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3276         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3277         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3278         (x86_64-*-linux*): Likewise.
3279         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3280         (i[34567]86-*-cygwin*): Likewise.
3281         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3282         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3284 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3286         * Makfile.in (LIBGCOV): New variable.
3287         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3288         * libgcov.c: New file.
3290 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3292         * fixed-bit.c, fixed-bit.h: New files.
3293         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3294         refer to fixed-bit.c.
3296 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3298         * config.host (*local*): Remove.
3300 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3302         PR target/39150
3303         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3304         like i?86-*-solaris2.1[0-9]*.
3305         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3306         * configure.ac (i?86-*-solaris2*): Likewise.
3307         * configure: Regenerate.
3309 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3311         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3312         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3313         md_unwind_header by splitting out of...
3314         (i[34567]86-*-linux*): ... this.
3315         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3316         Remove md_unwind_header by splitting out of...
3317         (x86_64-*-linux*): ... this.
3319 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3321         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3323 2011-06-28  Nick Clifton  <nickc@redhat.com>
3325         * config.host: Recognize all V850 variants.
3327 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3329         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3331 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3333         * shared-object.mk (c_flags-$o): Save c_flags.
3334         ($(base)$(objext)): Use it.
3335         ($(base)_s$(objext)): Likewise.
3337 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3339         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3340         * libgcc-std.ver.in (GCC_4.7.0): New section.
3342 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3344         PR target/49313
3345         PR target/29524
3346         * config/avr/t-avr: Fix line endings.
3347         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3348         _parityXX2.
3350 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3351             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3353         * config/mips/irix6-unwind.h: New file.
3354         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3356 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3358         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3359         (sparc64_fallback_frame_state): Use it.
3360         (sparc64_frob_update_context): Further adjust context.
3361         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3362         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3363         * config/sparc/sol2-cn.S: Likewise.
3365 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3367         * enable-execute-stack-empty.c: New file.
3368         * enable-execute-stack-mprotect.c: New file.
3369         * config/i386/enable-execute-stack-mingw32.c: New file.
3370         * config.host (enable_execute_stack): New variable.
3371         Select appropriate variants.
3372         * configure.ac: Link enable-execute-stack.c to
3373         $enable_execute_stack.
3374         * configure: Regenerate.
3375         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3376         (lib2funcs): Remove _enable_execute_stack.
3378 2011-06-09  David S. Miller  <davem@davemloft.net>
3379             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3381         * config.host (sparc-*-linux*): Correct md_unwind_header
3382         filename.
3383         (s390x-ibm-tpf*): Fix typo.
3385 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3387         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3388         Add crtfastmath.o to extra_parts.
3389         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3390         mips/t-crtfm.
3391         * config/mips/t-crtfm: Remove.
3393 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3395         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3397 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3399         * config.host (sh*-*-linux*): Fix typo.
3401 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3403         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3404         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3405         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3406         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3407         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3408         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3409         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3410         Wrap in !__MINGW64__.
3411         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3412         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3413         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3414         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3415         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3416         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3417         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3418         Wrap in !__LP64__.
3419         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3420         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3421         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3422         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3423         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3424         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3425         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3426         * config/no-unwind.h: New file.
3427         * config.host (md_unwind_header): Document.
3428         Define.
3429         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3430         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3431         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3432         hppa[12]*-*-hpux11*): Set md_unwind_header.
3433         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3434         Set md_unwind_header.
3435         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3436         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3437         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3438         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3439         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3440         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3441         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3442         md_unwind_header.
3443         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3444         * configure: Regenerate.
3446 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3448         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3449         Set tmake_file, extra_parts.
3450         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3451         Remove O32 support.
3452         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3453         Remove O32 support.
3454         * config/mips/t-irix6: New file.
3455         * config/mips/t-slibgcc-irix: New file.
3457 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3459         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3460         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3462 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3464         * configure.ac (target_thread_file): Determine thread model.
3465         * configure: Regenerate.
3466         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3467         * config/alpha/t-alpha: New file.
3468         * config/alpha/t-crtfm: Use $<.
3469         * config/alpha/t-ieee: New file.
3470         * config/alpha/t-osf-pthread: New file.
3471         * config/alpha/t-slibgcc-osf: New file.
3472         * config/alpha/libgcc-osf5.ver: New file.
3474 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3476         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3477         tmake_file.
3478         Add crtfastmath.o to extra_parts.
3480 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3482         * config/gmon-sol2.c: Reindent.
3483         Cleanup comments.
3484         Remove, correct casts.
3485         Use STDERR_FILENO, NULL.
3486         (BASEADDRESS): Remove.
3487         (minbrk): Remove.
3488         (errno, sbrk): Remove declarations.
3489         (monstartup) [hp300]: Remove.
3490         (mcount): Remove.
3492 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3494         * Makefile.in (cpu_type): Define.
3495         * config.host (i[34567]86-*-rtems*): Handle it.
3496         (i[34567]86-*-solaris2*): Move body ...
3497         (*-*-solaris2*): ... here.
3498         New case, generalize.
3499         (sparc-*-elf*): Handle it.
3500         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3501         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3502         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3503         Fold into ...
3504         (sparc*-*-solaris2*): ... this.
3505         New case.
3506         (sparc64-*-elf*): Handle it.
3507         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3508         Merge ../gcc/config/i386/gmon-sol2.c.
3509         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3510         Use C comments.
3511         Merge ../gcc/config/i386/sol2-gc1.asm.
3512         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3513         Use C comments.
3514         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3515         Use C comments.
3516         * config/i386/t-crtfm (crtfastmath.o): Use $<.
3517         * config/i386/t-crtstuff: New file.
3518         * config/i386/t-softfp: New file.
3519         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3520         $(T)crti.o, $(T)crtn.o): Remove.
3521         (gcrt1.o): New rule.
3522         (TARGET_LIBGCC2_CFLAGS): Remove.
3523         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3524         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3525         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3526         * config/sparc/t-sol2: New file.
3527         * config/sparc/t-crtfm: Move to ...
3528         * config/t-crtfm: ... this.
3529         Use $(cpu_type), $<.
3530         * config/t-crtin: New file.
3531         * config/sparc/t-softfp: New file.
3532         * config/sparc/t-softmul: New file.
3533         * config/t-rtems: New file.
3534         * config/t-slibgcc: New file.
3535         * config/t-slibgcc-elf-ver: New file.
3536         * config/t-slibgcc-gld: New file.
3537         * config/t-slibgcc-sld: New file.
3538         * config/t-sol2: New file.
3539         * configure.ac: Include ../config/lib-ld.m4.
3540         Call AC_LIB_PROG_LD_GNU.
3541         Substitute cpu_type.
3542         * configure: Regenerate.
3544 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3546         PR bootstrap/49173
3547         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3548         libgcc-std.ver in the build directory.
3549         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3550         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3552 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3554         * libgcc-std.ver.in: New file.
3555         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3556         variables.
3557         (libgcc-std.ver): New rule.
3558         * config/t-gnu-prefix: New file.
3560 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3562         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3564 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3566         * config/i386/darwin-lib.h: New file.
3568 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3570         * config/arm/symbian-lib.h: New.
3572 2011-05-04  Chris Demetriou  <cgd@google.com>
3574         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3575         (__x86.get_pc_thunk.bx): ...this.
3576         (__morestack): Adjust for rename, remove undef of __i686.
3578 2011-05-03  Chris Demetriou  <cgd@google.com>
3580         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3582 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3584         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3585         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3586         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3587         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3588         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3589         Remove cases.
3591 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3593         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3594         Adjust copyright year.
3596 2011-03-07  Ian Lance Taylor  <iant@google.com>
3598         * generic-morestack.c (__splitstack_find): Adjust returned stack
3599         pointer to include all registers pushed by __morestack.
3601 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3603         PR target/40125
3604         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3605         (toolexecdir): Calculate and AC_SUBST.
3606         (toolexeclibdir): Likewise.
3607         * Makefile.in (target_noncanonical): Import.
3608         (toolexecdir): Likewise.
3609         (toolexeclibdir): Likewise.
3610         * configure: Regenerate.
3612 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3614         PR target/46040
3615         * config/arm/bpabi.h: Rename to...
3616         * config/arm/bpabi-lib.h: ...this.
3618 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3620         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3621         appropriate.
3622         * configure: Regenerate.
3624 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3626         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3627         __FLOAT_WORD_ORDER__.
3628         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3629         Delete.
3631 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3633         PR other/46202
3634         * Makefile.in (install-strip): New phony target.
3636 2010-11-07  Ian Lance Taylor  <iant@google.com>
3638         PR target/46089
3639         * config/i386/morestack.S (__morestack_large_model): New
3640         function.
3642 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
3644         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3645         Delete.
3646         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3648 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
3650         * config/arm/bpabi.h: New file.
3651         * config/frv/frv-abi.h: New file.
3653 2010-10-01  Ian Lance Taylor  <iant@google.com>
3655         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3656         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3658 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3660         PR target/45858
3661         * config.host: Add the missing `$'.
3663 2010-09-30  Michael Eager  <eager@eagercon.com>
3665         * config.host: Add microblaze*-*-*.
3666         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3667         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3668         udivsi3.asm,umodsi3.asm}:  New.
3670 2010-09-28  Ian Lance Taylor  <iant@google.com>
3672         * configure.ac: Adjust CFI test to test assembler directly rather
3673         than checking gcc preprocessor macro.
3674         * configure: Rebuild.
3676 2010-09-27  Ian Lance Taylor  <iant@google.com>
3678         * configure.ac: Test whether assembler supports CFI directives.
3679         * config.host: Only add t-stack and i386/t-stack-i386 to
3680         tmake_file if libgcc_cv_cfi is "yes".
3681         * configure: Rebuild.
3683 2010-09-27  Ian Lance Taylor  <iant@google.com>
3685         * generic-morestack.h: New file.
3686         * generic-morestack.c: New file.
3687         * generic-morestack-thread.c: New file.
3688         * config/i386/morestack.S: New file.
3689         * config/t-stack: New file.
3690         * config/i386/t-stack-i386: New file.
3691         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3692         i386/t-stack-i386 to tmake_file.
3694 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3696         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3697         invoke ranlib after installing them.
3698         (gcc-extra-parts): Likewise.
3699         (install-leaf): Likewise.
3701 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3703         * configure: Regenerated.
3705 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3707         * configure: Regenerated.
3709 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3710             Andrew Pinski  <pinskia@gmail.com>
3712         PR target/40959
3713         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3715 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3717         PR target/45524
3718         * configure: Regenerated.
3720 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3722         * configure: Regenerate.
3724 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3726         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3727         64bit targets.
3728         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3729         for 64bit targets.
3731 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3732             Iain Sandoe  <iains@gcc.gnu.org>
3734         PR target/45476
3735         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3736         LIB2FUNCS_EXCLUDE functions.
3738 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3740         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3741         Include dfp.m4.
3742         * configure: Regenerate.
3744 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3746         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3747         i386/t-freebsd to tmake_file.
3748         * config/i386/t-freebsd: New file.
3749         * config/i386/libgcc-bsd.ver: New file.
3751 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3753         * config.host (powerpc*-eabispe*): Set tmake_file.
3754         (powerpc*-eabi*): Likewise.
3755         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3756         crtbeginS, crtendS, crtbeginT.
3758 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3760         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3761         to tmake_file.  Add crtfastmath.o to extra_parts.
3762         * config/mips/t-crtfm: New.
3764 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3766         * config.host (sparc64-*-rtems*): New target.
3768 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3770         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3771         assembler syntax.
3773 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3775         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3777 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3779         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3780         alpha-dec-osf5.0* support.
3782 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3784         * config.host: Add lm32-*-rtems*.
3786 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3787             Uros Bizjak <ubizjak@gmail.com>
3789         PR target/39048
3790         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3791         like other remaining 32-bit x86 OSes.
3792         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3793         assembler syntax.
3794         * config/i386/libgcc-sol2.ver: New file.
3795         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3797 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3799         PR c/43553
3800         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3801         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3802         is used and substitute set_use_emutls.
3803         * configure: Regenerated.
3805 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3807         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3809 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3811         PR target/38085
3812         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3813         MULTILIB_CFLAGS.
3814         ($(T)gcrt1.o): Likewise.
3815         ($(T)crt1.o): Likewise.
3816         ($(T)crti.o): Likewise.
3817         ($(T)crtn.o): Likewise.
3819 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3821         PR other/42980
3822         * Makefile.in (install): Use $(MAKE) string in rule, for
3823         parallel make.
3825 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3827         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3828         * config/mmix/t-mmix: New file.
3829         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3831 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3833         PR java/41991
3834         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3835         SHLIB_MAPFILES.
3837 2010-01-04  Anthony Green  <green@moxielogic.com>
3839         * config/moxie/crti.asm, config/moxie/crtn.asm,
3840         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3841         config/moxie/t-moxie: New files.
3842         * config.host: Add t-moxie-softfp reference.
3844 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3846         PR other/39888
3847         * config/t-slibgcc-darwin: Fix embedded rpaths for
3848         --enable-version-specific-runtime-libs, build extension stub
3849         libs exposing features available from current libgcc_s.
3851 2009-11-11  Jon Beniston <jon@beniston.com>
3853         * config.host: Add lm32 targets.
3854         * config/lm32: New directory.
3855         * config/lm32/libgcc_lm32.h: New file.
3856         * config/lm32/_mulsi3.c: New file.
3857         * config/lm32/_udivmodsi4.c: New file.
3858         * config/lm32/_divsi3.c: New file.
3859         * config/lm32/_modsi3.c: New file.
3860         * config/lm32/_udivsi3.c: New file.
3861         * config/lm32/_umodsi3.c: New file.
3862         * config/lm32/_lshrsi3.S: New file.
3863         * config/lm32/_ashrsi3.S: New file.
3864         * config/lm32/_ashlsi3.S: New file.
3865         * config/lm32/crti.S: New file.
3866         * config/lm32/crtn.S: New file.
3867         * config/lm32/t-lm32: New file.
3868         * config/lm32/t-elf: New file.
3869         * config/lm32/t-uclinux: New file.
3871 2009-10-26  Nick Clifton  <nickc@redhat.com>
3873         * config.host: Add support for RX target.
3874         * config/rx: New directory.
3875         * config/rx/rx-abi-functions.c: New file. Supplementary
3876         functions for libgcc to support the RX ABI.
3877         * config/rx/rx-abi.h: New file.  Supplementary header file for
3878         libgcc RX ABI functions.
3879         * config/rx/t-rx: New file: Makefile fragment for building
3880         libgcc for the RX.
3882 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3884         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3885         constraint of y0 to "g".
3887 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3889         * config.host: Include the s390 makefile fragments.
3890         * config/s390/32/_fixdfdi.c: New file.
3891         * config/s390/32/_fixsfdi.c: New file.
3892         * config/s390/32/_fixtfdi.c: New file.
3893         * config/s390/32/_fixunsdfdi.c: New file.
3894         * config/s390/32/_fixunssfdi.c: New file.
3895         * config/s390/32/_fixunstfdi.c: New file.
3896         * config/s390/32/t-floattodi: New file.
3897         * config/s390/libgcc-glibc.ver: New file.
3898         * config/s390/t-crtstuff: New file.
3899         * config/s390/t-linux: New file.
3900         * config/s390/t-tpf: New file.
3902 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3904         * configure.ac (AC_PREREQ): Bump to 2.64.
3906 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
3908         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3910 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3912         * configure: Regenerate.
3914 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
3916         * config.host (ia64-hp-*vms*): New target.
3917         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3918         with ia64-hp-*vms*.
3920 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3922         * configure.ac: Add snippet for maintainer-mode.
3923         * configure: Regenerate.
3924         * Makefile.in (AUTOCONF, configure_deps): New variables.
3925         ($(srcdir)/configure)): New rule, active only with maintainer
3926         mode turned on.
3928 2009-06-23  DJ Delorie  <dj@redhat.com>
3930         Add MeP port.
3931         * config.host: Add mep support.
3933 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
3935         * config.host: Add i386/${host_address}/t-fprules-softfp and
3936         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3938         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3939         for mingw targets.
3940         * config/i386/64/_multc3.c: Likewise.
3941         * config/i386/64/_powitf2.c: Likewise.
3942         * config/i386/64/eqtf2.c: Likewise.
3943         * config/i386/64/getf2.c: Likewise.
3944         * config/i386/64/letf2.c: Likewise.
3945         * config/i386/64/letf2.c: Likewise.
3946         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3947         unsigned long long for x64 mingw targets.
3948         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3949         (_FP_I_TYPE): Define as long long for x64 mingw target.
3951 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
3953         * config.host (vax-*-linux*): New.
3955 2009-05-31  Anthony Green  <green@moxielogic.com>
3957         * config.host: Add moxie support.
3958         * config/moxie/t-moxie: New file.
3960 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
3962         * config.host: Add i386/${host_address}/t-fprules-softfp and
3963         t-softfp to tmake_file for i[34567]86-*-cygwin*.
3965 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
3967         * config.host: Add i386/${host_address}/t-fprules-softfp to
3968         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3970 2009-04-09  Nick Clifton  <nickc@redhat.com>
3972         * config/ia64/tf-signs.c: Change copyright header to refer to
3973         version 3 of the GNU General Public License with version 3.1
3974         of the GCC Runtime Library Exception and to point readers at
3975         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3976         web page.
3977         * config/i386/32/tf-signs.c: Likewise.
3978         * config/libbid/_addsub_dd.c: Likewise.
3979         * config/libbid/_addsub_sd.c: Likewise.
3980         * config/libbid/_addsub_td.c: Likewise.
3981         * config/libbid/_dd_to_df.c: Likewise.
3982         * config/libbid/_dd_to_di.c: Likewise.
3983         * config/libbid/_dd_to_sd.c: Likewise.
3984         * config/libbid/_dd_to_sf.c: Likewise.
3985         * config/libbid/_dd_to_si.c: Likewise.
3986         * config/libbid/_dd_to_td.c: Likewise.
3987         * config/libbid/_dd_to_tf.c: Likewise.
3988         * config/libbid/_dd_to_udi.c: Likewise.
3989         * config/libbid/_dd_to_usi.c: Likewise.
3990         * config/libbid/_dd_to_xf.c: Likewise.
3991         * config/libbid/_df_to_dd.c: Likewise.
3992         * config/libbid/_df_to_sd.c: Likewise.
3993         * config/libbid/_df_to_td.c: Likewise.
3994         * config/libbid/_di_to_dd.c: Likewise.
3995         * config/libbid/_di_to_sd.c: Likewise.
3996         * config/libbid/_di_to_td.c: Likewise.
3997         * config/libbid/_div_dd.c: Likewise.
3998         * config/libbid/_div_sd.c: Likewise.
3999         * config/libbid/_div_td.c: Likewise.
4000         * config/libbid/_eq_dd.c: Likewise.
4001         * config/libbid/_eq_sd.c: Likewise.
4002         * config/libbid/_eq_td.c: Likewise.
4003         * config/libbid/_ge_dd.c: Likewise.
4004         * config/libbid/_ge_sd.c: Likewise.
4005         * config/libbid/_ge_td.c: Likewise.
4006         * config/libbid/_gt_dd.c: Likewise.
4007         * config/libbid/_gt_sd.c: Likewise.
4008         * config/libbid/_gt_td.c: Likewise.
4009         * config/libbid/_isinfd128.c: Likewise.
4010         * config/libbid/_isinfd32.c: Likewise.
4011         * config/libbid/_isinfd64.c: Likewise.
4012         * config/libbid/_le_dd.c: Likewise.
4013         * config/libbid/_le_sd.c: Likewise.
4014         * config/libbid/_le_td.c: Likewise.
4015         * config/libbid/_lt_dd.c: Likewise.
4016         * config/libbid/_lt_sd.c: Likewise.
4017         * config/libbid/_lt_td.c: Likewise.
4018         * config/libbid/_mul_dd.c: Likewise.
4019         * config/libbid/_mul_sd.c: Likewise.
4020         * config/libbid/_mul_td.c: Likewise.
4021         * config/libbid/_ne_dd.c: Likewise.
4022         * config/libbid/_ne_sd.c: Likewise.
4023         * config/libbid/_ne_td.c: Likewise.
4024         * config/libbid/_sd_to_dd.c: Likewise.
4025         * config/libbid/_sd_to_df.c: Likewise.
4026         * config/libbid/_sd_to_di.c: Likewise.
4027         * config/libbid/_sd_to_sf.c: Likewise.
4028         * config/libbid/_sd_to_si.c: Likewise.
4029         * config/libbid/_sd_to_td.c: Likewise.
4030         * config/libbid/_sd_to_tf.c: Likewise.
4031         * config/libbid/_sd_to_udi.c: Likewise.
4032         * config/libbid/_sd_to_usi.c: Likewise.
4033         * config/libbid/_sd_to_xf.c: Likewise.
4034         * config/libbid/_sf_to_dd.c: Likewise.
4035         * config/libbid/_sf_to_sd.c: Likewise.
4036         * config/libbid/_sf_to_td.c: Likewise.
4037         * config/libbid/_si_to_dd.c: Likewise.
4038         * config/libbid/_si_to_sd.c: Likewise.
4039         * config/libbid/_si_to_td.c: Likewise.
4040         * config/libbid/_td_to_dd.c: Likewise.
4041         * config/libbid/_td_to_df.c: Likewise.
4042         * config/libbid/_td_to_di.c: Likewise.
4043         * config/libbid/_td_to_sd.c: Likewise.
4044         * config/libbid/_td_to_sf.c: Likewise.
4045         * config/libbid/_td_to_si.c: Likewise.
4046         * config/libbid/_td_to_tf.c: Likewise.
4047         * config/libbid/_td_to_udi.c: Likewise.
4048         * config/libbid/_td_to_usi.c: Likewise.
4049         * config/libbid/_td_to_xf.c: Likewise.
4050         * config/libbid/_tf_to_dd.c: Likewise.
4051         * config/libbid/_tf_to_sd.c: Likewise.
4052         * config/libbid/_tf_to_td.c: Likewise.
4053         * config/libbid/_udi_to_dd.c: Likewise.
4054         * config/libbid/_udi_to_sd.c: Likewise.
4055         * config/libbid/_udi_to_td.c: Likewise.
4056         * config/libbid/_unord_dd.c: Likewise.
4057         * config/libbid/_unord_sd.c: Likewise.
4058         * config/libbid/_unord_td.c: Likewise.
4059         * config/libbid/_usi_to_dd.c: Likewise.
4060         * config/libbid/_usi_to_sd.c: Likewise.
4061         * config/libbid/_usi_to_td.c: Likewise.
4062         * config/libbid/_xf_to_dd.c: Likewise.
4063         * config/libbid/_xf_to_sd.c: Likewise.
4064         * config/libbid/_xf_to_td.c: Likewise.
4065         * config/libbid/bid128.c: Likewise.
4066         * config/libbid/bid128_2_str.h: Likewise.
4067         * config/libbid/bid128_2_str_macros.h: Likewise.
4068         * config/libbid/bid128_2_str_tables.c: Likewise.
4069         * config/libbid/bid128_add.c: Likewise.
4070         * config/libbid/bid128_compare.c: Likewise.
4071         * config/libbid/bid128_div.c: Likewise.
4072         * config/libbid/bid128_fma.c: Likewise.
4073         * config/libbid/bid128_logb.c: Likewise.
4074         * config/libbid/bid128_minmax.c: Likewise.
4075         * config/libbid/bid128_mul.c: Likewise.
4076         * config/libbid/bid128_next.c: Likewise.
4077         * config/libbid/bid128_noncomp.c: Likewise.
4078         * config/libbid/bid128_quantize.c: Likewise.
4079         * config/libbid/bid128_rem.c: Likewise.
4080         * config/libbid/bid128_round_integral.c: Likewise.
4081         * config/libbid/bid128_scalb.c: Likewise.
4082         * config/libbid/bid128_sqrt.c: Likewise.
4083         * config/libbid/bid128_string.c: Likewise.
4084         * config/libbid/bid128_to_int16.c: Likewise.
4085         * config/libbid/bid128_to_int32.c: Likewise.
4086         * config/libbid/bid128_to_int64.c: Likewise.
4087         * config/libbid/bid128_to_int8.c: Likewise.
4088         * config/libbid/bid128_to_uint16.c: Likewise.
4089         * config/libbid/bid128_to_uint32.c: Likewise.
4090         * config/libbid/bid128_to_uint64.c: Likewise.
4091         * config/libbid/bid128_to_uint8.c: Likewise.
4092         * config/libbid/bid32_to_bid128.c: Likewise.
4093         * config/libbid/bid32_to_bid64.c: Likewise.
4094         * config/libbid/bid64_add.c: Likewise.
4095         * config/libbid/bid64_compare.c: Likewise.
4096         * config/libbid/bid64_div.c: Likewise.
4097         * config/libbid/bid64_fma.c: Likewise.
4098         * config/libbid/bid64_logb.c: Likewise.
4099         * config/libbid/bid64_minmax.c: Likewise.
4100         * config/libbid/bid64_mul.c: Likewise.
4101         * config/libbid/bid64_next.c: Likewise.
4102         * config/libbid/bid64_noncomp.c: Likewise.
4103         * config/libbid/bid64_quantize.c: Likewise.
4104         * config/libbid/bid64_rem.c: Likewise.
4105         * config/libbid/bid64_round_integral.c: Likewise.
4106         * config/libbid/bid64_scalb.c: Likewise.
4107         * config/libbid/bid64_sqrt.c: Likewise.
4108         * config/libbid/bid64_string.c: Likewise.
4109         * config/libbid/bid64_to_bid128.c: Likewise.
4110         * config/libbid/bid64_to_int16.c: Likewise.
4111         * config/libbid/bid64_to_int32.c: Likewise.
4112         * config/libbid/bid64_to_int64.c: Likewise.
4113         * config/libbid/bid64_to_int8.c: Likewise.
4114         * config/libbid/bid64_to_uint16.c: Likewise.
4115         * config/libbid/bid64_to_uint32.c: Likewise.
4116         * config/libbid/bid64_to_uint64.c: Likewise.
4117         * config/libbid/bid64_to_uint8.c: Likewise.
4118         * config/libbid/bid_b2d.h: Likewise.
4119         * config/libbid/bid_binarydecimal.c: Likewise.
4120         * config/libbid/bid_conf.h: Likewise.
4121         * config/libbid/bid_convert_data.c: Likewise.
4122         * config/libbid/bid_decimal_data.c: Likewise.
4123         * config/libbid/bid_decimal_globals.c: Likewise.
4124         * config/libbid/bid_div_macros.h: Likewise.
4125         * config/libbid/bid_dpd.c: Likewise.
4126         * config/libbid/bid_flag_operations.c: Likewise.
4127         * config/libbid/bid_from_int.c: Likewise.
4128         * config/libbid/bid_functions.h: Likewise.
4129         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4130         * config/libbid/bid_inline_add.h: Likewise.
4131         * config/libbid/bid_internal.h: Likewise.
4132         * config/libbid/bid_round.c: Likewise.
4133         * config/libbid/bid_sqrt_macros.h: Likewise.
4135 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4137         * Makefile.in: Change copyright header to refer to version
4138         3 of the GNU General Public License and to point readers at the
4139         COPYING3 file and the FSF's license web page.
4140         * config.host: Likewise.
4142 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4144         * config.host: Reorder and merge to match config.gcc change.
4146 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4148         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4150 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4152         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4153         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4154         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4155         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4157 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4159         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4160         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4162 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4164         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4165         ia64/t-softfp-compat to tmake_file.
4167         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4169         * config/ia64/__divxf3.asm: New.
4170         * config/ia64/_fixtfdi.asm: Likewise.
4171         * config/ia64/_fixunstfdi.asm: Likewise.
4172         * config/ia64/_floatditf.asm: Likewise.
4173         * config/ia64/t-fprules-softfp: Likewise.
4174         * config/ia64/t-softfp-compat: Likewise.
4175         * config/ia64/tf-signs.c: Likewise.
4177 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4179         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4181 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4183         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4184         to tmake_file.
4186 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4188         * config/t-softfp: New file.
4189         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4190         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4192 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4194         * config.host: Add m32r*-*-rtems*.
4196 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4198         * config.host: Add m32c*-*-rtems*.
4200 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4202         PR bootstrap/33100
4203         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4204         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4205         * configure: Regenerate.
4206         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4207         tmake_file here from gcc/config.gcc.
4208         Move extra_parts here from gcc/config.gcc.
4209         * config/i386/t-sol2: Move here from gcc/config/i386.
4210         Use gcc_srcdir instead of srcdir.
4212 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4214         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4215         case.
4217 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4219         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4221 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4223         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4225 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4227         Add picoChip port.
4228         * config.host: Add picochip-*-*.
4230 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4232         * config.host: Match more processor names for Xtensa.
4234 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4236         * config/i386/64/t-softfp-compat: Update comments.
4238 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4240         * config/i386/64/_divtc3-compat.c: Moved to ...
4241         * config/i386/64/_divtc3.c: Here.
4243         * config/i386/64/_multc3-compat.c: Moved to ...
4244         * config/i386/64/_multc3.c: Here.
4246         * config/i386/64/_powitf2-compat.c: Moved to ...
4247         * config/i386/64/_powitf2.c: Here.
4249         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4250         .c suffix instead of -compat.c.
4252 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4254         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4255         (_FP_MUL_MEAT_D): Ditto.
4256         (_FP_DIV_MEAT_S): Ditto.
4257         (_FP_DIV_MEAT_D): Ditto.
4259 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4261         * Makefile.in: Add support for __sync_* libgcc functions.
4263 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4265         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4267 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4269         PR boostrap/36702
4270         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4271         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4273         * config/i386/64/t-fprules-softfp: Moved to ...
4274         * config/i386/64/t-softfp-compat: This.  New.
4276 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4278         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4279         Initialize f with 0.0.
4281 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4283         PR target/36669
4284         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4286         * config/i386/64/_divtc3-compat.c: New.
4287         * config/i386/64/_multc3-compat.c: Likewise.
4288         * config/i386/64/_powitf2-compat.c: Likewise.
4289         * config/i386/64/eqtf2.c: Likewise.
4290         * config/i386/64/getf2.c: Likewise.
4291         * config/i386/64/letf2.c: Likewise.
4292         * config/i386/64/t-fprules-softfp: Likewise.
4294 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4296         * config.host: Add i386/${host_address}/t-fprules-softfp to
4297         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4298         i[34567]86-*-linux*, x86_64-*-linux*.
4300         * configure.ac: Set host_address to 64 or 32 for x86.
4301         * configure: Regenerated.
4303         * Makefile.in (config.status): Also depend on
4304         $(srcdir)/config.host.
4306         * config/i386/32/t-fprules-softfp: New.
4307         * config/i386/32/tf-signs.c: Likewise.
4309         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4311 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4312             Uros Bizjak  <ubizjak@gmail.com>
4314         * config/i386/32/sfp-machine.h: New.
4316 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4318         * config/rs6000/t-ppccomm: Remove rules that conflict with
4319         auto-generated rules.
4321 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4323         * configure.ac: sinclude override.m4.
4324         * configure: Regenerate.
4326 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4328         * configure: Regenerate.
4330 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4332         * Makefile.in (DECNUMINC): Remove
4333         -I$(MULTIBUILDTOP)../../libdecnumber.
4334         * gstdint.h: New.
4336 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4338         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4339         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4340         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4341         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4342         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4343         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4344         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4345         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4346         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4347         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4348         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4349         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4350         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4351         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4353 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4355         * config.host (sh2[lbe]*-*-linux*): Allow target.
4357 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4359         * config/rs6000/t-ppccomm: Add build rules for new files.
4360         (LIB2ADD_ST): New variable.
4362 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4364         PR target/34210
4365         PR target/35508
4366         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4367         * config/t-avr: New file. Build 16bit libgcc functions.
4369 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4371         PR target/35401
4372         * config/t-slibgcc-darwin: Make install-leaf dependent on
4373         install-darwin-libgcc-stubs instead of install.
4375 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4377         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4378         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4379         sh-*-rtemscoff*): Remove cases.
4381 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4383         * Makefile.in (all): Use install-leaf rather than install.
4384         (install): Split most of the rule into...
4385         (install-leaf): ...this new one.
4387 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4388             Paolo Bonzini  <bonzini@gnu.org>
4390         PR target/30572
4391         * Makefile.in: Use @shlib_slibdir@ substitution to get
4392         correct install name on darwin.
4393         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4395 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
4397         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4398         cris-*-elf and cris-*-none.
4399         (crisv32-*-linux*): Similar, as cris-*-linux*.
4401 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4403         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4405 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4407         PR regression/33926
4408         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4409         * configure: Regenerated.
4411 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4413         * Makefile.in (dfp-filenames): Replace decimal_globals,
4414         decimal_data, binarydecimal and convert_data with
4415         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4416         and bid_convert_data, respectively.
4418 2007-09-17  Chao-ying Fu  <fu@mips.com>
4419             Nigel Stephens  <nigel@mips.com>
4421         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4422         * Makefile.in (fixed_point): Define.
4423         Check if fixed_point is yes to build support functions.
4424         * configure.ac: Check for fixed_point support.
4425         * configure: Regenerated.
4426         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4427         funcs, modes, from, to.
4429 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4431         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4433 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4435         * Makefile.in (dfp-filenames): Remove decUtility, add
4436         decDouble, decPacked, decQuad, decSingle.
4438 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4440         * config.host : Add x86_64-elf target.
4442 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4444         * configure.ac (set_have_cc_tls): Add a missing =.
4445         * configure: Regenerated.
4447 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4449         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4450         and x86_64-*-linux*.
4452         * config/t-tls: New file.
4454         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4456         * configure.ac: Include ../config/enable.m4 and
4457         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4458         supports TLS and substitute set_have_cc_tls.
4459         * configure: Regenerated.
4461 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4463         * Makefile.in: Use libbid for DFP when BID is enabled.
4465 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
4467         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4468         extra_parts. Add config/i386/t-cygming to tmake_file.
4469         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4471 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
4472             Danny Smith  <dannysmith@users.sourceforge.net>
4474         PR target/29498
4475         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4476         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
4477         * config/i386/t-crtfm: Compile crtfastmath.o with
4478         -minline-all-stringops.
4480 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
4482         * config.host (sparc-wrs-vxworks): New target.
4484 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
4486         * config.host: Recognize fido.
4488 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
4490         * configure: Check host, not target, for decimal float support.
4492 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
4494         * config/i386/t-crtpc: New file.
4495         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4496         (x86_64-*-linux*): Ditto.
4498 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
4500         * config.host (x86_64-*-mingw*): New target.
4502 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
4503             H.J. Lu  <hongjiu.lu@intel.com>
4505         * Makefile.in (enable_decimal_float): New.
4506         (DECNUMINC): Add
4507         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4508         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4509         (decbits-filenames): This.
4510         (decbits-objects): New.
4511         (libgcc-objects): Add $(decbits-objects).
4513         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4514         Substitute enable_decimal_float.
4515         * configure: Regenerated.
4517 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
4519         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4521 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
4523         * Makefile.in (install-info): New dummy target.
4525 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
4527         * config.host (bfin*-linux-uclibc*): Set extra_parts.
4529 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
4531         * Makefile.in: Add install-html and install-pdf dummy
4532         targets.
4534 2007-02-05  Roger Sayle  <roger@eyesopen.com>
4535             Daniel Jacobowitz  <dan@codesourcery.com>
4537         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4538         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4539         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4541 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4543         * Makefile.in (dec-filenames): Add decExcept.
4545 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4547         PR bootstrap/30469
4548         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4549         -fprofile-use.
4551 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4553         * configure.ac: Add --enable-version-specific-runtime-libs.
4554         Correct $slibdir default.
4555         * configure: Regenerated.
4557 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4559         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4561 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4563         PR target/30519
4564         * config.host (alpha*-*-linux*): Set extra_parts.
4566 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4568         * config/sh/t-linux: New.
4569         * config.host (sh*-*-linux*): Set tmake_file.
4571 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4573         * Makefile.in (install): Handle multilibs.
4575 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4577         * Makefile.in: Added .PHONY entry for documentation targets.
4579 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4581         * Makefile.in: Add empty info, html, dvi, pdf targets.
4583 2007-01-04  Mike Stump  <mrs@apple.com>
4585         * Makefile.in (MAKEINFO): Remove.
4586         (PERL): Likewise.
4588 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4590         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4591         * configure: Regenerate.
4592         * Makefile.in (host_subdir): Substitute it.
4593         (gcc_objdir): Use it.
4595 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4597         * config.host (ia64*-*-linux*): Set tmake_file.
4599 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4601         * Makefile.in (version): Define.
4603 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4604             Paolo Bonzini  <bonzini@gnu.org>
4606         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4607         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4608         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4609         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4610         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4611         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4612         * configure: Generated.