OSDN Git Service

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