OSDN Git Service

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