OSDN Git Service

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