OSDN Git Service

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