OSDN Git Service

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