OSDN Git Service

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