OSDN Git Service

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