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