OSDN Git Service

2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
[pf3gnuchains/gcc-fork.git] / libgcc / ChangeLog
1 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
2
3         * config.host (v850*-*-*): Add to tmake_file instead of resetting
4         it. This was removing the v850*-*-rtems* settings.
5
6 014-02-28  Joey Ye  <joey.ye@arm.com>
7
8         Backport from mainline r208229
9         2014-02-28  Joey Ye  <joey.ye@arm.com>
10
11         PR libgcc/60166
12         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
13         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
14         Set to zero.
15
16 2014-01-25  Walter Lee  <walt@tilera.com>
17
18         Backport from mainline
19         2014-01-25  Walter Lee  <walt@tilera.com>
20
21         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
22         (post_atomic_barrier): Ditto.
23         (__fetch_and_do): New macro.
24         (__atomic_fetch_and_do): Use __fetch_and_do.
25         (__sync_fetch_and_do): New macro.
26         (__sync_fetch_and_add_4): New function.
27         (__sync_fetch_and_sub_4): New function.
28         (__sync_fetch_and_or_4): New function.
29         (__sync_fetch_and_and_4): New function.
30         (__sync_fetch_and_xor_4): New function.
31         (__sync_fetch_and_nand_4): New function.
32         (__sync_fetch_and_add_8): New function.
33         (__sync_fetch_and_sub_8): New function.
34         (__sync_fetch_and_or_8): New function.
35         (__sync_fetch_and_and_8): New function.
36         (__sync_fetch_and_xor_8): New function.
37         (__sync_fetch_and_nand_8): New function.
38         (__do_and_fetch): New macro.
39         (__atomic_do_and_fetch): Use __do_and_fetch.
40         (__sync_do_and_fetch): New macro.
41         (__sync_add_and_fetch_4): New function.
42         (__sync_sub_and_fetch_4): New function.
43         (__sync_or_and_fetch_4): New function.
44         (__sync_and_and_fetch_4): New function.
45         (__sync_xor_and_fetch_4): New function.
46         (__sync_nand_and_fetch_4): New function.
47         (__sync_add_and_fetch_8): New function.
48         (__sync_sub_and_fetch_8): New function.
49         (__sync_or_and_fetch_8): New function.
50         (__sync_and_and_fetch_8): New function.
51         (__sync_xor_and_fetch_8): New function.
52         (__sync_nand_and_fetch_8): New function.
53         (__sync_exchange_methods): New macro.
54         (__sync_val_compare_and_swap_4): New function.
55         (__sync_bool_compare_and_swap_4): New function.
56         (__sync_lock_test_and_test_4): New function.
57         (__sync_val_compare_and_swap_8): New function.
58         (__sync_bool_compare_and_swap_8): New function.
59         (__sync_lock_test_and_test_8): New function.
60         (__subword_cmpxchg_body): New macro.
61         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
62         (__atomic_compare_exchange_2): Ditto.
63         (__sync_subword_cmpxchg): New macro.
64         (__sync_val_compare_and_swap_1): New function.
65         (__sync_bool_compare_and_swap_1): New function.
66         (__sync_val_compare_and_swap_2): New function.
67         (__sync_bool_compare_and_swap_2): New function.
68         (__atomic_subword): Rename to ...
69         (__subword): ... New name.
70         (__atomic_subword_fetch): Use __subword.
71         (__sync_subword_fetch): New macro.
72         (__sync_fetch_and_add_1): New function.
73         (__sync_fetch_and_sub_1): New function.
74         (__sync_fetch_and_or_1): New function.
75         (__sync_fetch_and_and_1): New function.
76         (__sync_fetch_and_xor_1): New function.
77         (__sync_fetch_and_nand_1): New function.
78         (__sync_fetch_and_add_2): New function.
79         (__sync_fetch_and_sub_2): New function.
80         (__sync_fetch_and_or_2): New function.
81         (__sync_fetch_and_and_2): New function.
82         (__sync_fetch_and_xor_2): New function.
83         (__sync_fetch_and_nand_2): New function.
84         (__sync_add_and_fetch_1): New function.
85         (__sync_sub_and_fetch_1): New function.
86         (__sync_or_and_fetch_1): New function.
87         (__sync_and_and_fetch_1): New function.
88         (__sync_xor_and_fetch_1): New function.
89         (__sync_nand_and_fetch_1): New function.
90         (__sync_add_and_fetch_2): New function.
91         (__sync_sub_and_fetch_2): New function.
92         (__sync_or_and_fetch_2): New function.
93         (__sync_and_and_fetch_2): New function.
94         (__sync_xor_and_fetch_2): New function.
95         (__sync_nand_and_fetch_2): New function.
96         (__atomic_subword_lock): Use __subword.
97         (__sync_subword_lock): New macro.
98         (__sync_lock_test_and_set_1): New function.
99         (__sync_lock_test_and_set_2): New function.
100
101 2014-01-25  Walter Lee  <walt@tilera.com>
102
103         Backport from mainline
104         2014-01-25  Walter Lee  <walt@tilera.com>
105
106         * config/tilepro/atomic.c (BIT_OFFSET): Define.
107         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
108         (__atomic_subword): Ditto.
109
110 2014-01-25  Walter Lee  <walt@tilera.com>
111
112         Backport from mainline
113         2014-01-25  Walter Lee  <walt@tilera.com>
114
115         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
116         a prefix op argument.
117         (__atomic_nand_fetch_4): Add prefix op.
118         (__atomic_nand_fetch_8): Ditto.
119
120 2014-01-21  Baruch Siach <barch@tkos.co.il>
121
122         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
123
124 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
125
126         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
127         case of small numerator and finite nonzero result.
128
129 2013-11-10  Kai Tietz  <ktietz@redhat.com>
130
131         Back-merged from trunk
132         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
133         Increment load-count on use of LIBGCC_SONAME DLL.
134         (hmod_libgcc): New static variable to hold handle of
135         LIBGCC_SONAME DLL.
136         (__gcc_deregister_frame): Decrement load-count of
137         LIBGCC_SONAME DLL.
138
139 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
140
141         * config/i386/32/sfp-machine.c (FP_HANDLE_EXCEPTIONS): Handle
142         FP_EX_DENORM.
143         * config/i386/64/sfp-machine.c (FP_HANDLE_EXCEPTIONS): Ditto.
144
145 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
146
147         Backport from trunk: Fix licenses on several libgcc files.
148
149         * config/ia64/unwind-ia64.h,
150         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
151         GPL-3.0-with-GCC-exception.
152
153 2013-06-08  Walter Lee  <walt@tilera.com>
154
155         Backport from mainline:
156         2013-06-08  Walter Lee  <walt@tilera.com>
157
158         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
159         Replace int64_t with long long.  Add __extension__ where
160         appropriate.
161
162 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
163
164         * config.host (arm-wrs-vxworks): Configure with other soft float.
165
166 2013-05-20  Chung-Ju Wu  <jasonwucj@gmail.com>
167
168         Backport from mainline:
169         2012-05-24  Olivier Hainque  <hainque@adacore.com>
170
171         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
172         Use a separate command for stamp removals.
173
174 2013-04-11  Julian Brown  <julian@codesourcery.com>
175
176         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
177         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
178         unsigned char/unsigned short.
179         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
180
181 2013-04-11  Release Manager
182
183         * GCC 4.7.3 released.
184
185 2013-04-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
186
187         PR other/55274
188         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
189
190 2013-03-25  Oleg Endo  <olegendo@gcc.gnu.org>
191
192         Backport from mainline:
193         2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
194
195         PR target/49880
196         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
197         (sdivsi3, udivsi3): Remove SH4 check and always compile these
198         functions.
199
200 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
201
202         Backport from mainline.
203         2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
204
205         PR target/56529
206         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
207         inclusion list.
208
209 2013-03-06  Sebastian Huber <sebastian.huber@embedded-brains.de>
210
211         * config.host (arm*-*-rtemself*): New.
212         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
213         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
214
215 2012-12-18  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org
216
217         Backport from mainline.
218         2012-10-15  Matthias Klose  <doko@ubuntu.com>
219
220         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
221
222 2012-12-17  Matthias Klose  <doko@ubuntu.com>
223
224         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
225         as unused.
226         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
227
228 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
229
230         PR target/55344
231         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
232
233 2012-12-04  Richard Henderson  <rth@redhat.com>
234
235         PR bootstrap/55571
236         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
237
238 2012-11-28  Richard Henderson  <rth@redhat.com>
239
240         PR libgcc/48076
241         * emutls.c (__emutls_get_address): Avoid race condition between
242         obj->loc.offset read and emutls_key initialization.
243
244 2012-11-04  Uros Bizjak  <ubizjak@gmail.com>
245
246         PR target/55175
247         * config/i386/32/sfp-machine.h: Guard exception handling and
248         rounding handling code with _SOFT_FLOAT.
249         * config/i386/64/sfp-machine.h: Ditto.
250
251 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
252
253         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
254         as extra_parts.
255
256 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
257
258         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
259
260 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
261
262         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
263
264 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
265
266         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
267         tmake_file.
268
269 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
270
271         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
272         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
273         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
274         (ElfW): Likewise.
275
276 2012-09-20  Release Manager
277
278         * GCC 4.7.2 released.
279
280 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
281
282         Backport from 2012-09-05 mainline r190697.
283
284         PR target/54461
285         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
286         configured --with-avrlibc.
287         * config/avr/t-avrlibc: New file.
288         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
289         (DPBIT_FUNCS): Ditto.
290         (TPBIT_FUNCS): Ditto.
291
292 2012-08-21  Ian Lance Taylor  <iant@google.com>
293
294         * config/i386/morestack.S (__morestack_non_split): Increase amount
295         of space allocated for non-split code stack.
296
297 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
298
299         Backported from mainline
300         2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
301
302         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
303         rs6000/t-slibgcc-aix.
304
305 2012-06-14  Release Manager
306
307         * GCC 4.7.1 released.
308
309 2012-05-25  Ian Lance Taylor  <iant@google.com>
310
311         * config/i386/morestack.S (__morestack_non_split): Check whether
312         caller is varargs and needs %bp to hold the stack frame on return.
313
314 2012-05-24  Olivier Hainque  <hainque@adacore.com>
315
316         * Makefile.in: Move dependency on install-unwind_h from
317         "install-leaf" to "install".
318
319 2012-05-21  Andrew Pinski  <apinski@cavium.com>
320
321         PR bootstrap/53183
322         * configure.ac: Define the default includes to being none.
323         * configure: Regenerate.
324
325 2012-05-16  Olivier Hainque  <hainque@adacore.com>
326
327         * Makefile.in (install-unwind_h): Rename into ...
328         (install-unwind_h-forbuild): New target.
329         (all): Use it instead of the former install-unwind_h.
330         (install-unwind_h): Reinstate, copy to user install destination
331         for include files, not to the internal gcc object directory one.
332         (install-leaf): Depend on it.
333
334 2012-04-30  Andreas Tobler  <andreast@fgznet.ch>
335
336         Backport from mainline
337         2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
338
339         * config.host: Add bits to support powerpc64-*-freebsd*.
340         * config/rs6000/freebsd-unwind.h: New file.
341         * config/rs6000/t-freebsd64: New file.
342
343 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
344
345         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
346         (mips*-*-linux*): Include mips/t-tpbit when long double is
347         16 bytes long.
348
349 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
350
351         struct siginfo vs. siginfo_t
352
353         Backport from trunk:
354
355         2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
356
357         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
358         siginfo_t instead of struct siginfo.
359         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
360         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
361         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
362         (ia64_handle_unwabi): Likewise.
363         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
364         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
365         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
366         (sh_fallback_frame_state): Likewise.
367         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
368         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
369
370 2012-04-06  Walter Lee  <walt@tilera.com>
371
372         Backport from mainline
373         2012-03-07  Walter Lee  <walt@tilera.com>
374
375         * config/tilepro/atomic.c: Rename "atomic_" prefix to
376         "arch_atomic_".
377         (atomic_xor): Rename and move definition to
378         config/tilepro/atomic.h.
379         (atomic_nand): Ditto.
380         * config/tilepro/atomic.h: Rename "atomic_" prefix to
381         "arch_atomic_".
382         (arch_atomic_xor): Move from config/tilepro/atomic.c.
383         (arch_atomic_nand): Ditto.
384
385 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
386
387         Backported from mainline
388         2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
389
390         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
391         system call number.
392
393 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
394
395         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
396         if it hasn't been previously saved.
397
398 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
399
400         Backport from 2012-03-28 mainline r185907.
401
402         PR target/52737
403         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
404         instead of __AVR_HAVE_8BIT_SP__.
405
406 2012-03-22  Georg-Johann Lay  <avr@gjlay.de>
407
408         Backport from 2012-03-07 mainline r185033.
409
410         PR target/52507
411         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
412
413         Backport from 2012-03-07 mainline r185031.
414
415         PR target/52505
416         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
417         from RAM.
418
419         Backport from 2012-03-07 mainline r185030.
420
421         PR target/52461
422         PR target/52508
423         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
424         if RAMPZ affects reading from RAM.
425         (__tablejump_elpm__): Ditto.
426         (.xload): Ditto.
427         (__movmemx_hi): Ditto.
428         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
429         (__do_global_dtors): Ditto.
430         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
431         (__movmemx_hi): Ditto.
432
433 2012-03-22  Release Manager
434
435         * GCC 4.7.0 released.
436
437 2012-03-01  Kai Tietz  <ktietz@redhat.com>
438
439         * soft-fp: Imported from glibc upstream.
440
441 2012-02-28  Kai Tietz  <ktietz@redhat.com>
442
443         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
444         for mingw-targets as attribute gcc_struct.
445
446 2012-02-28  Ian Lance Taylor  <iant@google.com>
447
448         * generic-morestack.c (__splitstack_releasecontext): Correct call
449         to __morestack_release_segments.
450
451 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
452
453         PR target/52390
454         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
455         for __linux__ when removing signals from __morestack_fullmask.
456
457 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
458
459         PR target/52261
460         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
461
462 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
463
464         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
465         instead of HAVE_INITFINI_ARRAY.
466         * config/ia64/crtend.S: Likewise.
467
468 2012-02-20  Kai Tietz  <ktietz@redhat.com>
469
470         PR libstdc++/52300
471         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
472
473         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
474         to w32-unwind.h header.
475
476 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
477
478         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
479         (mips*-*-linux*): Remove t-slibgcc-libgcc.
480         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
481         * config/mips/mips16.S (__mips16_rdhwr): Delete.
482
483 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
484
485         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
486
487 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
488
489         PR libitm/52220
490         * config/darwin-crt-tm.c: Correct typo.
491
492 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
493             Patrick Marlier  <patrick.marlier@gmail.com>
494
495         PR libitm/52220
496         * config/darwin-crt-tm.c: Generate dummy functions.
497
498 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
499             Patrick Marlier  <patrick.marlier@gmail.com>
500
501         PR libitm/52042
502         * config/darwin-crt-tm.c (getTMCloneTable): New function.
503         (__doTMRegistrations): Call it.
504         (__doTMdeRegistrations): Likewise.
505
506 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
507             Anatoly Sokolov <aesok@post.ru>
508             Eric Weddington <eric.weddington@atmel.com>
509
510         PR target/52261
511         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
512         (__epilogue_restores__): Ditto.
513
514 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
515
516         PR target/51921
517         PR target/52205
518         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
519         Solaris 11 and slightly reformat.
520         (sparc_is_sighandler): Likewise.
521
522 2012-02-14  Walter Lee  <walt@tilera.com>
523
524         * config.host: Handle tilegx and tilepro.
525         * config/tilegx/sfp-machine.h: New file.
526         * config/tilegx/sfp-machine32.h: New file.
527         * config/tilegx/sfp-machine64.h: New file.
528         * config/tilegx/t-crtstuff: New file.
529         * config/tilegx/t-softfp: New file.
530         * config/tilegx/t-tilegx: New file.
531         * config/tilepro/atomic.c: New file.
532         * config/tilepro/atomic.h: New file.
533         * config/tilepro/linux-unwind.h: New file.
534         * config/tilepro/sfp-machine.h: New file.
535         * config/tilepro/softdivide.c: New file.
536         * config/tilepro/softmpy.S: New file.
537         * config/tilepro/t-crtstuff: New file.
538         * config/tilepro/t-tilepro: New file.
539
540 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
541
542         PR libstdc++/51296
543         PR libstdc++/51906
544         * gthr-posix.h: Allow static initializer macros to be disabled.
545         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
546
547 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
548
549         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
550         Add t-slibgcc-libgcc to tmake_file.
551         * config/mips/libgcc-mips16.ver: Revert previous patch.
552         * config/mips/mips16.S (__mips16_rdhwr): Hide.
553
554 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
555             Jayant R Sonar <jayant.sonar@kpitcummins.com>
556
557         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
558         * config/cr16/crti.S: New file.
559         * config/cr16/crtlibid.S: New file.
560         * config/cr16/crtn.S: New file.
561         * config/cr16/lib1funcs.S: New file.
562         * config/cr16/t-cr16: New file.
563         * config/cr16/t-crtlibid: New file.
564         * config/cr16/unwind-dw2.h: New file.
565         * config/cr16/unwind-cr16.c: New file.
566         * config/cr16/divmodhi3.c: New file.
567
568 2012-01-25  Alan Modra  <amodra@gmail.com>
569
570         * config/rs6000/t-linux64: Delete.  Move..
571         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
572         * config/rs6000/t-linux: ..and libgcc flags to here.
573
574 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
575
576         * config.host (i[34567]86-*-interix3*):
577         Change triplet to i[34567]86-*-interix[3-9]*.
578         * configure: Regenerate.
579
580 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
581             Richard Sandiford  <rdsandiford@googlemail.com>
582
583         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
584         * config/mips/mips16.S (__mips16_rdhwr): New function.
585         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
586
587 2012-01-11  Nathan Sidwell  <nathan@acm.org>
588
589         * libgcov.c (__gcov_init): Ignore objects with no functions.
590
591 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
592
593         PR target/49868
594         Extend __pgmx semantics to linearize memory.
595         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
596         * config/avr/lib1funcs.S (__xload_1): New function.
597         (__movmemx_qi, __movmemx_hi): New functions.
598         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
599         semantics.
600
601 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
602
603         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
604         purported sigacthandler address isn't null before dereferencing it.
605         (sparc_is_sighandler): Likewise.
606
607 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
608
609         PR ada/41929
610         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
611         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
612         (sparc_is_sighandler): Likewise.
613         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
614
615 2012-01-06  Tristan Gingold  <gingold@adacore.com>
616
617         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
618         compatibility thunks...
619         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
620         (crtbeginS.o, crtendS.o): ... and these to ...
621         * config/ia64/t-ia64-elf: ... this new file.
622         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
623         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
624
625 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
626
627         * configure: Regenerate.
628         * config/s390/t-crtstuff: Remove -fPIC.
629
630 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
631
632         PR bootstrap/51006
633         * enable-execute-stack-mprotect.c (getpagesize): Do not define
634         for NetBSD.
635
636 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
637
638         PR target/51345
639         * config/avr/lib1funcs.S: Remove FIXME comments.
640         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
641
642 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
643
644         Implement light-weight DImode support.
645         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
646         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
647         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
648         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
649
650 2011-12-30  Nathan Sidwell  <nathan@acm.org>
651
652         * libgcov.c (gcov_crc32): Remove global var.
653         (free_fn_data): New function.
654         (buffer_fn_data): Pass in filename, more robust error recovery.
655         (crc32_unsigned): New function.
656         (gcov_exit): More robust detection of new program. More robust
657         error recovery.
658         (__gcov_init): Do not update program's crc here.
659
660 2011-12-21  Tristan Gingold  <gingold@adacore.com>
661
662         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
663
664 2011-12-21  Ian Lance Taylor  <iant@google.com>
665
666         * config/i386/morestack.S: Simplify CFI opcodes throughout.
667
668 2011-12-20  Ian Lance Taylor  <iant@google.com>
669
670         * config/i386/morestack.S (__morestack_non_split): If there is
671         enough stack space already, don't split.  Ask for more stack space
672         than we required.
673
674 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
675
676         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
677         `sys/sdt.h'.
678         (_Unwind_DebugHook): New function.
679         (uw_restore_core_regs): New define.
680         (unwind_phase2): Use uw_restore_core_regs instead of
681         restore_core_regs.
682         (unwind_phase2_forced): Likewise.
683         (__gnu_Unwind_Resume): Likewise.
684
685 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
686
687         * config/alpha/linux-unwind.h: Update copyright years.
688         (MD_FROB_UPDATE_CONTEXT): New define.
689         (alpha_frob_update_context): New function.
690
691 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
692
693         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
694         tmake_file rather replacing it.
695
696 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
697
698         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
699         function is not used for PPC64.
700         (save_world): Amend comments.  Update the VRsave mask to reflect the
701         saved regs.
702         (rest_world): Update comments, do not  clobber r10, do not use r8.
703         (eh_rest_world_r10): Amend comments, do not use r8.
704         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
705         no longer used, move restore of CR and target address to the end of
706         the routine.
707
708 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
709
710         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
711         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
712
713 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
714
715         PR target/49313
716         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
717         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
718
719 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
720
721         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
722
723 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
724
725         PR target/49313
726         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
727         * config/avr/lib1funcs.S (__muldi3): New function.
728
729 2011-12-06  Andrew Pinski  <apinski@cavium.com>
730
731         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
732         size of func_ptr.
733         (__frame_dummy_init_array_entry): Likewise.
734
735 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
736
737         Forward-port from gcc-4_6-branch r181936 2011-12-02.
738
739         PR target/51345
740         PR target/51002
741         * config/avr/lib1funcs.S (__prologue_saves__,
742         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
743         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
744
745 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
746
747         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
748
749 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
750
751         PR other/51272
752         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
753         (_ITM_deregisterTMCloneTable): Likewise.
754         (__register_frame_info): Fix unused warning.
755         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
756         pthread_default_stacksize_np): Likewise.
757         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
758
759 2011-11-29  DJ Delorie  <dj@redhat.com>
760
761         * config.host (rl78-*-elf): New case.
762         * config/rl78: New directory for the Renesas RL78.
763
764 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
765
766         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
767         formatting.
768
769 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
770
771         PR other/51022
772         * config/rs6000/t-savresfgpr: New file.
773         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
774         $(srcdir)/config/rs6000/eabi.S.
775         * config/rs6000/t-ppccomm-ldbl: Remove.
776         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
777         tmake_file.
778         (powerpc-*-eabispe*): Likewise.
779         (powerpc-*-eabi*): Likewise.
780         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
781         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
782         to tmake_file, remove rs6000/t-ppccomm-ldbl.
783         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
784         tmake_file.
785         (powerpc-*-eabisim*): Likewise.
786         (powerpc-*-elf*): Likewise.
787         (powerpc-*-eabialtivec*): Likewise.
788         (powerpc-xilinx-eabi*): Likewise.
789         (powerpc-*-rtems*): Likewise.
790         (powerpcle-*-elf*): Likewise.
791         (powerpcle-*-eabisim*): Likewise.
792         (powerpcle-*-eabi*): Likewise.
793
794 2011-11-27  Ian Lance Taylor  <iant@google.com>
795
796         * generic-morestack.c (__splitstack_find): Check for NULL old
797         stack value.
798         (__splitstack_resetcontext): New function.
799         (__splitstack_releasecontext): New function.
800         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
801
802 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
803
804         * config/darwin-crt-tm.c: Correct comments, use correct licence.
805
806 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
807
808         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
809
810 2011-11-26  Richard Henderson  <rth@redhat.com>
811
812         * config/m68k/linux-atomic.c: New file.
813         * config/m68k/t-linux: New file.
814         * config.host (m68k-uclinux, m68k-linux): Use it.
815
816 2011-11-26  Richard Henderson  <rth@redhat.com>
817
818         * crtstuff.c (__TMC_LIST__): Mark used not unused.
819         (__TMC_END__): Only declare if hidden is available; in the definition,
820         if hidden is unavailable add a null record.
821         (deregister_tm_clones, register_tm_clones): New.
822         (__do_global_dtors_aux, frame_dummy): Use them.
823         (__do_global_dtors, __do_global_ctors_1): Likewise.
824
825 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
826
827         * config/darwin-crt-tm.c: New file.
828         * config.host (darwin): Build crttms.o crttme.o to provide
829         startup and shutdown for tm clones.
830         * config/t-darwin (crttms.o): New build rule.
831         (crttme.o): Likewise.
832
833 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
834
835         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
836         et al.
837
838 2011-11-21  Richard Henderson  <rth@redhat.com>
839
840         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
841         (__TMC_LIST__, __TMC_END__): New.
842         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
843         (__do_global_dtors): Likewise.
844         (frame_dummy): Call _ITM_registerTMCloneTable.
845         (__do_global_ctors_1): Likewise.
846
847 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
848
849         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
850         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
851         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
852         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
853         * config/i386/t-darwin64: Remove.
854         * config/sh/t-netbsd (LIB2ADD): Remove.
855
856 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
857
858         PR target/49313
859         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
860         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
861         * config/avr/lib1funcs.S (wmov): New assembler macro.
862         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
863         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
864         (__udivmod64): New function.
865         (__negdi2): New function.
866
867 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
868
869         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
870         *-*-freebsd*aout*): Remove.
871
872 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
873
874         * static-object.mk (c_flags-$o): Save c_flags.
875         ($(base)$(objext)): Use it.
876
877 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
878
879         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
880
881 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
882
883         PR target/49868
884         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
885         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
886         New functions.
887
888 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
889
890         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
891         functions.
892         (aeabi_uidivmod): Likewise.
893         (umodsi3): Likewise.
894         (divsi3): Likewise.
895         (aeabi_idivmod): Likewise.
896         (modsi3): Likewise.
897
898 2011-11-16  Tristan Gingold  <gingold@adacore.com>
899
900         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
901
902 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
903
904         PR target/49868
905         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
906         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
907
908 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
909
910         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
911         tmake_file list.
912         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
913         * config/pa/t-stublib64: Delete.
914
915 2011-11-12  Richard Henderson  <rth@redhat.com>
916
917         * config/rs6000/linux-unwind.h (frob_update_context): Properly
918         cast the pointer argument to _Unwind_SetGRPtr.
919
920 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
921
922         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
923
924 2011-11-09  Ian Lance Taylor  <iant@google.com>
925
926         * generic-morestack.c: Include <string.h>.
927         (uintptr_type): Define.
928         (struct initial_sp): Add dont_block_signals field.  Reduce size of
929         extra array by 1.
930         (allocate_segment): Set prev field to NULL.  Don't set
931         __morestack_current_segment or __morestack_segments.
932         (__generic_morestack): Update current->prev and *pp after calling
933         allocate_segment.
934         (__morestack_block_signals): Don't do anything if
935         dont_block_signals is set.
936         (__morestack_unblock_signals): Likewise.
937         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
938         uintptr_type.
939         (__splitstack_block_signals): New function.
940         (enum __splitstack_content_offsets): Define.
941         (__splitstack_getcontext, __splitstack_setcontext): New functions.
942         (__splitstack_makecontext): New function.
943         (__splitstack_block_signals_context): New function.
944         (__splitstack_find_context): New function.
945         * config/i386/morestack.S (__morestack_get_guard): New function.
946         (__morestack_set_guard, __morestack_make_guard): New functions.
947         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
948
949 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
950
951         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
952         (i[34567]86-*-mingw*): ... here.
953         (x86_64-*-mingw*): ... here.
954
955 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
956
957         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
958
959 2011-11-07  Nathan Sidwell  <nathan@acm.org>
960
961         * libgcov.c (struct gcov_fn_buffer): New struct.
962         (buffer_fn_data): New helper.
963         (gcov_exit): Rework for new gcov data structures.
964
965 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
966
967         PR target/49313
968         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
969
970 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
971
972         * config.host (tmake_file): Correct comment.
973         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
974         t-libgcc-pic.
975         (bfin*-uclinux*): Likewise.
976         (bfin*-linux-uclibc*): Likewise.
977         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
978
979         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
980         assigning.
981         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
982         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
983         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
984         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
985         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
986         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
987         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
988         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
989         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
990         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
991         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
992         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
993         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
994
995         * config/bfin/t-elf: Remove.
996         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
997
998 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
999
1000         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1001         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1002         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1003         (lm32-*-elf*): ... this.
1004         (lm32-*-rtems*): ... and this.
1005         Add to tmake_file.
1006         (m32r-*-rtems*): Add to tmake_file.
1007         (moxie-*-rtems*): Likewise.
1008         (sparc-*-rtems*): Likewise.
1009         Remove t-rtems from tmake_file.
1010         (sparc64-*-rtems*): Likewise.
1011         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1012         instead.
1013
1014 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1015
1016         PR bootstrap/50982
1017         * config/gthr-posix.h: Move ...
1018         * gthr-posix.h: ... here.
1019         * config/gthr-lynx.h: Reflect this.
1020         * config/gthr-vxworks.h: Likewise.
1021         * config/rs6000/gthr-aix.h: Likewise.
1022         * configure.ac (target_thread_file): Likewise.
1023         * configure: Regenerate.
1024
1025 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1026
1027         * config.host (arm*-*-rtemseabi*): New target.
1028
1029 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1030
1031         PR other/50991
1032         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1033         extra-parts.
1034
1035 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1036
1037         * config.host (epiphany-*-elf*): New configuration.
1038         * config/epiphany: New Directory.
1039
1040 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1041
1042         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1043         * config/avr/t-rtems: New.
1044         Filter out _exit from LIB1ASMFUNCS.
1045
1046 2011-11-04  David S. Miller  <davem@davemloft.net>
1047
1048         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1049         * configure: Rebuild.
1050
1051 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1052
1053         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1054         variable.
1055
1056 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1057
1058         PR target/50931
1059         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1060         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1061
1062 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1063
1064         PR target/50989
1065         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1066
1067 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1068
1069         * config/c6x/t-elf (LIB2ADDEH): Set.
1070         * config/c6x/t-c6x-elf: Remove.
1071
1072 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1073
1074         * config/i386/sol2-ci.S: Rename to ...
1075         * config/i386/crti.S: ... this.
1076         * config/i386/sol2-cn.S: Rename to ...
1077         * config/i386/crtn.S: ... this.
1078         * config/sparc/sol2-ci.S: Rename to ...
1079         * config/sparc/crti.S: ... this.
1080         * config/sparc/sol2-cn.S: Rename to ...
1081         * config/sparc/crtn.S: ... this.
1082         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1083         (crti.o, crtn.o): Remove.
1084
1085 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1086
1087         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1088
1089 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1090
1091         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1092
1093 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1094
1095         * config.host (crisv32-*-none, cris-*-none): Remove.
1096         (crisv32-*-elf): Append to tmake_file, don't just set it.
1097         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1098
1099 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1100
1101         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1102         (ecrtn$(objext)): Likewise.
1103         (ncrti$(objext)): Likewise.
1104         (ncrtn$(objext)): Likewise.
1105
1106 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1107
1108         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1109
1110 2011-11-02  David S. Miller  <davem@davemloft.net>
1111
1112         * configure.ac: Set host_address on sparc too.
1113         * configure: Regenerate.
1114         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1115         based upon host_address.
1116         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1117
1118 2011-11-02  Jason Merrill  <jason@redhat.com>
1119
1120         * config/rs6000/t-ppccomm: Add missing \.
1121
1122 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1123
1124         * gthr-single.h, gthr.h: New files.
1125         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1126         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1127         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1128         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1129         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1130         * configure.ac (thread_header): New variable.
1131         Set it depending on target_thread_file.
1132         (gthr-default.h): Link from $thread_header.
1133         * configure: Regenerate.
1134         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1135
1136 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1137
1138         * configure.ac (tm_file_): New variable.
1139         Determine from tm_file.
1140         (tm_file, tm_defines): Substitute.
1141         * configure: Regenerate.
1142         * mkheader.sh: New file.
1143         * Makefile.in (clean): Remove libgcc_tm.h.
1144         ($(objects)): Depend on libgcc_tm.h.
1145         (libgcc_tm_defines, libgcc_tm_file): New variables.
1146         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1147         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1148         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1149         ($(extra-parts)): Depend on libgcc_tm.h.
1150         * config.host (tm_defines, tm_file): New variable.
1151         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1152         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1153         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1154         (avr-*-rtems*): Likewise.
1155         (avr-*-*): Likewise.
1156         (frv-*-elf): Likewise.
1157         (frv-*-*linux*): Likewise.
1158         (h8300-*-rtems*): Likewise.
1159         (h8300-*-elf*): Likewise.
1160         (i[34567]86-*-darwin*): Likewise.
1161         (x86_64-*-darwin*): Likewise.
1162         (rx-*-elf): Likewise.
1163         (tic6x-*-uclinux): Likewise.
1164         (tic6x-*-elf): Likewise.
1165         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1166         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1167         * config/i386/cygming-crtbegin.c: Likewise.
1168         * config/i386/cygming-crtend.c: Likewise.
1169         * config/ia64/fde-vms.c: Likewise.
1170         * config/ia64/unwind-ia64.c: Likewise.
1171         * config/libbid/bid_gcc_intrinsics.h: Likewise.
1172         * config/rs6000/darwin-fallback.c: Likewise.
1173         * config/stormy16/lib2funcs.c: Likewise.
1174         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1175         * crtstuff.c: Likewise.
1176         * dfp-bit.h: Likewise.
1177         * emutls.c: Likewise.
1178         * fixed-bit.c: Likewise.
1179         * fp-bit.c: Likewise.
1180         * generic-morestack-thread.c: Likewise.
1181         * generic-morestack.c: Likewise.
1182         * libgcc2.c: Likewise.
1183         * libgcov.c: Likewise.
1184         * unwind-dw2-fde-dip.c: Likewise.
1185         * unwind-dw2-fde.c: Likewise.
1186         * unwind-dw2.c: Likewise.
1187         * unwind-sjlj.c: Likewise.
1188
1189 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1190
1191         * configure.ac: Include ../config/picflag.m4.
1192         (GCC_PICFLAG): Call it.
1193         Substitute.
1194         * configure: Regenerate.
1195         * Makefile.in (gcc_srcdir): Remove.
1196         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1197         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1198         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1199         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1200         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1201         Use $<.
1202         Remove comment.
1203         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1204         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1205         to refer to libgcc2.c.
1206         Use $<.
1207         * config/darwin-64.c: New file.
1208         * config/darwin-crt3.c: Remove comment.
1209         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1210         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1211         config/udivmodsi4.c: New files.
1212         * config/memcmp.c, config/memcpy.c, config/memmove.c,
1213         config/memset.c: New files.
1214         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1215         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1216         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1217         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1218         * config/t-openbsd-thread: New file.
1219         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1220         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1221         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1222         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1223         qrnnd.S.
1224         Adapt filename.
1225         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1226         to refer to gthr-posix.c.
1227         * config/alpha/t-vms (LIB2ADD): Set.
1228         * config/alpha/vms-gcc_shell_handler.c: New file.
1229         * config/arm/bpabi.c, config/arm/fp16.c,
1230         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1231         config/arm/unaligned-funcs.c: New files.
1232         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1233         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1234         * config/arm/t-linux: Likewise.
1235         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1236         * config/arm/t-netbsd: New file.
1237         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1238         * config/arm/t-symbian (LIB2ADD_ST): Set.
1239         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1240         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1241         * config/bfin/t-elf: New file.
1242         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1243         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1244         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1245         config/c6x/ltf.c: New files.
1246         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1247         (HOST_LIBGCC2_CFLAGS): Set.
1248         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1249         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1250         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1251         New files.
1252         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1253         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1254         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1255         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1256         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1257         files.
1258         * config/frv/t-frv (LIB2ADD): Set.
1259         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1260         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1261         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1262         config/h8300/popcounthi2.c: New files.
1263         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1264         * config/i386/gthr-win32.c: New file.
1265         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1266         * config/i386/t-cygwin: Likewise.
1267         * config/i386/t-darwin, config/i386/t-darwin64,
1268         config/i386/t-gthr-win32, config/i386/t-interix: New files.
1269         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1270         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1271         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1272         * config/ia64/quadlib.c: New file.
1273         * config/ia64/t-hpux (LIB2ADD): Set.
1274         * config/ia64/t-ia64: Add comment.
1275         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1276         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1277         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1278         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1279         * config/m32c/t-m32c (LIB2ADD): Set.
1280         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1281         * config/m32r/t-m32r: Likewise.
1282         * config/m68k/fpgnulib.c: New file.
1283         * config/m68k/t-floatlib (LIB2ADD): Set.
1284         (xfgnulib.c): New target.
1285         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1286         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1287         * config/mep/t-mep (LIB2ADD): Set.
1288         * config/microblaze/divsi3.asm: Rename to divsi3.S.
1289         * config/microblaze/moddi3.asm: Rename to moddi3.S.
1290         * config/microblaze/modsi3.asm: Rename to modsi3.S.
1291         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1292         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1293         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1294         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1295         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1296         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1297         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1298         New files.
1299         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1300         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1301         * config/pa/fptr.c, config/pa/lib2funcs.S,
1302         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1303         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1304         (LIB2ADD, LIB2ADD_ST): Set.
1305         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1306         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1307         Set.
1308         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1309         * config/pdp11/t-pdp11: New file.
1310         * config/picochip/libgccExtras/adddi3.S,
1311         config/picochip/libgccExtras/ashlsi3.S,
1312         config/picochip/libgccExtras/ashrsi3.S,
1313         config/picochip/libgccExtras/clzsi2.S,
1314         config/picochip/libgccExtras/cmpsi2.S,
1315         config/picochip/libgccExtras/divmod15.S,
1316         config/picochip/libgccExtras/divmodhi4.S,
1317         config/picochip/libgccExtras/divmodsi4.S,
1318         config/picochip/libgccExtras/lshrsi3.S,
1319         config/picochip/libgccExtras/parityhi2.S,
1320         config/picochip/libgccExtras/popcounthi2.S,
1321         config/picochip/libgccExtras/subdi3.S,
1322         config/picochip/libgccExtras/ucmpsi2.S,
1323         config/picochip/libgccExtras/udivmodhi4.S,
1324         config/picochip/libgccExtras/udivmodsi4.S: New files.
1325         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1326         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1327         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1328         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1329         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1330         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1331         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
1332         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1333         files.
1334         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1335         (HOST_LIBGCC2_CFLAGS): Set.
1336         * config/rs6000/t-darwin64: New file.
1337         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1338         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1339         * config/rs6000/t-ppccomm (LIB2ADD): Add
1340         $(srcdir)/config/rs6000/tramp.S.
1341         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1342         Add  $(srcdir)/config/rs6000/eabi.S.
1343         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1344         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1345         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1346         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1347         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1348         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1349         * config/rs6000/tramp.S: New file.
1350         * config/s390/t-tpf: Remove.
1351         * config/sh/linux-atomic.S: New file.
1352         * config/sh/t-linux (LIB2ADD): Set.
1353         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1354         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1355         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1356         to unwind-dw2.c.
1357         (HOST_LIBGCC2_CFLAGS): Set.
1358         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1359         * config/spu/divmodti4.c, config/spu/divv2df3.c,
1360         config/spu/float_disf.c, config/spu/float_unsdidf.c,
1361         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1362         config/spu/mfc_multi_tag_release.c,
1363         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1364         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1365         config/spu/multi3.c: New files.
1366         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1367         (HOST_LIBGCC2_CFLAGS): Set.
1368         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1369         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1370         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1371         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1372         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1373         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1374         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1375         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1376         config/stormy16/umodsi3.c: New files.
1377         * config/xtensa/lib2funcs.S: New file.
1378         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1379         * config/xtensa/t-xtensa (LIB2ADD): Set.
1380         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1381         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1382         Add t-freebsd-thread to tmake_file for posix threads.
1383         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1384         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1385         (*-*-lynxos*): Likewise.
1386         (*-*-netbsd*): Likewise.
1387         (*-*-openbsd*): Likewise.
1388         Add t-openbsd-thread to tmake_file for posix threads.
1389         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1390         (*-*-vxworks*): Set tmake_file.
1391         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1392         (alpha*-*-freebsd*): Likewise.
1393         (alpha*-*-netbsd*): Likewise.
1394         (alpha*-*-openbsd*): Likewise.
1395         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1396         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1397         (alpha*-dec-*vms*): Likewise.
1398         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1399         (bfin*-elf*): Add bfin/t-elf to tmake_file.
1400         (bfin*-uclinux*): Likewise.
1401         (bfin*-linux-uclibc*): Likewise.
1402         (crisv32-*-elf): Add cris/t-cris to tmake_file.
1403         (crisv32-*-none): Likewise.
1404         (cris-*-elf): Likewise.
1405         (cris-*-none): Likewise.
1406         (cris-*-linux*, crisv32-*-linux*): Likewise.
1407         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1408         tmake_file.
1409         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1410         tmake_file.
1411         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1412         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1413         (x86_64-*-elf*): Likewise.
1414         (i[34567]86-*-nto-qnx*): Likewise.
1415         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1416         win32 threads.
1417         (x86_64-*-mingw*): Likewise.
1418         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1419         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1420         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1421         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1422         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1423         tmake_file.
1424         (mipsisa64sr71k-*-elf*): Likewise.
1425         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1426         (mips-*-elf*, mipsel-*-elf*): Likewise.
1427         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1428         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1429         (mips*-*-rtems*): Likewise.
1430         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1431         to tmake_file.
1432         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1433         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1434         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1435         (spu-*-elf*): Likewise.
1436         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1437
1438 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1439
1440         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1441         $(srcdir) to refer to $(LIB1ASMSRC).
1442         Use $<.
1443         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1444         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1445         config/arm/lib1funcs.S: New files.
1446         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1447         * config/arm/t-arm: New file.
1448         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1449         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1450         config/arm/t-strongarm-elf: New files.
1451         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1452         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1453         * config/avr/lib1funcs.S: New file.
1454         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1455         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1456         * config/c6x/lib1funcs.S: New file.
1457         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1458         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1459         * config/frv/lib1funcs.S: New file.
1460         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1461         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1462         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1463         * config/ia64/__divxf3.asm: Rename to ...
1464         * config/ia64/__divxf3.S: ... this.
1465         Adapt lib1funcs.asm filename.
1466         * config/ia64/_fixtfdi.asm: Rename to ...
1467         * config/ia64/_fixtfdi.S: ... this.
1468         Adapt lib1funcs.asm filename.
1469         * config/ia64/_fixunstfdi.asm: Rename to ...
1470         * config/ia64/_fixunstfdi.S: ... this.
1471         Adapt lib1funcs.asm filename.
1472         * config/ia64/_floatditf.asm: Rename to ...
1473         * config/ia64/_floatditf.S: ... this.
1474         Adapt lib1funcs.asm filename.
1475         * config/ia64/lib1funcs.S: New file.
1476         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1477         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1478         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1479         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1480         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1481         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1482         * config/mep/lib1funcs.S: New file.
1483         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1484         * config/mips/mips16.S: New file.
1485         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1486         * config/pa/milli64.S: New file.
1487         * config/pa/t-linux, config/pa/t-linux64: New files.
1488         * config/picochip/lib1funcs.S: New file.
1489         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1490         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1491         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1492         * config/sh/t-netbsd: New file.
1493         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1494         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1495         * config/sh/t-sh64: New file.
1496         * config/sparc/lb1spc.S: New file.
1497         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1498         filename.
1499         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1500         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1501         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1502         config/xtensa/lib1funcs.S: New files.
1503         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1504         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1505         tmake_file.
1506         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1507         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1508         (arm*-*-linux*): Likewise.
1509         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1510         arm*-*-linux-*eabi, add arm/t-linux otherwise.
1511         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1512         (arm*-*-ecos-elf): Likewise.
1513         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1514         (arm*-*-rtems*): Likewise.
1515         (arm*-*-elf): Likewise.
1516         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1517         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1518         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1519         (bfin*-uclinux*): Likewise.
1520         (bfin*-linux-uclibc*): Likewise.
1521         (bfin*-rtems*): Likewise.
1522         (bfin*-*): Likewise.
1523         (fido-*-elf): Merge into m68k-*-elf*.
1524         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1525         (frv-*-*linux*): Add frv/t-frv to tmake_file.
1526         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1527         (h8300-*-elf*): Likewise.
1528         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1529         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1530         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1531         (i[34567]86-*-mingw*): Likewise.
1532         (x86_64-*-mingw*): Likewise.
1533         (i[34567]86-*-interix3*): Likewise.
1534         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1535         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1536         (m68k-*-elf*): Also handle fido-*-elf.
1537         Add m68k/t-floatlib to tmake_file.
1538         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1539         (m68k-*-linux*): Likewise.
1540         (m68k-*-rtems*): Likewise.
1541         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1542         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1543         sh64*-*-*.
1544         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1545         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1546         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1547         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1548         sh/t-netbsd to tmake_file.
1549         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1550         (sh-*-rtems*): Add sh/t-sh to tmake_file.
1551         (sh-wrs-vxworks): Likewise.
1552         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1553         *-leon[3-9]*.
1554         (v850*-*-*): Add v850/t-v850 to tmake_file.
1555         (vax-*-linux*): Add vax/t-linux to tmake_file.
1556         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1557
1558 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1559
1560         * crtstuff.c: New file.
1561         * Makefile.in (CRTSTUFF_CFLAGS): Define.
1562         (CRTSTUFF_T_CFLAGS): Define.
1563         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1564         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1565         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1566         crtstuff.c.
1567         Use $<.
1568         (crtbeginT.o): Use $(objext).
1569         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1570         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1571         (gcc-extra-parts): Remove.
1572         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1573         Set extra_parts.
1574         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1575         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1576         Add t-crtstuff-pic to tmake_file.
1577         (*-*-lynxos*): New case.
1578         Set tmake_file, extra_parts.
1579         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1580         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1581         *-*-netbsdelf[2-9]*.
1582         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1583         (*-*-rtems*): Set extra_parts.
1584         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1585         (*-*-uclinux*): New case.
1586         Set extra_parts.
1587         (*-*-vms*): New case.
1588         Set tmake_file, extra_parts.
1589         (*-*-elf): Set extra_parts.
1590         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1591         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1592         vms/t-vms64.
1593         Set extra_parts.
1594         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1595         Set extra_parts.
1596         (arm*-*-freebsd*): Add t-crtin to tmake_file.
1597         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1598         (arm-wrs-vxworks): Append to tmake_file.
1599         Set extra_parts.
1600         (arm*-*-uclinux*): Set extra_parts.
1601         (arm*-*-ecos-elf): Likewise.
1602         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1603         arm*-*-eabi*.
1604         (arm*-*-rtems*): Set extra_parts.
1605         (arm*-*-elf): Likewise.
1606         (avr-*-rtems*): Clear extra_parts.
1607         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1608         Set extra_parts.
1609         (bfin*-uclinux*): Likewise.
1610         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1611         (bfin*-rtems*): Append to tmake_file.
1612         Set extra_parts.
1613         (bfin*-*): Likewise.
1614         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1615         (crisv32-*-elf): ... this.
1616         (crisv32-*-none): ... this.
1617         (cris-*-elf, cris-*-none): New cases.
1618         Add cris/t-elfmulti to tmake_file.
1619         (fr30-*-elf): Append to tmake_file.
1620         Set extra_parts.
1621         (frv-*-elf): Append to tmake_file, add frv/t-frv.
1622         Set extra_parts.
1623         (h8300-*-rtems*): Append to tmake_file.
1624         Set extra_parts.
1625         (h8300-*-elf*): Likewise.
1626         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1627         Set extra_parts.
1628         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1629         Set extra_parts.
1630         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1631         (x86_64-*-elf*): Likewise.
1632         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1633         (x86_64-*-freebsd*): Likewise.
1634         (x86_64-*-netbsd*): Likewise.
1635         (i[34567]86-*-linux*): Likewise.
1636         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1637         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1638         (x86_64-*-linux*): Likewise.
1639         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1640         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1641         tmake_file.
1642         Set extra_parts.
1643         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1644         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1645         Append to extra_parts, remove crtbegin.o, crtend.o.
1646         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1647         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1648         crtend.o, crtbeginS.o, crtendS.o.
1649         (ia64*-*-linux*): Comment extra_parts.
1650         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1651         Set extra_parts.
1652         (iq2000*-*-elf*): Clear extra_parts.
1653         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1654         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1655         (m32r-*-elf*, m32r-*-rtems*): Split off ...
1656         (m32r-*-rtems*): ... this.
1657         Add m32r/t-m32r to tmake_file.
1658         (m68k-*-elf*): Add t-crtin to tmake_file.
1659         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1660         (mcore-*-elf): Likewise.
1661         (microblaze*-*-*): Set extra_parts.
1662         (mips*-sde-elf*): New case.
1663         Set tmake_file, extra_parts.
1664         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1665         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1666         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1667         tmake_file.
1668         Set extra_parts.
1669         (mipsisa64sr71k-*-elf*): Likewise.
1670         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1671         (mips-*-elf*, mipsel-*-elf*): Likewise.
1672         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1673         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1674         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
1675         (mips*-*-rtems*): Likewise.
1676         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1677         (moxie-*-*): Split into ...
1678         (moxie-*-elf, moxie-*-uclinux*): ... this.
1679         Add to extra_parts, remove crtbegin.o, crtend.o.
1680         (moxie-*-rtems*): New case.
1681         Set tmake_file.
1682         Clear extra_parts.
1683         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1684         Set extra_parts.
1685         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1686         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1687         tmake_file.
1688         Set extra_parts.
1689         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1690         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1691         Set extra_parts.
1692         (powerpc-*-eabisim*): Likewise.
1693         (powerpc-*-elf*): Likewise.
1694         (powerpc-*-eabialtivec*): Likewise.
1695         (powerpc-xilinx-eabi*): Likewise.
1696         (powerpc-*-eabi*): Likewise.
1697         (powerpc-*-rtems*): Likewise.
1698         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1699         tmake_file.
1700         Set extra_parts.
1701         (powerpc-*-lynxos*): Add to tmake_file.
1702         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1703         rs6000/t-crtstuff, t-crtstuff-pic.
1704         Set extra_parts.
1705         (powerpcle-*-eabisim*): Likewise.
1706         (powerpcle-*-eabi*): Likewise.
1707         (rx-*-elf): Remove extra_parts.
1708         (s390x-ibm-tpf*): Set extra_parts.
1709         (score-*-elf): Set extra_parts.
1710         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1711         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1712         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1713         (sh64l*-*-netbsd*): Split into ...
1714         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1715         Add t-crtstuff-pic to tmake_file.
1716         Set extra_parts.
1717         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1718         Set extra_parts.
1719         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1720         (sparc-*-elf*): Remove t-crtin from tmake_file.
1721         Add to extra_parts, remove crtbegin.o, crtend.o.
1722         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1723         (sparc64-*-linux*): Likewise.
1724         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1725         Add to extra_parts, remove crtbegin.o, crtend.o.
1726         (sparc64-*-elf*): Remove t-crtin from tmake_file.
1727         Add to extra_parts, remove crtbegin.o, crtend.o.
1728         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1729         Add to extra_parts, remove crtbegin.o, crtend.o.
1730         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1731         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1732         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1733         Set extra_parts.
1734         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1735         Set extra_parts.
1736         (tic6x-*-*): Change to ...
1737         (tic6x-*-elf): ... this.
1738         Set extra_parts.
1739         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1740         Set extra_parts.
1741         (am33_2.0-*-linux*): Add comment.
1742         (mep*-*-*): Add mep/t-mep to tmake_file.
1743         Set extra_parts.
1744         * config/alpha/t-vms: New file.
1745         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1746         * config/arm/crti.S, config/arm/crtn.S: New files.
1747         * config/bfin/crti.S, config/bfin/crtn.S: New files.
1748         * config/bfin/crtlibid.S: New file.
1749         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1750         * config/c6x/crti.S, config/c6x/crtn.S: New files.
1751         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1752         (crti.o, crtin.o): New rules.
1753         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1754         * config/c6x/t-uclinux: New file.
1755         * config/cris/t-elfmulti: New file.
1756         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1757         * config/fr30/crti.S, config/fr30/crtn.S: New files.
1758         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1759         * config/frv/t-frv: New file.
1760         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1761         * config/h8300/crti.S, config/h8300/crtn.S: New files.
1762         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1763         New files.
1764         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1765         refer to cygming-crtbegin.c, cygming-crtend.c.
1766         Use $<.
1767         * config/i386/t-nto: New file.
1768         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1769         * config/ia64/crti.S, config/ia64/crtn.S: New files.
1770         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1771         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1772         Use .S extension.
1773         Use $<.
1774         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1775         (crtinitS.o): New rule.
1776         * config/ia64/vms-crtinit.S: New file.
1777         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1778         * config/m32r/initfini.c: New file.
1779         * config/m32r/t-linux, config/m32r/t-m32r: New files.
1780         * config/m68k/crti.S, config/m68k/crtn.S: New files.
1781         * config/mcore/crti.S, config/mcore/crtn.S: New files.
1782         * config/mep/t-mep: New file.
1783         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1784         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1785         * config/mips/crti.S, config/mips/crtn.S: New files.
1786         * config/mips/t-crtstuff: New file.
1787         * config/mmix/crti.S, config/mmix/crtn.S: New files.
1788         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1789         (CUSTOM_CRTIN): Set.
1790         ($(T)crti.o, $(T)crtn.o): Remove $(T),
1791         dependencies.
1792         Use $(srcdir) to refer to crti.S, crtn.S.
1793         Use .S extension, $<.
1794         * config/moxie/crti.asm: Rename to ...
1795         * config/moxie/crti.S: ... this.
1796         * config/moxie/crtn.asm: Rename to ...
1797         * config/moxie/crtn.S: ... this.
1798         * config/moxie/t-moxie: Remove.
1799         * config/pa/stublib.c: New file.
1800         * config/pa/t-stublib, config/pa/t-stublib64: New files.
1801         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1802         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1803         * config/rs6000/t-crtstuff: New file.
1804         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1805         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1806         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1807         Make output file explicit.
1808         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1809         Make output file explicit.
1810         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1811         Make output file explicit.
1812         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1813         Make output file explicit.
1814         * config/score/crti.S, config/score/crtn.S: New files.
1815         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1816         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1817         files.
1818         * config/sh/t-sh, config/sh/t-superh: New files.
1819         * config/sparc/t-linux64: New file.
1820         * config/spu/cache.S, config/spu/cachemgr.c: New files.
1821         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1822         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1823         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1824         * config/t-crtin: Remove.
1825         * config/t-crtstuff-pic: New file.
1826         * config/t-sol2 (CUSTOM_CRTIN): Set.
1827         (crti.o, crtn.o): New rules.
1828         * config/vms/t-vms: New file.
1829         * config/vms/vms-ucrt0.c: New file.
1830         * config/xtensa/t-elf: New file.
1831
1832 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1833
1834         * Makefile.in (SHLIB_NM_FLAGS): Set.
1835         * mkmap-flat.awk, mkmap-symver.awk: New files.
1836         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1837         exceptions.
1838         * configure: Regenerate.
1839         * config/libgcc-glibc.ver: New file.
1840         * config/libgcc-libsystem.ver: New file.
1841         * config/t-libunwind (SHLIB_LC): Set.
1842         * config/t-linux: New file.
1843         * config/t-slibgcc (INSTALL_SHLIB): New.
1844         (SHLIB_INSTALL): Use it.
1845         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1846         to mkmap-symver.awk.
1847         (SHLIB_MAPFILES): Don't append, adapt pathname.
1848         (SHLIB_VERPFX): Set.
1849         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1850         to mkmap-symver.awk.
1851         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1852         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1853         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1854         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1855         to mkmap-flat.awk.
1856         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1857         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1858         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1859         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1860         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1861         * config/i386/libgcc-darwin.10.4.ver,
1862         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1863         New files.
1864         * config/i386/t-darwin: Remove.
1865         * config/i386/t-darwin64: Likewise.
1866         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1867         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1868         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1869         * config/i386/t-linux: New file.
1870         * config/i386/t-mingw32: New file.
1871         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1872         * config/ia64/t-glibc: Rename to ...
1873         * config/ia64/t-linux: ... this.
1874         (SHLIB_MAPFILES): Set.
1875         * config/ia64/t-glibc-libunwind: Rename to ...
1876         * config/ia64/t-linux-libunwind: ... this.
1877         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1878         * config/ia64/t-slibgcc-hpux: New file.
1879         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1880         * config/m68k/t-slibgcc-elf-ver: New file.
1881         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1882         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1883         to mkmap-flat.awk.
1884         * config/pa/t-slibgcc-hpux: New file.
1885         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1886         files.
1887         * config/rs6000/libgcc-darwin.10.4.ver,
1888         config/rs6000/libgcc-darwin.10.5.ver: New files.
1889         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1890         config/rs6000/libgcc-glibc.ver.
1891         * config/rs6000/libgcc-ppc64.ver: Rename to
1892         config/rs6000/libgcc-ibm-ldouble.ver.
1893         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1894         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1895         * config/rs6000/t-ldbl128: Rename to ...
1896         * config/rs6000/t-linux: ... this.
1897         (SHLIB_MAPFILES): Adapt filename.
1898         * config/rs6000/t-slibgcc-aix: New file.
1899         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1900         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1901         libgcc-excl.ver, libgcc-glibc.ver.
1902         (SHLIB_LINK, SHLIB_INSTALL): Remove.
1903         * config/sparc/libgcc-glibc.ver: New file.
1904         * config/sparc/t-linux: New file.
1905         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1906         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1907         t-slibgcc-elf-ver to tmake_file.
1908         Add t-slibgcc-nolc-override to tmake_file for posix threads on
1909         *-*-freebsd[34].
1910         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1911         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1912         t-slibgcc-elf-ver, t-linux to tmake_file.
1913         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1914         tmake_file.
1915         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1916         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1917         (alpha*-dec-*vms*): Likewise.
1918         (arm*-*-freebsd*): Append to tmake_file.
1919         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1920         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1921         arm*-*-linux-*eabi.
1922         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1923         tmake_file for arm*-*-symbianelf*.
1924         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1925         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1926         cris/t-linux.
1927         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1928         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1929         pa/t-slibgcc-dwarf-ver to tmake_file.
1930         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1931         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1932         (hppa*64*-*-hpux11*): Likewise.
1933         (hppa[12]*-*-hpux11*): Likewise.
1934         (x86_64-*-darwin*): Don't override tmake_file, but only keep
1935         i386/t-crtpc, i386/t-crtfm.
1936         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1937         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1938         to tmake_file.
1939         Add i386/t-cygwin to tmake_file.
1940         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1941         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1942         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1943         to tmake_file.
1944         Add i386/t-mingw32 to tmake_file.
1945         (x86_64-*-mingw*): Likewise.
1946         (ia64*-*-freebsd*): Append to tmake_file.
1947         (ia64*-*-linux*): Append to tmake_file.
1948         Replace ia64/t-glibc by ia64/t-linux.
1949         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1950         system libunwind.
1951         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1952         t-slibgcc-hpux to tmake_file.
1953         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1954         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1955         (m32rle-*-linux*): Likewise.
1956         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1957         sjlj exceptions.
1958         (microblaze*-linux*): New case.
1959         Append to tmake_file, add t-slibgcc-nolc-override.
1960         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1961         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1962         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1963         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1964         rs6000/t-slibgcc-aix to tmake_file.
1965         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1966         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1967         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1968         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1969         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1970         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
1971         sh*-*-linux*.
1972         (sparc-*-linux*): Append to tmake_file for *-leon*.
1973         Add sparc/t-linux to tmake_file for non-Leon targets.
1974         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
1975         (tic6x-*-uclinux): New case.
1976         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
1977         (tic6x-*-*): Add c6x/t-elf to tmake_file.
1978         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
1979         (am33_2.0-*-linux*): Append to tmake_file.
1980         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1981         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
1982         x86_64-*-kfreebsd*-gnu.
1983         Add i386/t-linux to tmake_file.
1984
1985 2011-10-28  Ian Lance Taylor  <iant@google.com>
1986
1987         * config/i386/morestack.S: Correct CFI information to do proper
1988         returns throughout function.  In 32-bit mode, save %ebx so that it
1989         is restored on unwind.
1990
1991 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
1992
1993         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
1994         case where B3 isn't the return register.
1995
1996         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
1997         logic for doubleword pops.
1998
1999 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2000
2001         * config/rs6000/t-freebsd: Add wildcard.
2002
2003 2011-10-21  Paul Brook  <paul@codesourcery.com>
2004
2005         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2006
2007 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2008             Eric Botcazou  <ebotcazou@adacore.com>
2009
2010         PR target/50737
2011         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2012         fs->signal_frame to 1.
2013
2014 2011-10-07  Ian Lance Taylor  <iant@google.com>
2015
2016         * generic-morestack-thread.c: #include <errno.h>.
2017
2018 2011-10-07  Ian Lance Taylor  <iant@google.com>
2019
2020         PR target/46093
2021         * generic-morestack.c (__generic_morestack): Make sure the segment
2022         is large enough for both the stack frame and the copied
2023         parameters.
2024
2025 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2026
2027         PR bootstrap/49804
2028         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2029         extra_parts.
2030
2031 2011-09-28  Nick Clifton  <nickc@redhat.com>
2032
2033         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2034         64-bit doubles are not enabled.
2035         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2036         and floatunsisf functions.
2037
2038 2011-09-13  Paul Brook  <paul@codesourcery.com>
2039
2040         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2041         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2042         * unwind-arm-common.inc: New file.
2043         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2044         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2045         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2046         * config/c6x/libunwind.S: New file.
2047         * config/c6x/pr-support.c: New file.
2048         * config/c6x/unwind-c6x.c: New file.
2049         * config/c6x/unwind-c6x.h: New file.
2050         * config/c6x/t-c6x-elf: New file.
2051
2052 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2053
2054         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2055         (ASM_DIVZERO): Ditto.
2056         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2057
2058 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2059
2060         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2061
2062 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2063
2064         PR target/50090
2065         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2066         instead of an assembly one.
2067
2068 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2069
2070         PR bootstrap/50047
2071         * Makefile.in (install-unwind_h): Create
2072         $(gcc_objdir)/include/unwind.h atomically.
2073
2074 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2075
2076         * Makefile.in (install-unwind_h): Remove destination file first.
2077
2078 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2079
2080         * sync.c: New file.
2081         * config/mips/t-mips16: New file.
2082         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2083         (mips*-*-linux*): Likewise.
2084         (mips*-sde-elf*): Likewise.
2085         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2086         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2087         Add mips/t-mips16 to tmake_file.
2088         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2089         (mips-*-elf*): Likewise.
2090         (mips64-*-elf*): Likewise.
2091         (mips64orion-*-elf*): Likewise.
2092         (mips*-*-rtems*): Likewise.
2093         (mipstx39-*-elf*): Likewise.
2094         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2095         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2096         LIBGCC_SYNC_CFLAGS.
2097         Use $(srcdir) to refer to sync.c.
2098         Use $<.
2099         ($(libgcc-sync-funcs-o)): Likewise.
2100         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2101         ($(libgcc-sync-funcs-s-o)): Likewise.
2102
2103 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2104
2105         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2106         t-libunwind.
2107
2108 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2109
2110         PR other/48007
2111         * config/i386/value-unwind.h: New.
2112
2113 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2114
2115         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2116         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2117         Add to tmake_file rather than overriding it.
2118
2119 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2120
2121         * config/t-softfp: Remove.
2122         * soft-fp: Moved from ../gcc/config.
2123         * soft-fp/README: Remove t-softfp reference.
2124         * soft-fp/t-softfp: Move to config/t-softfp.
2125         (softfp_machine_header): Remove.
2126         (softfp_file_list): Remove config subdir.
2127         (soft-fp-objects): New variable.
2128         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2129         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2130         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2131         * config/t-softfp-excl: New file.
2132         * config/t-softfp-sfdf: New file.
2133         * config/t-softfp-tf: New file.
2134         * config/no-sfp-machine.h: New file.
2135         * config/arm/sfp-machine.h: New file.
2136         * config/arm/t-softfp: New file.
2137         * config/c6x/sfp-machine.h: New file.
2138         * config/i386/32/t-fprules-softfp: Rename to ...
2139         * config/i386/32/t-softfp: ... this.
2140         (tifunctions, LIB2ADD): Remove.
2141         (softfp_int_modes): Override.
2142         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2143         subdir.
2144         * config/i386/64/eqtf2.c: Likewise.
2145         * config/i386/64/getf2.c: Likewise.
2146         * config/i386/64/letf2.c: Likewise.
2147         * config/ia64/sft-machine.h: New file.
2148         * config/ia64/t-fprules-softfp: Rename to ...
2149         * config/ia64/t-softfp: ... this.
2150         * config/lm32/sfp-machine.h: New file.
2151         * config/moxie/t-moxie-softfp: Remove.
2152         * config/rs6000/ibm-ldouble-format: New file.
2153         * config/rs6000/ibm-ldouble.c: New file.
2154         * config/rs6000/libgcc-ppc-glibc.ver: New file
2155         * config/rs6000/libgcc-ppc64.ver: New file
2156         * config/rs6000/sfp-machine.h: New file.
2157         * config/rs6000/t-freebsd: New file.
2158         * config/rs6000/t-ibm-ldouble: New file.
2159         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2160         libgcc-ppc-glibc.ver.
2161         * config/rs6000/t-linux64: New file.
2162         * config/rs6000/t-ppccomm (LIB2ADD): Add
2163         $(srcdir)/config/rs6000/ibm-ldouble.c.
2164         * config/rs6000/t-ppccomm-ldbl: New file.
2165         * config/score/sfp-machine.h: New file.
2166         * config.host (sfp_machine_header): Explain.
2167         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2168         t-softfp to tmake_file.
2169         (arm*-*-uclinux*): Likewise.
2170         (arm*-*-ecos-elf): Likewise.
2171         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2172         (arm*-*-rtems*): Likewise.
2173         (arm*-*-elf): Likewise.
2174         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2175         in tmake_file.
2176         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2177         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2178         (lm32-*-uclinux*): Likewise.
2179         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2180         t-softfp-excl, t-softfp.
2181         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2182         (powerpc64-*-darwin*): Likewise.
2183         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2184         to tmake_file.
2185         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2186         tmake_file.
2187         (powerpc-*-eabisim*): Likewise.
2188         (powerpc-*-elf*): Likewise.
2189         (powerpc-*-eabialtivec*): Likewise.
2190         (powerpc-xilinx-eabi*): Likewise.
2191         (powerpc-*-rtems*): Likewise.
2192         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2193         t-softfp-excl, t-softfp to tmake_file.
2194         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2195         rs6000/t-ppccomm-ldbl to tmake_file.
2196         (powerpcle-*-elf*): Likewise.
2197         (powerpcle-*-eabisim*): Likewise.
2198         (powerpcle-*-eabi*): Likewise.
2199         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2200         rs6000/t-ibm-ldouble to tmake_file.
2201         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2202         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2203         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2204         (tic6x-*-*): Likewise.
2205         (i[34567]86-*-darwin*, x86_64-*-darwin*,
2206         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2207         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2208         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2209         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2210         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2211         t-softfp to tmake_file.
2212         * configure.ac (sfp_machine_header): Provide default if unset.
2213         Substitute.
2214         Link sfp-machine.h to config/$sfp_machine_header.
2215         * configure: Regenerate.
2216
2217 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2218
2219         * Makefile.in (double_type_size, long_double_type_size): Set.
2220         Remove $(fpbit-in-libgcc) support.
2221         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2222         (fpbit-src): New variable.
2223         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2224         Compile with -DFLOAT $(FPBIT_CFLAGS).
2225         Use $<.
2226         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2227         Compile with $(FPBIT_CFLAGS).
2228         Use $<.
2229         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2230         Compile with -DFLOAT $(TPBIT_CFLAGS).
2231         Use $<.
2232         * configure.ac (double_type_size, long_double_type_size):
2233         Determine and substitute.
2234         * configure: Regenerate.
2235         * fp-bit.c, fp-bit.h: New files.
2236         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2237         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2238         * config/mips/t-mips: New file.
2239         * config/mips/t-sdemtk: New file.
2240         * config/rs6000/ppc64-fp.c: New file.
2241         * config/rs6000/t-darwin (LIB2ADD): Add
2242         $(srcdir)/config/rs6000/ppc64-fp.c.
2243         * config/rs6000/t-ppc64-fp: New file.
2244         * config/rx/rx-lib.h: New file.
2245         * config/rx/t-rx (FPBIT): Set to true.
2246         ($(gcc_objdir)/fp-bit.c): Remove.
2247         (DPBIT): Set to true only with -m64bit-doubles.
2248         ($(gcc_objdir)/dp-bit.c): Remove.
2249         * config/sparc/t-softfp: Remove.
2250         * config/spu/t-elf: New file.
2251         * config/t-fdpbit, config/t-fpbit: New files.
2252         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2253         (mips*-*-*): Likewise.
2254         (arm-wrs-vxworks): Likewise.
2255         (arm*-*-freebsd*): Likewise.
2256         (avr-*-rtems*): Add t-fpbit to tmake_file.
2257         (avr-*-*): Likewise.
2258         (bfin*-elf*): Add t-fdpbit to tmake_file.
2259         (bfin*-uclinux*): Likewise.
2260         (bfin*-linux-uclibc*): Likewise.
2261         (bfin*-rtems*): New case.
2262         Add t-fdpbit to tmake_file.
2263         (bfin*-*): Add t-fdpbit to tmake_file.
2264         (crisv32-*-elf): Likewise.
2265         (cris-*-linux*): Likewise.
2266         (fr30-*-elf): Likewise.
2267         (frv-*-elf, frv-*-*linux*): Likewise.
2268         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2269         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2270         (m32r-*-elf*): Likewise.
2271         (m32rle-*-elf*): Likewise.
2272         (m32r-*-linux*): Likewise.
2273         (m32rle-*-linux*): Likewise.
2274         (mcore-*-elf): Add t-fdpbit to tmake_file.
2275         (microblaze*-*-*): Likewise.
2276         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2277         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2278         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2279         Fix typo.
2280         Add mips/t-tpbit to tmake-file.
2281         (mips*-*-linux*): Fix typo.
2282         (mips*-sde-elf*): New case
2283         Add mips/t-sdemtk unless using newlib.
2284         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2285         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2286         (mn10300-*-*): Likewise.
2287         (pdp11-*-*): Likewise.
2288         (picochip-*-*): Add t-fpbit to tmake_file.
2289         (powerpc-*-eabisimaltivec*): Likewise.
2290         (powerpc-*-eabisim*): Likewise.
2291         (powerpc-*-elf*): Likewise.
2292         (powerpc-*-eabialtivec*): Likewise.
2293         (powerpc-xilinx-eabi*): New case.
2294         Add t-fdpbit to tmake_file.
2295         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
2296         (powerpc-*-rtems*): Likewise.
2297         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2298         tmake_file.
2299         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2300         tmake_file.
2301         (powerpc-*-lynxos*): Likewise.
2302         (powerpcle-*-elf*): Likewise.
2303         (powerpcle-*-eabisim*): Likewise.
2304         (powerpcle-*-eabi*): Likewise.
2305         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2306         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2307         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2308         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2309         (rx-*-elf): Add t-fdpbit to tmake_file.
2310         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2311         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2312         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2313         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2314         sh*-*-netbsd*.
2315         (sh-*-rtems*): Add t-fdpbit to tmake_file.
2316         (sh-wrs-vxworks): Likewise.
2317         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2318         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2319         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2320         (sparc64-*-rtems*): ... new case.
2321         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2322         (spu-*-elf*): Likewise.
2323         Add spu/t-elf to tmake_file.
2324         (v850*-*-*): Add t-fdpbit to tmake_file.
2325         (xstormy16-*-elf): Likewise.
2326         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2327         (mep*-*-*): Likewise.
2328
2329 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2330
2331         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2332         variables.
2333         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2334         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2335         (install-unwind_h): New target.
2336         (all): Depend on it.
2337         * config.host (unwind_header): New variable.
2338         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2339         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2340         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2341         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2342         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2343         Set unwind_header.
2344         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2345         Set unwind_header.
2346         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2347         arm*-*-eabi*.
2348         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2349         Set unwind_header.
2350         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2351         (ia64*-*-freebsd*): Likewise.
2352         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2353         tmake_file.
2354         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2355         $with_system_libunwind.
2356         (ia64*-*-hpux*): Set tmake_file.
2357         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2358         (picochip-*-*): Set tmake_file.
2359         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2360         md_unwind_header.
2361         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2362         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2363         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2364         (xtensa*-*-elf*): Set tmake_file.
2365         (xtensa*-*-linux*): Likewise.
2366         * configure.ac: Include ../config/unwind_ipinfo.m4.
2367         Call GCC_CHECK_UNWIND_GETIPINFO.
2368         Link unwind.h to $unwind_header.
2369         * configure: Regenerate.
2370         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2371         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2372         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2373         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2374         * config/unwind-dw2-fde-darwin.c: New file.
2375         * config/arm/libunwind.S, config/arm/pr-support.c,
2376         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2377         config/arm/unwind-arm.h,: New files.
2378         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2379         config/ia64/t-eh-ia64, config/ia64/t-glibc,
2380         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2381         config/ia64/t-vms, config/ia64/unwind-ia64.c,
2382         config/ia64/unwind-ia64.h: New files.
2383         * config/picochip/t-picochip: New file.
2384         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2385         files.
2386         * config/rs6000/t-darwin (LIB2ADDEH): Set.
2387         * config/s390/t-tpf (LIB2ADDEH): Remove.
2388         * config/t-darwin (LIB2ADDEH): Set.
2389         * config/t-eh-dw2-dip: New file.
2390         * config/t-libunwind, config/t-libunwind-elf: New files.
2391         * config/t-sol2 (LIB2ADDEH): Remove.
2392         * config/xtensa/t-xtensa: New file.
2393
2394 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
2395
2396         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2397         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2398         long long to check rt_sigreturn syscall.
2399
2400 2011-08-02  Alan Modra  <amodra@gmail.com>
2401
2402         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2403         Restore for indirect call bcrtl from correct stack slot, and only
2404         if cfa+40 isn't valid.
2405
2406 2011-08-01  Julian Brown  <julian@codesourcery.com>
2407
2408         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2409         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2410         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2411
2412 2011-08-01  Julian Brown  <julian@codesourcery.com>
2413
2414         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2415         (libgcc-std.ver.in): Use above.
2416         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2417         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
2418         throughout file.
2419         * config/t-fixedpoint-gnu-prefix: New file.
2420         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2421         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2422         instead of __PFX__.
2423
2424 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2425
2426         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2427         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2428         for x86-64.  Properly check __x86_64__ and __LP64__.
2429
2430 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2431
2432         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2433         version.
2434         (_FP_WS_TYPE): Likewise.
2435         (_FP_I_TYPE): Likewise.
2436
2437 2011-07-28  Alan Modra  <amodra@gmail.com>
2438
2439         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2440         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2441         in a plt call stub.  Do restore r2 if stopped on bctrl.
2442
2443 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2444
2445         * config.host (i[3456x]86-*-netware*): Remove.
2446         * config/i386/netware-crt0.c, config/i386/t-nwld,
2447         config/i386/t-slibgcc-nwld: Remove.
2448
2449 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
2450
2451         * config.host: Handle tic6x-*-*.
2452         * config/c6x/c6x-abi.h: New file.
2453
2454 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2455
2456         * config/i386/crtprec.c: New file.
2457         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2458         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2459         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2460         (x86_64-*-darwin*): Likewise.
2461         (i[34567]86-*-solaris2*: Likewise.
2462
2463 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2464
2465         * config/alpha/crtfastmath.c: New file.
2466         * config/i386/crtfastmath.c: New file.
2467         * config/ia64/crtfastmath.c: New file.
2468         * config/mips/crtfastmath.c: New file.
2469         * config/sparc/crtfastmath.c: New file.
2470
2471         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2472         crtfastmath.c.
2473         Add -frandom-seed=gcc-crtfastmath.
2474         * config/alpha/t-crtfm: Remove.
2475         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2476         * config/ia64/t-ia64 (crtfastmath.o): Remove.
2477
2478         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2479         (alpha*-dec-osf5.1*): Likewise.
2480         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2481         Add crtfastmath.o to extra_parts.
2482         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2483         Add crtfastmath.o to extra_parts.
2484         (x86_64-*-darwin*): Likewise.
2485         (x86_64-*-mingw*): Likewise.
2486         (ia64*-*-elf*): Add t-crtfm to tmake_file.
2487         (ia64*-*-freebsd*): Likewise.
2488         (ia64*-*-linux*): Likewise.
2489         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2490         Add crtfastmath.o to extra_parts.
2491
2492 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2493
2494         * config/darwin-crt3.o: New file.
2495         * config/rs6000/darwin-crt2.c: New file.
2496         * config/t-darwin: New file.
2497         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2498         (crt2.o): New rule.
2499         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2500         (powerpc-*-darwin*): Add crt2.o to extra_parts.
2501         (powerpc64-*-darwin*): Likewise.
2502
2503 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2504
2505         * config/i386/netware-crt0.c: New file.
2506         * config/i386/t-nwld: Rename to ...
2507         * config/i386/t-slibgcc-nwld: ... this.
2508         * config/i386/t-nwld: New file.
2509         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2510         tmake_file.
2511         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2512         extra_parts.
2513
2514 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2515
2516         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2517         i386/t-crtstuff.
2518         * configure: Regenerate.
2519
2520 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2521
2522         * dfp-bit.c, dfp-bit.h: New files.
2523         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2524         variables.
2525         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2526         ($(d64pbit-o)): Likewise.
2527         ($(d128pbit-o)): Likewise.
2528         * config/t-dfprules: New file.
2529         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2530         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2531         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2532         (x86_64-*-linux*): Likewise.
2533         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2534         (i[34567]86-*-cygwin*): Likewise.
2535         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
2536         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2537
2538 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2539
2540         * Makfile.in (LIBGCOV): New variable.
2541         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2542         * libgcov.c: New file.
2543
2544 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2545
2546         * fixed-bit.c, fixed-bit.h: New files.
2547         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2548         refer to fixed-bit.c.
2549
2550 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
2551
2552         * config.host (*local*): Remove.
2553
2554 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2555
2556         PR target/39150
2557         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2558         like i?86-*-solaris2.1[0-9]*.
2559         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2560         * configure.ac (i?86-*-solaris2*): Likewise.
2561         * configure: Regenerate.
2562
2563 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
2564
2565         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2566         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2567         md_unwind_header by splitting out of...
2568         (i[34567]86-*-linux*): ... this.
2569         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2570         Remove md_unwind_header by splitting out of...
2571         (x86_64-*-linux*): ... this.
2572
2573 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
2574
2575         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2576
2577 2011-06-28  Nick Clifton  <nickc@redhat.com>
2578
2579         * config.host: Recognize all V850 variants.
2580
2581 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
2582
2583         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2584
2585 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2586
2587         * shared-object.mk (c_flags-$o): Save c_flags.
2588         ($(base)$(objext)): Use it.
2589         ($(base)_s$(objext)): Likewise.
2590
2591 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
2592
2593         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2594         * libgcc-std.ver.in (GCC_4.7.0): New section.
2595
2596 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
2597
2598         PR target/49313
2599         PR target/29524
2600         * config/avr/t-avr: Fix line endings.
2601         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
2602         _parityXX2.
2603
2604 2011-06-14  Olivier Hainque  <hainque@adacore.com>
2605             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2606
2607         * config/mips/irix6-unwind.h: New file.
2608         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2609
2610 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
2611
2612         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2613         (sparc64_fallback_frame_state): Use it.
2614         (sparc64_frob_update_context): Further adjust context.
2615         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2616         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2617         * config/sparc/sol2-cn.S: Likewise.
2618
2619 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2620
2621         * enable-execute-stack-empty.c: New file.
2622         * enable-execute-stack-mprotect.c: New file.
2623         * config/i386/enable-execute-stack-mingw32.c: New file.
2624         * config.host (enable_execute_stack): New variable.
2625         Select appropriate variants.
2626         * configure.ac: Link enable-execute-stack.c to
2627         $enable_execute_stack.
2628         * configure: Regenerate.
2629         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2630         (lib2funcs): Remove _enable_execute_stack.
2631
2632 2011-06-09  David S. Miller  <davem@davemloft.net>
2633             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2634
2635         * config.host (sparc-*-linux*): Correct md_unwind_header
2636         filename.
2637         (s390x-ibm-tpf*): Fix typo.
2638
2639 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2640
2641         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2642         Add crtfastmath.o to extra_parts.
2643         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2644         mips/t-crtfm.
2645         * config/mips/t-crtfm: Remove.
2646
2647 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2648
2649         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2650
2651 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2652
2653         * config.host (sh*-*-linux*): Fix typo.
2654
2655 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2656
2657         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2658         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2659         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2660         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2661         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2662         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2663         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2664         Wrap in !__MINGW64__.
2665         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2666         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2667         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2668         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2669         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2670         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2671         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2672         Wrap in !__LP64__.
2673         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2674         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2675         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2676         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2677         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2678         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2679         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2680         * config/no-unwind.h: New file.
2681         * config.host (md_unwind_header): Document.
2682         Define.
2683         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2684         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2685         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2686         hppa[12]*-*-hpux11*): Set md_unwind_header.
2687         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2688         Set md_unwind_header.
2689         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2690         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2691         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2692         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2693         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2694         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2695         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2696         md_unwind_header.
2697         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2698         * configure: Regenerate.
2699
2700 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2701
2702         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2703         Set tmake_file, extra_parts.
2704         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2705         Remove O32 support.
2706         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2707         Remove O32 support.
2708         * config/mips/t-irix6: New file.
2709         * config/mips/t-slibgcc-irix: New file.
2710
2711 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2712
2713         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2714         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2715
2716 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2717
2718         * configure.ac (target_thread_file): Determine thread model.
2719         * configure: Regenerate.
2720         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2721         * config/alpha/t-alpha: New file.
2722         * config/alpha/t-crtfm: Use $<.
2723         * config/alpha/t-ieee: New file.
2724         * config/alpha/t-osf-pthread: New file.
2725         * config/alpha/t-slibgcc-osf: New file.
2726         * config/alpha/libgcc-osf5.ver: New file.
2727
2728 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2729
2730         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2731         tmake_file.
2732         Add crtfastmath.o to extra_parts.
2733
2734 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2735
2736         * config/gmon-sol2.c: Reindent.
2737         Cleanup comments.
2738         Remove, correct casts.
2739         Use STDERR_FILENO, NULL.
2740         (BASEADDRESS): Remove.
2741         (minbrk): Remove.
2742         (errno, sbrk): Remove declarations.
2743         (monstartup) [hp300]: Remove.
2744         (mcount): Remove.
2745
2746 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2747
2748         * Makefile.in (cpu_type): Define.
2749         * config.host (i[34567]86-*-rtems*): Handle it.
2750         (i[34567]86-*-solaris2*): Move body ...
2751         (*-*-solaris2*): ... here.
2752         New case, generalize.
2753         (sparc-*-elf*): Handle it.
2754         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2755         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2756         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2757         Fold into ...
2758         (sparc*-*-solaris2*): ... this.
2759         New case.
2760         (sparc64-*-elf*): Handle it.
2761         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2762         Merge ../gcc/config/i386/gmon-sol2.c.
2763         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2764         Use C comments.
2765         Merge ../gcc/config/i386/sol2-gc1.asm.
2766         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2767         Use C comments.
2768         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2769         Use C comments.
2770         * config/i386/t-crtfm (crtfastmath.o): Use $<.
2771         * config/i386/t-crtstuff: New file.
2772         * config/i386/t-softfp: New file.
2773         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2774         $(T)crti.o, $(T)crtn.o): Remove.
2775         (gcrt1.o): New rule.
2776         (TARGET_LIBGCC2_CFLAGS): Remove.
2777         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2778         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2779         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2780         * config/sparc/t-sol2: New file.
2781         * config/sparc/t-crtfm: Move to ...
2782         * config/t-crtfm: ... this.
2783         Use $(cpu_type), $<.
2784         * config/t-crtin: New file.
2785         * config/sparc/t-softfp: New file.
2786         * config/sparc/t-softmul: New file.
2787         * config/t-rtems: New file.
2788         * config/t-slibgcc: New file.
2789         * config/t-slibgcc-elf-ver: New file.
2790         * config/t-slibgcc-gld: New file.
2791         * config/t-slibgcc-sld: New file.
2792         * config/t-sol2: New file.
2793         * configure.ac: Include ../config/lib-ld.m4.
2794         Call AC_LIB_PROG_LD_GNU.
2795         Substitute cpu_type.
2796         * configure: Regenerate.
2797
2798 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
2799
2800         PR bootstrap/49173
2801         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2802         libgcc-std.ver in the build directory.
2803         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2804         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2805
2806 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
2807
2808         * libgcc-std.ver.in: New file.
2809         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2810         variables.
2811         (libgcc-std.ver): New rule.
2812         * config/t-gnu-prefix: New file.
2813
2814 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2815
2816         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2817
2818 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
2819
2820         * config/i386/darwin-lib.h: New file.
2821
2822 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
2823
2824         * config/arm/symbian-lib.h: New.
2825
2826 2011-05-04  Chris Demetriou  <cgd@google.com>
2827
2828         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2829         (__x86.get_pc_thunk.bx): ...this.
2830         (__morestack): Adjust for rename, remove undef of __i686.
2831
2832 2011-05-03  Chris Demetriou  <cgd@google.com>
2833
2834         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2835
2836 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
2837
2838         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2839         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2840         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2841         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2842         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2843         Remove cases.
2844
2845 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
2846
2847         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2848         Adjust copyright year.
2849
2850 2011-03-07  Ian Lance Taylor  <iant@google.com>
2851
2852         * generic-morestack.c (__splitstack_find): Adjust returned stack
2853         pointer to include all registers pushed by __morestack.
2854
2855 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
2856
2857         PR target/40125
2858         * configure.ac: Call ACX_NONCANONICAL_TARGET.
2859         (toolexecdir): Calculate and AC_SUBST.
2860         (toolexeclibdir): Likewise.
2861         * Makefile.in (target_noncanonical): Import.
2862         (toolexecdir): Likewise.
2863         (toolexeclibdir): Likewise.
2864         * configure: Regenerate.
2865
2866 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
2867
2868         PR target/46040
2869         * config/arm/bpabi.h: Rename to...
2870         * config/arm/bpabi-lib.h: ...this.
2871
2872 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2873
2874         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2875         appropriate.
2876         * configure: Regenerate.
2877
2878 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
2879
2880         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2881         __FLOAT_WORD_ORDER__.
2882         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2883         Delete.
2884
2885 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2886
2887         PR other/46202
2888         * Makefile.in (install-strip): New phony target.
2889
2890 2010-11-07  Ian Lance Taylor  <iant@google.com>
2891
2892         PR target/46089
2893         * config/i386/morestack.S (__morestack_large_model): New
2894         function.
2895
2896 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
2897
2898         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2899         Delete.
2900         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2901
2902 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
2903
2904         * config/arm/bpabi.h: New file.
2905         * config/frv/frv-abi.h: New file.
2906
2907 2010-10-01  Ian Lance Taylor  <iant@google.com>
2908
2909         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2910         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2911
2912 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
2913
2914         PR target/45858
2915         * config.host: Add the missing `$'.
2916
2917 2010-09-30  Michael Eager  <eager@eagercon.com>
2918
2919         * config.host: Add microblaze*-*-*.
2920         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2921         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2922         udivsi3.asm,umodsi3.asm}:  New.
2923
2924 2010-09-28  Ian Lance Taylor  <iant@google.com>
2925
2926         * configure.ac: Adjust CFI test to test assembler directly rather
2927         than checking gcc preprocessor macro.
2928         * configure: Rebuild.
2929
2930 2010-09-27  Ian Lance Taylor  <iant@google.com>
2931
2932         * configure.ac: Test whether assembler supports CFI directives.
2933         * config.host: Only add t-stack and i386/t-stack-i386 to
2934         tmake_file if libgcc_cv_cfi is "yes".
2935         * configure: Rebuild.
2936
2937 2010-09-27  Ian Lance Taylor  <iant@google.com>
2938
2939         * generic-morestack.h: New file.
2940         * generic-morestack.c: New file.
2941         * generic-morestack-thread.c: New file.
2942         * config/i386/morestack.S: New file.
2943         * config/t-stack: New file.
2944         * config/i386/t-stack-i386: New file.
2945         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2946         i386/t-stack-i386 to tmake_file.
2947
2948 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
2949
2950         * Makefile.in (libgcc-extra-parts):  Check for static archives and
2951         invoke ranlib after installing them.
2952         (gcc-extra-parts): Likewise.
2953         (install-leaf): Likewise.
2954
2955 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
2956
2957         * configure: Regenerated.
2958
2959 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
2960
2961         * configure: Regenerated.
2962
2963 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
2964             Andrew Pinski  <pinskia@gmail.com>
2965
2966         PR target/40959
2967         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
2968
2969 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2970
2971         PR target/45524
2972         * configure: Regenerated.
2973
2974 2010-09-06  Andreas Schwab  <schwab@redhat.com>
2975
2976         * configure: Regenerate.
2977
2978 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
2979
2980         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
2981         64bit targets.
2982         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
2983         for 64bit targets.
2984
2985 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
2986             Iain Sandoe  <iains@gcc.gnu.org>
2987
2988         PR target/45476
2989         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
2990         LIB2FUNCS_EXCLUDE functions.
2991
2992 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2993
2994         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
2995         Include dfp.m4.
2996         * configure: Regenerate.
2997
2998 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
2999
3000         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3001         i386/t-freebsd to tmake_file.
3002         * config/i386/t-freebsd: New file.
3003         * config/i386/libgcc-bsd.ver: New file.
3004
3005 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3006
3007         * config.host (powerpc*-eabispe*): Set tmake_file.
3008         (powerpc*-eabi*): Likewise.
3009         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3010         crtbeginS, crtendS, crtbeginT.
3011
3012 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3013
3014         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3015         to tmake_file.  Add crtfastmath.o to extra_parts.
3016         * config/mips/t-crtfm: New.
3017
3018 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3019
3020         * config.host (sparc64-*-rtems*): New target.
3021
3022 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3023
3024         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3025         assembler syntax.
3026
3027 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3028
3029         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3030
3031 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3032
3033         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3034         alpha-dec-osf5.0* support.
3035
3036 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3037
3038         * config.host: Add lm32-*-rtems*.
3039
3040 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3041             Uros Bizjak <ubizjak@gmail.com>
3042
3043         PR target/39048
3044         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3045         like other remaining 32-bit x86 OSes.
3046         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3047         assembler syntax.
3048         * config/i386/libgcc-sol2.ver: New file.
3049         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3050
3051 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3052
3053         PR c/43553
3054         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3055         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3056         is used and substitute set_use_emutls.
3057         * configure: Regenerated.
3058
3059 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3060
3061         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3062
3063 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3064
3065         PR target/38085
3066         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3067         MULTILIB_CFLAGS.
3068         ($(T)gcrt1.o): Likewise.
3069         ($(T)crt1.o): Likewise.
3070         ($(T)crti.o): Likewise.
3071         ($(T)crtn.o): Likewise.
3072
3073 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3074
3075         PR other/42980
3076         * Makefile.in (install): Use $(MAKE) string in rule, for
3077         parallel make.
3078
3079 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3080
3081         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3082         * config/mmix/t-mmix: New file.
3083         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3084
3085 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3086
3087         PR java/41991
3088         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3089         SHLIB_MAPFILES.
3090
3091 2010-01-04  Anthony Green  <green@moxielogic.com>
3092
3093         * config/moxie/crti.asm, config/moxie/crtn.asm,
3094         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3095         config/moxie/t-moxie: New files.
3096         * config.host: Add t-moxie-softfp reference.
3097
3098 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3099
3100         PR other/39888
3101         * config/t-slibgcc-darwin: Fix embedded rpaths for
3102         --enable-version-specific-runtime-libs, build extension stub
3103         libs exposing features available from current libgcc_s.
3104
3105 2009-11-11  Jon Beniston <jon@beniston.com>
3106
3107         * config.host: Add lm32 targets.
3108         * config/lm32: New directory.
3109         * config/lm32/libgcc_lm32.h: New file.
3110         * config/lm32/_mulsi3.c: New file.
3111         * config/lm32/_udivmodsi4.c: New file.
3112         * config/lm32/_divsi3.c: New file.
3113         * config/lm32/_modsi3.c: New file.
3114         * config/lm32/_udivsi3.c: New file.
3115         * config/lm32/_umodsi3.c: New file.
3116         * config/lm32/_lshrsi3.S: New file.
3117         * config/lm32/_ashrsi3.S: New file.
3118         * config/lm32/_ashlsi3.S: New file.
3119         * config/lm32/crti.S: New file.
3120         * config/lm32/crtn.S: New file.
3121         * config/lm32/t-lm32: New file.
3122         * config/lm32/t-elf: New file.
3123         * config/lm32/t-uclinux: New file.
3124
3125 2009-10-26  Nick Clifton  <nickc@redhat.com>
3126
3127         * config.host: Add support for RX target.
3128         * config/rx: New directory.
3129         * config/rx/rx-abi-functions.c: New file. Supplementary
3130         functions for libgcc to support the RX ABI.
3131         * config/rx/rx-abi.h: New file.  Supplementary header file for
3132         libgcc RX ABI functions.
3133         * config/rx/t-rx: New file: Makefile fragment for building
3134         libgcc for the RX.
3135
3136 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3137
3138         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3139         constraint of y0 to "g".
3140
3141 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3142
3143         * config.host: Include the s390 makefile fragments.
3144         * config/s390/32/_fixdfdi.c: New file.
3145         * config/s390/32/_fixsfdi.c: New file.
3146         * config/s390/32/_fixtfdi.c: New file.
3147         * config/s390/32/_fixunsdfdi.c: New file.
3148         * config/s390/32/_fixunssfdi.c: New file.
3149         * config/s390/32/_fixunstfdi.c: New file.
3150         * config/s390/32/t-floattodi: New file.
3151         * config/s390/libgcc-glibc.ver: New file.
3152         * config/s390/t-crtstuff: New file.
3153         * config/s390/t-linux: New file.
3154         * config/s390/t-tpf: New file.
3155
3156 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3157
3158         * configure.ac (AC_PREREQ): Bump to 2.64.
3159
3160 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
3161
3162         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3163
3164 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3165
3166         * configure: Regenerate.
3167
3168 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
3169
3170         * config.host (ia64-hp-*vms*): New target.
3171         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3172         with ia64-hp-*vms*.
3173
3174 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3175
3176         * configure.ac: Add snippet for maintainer-mode.
3177         * configure: Regenerate.
3178         * Makefile.in (AUTOCONF, configure_deps): New variables.
3179         ($(srcdir)/configure)): New rule, active only with maintainer
3180         mode turned on.
3181
3182 2009-06-23  DJ Delorie  <dj@redhat.com>
3183
3184         Add MeP port.
3185         * config.host: Add mep support.
3186
3187 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
3188
3189         * config.host: Add i386/${host_address}/t-fprules-softfp and
3190         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3191
3192         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3193         for mingw targets.
3194         * config/i386/64/_multc3.c: Likewise.
3195         * config/i386/64/_powitf2.c: Likewise.
3196         * config/i386/64/eqtf2.c: Likewise.
3197         * config/i386/64/getf2.c: Likewise.
3198         * config/i386/64/letf2.c: Likewise.
3199         * config/i386/64/letf2.c: Likewise.
3200         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3201         unsigned long long for x64 mingw targets.
3202         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3203         (_FP_I_TYPE): Define as long long for x64 mingw target.
3204
3205 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
3206
3207         * config.host (vax-*-linux*): New.
3208
3209 2009-05-31  Anthony Green  <green@moxielogic.com>
3210
3211         * config.host: Add moxie support.
3212         * config/moxie/t-moxie: New file.
3213
3214 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
3215
3216         * config.host: Add i386/${host_address}/t-fprules-softfp and
3217         t-softfp to tmake_file for i[34567]86-*-cygwin*.
3218
3219 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
3220
3221         * config.host: Add i386/${host_address}/t-fprules-softfp to
3222         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3223
3224 2009-04-09  Nick Clifton  <nickc@redhat.com>
3225
3226         * config/ia64/tf-signs.c: Change copyright header to refer to
3227         version 3 of the GNU General Public License with version 3.1
3228         of the GCC Runtime Library Exception and to point readers at
3229         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3230         web page.
3231         * config/i386/32/tf-signs.c: Likewise.
3232         * config/libbid/_addsub_dd.c: Likewise.
3233         * config/libbid/_addsub_sd.c: Likewise.
3234         * config/libbid/_addsub_td.c: Likewise.
3235         * config/libbid/_dd_to_df.c: Likewise.
3236         * config/libbid/_dd_to_di.c: Likewise.
3237         * config/libbid/_dd_to_sd.c: Likewise.
3238         * config/libbid/_dd_to_sf.c: Likewise.
3239         * config/libbid/_dd_to_si.c: Likewise.
3240         * config/libbid/_dd_to_td.c: Likewise.
3241         * config/libbid/_dd_to_tf.c: Likewise.
3242         * config/libbid/_dd_to_udi.c: Likewise.
3243         * config/libbid/_dd_to_usi.c: Likewise.
3244         * config/libbid/_dd_to_xf.c: Likewise.
3245         * config/libbid/_df_to_dd.c: Likewise.
3246         * config/libbid/_df_to_sd.c: Likewise.
3247         * config/libbid/_df_to_td.c: Likewise.
3248         * config/libbid/_di_to_dd.c: Likewise.
3249         * config/libbid/_di_to_sd.c: Likewise.
3250         * config/libbid/_di_to_td.c: Likewise.
3251         * config/libbid/_div_dd.c: Likewise.
3252         * config/libbid/_div_sd.c: Likewise.
3253         * config/libbid/_div_td.c: Likewise.
3254         * config/libbid/_eq_dd.c: Likewise.
3255         * config/libbid/_eq_sd.c: Likewise.
3256         * config/libbid/_eq_td.c: Likewise.
3257         * config/libbid/_ge_dd.c: Likewise.
3258         * config/libbid/_ge_sd.c: Likewise.
3259         * config/libbid/_ge_td.c: Likewise.
3260         * config/libbid/_gt_dd.c: Likewise.
3261         * config/libbid/_gt_sd.c: Likewise.
3262         * config/libbid/_gt_td.c: Likewise.
3263         * config/libbid/_isinfd128.c: Likewise.
3264         * config/libbid/_isinfd32.c: Likewise.
3265         * config/libbid/_isinfd64.c: Likewise.
3266         * config/libbid/_le_dd.c: Likewise.
3267         * config/libbid/_le_sd.c: Likewise.
3268         * config/libbid/_le_td.c: Likewise.
3269         * config/libbid/_lt_dd.c: Likewise.
3270         * config/libbid/_lt_sd.c: Likewise.
3271         * config/libbid/_lt_td.c: Likewise.
3272         * config/libbid/_mul_dd.c: Likewise.
3273         * config/libbid/_mul_sd.c: Likewise.
3274         * config/libbid/_mul_td.c: Likewise.
3275         * config/libbid/_ne_dd.c: Likewise.
3276         * config/libbid/_ne_sd.c: Likewise.
3277         * config/libbid/_ne_td.c: Likewise.
3278         * config/libbid/_sd_to_dd.c: Likewise.
3279         * config/libbid/_sd_to_df.c: Likewise.
3280         * config/libbid/_sd_to_di.c: Likewise.
3281         * config/libbid/_sd_to_sf.c: Likewise.
3282         * config/libbid/_sd_to_si.c: Likewise.
3283         * config/libbid/_sd_to_td.c: Likewise.
3284         * config/libbid/_sd_to_tf.c: Likewise.
3285         * config/libbid/_sd_to_udi.c: Likewise.
3286         * config/libbid/_sd_to_usi.c: Likewise.
3287         * config/libbid/_sd_to_xf.c: Likewise.
3288         * config/libbid/_sf_to_dd.c: Likewise.
3289         * config/libbid/_sf_to_sd.c: Likewise.
3290         * config/libbid/_sf_to_td.c: Likewise.
3291         * config/libbid/_si_to_dd.c: Likewise.
3292         * config/libbid/_si_to_sd.c: Likewise.
3293         * config/libbid/_si_to_td.c: Likewise.
3294         * config/libbid/_td_to_dd.c: Likewise.
3295         * config/libbid/_td_to_df.c: Likewise.
3296         * config/libbid/_td_to_di.c: Likewise.
3297         * config/libbid/_td_to_sd.c: Likewise.
3298         * config/libbid/_td_to_sf.c: Likewise.
3299         * config/libbid/_td_to_si.c: Likewise.
3300         * config/libbid/_td_to_tf.c: Likewise.
3301         * config/libbid/_td_to_udi.c: Likewise.
3302         * config/libbid/_td_to_usi.c: Likewise.
3303         * config/libbid/_td_to_xf.c: Likewise.
3304         * config/libbid/_tf_to_dd.c: Likewise.
3305         * config/libbid/_tf_to_sd.c: Likewise.
3306         * config/libbid/_tf_to_td.c: Likewise.
3307         * config/libbid/_udi_to_dd.c: Likewise.
3308         * config/libbid/_udi_to_sd.c: Likewise.
3309         * config/libbid/_udi_to_td.c: Likewise.
3310         * config/libbid/_unord_dd.c: Likewise.
3311         * config/libbid/_unord_sd.c: Likewise.
3312         * config/libbid/_unord_td.c: Likewise.
3313         * config/libbid/_usi_to_dd.c: Likewise.
3314         * config/libbid/_usi_to_sd.c: Likewise.
3315         * config/libbid/_usi_to_td.c: Likewise.
3316         * config/libbid/_xf_to_dd.c: Likewise.
3317         * config/libbid/_xf_to_sd.c: Likewise.
3318         * config/libbid/_xf_to_td.c: Likewise.
3319         * config/libbid/bid128.c: Likewise.
3320         * config/libbid/bid128_2_str.h: Likewise.
3321         * config/libbid/bid128_2_str_macros.h: Likewise.
3322         * config/libbid/bid128_2_str_tables.c: Likewise.
3323         * config/libbid/bid128_add.c: Likewise.
3324         * config/libbid/bid128_compare.c: Likewise.
3325         * config/libbid/bid128_div.c: Likewise.
3326         * config/libbid/bid128_fma.c: Likewise.
3327         * config/libbid/bid128_logb.c: Likewise.
3328         * config/libbid/bid128_minmax.c: Likewise.
3329         * config/libbid/bid128_mul.c: Likewise.
3330         * config/libbid/bid128_next.c: Likewise.
3331         * config/libbid/bid128_noncomp.c: Likewise.
3332         * config/libbid/bid128_quantize.c: Likewise.
3333         * config/libbid/bid128_rem.c: Likewise.
3334         * config/libbid/bid128_round_integral.c: Likewise.
3335         * config/libbid/bid128_scalb.c: Likewise.
3336         * config/libbid/bid128_sqrt.c: Likewise.
3337         * config/libbid/bid128_string.c: Likewise.
3338         * config/libbid/bid128_to_int16.c: Likewise.
3339         * config/libbid/bid128_to_int32.c: Likewise.
3340         * config/libbid/bid128_to_int64.c: Likewise.
3341         * config/libbid/bid128_to_int8.c: Likewise.
3342         * config/libbid/bid128_to_uint16.c: Likewise.
3343         * config/libbid/bid128_to_uint32.c: Likewise.
3344         * config/libbid/bid128_to_uint64.c: Likewise.
3345         * config/libbid/bid128_to_uint8.c: Likewise.
3346         * config/libbid/bid32_to_bid128.c: Likewise.
3347         * config/libbid/bid32_to_bid64.c: Likewise.
3348         * config/libbid/bid64_add.c: Likewise.
3349         * config/libbid/bid64_compare.c: Likewise.
3350         * config/libbid/bid64_div.c: Likewise.
3351         * config/libbid/bid64_fma.c: Likewise.
3352         * config/libbid/bid64_logb.c: Likewise.
3353         * config/libbid/bid64_minmax.c: Likewise.
3354         * config/libbid/bid64_mul.c: Likewise.
3355         * config/libbid/bid64_next.c: Likewise.
3356         * config/libbid/bid64_noncomp.c: Likewise.
3357         * config/libbid/bid64_quantize.c: Likewise.
3358         * config/libbid/bid64_rem.c: Likewise.
3359         * config/libbid/bid64_round_integral.c: Likewise.
3360         * config/libbid/bid64_scalb.c: Likewise.
3361         * config/libbid/bid64_sqrt.c: Likewise.
3362         * config/libbid/bid64_string.c: Likewise.
3363         * config/libbid/bid64_to_bid128.c: Likewise.
3364         * config/libbid/bid64_to_int16.c: Likewise.
3365         * config/libbid/bid64_to_int32.c: Likewise.
3366         * config/libbid/bid64_to_int64.c: Likewise.
3367         * config/libbid/bid64_to_int8.c: Likewise.
3368         * config/libbid/bid64_to_uint16.c: Likewise.
3369         * config/libbid/bid64_to_uint32.c: Likewise.
3370         * config/libbid/bid64_to_uint64.c: Likewise.
3371         * config/libbid/bid64_to_uint8.c: Likewise.
3372         * config/libbid/bid_b2d.h: Likewise.
3373         * config/libbid/bid_binarydecimal.c: Likewise.
3374         * config/libbid/bid_conf.h: Likewise.
3375         * config/libbid/bid_convert_data.c: Likewise.
3376         * config/libbid/bid_decimal_data.c: Likewise.
3377         * config/libbid/bid_decimal_globals.c: Likewise.
3378         * config/libbid/bid_div_macros.h: Likewise.
3379         * config/libbid/bid_dpd.c: Likewise.
3380         * config/libbid/bid_flag_operations.c: Likewise.
3381         * config/libbid/bid_from_int.c: Likewise.
3382         * config/libbid/bid_functions.h: Likewise.
3383         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3384         * config/libbid/bid_inline_add.h: Likewise.
3385         * config/libbid/bid_internal.h: Likewise.
3386         * config/libbid/bid_round.c: Likewise.
3387         * config/libbid/bid_sqrt_macros.h: Likewise.
3388
3389 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
3390
3391         * Makefile.in: Change copyright header to refer to version
3392         3 of the GNU General Public License and to point readers at the
3393         COPYING3 file and the FSF's license web page.
3394         * config.host: Likewise.
3395
3396 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
3397
3398         * config.host: Reorder and merge to match config.gcc change.
3399
3400 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
3401
3402         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3403
3404 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
3405
3406         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3407         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3408         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3409         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3410
3411 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
3412
3413         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3414         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3415
3416 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3417
3418         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3419         ia64/t-softfp-compat to tmake_file.
3420
3421         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3422
3423         * config/ia64/__divxf3.asm: New.
3424         * config/ia64/_fixtfdi.asm: Likewise.
3425         * config/ia64/_fixunstfdi.asm: Likewise.
3426         * config/ia64/_floatditf.asm: Likewise.
3427         * config/ia64/t-fprules-softfp: Likewise.
3428         * config/ia64/t-softfp-compat: Likewise.
3429         * config/ia64/tf-signs.c: Likewise.
3430
3431 2009-01-18  Ben Elliston  <bje@au.ibm.com>
3432
3433         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3434
3435 2009-01-16  Ben Elliston  <bje@au.ibm.com>
3436
3437         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3438         to tmake_file.
3439
3440 2009-01-13  Ben Elliston  <bje@au.ibm.com>
3441
3442         * config/t-softfp: New file.
3443         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3444         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3445
3446 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
3447
3448         * config.host: Add m32r*-*-rtems*.
3449
3450 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
3451
3452         * config.host: Add m32c*-*-rtems*.
3453
3454 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3455
3456         PR bootstrap/33100
3457         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3458         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3459         * configure: Regenerate.
3460         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3461         tmake_file here from gcc/config.gcc.
3462         Move extra_parts here from gcc/config.gcc.
3463         * config/i386/t-sol2: Move here from gcc/config/i386.
3464         Use gcc_srcdir instead of srcdir.
3465
3466 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
3467
3468         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3469         case.
3470
3471 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
3472
3473         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3474
3475 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
3476
3477         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3478
3479 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
3480
3481         Add picoChip port.
3482         * config.host: Add picochip-*-*.
3483
3484 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
3485
3486         * config.host: Match more processor names for Xtensa.
3487
3488 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
3489
3490         * config/i386/64/t-softfp-compat: Update comments.
3491
3492 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3493
3494         * config/i386/64/_divtc3-compat.c: Moved to ...
3495         * config/i386/64/_divtc3.c: Here.
3496
3497         * config/i386/64/_multc3-compat.c: Moved to ...
3498         * config/i386/64/_multc3.c: Here.
3499
3500         * config/i386/64/_powitf2-compat.c: Moved to ...
3501         * config/i386/64/_powitf2.c: Here.
3502
3503         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3504         .c suffix instead of -compat.c.
3505
3506 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
3507
3508         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3509         (_FP_MUL_MEAT_D): Ditto.
3510         (_FP_DIV_MEAT_S): Ditto.
3511         (_FP_DIV_MEAT_D): Ditto.
3512
3513 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
3514
3515         * Makefile.in: Add support for __sync_* libgcc functions.
3516
3517 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
3518
3519         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3520
3521 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3522
3523         PR boostrap/36702
3524         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3525         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
3526
3527         * config/i386/64/t-fprules-softfp: Moved to ...
3528         * config/i386/64/t-softfp-compat: This.  New.
3529
3530 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
3531
3532         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3533         Initialize f with 0.0.
3534
3535 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3536
3537         PR target/36669
3538         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3539
3540         * config/i386/64/_divtc3-compat.c: New.
3541         * config/i386/64/_multc3-compat.c: Likewise.
3542         * config/i386/64/_powitf2-compat.c: Likewise.
3543         * config/i386/64/eqtf2.c: Likewise.
3544         * config/i386/64/getf2.c: Likewise.
3545         * config/i386/64/letf2.c: Likewise.
3546         * config/i386/64/t-fprules-softfp: Likewise.
3547
3548 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3549
3550         * config.host: Add i386/${host_address}/t-fprules-softfp to
3551         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3552         i[34567]86-*-linux*, x86_64-*-linux*.
3553
3554         * configure.ac: Set host_address to 64 or 32 for x86.
3555         * configure: Regenerated.
3556
3557         * Makefile.in (config.status): Also depend on
3558         $(srcdir)/config.host.
3559
3560         * config/i386/32/t-fprules-softfp: New.
3561         * config/i386/32/tf-signs.c: Likewise.
3562
3563         * config/i386/64/sfp-machine.h: New. Moved from gcc.
3564
3565 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3566             Uros Bizjak  <ubizjak@gmail.com>
3567
3568         * config/i386/32/sfp-machine.h: New.
3569
3570 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
3571
3572         * config/rs6000/t-ppccomm: Remove rules that conflict with
3573         auto-generated rules.
3574
3575 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3576
3577         * configure.ac: sinclude override.m4.
3578         * configure: Regenerate.
3579
3580 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
3581
3582         * configure: Regenerate.
3583
3584 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
3585
3586         * Makefile.in (DECNUMINC): Remove
3587         -I$(MULTIBUILDTOP)../../libdecnumber.
3588         * gstdint.h: New.
3589
3590 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
3591
3592         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3593         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3594         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3595         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3596         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3597         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3598         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3599         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3600         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3601         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3602         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3603         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3604         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3605         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3606
3607 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
3608
3609         * config.host (sh2[lbe]*-*-linux*): Allow target.
3610
3611 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
3612
3613         * config/rs6000/t-ppccomm: Add build rules for new files.
3614         (LIB2ADD_ST): New variable.
3615
3616 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
3617
3618         PR target/34210
3619         PR target/35508
3620         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3621         * config/t-avr: New file. Build 16bit libgcc functions.
3622
3623 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
3624
3625         PR target/35401
3626         * config/t-slibgcc-darwin: Make install-leaf dependent on
3627         install-darwin-libgcc-stubs instead of install.
3628
3629 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
3630
3631         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3632         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3633         sh-*-rtemscoff*): Remove cases.
3634
3635 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
3636
3637         * Makefile.in (all): Use install-leaf rather than install.
3638         (install): Split most of the rule into...
3639         (install-leaf): ...this new one.
3640
3641 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
3642             Paolo Bonzini  <bonzini@gnu.org>
3643
3644         PR target/30572
3645         * Makefile.in: Use @shlib_slibdir@ substitution to get
3646         correct install name on darwin.
3647         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3648
3649 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
3650
3651         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3652         cris-*-elf and cris-*-none.
3653         (crisv32-*-linux*): Similar, as cris-*-linux*.
3654
3655 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
3656
3657         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3658
3659 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
3660
3661         PR regression/33926
3662         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3663         * configure: Regenerated.
3664
3665 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3666
3667         * Makefile.in (dfp-filenames): Replace decimal_globals,
3668         decimal_data, binarydecimal and convert_data with
3669         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3670         and bid_convert_data, respectively.
3671
3672 2007-09-17  Chao-ying Fu  <fu@mips.com>
3673             Nigel Stephens  <nigel@mips.com>
3674
3675         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3676         * Makefile.in (fixed_point): Define.
3677         Check if fixed_point is yes to build support functions.
3678         * configure.ac: Check for fixed_point support.
3679         * configure: Regenerated.
3680         * gen-fixed.sh: New file to generate lists of fixed-point labels,
3681         funcs, modes, from, to.
3682
3683 2007-09-11  Janis Johnson  <janis187@us.ibm.com
3684
3685         * Makefile.in (dfp-filenames): Add bid128_noncomp.
3686
3687 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
3688
3689         * Makefile.in (dfp-filenames): Remove decUtility, add
3690         decDouble, decPacked, decQuad, decSingle.
3691
3692 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
3693
3694         * config.host : Add x86_64-elf target.
3695
3696 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3697
3698         * configure.ac (set_have_cc_tls): Add a missing =.
3699         * configure: Regenerated.
3700
3701 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3702
3703         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3704         and x86_64-*-linux*.
3705
3706         * config/t-tls: New file.
3707
3708         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3709
3710         * configure.ac: Include ../config/enable.m4 and
3711         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
3712         supports TLS and substitute set_have_cc_tls.
3713         * configure: Regenerated.
3714
3715 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
3716
3717         * Makefile.in: Use libbid for DFP when BID is enabled.
3718
3719 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
3720
3721         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3722         extra_parts. Add config/i386/t-cygming to tmake_file.
3723         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3724
3725 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
3726             Danny Smith  <dannysmith@users.sourceforge.net>
3727
3728         PR target/29498
3729         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3730         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
3731         * config/i386/t-crtfm: Compile crtfastmath.o with
3732         -minline-all-stringops.
3733
3734 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
3735
3736         * config.host (sparc-wrs-vxworks): New target.
3737
3738 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
3739
3740         * config.host: Recognize fido.
3741
3742 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
3743
3744         * configure: Check host, not target, for decimal float support.
3745
3746 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
3747
3748         * config/i386/t-crtpc: New file.
3749         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3750         (x86_64-*-linux*): Ditto.
3751
3752 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
3753
3754         * config.host (x86_64-*-mingw*): New target.
3755
3756 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
3757             H.J. Lu  <hongjiu.lu@intel.com>
3758
3759         * Makefile.in (enable_decimal_float): New.
3760         (DECNUMINC): Add
3761         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3762         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3763         (decbits-filenames): This.
3764         (decbits-objects): New.
3765         (libgcc-objects): Add $(decbits-objects).
3766
3767         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3768         Substitute enable_decimal_float.
3769         * configure: Regenerated.
3770
3771 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
3772
3773         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3774
3775 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
3776
3777         * Makefile.in (install-info): New dummy target.
3778
3779 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
3780
3781         * config.host (bfin*-linux-uclibc*): Set extra_parts.
3782
3783 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
3784
3785         * Makefile.in: Add install-html and install-pdf dummy
3786         targets.
3787
3788 2007-02-05  Roger Sayle  <roger@eyesopen.com>
3789             Daniel Jacobowitz  <dan@codesourcery.com>
3790
3791         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3792         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3793         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3794
3795 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
3796
3797         * Makefile.in (dec-filenames): Add decExcept.
3798
3799 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
3800
3801         PR bootstrap/30469
3802         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3803         -fprofile-use.
3804
3805 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
3806
3807         * configure.ac: Add --enable-version-specific-runtime-libs.
3808         Correct $slibdir default.
3809         * configure: Regenerated.
3810
3811 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
3812
3813         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3814
3815 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
3816
3817         PR target/30519
3818         * config.host (alpha*-*-linux*): Set extra_parts.
3819
3820 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
3821
3822         * config/sh/t-linux: New.
3823         * config.host (sh*-*-linux*): Set tmake_file.
3824
3825 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
3826
3827         * Makefile.in (install): Handle multilibs.
3828
3829 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
3830
3831         * Makefile.in: Added .PHONY entry for documentation targets.
3832
3833 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
3834
3835         * Makefile.in: Add empty info, html, dvi, pdf targets.
3836
3837 2007-01-04  Mike Stump  <mrs@apple.com>
3838
3839         * Makefile.in (MAKEINFO): Remove.
3840         (PERL): Likewise.
3841
3842 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
3843
3844         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3845         * configure: Regenerate.
3846         * Makefile.in (host_subdir): Substitute it.
3847         (gcc_objdir): Use it.
3848
3849 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
3850
3851         * config.host (ia64*-*-linux*): Set tmake_file.
3852
3853 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
3854
3855         * Makefile.in (version): Define.
3856
3857 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
3858             Paolo Bonzini  <bonzini@gnu.org>
3859
3860         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3861         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3862         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3863         config/sparc/t-crtfm, config/t-slibgcc-darwin,
3864         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3865         shared-object.mk, siditi-object.mk, static-object.mk: New files.
3866         * configure: Generated.