OSDN Git Service

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