OSDN Git Service

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