OSDN Git Service

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