OSDN Git Service

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