OSDN Git Service

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