OSDN Git Service

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