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