OSDN Git Service

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