OSDN Git Service

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