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