OSDN Git Service

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