OSDN Git Service

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