OSDN Git Service

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