OSDN Git Service

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