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