OSDN Git Service

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