OSDN Git Service

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