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