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