OSDN Git Service

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