OSDN Git Service

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