OSDN Git Service

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