OSDN Git Service

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