OSDN Git Service

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