OSDN Git Service

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