OSDN Git Service

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