OSDN Git Service

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