OSDN Git Service

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