OSDN Git Service

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