2014-04-04 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libgcc / ChangeLog
blobe8a0745c5635ba8386b40b1fa2ce360b4d77f868
1 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5 2014-02-28  Joey Ye  <joey.ye@arm.com>
7         Backport from mainline r208229
8         2014-02-28  Joey Ye  <joey.ye@arm.com>
10         PR libgcc/60166
11         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
12         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
13         Set to zero.
15 2014-02-18  Kai Tietz  <ktietz@redhat.com>
16         Jonathan Schleifer  <js@webkeks.org>
18         PR objc/56870
19         * unwind-seh.c (_GCC_specific_handler): Pass proper
20         value to unwind-handler.
22 2014-01-25  Walter Lee  <walt@tilera.com>
24         Backport from mainline
25         2014-01-25  Walter Lee  <walt@tilera.com>
27         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
28         (post_atomic_barrier): Ditto.
29         (__fetch_and_do): New macro.
30         (__atomic_fetch_and_do): Use __fetch_and_do.
31         (__sync_fetch_and_do): New macro.
32         (__sync_fetch_and_add_4): New function.
33         (__sync_fetch_and_sub_4): New function.
34         (__sync_fetch_and_or_4): New function.
35         (__sync_fetch_and_and_4): New function.
36         (__sync_fetch_and_xor_4): New function.
37         (__sync_fetch_and_nand_4): New function.
38         (__sync_fetch_and_add_8): New function.
39         (__sync_fetch_and_sub_8): New function.
40         (__sync_fetch_and_or_8): New function.
41         (__sync_fetch_and_and_8): New function.
42         (__sync_fetch_and_xor_8): New function.
43         (__sync_fetch_and_nand_8): New function.
44         (__do_and_fetch): New macro.
45         (__atomic_do_and_fetch): Use __do_and_fetch.
46         (__sync_do_and_fetch): New macro.
47         (__sync_add_and_fetch_4): New function.
48         (__sync_sub_and_fetch_4): New function.
49         (__sync_or_and_fetch_4): New function.
50         (__sync_and_and_fetch_4): New function.
51         (__sync_xor_and_fetch_4): New function.
52         (__sync_nand_and_fetch_4): New function.
53         (__sync_add_and_fetch_8): New function.
54         (__sync_sub_and_fetch_8): New function.
55         (__sync_or_and_fetch_8): New function.
56         (__sync_and_and_fetch_8): New function.
57         (__sync_xor_and_fetch_8): New function.
58         (__sync_nand_and_fetch_8): New function.
59         (__sync_exchange_methods): New macro.
60         (__sync_val_compare_and_swap_4): New function.
61         (__sync_bool_compare_and_swap_4): New function.
62         (__sync_lock_test_and_test_4): New function.
63         (__sync_val_compare_and_swap_8): New function.
64         (__sync_bool_compare_and_swap_8): New function.
65         (__sync_lock_test_and_test_8): New function.
66         (__subword_cmpxchg_body): New macro.
67         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
68         (__atomic_compare_exchange_2): Ditto.
69         (__sync_subword_cmpxchg): New macro.
70         (__sync_val_compare_and_swap_1): New function.
71         (__sync_bool_compare_and_swap_1): New function.
72         (__sync_val_compare_and_swap_2): New function.
73         (__sync_bool_compare_and_swap_2): New function.
74         (__atomic_subword): Rename to ...
75         (__subword): ... New name.
76         (__atomic_subword_fetch): Use __subword.
77         (__sync_subword_fetch): New macro.
78         (__sync_fetch_and_add_1): New function.
79         (__sync_fetch_and_sub_1): New function.
80         (__sync_fetch_and_or_1): New function.
81         (__sync_fetch_and_and_1): New function.
82         (__sync_fetch_and_xor_1): New function.
83         (__sync_fetch_and_nand_1): New function.
84         (__sync_fetch_and_add_2): New function.
85         (__sync_fetch_and_sub_2): New function.
86         (__sync_fetch_and_or_2): New function.
87         (__sync_fetch_and_and_2): New function.
88         (__sync_fetch_and_xor_2): New function.
89         (__sync_fetch_and_nand_2): New function.
90         (__sync_add_and_fetch_1): New function.
91         (__sync_sub_and_fetch_1): New function.
92         (__sync_or_and_fetch_1): New function.
93         (__sync_and_and_fetch_1): New function.
94         (__sync_xor_and_fetch_1): New function.
95         (__sync_nand_and_fetch_1): New function.
96         (__sync_add_and_fetch_2): New function.
97         (__sync_sub_and_fetch_2): New function.
98         (__sync_or_and_fetch_2): New function.
99         (__sync_and_and_fetch_2): New function.
100         (__sync_xor_and_fetch_2): New function.
101         (__sync_nand_and_fetch_2): New function.
102         (__atomic_subword_lock): Use __subword.
103         (__sync_subword_lock): New macro.
104         (__sync_lock_test_and_set_1): New function.
105         (__sync_lock_test_and_set_2): New function.
107 2014-01-25  Walter Lee  <walt@tilera.com>
109         Backport from mainline
110         2014-01-25  Walter Lee  <walt@tilera.com>
112         * config/tilepro/atomic.c (BIT_OFFSET): Define.
113         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
114         (__atomic_subword): Ditto.
116 2014-01-25  Walter Lee  <walt@tilera.com>
118         Backport from mainline
119         2014-01-25  Walter Lee  <walt@tilera.com>
121         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
122         a prefix op argument.
123         (__atomic_nand_fetch_4): Add prefix op.
124         (__atomic_nand_fetch_8): Ditto.
126 2014-01-21  Baruch Siach <barch@tkos.co.il>
128         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
130 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
132         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
133         case of small numerator and finite nonzero result.
135 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
137         Backport from trunk r205917.
138         2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
139         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
141 2013-12-10  Uros Bizjak  <ubizjak@gmail.com>
143         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
144         instructions when __SSE_MATH__ is defined.
146 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
148         * config.host (microblaze-*-rtems*): New.
150 2013-11-10  Kai Tietz  <ktietz@redhat.com>
152         Back-merged from trunk
153         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
154         Increment load-count on use of LIBGCC_SONAME DLL.
155         (hmod_libgcc): New static variable to hold handle of
156         LIBGCC_SONAME DLL.
157         (__gcc_deregister_frame): Decrement load-count of
158         LIBGCC_SONAME DLL.
160 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
162         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
163         FP_EX_DENORM.  Store result to volatile location after SSE division
164         to close interrupt window.  Remove unneeded fwait after x87
165         division since interrupt window will be closed by emitted fstp.
166         Rewrite FP_EX_INEXACT handling.
168 2013-10-16  Release Manager
170         * GCC 4.8.2 released.
172 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
174         Backport from trunk: Fix licenses on several libgcc files.
176         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
177         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
178         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
179         GPL-3.0-with-GCC-exception.
181 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
183         Backport from 2013-07-19 trunk r201051.
185         PR target/57516
186         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
187         (__round_s2_const, __round_u2_const)
188         (__round_s4_const, __round_u4_const, __round_x8):
189         Saturate result if addition result cannot be represented.
191 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
193         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
195 2013-06-19  Alan Modra  <amodra@gmail.com>
197         Apply mainline patches
198         2013-06-04  Alan Modra  <amodra@gmail.com>
199         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
201         2013-04-25  Alan Modra  <amodra@gmail.com>
202         * config.host: Match little-endian powerpc-linux.
204 2013-06-08  Walter Lee  <walt@tilera.com>
206         Backport from mainline:
207         2013-06-08  Walter Lee  <walt@tilera.com>
209         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
210         Replace int64_t with long long.  Add __extension__ where
211         appropriate.
213 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
215         * config.host (arm-wrs-vxworks): Configure with other soft float.
217 2013-05-31  Richard Henderson  <rth@redhat.com>
219         PR target/49146
220         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
221         (execute_cfa_program): Use it when storing to fs->regs.
223 2013-05-31  Release Manager
225         * GCC 4.8.1 released.
227 2013-04-11  Julian Brown  <julian@codesourcery.com>
229         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
230         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
231         unsigned char/unsigned short.
232         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
234 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
236         PR other/55274
237         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
239 2013-03-26  Robert Mason  <rbmj@verizon.net>
241         PR target/54805
243         Backport from mainline:
244         2013-03-20  Robert Mason  <rbmj@verizon.net>
246         * config/vxlib-tls.c (__gthread_get_tsd_data,)
247         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
248         (__gthread_leave_tsd_dtor_context): Add prototypes.
249         (tls_delete_hook): Update.
251 2013-03-26  Walter Lee  <walt@tilera.com>
253         Backport from mainline:
254         2013-03-26  Walter Lee  <walt@tilera.com>
256         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
257         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
259 2013-03-22  Release Manager
261         * GCC 4.8.0 released.
263 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
265         PR tree-optimization/53265
266         * unwind-dw2.c (execute_cfa_program): Avoid
267         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
268         on targets with DWARF_FRAME_REGISTERS < 32.
270 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
272         PR target/49880
273         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
274         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
276 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
278         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
279         sandybridge processors.
281 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
283         PR target/56529
284         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
285         inclusion list.
287 2013-03-04  Edgar E. Iglesias <edgar.iglesias@gmail.com>
289         * config/microblaze/crti.S: Setup stack protection at entry
291 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
293         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
294         (__rotldi3): Shift bytewise if applicable.
296 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
298         * config/aarch64/sync-cache.c
299         (__aarch64_sync_cache_range): Silence warnings.
301 2013-02-25  Catherine Moore  <clm@codesourcery.com>
303         Revert:
304         2013-02-24  Catherine Moore  <clm@codesourcery.com>
305             Joseph Myers  <joseph@codesourcery.com>
306             Chao-ying Fu  <fu@mips.com>
308         * config/mips/mips16.S:  Don't build for microMIPS.
309         * config/mips/linux-unwind.h: Handle microMIPS frame.
310         * config/mips/crtn.S (fini, init): New labels.
312 2013-02-24  Catherine Moore  <clm@codesourcery.com>
313             Joseph Myers  <joseph@codesourcery.com>
314             Chao-ying Fu  <fu@mips.com>
316         * config/mips/mips16.S:  Don't build for microMIPS.
317         * config/mips/linux-unwind.h: Handle microMIPS frame.
318         * config/mips/crtn.S (fini, init): New labels.
320 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
321         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
322         as dividend.
324 2013-02-16  Alan Modra  <amodra@gmail.com>
326         PR target/55431
327         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
328         (ppc_fallback_frame_state): Always set up save locations for fp
329         and altivec.  Don't bother with non-callee-saved regs, r0-r13
330         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
332 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
334         PR target/54222
335         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
336         _ssmulHA, _ssmulSA.
337         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
338         _ssmulha3, _usmulusa3, _ssmulsa3.
339         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
340         (__muldi3): XCALL __muldi3_6 instead of rcall.
341         (__umulsidi3, __mulsidi3): New functions.
342         (do_prologue_saves, do_epilogue_restores): New .macros.
343         (__divdi3_moddi3): Use them.
344         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
345         (__usmulusa3, __ssmulsa3): New functions.
347 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
348             Jack Howarth  <howarth@bromo.med.uc.edu>
349             Patrick Marlier  <patrick.marlier@gmail.com>
351         PR libitm/55693
352         * config/darwin-crt-tm.c: Remove dummy functions hack.
354 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
356         PR target/54222
357         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
358         * config/avr/lib2-object.mk: New iterator to build objects from it.
359         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
360         lib2funcs.c.
361         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
362         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
363         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
364         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
365         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
366         * config/avr/lib1funcs-fixed.S: Implement them.
368 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
370         Update copyright years.
372 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
374         PR target/54601
375         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
376         Add crtcxa to extra_parts.
377         * config/rs6000/exit.h: New file.
378         * config/rs6000/cxa_atexit.c: New file.
379         * config/rs6000/cxa_finalize.c: New file.
380         * config/rs6000/crtcxa.c: New file.
381         * config/rs6000/t-aix-cxa: New file.
382         * config/rs6000/libgcc-aix-cxa.ver: New file.
384 2013-01-31  Nick Clifton  <nickc@redhat.com>
386         * config/v850/lib1funcs.S: Add support for e3v5 architecture
387         variant.
389 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
391         PR target/54222
392         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
393         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
394         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
395         _divQQ,  _divHQ,  _divHA,  _divSA,
396         _divUQQ, _divUHQ, _divUHA, _divUSA.
398 2013-01-26  David Holsgrove <david.holsgrove@xilinx.com>
400         * config.host(microblaze*-linux*): tmake_file: Remove
401         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
402         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
403         to exclude functions from being built with libgcc.c and use
404         the microblaze assembly.
406 2013-01-26  Edgar E. Iglesias <edgar.iglesias@gmail.com>
408         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
409         extra_parts.
411 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
413         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
414         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
415         __UINTPTR_TYPE__; also cast 'base' to the same type before the
416         alignment operation.
418 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
420         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
421         loop start address for cache clearing.
423 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
425         * config/avr/lib1funcs.S: Remove trailing blanks.
426         * config/avr/lib1funcs-fixed.S: Ditto.
428 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
430         * config/avr/avr-lib.h: Add GPL copyright notice.
432 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
434         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
435         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
436         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
437         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
439 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
441         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
442         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
444 2013-01-04  Nick Clifton  <nickc@redhat.com>
446         * config/v850/lib1funcs.S: Only provide CALLT support functions if
447         the CALLT instruction is supported.
449 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
451         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
452         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
454 2012-12-13  John Tytgat  <John@bass-software.com>
456         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
457         is 25.
459 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
461         PR libgcc/55451
462         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
463         undefined signed overflows.
465 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
467         PR target/55344
468         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
470 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
472         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
473         (FP_TRAPPING_EXCEPTIONS): Define.
474         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
475         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
477 2012-12-04  Richard Henderson  <rth@redhat.com>
479         PR bootstrap/55571
480         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
482 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
484         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
485         (FP_EX_SHIFT): Define.
486         (FP_TRAPPING_EXCEPTIONS): Define.
488 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
490         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
491         (FP_ROUNDMODE): Use FP_RND_MASK.
492         * config/aarch64/sfp-exceptions.c: New.
493         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
494         Use __sfp_handle_exceptions.
496 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
498         * config.host: (arm*-*-freebsd*): Remove.
499         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
500         (arm*-*-elf*): Remove.
501         (arm*-*-wince-pe*): Remove.
502         * arm/unwind-arm.c (struct fpa_reg): Delete.
503         (struct fpa_regs): Delete.
504         (phase1_vrs): Remove fpa element.
505         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
506         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
507         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
508         * ieee754-sf.S (floatundisf): Remove FPA support.
509         (floatdisf): Likewise.
510         * ieee75f-df.S (floatundidf): Likewise.
511         (floatdidf): Likewise.
513 2012-11-29  Kai Tietz  <ktietz@redhat.com>
515         PR target/55445
516         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
517         * unwind-generic.h: Likewise.
518         * unwind-seh.c: Likewise.
520 2012-11-28  Richard Henderson  <rth@redhat.com>
522         PR libgcc/48076
523         * emutls.c (__emutls_get_address): Avoid race condition between
524         obj->loc.offset read and emutls_key initialization.
526 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
528         Adjust decimal point of signed accum mode to GCC default.
530         PR target/54222
531         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
532         _divqq_helper.
533         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
534         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
535         (__mulha3, __mulsa3)
536         (__divqq3, __divha3, __divsa3): Adjust to new position of
537         decimal point of signed accum types.
539         (__mulusa3_round): New function.
540         (__mulusa3): Use it.
541         (__divqq_helper): New function.
542         (__udivuqq3): Use it.
544 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
546         PR bootstrap/55370
547         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
549 2012-11-18  Teresa Johnson  <tejohnson@google.com>
551         PR bootstrap/55051
552         * libgcov.c (gcov_exit): Remove merged program summary
553         comparison unless !GCOV_LOCKED.
555 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
557         * soft-fp: Updated from glibc upstream.
559 2012-11-06  Ian Lance Taylor  <iant@google.com>
561         * generic-morestack.c (__generic_morestack): Align the returned
562         stack pointer to a 32 byte boundary.
563         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
564         increment the return address until we have decided that we don't
565         have a varargs function.
566         (__morestack) [32-bit]: Align stack correctly when calling C
567         functions.
568         (__morestack) [64-bit]: Likewise.
570 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
572         * configure: Regenerate.
574 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
576         PR target/55175
577         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
578         * config/i386/sfp-machine.h: Guard exception handling
579         code with _SOFT_FLOAT.
580         * config/i386/32/sfp-machine.h: Guard rounding handling
581         code with _SOFT_FLOAT.
582         * config/i386/64/sfp-machine.h: Ditto.
584 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
586         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
587         as extra_parts.
589 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
591         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
592         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
593         when appropriate.  Correct structure element types.
594         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
595         -minline-all-stringops from compile flags.
597 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
599         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
601 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
603         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
605 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
607         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
608         tmake_file.
610 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
611             Jim MacArthur  <jim.macarthur@arm.com>
612             Marcus Shawcroft  <marcus.shawcroft@arm.com>
613             Nigel Stephens  <nigel.stephens@arm.com>
614             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
615             Richard Earnshaw  <rearnsha@arm.com>
616             Sofiane Naci  <sofiane.naci@arm.com>
617             Stephen Thomas  <stephen.thomas@arm.com>
618             Tejas Belagod  <tejas.belagod@arm.com>
619             Yufeng Zhang  <yufeng.zhang@arm.com>
621         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
622         * config/aarch64/crti.S: New file.
623         * config/aarch64/crtn.S: New file.
624         * config/aarch64/linux-unwind.h: New file.
625         * config/aarch64/sfp-machine.h: New file.
626         * config/aarch64/sync-cache.c: New file.
627         * config/aarch64/t-aarch64: New file.
628         * config/aarch64/t-softfp: New file.
630 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
632         * config/mmix/crti.S: Mark program and data addresses using PRELD.
633         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
634         no-longer-needed LDBU insns.
636 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
638         * config.host
639         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
640         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
642 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
644         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
646 2012-10-15  Matthias Klose  <doko@ubuntu.com>
648         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
650 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
652         * configure: Regenerate.
653         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
655 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
657         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
658         instructions for 64bit targets only.
660 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
662         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
663         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
664         * config/i386/32/sfp-machine.h: ... here.
665         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
666         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
667         New defines.
669 2012-10-07  Matthias Klose  <doko@ubuntu.com>
671         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
672         as unused.
673         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
675 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
677         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
678         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
679         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
680         (ElfW): Likewise.
682 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
684         PR other/53889
685         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
686         Fix parameter names.
688 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
690         PR target/33135
691         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
692         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
693         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
695 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
697         PR target/50457
698         * config/sh/linux-atomic.S: Delete.
699         * config/sh/linux-atomic.c: New.
700         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
701         linux-atomic.c.  Add cflags to disable warnings.
703 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
705         PR other/53889
706         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
707         function.
708         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
709         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
710         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
711         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
712         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
713         Likewise.
714         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
715         Likewise.
716         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
717         Likewise.
718         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
719         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
721 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
723         * config.host (hppa-*-openbsd*): New target.
724         * config/pa/t-openbsd: New file.
726 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
728         PR target/54222
729         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
730         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
731         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
732         (__divsa3): Use __negsi2 to negate r_quoL.
733         * config/avr/lib1funcs.S (FALIAS): New macro.
734         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
735         (__negsi2): ...this new function.
736         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
737         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
738         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
739         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
740         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
741         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
743 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
745         PR target/54089
746         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
747         (lshrsi3): Reimplement as lshrsi3_r0.
749 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
751         PR target/46191
752         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
753         of libgcc.a.
755 2012-09-07  Teresa Johnson  <tejohnson@google.com>
757         PR gcov-profile/54487
758         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
759         differences.
761 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
763         PR target/54461
764         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
765         not configured --with-avrlibc=no.
766         * config/avr/t-avrlibc: New file.
767         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
768         (DPBIT_FUNCS): Ditto.
769         (TPBIT_FUNCS): Ditto.
771 2012-09-04  Teresa Johnson  <tejohnson@google.com>
773         * libgcov.c (struct gcov_summary_buffer): New structure.
774         (gcov_histogram_insert): New function.
775         (gcov_compute_histogram): Ditto.
776         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
777         histograms during summary merging.
779 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
781         * config.host (x86_64-*-openbsd*): New target.
783 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
785         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
786         attribute.
788 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
790         PR target/54222
791         * config/avr/t-avr (conv_X): Rename to func_X.
793 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
795         PR target/54222
796         * config/avr/lib1funcs-fixed.S: New file.
797         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
798         after they are used.
799         (neg2, neg4): New macros.
800         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
801         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
802         (__umulhisi3): Speed up MUL variant if there is enough flash.
803         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
804         avr-modes.def.
805         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
806         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
807         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
808         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
809         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
810         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
811         (LIB2FUNCS_EXCLUDE): Add supported functions.
813 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
815         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
816         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
817         libgcc-s-objects.
818         * fixed-obj.mk: Only expand dependency if $o is not in
819         LIB2FUNCS_EXCLUDE.
821 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
823         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
825 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
827         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
828         depend on --enable-shared.
829         ($(lib1asmfuncs-o)): Use %.vis files independent of
830         --enable-shared.
831         * static-object.mk ($(base)$(objext), $(base).vis)
832         ($(base)_s$(objext)): Use same rules for visibility handling as in
833         shared-object.mk.
835 2012-08-21  Ian Lance Taylor  <iant@google.com>
837         * config/i386/morestack.S (__morestack_non_split): Increase amount
838         of space allocated for non-split code stack.
840 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
842         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
843         even if inhibit_libc.
845 2012-08-17  Julian Brown  <julian@codesourcery.com>
847         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
848         -fexceptions -fnon-call-exceptions if not defined.
849         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
850         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
852 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
854         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
855         type.
857 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
859         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
860         rs6000/t-slibgcc-aix.
862 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
864         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
866 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
868         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
870 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
872         PR driver/54171
873         * Makefile.in (version): Replace top_srcdir with srcdir.
875 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
877         * Makefile.in (version): set to BASE-VER file from gcc directory.
879 2012-08-01  Nick Clifton  <nickc@redhat.com>
881         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
882         Implements __clrsb for an HImode argument.
884 2012-07-31  Nick Clifton  <nickc@redhat.com>
886         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
887         Implements __clrsb for an HImode argument.
888         * config/stormy16/clrsbhi2.c: New file:
889         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
891 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
893         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
895 2012-07-19  Tristan Gingold  <gingold@adacore.com>
896             Richard Henderson  <rth@redhat.com>
898         * unwind-seh.c: New file.
899         * unwind-generic.h: Include windows.h for SEH.
900         (_Unwind_Exception): Use 6 private fields for SEH.
901         (_GCC_specific_handler): Declare.
902         * unwind-c.c (__gcc_personality_seh0): New function.
903         Adjust for SEH.
904         * config/i386/libgcc-cygming.ver: New file.
905         * config/i386/t-seh-eh: New file.
906         * config.host (x86_64-*-mingw*): Default to seh.
908 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
910         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
912 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
914         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
915         __builtin_expect when checking for exceptions.
916         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
918 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
920         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
921         function declaration.
922         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
923         (FP_RND_MASK): New.
924         * config/ia64/sfp-exceptions.c: New.
925         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
927 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
929         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
930         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
931         * config/i386/64/sfp-machine: ... (delete here) ...
932         * config/i386/sfp-machine.h: ... to here.
933         (FP_EX_MASK): Remove.
934         (FP_RND_MASK): New.
935         (FP_INIT_ROUNDMODE): Declare asm as volatile.
937 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
939         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
940         * config/i386/libgcc-sol2.ver: Ditto.
941         * config/i386/libgcc-glibc.ver: Ditto.
943 2012-06-11  Roland McGrath  <mcgrathr@google.com>
945         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
946         If __GLIBC__ is defined, refer to __pthread_key_create instead of
947         pthread_cancel.
949 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
951         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
952         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
953         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
954         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
955         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
956         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
957         * config/i386/64/sfp-machine: ... (delete here) ...
958         * config/i386/sfp-machine.h: ... to here.
959         (FP_EX_MASK): New.
960         (__sfp_handle_exceptions): New function declaration.
961         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
962         * config/i386/sfp-exceptions.c: New.
963         * config/i386/t-softfp: New.
964         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
965         i386/t-softfp to tmake_file.
967 2012-06-03  David S. Miller  <davem@davemloft.net>
969         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
970         change.
972 2012-05-31  David S. Miller  <davem@davemloft.net>
974         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
975         multiply and divide instructions on 32-bit when V9.
976         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
978 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
980         * config/arm/ieee754-df.S: Fix typos.
981         * config/arm/ieee754-sf.S: Fix typos.
982         * config/c6x/libunwind.S: Fix typos.
983         * config/epiphany/udivsi3-float.c: Fix typos.
984         * config/microblaze/muldi3_hard.S: Fix typos.
985         * config/picochip/adddi3.S: Fix typos.
986         * config/picochip/ashlsi3.S: Fix typos.
987         * config/picochip/ashrsi3.S: Fix typos.
988         * config/picochip/clzsi2.S: Fix typos.
989         * config/picochip/cmpsi2.S: Fix typos.
990         * config/picochip/divmod15.S: Fix typos.
991         * config/picochip/divmodhi4.S: Fix typos.
992         * config/picochip/divmodsi4.S: Fix typos.
993         * config/picochip/longjmp.S: Fix typos.
994         * config/picochip/lshrsi3.S: Fix typos.
995         * config/picochip/parityhi2.S: Fix typos.
996         * config/picochip/popcounthi2.S: Fix typos.
997         * config/picochip/setjmp.S: Fix typos.
998         * config/picochip/subdi3.S: Fix typos.
999         * config/picochip/ucmpsi2.S: Fix typos.
1000         * config/picochip/udivmodhi4.S: Fix typos.
1001         * config/picochip/udivmodsi4.S: Fix typos.
1002         * config/spu/divv2df3.c: Fix typos.
1003         * config/spu/mfc_multi_tag_release.c: Fix typos.
1004         * config/spu/mfc_tag_release.c: Fix typos.
1005         * configure.ac: Fix typos.
1006         * configure: Regenerate.
1008 2012-05-25  Ian Lance Taylor  <iant@google.com>
1010         * config/i386/morestack.S (__morestack_non_split): Check whether
1011         caller is varargs and needs %bp to hold the stack frame on return.
1013 2012-05-25  Olivier Hainque  <hainque@adacore.com>
1015         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1016         sequence in the non pic case on VxWorks.
1018 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1020         * Makefile.in: Move dependency on install-unwind_h from
1021         "install-leaf" to "install".
1023 2012-05-24  Olivier Hainque  <hainque@adacore.com>
1025         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1026         Use a separate command for stamp removals.
1028 2012-05-21  Andrew Pinski  <apinski@cavium.com>
1030         PR bootstrap/53183
1031         * configure.ac: Define the default includes to being none.
1032         * configure: Regenerate.
1034 2012-05-16  Olivier Hainque  <hainque@adacore.com>
1036         * Makefile.in (install-unwind_h): Rename into ...
1037         (install-unwind_h-forbuild): New target.
1038         (all): Use it instead of the former install-unwind_h.
1039         (install-unwind_h): Reinstate, copy to user install destination
1040         for include files, not to the internal gcc object directory one.
1041         (install-leaf): Depend on it.
1043 2012-05-15  Olivier Hainque  <hainque@adacore.com>
1045         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1046         register numbers. LR_REGNO replaces R_LR.
1047         (ucontext_for): New, helper for ...
1048         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1049         and 5.3 of ...
1050         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1052 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1054         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1055         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1056         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1057         i386/t-cpuinfo ...
1058         (i[34567]86-*-*, x86_64-*-*): ... here.
1060         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1061         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1063         * config/i386/i386-cpuinfo.c: Rename to ...
1064         * config/i386/cpuinfo.c: ... this.
1065         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1067         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1068         (libgcc_cv_init_priority): New test.
1069         * configure: Regenerate.
1070         * config.in: New file.
1071         * Makefile.in (clean): Rename config.h to auto-target.h.
1072         (config.h): Likewise.
1073         (stamp-h): Likewise.
1075         * config/i386/cpuinfo.c (auto-target.h): Include.
1076         (CONSTRUCTOR_PRIORITY): Define.
1077         (__cpu_indicator_init): Use it.
1079 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
1081         * longlong.h: Use a URL instead of an FSF postal address.
1082         Replace spaces with tab.
1084 2012-05-08  Teresa Johnson  <tejohnson@google.com>
1086         * libgcov.c (gcov_clear, __gcov_reset): New functions.
1087         (__gcov_dump): Ditto.
1088         (gcov_dump_complete): New global variable.
1089         (gcov_exit): Export hidden to enable use in L_gcov_dump.
1090         (__gcov_flush): Outline functionality now in gcov_clear.
1091         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1093 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
1095         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1096         (mips*-*-linux*): Include mips/t-tpbit when long double is
1097         16 bytes long.
1099 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
1101         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1102         (get_available_features): New argument. Check for AVX2.
1103         (__cpu_indicator_init): Modify call to get_available_features.
1105 2012-04-25  Alan Modra  <amodra@gmail.com>
1107         * config/rs6000/crtsavevr.S: New file.
1108         * config/rs6000/crtrestvr.S: New file.
1109         * config/rs6000/t-savresfgpr: Build the above.
1110         * config/rs6000/t-netbsd: Likewise.
1112 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1114         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1116 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
1118         * libgcc/config/i386/i386-cpuinfo.c: New file.
1119         * libgcc/config/i386/t-cpuinfo: New file.
1120         * libgcc/config.host: Include t-cpuinfo.
1121         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1123 2012-04-24  Chao-ying Fu  <fu@mips.com>
1125         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1127 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
1129         struct siginfo vs. siginfo_t
1131         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1132         siginfo_t instead of struct siginfo.
1133         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1134         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1135         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1136         (ia64_handle_unwabi): Likewise.
1137         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1138         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1139         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1140         (sh_fallback_frame_state): Likewise.
1141         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1142         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1144 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1146         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1147         system call number.
1149 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
1151         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1152         if it hasn't been previously saved.
1154 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1156         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1157         only for glibc.
1159 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
1161         PR target/52737
1162         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1163         instead of __AVR_HAVE_8BIT_SP__.
1165 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1167         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1168         (unw_table_entry): Use unw_word instead of unsigned long.
1169         (_Unwind_FindTableEntry): Likewise.
1170         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1171         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1172         (_Unwind_FindTableEntry): Likewise.
1173         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1174         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1175         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1176         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1177         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1178         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1179         (uw_init_context_1, uw_install_context): Likewise.
1180         (unw_word): Move to unwind-ia64.h
1182 2012-03-26  Tristan Gingold  <gingold@adacore.com>
1184         * config/vms/vms-ucrt0.c: Update copyright years.
1185         Add a sanity check.
1186         (___gcc_main_flags): Declare.
1187         (__main): Check flags to remap argv and exit code.
1188         * config.host (*-*-*vms*): Adjust extra_parts.
1189         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1190         (crt0.o): Add.
1192 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
1194         * arm/lib1funcs.asm (ctzsi2): New function.
1195         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1196         * arm/t-linux (LIB1ASMFUNCS): Likewise.
1197         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1198         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1199         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1200         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1202 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
1204         * config.host: Add bits to support powerpc64-*-freebsd*.
1205         * config/rs6000/freebsd-unwind.h: New file.
1206         * config/rs6000/t-freebsd64: New file.
1208 2012-03-20  Richard Guenther  <rguenther@suse.de>
1210         PR gcov-profile/52627
1211         * libgcov.c (init_mx): Fix mutex name.
1213 2012-03-16  Tristan Gingold  <gingold@adacore.com>
1215         * config/ia64/vms-unwind.h: Remove ulong (and replace
1216         it by unw_reg where used).  Define unw_reg with __int64.
1218 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1220         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1221         Solaris 8 handling.
1222         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1223         Solaris 8 handling.
1224         (sparc_is_sighandler): Likewise.
1226 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1228         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1229         <= saved reg size.
1231 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1233         * config/arm/crtn.S: Fix typo.
1235 2012-03-13  Richard Guenther  <rguenther@suse.de>
1237         * libgcov.c: Remove stdio.h include and NULL un-define.
1239 2012-03-13  Richard Guenther  <rguenther@suse.de>
1241         PR target/52569
1242         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1244 2012-03-13  Richard Guenther  <rguenther@suse.de>
1246         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1248 2012-03-13  Richard Guenther  <rguenther@suse.de>
1250         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1251         and __gthread_mutex_init_function definitions.
1253 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1255         * config.host (mips*-*-openbsd*): Remove.
1257 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1259         * config.host: Remove alpha*-dec-osf5.1* handling.
1260         * config/alpha/gthr-posix.c: Remove.
1261         * config/alpha/libgcc-osf5.ver: Remove.
1262         * config/alpha/osf5-unwind.h: Remove.
1263         * config/alpha/t-osf-pthread: Remove.
1264         * config/alpha/t-slibgcc-osf: Remove.
1265         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1266         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1267         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1268         * mkmap-flat.awk: Remove osf_export handling.
1270 2012-03-12  Richard Guenther  <rguenther@suse.de>
1272         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1273         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1274         (__gthread_mutex_init_function): New function.
1275         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1277         PR gcov/49484
1278         * libgcov.c: Include gthr.h.
1279         (__gcov_flush_mx): New global variable.
1280         (init_mx, init_mx_once): New functions.
1281         (__gcov_flush): Protect self with a mutex.
1282         (__gcov_fork): Re-initialize mutex after forking.
1283         * unwind-dw2-fde.c: Change condition under which to use
1284         __GTHREAD_MUTEX_INIT_FUNCTION.
1286 2012-03-12  Tristan Gingold  <gingold@adacore.com>
1288         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1289         * config/ia64/t-vms: Likewise.
1291 2012-03-11  Michael Hope  <michael.hope@linaro.org>
1293         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1294         for Thumb-2.
1296 2012-03-07  Walter Lee  <walt@tilera.com>
1298         * config/tilepro/atomic.c: Rename "atomic_" prefix to
1299         "arch_atomic_".
1300         (atomic_xor): Rename and move definition to
1301         config/tilepro/atomic.h.
1302         (atomic_nand): Ditto.
1303         * config/tilepro/atomic.h: Rename "atomic_" prefix to
1304         "arch_atomic_".
1305         (arch_atomic_xor): Move from config/tilepro/atomic.c.
1306         (arch_atomic_nand): Ditto.
1308 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1310         PR target/52507
1311         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1313 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1315         PR target/52505
1316         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1317         from RAM.
1319 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
1321         PR target/52461
1322         PR target/52508
1323         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1324         if RAMPZ affects reading from RAM.
1325         (__tablejump_elpm__): Ditto.
1326         (.xload): Ditto.
1327         (__movmemx_hi): Ditto.
1328         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1329         (__do_global_dtors): Ditto.
1330         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1331         (__movmemx_hi): Ditto.
1333 2012-03-05  Richard Henderson  <rth@redhat.com>
1335         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1336         [ARM] (count_trailing_zeros): Use the builtin.
1338 2012-03-01  Kai Tietz  <ktietz@redhat.com>
1340         * soft-fp: Imported from glibc upstream.
1342 2012-02-28  Kai Tietz  <ktietz@redhat.com>
1344         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1345         for mingw-targets as attribute gcc_struct.
1347 2012-02-28  Ian Lance Taylor  <iant@google.com>
1349         * generic-morestack.c (__splitstack_releasecontext): Correct call
1350         to __morestack_release_segments.
1352 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1354         PR target/52390
1355         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1356         for __linux__ when removing signals from __morestack_fullmask.
1358 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
1360         PR target/52261
1361         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1363 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1365         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1366         instead of HAVE_INITFINI_ARRAY.
1367         * config/ia64/crtend.S: Likewise.
1369 2012-02-20  Kai Tietz  <ktietz@redhat.com>
1371         PR libstdc++/52300
1372         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1374         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1375         to w32-unwind.h header.
1377 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1379         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1380         (mips*-*-linux*): Remove t-slibgcc-libgcc.
1381         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1382         * config/mips/mips16.S (__mips16_rdhwr): Delete.
1384 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
1386         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1388 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1390         PR libitm/52220
1391         * config/darwin-crt-tm.c: Correct typo.
1393 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1394             Patrick Marlier  <patrick.marlier@gmail.com>
1396         PR libitm/52220
1397         * config/darwin-crt-tm.c: Generate dummy functions.
1399 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
1400             Patrick Marlier  <patrick.marlier@gmail.com>
1402         PR libitm/52042
1403         * config/darwin-crt-tm.c (getTMCloneTable): New function.
1404         (__doTMRegistrations): Call it.
1405         (__doTMdeRegistrations): Likewise.
1407 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
1408             Anatoly Sokolov <aesok@post.ru>
1409             Eric Weddington <eric.weddington@atmel.com>
1411         PR target/52261
1412         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1413         (__epilogue_restores__): Ditto.
1415 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1417         PR target/51921
1418         PR target/52205
1419         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1420         Solaris 11 and slightly reformat.
1421         (sparc_is_sighandler): Likewise.
1423 2012-02-14  Walter Lee  <walt@tilera.com>
1425         * config.host: Handle tilegx and tilepro.
1426         * config/tilegx/sfp-machine.h: New file.
1427         * config/tilegx/sfp-machine32.h: New file.
1428         * config/tilegx/sfp-machine64.h: New file.
1429         * config/tilegx/t-crtstuff: New file.
1430         * config/tilegx/t-softfp: New file.
1431         * config/tilegx/t-tilegx: New file.
1432         * config/tilepro/atomic.c: New file.
1433         * config/tilepro/atomic.h: New file.
1434         * config/tilepro/linux-unwind.h: New file.
1435         * config/tilepro/sfp-machine.h: New file.
1436         * config/tilepro/softdivide.c: New file.
1437         * config/tilepro/softmpy.S: New file.
1438         * config/tilepro/t-crtstuff: New file.
1439         * config/tilepro/t-tilepro: New file.
1441 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1443         PR libstdc++/51296
1444         PR libstdc++/51906
1445         * gthr-posix.h: Allow static initializer macros to be disabled.
1446         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1448 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1450         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1451         Add t-slibgcc-libgcc to tmake_file.
1452         * config/mips/libgcc-mips16.ver: Revert previous patch.
1453         * config/mips/mips16.S (__mips16_rdhwr): Hide.
1455 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1456             Jayant R Sonar <jayant.sonar@kpitcummins.com>
1458         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1459         * config/cr16/crti.S: New file.
1460         * config/cr16/crtlibid.S: New file.
1461         * config/cr16/crtn.S: New file.
1462         * config/cr16/lib1funcs.S: New file.
1463         * config/cr16/t-cr16: New file.
1464         * config/cr16/t-crtlibid: New file.
1465         * config/cr16/unwind-dw2.h: New file.
1466         * config/cr16/unwind-cr16.c: New file.
1467         * config/cr16/divmodhi3.c: New file.
1469 2012-01-25  Alan Modra  <amodra@gmail.com>
1471         * config/rs6000/t-linux64: Delete.  Move..
1472         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1473         * config/rs6000/t-linux: ..and libgcc flags to here.
1475 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
1477         * config.host (i[34567]86-*-interix3*):
1478         Change triplet to i[34567]86-*-interix[3-9]*.
1479         * configure: Regenerate.
1481 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
1482             Richard Sandiford  <rdsandiford@googlemail.com>
1484         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1485         * config/mips/mips16.S (__mips16_rdhwr): New function.
1486         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1488 2012-01-11  Nathan Sidwell  <nathan@acm.org>
1490         * libgcov.c (__gcov_init): Ignore objects with no functions.
1492 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
1494         PR target/49868
1495         Extend __pgmx semantics to linearize memory.
1496         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1497         * config/avr/lib1funcs.S (__xload_1): New function.
1498         (__movmemx_qi, __movmemx_hi): New functions.
1499         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1500         semantics.
1502 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1504         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1505         purported sigacthandler address isn't null before dereferencing it.
1506         (sparc_is_sighandler): Likewise.
1508 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1510         PR ada/41929
1511         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1512         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
1513         (sparc_is_sighandler): Likewise.
1514         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1516 2012-01-06  Tristan Gingold  <gingold@adacore.com>
1518         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1519         compatibility thunks...
1520         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1521         (crtbeginS.o, crtendS.o): ... and these to ...
1522         * config/ia64/t-ia64-elf: ... this new file.
1523         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1524         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1526 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1528         * configure: Regenerate.
1529         * config/s390/t-crtstuff: Remove -fPIC.
1531 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
1533         PR bootstrap/51006
1534         * enable-execute-stack-mprotect.c (getpagesize): Do not define
1535         for NetBSD.
1537 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1539         PR target/51345
1540         * config/avr/lib1funcs.S: Remove FIXME comments.
1541         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1543 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
1545         Implement light-weight DImode support.
1546         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1547         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1548         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1549         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1551 2011-12-30  Nathan Sidwell  <nathan@acm.org>
1553         * libgcov.c (gcov_crc32): Remove global var.
1554         (free_fn_data): New function.
1555         (buffer_fn_data): Pass in filename, more robust error recovery.
1556         (crc32_unsigned): New function.
1557         (gcov_exit): More robust detection of new program. More robust
1558         error recovery.
1559         (__gcov_init): Do not update program's crc here.
1561 2011-12-21  Tristan Gingold  <gingold@adacore.com>
1563         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1565 2011-12-21  Ian Lance Taylor  <iant@google.com>
1567         * config/i386/morestack.S: Simplify CFI opcodes throughout.
1569 2011-12-20  Ian Lance Taylor  <iant@google.com>
1571         * config/i386/morestack.S (__morestack_non_split): If there is
1572         enough stack space already, don't split.  Ask for more stack space
1573         than we required.
1575 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1577         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1578         `sys/sdt.h'.
1579         (_Unwind_DebugHook): New function.
1580         (uw_restore_core_regs): New define.
1581         (unwind_phase2): Use uw_restore_core_regs instead of
1582         restore_core_regs.
1583         (unwind_phase2_forced): Likewise.
1584         (__gnu_Unwind_Resume): Likewise.
1586 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
1588         * config/alpha/linux-unwind.h: Update copyright years.
1589         (MD_FROB_UPDATE_CONTEXT): New define.
1590         (alpha_frob_update_context): New function.
1592 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
1594         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1595         tmake_file rather replacing it.
1597 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
1599         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1600         function is not used for PPC64.
1601         (save_world): Amend comments.  Update the VRsave mask to reflect the
1602         saved regs.
1603         (rest_world): Update comments, do not  clobber r10, do not use r8.
1604         (eh_rest_world_r10): Amend comments, do not use r8.
1605         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1606         no longer used, move restore of CR and target address to the end of
1607         the routine.
1609 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
1611         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1612         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1614 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
1616         PR target/49313
1617         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1618         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1620 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
1622         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1624 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
1626         PR target/49313
1627         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1628         * config/avr/lib1funcs.S (__muldi3): New function.
1630 2011-12-06  Andrew Pinski  <apinski@cavium.com>
1632         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1633         size of func_ptr.
1634         (__frame_dummy_init_array_entry): Likewise.
1636 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
1638         Forward-port from gcc-4_6-branch r181936 2011-12-02.
1640         PR target/51345
1641         PR target/51002
1642         * config/avr/lib1funcs.S (__prologue_saves__,
1643         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1644         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
1646 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
1648         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1650 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1652         PR other/51272
1653         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1654         (_ITM_deregisterTMCloneTable): Likewise.
1655         (__register_frame_info): Fix unused warning.
1656         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1657         pthread_default_stacksize_np): Likewise.
1658         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1660 2011-11-29  DJ Delorie  <dj@redhat.com>
1662         * config.host (rl78-*-elf): New case.
1663         * config/rl78: New directory for the Renesas RL78.
1665 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
1667         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
1668         formatting.
1670 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1672         PR other/51022
1673         * config/rs6000/t-savresfgpr: New file.
1674         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1675         $(srcdir)/config/rs6000/eabi.S.
1676         * config/rs6000/t-ppccomm-ldbl: Remove.
1677         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1678         tmake_file.
1679         (powerpc-*-eabispe*): Likewise.
1680         (powerpc-*-eabi*): Likewise.
1681         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1682         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1683         to tmake_file, remove rs6000/t-ppccomm-ldbl.
1684         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1685         tmake_file.
1686         (powerpc-*-eabisim*): Likewise.
1687         (powerpc-*-elf*): Likewise.
1688         (powerpc-*-eabialtivec*): Likewise.
1689         (powerpc-xilinx-eabi*): Likewise.
1690         (powerpc-*-rtems*): Likewise.
1691         (powerpcle-*-elf*): Likewise.
1692         (powerpcle-*-eabisim*): Likewise.
1693         (powerpcle-*-eabi*): Likewise.
1695 2011-11-27  Ian Lance Taylor  <iant@google.com>
1697         * generic-morestack.c (__splitstack_find): Check for NULL old
1698         stack value.
1699         (__splitstack_resetcontext): New function.
1700         (__splitstack_releasecontext): New function.
1701         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1703 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1705         * config/darwin-crt-tm.c: Correct comments, use correct licence.
1707 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
1709         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1711 2011-11-26  Richard Henderson  <rth@redhat.com>
1713         * config/m68k/linux-atomic.c: New file.
1714         * config/m68k/t-linux: New file.
1715         * config.host (m68k-uclinux, m68k-linux): Use it.
1717 2011-11-26  Richard Henderson  <rth@redhat.com>
1719         * crtstuff.c (__TMC_LIST__): Mark used not unused.
1720         (__TMC_END__): Only declare if hidden is available; in the definition,
1721         if hidden is unavailable add a null record.
1722         (deregister_tm_clones, register_tm_clones): New.
1723         (__do_global_dtors_aux, frame_dummy): Use them.
1724         (__do_global_dtors, __do_global_ctors_1): Likewise.
1726 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
1728         * config/darwin-crt-tm.c: New file.
1729         * config.host (darwin): Build crttms.o crttme.o to provide
1730         startup and shutdown for tm clones.
1731         * config/t-darwin (crttms.o): New build rule.
1732         (crttme.o): Likewise.
1734 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
1736         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1737         et al.
1739 2011-11-21  Richard Henderson  <rth@redhat.com>
1741         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1742         (__TMC_LIST__, __TMC_END__): New.
1743         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1744         (__do_global_dtors): Likewise.
1745         (frame_dummy): Call _ITM_registerTMCloneTable.
1746         (__do_global_ctors_1): Likewise.
1748 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1750         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1751         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1752         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1753         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1754         * config/i386/t-darwin64: Remove.
1755         * config/sh/t-netbsd (LIB2ADD): Remove.
1757 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
1759         PR target/49313
1760         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1761         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1762         * config/avr/lib1funcs.S (wmov): New assembler macro.
1763         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1764         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1765         (__udivmod64): New function.
1766         (__negdi2): New function.
1768 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
1770         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1771         *-*-freebsd*aout*): Remove.
1773 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
1775         * static-object.mk (c_flags-$o): Save c_flags.
1776         ($(base)$(objext)): Use it.
1778 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
1780         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1782 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
1784         PR target/49868
1785         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1786         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1787         New functions.
1789 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1791         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1792         functions.
1793         (aeabi_uidivmod): Likewise.
1794         (umodsi3): Likewise.
1795         (divsi3): Likewise.
1796         (aeabi_idivmod): Likewise.
1797         (modsi3): Likewise.
1799 2011-11-16  Tristan Gingold  <gingold@adacore.com>
1801         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1803 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
1805         PR target/49868
1806         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
1807         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1809 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1811         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1812         tmake_file list.
1813         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1814         * config/pa/t-stublib64: Delete.
1816 2011-11-12  Richard Henderson  <rth@redhat.com>
1818         * config/rs6000/linux-unwind.h (frob_update_context): Properly
1819         cast the pointer argument to _Unwind_SetGRPtr.
1821 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1823         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1825 2011-11-09  Ian Lance Taylor  <iant@google.com>
1827         * generic-morestack.c: Include <string.h>.
1828         (uintptr_type): Define.
1829         (struct initial_sp): Add dont_block_signals field.  Reduce size of
1830         extra array by 1.
1831         (allocate_segment): Set prev field to NULL.  Don't set
1832         __morestack_current_segment or __morestack_segments.
1833         (__generic_morestack): Update current->prev and *pp after calling
1834         allocate_segment.
1835         (__morestack_block_signals): Don't do anything if
1836         dont_block_signals is set.
1837         (__morestack_unblock_signals): Likewise.
1838         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
1839         uintptr_type.
1840         (__splitstack_block_signals): New function.
1841         (enum __splitstack_content_offsets): Define.
1842         (__splitstack_getcontext, __splitstack_setcontext): New functions.
1843         (__splitstack_makecontext): New function.
1844         (__splitstack_block_signals_context): New function.
1845         (__splitstack_find_context): New function.
1846         * config/i386/morestack.S (__morestack_get_guard): New function.
1847         (__morestack_set_guard, __morestack_make_guard): New functions.
1848         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1850 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1852         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1853         (i[34567]86-*-mingw*): ... here.
1854         (x86_64-*-mingw*): ... here.
1856 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1858         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1860 2011-11-07  Nathan Sidwell  <nathan@acm.org>
1862         * libgcov.c (struct gcov_fn_buffer): New struct.
1863         (buffer_fn_data): New helper.
1864         (gcov_exit): Rework for new gcov data structures.
1866 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
1868         PR target/49313
1869         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1871 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1873         * config.host (tmake_file): Correct comment.
1874         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1875         t-libgcc-pic.
1876         (bfin*-uclinux*): Likewise.
1877         (bfin*-linux-uclibc*): Likewise.
1878         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1880         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1881         assigning.
1882         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1883         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1884         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1885         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1886         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1887         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1888         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1889         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1890         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1891         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1892         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1893         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1894         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1896         * config/bfin/t-elf: Remove.
1897         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1899 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1901         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1902         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1903         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1904         (lm32-*-elf*): ... this.
1905         (lm32-*-rtems*): ... and this.
1906         Add to tmake_file.
1907         (m32r-*-rtems*): Add to tmake_file.
1908         (moxie-*-rtems*): Likewise.
1909         (sparc-*-rtems*): Likewise.
1910         Remove t-rtems from tmake_file.
1911         (sparc64-*-rtems*): Likewise.
1912         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1913         instead.
1915 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1917         PR bootstrap/50982
1918         * config/gthr-posix.h: Move ...
1919         * gthr-posix.h: ... here.
1920         * config/gthr-lynx.h: Reflect this.
1921         * config/gthr-vxworks.h: Likewise.
1922         * config/rs6000/gthr-aix.h: Likewise.
1923         * configure.ac (target_thread_file): Likewise.
1924         * configure: Regenerate.
1926 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1928         * config.host (arm*-*-rtemseabi*): New target.
1930 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1932         PR other/50991
1933         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1934         extra-parts.
1936 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1938         * config.host (epiphany-*-elf*): New configuration.
1939         * config/epiphany: New Directory.
1941 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1943         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1944         * config/avr/t-rtems: New.
1945         Filter out _exit from LIB1ASMFUNCS.
1947 2011-11-04  David S. Miller  <davem@davemloft.net>
1949         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1950         * configure: Rebuild.
1952 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1954         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1955         variable.
1957 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1959         PR target/50931
1960         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1961         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1963 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1965         PR target/50989
1966         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1968 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1970         * config/c6x/t-elf (LIB2ADDEH): Set.
1971         * config/c6x/t-c6x-elf: Remove.
1973 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1975         * config/i386/sol2-ci.S: Rename to ...
1976         * config/i386/crti.S: ... this.
1977         * config/i386/sol2-cn.S: Rename to ...
1978         * config/i386/crtn.S: ... this.
1979         * config/sparc/sol2-ci.S: Rename to ...
1980         * config/sparc/crti.S: ... this.
1981         * config/sparc/sol2-cn.S: Rename to ...
1982         * config/sparc/crtn.S: ... this.
1983         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1984         (crti.o, crtn.o): Remove.
1986 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1988         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1990 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1992         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1994 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1996         * config.host (crisv32-*-none, cris-*-none): Remove.
1997         (crisv32-*-elf): Append to tmake_file, don't just set it.
1998         (cris-*-elf): Add missing t-fdpbit to tmake_file.
2000 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2002         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2003         (ecrtn$(objext)): Likewise.
2004         (ncrti$(objext)): Likewise.
2005         (ncrtn$(objext)): Likewise.
2007 2011-11-03  Andreas Schwab  <schwab@redhat.com>
2009         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2011 2011-11-02  David S. Miller  <davem@davemloft.net>
2013         * configure.ac: Set host_address on sparc too.
2014         * configure: Regenerate.
2015         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2016         based upon host_address.
2017         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2019 2011-11-02  Jason Merrill  <jason@redhat.com>
2021         * config/rs6000/t-ppccomm: Add missing \.
2023 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2025         * gthr-single.h, gthr.h: New files.
2026         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2027         config/gthr-vxworks.h, config/i386/gthr-win32.h,
2028         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2029         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2030         * config/i386/gthr-win32.c: Include "gthr-win32.h".
2031         * configure.ac (thread_header): New variable.
2032         Set it depending on target_thread_file.
2033         (gthr-default.h): Link from $thread_header.
2034         * configure: Regenerate.
2035         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2037 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2039         * configure.ac (tm_file_): New variable.
2040         Determine from tm_file.
2041         (tm_file, tm_defines): Substitute.
2042         * configure: Regenerate.
2043         * mkheader.sh: New file.
2044         * Makefile.in (clean): Remove libgcc_tm.h.
2045         ($(objects)): Depend on libgcc_tm.h.
2046         (libgcc_tm_defines, libgcc_tm_file): New variables.
2047         (libgcc_tm.h, libgcc_tm.stamp): New targets.
2048         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2049         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2050         ($(extra-parts)): Depend on libgcc_tm.h.
2051         * config.host (tm_defines, tm_file): New variable.
2052         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2053         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2054         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2055         (avr-*-rtems*): Likewise.
2056         (avr-*-*): Likewise.
2057         (frv-*-elf): Likewise.
2058         (frv-*-*linux*): Likewise.
2059         (h8300-*-rtems*): Likewise.
2060         (h8300-*-elf*): Likewise.
2061         (i[34567]86-*-darwin*): Likewise.
2062         (x86_64-*-darwin*): Likewise.
2063         (rx-*-elf): Likewise.
2064         (tic6x-*-uclinux): Likewise.
2065         (tic6x-*-elf): Likewise.
2066         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2067         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2068         * config/i386/cygming-crtbegin.c: Likewise.
2069         * config/i386/cygming-crtend.c: Likewise.
2070         * config/ia64/fde-vms.c: Likewise.
2071         * config/ia64/unwind-ia64.c: Likewise.
2072         * config/libbid/bid_gcc_intrinsics.h: Likewise.
2073         * config/rs6000/darwin-fallback.c: Likewise.
2074         * config/stormy16/lib2funcs.c: Likewise.
2075         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2076         * crtstuff.c: Likewise.
2077         * dfp-bit.h: Likewise.
2078         * emutls.c: Likewise.
2079         * fixed-bit.c: Likewise.
2080         * fp-bit.c: Likewise.
2081         * generic-morestack-thread.c: Likewise.
2082         * generic-morestack.c: Likewise.
2083         * libgcc2.c: Likewise.
2084         * libgcov.c: Likewise.
2085         * unwind-dw2-fde-dip.c: Likewise.
2086         * unwind-dw2-fde.c: Likewise.
2087         * unwind-dw2.c: Likewise.
2088         * unwind-sjlj.c: Likewise.
2090 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2092         * configure.ac: Include ../config/picflag.m4.
2093         (GCC_PICFLAG): Call it.
2094         Substitute.
2095         * configure: Regenerate.
2096         * Makefile.in (gcc_srcdir): Remove.
2097         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2098         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2099         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2100         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2101         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2102         Use $<.
2103         Remove comment.
2104         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2105         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2106         to refer to libgcc2.c.
2107         Use $<.
2108         * config/darwin-64.c: New file.
2109         * config/darwin-crt3.c: Remove comment.
2110         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2111         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2112         config/udivmodsi4.c: New files.
2113         * config/memcmp.c, config/memcpy.c, config/memmove.c,
2114         config/memset.c: New files.
2115         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2116         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2117         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2118         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2119         * config/t-openbsd-thread: New file.
2120         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2121         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2122         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2123         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2124         qrnnd.S.
2125         Adapt filename.
2126         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2127         to refer to gthr-posix.c.
2128         * config/alpha/t-vms (LIB2ADD): Set.
2129         * config/alpha/vms-gcc_shell_handler.c: New file.
2130         * config/arm/bpabi.c, config/arm/fp16.c,
2131         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2132         config/arm/unaligned-funcs.c: New files.
2133         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2134         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2135         * config/arm/t-linux: Likewise.
2136         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2137         * config/arm/t-netbsd: New file.
2138         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2139         * config/arm/t-symbian (LIB2ADD_ST): Set.
2140         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2141         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2142         * config/bfin/t-elf: New file.
2143         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2144         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2145         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2146         config/c6x/ltf.c: New files.
2147         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2148         (HOST_LIBGCC2_CFLAGS): Set.
2149         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2150         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2151         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2152         New files.
2153         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2154         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2155         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2156         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2157         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2158         files.
2159         * config/frv/t-frv (LIB2ADD): Set.
2160         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2161         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2162         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2163         config/h8300/popcounthi2.c: New files.
2164         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2165         * config/i386/gthr-win32.c: New file.
2166         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2167         * config/i386/t-cygwin: Likewise.
2168         * config/i386/t-darwin, config/i386/t-darwin64,
2169         config/i386/t-gthr-win32, config/i386/t-interix: New files.
2170         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2171         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2172         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2173         * config/ia64/quadlib.c: New file.
2174         * config/ia64/t-hpux (LIB2ADD): Set.
2175         * config/ia64/t-ia64: Add comment.
2176         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2177         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2178         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2179         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2180         * config/m32c/t-m32c (LIB2ADD): Set.
2181         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2182         * config/m32r/t-m32r: Likewise.
2183         * config/m68k/fpgnulib.c: New file.
2184         * config/m68k/t-floatlib (LIB2ADD): Set.
2185         (xfgnulib.c): New target.
2186         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2187         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2188         * config/mep/t-mep (LIB2ADD): Set.
2189         * config/microblaze/divsi3.asm: Rename to divsi3.S.
2190         * config/microblaze/moddi3.asm: Rename to moddi3.S.
2191         * config/microblaze/modsi3.asm: Rename to modsi3.S.
2192         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2193         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2194         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2195         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2196         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2197         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2198         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2199         New files.
2200         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2201         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2202         * config/pa/fptr.c, config/pa/lib2funcs.S,
2203         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2204         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2205         (LIB2ADD, LIB2ADD_ST): Set.
2206         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2207         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2208         Set.
2209         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2210         * config/pdp11/t-pdp11: New file.
2211         * config/picochip/libgccExtras/adddi3.S,
2212         config/picochip/libgccExtras/ashlsi3.S,
2213         config/picochip/libgccExtras/ashrsi3.S,
2214         config/picochip/libgccExtras/clzsi2.S,
2215         config/picochip/libgccExtras/cmpsi2.S,
2216         config/picochip/libgccExtras/divmod15.S,
2217         config/picochip/libgccExtras/divmodhi4.S,
2218         config/picochip/libgccExtras/divmodsi4.S,
2219         config/picochip/libgccExtras/lshrsi3.S,
2220         config/picochip/libgccExtras/parityhi2.S,
2221         config/picochip/libgccExtras/popcounthi2.S,
2222         config/picochip/libgccExtras/subdi3.S,
2223         config/picochip/libgccExtras/ucmpsi2.S,
2224         config/picochip/libgccExtras/udivmodhi4.S,
2225         config/picochip/libgccExtras/udivmodsi4.S: New files.
2226         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2227         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2228         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2229         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2230         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2231         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2232         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
2233         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2234         files.
2235         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2236         (HOST_LIBGCC2_CFLAGS): Set.
2237         * config/rs6000/t-darwin64: New file.
2238         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2239         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2240         * config/rs6000/t-ppccomm (LIB2ADD): Add
2241         $(srcdir)/config/rs6000/tramp.S.
2242         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2243         Add  $(srcdir)/config/rs6000/eabi.S.
2244         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2245         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2246         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2247         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2248         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2249         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2250         * config/rs6000/tramp.S: New file.
2251         * config/s390/t-tpf: Remove.
2252         * config/sh/linux-atomic.S: New file.
2253         * config/sh/t-linux (LIB2ADD): Set.
2254         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2255         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2256         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2257         to unwind-dw2.c.
2258         (HOST_LIBGCC2_CFLAGS): Set.
2259         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2260         * config/spu/divmodti4.c, config/spu/divv2df3.c,
2261         config/spu/float_disf.c, config/spu/float_unsdidf.c,
2262         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2263         config/spu/mfc_multi_tag_release.c,
2264         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2265         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2266         config/spu/multi3.c: New files.
2267         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2268         (HOST_LIBGCC2_CFLAGS): Set.
2269         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2270         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2271         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2272         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2273         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2274         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2275         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2276         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2277         config/stormy16/umodsi3.c: New files.
2278         * config/xtensa/lib2funcs.S: New file.
2279         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2280         * config/xtensa/t-xtensa (LIB2ADD): Set.
2281         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2282         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2283         Add t-freebsd-thread to tmake_file for posix threads.
2284         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2285         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2286         (*-*-lynxos*): Likewise.
2287         (*-*-netbsd*): Likewise.
2288         (*-*-openbsd*): Likewise.
2289         Add t-openbsd-thread to tmake_file for posix threads.
2290         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2291         (*-*-vxworks*): Set tmake_file.
2292         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2293         (alpha*-*-freebsd*): Likewise.
2294         (alpha*-*-netbsd*): Likewise.
2295         (alpha*-*-openbsd*): Likewise.
2296         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2297         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2298         (alpha*-dec-*vms*): Likewise.
2299         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2300         (bfin*-elf*): Add bfin/t-elf to tmake_file.
2301         (bfin*-uclinux*): Likewise.
2302         (bfin*-linux-uclibc*): Likewise.
2303         (crisv32-*-elf): Add cris/t-cris to tmake_file.
2304         (crisv32-*-none): Likewise.
2305         (cris-*-elf): Likewise.
2306         (cris-*-none): Likewise.
2307         (cris-*-linux*, crisv32-*-linux*): Likewise.
2308         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2309         tmake_file.
2310         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2311         tmake_file.
2312         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2313         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2314         (x86_64-*-elf*): Likewise.
2315         (i[34567]86-*-nto-qnx*): Likewise.
2316         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2317         win32 threads.
2318         (x86_64-*-mingw*): Likewise.
2319         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2320         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2321         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2322         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2323         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2324         tmake_file.
2325         (mipsisa64sr71k-*-elf*): Likewise.
2326         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2327         (mips-*-elf*, mipsel-*-elf*): Likewise.
2328         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2329         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2330         (mips*-*-rtems*): Likewise.
2331         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2332         to tmake_file.
2333         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2334         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2335         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2336         (spu-*-elf*): Likewise.
2337         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2339 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2341         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2342         $(srcdir) to refer to $(LIB1ASMSRC).
2343         Use $<.
2344         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2345         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2346         config/arm/lib1funcs.S: New files.
2347         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2348         * config/arm/t-arm: New file.
2349         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2350         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2351         config/arm/t-strongarm-elf: New files.
2352         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2353         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2354         * config/avr/lib1funcs.S: New file.
2355         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2356         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2357         * config/c6x/lib1funcs.S: New file.
2358         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2359         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2360         * config/frv/lib1funcs.S: New file.
2361         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2362         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2363         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2364         * config/ia64/__divxf3.asm: Rename to ...
2365         * config/ia64/__divxf3.S: ... this.
2366         Adapt lib1funcs.asm filename.
2367         * config/ia64/_fixtfdi.asm: Rename to ...
2368         * config/ia64/_fixtfdi.S: ... this.
2369         Adapt lib1funcs.asm filename.
2370         * config/ia64/_fixunstfdi.asm: Rename to ...
2371         * config/ia64/_fixunstfdi.S: ... this.
2372         Adapt lib1funcs.asm filename.
2373         * config/ia64/_floatditf.asm: Rename to ...
2374         * config/ia64/_floatditf.S: ... this.
2375         Adapt lib1funcs.asm filename.
2376         * config/ia64/lib1funcs.S: New file.
2377         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2378         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2379         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2380         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2381         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2382         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2383         * config/mep/lib1funcs.S: New file.
2384         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2385         * config/mips/mips16.S: New file.
2386         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2387         * config/pa/milli64.S: New file.
2388         * config/pa/t-linux, config/pa/t-linux64: New files.
2389         * config/picochip/lib1funcs.S: New file.
2390         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2391         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2392         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2393         * config/sh/t-netbsd: New file.
2394         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2395         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2396         * config/sh/t-sh64: New file.
2397         * config/sparc/lb1spc.S: New file.
2398         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2399         filename.
2400         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2401         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2402         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2403         config/xtensa/lib1funcs.S: New files.
2404         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2405         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2406         tmake_file.
2407         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2408         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2409         (arm*-*-linux*): Likewise.
2410         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2411         arm*-*-linux-*eabi, add arm/t-linux otherwise.
2412         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2413         (arm*-*-ecos-elf): Likewise.
2414         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2415         (arm*-*-rtems*): Likewise.
2416         (arm*-*-elf): Likewise.
2417         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2418         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2419         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2420         (bfin*-uclinux*): Likewise.
2421         (bfin*-linux-uclibc*): Likewise.
2422         (bfin*-rtems*): Likewise.
2423         (bfin*-*): Likewise.
2424         (fido-*-elf): Merge into m68k-*-elf*.
2425         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2426         (frv-*-*linux*): Add frv/t-frv to tmake_file.
2427         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2428         (h8300-*-elf*): Likewise.
2429         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2430         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2431         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2432         (i[34567]86-*-mingw*): Likewise.
2433         (x86_64-*-mingw*): Likewise.
2434         (i[34567]86-*-interix3*): Likewise.
2435         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2436         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2437         (m68k-*-elf*): Also handle fido-*-elf.
2438         Add m68k/t-floatlib to tmake_file.
2439         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2440         (m68k-*-linux*): Likewise.
2441         (m68k-*-rtems*): Likewise.
2442         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2443         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2444         sh64*-*-*.
2445         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2446         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2447         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2448         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2449         sh/t-netbsd to tmake_file.
2450         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2451         (sh-*-rtems*): Add sh/t-sh to tmake_file.
2452         (sh-wrs-vxworks): Likewise.
2453         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2454         *-leon[3-9]*.
2455         (v850*-*-*): Add v850/t-v850 to tmake_file.
2456         (vax-*-linux*): Add vax/t-linux to tmake_file.
2457         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2459 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2461         * crtstuff.c: New file.
2462         * Makefile.in (CRTSTUFF_CFLAGS): Define.
2463         (CRTSTUFF_T_CFLAGS): Define.
2464         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2465         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2466         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2467         crtstuff.c.
2468         Use $<.
2469         (crtbeginT.o): Use $(objext).
2470         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2471         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2472         (gcc-extra-parts): Remove.
2473         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2474         Set extra_parts.
2475         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2476         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2477         Add t-crtstuff-pic to tmake_file.
2478         (*-*-lynxos*): New case.
2479         Set tmake_file, extra_parts.
2480         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2481         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2482         *-*-netbsdelf[2-9]*.
2483         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2484         (*-*-rtems*): Set extra_parts.
2485         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2486         (*-*-uclinux*): New case.
2487         Set extra_parts.
2488         (*-*-vms*): New case.
2489         Set tmake_file, extra_parts.
2490         (*-*-elf): Set extra_parts.
2491         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2492         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2493         vms/t-vms64.
2494         Set extra_parts.
2495         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2496         Set extra_parts.
2497         (arm*-*-freebsd*): Add t-crtin to tmake_file.
2498         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2499         (arm-wrs-vxworks): Append to tmake_file.
2500         Set extra_parts.
2501         (arm*-*-uclinux*): Set extra_parts.
2502         (arm*-*-ecos-elf): Likewise.
2503         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2504         arm*-*-eabi*.
2505         (arm*-*-rtems*): Set extra_parts.
2506         (arm*-*-elf): Likewise.
2507         (avr-*-rtems*): Clear extra_parts.
2508         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2509         Set extra_parts.
2510         (bfin*-uclinux*): Likewise.
2511         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2512         (bfin*-rtems*): Append to tmake_file.
2513         Set extra_parts.
2514         (bfin*-*): Likewise.
2515         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2516         (crisv32-*-elf): ... this.
2517         (crisv32-*-none): ... this.
2518         (cris-*-elf, cris-*-none): New cases.
2519         Add cris/t-elfmulti to tmake_file.
2520         (fr30-*-elf): Append to tmake_file.
2521         Set extra_parts.
2522         (frv-*-elf): Append to tmake_file, add frv/t-frv.
2523         Set extra_parts.
2524         (h8300-*-rtems*): Append to tmake_file.
2525         Set extra_parts.
2526         (h8300-*-elf*): Likewise.
2527         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2528         Set extra_parts.
2529         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2530         Set extra_parts.
2531         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2532         (x86_64-*-elf*): Likewise.
2533         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2534         (x86_64-*-freebsd*): Likewise.
2535         (x86_64-*-netbsd*): Likewise.
2536         (i[34567]86-*-linux*): Likewise.
2537         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2538         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2539         (x86_64-*-linux*): Likewise.
2540         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2541         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2542         tmake_file.
2543         Set extra_parts.
2544         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2545         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2546         Append to extra_parts, remove crtbegin.o, crtend.o.
2547         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2548         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2549         crtend.o, crtbeginS.o, crtendS.o.
2550         (ia64*-*-linux*): Comment extra_parts.
2551         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2552         Set extra_parts.
2553         (iq2000*-*-elf*): Clear extra_parts.
2554         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2555         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2556         (m32r-*-elf*, m32r-*-rtems*): Split off ...
2557         (m32r-*-rtems*): ... this.
2558         Add m32r/t-m32r to tmake_file.
2559         (m68k-*-elf*): Add t-crtin to tmake_file.
2560         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2561         (mcore-*-elf): Likewise.
2562         (microblaze*-*-*): Set extra_parts.
2563         (mips*-sde-elf*): New case.
2564         Set tmake_file, extra_parts.
2565         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2566         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2567         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2568         tmake_file.
2569         Set extra_parts.
2570         (mipsisa64sr71k-*-elf*): Likewise.
2571         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2572         (mips-*-elf*, mipsel-*-elf*): Likewise.
2573         (mips64-*-elf*, mips64el-*-elf*): Likewise.
2574         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2575         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
2576         (mips*-*-rtems*): Likewise.
2577         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2578         (moxie-*-*): Split into ...
2579         (moxie-*-elf, moxie-*-uclinux*): ... this.
2580         Add to extra_parts, remove crtbegin.o, crtend.o.
2581         (moxie-*-rtems*): New case.
2582         Set tmake_file.
2583         Clear extra_parts.
2584         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2585         Set extra_parts.
2586         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2587         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2588         tmake_file.
2589         Set extra_parts.
2590         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2591         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2592         Set extra_parts.
2593         (powerpc-*-eabisim*): Likewise.
2594         (powerpc-*-elf*): Likewise.
2595         (powerpc-*-eabialtivec*): Likewise.
2596         (powerpc-xilinx-eabi*): Likewise.
2597         (powerpc-*-eabi*): Likewise.
2598         (powerpc-*-rtems*): Likewise.
2599         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2600         tmake_file.
2601         Set extra_parts.
2602         (powerpc-*-lynxos*): Add to tmake_file.
2603         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2604         rs6000/t-crtstuff, t-crtstuff-pic.
2605         Set extra_parts.
2606         (powerpcle-*-eabisim*): Likewise.
2607         (powerpcle-*-eabi*): Likewise.
2608         (rx-*-elf): Remove extra_parts.
2609         (s390x-ibm-tpf*): Set extra_parts.
2610         (score-*-elf): Set extra_parts.
2611         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2612         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2613         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2614         (sh64l*-*-netbsd*): Split into ...
2615         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2616         Add t-crtstuff-pic to tmake_file.
2617         Set extra_parts.
2618         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2619         Set extra_parts.
2620         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2621         (sparc-*-elf*): Remove t-crtin from tmake_file.
2622         Add to extra_parts, remove crtbegin.o, crtend.o.
2623         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2624         (sparc64-*-linux*): Likewise.
2625         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2626         Add to extra_parts, remove crtbegin.o, crtend.o.
2627         (sparc64-*-elf*): Remove t-crtin from tmake_file.
2628         Add to extra_parts, remove crtbegin.o, crtend.o.
2629         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2630         Add to extra_parts, remove crtbegin.o, crtend.o.
2631         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2632         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2633         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2634         Set extra_parts.
2635         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2636         Set extra_parts.
2637         (tic6x-*-*): Change to ...
2638         (tic6x-*-elf): ... this.
2639         Set extra_parts.
2640         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2641         Set extra_parts.
2642         (am33_2.0-*-linux*): Add comment.
2643         (mep*-*-*): Add mep/t-mep to tmake_file.
2644         Set extra_parts.
2645         * config/alpha/t-vms: New file.
2646         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2647         * config/arm/crti.S, config/arm/crtn.S: New files.
2648         * config/bfin/crti.S, config/bfin/crtn.S: New files.
2649         * config/bfin/crtlibid.S: New file.
2650         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2651         * config/c6x/crti.S, config/c6x/crtn.S: New files.
2652         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2653         (crti.o, crtin.o): New rules.
2654         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2655         * config/c6x/t-uclinux: New file.
2656         * config/cris/t-elfmulti: New file.
2657         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2658         * config/fr30/crti.S, config/fr30/crtn.S: New files.
2659         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2660         * config/frv/t-frv: New file.
2661         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2662         * config/h8300/crti.S, config/h8300/crtn.S: New files.
2663         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2664         New files.
2665         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2666         refer to cygming-crtbegin.c, cygming-crtend.c.
2667         Use $<.
2668         * config/i386/t-nto: New file.
2669         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2670         * config/ia64/crti.S, config/ia64/crtn.S: New files.
2671         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2672         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2673         Use .S extension.
2674         Use $<.
2675         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2676         (crtinitS.o): New rule.
2677         * config/ia64/vms-crtinit.S: New file.
2678         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2679         * config/m32r/initfini.c: New file.
2680         * config/m32r/t-linux, config/m32r/t-m32r: New files.
2681         * config/m68k/crti.S, config/m68k/crtn.S: New files.
2682         * config/mcore/crti.S, config/mcore/crtn.S: New files.
2683         * config/mep/t-mep: New file.
2684         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2685         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2686         * config/mips/crti.S, config/mips/crtn.S: New files.
2687         * config/mips/t-crtstuff: New file.
2688         * config/mmix/crti.S, config/mmix/crtn.S: New files.
2689         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2690         (CUSTOM_CRTIN): Set.
2691         ($(T)crti.o, $(T)crtn.o): Remove $(T),
2692         dependencies.
2693         Use $(srcdir) to refer to crti.S, crtn.S.
2694         Use .S extension, $<.
2695         * config/moxie/crti.asm: Rename to ...
2696         * config/moxie/crti.S: ... this.
2697         * config/moxie/crtn.asm: Rename to ...
2698         * config/moxie/crtn.S: ... this.
2699         * config/moxie/t-moxie: Remove.
2700         * config/pa/stublib.c: New file.
2701         * config/pa/t-stublib, config/pa/t-stublib64: New files.
2702         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2703         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2704         * config/rs6000/t-crtstuff: New file.
2705         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2706         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2707         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2708         Make output file explicit.
2709         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2710         Make output file explicit.
2711         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2712         Make output file explicit.
2713         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2714         Make output file explicit.
2715         * config/score/crti.S, config/score/crtn.S: New files.
2716         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2717         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2718         files.
2719         * config/sh/t-sh, config/sh/t-superh: New files.
2720         * config/sparc/t-linux64: New file.
2721         * config/spu/cache.S, config/spu/cachemgr.c: New files.
2722         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2723         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2724         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2725         * config/t-crtin: Remove.
2726         * config/t-crtstuff-pic: New file.
2727         * config/t-sol2 (CUSTOM_CRTIN): Set.
2728         (crti.o, crtn.o): New rules.
2729         * config/vms/t-vms: New file.
2730         * config/vms/vms-ucrt0.c: New file.
2731         * config/xtensa/t-elf: New file.
2733 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2735         * Makefile.in (SHLIB_NM_FLAGS): Set.
2736         * mkmap-flat.awk, mkmap-symver.awk: New files.
2737         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2738         exceptions.
2739         * configure: Regenerate.
2740         * config/libgcc-glibc.ver: New file.
2741         * config/libgcc-libsystem.ver: New file.
2742         * config/t-libunwind (SHLIB_LC): Set.
2743         * config/t-linux: New file.
2744         * config/t-slibgcc (INSTALL_SHLIB): New.
2745         (SHLIB_INSTALL): Use it.
2746         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2747         to mkmap-symver.awk.
2748         (SHLIB_MAPFILES): Don't append, adapt pathname.
2749         (SHLIB_VERPFX): Set.
2750         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2751         to mkmap-symver.awk.
2752         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2753         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2754         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2755         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2756         to mkmap-flat.awk.
2757         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2758         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2759         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2760         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2761         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2762         * config/i386/libgcc-darwin.10.4.ver,
2763         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2764         New files.
2765         * config/i386/t-darwin: Remove.
2766         * config/i386/t-darwin64: Likewise.
2767         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2768         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2769         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2770         * config/i386/t-linux: New file.
2771         * config/i386/t-mingw32: New file.
2772         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2773         * config/ia64/t-glibc: Rename to ...
2774         * config/ia64/t-linux: ... this.
2775         (SHLIB_MAPFILES): Set.
2776         * config/ia64/t-glibc-libunwind: Rename to ...
2777         * config/ia64/t-linux-libunwind: ... this.
2778         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2779         * config/ia64/t-slibgcc-hpux: New file.
2780         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2781         * config/m68k/t-slibgcc-elf-ver: New file.
2782         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2783         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2784         to mkmap-flat.awk.
2785         * config/pa/t-slibgcc-hpux: New file.
2786         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2787         files.
2788         * config/rs6000/libgcc-darwin.10.4.ver,
2789         config/rs6000/libgcc-darwin.10.5.ver: New files.
2790         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2791         config/rs6000/libgcc-glibc.ver.
2792         * config/rs6000/libgcc-ppc64.ver: Rename to
2793         config/rs6000/libgcc-ibm-ldouble.ver.
2794         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2795         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2796         * config/rs6000/t-ldbl128: Rename to ...
2797         * config/rs6000/t-linux: ... this.
2798         (SHLIB_MAPFILES): Adapt filename.
2799         * config/rs6000/t-slibgcc-aix: New file.
2800         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2801         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2802         libgcc-excl.ver, libgcc-glibc.ver.
2803         (SHLIB_LINK, SHLIB_INSTALL): Remove.
2804         * config/sparc/libgcc-glibc.ver: New file.
2805         * config/sparc/t-linux: New file.
2806         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2807         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2808         t-slibgcc-elf-ver to tmake_file.
2809         Add t-slibgcc-nolc-override to tmake_file for posix threads on
2810         *-*-freebsd[34].
2811         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2812         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2813         t-slibgcc-elf-ver, t-linux to tmake_file.
2814         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2815         tmake_file.
2816         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2817         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2818         (alpha*-dec-*vms*): Likewise.
2819         (arm*-*-freebsd*): Append to tmake_file.
2820         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2821         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2822         arm*-*-linux-*eabi.
2823         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2824         tmake_file for arm*-*-symbianelf*.
2825         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2826         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2827         cris/t-linux.
2828         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2829         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2830         pa/t-slibgcc-dwarf-ver to tmake_file.
2831         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2832         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2833         (hppa*64*-*-hpux11*): Likewise.
2834         (hppa[12]*-*-hpux11*): Likewise.
2835         (x86_64-*-darwin*): Don't override tmake_file, but only keep
2836         i386/t-crtpc, i386/t-crtfm.
2837         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2838         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2839         to tmake_file.
2840         Add i386/t-cygwin to tmake_file.
2841         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2842         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2843         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2844         to tmake_file.
2845         Add i386/t-mingw32 to tmake_file.
2846         (x86_64-*-mingw*): Likewise.
2847         (ia64*-*-freebsd*): Append to tmake_file.
2848         (ia64*-*-linux*): Append to tmake_file.
2849         Replace ia64/t-glibc by ia64/t-linux.
2850         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2851         system libunwind.
2852         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2853         t-slibgcc-hpux to tmake_file.
2854         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2855         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2856         (m32rle-*-linux*): Likewise.
2857         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2858         sjlj exceptions.
2859         (microblaze*-linux*): New case.
2860         Append to tmake_file, add t-slibgcc-nolc-override.
2861         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2862         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2863         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2864         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2865         rs6000/t-slibgcc-aix to tmake_file.
2866         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2867         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2868         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2869         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2870         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2871         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2872         sh*-*-linux*.
2873         (sparc-*-linux*): Append to tmake_file for *-leon*.
2874         Add sparc/t-linux to tmake_file for non-Leon targets.
2875         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2876         (tic6x-*-uclinux): New case.
2877         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2878         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2879         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2880         (am33_2.0-*-linux*): Append to tmake_file.
2881         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2882         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2883         x86_64-*-kfreebsd*-gnu.
2884         Add i386/t-linux to tmake_file.
2886 2011-10-28  Ian Lance Taylor  <iant@google.com>
2888         * config/i386/morestack.S: Correct CFI information to do proper
2889         returns throughout function.  In 32-bit mode, save %ebx so that it
2890         is restored on unwind.
2892 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2894         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2895         case where B3 isn't the return register.
2897         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2898         logic for doubleword pops.
2900 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2902         * config/rs6000/t-freebsd: Add wildcard.
2904 2011-10-21  Paul Brook  <paul@codesourcery.com>
2906         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2908 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2909             Eric Botcazou  <ebotcazou@adacore.com>
2911         PR target/50737
2912         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2913         fs->signal_frame to 1.
2915 2011-10-07  Ian Lance Taylor  <iant@google.com>
2917         * generic-morestack-thread.c: #include <errno.h>.
2919 2011-10-07  Ian Lance Taylor  <iant@google.com>
2921         PR target/46093
2922         * generic-morestack.c (__generic_morestack): Make sure the segment
2923         is large enough for both the stack frame and the copied
2924         parameters.
2926 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2928         PR bootstrap/49804
2929         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2930         extra_parts.
2932 2011-09-28  Nick Clifton  <nickc@redhat.com>
2934         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2935         64-bit doubles are not enabled.
2936         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2937         and floatunsisf functions.
2939 2011-09-13  Paul Brook  <paul@codesourcery.com>
2941         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2942         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2943         * unwind-arm-common.inc: New file.
2944         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2945         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2946         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2947         * config/c6x/libunwind.S: New file.
2948         * config/c6x/pr-support.c: New file.
2949         * config/c6x/unwind-c6x.c: New file.
2950         * config/c6x/unwind-c6x.h: New file.
2951         * config/c6x/t-c6x-elf: New file.
2953 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2955         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2956         (ASM_DIVZERO): Ditto.
2957         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2959 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2961         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2963 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2965         PR target/50090
2966         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2967         instead of an assembly one.
2969 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2971         PR bootstrap/50047
2972         * Makefile.in (install-unwind_h): Create
2973         $(gcc_objdir)/include/unwind.h atomically.
2975 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2977         * Makefile.in (install-unwind_h): Remove destination file first.
2979 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2981         * sync.c: New file.
2982         * config/mips/t-mips16: New file.
2983         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2984         (mips*-*-linux*): Likewise.
2985         (mips*-sde-elf*): Likewise.
2986         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2987         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2988         Add mips/t-mips16 to tmake_file.
2989         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2990         (mips-*-elf*): Likewise.
2991         (mips64-*-elf*): Likewise.
2992         (mips64orion-*-elf*): Likewise.
2993         (mips*-*-rtems*): Likewise.
2994         (mipstx39-*-elf*): Likewise.
2995         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2996         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2997         LIBGCC_SYNC_CFLAGS.
2998         Use $(srcdir) to refer to sync.c.
2999         Use $<.
3000         ($(libgcc-sync-funcs-o)): Likewise.
3001         ($(libgcc-sync-size-funcs-s-o)): Likewise.
3002         ($(libgcc-sync-funcs-s-o)): Likewise.
3004 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3006         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3007         t-libunwind.
3009 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
3011         PR other/48007
3012         * config/i386/value-unwind.h: New.
3014 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
3016         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3017         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3018         Add to tmake_file rather than overriding it.
3020 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3022         * config/t-softfp: Remove.
3023         * soft-fp: Moved from ../gcc/config.
3024         * soft-fp/README: Remove t-softfp reference.
3025         * soft-fp/t-softfp: Move to config/t-softfp.
3026         (softfp_machine_header): Remove.
3027         (softfp_file_list): Remove config subdir.
3028         (soft-fp-objects): New variable.
3029         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3030         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3031         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3032         * config/t-softfp-excl: New file.
3033         * config/t-softfp-sfdf: New file.
3034         * config/t-softfp-tf: New file.
3035         * config/no-sfp-machine.h: New file.
3036         * config/arm/sfp-machine.h: New file.
3037         * config/arm/t-softfp: New file.
3038         * config/c6x/sfp-machine.h: New file.
3039         * config/i386/32/t-fprules-softfp: Rename to ...
3040         * config/i386/32/t-softfp: ... this.
3041         (tifunctions, LIB2ADD): Remove.
3042         (softfp_int_modes): Override.
3043         * config/i386/64/t-softfp-compat (tf-functions): Remove config
3044         subdir.
3045         * config/i386/64/eqtf2.c: Likewise.
3046         * config/i386/64/getf2.c: Likewise.
3047         * config/i386/64/letf2.c: Likewise.
3048         * config/ia64/sft-machine.h: New file.
3049         * config/ia64/t-fprules-softfp: Rename to ...
3050         * config/ia64/t-softfp: ... this.
3051         * config/lm32/sfp-machine.h: New file.
3052         * config/moxie/t-moxie-softfp: Remove.
3053         * config/rs6000/ibm-ldouble-format: New file.
3054         * config/rs6000/ibm-ldouble.c: New file.
3055         * config/rs6000/libgcc-ppc-glibc.ver: New file
3056         * config/rs6000/libgcc-ppc64.ver: New file
3057         * config/rs6000/sfp-machine.h: New file.
3058         * config/rs6000/t-freebsd: New file.
3059         * config/rs6000/t-ibm-ldouble: New file.
3060         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3061         libgcc-ppc-glibc.ver.
3062         * config/rs6000/t-linux64: New file.
3063         * config/rs6000/t-ppccomm (LIB2ADD): Add
3064         $(srcdir)/config/rs6000/ibm-ldouble.c.
3065         * config/rs6000/t-ppccomm-ldbl: New file.
3066         * config/score/sfp-machine.h: New file.
3067         * config.host (sfp_machine_header): Explain.
3068         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3069         t-softfp to tmake_file.
3070         (arm*-*-uclinux*): Likewise.
3071         (arm*-*-ecos-elf): Likewise.
3072         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3073         (arm*-*-rtems*): Likewise.
3074         (arm*-*-elf): Likewise.
3075         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3076         in tmake_file.
3077         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3078         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3079         (lm32-*-uclinux*): Likewise.
3080         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3081         t-softfp-excl, t-softfp.
3082         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3083         (powerpc64-*-darwin*): Likewise.
3084         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3085         to tmake_file.
3086         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3087         tmake_file.
3088         (powerpc-*-eabisim*): Likewise.
3089         (powerpc-*-elf*): Likewise.
3090         (powerpc-*-eabialtivec*): Likewise.
3091         (powerpc-xilinx-eabi*): Likewise.
3092         (powerpc-*-rtems*): Likewise.
3093         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3094         t-softfp-excl, t-softfp to tmake_file.
3095         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3096         rs6000/t-ppccomm-ldbl to tmake_file.
3097         (powerpcle-*-elf*): Likewise.
3098         (powerpcle-*-eabisim*): Likewise.
3099         (powerpcle-*-eabi*): Likewise.
3100         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3101         rs6000/t-ibm-ldouble to tmake_file.
3102         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3103         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3104         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3105         (tic6x-*-*): Likewise.
3106         (i[34567]86-*-darwin*, x86_64-*-darwin*,
3107         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3108         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3109         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3110         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3111         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3112         t-softfp to tmake_file.
3113         * configure.ac (sfp_machine_header): Provide default if unset.
3114         Substitute.
3115         Link sfp-machine.h to config/$sfp_machine_header.
3116         * configure: Regenerate.
3118 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3120         * Makefile.in (double_type_size, long_double_type_size): Set.
3121         Remove $(fpbit-in-libgcc) support.
3122         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3123         (fpbit-src): New variable.
3124         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3125         Compile with -DFLOAT $(FPBIT_CFLAGS).
3126         Use $<.
3127         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3128         Compile with $(FPBIT_CFLAGS).
3129         Use $<.
3130         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3131         Compile with -DFLOAT $(TPBIT_CFLAGS).
3132         Use $<.
3133         * configure.ac (double_type_size, long_double_type_size):
3134         Determine and substitute.
3135         * configure: Regenerate.
3136         * fp-bit.c, fp-bit.h: New files.
3137         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3138         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3139         * config/mips/t-mips: New file.
3140         * config/mips/t-sdemtk: New file.
3141         * config/rs6000/ppc64-fp.c: New file.
3142         * config/rs6000/t-darwin (LIB2ADD): Add
3143         $(srcdir)/config/rs6000/ppc64-fp.c.
3144         * config/rs6000/t-ppc64-fp: New file.
3145         * config/rx/rx-lib.h: New file.
3146         * config/rx/t-rx (FPBIT): Set to true.
3147         ($(gcc_objdir)/fp-bit.c): Remove.
3148         (DPBIT): Set to true only with -m64bit-doubles.
3149         ($(gcc_objdir)/dp-bit.c): Remove.
3150         * config/sparc/t-softfp: Remove.
3151         * config/spu/t-elf: New file.
3152         * config/t-fdpbit, config/t-fpbit: New files.
3153         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3154         (mips*-*-*): Likewise.
3155         (arm-wrs-vxworks): Likewise.
3156         (arm*-*-freebsd*): Likewise.
3157         (avr-*-rtems*): Add t-fpbit to tmake_file.
3158         (avr-*-*): Likewise.
3159         (bfin*-elf*): Add t-fdpbit to tmake_file.
3160         (bfin*-uclinux*): Likewise.
3161         (bfin*-linux-uclibc*): Likewise.
3162         (bfin*-rtems*): New case.
3163         Add t-fdpbit to tmake_file.
3164         (bfin*-*): Add t-fdpbit to tmake_file.
3165         (crisv32-*-elf): Likewise.
3166         (cris-*-linux*): Likewise.
3167         (fr30-*-elf): Likewise.
3168         (frv-*-elf, frv-*-*linux*): Likewise.
3169         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3170         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3171         (m32r-*-elf*): Likewise.
3172         (m32rle-*-elf*): Likewise.
3173         (m32r-*-linux*): Likewise.
3174         (m32rle-*-linux*): Likewise.
3175         (mcore-*-elf): Add t-fdpbit to tmake_file.
3176         (microblaze*-*-*): Likewise.
3177         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3178         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3179         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3180         Fix typo.
3181         Add mips/t-tpbit to tmake-file.
3182         (mips*-*-linux*): Fix typo.
3183         (mips*-sde-elf*): New case
3184         Add mips/t-sdemtk unless using newlib.
3185         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3186         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3187         (mn10300-*-*): Likewise.
3188         (pdp11-*-*): Likewise.
3189         (picochip-*-*): Add t-fpbit to tmake_file.
3190         (powerpc-*-eabisimaltivec*): Likewise.
3191         (powerpc-*-eabisim*): Likewise.
3192         (powerpc-*-elf*): Likewise.
3193         (powerpc-*-eabialtivec*): Likewise.
3194         (powerpc-xilinx-eabi*): New case.
3195         Add t-fdpbit to tmake_file.
3196         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
3197         (powerpc-*-rtems*): Likewise.
3198         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3199         tmake_file.
3200         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3201         tmake_file.
3202         (powerpc-*-lynxos*): Likewise.
3203         (powerpcle-*-elf*): Likewise.
3204         (powerpcle-*-eabisim*): Likewise.
3205         (powerpcle-*-eabi*): Likewise.
3206         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3207         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3208         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3209         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3210         (rx-*-elf): Add t-fdpbit to tmake_file.
3211         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3212         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3213         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3214         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3215         sh*-*-netbsd*.
3216         (sh-*-rtems*): Add t-fdpbit to tmake_file.
3217         (sh-wrs-vxworks): Likewise.
3218         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3219         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3220         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3221         (sparc64-*-rtems*): ... new case.
3222         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3223         (spu-*-elf*): Likewise.
3224         Add spu/t-elf to tmake_file.
3225         (v850*-*-*): Add t-fdpbit to tmake_file.
3226         (xstormy16-*-elf): Likewise.
3227         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3228         (mep*-*-*): Likewise.
3230 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3232         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3233         variables.
3234         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3235         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3236         (install-unwind_h): New target.
3237         (all): Depend on it.
3238         * config.host (unwind_header): New variable.
3239         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3240         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3241         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3242         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3243         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3244         Set unwind_header.
3245         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3246         Set unwind_header.
3247         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3248         arm*-*-eabi*.
3249         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3250         Set unwind_header.
3251         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3252         (ia64*-*-freebsd*): Likewise.
3253         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3254         tmake_file.
3255         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3256         $with_system_libunwind.
3257         (ia64*-*-hpux*): Set tmake_file.
3258         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3259         (picochip-*-*): Set tmake_file.
3260         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3261         md_unwind_header.
3262         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3263         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3264         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3265         (xtensa*-*-elf*): Set tmake_file.
3266         (xtensa*-*-linux*): Likewise.
3267         * configure.ac: Include ../config/unwind_ipinfo.m4.
3268         Call GCC_CHECK_UNWIND_GETIPINFO.
3269         Link unwind.h to $unwind_header.
3270         * configure: Regenerate.
3271         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3272         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3273         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3274         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3275         * config/unwind-dw2-fde-darwin.c: New file.
3276         * config/arm/libunwind.S, config/arm/pr-support.c,
3277         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3278         config/arm/unwind-arm.h,: New files.
3279         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3280         config/ia64/t-eh-ia64, config/ia64/t-glibc,
3281         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3282         config/ia64/t-vms, config/ia64/unwind-ia64.c,
3283         config/ia64/unwind-ia64.h: New files.
3284         * config/picochip/t-picochip: New file.
3285         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3286         files.
3287         * config/rs6000/t-darwin (LIB2ADDEH): Set.
3288         * config/s390/t-tpf (LIB2ADDEH): Remove.
3289         * config/t-darwin (LIB2ADDEH): Set.
3290         * config/t-eh-dw2-dip: New file.
3291         * config/t-libunwind, config/t-libunwind-elf: New files.
3292         * config/t-sol2 (LIB2ADDEH): Remove.
3293         * config/xtensa/t-xtensa: New file.
3295 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
3297         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3298         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3299         long long to check rt_sigreturn syscall.
3301 2011-08-02  Alan Modra  <amodra@gmail.com>
3303         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3304         Restore for indirect call bcrtl from correct stack slot, and only
3305         if cfa+40 isn't valid.
3307 2011-08-01  Julian Brown  <julian@codesourcery.com>
3309         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3310         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3311         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3313 2011-08-01  Julian Brown  <julian@codesourcery.com>
3315         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3316         (libgcc-std.ver.in): Use above.
3317         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3318         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
3319         throughout file.
3320         * config/t-fixedpoint-gnu-prefix: New file.
3321         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3322         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3323         instead of __PFX__.
3325 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3327         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3328         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3329         for x86-64.  Properly check __x86_64__ and __LP64__.
3331 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
3333         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3334         version.
3335         (_FP_WS_TYPE): Likewise.
3336         (_FP_I_TYPE): Likewise.
3338 2011-07-28  Alan Modra  <amodra@gmail.com>
3340         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3341         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3342         in a plt call stub.  Do restore r2 if stopped on bctrl.
3344 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3346         * config.host (i[3456x]86-*-netware*): Remove.
3347         * config/i386/netware-crt0.c, config/i386/t-nwld,
3348         config/i386/t-slibgcc-nwld: Remove.
3350 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
3352         * config.host: Handle tic6x-*-*.
3353         * config/c6x/c6x-abi.h: New file.
3355 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3357         * config/i386/crtprec.c: New file.
3358         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3359         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3360         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3361         (x86_64-*-darwin*): Likewise.
3362         (i[34567]86-*-solaris2*: Likewise.
3364 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3366         * config/alpha/crtfastmath.c: New file.
3367         * config/i386/crtfastmath.c: New file.
3368         * config/ia64/crtfastmath.c: New file.
3369         * config/mips/crtfastmath.c: New file.
3370         * config/sparc/crtfastmath.c: New file.
3372         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3373         crtfastmath.c.
3374         Add -frandom-seed=gcc-crtfastmath.
3375         * config/alpha/t-crtfm: Remove.
3376         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3377         * config/ia64/t-ia64 (crtfastmath.o): Remove.
3379         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3380         (alpha*-dec-osf5.1*): Likewise.
3381         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3382         Add crtfastmath.o to extra_parts.
3383         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3384         Add crtfastmath.o to extra_parts.
3385         (x86_64-*-darwin*): Likewise.
3386         (x86_64-*-mingw*): Likewise.
3387         (ia64*-*-elf*): Add t-crtfm to tmake_file.
3388         (ia64*-*-freebsd*): Likewise.
3389         (ia64*-*-linux*): Likewise.
3390         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3391         Add crtfastmath.o to extra_parts.
3393 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3395         * config/darwin-crt3.o: New file.
3396         * config/rs6000/darwin-crt2.c: New file.
3397         * config/t-darwin: New file.
3398         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3399         (crt2.o): New rule.
3400         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3401         (powerpc-*-darwin*): Add crt2.o to extra_parts.
3402         (powerpc64-*-darwin*): Likewise.
3404 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3406         * config/i386/netware-crt0.c: New file.
3407         * config/i386/t-nwld: Rename to ...
3408         * config/i386/t-slibgcc-nwld: ... this.
3409         * config/i386/t-nwld: New file.
3410         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3411         tmake_file.
3412         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3413         extra_parts.
3415 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3417         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3418         i386/t-crtstuff.
3419         * configure: Regenerate.
3421 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3423         * dfp-bit.c, dfp-bit.h: New files.
3424         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3425         variables.
3426         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3427         ($(d64pbit-o)): Likewise.
3428         ($(d128pbit-o)): Likewise.
3429         * config/t-dfprules: New file.
3430         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3431         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3432         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3433         (x86_64-*-linux*): Likewise.
3434         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3435         (i[34567]86-*-cygwin*): Likewise.
3436         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
3437         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3439 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3441         * Makfile.in (LIBGCOV): New variable.
3442         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3443         * libgcov.c: New file.
3445 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3447         * fixed-bit.c, fixed-bit.h: New files.
3448         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3449         refer to fixed-bit.c.
3451 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
3453         * config.host (*local*): Remove.
3455 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3457         PR target/39150
3458         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3459         like i?86-*-solaris2.1[0-9]*.
3460         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3461         * configure.ac (i?86-*-solaris2*): Likewise.
3462         * configure: Regenerate.
3464 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
3466         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3467         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3468         md_unwind_header by splitting out of...
3469         (i[34567]86-*-linux*): ... this.
3470         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3471         Remove md_unwind_header by splitting out of...
3472         (x86_64-*-linux*): ... this.
3474 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
3476         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3478 2011-06-28  Nick Clifton  <nickc@redhat.com>
3480         * config.host: Recognize all V850 variants.
3482 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
3484         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3486 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3488         * shared-object.mk (c_flags-$o): Save c_flags.
3489         ($(base)$(objext)): Use it.
3490         ($(base)_s$(objext)): Likewise.
3492 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
3494         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3495         * libgcc-std.ver.in (GCC_4.7.0): New section.
3497 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
3499         PR target/49313
3500         PR target/29524
3501         * config/avr/t-avr: Fix line endings.
3502         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
3503         _parityXX2.
3505 2011-06-14  Olivier Hainque  <hainque@adacore.com>
3506             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3508         * config/mips/irix6-unwind.h: New file.
3509         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3511 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
3513         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3514         (sparc64_fallback_frame_state): Use it.
3515         (sparc64_frob_update_context): Further adjust context.
3516         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3517         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3518         * config/sparc/sol2-cn.S: Likewise.
3520 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3522         * enable-execute-stack-empty.c: New file.
3523         * enable-execute-stack-mprotect.c: New file.
3524         * config/i386/enable-execute-stack-mingw32.c: New file.
3525         * config.host (enable_execute_stack): New variable.
3526         Select appropriate variants.
3527         * configure.ac: Link enable-execute-stack.c to
3528         $enable_execute_stack.
3529         * configure: Regenerate.
3530         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3531         (lib2funcs): Remove _enable_execute_stack.
3533 2011-06-09  David S. Miller  <davem@davemloft.net>
3534             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3536         * config.host (sparc-*-linux*): Correct md_unwind_header
3537         filename.
3538         (s390x-ibm-tpf*): Fix typo.
3540 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3542         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3543         Add crtfastmath.o to extra_parts.
3544         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3545         mips/t-crtfm.
3546         * config/mips/t-crtfm: Remove.
3548 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3550         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3552 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
3554         * config.host (sh*-*-linux*): Fix typo.
3556 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3558         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3559         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3560         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3561         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3562         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3563         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3564         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3565         Wrap in !__MINGW64__.
3566         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3567         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3568         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3569         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3570         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3571         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3572         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3573         Wrap in !__LP64__.
3574         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3575         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3576         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3577         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3578         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3579         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3580         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3581         * config/no-unwind.h: New file.
3582         * config.host (md_unwind_header): Document.
3583         Define.
3584         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3585         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3586         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3587         hppa[12]*-*-hpux11*): Set md_unwind_header.
3588         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3589         Set md_unwind_header.
3590         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3591         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3592         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3593         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3594         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3595         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3596         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3597         md_unwind_header.
3598         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3599         * configure: Regenerate.
3601 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3603         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3604         Set tmake_file, extra_parts.
3605         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3606         Remove O32 support.
3607         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3608         Remove O32 support.
3609         * config/mips/t-irix6: New file.
3610         * config/mips/t-slibgcc-irix: New file.
3612 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3614         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3615         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3617 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3619         * configure.ac (target_thread_file): Determine thread model.
3620         * configure: Regenerate.
3621         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3622         * config/alpha/t-alpha: New file.
3623         * config/alpha/t-crtfm: Use $<.
3624         * config/alpha/t-ieee: New file.
3625         * config/alpha/t-osf-pthread: New file.
3626         * config/alpha/t-slibgcc-osf: New file.
3627         * config/alpha/libgcc-osf5.ver: New file.
3629 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3631         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3632         tmake_file.
3633         Add crtfastmath.o to extra_parts.
3635 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3637         * config/gmon-sol2.c: Reindent.
3638         Cleanup comments.
3639         Remove, correct casts.
3640         Use STDERR_FILENO, NULL.
3641         (BASEADDRESS): Remove.
3642         (minbrk): Remove.
3643         (errno, sbrk): Remove declarations.
3644         (monstartup) [hp300]: Remove.
3645         (mcount): Remove.
3647 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3649         * Makefile.in (cpu_type): Define.
3650         * config.host (i[34567]86-*-rtems*): Handle it.
3651         (i[34567]86-*-solaris2*): Move body ...
3652         (*-*-solaris2*): ... here.
3653         New case, generalize.
3654         (sparc-*-elf*): Handle it.
3655         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3656         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3657         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3658         Fold into ...
3659         (sparc*-*-solaris2*): ... this.
3660         New case.
3661         (sparc64-*-elf*): Handle it.
3662         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3663         Merge ../gcc/config/i386/gmon-sol2.c.
3664         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3665         Use C comments.
3666         Merge ../gcc/config/i386/sol2-gc1.asm.
3667         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3668         Use C comments.
3669         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3670         Use C comments.
3671         * config/i386/t-crtfm (crtfastmath.o): Use $<.
3672         * config/i386/t-crtstuff: New file.
3673         * config/i386/t-softfp: New file.
3674         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3675         $(T)crti.o, $(T)crtn.o): Remove.
3676         (gcrt1.o): New rule.
3677         (TARGET_LIBGCC2_CFLAGS): Remove.
3678         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3679         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3680         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3681         * config/sparc/t-sol2: New file.
3682         * config/sparc/t-crtfm: Move to ...
3683         * config/t-crtfm: ... this.
3684         Use $(cpu_type), $<.
3685         * config/t-crtin: New file.
3686         * config/sparc/t-softfp: New file.
3687         * config/sparc/t-softmul: New file.
3688         * config/t-rtems: New file.
3689         * config/t-slibgcc: New file.
3690         * config/t-slibgcc-elf-ver: New file.
3691         * config/t-slibgcc-gld: New file.
3692         * config/t-slibgcc-sld: New file.
3693         * config/t-sol2: New file.
3694         * configure.ac: Include ../config/lib-ld.m4.
3695         Call AC_LIB_PROG_LD_GNU.
3696         Substitute cpu_type.
3697         * configure: Regenerate.
3699 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
3701         PR bootstrap/49173
3702         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3703         libgcc-std.ver in the build directory.
3704         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3705         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3707 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
3709         * libgcc-std.ver.in: New file.
3710         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3711         variables.
3712         (libgcc-std.ver): New rule.
3713         * config/t-gnu-prefix: New file.
3715 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3717         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3719 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3721         * config/i386/darwin-lib.h: New file.
3723 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
3725         * config/arm/symbian-lib.h: New.
3727 2011-05-04  Chris Demetriou  <cgd@google.com>
3729         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3730         (__x86.get_pc_thunk.bx): ...this.
3731         (__morestack): Adjust for rename, remove undef of __i686.
3733 2011-05-03  Chris Demetriou  <cgd@google.com>
3735         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3737 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
3739         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3740         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3741         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3742         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3743         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3744         Remove cases.
3746 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
3748         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3749         Adjust copyright year.
3751 2011-03-07  Ian Lance Taylor  <iant@google.com>
3753         * generic-morestack.c (__splitstack_find): Adjust returned stack
3754         pointer to include all registers pushed by __morestack.
3756 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
3758         PR target/40125
3759         * configure.ac: Call ACX_NONCANONICAL_TARGET.
3760         (toolexecdir): Calculate and AC_SUBST.
3761         (toolexeclibdir): Likewise.
3762         * Makefile.in (target_noncanonical): Import.
3763         (toolexecdir): Likewise.
3764         (toolexeclibdir): Likewise.
3765         * configure: Regenerate.
3767 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
3769         PR target/46040
3770         * config/arm/bpabi.h: Rename to...
3771         * config/arm/bpabi-lib.h: ...this.
3773 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3775         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3776         appropriate.
3777         * configure: Regenerate.
3779 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
3781         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3782         __FLOAT_WORD_ORDER__.
3783         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3784         Delete.
3786 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3788         PR other/46202
3789         * Makefile.in (install-strip): New phony target.
3791 2010-11-07  Ian Lance Taylor  <iant@google.com>
3793         PR target/46089
3794         * config/i386/morestack.S (__morestack_large_model): New
3795         function.
3797 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
3799         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3800         Delete.
3801         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3803 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
3805         * config/arm/bpabi.h: New file.
3806         * config/frv/frv-abi.h: New file.
3808 2010-10-01  Ian Lance Taylor  <iant@google.com>
3810         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3811         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3813 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
3815         PR target/45858
3816         * config.host: Add the missing `$'.
3818 2010-09-30  Michael Eager  <eager@eagercon.com>
3820         * config.host: Add microblaze*-*-*.
3821         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3822         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3823         udivsi3.asm,umodsi3.asm}:  New.
3825 2010-09-28  Ian Lance Taylor  <iant@google.com>
3827         * configure.ac: Adjust CFI test to test assembler directly rather
3828         than checking gcc preprocessor macro.
3829         * configure: Rebuild.
3831 2010-09-27  Ian Lance Taylor  <iant@google.com>
3833         * configure.ac: Test whether assembler supports CFI directives.
3834         * config.host: Only add t-stack and i386/t-stack-i386 to
3835         tmake_file if libgcc_cv_cfi is "yes".
3836         * configure: Rebuild.
3838 2010-09-27  Ian Lance Taylor  <iant@google.com>
3840         * generic-morestack.h: New file.
3841         * generic-morestack.c: New file.
3842         * generic-morestack-thread.c: New file.
3843         * config/i386/morestack.S: New file.
3844         * config/t-stack: New file.
3845         * config/i386/t-stack-i386: New file.
3846         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3847         i386/t-stack-i386 to tmake_file.
3849 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
3851         * Makefile.in (libgcc-extra-parts):  Check for static archives and
3852         invoke ranlib after installing them.
3853         (gcc-extra-parts): Likewise.
3854         (install-leaf): Likewise.
3856 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
3858         * configure: Regenerated.
3860 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
3862         * configure: Regenerated.
3864 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
3865             Andrew Pinski  <pinskia@gmail.com>
3867         PR target/40959
3868         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3870 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3872         PR target/45524
3873         * configure: Regenerated.
3875 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3877         * configure: Regenerate.
3879 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3881         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3882         64bit targets.
3883         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3884         for 64bit targets.
3886 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3887             Iain Sandoe  <iains@gcc.gnu.org>
3889         PR target/45476
3890         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3891         LIB2FUNCS_EXCLUDE functions.
3893 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3895         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3896         Include dfp.m4.
3897         * configure: Regenerate.
3899 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3901         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3902         i386/t-freebsd to tmake_file.
3903         * config/i386/t-freebsd: New file.
3904         * config/i386/libgcc-bsd.ver: New file.
3906 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3908         * config.host (powerpc*-eabispe*): Set tmake_file.
3909         (powerpc*-eabi*): Likewise.
3910         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3911         crtbeginS, crtendS, crtbeginT.
3913 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3915         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3916         to tmake_file.  Add crtfastmath.o to extra_parts.
3917         * config/mips/t-crtfm: New.
3919 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3921         * config.host (sparc64-*-rtems*): New target.
3923 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3925         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3926         assembler syntax.
3928 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3930         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3932 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3934         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3935         alpha-dec-osf5.0* support.
3937 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3939         * config.host: Add lm32-*-rtems*.
3941 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3942             Uros Bizjak <ubizjak@gmail.com>
3944         PR target/39048
3945         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3946         like other remaining 32-bit x86 OSes.
3947         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3948         assembler syntax.
3949         * config/i386/libgcc-sol2.ver: New file.
3950         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3952 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3954         PR c/43553
3955         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3956         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3957         is used and substitute set_use_emutls.
3958         * configure: Regenerated.
3960 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3962         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3964 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3966         PR target/38085
3967         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3968         MULTILIB_CFLAGS.
3969         ($(T)gcrt1.o): Likewise.
3970         ($(T)crt1.o): Likewise.
3971         ($(T)crti.o): Likewise.
3972         ($(T)crtn.o): Likewise.
3974 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3976         PR other/42980
3977         * Makefile.in (install): Use $(MAKE) string in rule, for
3978         parallel make.
3980 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3982         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3983         * config/mmix/t-mmix: New file.
3984         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3986 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3988         PR java/41991
3989         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3990         SHLIB_MAPFILES.
3992 2010-01-04  Anthony Green  <green@moxielogic.com>
3994         * config/moxie/crti.asm, config/moxie/crtn.asm,
3995         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3996         config/moxie/t-moxie: New files.
3997         * config.host: Add t-moxie-softfp reference.
3999 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4001         PR other/39888
4002         * config/t-slibgcc-darwin: Fix embedded rpaths for
4003         --enable-version-specific-runtime-libs, build extension stub
4004         libs exposing features available from current libgcc_s.
4006 2009-11-11  Jon Beniston <jon@beniston.com>
4008         * config.host: Add lm32 targets.
4009         * config/lm32: New directory.
4010         * config/lm32/libgcc_lm32.h: New file.
4011         * config/lm32/_mulsi3.c: New file.
4012         * config/lm32/_udivmodsi4.c: New file.
4013         * config/lm32/_divsi3.c: New file.
4014         * config/lm32/_modsi3.c: New file.
4015         * config/lm32/_udivsi3.c: New file.
4016         * config/lm32/_umodsi3.c: New file.
4017         * config/lm32/_lshrsi3.S: New file.
4018         * config/lm32/_ashrsi3.S: New file.
4019         * config/lm32/_ashlsi3.S: New file.
4020         * config/lm32/crti.S: New file.
4021         * config/lm32/crtn.S: New file.
4022         * config/lm32/t-lm32: New file.
4023         * config/lm32/t-elf: New file.
4024         * config/lm32/t-uclinux: New file.
4026 2009-10-26  Nick Clifton  <nickc@redhat.com>
4028         * config.host: Add support for RX target.
4029         * config/rx: New directory.
4030         * config/rx/rx-abi-functions.c: New file. Supplementary
4031         functions for libgcc to support the RX ABI.
4032         * config/rx/rx-abi.h: New file.  Supplementary header file for
4033         libgcc RX ABI functions.
4034         * config/rx/t-rx: New file: Makefile fragment for building
4035         libgcc for the RX.
4037 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
4039         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4040         constraint of y0 to "g".
4042 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4044         * config.host: Include the s390 makefile fragments.
4045         * config/s390/32/_fixdfdi.c: New file.
4046         * config/s390/32/_fixsfdi.c: New file.
4047         * config/s390/32/_fixtfdi.c: New file.
4048         * config/s390/32/_fixunsdfdi.c: New file.
4049         * config/s390/32/_fixunssfdi.c: New file.
4050         * config/s390/32/_fixunstfdi.c: New file.
4051         * config/s390/32/t-floattodi: New file.
4052         * config/s390/libgcc-glibc.ver: New file.
4053         * config/s390/t-crtstuff: New file.
4054         * config/s390/t-linux: New file.
4055         * config/s390/t-tpf: New file.
4057 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4059         * configure.ac (AC_PREREQ): Bump to 2.64.
4061 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
4063         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4065 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4067         * configure: Regenerate.
4069 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
4071         * config.host (ia64-hp-*vms*): New target.
4072         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4073         with ia64-hp-*vms*.
4075 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4077         * configure.ac: Add snippet for maintainer-mode.
4078         * configure: Regenerate.
4079         * Makefile.in (AUTOCONF, configure_deps): New variables.
4080         ($(srcdir)/configure)): New rule, active only with maintainer
4081         mode turned on.
4083 2009-06-23  DJ Delorie  <dj@redhat.com>
4085         Add MeP port.
4086         * config.host: Add mep support.
4088 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
4090         * config.host: Add i386/${host_address}/t-fprules-softfp and
4091         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4093         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4094         for mingw targets.
4095         * config/i386/64/_multc3.c: Likewise.
4096         * config/i386/64/_powitf2.c: Likewise.
4097         * config/i386/64/eqtf2.c: Likewise.
4098         * config/i386/64/getf2.c: Likewise.
4099         * config/i386/64/letf2.c: Likewise.
4100         * config/i386/64/letf2.c: Likewise.
4101         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4102         unsigned long long for x64 mingw targets.
4103         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4104         (_FP_I_TYPE): Define as long long for x64 mingw target.
4106 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
4108         * config.host (vax-*-linux*): New.
4110 2009-05-31  Anthony Green  <green@moxielogic.com>
4112         * config.host: Add moxie support.
4113         * config/moxie/t-moxie: New file.
4115 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
4117         * config.host: Add i386/${host_address}/t-fprules-softfp and
4118         t-softfp to tmake_file for i[34567]86-*-cygwin*.
4120 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
4122         * config.host: Add i386/${host_address}/t-fprules-softfp to
4123         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4125 2009-04-09  Nick Clifton  <nickc@redhat.com>
4127         * config/ia64/tf-signs.c: Change copyright header to refer to
4128         version 3 of the GNU General Public License with version 3.1
4129         of the GCC Runtime Library Exception and to point readers at
4130         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4131         web page.
4132         * config/i386/32/tf-signs.c: Likewise.
4133         * config/libbid/_addsub_dd.c: Likewise.
4134         * config/libbid/_addsub_sd.c: Likewise.
4135         * config/libbid/_addsub_td.c: Likewise.
4136         * config/libbid/_dd_to_df.c: Likewise.
4137         * config/libbid/_dd_to_di.c: Likewise.
4138         * config/libbid/_dd_to_sd.c: Likewise.
4139         * config/libbid/_dd_to_sf.c: Likewise.
4140         * config/libbid/_dd_to_si.c: Likewise.
4141         * config/libbid/_dd_to_td.c: Likewise.
4142         * config/libbid/_dd_to_tf.c: Likewise.
4143         * config/libbid/_dd_to_udi.c: Likewise.
4144         * config/libbid/_dd_to_usi.c: Likewise.
4145         * config/libbid/_dd_to_xf.c: Likewise.
4146         * config/libbid/_df_to_dd.c: Likewise.
4147         * config/libbid/_df_to_sd.c: Likewise.
4148         * config/libbid/_df_to_td.c: Likewise.
4149         * config/libbid/_di_to_dd.c: Likewise.
4150         * config/libbid/_di_to_sd.c: Likewise.
4151         * config/libbid/_di_to_td.c: Likewise.
4152         * config/libbid/_div_dd.c: Likewise.
4153         * config/libbid/_div_sd.c: Likewise.
4154         * config/libbid/_div_td.c: Likewise.
4155         * config/libbid/_eq_dd.c: Likewise.
4156         * config/libbid/_eq_sd.c: Likewise.
4157         * config/libbid/_eq_td.c: Likewise.
4158         * config/libbid/_ge_dd.c: Likewise.
4159         * config/libbid/_ge_sd.c: Likewise.
4160         * config/libbid/_ge_td.c: Likewise.
4161         * config/libbid/_gt_dd.c: Likewise.
4162         * config/libbid/_gt_sd.c: Likewise.
4163         * config/libbid/_gt_td.c: Likewise.
4164         * config/libbid/_isinfd128.c: Likewise.
4165         * config/libbid/_isinfd32.c: Likewise.
4166         * config/libbid/_isinfd64.c: Likewise.
4167         * config/libbid/_le_dd.c: Likewise.
4168         * config/libbid/_le_sd.c: Likewise.
4169         * config/libbid/_le_td.c: Likewise.
4170         * config/libbid/_lt_dd.c: Likewise.
4171         * config/libbid/_lt_sd.c: Likewise.
4172         * config/libbid/_lt_td.c: Likewise.
4173         * config/libbid/_mul_dd.c: Likewise.
4174         * config/libbid/_mul_sd.c: Likewise.
4175         * config/libbid/_mul_td.c: Likewise.
4176         * config/libbid/_ne_dd.c: Likewise.
4177         * config/libbid/_ne_sd.c: Likewise.
4178         * config/libbid/_ne_td.c: Likewise.
4179         * config/libbid/_sd_to_dd.c: Likewise.
4180         * config/libbid/_sd_to_df.c: Likewise.
4181         * config/libbid/_sd_to_di.c: Likewise.
4182         * config/libbid/_sd_to_sf.c: Likewise.
4183         * config/libbid/_sd_to_si.c: Likewise.
4184         * config/libbid/_sd_to_td.c: Likewise.
4185         * config/libbid/_sd_to_tf.c: Likewise.
4186         * config/libbid/_sd_to_udi.c: Likewise.
4187         * config/libbid/_sd_to_usi.c: Likewise.
4188         * config/libbid/_sd_to_xf.c: Likewise.
4189         * config/libbid/_sf_to_dd.c: Likewise.
4190         * config/libbid/_sf_to_sd.c: Likewise.
4191         * config/libbid/_sf_to_td.c: Likewise.
4192         * config/libbid/_si_to_dd.c: Likewise.
4193         * config/libbid/_si_to_sd.c: Likewise.
4194         * config/libbid/_si_to_td.c: Likewise.
4195         * config/libbid/_td_to_dd.c: Likewise.
4196         * config/libbid/_td_to_df.c: Likewise.
4197         * config/libbid/_td_to_di.c: Likewise.
4198         * config/libbid/_td_to_sd.c: Likewise.
4199         * config/libbid/_td_to_sf.c: Likewise.
4200         * config/libbid/_td_to_si.c: Likewise.
4201         * config/libbid/_td_to_tf.c: Likewise.
4202         * config/libbid/_td_to_udi.c: Likewise.
4203         * config/libbid/_td_to_usi.c: Likewise.
4204         * config/libbid/_td_to_xf.c: Likewise.
4205         * config/libbid/_tf_to_dd.c: Likewise.
4206         * config/libbid/_tf_to_sd.c: Likewise.
4207         * config/libbid/_tf_to_td.c: Likewise.
4208         * config/libbid/_udi_to_dd.c: Likewise.
4209         * config/libbid/_udi_to_sd.c: Likewise.
4210         * config/libbid/_udi_to_td.c: Likewise.
4211         * config/libbid/_unord_dd.c: Likewise.
4212         * config/libbid/_unord_sd.c: Likewise.
4213         * config/libbid/_unord_td.c: Likewise.
4214         * config/libbid/_usi_to_dd.c: Likewise.
4215         * config/libbid/_usi_to_sd.c: Likewise.
4216         * config/libbid/_usi_to_td.c: Likewise.
4217         * config/libbid/_xf_to_dd.c: Likewise.
4218         * config/libbid/_xf_to_sd.c: Likewise.
4219         * config/libbid/_xf_to_td.c: Likewise.
4220         * config/libbid/bid128.c: Likewise.
4221         * config/libbid/bid128_2_str.h: Likewise.
4222         * config/libbid/bid128_2_str_macros.h: Likewise.
4223         * config/libbid/bid128_2_str_tables.c: Likewise.
4224         * config/libbid/bid128_add.c: Likewise.
4225         * config/libbid/bid128_compare.c: Likewise.
4226         * config/libbid/bid128_div.c: Likewise.
4227         * config/libbid/bid128_fma.c: Likewise.
4228         * config/libbid/bid128_logb.c: Likewise.
4229         * config/libbid/bid128_minmax.c: Likewise.
4230         * config/libbid/bid128_mul.c: Likewise.
4231         * config/libbid/bid128_next.c: Likewise.
4232         * config/libbid/bid128_noncomp.c: Likewise.
4233         * config/libbid/bid128_quantize.c: Likewise.
4234         * config/libbid/bid128_rem.c: Likewise.
4235         * config/libbid/bid128_round_integral.c: Likewise.
4236         * config/libbid/bid128_scalb.c: Likewise.
4237         * config/libbid/bid128_sqrt.c: Likewise.
4238         * config/libbid/bid128_string.c: Likewise.
4239         * config/libbid/bid128_to_int16.c: Likewise.
4240         * config/libbid/bid128_to_int32.c: Likewise.
4241         * config/libbid/bid128_to_int64.c: Likewise.
4242         * config/libbid/bid128_to_int8.c: Likewise.
4243         * config/libbid/bid128_to_uint16.c: Likewise.
4244         * config/libbid/bid128_to_uint32.c: Likewise.
4245         * config/libbid/bid128_to_uint64.c: Likewise.
4246         * config/libbid/bid128_to_uint8.c: Likewise.
4247         * config/libbid/bid32_to_bid128.c: Likewise.
4248         * config/libbid/bid32_to_bid64.c: Likewise.
4249         * config/libbid/bid64_add.c: Likewise.
4250         * config/libbid/bid64_compare.c: Likewise.
4251         * config/libbid/bid64_div.c: Likewise.
4252         * config/libbid/bid64_fma.c: Likewise.
4253         * config/libbid/bid64_logb.c: Likewise.
4254         * config/libbid/bid64_minmax.c: Likewise.
4255         * config/libbid/bid64_mul.c: Likewise.
4256         * config/libbid/bid64_next.c: Likewise.
4257         * config/libbid/bid64_noncomp.c: Likewise.
4258         * config/libbid/bid64_quantize.c: Likewise.
4259         * config/libbid/bid64_rem.c: Likewise.
4260         * config/libbid/bid64_round_integral.c: Likewise.
4261         * config/libbid/bid64_scalb.c: Likewise.
4262         * config/libbid/bid64_sqrt.c: Likewise.
4263         * config/libbid/bid64_string.c: Likewise.
4264         * config/libbid/bid64_to_bid128.c: Likewise.
4265         * config/libbid/bid64_to_int16.c: Likewise.
4266         * config/libbid/bid64_to_int32.c: Likewise.
4267         * config/libbid/bid64_to_int64.c: Likewise.
4268         * config/libbid/bid64_to_int8.c: Likewise.
4269         * config/libbid/bid64_to_uint16.c: Likewise.
4270         * config/libbid/bid64_to_uint32.c: Likewise.
4271         * config/libbid/bid64_to_uint64.c: Likewise.
4272         * config/libbid/bid64_to_uint8.c: Likewise.
4273         * config/libbid/bid_b2d.h: Likewise.
4274         * config/libbid/bid_binarydecimal.c: Likewise.
4275         * config/libbid/bid_conf.h: Likewise.
4276         * config/libbid/bid_convert_data.c: Likewise.
4277         * config/libbid/bid_decimal_data.c: Likewise.
4278         * config/libbid/bid_decimal_globals.c: Likewise.
4279         * config/libbid/bid_div_macros.h: Likewise.
4280         * config/libbid/bid_dpd.c: Likewise.
4281         * config/libbid/bid_flag_operations.c: Likewise.
4282         * config/libbid/bid_from_int.c: Likewise.
4283         * config/libbid/bid_functions.h: Likewise.
4284         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4285         * config/libbid/bid_inline_add.h: Likewise.
4286         * config/libbid/bid_internal.h: Likewise.
4287         * config/libbid/bid_round.c: Likewise.
4288         * config/libbid/bid_sqrt_macros.h: Likewise.
4290 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
4292         * Makefile.in: Change copyright header to refer to version
4293         3 of the GNU General Public License and to point readers at the
4294         COPYING3 file and the FSF's license web page.
4295         * config.host: Likewise.
4297 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
4299         * config.host: Reorder and merge to match config.gcc change.
4301 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
4303         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4305 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
4307         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4308         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4309         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4310         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4312 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
4314         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4315         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4317 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
4319         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4320         ia64/t-softfp-compat to tmake_file.
4322         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4324         * config/ia64/__divxf3.asm: New.
4325         * config/ia64/_fixtfdi.asm: Likewise.
4326         * config/ia64/_fixunstfdi.asm: Likewise.
4327         * config/ia64/_floatditf.asm: Likewise.
4328         * config/ia64/t-fprules-softfp: Likewise.
4329         * config/ia64/t-softfp-compat: Likewise.
4330         * config/ia64/tf-signs.c: Likewise.
4332 2009-01-18  Ben Elliston  <bje@au.ibm.com>
4334         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4336 2009-01-16  Ben Elliston  <bje@au.ibm.com>
4338         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4339         to tmake_file.
4341 2009-01-13  Ben Elliston  <bje@au.ibm.com>
4343         * config/t-softfp: New file.
4344         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4345         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4347 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
4349         * config.host: Add m32r*-*-rtems*.
4351 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
4353         * config.host: Add m32c*-*-rtems*.
4355 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4357         PR bootstrap/33100
4358         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4359         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4360         * configure: Regenerate.
4361         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4362         tmake_file here from gcc/config.gcc.
4363         Move extra_parts here from gcc/config.gcc.
4364         * config/i386/t-sol2: Move here from gcc/config/i386.
4365         Use gcc_srcdir instead of srcdir.
4367 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
4369         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4370         case.
4372 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
4374         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4376 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
4378         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4380 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
4382         Add picoChip port.
4383         * config.host: Add picochip-*-*.
4385 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
4387         * config.host: Match more processor names for Xtensa.
4389 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
4391         * config/i386/64/t-softfp-compat: Update comments.
4393 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
4395         * config/i386/64/_divtc3-compat.c: Moved to ...
4396         * config/i386/64/_divtc3.c: Here.
4398         * config/i386/64/_multc3-compat.c: Moved to ...
4399         * config/i386/64/_multc3.c: Here.
4401         * config/i386/64/_powitf2-compat.c: Moved to ...
4402         * config/i386/64/_powitf2.c: Here.
4404         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4405         .c suffix instead of -compat.c.
4407 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
4409         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4410         (_FP_MUL_MEAT_D): Ditto.
4411         (_FP_DIV_MEAT_S): Ditto.
4412         (_FP_DIV_MEAT_D): Ditto.
4414 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
4416         * Makefile.in: Add support for __sync_* libgcc functions.
4418 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
4420         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4422 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4424         PR boostrap/36702
4425         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4426         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
4428         * config/i386/64/t-fprules-softfp: Moved to ...
4429         * config/i386/64/t-softfp-compat: This.  New.
4431 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
4433         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4434         Initialize f with 0.0.
4436 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4438         PR target/36669
4439         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4441         * config/i386/64/_divtc3-compat.c: New.
4442         * config/i386/64/_multc3-compat.c: Likewise.
4443         * config/i386/64/_powitf2-compat.c: Likewise.
4444         * config/i386/64/eqtf2.c: Likewise.
4445         * config/i386/64/getf2.c: Likewise.
4446         * config/i386/64/letf2.c: Likewise.
4447         * config/i386/64/t-fprules-softfp: Likewise.
4449 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4451         * config.host: Add i386/${host_address}/t-fprules-softfp to
4452         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4453         i[34567]86-*-linux*, x86_64-*-linux*.
4455         * configure.ac: Set host_address to 64 or 32 for x86.
4456         * configure: Regenerated.
4458         * Makefile.in (config.status): Also depend on
4459         $(srcdir)/config.host.
4461         * config/i386/32/t-fprules-softfp: New.
4462         * config/i386/32/tf-signs.c: Likewise.
4464         * config/i386/64/sfp-machine.h: New. Moved from gcc.
4466 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
4467             Uros Bizjak  <ubizjak@gmail.com>
4469         * config/i386/32/sfp-machine.h: New.
4471 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
4473         * config/rs6000/t-ppccomm: Remove rules that conflict with
4474         auto-generated rules.
4476 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4478         * configure.ac: sinclude override.m4.
4479         * configure: Regenerate.
4481 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
4483         * configure: Regenerate.
4485 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
4487         * Makefile.in (DECNUMINC): Remove
4488         -I$(MULTIBUILDTOP)../../libdecnumber.
4489         * gstdint.h: New.
4491 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
4493         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4494         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4495         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4496         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4497         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4498         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4499         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4500         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4501         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4502         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4503         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4504         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4505         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4506         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4508 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
4510         * config.host (sh2[lbe]*-*-linux*): Allow target.
4512 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
4514         * config/rs6000/t-ppccomm: Add build rules for new files.
4515         (LIB2ADD_ST): New variable.
4517 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
4519         PR target/34210
4520         PR target/35508
4521         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4522         * config/t-avr: New file. Build 16bit libgcc functions.
4524 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
4526         PR target/35401
4527         * config/t-slibgcc-darwin: Make install-leaf dependent on
4528         install-darwin-libgcc-stubs instead of install.
4530 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
4532         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4533         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4534         sh-*-rtemscoff*): Remove cases.
4536 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
4538         * Makefile.in (all): Use install-leaf rather than install.
4539         (install): Split most of the rule into...
4540         (install-leaf): ...this new one.
4542 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
4543             Paolo Bonzini  <bonzini@gnu.org>
4545         PR target/30572
4546         * Makefile.in: Use @shlib_slibdir@ substitution to get
4547         correct install name on darwin.
4548         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4550 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
4552         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4553         cris-*-elf and cris-*-none.
4554         (crisv32-*-linux*): Similar, as cris-*-linux*.
4556 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
4558         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4560 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
4562         PR regression/33926
4563         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4564         * configure: Regenerated.
4566 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4568         * Makefile.in (dfp-filenames): Replace decimal_globals,
4569         decimal_data, binarydecimal and convert_data with
4570         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4571         and bid_convert_data, respectively.
4573 2007-09-17  Chao-ying Fu  <fu@mips.com>
4574             Nigel Stephens  <nigel@mips.com>
4576         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4577         * Makefile.in (fixed_point): Define.
4578         Check if fixed_point is yes to build support functions.
4579         * configure.ac: Check for fixed_point support.
4580         * configure: Regenerated.
4581         * gen-fixed.sh: New file to generate lists of fixed-point labels,
4582         funcs, modes, from, to.
4584 2007-09-11  Janis Johnson  <janis187@us.ibm.com
4586         * Makefile.in (dfp-filenames): Add bid128_noncomp.
4588 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
4590         * Makefile.in (dfp-filenames): Remove decUtility, add
4591         decDouble, decPacked, decQuad, decSingle.
4593 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
4595         * config.host : Add x86_64-elf target.
4597 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4599         * configure.ac (set_have_cc_tls): Add a missing =.
4600         * configure: Regenerated.
4602 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
4604         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4605         and x86_64-*-linux*.
4607         * config/t-tls: New file.
4609         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4611         * configure.ac: Include ../config/enable.m4 and
4612         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
4613         supports TLS and substitute set_have_cc_tls.
4614         * configure: Regenerated.
4616 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4618         * Makefile.in: Use libbid for DFP when BID is enabled.
4620 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
4622         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4623         extra_parts. Add config/i386/t-cygming to tmake_file.
4624         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4626 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
4627             Danny Smith  <dannysmith@users.sourceforge.net>
4629         PR target/29498
4630         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4631         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
4632         * config/i386/t-crtfm: Compile crtfastmath.o with
4633         -minline-all-stringops.
4635 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
4637         * config.host (sparc-wrs-vxworks): New target.
4639 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
4641         * config.host: Recognize fido.
4643 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
4645         * configure: Check host, not target, for decimal float support.
4647 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
4649         * config/i386/t-crtpc: New file.
4650         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4651         (x86_64-*-linux*): Ditto.
4653 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
4655         * config.host (x86_64-*-mingw*): New target.
4657 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
4658             H.J. Lu  <hongjiu.lu@intel.com>
4660         * Makefile.in (enable_decimal_float): New.
4661         (DECNUMINC): Add
4662         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4663         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4664         (decbits-filenames): This.
4665         (decbits-objects): New.
4666         (libgcc-objects): Add $(decbits-objects).
4668         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4669         Substitute enable_decimal_float.
4670         * configure: Regenerated.
4672 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
4674         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4676 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
4678         * Makefile.in (install-info): New dummy target.
4680 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
4682         * config.host (bfin*-linux-uclibc*): Set extra_parts.
4684 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
4686         * Makefile.in: Add install-html and install-pdf dummy
4687         targets.
4689 2007-02-05  Roger Sayle  <roger@eyesopen.com>
4690             Daniel Jacobowitz  <dan@codesourcery.com>
4692         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4693         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4694         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4696 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
4698         * Makefile.in (dec-filenames): Add decExcept.
4700 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
4702         PR bootstrap/30469
4703         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4704         -fprofile-use.
4706 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
4708         * configure.ac: Add --enable-version-specific-runtime-libs.
4709         Correct $slibdir default.
4710         * configure: Regenerated.
4712 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
4714         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4716 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
4718         PR target/30519
4719         * config.host (alpha*-*-linux*): Set extra_parts.
4721 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
4723         * config/sh/t-linux: New.
4724         * config.host (sh*-*-linux*): Set tmake_file.
4726 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
4728         * Makefile.in (install): Handle multilibs.
4730 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4732         * Makefile.in: Added .PHONY entry for documentation targets.
4734 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
4736         * Makefile.in: Add empty info, html, dvi, pdf targets.
4738 2007-01-04  Mike Stump  <mrs@apple.com>
4740         * Makefile.in (MAKEINFO): Remove.
4741         (PERL): Likewise.
4743 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
4745         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4746         * configure: Regenerate.
4747         * Makefile.in (host_subdir): Substitute it.
4748         (gcc_objdir): Use it.
4750 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4752         * config.host (ia64*-*-linux*): Set tmake_file.
4754 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
4756         * Makefile.in (version): Define.
4758 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
4759             Paolo Bonzini  <bonzini@gnu.org>
4761         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4762         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4763         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4764         config/sparc/t-crtfm, config/t-slibgcc-darwin,
4765         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4766         shared-object.mk, siditi-object.mk, static-object.mk: New files.
4767         * configure: Generated.