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