OSDN Git Service

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