OSDN Git Service

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