OSDN Git Service

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