OSDN Git Service

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