OSDN Git Service

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