OSDN Git Service

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