OSDN Git Service

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