OSDN Git Service

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