OSDN Git Service

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