OSDN Git Service

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