1 2013-11-10 Kai Tietz <ktietz@redhat.com>
4 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5 Increment load-count on use of LIBGCC_SONAME DLL.
6 (hmod_libgcc): New static variable to hold handle of
8 (__gcc_deregister_frame): Decrement load-count of
11 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
13 * config/i386/32/sfp-machine.c (FP_HANDLE_EXCEPTIONS): Handle
15 * config/i386/64/sfp-machine.c (FP_HANDLE_EXCEPTIONS): Ditto.
17 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
19 Backport from trunk: Fix licenses on several libgcc files.
21 * config/ia64/unwind-ia64.h,
22 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
23 GPL-3.0-with-GCC-exception.
25 2013-06-08 Walter Lee <walt@tilera.com>
27 Backport from mainline:
28 2013-06-08 Walter Lee <walt@tilera.com>
30 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
31 Replace int64_t with long long. Add __extension__ where
34 2013-06-06 Douglas B Rupp <rupp@adacore.com>
36 * config.host (arm-wrs-vxworks): Configure with other soft float.
38 2013-05-20 Chung-Ju Wu <jasonwucj@gmail.com>
40 Backport from mainline:
41 2012-05-24 Olivier Hainque <hainque@adacore.com>
43 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
44 Use a separate command for stamp removals.
46 2013-04-11 Julian Brown <julian@codesourcery.com>
48 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
49 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
50 unsigned char/unsigned short.
51 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
53 2013-04-11 Release Manager
57 2013-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
60 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
62 2013-03-25 Oleg Endo <olegendo@gcc.gnu.org>
64 Backport from mainline:
65 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
68 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
69 (sdivsi3, udivsi3): Remove SH4 check and always compile these
72 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
74 Backport from mainline.
75 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
78 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
81 2013-03-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
83 * config.host (arm*-*-rtemself*): New.
84 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
85 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
87 2012-12-18 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org
89 Backport from mainline.
90 2012-10-15 Matthias Klose <doko@ubuntu.com>
92 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
94 2012-12-17 Matthias Klose <doko@ubuntu.com>
96 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
98 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
100 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
103 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
105 2012-12-04 Richard Henderson <rth@redhat.com>
108 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
110 2012-11-28 Richard Henderson <rth@redhat.com>
113 * emutls.c (__emutls_get_address): Avoid race condition between
114 obj->loc.offset read and emutls_key initialization.
116 2012-11-04 Uros Bizjak <ubizjak@gmail.com>
119 * config/i386/32/sfp-machine.h: Guard exception handling and
120 rounding handling code with _SOFT_FLOAT.
121 * config/i386/64/sfp-machine.h: Ditto.
123 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
125 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
128 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
130 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
132 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
134 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
136 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
138 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
141 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
143 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
144 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
145 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
148 2012-09-20 Release Manager
150 * GCC 4.7.2 released.
152 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
154 Backport from 2012-09-05 mainline r190697.
157 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
158 configured --with-avrlibc.
159 * config/avr/t-avrlibc: New file.
160 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
161 (DPBIT_FUNCS): Ditto.
162 (TPBIT_FUNCS): Ditto.
164 2012-08-21 Ian Lance Taylor <iant@google.com>
166 * config/i386/morestack.S (__morestack_non_split): Increase amount
167 of space allocated for non-split code stack.
169 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
171 Backported from mainline
172 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
174 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
175 rs6000/t-slibgcc-aix.
177 2012-06-14 Release Manager
179 * GCC 4.7.1 released.
181 2012-05-25 Ian Lance Taylor <iant@google.com>
183 * config/i386/morestack.S (__morestack_non_split): Check whether
184 caller is varargs and needs %bp to hold the stack frame on return.
186 2012-05-24 Olivier Hainque <hainque@adacore.com>
188 * Makefile.in: Move dependency on install-unwind_h from
189 "install-leaf" to "install".
191 2012-05-21 Andrew Pinski <apinski@cavium.com>
194 * configure.ac: Define the default includes to being none.
195 * configure: Regenerate.
197 2012-05-16 Olivier Hainque <hainque@adacore.com>
199 * Makefile.in (install-unwind_h): Rename into ...
200 (install-unwind_h-forbuild): New target.
201 (all): Use it instead of the former install-unwind_h.
202 (install-unwind_h): Reinstate, copy to user install destination
203 for include files, not to the internal gcc object directory one.
204 (install-leaf): Depend on it.
206 2012-04-30 Andreas Tobler <andreast@fgznet.ch>
208 Backport from mainline
209 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
211 * config.host: Add bits to support powerpc64-*-freebsd*.
212 * config/rs6000/freebsd-unwind.h: New file.
213 * config/rs6000/t-freebsd64: New file.
215 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
217 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
218 (mips*-*-linux*): Include mips/t-tpbit when long double is
221 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
223 struct siginfo vs. siginfo_t
227 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
229 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
230 siginfo_t instead of struct siginfo.
231 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
232 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
233 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
234 (ia64_handle_unwabi): Likewise.
235 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
236 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
237 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
238 (sh_fallback_frame_state): Likewise.
239 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
240 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
242 2012-04-06 Walter Lee <walt@tilera.com>
244 Backport from mainline
245 2012-03-07 Walter Lee <walt@tilera.com>
247 * config/tilepro/atomic.c: Rename "atomic_" prefix to
249 (atomic_xor): Rename and move definition to
250 config/tilepro/atomic.h.
251 (atomic_nand): Ditto.
252 * config/tilepro/atomic.h: Rename "atomic_" prefix to
254 (arch_atomic_xor): Move from config/tilepro/atomic.c.
255 (arch_atomic_nand): Ditto.
257 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
259 Backported from mainline
260 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
262 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
265 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
267 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
268 if it hasn't been previously saved.
270 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
272 Backport from 2012-03-28 mainline r185907.
275 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
276 instead of __AVR_HAVE_8BIT_SP__.
278 2012-03-22 Georg-Johann Lay <avr@gjlay.de>
280 Backport from 2012-03-07 mainline r185033.
283 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
285 Backport from 2012-03-07 mainline r185031.
288 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
291 Backport from 2012-03-07 mainline r185030.
295 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
296 if RAMPZ affects reading from RAM.
297 (__tablejump_elpm__): Ditto.
299 (__movmemx_hi): Ditto.
300 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
301 (__do_global_dtors): Ditto.
302 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
303 (__movmemx_hi): Ditto.
305 2012-03-22 Release Manager
307 * GCC 4.7.0 released.
309 2012-03-01 Kai Tietz <ktietz@redhat.com>
311 * soft-fp: Imported from glibc upstream.
313 2012-02-28 Kai Tietz <ktietz@redhat.com>
315 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
316 for mingw-targets as attribute gcc_struct.
318 2012-02-28 Ian Lance Taylor <iant@google.com>
320 * generic-morestack.c (__splitstack_releasecontext): Correct call
321 to __morestack_release_segments.
323 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
326 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
327 for __linux__ when removing signals from __morestack_fullmask.
329 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
332 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
334 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
336 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
337 instead of HAVE_INITFINI_ARRAY.
338 * config/ia64/crtend.S: Likewise.
340 2012-02-20 Kai Tietz <ktietz@redhat.com>
343 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
345 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
346 to w32-unwind.h header.
348 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
350 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
351 (mips*-*-linux*): Remove t-slibgcc-libgcc.
352 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
353 * config/mips/mips16.S (__mips16_rdhwr): Delete.
355 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
357 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
359 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
362 * config/darwin-crt-tm.c: Correct typo.
364 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
365 Patrick Marlier <patrick.marlier@gmail.com>
368 * config/darwin-crt-tm.c: Generate dummy functions.
370 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
371 Patrick Marlier <patrick.marlier@gmail.com>
374 * config/darwin-crt-tm.c (getTMCloneTable): New function.
375 (__doTMRegistrations): Call it.
376 (__doTMdeRegistrations): Likewise.
378 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
379 Anatoly Sokolov <aesok@post.ru>
380 Eric Weddington <eric.weddington@atmel.com>
383 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
384 (__epilogue_restores__): Ditto.
386 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
390 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
391 Solaris 11 and slightly reformat.
392 (sparc_is_sighandler): Likewise.
394 2012-02-14 Walter Lee <walt@tilera.com>
396 * config.host: Handle tilegx and tilepro.
397 * config/tilegx/sfp-machine.h: New file.
398 * config/tilegx/sfp-machine32.h: New file.
399 * config/tilegx/sfp-machine64.h: New file.
400 * config/tilegx/t-crtstuff: New file.
401 * config/tilegx/t-softfp: New file.
402 * config/tilegx/t-tilegx: New file.
403 * config/tilepro/atomic.c: New file.
404 * config/tilepro/atomic.h: New file.
405 * config/tilepro/linux-unwind.h: New file.
406 * config/tilepro/sfp-machine.h: New file.
407 * config/tilepro/softdivide.c: New file.
408 * config/tilepro/softmpy.S: New file.
409 * config/tilepro/t-crtstuff: New file.
410 * config/tilepro/t-tilepro: New file.
412 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
416 * gthr-posix.h: Allow static initializer macros to be disabled.
417 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
419 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
421 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
422 Add t-slibgcc-libgcc to tmake_file.
423 * config/mips/libgcc-mips16.ver: Revert previous patch.
424 * config/mips/mips16.S (__mips16_rdhwr): Hide.
426 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
427 Jayant R Sonar <jayant.sonar@kpitcummins.com>
429 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
430 * config/cr16/crti.S: New file.
431 * config/cr16/crtlibid.S: New file.
432 * config/cr16/crtn.S: New file.
433 * config/cr16/lib1funcs.S: New file.
434 * config/cr16/t-cr16: New file.
435 * config/cr16/t-crtlibid: New file.
436 * config/cr16/unwind-dw2.h: New file.
437 * config/cr16/unwind-cr16.c: New file.
438 * config/cr16/divmodhi3.c: New file.
440 2012-01-25 Alan Modra <amodra@gmail.com>
442 * config/rs6000/t-linux64: Delete. Move..
443 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
444 * config/rs6000/t-linux: ..and libgcc flags to here.
446 2012-01-22 Douglas B Rupp <rupp@gnat.com>
448 * config.host (i[34567]86-*-interix3*):
449 Change triplet to i[34567]86-*-interix[3-9]*.
450 * configure: Regenerate.
452 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
453 Richard Sandiford <rdsandiford@googlemail.com>
455 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
456 * config/mips/mips16.S (__mips16_rdhwr): New function.
457 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
459 2012-01-11 Nathan Sidwell <nathan@acm.org>
461 * libgcov.c (__gcov_init): Ignore objects with no functions.
463 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
466 Extend __pgmx semantics to linearize memory.
467 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
468 * config/avr/lib1funcs.S (__xload_1): New function.
469 (__movmemx_qi, __movmemx_hi): New functions.
470 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
473 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
475 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
476 purported sigacthandler address isn't null before dereferencing it.
477 (sparc_is_sighandler): Likewise.
479 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
482 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
483 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
484 (sparc_is_sighandler): Likewise.
485 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
487 2012-01-06 Tristan Gingold <gingold@adacore.com>
489 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
490 compatibility thunks...
491 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
492 (crtbeginS.o, crtendS.o): ... and these to ...
493 * config/ia64/t-ia64-elf: ... this new file.
494 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
495 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
497 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
499 * configure: Regenerate.
500 * config/s390/t-crtstuff: Remove -fPIC.
502 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
505 * enable-execute-stack-mprotect.c (getpagesize): Do not define
508 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
511 * config/avr/lib1funcs.S: Remove FIXME comments.
512 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
514 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
516 Implement light-weight DImode support.
517 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
518 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
519 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
520 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
522 2011-12-30 Nathan Sidwell <nathan@acm.org>
524 * libgcov.c (gcov_crc32): Remove global var.
525 (free_fn_data): New function.
526 (buffer_fn_data): Pass in filename, more robust error recovery.
527 (crc32_unsigned): New function.
528 (gcov_exit): More robust detection of new program. More robust
530 (__gcov_init): Do not update program's crc here.
532 2011-12-21 Tristan Gingold <gingold@adacore.com>
534 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
536 2011-12-21 Ian Lance Taylor <iant@google.com>
538 * config/i386/morestack.S: Simplify CFI opcodes throughout.
540 2011-12-20 Ian Lance Taylor <iant@google.com>
542 * config/i386/morestack.S (__morestack_non_split): If there is
543 enough stack space already, don't split. Ask for more stack space
546 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
548 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
550 (_Unwind_DebugHook): New function.
551 (uw_restore_core_regs): New define.
552 (unwind_phase2): Use uw_restore_core_regs instead of
554 (unwind_phase2_forced): Likewise.
555 (__gnu_Unwind_Resume): Likewise.
557 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
559 * config/alpha/linux-unwind.h: Update copyright years.
560 (MD_FROB_UPDATE_CONTEXT): New define.
561 (alpha_frob_update_context): New function.
563 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
565 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
566 tmake_file rather replacing it.
568 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
570 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
571 function is not used for PPC64.
572 (save_world): Amend comments. Update the VRsave mask to reflect the
574 (rest_world): Update comments, do not clobber r10, do not use r8.
575 (eh_rest_world_r10): Amend comments, do not use r8.
576 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
577 no longer used, move restore of CR and target address to the end of
580 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
582 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
583 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
585 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
588 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
589 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
591 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
593 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
595 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
598 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
599 * config/avr/lib1funcs.S (__muldi3): New function.
601 2011-12-06 Andrew Pinski <apinski@cavium.com>
603 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
605 (__frame_dummy_init_array_entry): Likewise.
607 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
609 Forward-port from gcc-4_6-branch r181936 2011-12-02.
613 * config/avr/lib1funcs.S (__prologue_saves__,
614 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
615 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
617 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
619 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
621 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
624 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
625 (_ITM_deregisterTMCloneTable): Likewise.
626 (__register_frame_info): Fix unused warning.
627 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
628 pthread_default_stacksize_np): Likewise.
629 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
631 2011-11-29 DJ Delorie <dj@redhat.com>
633 * config.host (rl78-*-elf): New case.
634 * config/rl78: New directory for the Renesas RL78.
636 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
638 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
641 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
644 * config/rs6000/t-savresfgpr: New file.
645 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
646 $(srcdir)/config/rs6000/eabi.S.
647 * config/rs6000/t-ppccomm-ldbl: Remove.
648 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
650 (powerpc-*-eabispe*): Likewise.
651 (powerpc-*-eabi*): Likewise.
652 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
653 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
654 to tmake_file, remove rs6000/t-ppccomm-ldbl.
655 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
657 (powerpc-*-eabisim*): Likewise.
658 (powerpc-*-elf*): Likewise.
659 (powerpc-*-eabialtivec*): Likewise.
660 (powerpc-xilinx-eabi*): Likewise.
661 (powerpc-*-rtems*): Likewise.
662 (powerpcle-*-elf*): Likewise.
663 (powerpcle-*-eabisim*): Likewise.
664 (powerpcle-*-eabi*): Likewise.
666 2011-11-27 Ian Lance Taylor <iant@google.com>
668 * generic-morestack.c (__splitstack_find): Check for NULL old
670 (__splitstack_resetcontext): New function.
671 (__splitstack_releasecontext): New function.
672 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
674 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
676 * config/darwin-crt-tm.c: Correct comments, use correct licence.
678 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
680 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
682 2011-11-26 Richard Henderson <rth@redhat.com>
684 * config/m68k/linux-atomic.c: New file.
685 * config/m68k/t-linux: New file.
686 * config.host (m68k-uclinux, m68k-linux): Use it.
688 2011-11-26 Richard Henderson <rth@redhat.com>
690 * crtstuff.c (__TMC_LIST__): Mark used not unused.
691 (__TMC_END__): Only declare if hidden is available; in the definition,
692 if hidden is unavailable add a null record.
693 (deregister_tm_clones, register_tm_clones): New.
694 (__do_global_dtors_aux, frame_dummy): Use them.
695 (__do_global_dtors, __do_global_ctors_1): Likewise.
697 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
699 * config/darwin-crt-tm.c: New file.
700 * config.host (darwin): Build crttms.o crttme.o to provide
701 startup and shutdown for tm clones.
702 * config/t-darwin (crttms.o): New build rule.
703 (crttme.o): Likewise.
705 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
707 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
710 2011-11-21 Richard Henderson <rth@redhat.com>
712 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
713 (__TMC_LIST__, __TMC_END__): New.
714 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
715 (__do_global_dtors): Likewise.
716 (frame_dummy): Call _ITM_registerTMCloneTable.
717 (__do_global_ctors_1): Likewise.
719 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
721 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
722 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
723 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
724 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
725 * config/i386/t-darwin64: Remove.
726 * config/sh/t-netbsd (LIB2ADD): Remove.
728 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
731 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
732 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
733 * config/avr/lib1funcs.S (wmov): New assembler macro.
734 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
735 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
736 (__udivmod64): New function.
737 (__negdi2): New function.
739 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
741 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
742 *-*-freebsd*aout*): Remove.
744 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
746 * static-object.mk (c_flags-$o): Save c_flags.
747 ($(base)$(objext)): Use it.
749 2011-11-18 Steve Ellcey <sje@cup.hp.com>
751 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
753 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
756 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
757 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
760 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
762 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
764 (aeabi_uidivmod): Likewise.
767 (aeabi_idivmod): Likewise.
770 2011-11-16 Tristan Gingold <gingold@adacore.com>
772 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
774 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
777 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
778 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
780 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
782 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
784 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
785 * config/pa/t-stublib64: Delete.
787 2011-11-12 Richard Henderson <rth@redhat.com>
789 * config/rs6000/linux-unwind.h (frob_update_context): Properly
790 cast the pointer argument to _Unwind_SetGRPtr.
792 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
794 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
796 2011-11-09 Ian Lance Taylor <iant@google.com>
798 * generic-morestack.c: Include <string.h>.
799 (uintptr_type): Define.
800 (struct initial_sp): Add dont_block_signals field. Reduce size of
802 (allocate_segment): Set prev field to NULL. Don't set
803 __morestack_current_segment or __morestack_segments.
804 (__generic_morestack): Update current->prev and *pp after calling
806 (__morestack_block_signals): Don't do anything if
807 dont_block_signals is set.
808 (__morestack_unblock_signals): Likewise.
809 (__generic_findstack): Check for initial_sp == NULL. Add casts to
811 (__splitstack_block_signals): New function.
812 (enum __splitstack_content_offsets): Define.
813 (__splitstack_getcontext, __splitstack_setcontext): New functions.
814 (__splitstack_makecontext): New function.
815 (__splitstack_block_signals_context): New function.
816 (__splitstack_find_context): New function.
817 * config/i386/morestack.S (__morestack_get_guard): New function.
818 (__morestack_set_guard, __morestack_make_guard): New functions.
819 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
821 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
823 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
824 (i[34567]86-*-mingw*): ... here.
825 (x86_64-*-mingw*): ... here.
827 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
829 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
831 2011-11-07 Nathan Sidwell <nathan@acm.org>
833 * libgcov.c (struct gcov_fn_buffer): New struct.
834 (buffer_fn_data): New helper.
835 (gcov_exit): Rework for new gcov data structures.
837 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
840 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
842 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
844 * config.host (tmake_file): Correct comment.
845 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
847 (bfin*-uclinux*): Likewise.
848 (bfin*-linux-uclibc*): Likewise.
849 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
851 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
853 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
854 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
855 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
856 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
857 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
858 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
859 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
860 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
861 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
862 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
863 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
864 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
865 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
867 * config/bfin/t-elf: Remove.
868 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
870 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
872 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
873 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
874 (lm32-*-elf*, lm32-*-rtems*): Split into ...
875 (lm32-*-elf*): ... this.
876 (lm32-*-rtems*): ... and this.
878 (m32r-*-rtems*): Add to tmake_file.
879 (moxie-*-rtems*): Likewise.
880 (sparc-*-rtems*): Likewise.
881 Remove t-rtems from tmake_file.
882 (sparc64-*-rtems*): Likewise.
883 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
886 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
889 * config/gthr-posix.h: Move ...
890 * gthr-posix.h: ... here.
891 * config/gthr-lynx.h: Reflect this.
892 * config/gthr-vxworks.h: Likewise.
893 * config/rs6000/gthr-aix.h: Likewise.
894 * configure.ac (target_thread_file): Likewise.
895 * configure: Regenerate.
897 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
899 * config.host (arm*-*-rtemseabi*): New target.
901 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
904 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
907 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
909 * config.host (epiphany-*-elf*): New configuration.
910 * config/epiphany: New Directory.
912 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
914 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
915 * config/avr/t-rtems: New.
916 Filter out _exit from LIB1ASMFUNCS.
918 2011-11-04 David S. Miller <davem@davemloft.net>
920 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
921 * configure: Rebuild.
923 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
925 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
928 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
931 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
932 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
934 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
937 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
939 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
941 * config/c6x/t-elf (LIB2ADDEH): Set.
942 * config/c6x/t-c6x-elf: Remove.
944 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
946 * config/i386/sol2-ci.S: Rename to ...
947 * config/i386/crti.S: ... this.
948 * config/i386/sol2-cn.S: Rename to ...
949 * config/i386/crtn.S: ... this.
950 * config/sparc/sol2-ci.S: Rename to ...
951 * config/sparc/crti.S: ... this.
952 * config/sparc/sol2-cn.S: Rename to ...
953 * config/sparc/crtn.S: ... this.
954 * config/t-sol2 (CUSTOM_CRTIN): Remove.
955 (crti.o, crtn.o): Remove.
957 2011-11-04 Tristan Gingold <gingold@adacore.com>
959 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
961 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
963 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
965 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
967 * config.host (crisv32-*-none, cris-*-none): Remove.
968 (crisv32-*-elf): Append to tmake_file, don't just set it.
969 (cris-*-elf): Add missing t-fdpbit to tmake_file.
971 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
973 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
974 (ecrtn$(objext)): Likewise.
975 (ncrti$(objext)): Likewise.
976 (ncrtn$(objext)): Likewise.
978 2011-11-03 Andreas Schwab <schwab@redhat.com>
980 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
982 2011-11-02 David S. Miller <davem@davemloft.net>
984 * configure.ac: Set host_address on sparc too.
985 * configure: Regenerate.
986 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
987 based upon host_address.
988 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
990 2011-11-02 Jason Merrill <jason@redhat.com>
992 * config/rs6000/t-ppccomm: Add missing \.
994 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
996 * gthr-single.h, gthr.h: New files.
997 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
998 config/gthr-vxworks.h, config/i386/gthr-win32.h,
999 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1000 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1001 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1002 * configure.ac (thread_header): New variable.
1003 Set it depending on target_thread_file.
1004 (gthr-default.h): Link from $thread_header.
1005 * configure: Regenerate.
1006 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1008 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1010 * configure.ac (tm_file_): New variable.
1011 Determine from tm_file.
1012 (tm_file, tm_defines): Substitute.
1013 * configure: Regenerate.
1014 * mkheader.sh: New file.
1015 * Makefile.in (clean): Remove libgcc_tm.h.
1016 ($(objects)): Depend on libgcc_tm.h.
1017 (libgcc_tm_defines, libgcc_tm_file): New variables.
1018 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1019 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1020 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1021 ($(extra-parts)): Depend on libgcc_tm.h.
1022 * config.host (tm_defines, tm_file): New variable.
1023 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1024 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1025 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1026 (avr-*-rtems*): Likewise.
1027 (avr-*-*): Likewise.
1028 (frv-*-elf): Likewise.
1029 (frv-*-*linux*): Likewise.
1030 (h8300-*-rtems*): Likewise.
1031 (h8300-*-elf*): Likewise.
1032 (i[34567]86-*-darwin*): Likewise.
1033 (x86_64-*-darwin*): Likewise.
1034 (rx-*-elf): Likewise.
1035 (tic6x-*-uclinux): Likewise.
1036 (tic6x-*-elf): Likewise.
1037 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1038 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1039 * config/i386/cygming-crtbegin.c: Likewise.
1040 * config/i386/cygming-crtend.c: Likewise.
1041 * config/ia64/fde-vms.c: Likewise.
1042 * config/ia64/unwind-ia64.c: Likewise.
1043 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1044 * config/rs6000/darwin-fallback.c: Likewise.
1045 * config/stormy16/lib2funcs.c: Likewise.
1046 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1047 * crtstuff.c: Likewise.
1048 * dfp-bit.h: Likewise.
1049 * emutls.c: Likewise.
1050 * fixed-bit.c: Likewise.
1051 * fp-bit.c: Likewise.
1052 * generic-morestack-thread.c: Likewise.
1053 * generic-morestack.c: Likewise.
1054 * libgcc2.c: Likewise.
1055 * libgcov.c: Likewise.
1056 * unwind-dw2-fde-dip.c: Likewise.
1057 * unwind-dw2-fde.c: Likewise.
1058 * unwind-dw2.c: Likewise.
1059 * unwind-sjlj.c: Likewise.
1061 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1063 * configure.ac: Include ../config/picflag.m4.
1064 (GCC_PICFLAG): Call it.
1066 * configure: Regenerate.
1067 * Makefile.in (gcc_srcdir): Remove.
1068 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1069 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1070 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1071 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1072 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1075 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1076 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1077 to refer to libgcc2.c.
1079 * config/darwin-64.c: New file.
1080 * config/darwin-crt3.c: Remove comment.
1081 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1082 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1083 config/udivmodsi4.c: New files.
1084 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1085 config/memset.c: New files.
1086 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1087 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1088 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1089 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1090 * config/t-openbsd-thread: New file.
1091 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1092 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1093 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1094 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1097 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1098 to refer to gthr-posix.c.
1099 * config/alpha/t-vms (LIB2ADD): Set.
1100 * config/alpha/vms-gcc_shell_handler.c: New file.
1101 * config/arm/bpabi.c, config/arm/fp16.c,
1102 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1103 config/arm/unaligned-funcs.c: New files.
1104 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1105 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1106 * config/arm/t-linux: Likewise.
1107 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1108 * config/arm/t-netbsd: New file.
1109 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1110 * config/arm/t-symbian (LIB2ADD_ST): Set.
1111 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1112 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1113 * config/bfin/t-elf: New file.
1114 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1115 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1116 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1117 config/c6x/ltf.c: New files.
1118 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1119 (HOST_LIBGCC2_CFLAGS): Set.
1120 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1121 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1122 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1124 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1125 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1126 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1127 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1128 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1130 * config/frv/t-frv (LIB2ADD): Set.
1131 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1132 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1133 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1134 config/h8300/popcounthi2.c: New files.
1135 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1136 * config/i386/gthr-win32.c: New file.
1137 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1138 * config/i386/t-cygwin: Likewise.
1139 * config/i386/t-darwin, config/i386/t-darwin64,
1140 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1141 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1142 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1143 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1144 * config/ia64/quadlib.c: New file.
1145 * config/ia64/t-hpux (LIB2ADD): Set.
1146 * config/ia64/t-ia64: Add comment.
1147 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1148 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1149 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1150 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1151 * config/m32c/t-m32c (LIB2ADD): Set.
1152 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1153 * config/m32r/t-m32r: Likewise.
1154 * config/m68k/fpgnulib.c: New file.
1155 * config/m68k/t-floatlib (LIB2ADD): Set.
1156 (xfgnulib.c): New target.
1157 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1158 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1159 * config/mep/t-mep (LIB2ADD): Set.
1160 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1161 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1162 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1163 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1164 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1165 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1166 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1167 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1168 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1169 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1171 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1172 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1173 * config/pa/fptr.c, config/pa/lib2funcs.S,
1174 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1175 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1176 (LIB2ADD, LIB2ADD_ST): Set.
1177 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1178 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1180 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1181 * config/pdp11/t-pdp11: New file.
1182 * config/picochip/libgccExtras/adddi3.S,
1183 config/picochip/libgccExtras/ashlsi3.S,
1184 config/picochip/libgccExtras/ashrsi3.S,
1185 config/picochip/libgccExtras/clzsi2.S,
1186 config/picochip/libgccExtras/cmpsi2.S,
1187 config/picochip/libgccExtras/divmod15.S,
1188 config/picochip/libgccExtras/divmodhi4.S,
1189 config/picochip/libgccExtras/divmodsi4.S,
1190 config/picochip/libgccExtras/lshrsi3.S,
1191 config/picochip/libgccExtras/parityhi2.S,
1192 config/picochip/libgccExtras/popcounthi2.S,
1193 config/picochip/libgccExtras/subdi3.S,
1194 config/picochip/libgccExtras/ucmpsi2.S,
1195 config/picochip/libgccExtras/udivmodhi4.S,
1196 config/picochip/libgccExtras/udivmodsi4.S: New files.
1197 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1198 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1199 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1200 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1201 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1202 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1203 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1204 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1206 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1207 (HOST_LIBGCC2_CFLAGS): Set.
1208 * config/rs6000/t-darwin64: New file.
1209 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1210 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1211 * config/rs6000/t-ppccomm (LIB2ADD): Add
1212 $(srcdir)/config/rs6000/tramp.S.
1213 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1214 Add $(srcdir)/config/rs6000/eabi.S.
1215 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1216 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1217 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1218 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1219 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1220 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1221 * config/rs6000/tramp.S: New file.
1222 * config/s390/t-tpf: Remove.
1223 * config/sh/linux-atomic.S: New file.
1224 * config/sh/t-linux (LIB2ADD): Set.
1225 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1226 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1227 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1229 (HOST_LIBGCC2_CFLAGS): Set.
1230 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1231 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1232 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1233 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1234 config/spu/mfc_multi_tag_release.c,
1235 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1236 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1237 config/spu/multi3.c: New files.
1238 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1239 (HOST_LIBGCC2_CFLAGS): Set.
1240 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1241 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1242 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1243 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1244 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1245 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1246 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1247 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1248 config/stormy16/umodsi3.c: New files.
1249 * config/xtensa/lib2funcs.S: New file.
1250 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1251 * config/xtensa/t-xtensa (LIB2ADD): Set.
1252 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1253 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1254 Add t-freebsd-thread to tmake_file for posix threads.
1255 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1256 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1257 (*-*-lynxos*): Likewise.
1258 (*-*-netbsd*): Likewise.
1259 (*-*-openbsd*): Likewise.
1260 Add t-openbsd-thread to tmake_file for posix threads.
1261 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1262 (*-*-vxworks*): Set tmake_file.
1263 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1264 (alpha*-*-freebsd*): Likewise.
1265 (alpha*-*-netbsd*): Likewise.
1266 (alpha*-*-openbsd*): Likewise.
1267 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1268 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1269 (alpha*-dec-*vms*): Likewise.
1270 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1271 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1272 (bfin*-uclinux*): Likewise.
1273 (bfin*-linux-uclibc*): Likewise.
1274 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1275 (crisv32-*-none): Likewise.
1276 (cris-*-elf): Likewise.
1277 (cris-*-none): Likewise.
1278 (cris-*-linux*, crisv32-*-linux*): Likewise.
1279 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1281 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1283 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1284 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1285 (x86_64-*-elf*): Likewise.
1286 (i[34567]86-*-nto-qnx*): Likewise.
1287 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1289 (x86_64-*-mingw*): Likewise.
1290 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1291 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1292 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1293 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1294 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1296 (mipsisa64sr71k-*-elf*): Likewise.
1297 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1298 (mips-*-elf*, mipsel-*-elf*): Likewise.
1299 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1300 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1301 (mips*-*-rtems*): Likewise.
1302 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1304 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1305 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1306 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1307 (spu-*-elf*): Likewise.
1308 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1310 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1312 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1313 $(srcdir) to refer to $(LIB1ASMSRC).
1315 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1316 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1317 config/arm/lib1funcs.S: New files.
1318 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1319 * config/arm/t-arm: New file.
1320 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1321 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1322 config/arm/t-strongarm-elf: New files.
1323 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1324 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1325 * config/avr/lib1funcs.S: New file.
1326 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1327 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1328 * config/c6x/lib1funcs.S: New file.
1329 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1330 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1331 * config/frv/lib1funcs.S: New file.
1332 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1333 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1334 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1335 * config/ia64/__divxf3.asm: Rename to ...
1336 * config/ia64/__divxf3.S: ... this.
1337 Adapt lib1funcs.asm filename.
1338 * config/ia64/_fixtfdi.asm: Rename to ...
1339 * config/ia64/_fixtfdi.S: ... this.
1340 Adapt lib1funcs.asm filename.
1341 * config/ia64/_fixunstfdi.asm: Rename to ...
1342 * config/ia64/_fixunstfdi.S: ... this.
1343 Adapt lib1funcs.asm filename.
1344 * config/ia64/_floatditf.asm: Rename to ...
1345 * config/ia64/_floatditf.S: ... this.
1346 Adapt lib1funcs.asm filename.
1347 * config/ia64/lib1funcs.S: New file.
1348 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1349 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1350 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1351 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1352 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1353 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1354 * config/mep/lib1funcs.S: New file.
1355 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1356 * config/mips/mips16.S: New file.
1357 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1358 * config/pa/milli64.S: New file.
1359 * config/pa/t-linux, config/pa/t-linux64: New files.
1360 * config/picochip/lib1funcs.S: New file.
1361 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1362 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1363 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1364 * config/sh/t-netbsd: New file.
1365 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1366 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1367 * config/sh/t-sh64: New file.
1368 * config/sparc/lb1spc.S: New file.
1369 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1371 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1372 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1373 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1374 config/xtensa/lib1funcs.S: New files.
1375 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1376 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1378 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1379 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1380 (arm*-*-linux*): Likewise.
1381 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1382 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1383 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1384 (arm*-*-ecos-elf): Likewise.
1385 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1386 (arm*-*-rtems*): Likewise.
1387 (arm*-*-elf): Likewise.
1388 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1389 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1390 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1391 (bfin*-uclinux*): Likewise.
1392 (bfin*-linux-uclibc*): Likewise.
1393 (bfin*-rtems*): Likewise.
1394 (bfin*-*): Likewise.
1395 (fido-*-elf): Merge into m68k-*-elf*.
1396 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1397 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1398 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1399 (h8300-*-elf*): Likewise.
1400 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1401 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1402 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1403 (i[34567]86-*-mingw*): Likewise.
1404 (x86_64-*-mingw*): Likewise.
1405 (i[34567]86-*-interix3*): Likewise.
1406 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1407 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1408 (m68k-*-elf*): Also handle fido-*-elf.
1409 Add m68k/t-floatlib to tmake_file.
1410 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1411 (m68k-*-linux*): Likewise.
1412 (m68k-*-rtems*): Likewise.
1413 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1414 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1416 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1417 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1418 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1419 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1420 sh/t-netbsd to tmake_file.
1421 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1422 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1423 (sh-wrs-vxworks): Likewise.
1424 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1426 (v850*-*-*): Add v850/t-v850 to tmake_file.
1427 (vax-*-linux*): Add vax/t-linux to tmake_file.
1428 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1430 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1432 * crtstuff.c: New file.
1433 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1434 (CRTSTUFF_T_CFLAGS): Define.
1435 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1436 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1437 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1440 (crtbeginT.o): Use $(objext).
1441 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1442 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1443 (gcc-extra-parts): Remove.
1444 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1446 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1447 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1448 Add t-crtstuff-pic to tmake_file.
1449 (*-*-lynxos*): New case.
1450 Set tmake_file, extra_parts.
1451 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1452 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1453 *-*-netbsdelf[2-9]*.
1454 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1455 (*-*-rtems*): Set extra_parts.
1456 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1457 (*-*-uclinux*): New case.
1459 (*-*-vms*): New case.
1460 Set tmake_file, extra_parts.
1461 (*-*-elf): Set extra_parts.
1462 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1463 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1466 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1468 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1469 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1470 (arm-wrs-vxworks): Append to tmake_file.
1472 (arm*-*-uclinux*): Set extra_parts.
1473 (arm*-*-ecos-elf): Likewise.
1474 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1476 (arm*-*-rtems*): Set extra_parts.
1477 (arm*-*-elf): Likewise.
1478 (avr-*-rtems*): Clear extra_parts.
1479 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1481 (bfin*-uclinux*): Likewise.
1482 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1483 (bfin*-rtems*): Append to tmake_file.
1485 (bfin*-*): Likewise.
1486 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1487 (crisv32-*-elf): ... this.
1488 (crisv32-*-none): ... this.
1489 (cris-*-elf, cris-*-none): New cases.
1490 Add cris/t-elfmulti to tmake_file.
1491 (fr30-*-elf): Append to tmake_file.
1493 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1495 (h8300-*-rtems*): Append to tmake_file.
1497 (h8300-*-elf*): Likewise.
1498 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1500 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1502 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1503 (x86_64-*-elf*): Likewise.
1504 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1505 (x86_64-*-freebsd*): Likewise.
1506 (x86_64-*-netbsd*): Likewise.
1507 (i[34567]86-*-linux*): Likewise.
1508 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1509 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1510 (x86_64-*-linux*): Likewise.
1511 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1512 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1515 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1516 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1517 Append to extra_parts, remove crtbegin.o, crtend.o.
1518 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1519 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1520 crtend.o, crtbeginS.o, crtendS.o.
1521 (ia64*-*-linux*): Comment extra_parts.
1522 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1524 (iq2000*-*-elf*): Clear extra_parts.
1525 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1526 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1527 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1528 (m32r-*-rtems*): ... this.
1529 Add m32r/t-m32r to tmake_file.
1530 (m68k-*-elf*): Add t-crtin to tmake_file.
1531 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1532 (mcore-*-elf): Likewise.
1533 (microblaze*-*-*): Set extra_parts.
1534 (mips*-sde-elf*): New case.
1535 Set tmake_file, extra_parts.
1536 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1537 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1538 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1541 (mipsisa64sr71k-*-elf*): Likewise.
1542 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1543 (mips-*-elf*, mipsel-*-elf*): Likewise.
1544 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1545 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1546 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1547 (mips*-*-rtems*): Likewise.
1548 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1549 (moxie-*-*): Split into ...
1550 (moxie-*-elf, moxie-*-uclinux*): ... this.
1551 Add to extra_parts, remove crtbegin.o, crtend.o.
1552 (moxie-*-rtems*): New case.
1555 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1557 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1558 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1561 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1562 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1564 (powerpc-*-eabisim*): Likewise.
1565 (powerpc-*-elf*): Likewise.
1566 (powerpc-*-eabialtivec*): Likewise.
1567 (powerpc-xilinx-eabi*): Likewise.
1568 (powerpc-*-eabi*): Likewise.
1569 (powerpc-*-rtems*): Likewise.
1570 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1573 (powerpc-*-lynxos*): Add to tmake_file.
1574 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1575 rs6000/t-crtstuff, t-crtstuff-pic.
1577 (powerpcle-*-eabisim*): Likewise.
1578 (powerpcle-*-eabi*): Likewise.
1579 (rx-*-elf): Remove extra_parts.
1580 (s390x-ibm-tpf*): Set extra_parts.
1581 (score-*-elf): Set extra_parts.
1582 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1583 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1584 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1585 (sh64l*-*-netbsd*): Split into ...
1586 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1587 Add t-crtstuff-pic to tmake_file.
1589 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1591 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1592 (sparc-*-elf*): Remove t-crtin from tmake_file.
1593 Add to extra_parts, remove crtbegin.o, crtend.o.
1594 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1595 (sparc64-*-linux*): Likewise.
1596 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1597 Add to extra_parts, remove crtbegin.o, crtend.o.
1598 (sparc64-*-elf*): Remove t-crtin from tmake_file.
1599 Add to extra_parts, remove crtbegin.o, crtend.o.
1600 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1601 Add to extra_parts, remove crtbegin.o, crtend.o.
1602 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1603 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1604 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1606 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1608 (tic6x-*-*): Change to ...
1609 (tic6x-*-elf): ... this.
1611 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1613 (am33_2.0-*-linux*): Add comment.
1614 (mep*-*-*): Add mep/t-mep to tmake_file.
1616 * config/alpha/t-vms: New file.
1617 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1618 * config/arm/crti.S, config/arm/crtn.S: New files.
1619 * config/bfin/crti.S, config/bfin/crtn.S: New files.
1620 * config/bfin/crtlibid.S: New file.
1621 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1622 * config/c6x/crti.S, config/c6x/crtn.S: New files.
1623 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1624 (crti.o, crtin.o): New rules.
1625 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1626 * config/c6x/t-uclinux: New file.
1627 * config/cris/t-elfmulti: New file.
1628 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1629 * config/fr30/crti.S, config/fr30/crtn.S: New files.
1630 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1631 * config/frv/t-frv: New file.
1632 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1633 * config/h8300/crti.S, config/h8300/crtn.S: New files.
1634 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1636 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1637 refer to cygming-crtbegin.c, cygming-crtend.c.
1639 * config/i386/t-nto: New file.
1640 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1641 * config/ia64/crti.S, config/ia64/crtn.S: New files.
1642 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1643 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1646 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1647 (crtinitS.o): New rule.
1648 * config/ia64/vms-crtinit.S: New file.
1649 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1650 * config/m32r/initfini.c: New file.
1651 * config/m32r/t-linux, config/m32r/t-m32r: New files.
1652 * config/m68k/crti.S, config/m68k/crtn.S: New files.
1653 * config/mcore/crti.S, config/mcore/crtn.S: New files.
1654 * config/mep/t-mep: New file.
1655 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1656 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1657 * config/mips/crti.S, config/mips/crtn.S: New files.
1658 * config/mips/t-crtstuff: New file.
1659 * config/mmix/crti.S, config/mmix/crtn.S: New files.
1660 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1661 (CUSTOM_CRTIN): Set.
1662 ($(T)crti.o, $(T)crtn.o): Remove $(T),
1664 Use $(srcdir) to refer to crti.S, crtn.S.
1665 Use .S extension, $<.
1666 * config/moxie/crti.asm: Rename to ...
1667 * config/moxie/crti.S: ... this.
1668 * config/moxie/crtn.asm: Rename to ...
1669 * config/moxie/crtn.S: ... this.
1670 * config/moxie/t-moxie: Remove.
1671 * config/pa/stublib.c: New file.
1672 * config/pa/t-stublib, config/pa/t-stublib64: New files.
1673 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1674 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1675 * config/rs6000/t-crtstuff: New file.
1676 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1677 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1678 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1679 Make output file explicit.
1680 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1681 Make output file explicit.
1682 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1683 Make output file explicit.
1684 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1685 Make output file explicit.
1686 * config/score/crti.S, config/score/crtn.S: New files.
1687 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1688 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1690 * config/sh/t-sh, config/sh/t-superh: New files.
1691 * config/sparc/t-linux64: New file.
1692 * config/spu/cache.S, config/spu/cachemgr.c: New files.
1693 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1694 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1695 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1696 * config/t-crtin: Remove.
1697 * config/t-crtstuff-pic: New file.
1698 * config/t-sol2 (CUSTOM_CRTIN): Set.
1699 (crti.o, crtn.o): New rules.
1700 * config/vms/t-vms: New file.
1701 * config/vms/vms-ucrt0.c: New file.
1702 * config/xtensa/t-elf: New file.
1704 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1706 * Makefile.in (SHLIB_NM_FLAGS): Set.
1707 * mkmap-flat.awk, mkmap-symver.awk: New files.
1708 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1710 * configure: Regenerate.
1711 * config/libgcc-glibc.ver: New file.
1712 * config/libgcc-libsystem.ver: New file.
1713 * config/t-libunwind (SHLIB_LC): Set.
1714 * config/t-linux: New file.
1715 * config/t-slibgcc (INSTALL_SHLIB): New.
1716 (SHLIB_INSTALL): Use it.
1717 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1718 to mkmap-symver.awk.
1719 (SHLIB_MAPFILES): Don't append, adapt pathname.
1720 (SHLIB_VERPFX): Set.
1721 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1722 to mkmap-symver.awk.
1723 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1724 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1725 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1726 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1728 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1729 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1730 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1731 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1732 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1733 * config/i386/libgcc-darwin.10.4.ver,
1734 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1736 * config/i386/t-darwin: Remove.
1737 * config/i386/t-darwin64: Likewise.
1738 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1739 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1740 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1741 * config/i386/t-linux: New file.
1742 * config/i386/t-mingw32: New file.
1743 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1744 * config/ia64/t-glibc: Rename to ...
1745 * config/ia64/t-linux: ... this.
1746 (SHLIB_MAPFILES): Set.
1747 * config/ia64/t-glibc-libunwind: Rename to ...
1748 * config/ia64/t-linux-libunwind: ... this.
1749 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1750 * config/ia64/t-slibgcc-hpux: New file.
1751 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1752 * config/m68k/t-slibgcc-elf-ver: New file.
1753 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1754 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1756 * config/pa/t-slibgcc-hpux: New file.
1757 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1759 * config/rs6000/libgcc-darwin.10.4.ver,
1760 config/rs6000/libgcc-darwin.10.5.ver: New files.
1761 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1762 config/rs6000/libgcc-glibc.ver.
1763 * config/rs6000/libgcc-ppc64.ver: Rename to
1764 config/rs6000/libgcc-ibm-ldouble.ver.
1765 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1766 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1767 * config/rs6000/t-ldbl128: Rename to ...
1768 * config/rs6000/t-linux: ... this.
1769 (SHLIB_MAPFILES): Adapt filename.
1770 * config/rs6000/t-slibgcc-aix: New file.
1771 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1772 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1773 libgcc-excl.ver, libgcc-glibc.ver.
1774 (SHLIB_LINK, SHLIB_INSTALL): Remove.
1775 * config/sparc/libgcc-glibc.ver: New file.
1776 * config/sparc/t-linux: New file.
1777 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1778 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1779 t-slibgcc-elf-ver to tmake_file.
1780 Add t-slibgcc-nolc-override to tmake_file for posix threads on
1782 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1783 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1784 t-slibgcc-elf-ver, t-linux to tmake_file.
1785 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1787 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1788 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1789 (alpha*-dec-*vms*): Likewise.
1790 (arm*-*-freebsd*): Append to tmake_file.
1791 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1792 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1794 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1795 tmake_file for arm*-*-symbianelf*.
1796 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1797 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1799 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1800 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1801 pa/t-slibgcc-dwarf-ver to tmake_file.
1802 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1803 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1804 (hppa*64*-*-hpux11*): Likewise.
1805 (hppa[12]*-*-hpux11*): Likewise.
1806 (x86_64-*-darwin*): Don't override tmake_file, but only keep
1807 i386/t-crtpc, i386/t-crtfm.
1808 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1809 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1811 Add i386/t-cygwin to tmake_file.
1812 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1813 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1814 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1816 Add i386/t-mingw32 to tmake_file.
1817 (x86_64-*-mingw*): Likewise.
1818 (ia64*-*-freebsd*): Append to tmake_file.
1819 (ia64*-*-linux*): Append to tmake_file.
1820 Replace ia64/t-glibc by ia64/t-linux.
1821 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1823 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1824 t-slibgcc-hpux to tmake_file.
1825 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1826 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1827 (m32rle-*-linux*): Likewise.
1828 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1830 (microblaze*-linux*): New case.
1831 Append to tmake_file, add t-slibgcc-nolc-override.
1832 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1833 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1834 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1835 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1836 rs6000/t-slibgcc-aix to tmake_file.
1837 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1838 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1839 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1840 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1841 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1842 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
1844 (sparc-*-linux*): Append to tmake_file for *-leon*.
1845 Add sparc/t-linux to tmake_file for non-Leon targets.
1846 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
1847 (tic6x-*-uclinux): New case.
1848 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
1849 (tic6x-*-*): Add c6x/t-elf to tmake_file.
1850 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
1851 (am33_2.0-*-linux*): Append to tmake_file.
1852 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1853 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
1854 x86_64-*-kfreebsd*-gnu.
1855 Add i386/t-linux to tmake_file.
1857 2011-10-28 Ian Lance Taylor <iant@google.com>
1859 * config/i386/morestack.S: Correct CFI information to do proper
1860 returns throughout function. In 32-bit mode, save %ebx so that it
1861 is restored on unwind.
1863 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
1865 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
1866 case where B3 isn't the return register.
1868 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
1869 logic for doubleword pops.
1871 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
1873 * config/rs6000/t-freebsd: Add wildcard.
1875 2011-10-21 Paul Brook <paul@codesourcery.com>
1877 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
1879 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
1880 Eric Botcazou <ebotcazou@adacore.com>
1883 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
1884 fs->signal_frame to 1.
1886 2011-10-07 Ian Lance Taylor <iant@google.com>
1888 * generic-morestack-thread.c: #include <errno.h>.
1890 2011-10-07 Ian Lance Taylor <iant@google.com>
1893 * generic-morestack.c (__generic_morestack): Make sure the segment
1894 is large enough for both the stack frame and the copied
1897 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1900 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
1903 2011-09-28 Nick Clifton <nickc@redhat.com>
1905 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
1906 64-bit doubles are not enabled.
1907 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
1908 and floatunsisf functions.
1910 2011-09-13 Paul Brook <paul@codesourcery.com>
1912 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
1913 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
1914 * unwind-arm-common.inc: New file.
1915 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
1916 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
1917 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
1918 * config/c6x/libunwind.S: New file.
1919 * config/c6x/pr-support.c: New file.
1920 * config/c6x/unwind-c6x.c: New file.
1921 * config/c6x/unwind-c6x.h: New file.
1922 * config/c6x/t-c6x-elf: New file.
1924 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
1926 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
1927 (ASM_DIVZERO): Ditto.
1928 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
1930 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
1932 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
1934 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
1937 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
1938 instead of an assembly one.
1940 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
1943 * Makefile.in (install-unwind_h): Create
1944 $(gcc_objdir)/include/unwind.h atomically.
1946 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1948 * Makefile.in (install-unwind_h): Remove destination file first.
1950 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1953 * config/mips/t-mips16: New file.
1954 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
1955 (mips*-*-linux*): Likewise.
1956 (mips*-sde-elf*): Likewise.
1957 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
1958 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
1959 Add mips/t-mips16 to tmake_file.
1960 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
1961 (mips-*-elf*): Likewise.
1962 (mips64-*-elf*): Likewise.
1963 (mips64orion-*-elf*): Likewise.
1964 (mips*-*-rtems*): Likewise.
1965 (mipstx39-*-elf*): Likewise.
1966 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
1967 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
1969 Use $(srcdir) to refer to sync.c.
1971 ($(libgcc-sync-funcs-o)): Likewise.
1972 ($(libgcc-sync-size-funcs-s-o)): Likewise.
1973 ($(libgcc-sync-funcs-s-o)): Likewise.
1975 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
1977 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
1980 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
1983 * config/i386/value-unwind.h: New.
1985 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
1987 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
1988 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
1989 Add to tmake_file rather than overriding it.
1991 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1993 * config/t-softfp: Remove.
1994 * soft-fp: Moved from ../gcc/config.
1995 * soft-fp/README: Remove t-softfp reference.
1996 * soft-fp/t-softfp: Move to config/t-softfp.
1997 (softfp_machine_header): Remove.
1998 (softfp_file_list): Remove config subdir.
1999 (soft-fp-objects): New variable.
2000 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2001 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2002 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2003 * config/t-softfp-excl: New file.
2004 * config/t-softfp-sfdf: New file.
2005 * config/t-softfp-tf: New file.
2006 * config/no-sfp-machine.h: New file.
2007 * config/arm/sfp-machine.h: New file.
2008 * config/arm/t-softfp: New file.
2009 * config/c6x/sfp-machine.h: New file.
2010 * config/i386/32/t-fprules-softfp: Rename to ...
2011 * config/i386/32/t-softfp: ... this.
2012 (tifunctions, LIB2ADD): Remove.
2013 (softfp_int_modes): Override.
2014 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2016 * config/i386/64/eqtf2.c: Likewise.
2017 * config/i386/64/getf2.c: Likewise.
2018 * config/i386/64/letf2.c: Likewise.
2019 * config/ia64/sft-machine.h: New file.
2020 * config/ia64/t-fprules-softfp: Rename to ...
2021 * config/ia64/t-softfp: ... this.
2022 * config/lm32/sfp-machine.h: New file.
2023 * config/moxie/t-moxie-softfp: Remove.
2024 * config/rs6000/ibm-ldouble-format: New file.
2025 * config/rs6000/ibm-ldouble.c: New file.
2026 * config/rs6000/libgcc-ppc-glibc.ver: New file
2027 * config/rs6000/libgcc-ppc64.ver: New file
2028 * config/rs6000/sfp-machine.h: New file.
2029 * config/rs6000/t-freebsd: New file.
2030 * config/rs6000/t-ibm-ldouble: New file.
2031 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2032 libgcc-ppc-glibc.ver.
2033 * config/rs6000/t-linux64: New file.
2034 * config/rs6000/t-ppccomm (LIB2ADD): Add
2035 $(srcdir)/config/rs6000/ibm-ldouble.c.
2036 * config/rs6000/t-ppccomm-ldbl: New file.
2037 * config/score/sfp-machine.h: New file.
2038 * config.host (sfp_machine_header): Explain.
2039 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2040 t-softfp to tmake_file.
2041 (arm*-*-uclinux*): Likewise.
2042 (arm*-*-ecos-elf): Likewise.
2043 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2044 (arm*-*-rtems*): Likewise.
2045 (arm*-*-elf): Likewise.
2046 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2048 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2049 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2050 (lm32-*-uclinux*): Likewise.
2051 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2052 t-softfp-excl, t-softfp.
2053 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2054 (powerpc64-*-darwin*): Likewise.
2055 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2057 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2059 (powerpc-*-eabisim*): Likewise.
2060 (powerpc-*-elf*): Likewise.
2061 (powerpc-*-eabialtivec*): Likewise.
2062 (powerpc-xilinx-eabi*): Likewise.
2063 (powerpc-*-rtems*): Likewise.
2064 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2065 t-softfp-excl, t-softfp to tmake_file.
2066 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2067 rs6000/t-ppccomm-ldbl to tmake_file.
2068 (powerpcle-*-elf*): Likewise.
2069 (powerpcle-*-eabisim*): Likewise.
2070 (powerpcle-*-eabi*): Likewise.
2071 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2072 rs6000/t-ibm-ldouble to tmake_file.
2073 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2074 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2075 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2076 (tic6x-*-*): Likewise.
2077 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2078 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2079 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2080 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2081 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2082 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2083 t-softfp to tmake_file.
2084 * configure.ac (sfp_machine_header): Provide default if unset.
2086 Link sfp-machine.h to config/$sfp_machine_header.
2087 * configure: Regenerate.
2089 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2091 * Makefile.in (double_type_size, long_double_type_size): Set.
2092 Remove $(fpbit-in-libgcc) support.
2093 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2094 (fpbit-src): New variable.
2095 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2096 Compile with -DFLOAT $(FPBIT_CFLAGS).
2098 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2099 Compile with $(FPBIT_CFLAGS).
2101 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2102 Compile with -DFLOAT $(TPBIT_CFLAGS).
2104 * configure.ac (double_type_size, long_double_type_size):
2105 Determine and substitute.
2106 * configure: Regenerate.
2107 * fp-bit.c, fp-bit.h: New files.
2108 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2109 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2110 * config/mips/t-mips: New file.
2111 * config/mips/t-sdemtk: New file.
2112 * config/rs6000/ppc64-fp.c: New file.
2113 * config/rs6000/t-darwin (LIB2ADD): Add
2114 $(srcdir)/config/rs6000/ppc64-fp.c.
2115 * config/rs6000/t-ppc64-fp: New file.
2116 * config/rx/rx-lib.h: New file.
2117 * config/rx/t-rx (FPBIT): Set to true.
2118 ($(gcc_objdir)/fp-bit.c): Remove.
2119 (DPBIT): Set to true only with -m64bit-doubles.
2120 ($(gcc_objdir)/dp-bit.c): Remove.
2121 * config/sparc/t-softfp: Remove.
2122 * config/spu/t-elf: New file.
2123 * config/t-fdpbit, config/t-fpbit: New files.
2124 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2125 (mips*-*-*): Likewise.
2126 (arm-wrs-vxworks): Likewise.
2127 (arm*-*-freebsd*): Likewise.
2128 (avr-*-rtems*): Add t-fpbit to tmake_file.
2129 (avr-*-*): Likewise.
2130 (bfin*-elf*): Add t-fdpbit to tmake_file.
2131 (bfin*-uclinux*): Likewise.
2132 (bfin*-linux-uclibc*): Likewise.
2133 (bfin*-rtems*): New case.
2134 Add t-fdpbit to tmake_file.
2135 (bfin*-*): Add t-fdpbit to tmake_file.
2136 (crisv32-*-elf): Likewise.
2137 (cris-*-linux*): Likewise.
2138 (fr30-*-elf): Likewise.
2139 (frv-*-elf, frv-*-*linux*): Likewise.
2140 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2141 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2142 (m32r-*-elf*): Likewise.
2143 (m32rle-*-elf*): Likewise.
2144 (m32r-*-linux*): Likewise.
2145 (m32rle-*-linux*): Likewise.
2146 (mcore-*-elf): Add t-fdpbit to tmake_file.
2147 (microblaze*-*-*): Likewise.
2148 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2149 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2150 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2152 Add mips/t-tpbit to tmake-file.
2153 (mips*-*-linux*): Fix typo.
2154 (mips*-sde-elf*): New case
2155 Add mips/t-sdemtk unless using newlib.
2156 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2157 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2158 (mn10300-*-*): Likewise.
2159 (pdp11-*-*): Likewise.
2160 (picochip-*-*): Add t-fpbit to tmake_file.
2161 (powerpc-*-eabisimaltivec*): Likewise.
2162 (powerpc-*-eabisim*): Likewise.
2163 (powerpc-*-elf*): Likewise.
2164 (powerpc-*-eabialtivec*): Likewise.
2165 (powerpc-xilinx-eabi*): New case.
2166 Add t-fdpbit to tmake_file.
2167 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2168 (powerpc-*-rtems*): Likewise.
2169 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2171 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2173 (powerpc-*-lynxos*): Likewise.
2174 (powerpcle-*-elf*): Likewise.
2175 (powerpcle-*-eabisim*): Likewise.
2176 (powerpcle-*-eabi*): Likewise.
2177 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2178 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2179 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2180 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2181 (rx-*-elf): Add t-fdpbit to tmake_file.
2182 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2183 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2184 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2185 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2187 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2188 (sh-wrs-vxworks): Likewise.
2189 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2190 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2191 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2192 (sparc64-*-rtems*): ... new case.
2193 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2194 (spu-*-elf*): Likewise.
2195 Add spu/t-elf to tmake_file.
2196 (v850*-*-*): Add t-fdpbit to tmake_file.
2197 (xstormy16-*-elf): Likewise.
2198 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2199 (mep*-*-*): Likewise.
2201 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2203 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2205 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2206 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2207 (install-unwind_h): New target.
2208 (all): Depend on it.
2209 * config.host (unwind_header): New variable.
2210 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2211 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2212 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2213 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2214 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2216 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2218 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2220 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2222 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2223 (ia64*-*-freebsd*): Likewise.
2224 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2226 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2227 $with_system_libunwind.
2228 (ia64*-*-hpux*): Set tmake_file.
2229 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2230 (picochip-*-*): Set tmake_file.
2231 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2233 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2234 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2235 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2236 (xtensa*-*-elf*): Set tmake_file.
2237 (xtensa*-*-linux*): Likewise.
2238 * configure.ac: Include ../config/unwind_ipinfo.m4.
2239 Call GCC_CHECK_UNWIND_GETIPINFO.
2240 Link unwind.h to $unwind_header.
2241 * configure: Regenerate.
2242 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2243 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2244 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2245 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2246 * config/unwind-dw2-fde-darwin.c: New file.
2247 * config/arm/libunwind.S, config/arm/pr-support.c,
2248 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2249 config/arm/unwind-arm.h,: New files.
2250 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2251 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2252 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2253 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2254 config/ia64/unwind-ia64.h: New files.
2255 * config/picochip/t-picochip: New file.
2256 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2258 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2259 * config/s390/t-tpf (LIB2ADDEH): Remove.
2260 * config/t-darwin (LIB2ADDEH): Set.
2261 * config/t-eh-dw2-dip: New file.
2262 * config/t-libunwind, config/t-libunwind-elf: New files.
2263 * config/t-sol2 (LIB2ADDEH): Remove.
2264 * config/xtensa/t-xtensa: New file.
2266 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2268 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2269 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2270 long long to check rt_sigreturn syscall.
2272 2011-08-02 Alan Modra <amodra@gmail.com>
2274 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2275 Restore for indirect call bcrtl from correct stack slot, and only
2276 if cfa+40 isn't valid.
2278 2011-08-01 Julian Brown <julian@codesourcery.com>
2280 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2281 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2282 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2284 2011-08-01 Julian Brown <julian@codesourcery.com>
2286 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2287 (libgcc-std.ver.in): Use above.
2288 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2289 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2291 * config/t-fixedpoint-gnu-prefix: New file.
2292 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2293 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2296 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2298 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2299 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2300 for x86-64. Properly check __x86_64__ and __LP64__.
2302 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2304 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2306 (_FP_WS_TYPE): Likewise.
2307 (_FP_I_TYPE): Likewise.
2309 2011-07-28 Alan Modra <amodra@gmail.com>
2311 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2312 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2313 in a plt call stub. Do restore r2 if stopped on bctrl.
2315 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2317 * config.host (i[3456x]86-*-netware*): Remove.
2318 * config/i386/netware-crt0.c, config/i386/t-nwld,
2319 config/i386/t-slibgcc-nwld: Remove.
2321 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2323 * config.host: Handle tic6x-*-*.
2324 * config/c6x/c6x-abi.h: New file.
2326 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2328 * config/i386/crtprec.c: New file.
2329 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2330 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2331 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2332 (x86_64-*-darwin*): Likewise.
2333 (i[34567]86-*-solaris2*: Likewise.
2335 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2337 * config/alpha/crtfastmath.c: New file.
2338 * config/i386/crtfastmath.c: New file.
2339 * config/ia64/crtfastmath.c: New file.
2340 * config/mips/crtfastmath.c: New file.
2341 * config/sparc/crtfastmath.c: New file.
2343 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2345 Add -frandom-seed=gcc-crtfastmath.
2346 * config/alpha/t-crtfm: Remove.
2347 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2348 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2350 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2351 (alpha*-dec-osf5.1*): Likewise.
2352 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2353 Add crtfastmath.o to extra_parts.
2354 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2355 Add crtfastmath.o to extra_parts.
2356 (x86_64-*-darwin*): Likewise.
2357 (x86_64-*-mingw*): Likewise.
2358 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2359 (ia64*-*-freebsd*): Likewise.
2360 (ia64*-*-linux*): Likewise.
2361 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2362 Add crtfastmath.o to extra_parts.
2364 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2366 * config/darwin-crt3.o: New file.
2367 * config/rs6000/darwin-crt2.c: New file.
2368 * config/t-darwin: New file.
2369 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2371 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2372 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2373 (powerpc64-*-darwin*): Likewise.
2375 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2377 * config/i386/netware-crt0.c: New file.
2378 * config/i386/t-nwld: Rename to ...
2379 * config/i386/t-slibgcc-nwld: ... this.
2380 * config/i386/t-nwld: New file.
2381 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2383 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2386 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2388 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2390 * configure: Regenerate.
2392 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2394 * dfp-bit.c, dfp-bit.h: New files.
2395 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2397 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2398 ($(d64pbit-o)): Likewise.
2399 ($(d128pbit-o)): Likewise.
2400 * config/t-dfprules: New file.
2401 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2402 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2403 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2404 (x86_64-*-linux*): Likewise.
2405 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2406 (i[34567]86-*-cygwin*): Likewise.
2407 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2408 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2410 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2412 * Makfile.in (LIBGCOV): New variable.
2413 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2414 * libgcov.c: New file.
2416 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2418 * fixed-bit.c, fixed-bit.h: New files.
2419 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2420 refer to fixed-bit.c.
2422 2011-07-07 Joseph Myers <joseph@codesourcery.com>
2424 * config.host (*local*): Remove.
2426 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2429 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2430 like i?86-*-solaris2.1[0-9]*.
2431 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2432 * configure.ac (i?86-*-solaris2*): Likewise.
2433 * configure: Regenerate.
2435 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
2437 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2438 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2439 md_unwind_header by splitting out of...
2440 (i[34567]86-*-linux*): ... this.
2441 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2442 Remove md_unwind_header by splitting out of...
2443 (x86_64-*-linux*): ... this.
2445 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
2447 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2449 2011-06-28 Nick Clifton <nickc@redhat.com>
2451 * config.host: Recognize all V850 variants.
2453 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
2455 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2457 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2459 * shared-object.mk (c_flags-$o): Save c_flags.
2460 ($(base)$(objext)): Use it.
2461 ($(base)_s$(objext)): Likewise.
2463 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2465 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2466 * libgcc-std.ver.in (GCC_4.7.0): New section.
2468 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
2472 * config/avr/t-avr: Fix line endings.
2473 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2476 2011-06-14 Olivier Hainque <hainque@adacore.com>
2477 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2479 * config/mips/irix6-unwind.h: New file.
2480 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2482 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
2484 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2485 (sparc64_fallback_frame_state): Use it.
2486 (sparc64_frob_update_context): Further adjust context.
2487 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2488 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2489 * config/sparc/sol2-cn.S: Likewise.
2491 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2493 * enable-execute-stack-empty.c: New file.
2494 * enable-execute-stack-mprotect.c: New file.
2495 * config/i386/enable-execute-stack-mingw32.c: New file.
2496 * config.host (enable_execute_stack): New variable.
2497 Select appropriate variants.
2498 * configure.ac: Link enable-execute-stack.c to
2499 $enable_execute_stack.
2500 * configure: Regenerate.
2501 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2502 (lib2funcs): Remove _enable_execute_stack.
2504 2011-06-09 David S. Miller <davem@davemloft.net>
2505 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2507 * config.host (sparc-*-linux*): Correct md_unwind_header
2509 (s390x-ibm-tpf*): Fix typo.
2511 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2513 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2514 Add crtfastmath.o to extra_parts.
2515 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2517 * config/mips/t-crtfm: Remove.
2519 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2521 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2523 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2525 * config.host (sh*-*-linux*): Fix typo.
2527 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2529 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2530 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2531 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2532 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2533 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2534 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2535 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2536 Wrap in !__MINGW64__.
2537 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2538 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2539 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2540 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2541 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2542 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2543 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2545 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2546 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2547 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2548 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2549 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2550 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2551 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2552 * config/no-unwind.h: New file.
2553 * config.host (md_unwind_header): Document.
2555 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2556 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2557 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2558 hppa[12]*-*-hpux11*): Set md_unwind_header.
2559 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2560 Set md_unwind_header.
2561 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2562 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2563 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2564 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2565 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2566 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2567 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2569 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2570 * configure: Regenerate.
2572 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2574 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2575 Set tmake_file, extra_parts.
2576 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2578 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2580 * config/mips/t-irix6: New file.
2581 * config/mips/t-slibgcc-irix: New file.
2583 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2585 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2586 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2588 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2590 * configure.ac (target_thread_file): Determine thread model.
2591 * configure: Regenerate.
2592 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2593 * config/alpha/t-alpha: New file.
2594 * config/alpha/t-crtfm: Use $<.
2595 * config/alpha/t-ieee: New file.
2596 * config/alpha/t-osf-pthread: New file.
2597 * config/alpha/t-slibgcc-osf: New file.
2598 * config/alpha/libgcc-osf5.ver: New file.
2600 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2602 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2604 Add crtfastmath.o to extra_parts.
2606 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2608 * config/gmon-sol2.c: Reindent.
2610 Remove, correct casts.
2611 Use STDERR_FILENO, NULL.
2612 (BASEADDRESS): Remove.
2614 (errno, sbrk): Remove declarations.
2615 (monstartup) [hp300]: Remove.
2618 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2620 * Makefile.in (cpu_type): Define.
2621 * config.host (i[34567]86-*-rtems*): Handle it.
2622 (i[34567]86-*-solaris2*): Move body ...
2623 (*-*-solaris2*): ... here.
2624 New case, generalize.
2625 (sparc-*-elf*): Handle it.
2626 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2627 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2628 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2630 (sparc*-*-solaris2*): ... this.
2632 (sparc64-*-elf*): Handle it.
2633 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2634 Merge ../gcc/config/i386/gmon-sol2.c.
2635 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2637 Merge ../gcc/config/i386/sol2-gc1.asm.
2638 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2640 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2642 * config/i386/t-crtfm (crtfastmath.o): Use $<.
2643 * config/i386/t-crtstuff: New file.
2644 * config/i386/t-softfp: New file.
2645 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2646 $(T)crti.o, $(T)crtn.o): Remove.
2647 (gcrt1.o): New rule.
2648 (TARGET_LIBGCC2_CFLAGS): Remove.
2649 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2650 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2651 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2652 * config/sparc/t-sol2: New file.
2653 * config/sparc/t-crtfm: Move to ...
2654 * config/t-crtfm: ... this.
2655 Use $(cpu_type), $<.
2656 * config/t-crtin: New file.
2657 * config/sparc/t-softfp: New file.
2658 * config/sparc/t-softmul: New file.
2659 * config/t-rtems: New file.
2660 * config/t-slibgcc: New file.
2661 * config/t-slibgcc-elf-ver: New file.
2662 * config/t-slibgcc-gld: New file.
2663 * config/t-slibgcc-sld: New file.
2664 * config/t-sol2: New file.
2665 * configure.ac: Include ../config/lib-ld.m4.
2666 Call AC_LIB_PROG_LD_GNU.
2667 Substitute cpu_type.
2668 * configure: Regenerate.
2670 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
2673 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2674 libgcc-std.ver in the build directory.
2675 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2676 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2678 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
2680 * libgcc-std.ver.in: New file.
2681 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2683 (libgcc-std.ver): New rule.
2684 * config/t-gnu-prefix: New file.
2686 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2688 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2690 2011-05-10 Joseph Myers <joseph@codesourcery.com>
2692 * config/i386/darwin-lib.h: New file.
2694 2011-05-10 Joseph Myers <joseph@codesourcery.com>
2696 * config/arm/symbian-lib.h: New.
2698 2011-05-04 Chris Demetriou <cgd@google.com>
2700 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2701 (__x86.get_pc_thunk.bx): ...this.
2702 (__morestack): Adjust for rename, remove undef of __i686.
2704 2011-05-03 Chris Demetriou <cgd@google.com>
2706 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2708 2011-03-22 Joseph Myers <joseph@codesourcery.com>
2710 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2711 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2712 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2713 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2714 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2717 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
2719 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2720 Adjust copyright year.
2722 2011-03-07 Ian Lance Taylor <iant@google.com>
2724 * generic-morestack.c (__splitstack_find): Adjust returned stack
2725 pointer to include all registers pushed by __morestack.
2727 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2730 * configure.ac: Call ACX_NONCANONICAL_TARGET.
2731 (toolexecdir): Calculate and AC_SUBST.
2732 (toolexeclibdir): Likewise.
2733 * Makefile.in (target_noncanonical): Import.
2734 (toolexecdir): Likewise.
2735 (toolexeclibdir): Likewise.
2736 * configure: Regenerate.
2738 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
2741 * config/arm/bpabi.h: Rename to...
2742 * config/arm/bpabi-lib.h: ...this.
2744 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2746 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2748 * configure: Regenerate.
2750 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2752 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2753 __FLOAT_WORD_ORDER__.
2754 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2757 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2760 * Makefile.in (install-strip): New phony target.
2762 2010-11-07 Ian Lance Taylor <iant@google.com>
2765 * config/i386/morestack.S (__morestack_large_model): New
2768 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
2770 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2772 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2774 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
2776 * config/arm/bpabi.h: New file.
2777 * config/frv/frv-abi.h: New file.
2779 2010-10-01 Ian Lance Taylor <iant@google.com>
2781 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2782 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2784 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
2787 * config.host: Add the missing `$'.
2789 2010-09-30 Michael Eager <eager@eagercon.com>
2791 * config.host: Add microblaze*-*-*.
2792 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2793 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2794 udivsi3.asm,umodsi3.asm}: New.
2796 2010-09-28 Ian Lance Taylor <iant@google.com>
2798 * configure.ac: Adjust CFI test to test assembler directly rather
2799 than checking gcc preprocessor macro.
2800 * configure: Rebuild.
2802 2010-09-27 Ian Lance Taylor <iant@google.com>
2804 * configure.ac: Test whether assembler supports CFI directives.
2805 * config.host: Only add t-stack and i386/t-stack-i386 to
2806 tmake_file if libgcc_cv_cfi is "yes".
2807 * configure: Rebuild.
2809 2010-09-27 Ian Lance Taylor <iant@google.com>
2811 * generic-morestack.h: New file.
2812 * generic-morestack.c: New file.
2813 * generic-morestack-thread.c: New file.
2814 * config/i386/morestack.S: New file.
2815 * config/t-stack: New file.
2816 * config/i386/t-stack-i386: New file.
2817 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2818 i386/t-stack-i386 to tmake_file.
2820 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
2822 * Makefile.in (libgcc-extra-parts): Check for static archives and
2823 invoke ranlib after installing them.
2824 (gcc-extra-parts): Likewise.
2825 (install-leaf): Likewise.
2827 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
2829 * configure: Regenerated.
2831 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
2833 * configure: Regenerated.
2835 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
2836 Andrew Pinski <pinskia@gmail.com>
2839 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
2841 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
2844 * configure: Regenerated.
2846 2010-09-06 Andreas Schwab <schwab@redhat.com>
2848 * configure: Regenerate.
2850 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
2852 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
2854 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
2857 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
2858 Iain Sandoe <iains@gcc.gnu.org>
2861 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
2862 LIB2FUNCS_EXCLUDE functions.
2864 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2866 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
2868 * configure: Regenerate.
2870 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
2872 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
2873 i386/t-freebsd to tmake_file.
2874 * config/i386/t-freebsd: New file.
2875 * config/i386/libgcc-bsd.ver: New file.
2877 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
2879 * config.host (powerpc*-eabispe*): Set tmake_file.
2880 (powerpc*-eabi*): Likewise.
2881 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
2882 crtbeginS, crtendS, crtbeginT.
2884 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
2886 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
2887 to tmake_file. Add crtfastmath.o to extra_parts.
2888 * config/mips/t-crtfm: New.
2890 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
2892 * config.host (sparc64-*-rtems*): New target.
2894 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2896 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2899 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
2901 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
2903 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2905 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
2906 alpha-dec-osf5.0* support.
2908 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
2910 * config.host: Add lm32-*-rtems*.
2912 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2913 Uros Bizjak <ubizjak@gmail.com>
2916 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
2917 like other remaining 32-bit x86 OSes.
2918 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2920 * config/i386/libgcc-sol2.ver: New file.
2921 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
2923 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
2926 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
2927 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
2928 is used and substitute set_use_emutls.
2929 * configure: Regenerated.
2931 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
2933 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
2935 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2938 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
2940 ($(T)gcrt1.o): Likewise.
2941 ($(T)crt1.o): Likewise.
2942 ($(T)crti.o): Likewise.
2943 ($(T)crtn.o): Likewise.
2945 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2948 * Makefile.in (install): Use $(MAKE) string in rule, for
2951 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
2953 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
2954 * config/mmix/t-mmix: New file.
2955 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
2957 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
2960 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
2963 2010-01-04 Anthony Green <green@moxielogic.com>
2965 * config/moxie/crti.asm, config/moxie/crtn.asm,
2966 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
2967 config/moxie/t-moxie: New files.
2968 * config.host: Add t-moxie-softfp reference.
2970 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
2973 * config/t-slibgcc-darwin: Fix embedded rpaths for
2974 --enable-version-specific-runtime-libs, build extension stub
2975 libs exposing features available from current libgcc_s.
2977 2009-11-11 Jon Beniston <jon@beniston.com>
2979 * config.host: Add lm32 targets.
2980 * config/lm32: New directory.
2981 * config/lm32/libgcc_lm32.h: New file.
2982 * config/lm32/_mulsi3.c: New file.
2983 * config/lm32/_udivmodsi4.c: New file.
2984 * config/lm32/_divsi3.c: New file.
2985 * config/lm32/_modsi3.c: New file.
2986 * config/lm32/_udivsi3.c: New file.
2987 * config/lm32/_umodsi3.c: New file.
2988 * config/lm32/_lshrsi3.S: New file.
2989 * config/lm32/_ashrsi3.S: New file.
2990 * config/lm32/_ashlsi3.S: New file.
2991 * config/lm32/crti.S: New file.
2992 * config/lm32/crtn.S: New file.
2993 * config/lm32/t-lm32: New file.
2994 * config/lm32/t-elf: New file.
2995 * config/lm32/t-uclinux: New file.
2997 2009-10-26 Nick Clifton <nickc@redhat.com>
2999 * config.host: Add support for RX target.
3000 * config/rx: New directory.
3001 * config/rx/rx-abi-functions.c: New file. Supplementary
3002 functions for libgcc to support the RX ABI.
3003 * config/rx/rx-abi.h: New file. Supplementary header file for
3004 libgcc RX ABI functions.
3005 * config/rx/t-rx: New file: Makefile fragment for building
3008 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3010 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3011 constraint of y0 to "g".
3013 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3015 * config.host: Include the s390 makefile fragments.
3016 * config/s390/32/_fixdfdi.c: New file.
3017 * config/s390/32/_fixsfdi.c: New file.
3018 * config/s390/32/_fixtfdi.c: New file.
3019 * config/s390/32/_fixunsdfdi.c: New file.
3020 * config/s390/32/_fixunssfdi.c: New file.
3021 * config/s390/32/_fixunstfdi.c: New file.
3022 * config/s390/32/t-floattodi: New file.
3023 * config/s390/libgcc-glibc.ver: New file.
3024 * config/s390/t-crtstuff: New file.
3025 * config/s390/t-linux: New file.
3026 * config/s390/t-tpf: New file.
3028 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3030 * configure.ac (AC_PREREQ): Bump to 2.64.
3032 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3034 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3036 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3038 * configure: Regenerate.
3040 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3042 * config.host (ia64-hp-*vms*): New target.
3043 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3046 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3048 * configure.ac: Add snippet for maintainer-mode.
3049 * configure: Regenerate.
3050 * Makefile.in (AUTOCONF, configure_deps): New variables.
3051 ($(srcdir)/configure)): New rule, active only with maintainer
3054 2009-06-23 DJ Delorie <dj@redhat.com>
3057 * config.host: Add mep support.
3059 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3061 * config.host: Add i386/${host_address}/t-fprules-softfp and
3062 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3064 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3066 * config/i386/64/_multc3.c: Likewise.
3067 * config/i386/64/_powitf2.c: Likewise.
3068 * config/i386/64/eqtf2.c: Likewise.
3069 * config/i386/64/getf2.c: Likewise.
3070 * config/i386/64/letf2.c: Likewise.
3071 * config/i386/64/letf2.c: Likewise.
3072 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3073 unsigned long long for x64 mingw targets.
3074 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3075 (_FP_I_TYPE): Define as long long for x64 mingw target.
3077 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3079 * config.host (vax-*-linux*): New.
3081 2009-05-31 Anthony Green <green@moxielogic.com>
3083 * config.host: Add moxie support.
3084 * config/moxie/t-moxie: New file.
3086 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3088 * config.host: Add i386/${host_address}/t-fprules-softfp and
3089 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3091 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3093 * config.host: Add i386/${host_address}/t-fprules-softfp to
3094 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3096 2009-04-09 Nick Clifton <nickc@redhat.com>
3098 * config/ia64/tf-signs.c: Change copyright header to refer to
3099 version 3 of the GNU General Public License with version 3.1
3100 of the GCC Runtime Library Exception and to point readers at
3101 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3103 * config/i386/32/tf-signs.c: Likewise.
3104 * config/libbid/_addsub_dd.c: Likewise.
3105 * config/libbid/_addsub_sd.c: Likewise.
3106 * config/libbid/_addsub_td.c: Likewise.
3107 * config/libbid/_dd_to_df.c: Likewise.
3108 * config/libbid/_dd_to_di.c: Likewise.
3109 * config/libbid/_dd_to_sd.c: Likewise.
3110 * config/libbid/_dd_to_sf.c: Likewise.
3111 * config/libbid/_dd_to_si.c: Likewise.
3112 * config/libbid/_dd_to_td.c: Likewise.
3113 * config/libbid/_dd_to_tf.c: Likewise.
3114 * config/libbid/_dd_to_udi.c: Likewise.
3115 * config/libbid/_dd_to_usi.c: Likewise.
3116 * config/libbid/_dd_to_xf.c: Likewise.
3117 * config/libbid/_df_to_dd.c: Likewise.
3118 * config/libbid/_df_to_sd.c: Likewise.
3119 * config/libbid/_df_to_td.c: Likewise.
3120 * config/libbid/_di_to_dd.c: Likewise.
3121 * config/libbid/_di_to_sd.c: Likewise.
3122 * config/libbid/_di_to_td.c: Likewise.
3123 * config/libbid/_div_dd.c: Likewise.
3124 * config/libbid/_div_sd.c: Likewise.
3125 * config/libbid/_div_td.c: Likewise.
3126 * config/libbid/_eq_dd.c: Likewise.
3127 * config/libbid/_eq_sd.c: Likewise.
3128 * config/libbid/_eq_td.c: Likewise.
3129 * config/libbid/_ge_dd.c: Likewise.
3130 * config/libbid/_ge_sd.c: Likewise.
3131 * config/libbid/_ge_td.c: Likewise.
3132 * config/libbid/_gt_dd.c: Likewise.
3133 * config/libbid/_gt_sd.c: Likewise.
3134 * config/libbid/_gt_td.c: Likewise.
3135 * config/libbid/_isinfd128.c: Likewise.
3136 * config/libbid/_isinfd32.c: Likewise.
3137 * config/libbid/_isinfd64.c: Likewise.
3138 * config/libbid/_le_dd.c: Likewise.
3139 * config/libbid/_le_sd.c: Likewise.
3140 * config/libbid/_le_td.c: Likewise.
3141 * config/libbid/_lt_dd.c: Likewise.
3142 * config/libbid/_lt_sd.c: Likewise.
3143 * config/libbid/_lt_td.c: Likewise.
3144 * config/libbid/_mul_dd.c: Likewise.
3145 * config/libbid/_mul_sd.c: Likewise.
3146 * config/libbid/_mul_td.c: Likewise.
3147 * config/libbid/_ne_dd.c: Likewise.
3148 * config/libbid/_ne_sd.c: Likewise.
3149 * config/libbid/_ne_td.c: Likewise.
3150 * config/libbid/_sd_to_dd.c: Likewise.
3151 * config/libbid/_sd_to_df.c: Likewise.
3152 * config/libbid/_sd_to_di.c: Likewise.
3153 * config/libbid/_sd_to_sf.c: Likewise.
3154 * config/libbid/_sd_to_si.c: Likewise.
3155 * config/libbid/_sd_to_td.c: Likewise.
3156 * config/libbid/_sd_to_tf.c: Likewise.
3157 * config/libbid/_sd_to_udi.c: Likewise.
3158 * config/libbid/_sd_to_usi.c: Likewise.
3159 * config/libbid/_sd_to_xf.c: Likewise.
3160 * config/libbid/_sf_to_dd.c: Likewise.
3161 * config/libbid/_sf_to_sd.c: Likewise.
3162 * config/libbid/_sf_to_td.c: Likewise.
3163 * config/libbid/_si_to_dd.c: Likewise.
3164 * config/libbid/_si_to_sd.c: Likewise.
3165 * config/libbid/_si_to_td.c: Likewise.
3166 * config/libbid/_td_to_dd.c: Likewise.
3167 * config/libbid/_td_to_df.c: Likewise.
3168 * config/libbid/_td_to_di.c: Likewise.
3169 * config/libbid/_td_to_sd.c: Likewise.
3170 * config/libbid/_td_to_sf.c: Likewise.
3171 * config/libbid/_td_to_si.c: Likewise.
3172 * config/libbid/_td_to_tf.c: Likewise.
3173 * config/libbid/_td_to_udi.c: Likewise.
3174 * config/libbid/_td_to_usi.c: Likewise.
3175 * config/libbid/_td_to_xf.c: Likewise.
3176 * config/libbid/_tf_to_dd.c: Likewise.
3177 * config/libbid/_tf_to_sd.c: Likewise.
3178 * config/libbid/_tf_to_td.c: Likewise.
3179 * config/libbid/_udi_to_dd.c: Likewise.
3180 * config/libbid/_udi_to_sd.c: Likewise.
3181 * config/libbid/_udi_to_td.c: Likewise.
3182 * config/libbid/_unord_dd.c: Likewise.
3183 * config/libbid/_unord_sd.c: Likewise.
3184 * config/libbid/_unord_td.c: Likewise.
3185 * config/libbid/_usi_to_dd.c: Likewise.
3186 * config/libbid/_usi_to_sd.c: Likewise.
3187 * config/libbid/_usi_to_td.c: Likewise.
3188 * config/libbid/_xf_to_dd.c: Likewise.
3189 * config/libbid/_xf_to_sd.c: Likewise.
3190 * config/libbid/_xf_to_td.c: Likewise.
3191 * config/libbid/bid128.c: Likewise.
3192 * config/libbid/bid128_2_str.h: Likewise.
3193 * config/libbid/bid128_2_str_macros.h: Likewise.
3194 * config/libbid/bid128_2_str_tables.c: Likewise.
3195 * config/libbid/bid128_add.c: Likewise.
3196 * config/libbid/bid128_compare.c: Likewise.
3197 * config/libbid/bid128_div.c: Likewise.
3198 * config/libbid/bid128_fma.c: Likewise.
3199 * config/libbid/bid128_logb.c: Likewise.
3200 * config/libbid/bid128_minmax.c: Likewise.
3201 * config/libbid/bid128_mul.c: Likewise.
3202 * config/libbid/bid128_next.c: Likewise.
3203 * config/libbid/bid128_noncomp.c: Likewise.
3204 * config/libbid/bid128_quantize.c: Likewise.
3205 * config/libbid/bid128_rem.c: Likewise.
3206 * config/libbid/bid128_round_integral.c: Likewise.
3207 * config/libbid/bid128_scalb.c: Likewise.
3208 * config/libbid/bid128_sqrt.c: Likewise.
3209 * config/libbid/bid128_string.c: Likewise.
3210 * config/libbid/bid128_to_int16.c: Likewise.
3211 * config/libbid/bid128_to_int32.c: Likewise.
3212 * config/libbid/bid128_to_int64.c: Likewise.
3213 * config/libbid/bid128_to_int8.c: Likewise.
3214 * config/libbid/bid128_to_uint16.c: Likewise.
3215 * config/libbid/bid128_to_uint32.c: Likewise.
3216 * config/libbid/bid128_to_uint64.c: Likewise.
3217 * config/libbid/bid128_to_uint8.c: Likewise.
3218 * config/libbid/bid32_to_bid128.c: Likewise.
3219 * config/libbid/bid32_to_bid64.c: Likewise.
3220 * config/libbid/bid64_add.c: Likewise.
3221 * config/libbid/bid64_compare.c: Likewise.
3222 * config/libbid/bid64_div.c: Likewise.
3223 * config/libbid/bid64_fma.c: Likewise.
3224 * config/libbid/bid64_logb.c: Likewise.
3225 * config/libbid/bid64_minmax.c: Likewise.
3226 * config/libbid/bid64_mul.c: Likewise.
3227 * config/libbid/bid64_next.c: Likewise.
3228 * config/libbid/bid64_noncomp.c: Likewise.
3229 * config/libbid/bid64_quantize.c: Likewise.
3230 * config/libbid/bid64_rem.c: Likewise.
3231 * config/libbid/bid64_round_integral.c: Likewise.
3232 * config/libbid/bid64_scalb.c: Likewise.
3233 * config/libbid/bid64_sqrt.c: Likewise.
3234 * config/libbid/bid64_string.c: Likewise.
3235 * config/libbid/bid64_to_bid128.c: Likewise.
3236 * config/libbid/bid64_to_int16.c: Likewise.
3237 * config/libbid/bid64_to_int32.c: Likewise.
3238 * config/libbid/bid64_to_int64.c: Likewise.
3239 * config/libbid/bid64_to_int8.c: Likewise.
3240 * config/libbid/bid64_to_uint16.c: Likewise.
3241 * config/libbid/bid64_to_uint32.c: Likewise.
3242 * config/libbid/bid64_to_uint64.c: Likewise.
3243 * config/libbid/bid64_to_uint8.c: Likewise.
3244 * config/libbid/bid_b2d.h: Likewise.
3245 * config/libbid/bid_binarydecimal.c: Likewise.
3246 * config/libbid/bid_conf.h: Likewise.
3247 * config/libbid/bid_convert_data.c: Likewise.
3248 * config/libbid/bid_decimal_data.c: Likewise.
3249 * config/libbid/bid_decimal_globals.c: Likewise.
3250 * config/libbid/bid_div_macros.h: Likewise.
3251 * config/libbid/bid_dpd.c: Likewise.
3252 * config/libbid/bid_flag_operations.c: Likewise.
3253 * config/libbid/bid_from_int.c: Likewise.
3254 * config/libbid/bid_functions.h: Likewise.
3255 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3256 * config/libbid/bid_inline_add.h: Likewise.
3257 * config/libbid/bid_internal.h: Likewise.
3258 * config/libbid/bid_round.c: Likewise.
3259 * config/libbid/bid_sqrt_macros.h: Likewise.
3261 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3263 * Makefile.in: Change copyright header to refer to version
3264 3 of the GNU General Public License and to point readers at the
3265 COPYING3 file and the FSF's license web page.
3266 * config.host: Likewise.
3268 2009-04-07 Alan Modra <amodra@bigpond.net.au>
3270 * config.host: Reorder and merge to match config.gcc change.
3272 2009-04-03 Alan Modra <amodra@bigpond.net.au>
3274 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3276 2009-03-28 Joseph Myers <joseph@codesourcery.com>
3278 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3279 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3280 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3281 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3283 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
3285 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3286 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3288 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3290 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3291 ia64/t-softfp-compat to tmake_file.
3293 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3295 * config/ia64/__divxf3.asm: New.
3296 * config/ia64/_fixtfdi.asm: Likewise.
3297 * config/ia64/_fixunstfdi.asm: Likewise.
3298 * config/ia64/_floatditf.asm: Likewise.
3299 * config/ia64/t-fprules-softfp: Likewise.
3300 * config/ia64/t-softfp-compat: Likewise.
3301 * config/ia64/tf-signs.c: Likewise.
3303 2009-01-18 Ben Elliston <bje@au.ibm.com>
3305 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3307 2009-01-16 Ben Elliston <bje@au.ibm.com>
3309 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3312 2009-01-13 Ben Elliston <bje@au.ibm.com>
3314 * config/t-softfp: New file.
3315 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3316 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3318 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3320 * config.host: Add m32r*-*-rtems*.
3322 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3324 * config.host: Add m32c*-*-rtems*.
3326 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3329 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3330 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3331 * configure: Regenerate.
3332 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3333 tmake_file here from gcc/config.gcc.
3334 Move extra_parts here from gcc/config.gcc.
3335 * config/i386/t-sol2: Move here from gcc/config/i386.
3336 Use gcc_srcdir instead of srcdir.
3338 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3340 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3343 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3345 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3347 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3349 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3351 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3354 * config.host: Add picochip-*-*.
3356 2008-08-06 Bob Wilson <bob.wilson@acm.org>
3358 * config.host: Match more processor names for Xtensa.
3360 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3362 * config/i386/64/t-softfp-compat: Update comments.
3364 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3366 * config/i386/64/_divtc3-compat.c: Moved to ...
3367 * config/i386/64/_divtc3.c: Here.
3369 * config/i386/64/_multc3-compat.c: Moved to ...
3370 * config/i386/64/_multc3.c: Here.
3372 * config/i386/64/_powitf2-compat.c: Moved to ...
3373 * config/i386/64/_powitf2.c: Here.
3375 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3376 .c suffix instead of -compat.c.
3378 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
3380 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3381 (_FP_MUL_MEAT_D): Ditto.
3382 (_FP_DIV_MEAT_S): Ditto.
3383 (_FP_DIV_MEAT_D): Ditto.
3385 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3387 * Makefile.in: Add support for __sync_* libgcc functions.
3389 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3391 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3393 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3396 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3397 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3399 * config/i386/64/t-fprules-softfp: Moved to ...
3400 * config/i386/64/t-softfp-compat: This. New.
3402 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
3404 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3405 Initialize f with 0.0.
3407 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3410 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3412 * config/i386/64/_divtc3-compat.c: New.
3413 * config/i386/64/_multc3-compat.c: Likewise.
3414 * config/i386/64/_powitf2-compat.c: Likewise.
3415 * config/i386/64/eqtf2.c: Likewise.
3416 * config/i386/64/getf2.c: Likewise.
3417 * config/i386/64/letf2.c: Likewise.
3418 * config/i386/64/t-fprules-softfp: Likewise.
3420 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3422 * config.host: Add i386/${host_address}/t-fprules-softfp to
3423 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3424 i[34567]86-*-linux*, x86_64-*-linux*.
3426 * configure.ac: Set host_address to 64 or 32 for x86.
3427 * configure: Regenerated.
3429 * Makefile.in (config.status): Also depend on
3430 $(srcdir)/config.host.
3432 * config/i386/32/t-fprules-softfp: New.
3433 * config/i386/32/tf-signs.c: Likewise.
3435 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3437 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3438 Uros Bizjak <ubizjak@gmail.com>
3440 * config/i386/32/sfp-machine.h: New.
3442 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3444 * config/rs6000/t-ppccomm: Remove rules that conflict with
3445 auto-generated rules.
3447 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3449 * configure.ac: sinclude override.m4.
3450 * configure: Regenerate.
3452 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3454 * configure: Regenerate.
3456 2008-06-10 Joseph Myers <joseph@codesourcery.com>
3458 * Makefile.in (DECNUMINC): Remove
3459 -I$(MULTIBUILDTOP)../../libdecnumber.
3462 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3464 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3465 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3466 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3467 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3468 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3469 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3470 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3471 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3472 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3473 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3474 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3475 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3476 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3477 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3479 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3481 * config.host (sh2[lbe]*-*-linux*): Allow target.
3483 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
3485 * config/rs6000/t-ppccomm: Add build rules for new files.
3486 (LIB2ADD_ST): New variable.
3488 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3492 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3493 * config/t-avr: New file. Build 16bit libgcc functions.
3495 2008-03-02 Jakub Jelinek <jakub@redhat.com>
3498 * config/t-slibgcc-darwin: Make install-leaf dependent on
3499 install-darwin-libgcc-stubs instead of install.
3501 2008-01-25 Joseph Myers <joseph@codesourcery.com>
3503 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3504 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3505 sh-*-rtemscoff*): Remove cases.
3507 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3509 * Makefile.in (all): Use install-leaf rather than install.
3510 (install): Split most of the rule into...
3511 (install-leaf): ...this new one.
3513 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
3514 Paolo Bonzini <bonzini@gnu.org>
3517 * Makefile.in: Use @shlib_slibdir@ substitution to get
3518 correct install name on darwin.
3519 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3521 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
3523 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3524 cris-*-elf and cris-*-none.
3525 (crisv32-*-linux*): Similar, as cris-*-linux*.
3527 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3529 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3531 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3534 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3535 * configure: Regenerated.
3537 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3539 * Makefile.in (dfp-filenames): Replace decimal_globals,
3540 decimal_data, binarydecimal and convert_data with
3541 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3542 and bid_convert_data, respectively.
3544 2007-09-17 Chao-ying Fu <fu@mips.com>
3545 Nigel Stephens <nigel@mips.com>
3547 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3548 * Makefile.in (fixed_point): Define.
3549 Check if fixed_point is yes to build support functions.
3550 * configure.ac: Check for fixed_point support.
3551 * configure: Regenerated.
3552 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3553 funcs, modes, from, to.
3555 2007-09-11 Janis Johnson <janis187@us.ibm.com
3557 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3559 2007-09-10 Janis Johnson <janis187@us.ibm.com>
3561 * Makefile.in (dfp-filenames): Remove decUtility, add
3562 decDouble, decPacked, decQuad, decSingle.
3564 2007-08-27 Hans Kester <hans.kester@ellips.nl>
3566 * config.host : Add x86_64-elf target.
3568 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3570 * configure.ac (set_have_cc_tls): Add a missing =.
3571 * configure: Regenerated.
3573 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3575 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3576 and x86_64-*-linux*.
3578 * config/t-tls: New file.
3580 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3582 * configure.ac: Include ../config/enable.m4 and
3583 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
3584 supports TLS and substitute set_have_cc_tls.
3585 * configure: Regenerated.
3587 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
3589 * Makefile.in: Use libbid for DFP when BID is enabled.
3591 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
3593 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3594 extra_parts. Add config/i386/t-cygming to tmake_file.
3595 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3597 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
3598 Danny Smith <dannysmith@users.sourceforge.net>
3601 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3602 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
3603 * config/i386/t-crtfm: Compile crtfastmath.o with
3604 -minline-all-stringops.
3606 2007-05-10 Richard Sandiford <richard@codesourcery.com>
3608 * config.host (sparc-wrs-vxworks): New target.
3610 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
3612 * config.host: Recognize fido.
3614 2007-04-04 Janis Johnson <janis187@us.ibm.com>
3616 * configure: Check host, not target, for decimal float support.
3618 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
3620 * config/i386/t-crtpc: New file.
3621 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3622 (x86_64-*-linux*): Ditto.
3624 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
3626 * config.host (x86_64-*-mingw*): New target.
3628 2007-03-23 Michael Meissner <michael.meissner@amd.com>
3629 H.J. Lu <hongjiu.lu@intel.com>
3631 * Makefile.in (enable_decimal_float): New.
3633 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3634 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3635 (decbits-filenames): This.
3636 (decbits-objects): New.
3637 (libgcc-objects): Add $(decbits-objects).
3639 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3640 Substitute enable_decimal_float.
3641 * configure: Regenerated.
3643 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
3645 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3647 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
3649 * Makefile.in (install-info): New dummy target.
3651 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
3653 * config.host (bfin*-linux-uclibc*): Set extra_parts.
3655 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
3657 * Makefile.in: Add install-html and install-pdf dummy
3660 2007-02-05 Roger Sayle <roger@eyesopen.com>
3661 Daniel Jacobowitz <dan@codesourcery.com>
3663 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3664 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3665 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3667 2007-01-29 Janis Johnson <janis187@us.ibm.com>
3669 * Makefile.in (dec-filenames): Add decExcept.
3671 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3674 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3677 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
3679 * configure.ac: Add --enable-version-specific-runtime-libs.
3680 Correct $slibdir default.
3681 * configure: Regenerated.
3683 2007-01-23 Joseph Myers <joseph@codesourcery.com>
3685 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3687 2007-01-21 Andrew Pinski <pinskia@gmail.com>
3690 * config.host (alpha*-*-linux*): Set extra_parts.
3692 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
3694 * config/sh/t-linux: New.
3695 * config.host (sh*-*-linux*): Set tmake_file.
3697 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
3699 * Makefile.in (install): Handle multilibs.
3701 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3703 * Makefile.in: Added .PHONY entry for documentation targets.
3705 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3707 * Makefile.in: Add empty info, html, dvi, pdf targets.
3709 2007-01-04 Mike Stump <mrs@apple.com>
3711 * Makefile.in (MAKEINFO): Remove.
3714 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
3716 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3717 * configure: Regenerate.
3718 * Makefile.in (host_subdir): Substitute it.
3719 (gcc_objdir): Use it.
3721 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3723 * config.host (ia64*-*-linux*): Set tmake_file.
3725 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3727 * Makefile.in (version): Define.
3729 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
3730 Paolo Bonzini <bonzini@gnu.org>
3732 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3733 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3734 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3735 config/sparc/t-crtfm, config/t-slibgcc-darwin,
3736 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3737 shared-object.mk, siditi-object.mk, static-object.mk: New files.
3738 * configure: Generated.