OSDN Git Service

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