OSDN Git Service

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