1 2014-01-25 Walter Lee <walt@tilera.com>
4 2014-01-25 Walter Lee <walt@tilera.com>
6 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8 (__atomic_subword): Ditto.
10 2014-01-25 Walter Lee <walt@tilera.com>
12 Backport from mainline
13 2014-01-25 Walter Lee <walt@tilera.com>
15 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
17 (__atomic_nand_fetch_4): Add prefix op.
18 (__atomic_nand_fetch_8): Ditto.
20 2014-01-21 Baruch Siach <barch@tkos.co.il>
22 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
24 2014-01-03 Joseph Myers <joseph@codesourcery.com>
26 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
27 case of small numerator and finite nonzero result.
29 2013-11-10 Kai Tietz <ktietz@redhat.com>
31 Back-merged from trunk
32 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
33 Increment load-count on use of LIBGCC_SONAME DLL.
34 (hmod_libgcc): New static variable to hold handle of
36 (__gcc_deregister_frame): Decrement load-count of
39 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
41 * config/i386/32/sfp-machine.c (FP_HANDLE_EXCEPTIONS): Handle
43 * config/i386/64/sfp-machine.c (FP_HANDLE_EXCEPTIONS): Ditto.
45 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
47 Backport from trunk: Fix licenses on several libgcc files.
49 * config/ia64/unwind-ia64.h,
50 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
51 GPL-3.0-with-GCC-exception.
53 2013-06-08 Walter Lee <walt@tilera.com>
55 Backport from mainline:
56 2013-06-08 Walter Lee <walt@tilera.com>
58 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
59 Replace int64_t with long long. Add __extension__ where
62 2013-06-06 Douglas B Rupp <rupp@adacore.com>
64 * config.host (arm-wrs-vxworks): Configure with other soft float.
66 2013-05-20 Chung-Ju Wu <jasonwucj@gmail.com>
68 Backport from mainline:
69 2012-05-24 Olivier Hainque <hainque@adacore.com>
71 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
72 Use a separate command for stamp removals.
74 2013-04-11 Julian Brown <julian@codesourcery.com>
76 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
77 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
78 unsigned char/unsigned short.
79 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
81 2013-04-11 Release Manager
85 2013-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
88 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
90 2013-03-25 Oleg Endo <olegendo@gcc.gnu.org>
92 Backport from mainline:
93 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
96 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
97 (sdivsi3, udivsi3): Remove SH4 check and always compile these
100 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
102 Backport from mainline.
103 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
106 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
109 2013-03-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
111 * config.host (arm*-*-rtemself*): New.
112 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
113 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
115 2012-12-18 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org
117 Backport from mainline.
118 2012-10-15 Matthias Klose <doko@ubuntu.com>
120 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
122 2012-12-17 Matthias Klose <doko@ubuntu.com>
124 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
126 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
128 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
131 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
133 2012-12-04 Richard Henderson <rth@redhat.com>
136 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
138 2012-11-28 Richard Henderson <rth@redhat.com>
141 * emutls.c (__emutls_get_address): Avoid race condition between
142 obj->loc.offset read and emutls_key initialization.
144 2012-11-04 Uros Bizjak <ubizjak@gmail.com>
147 * config/i386/32/sfp-machine.h: Guard exception handling and
148 rounding handling code with _SOFT_FLOAT.
149 * config/i386/64/sfp-machine.h: Ditto.
151 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
153 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
156 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
158 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
160 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
162 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
164 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
166 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
169 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
171 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
172 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
173 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
176 2012-09-20 Release Manager
178 * GCC 4.7.2 released.
180 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
182 Backport from 2012-09-05 mainline r190697.
185 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
186 configured --with-avrlibc.
187 * config/avr/t-avrlibc: New file.
188 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
189 (DPBIT_FUNCS): Ditto.
190 (TPBIT_FUNCS): Ditto.
192 2012-08-21 Ian Lance Taylor <iant@google.com>
194 * config/i386/morestack.S (__morestack_non_split): Increase amount
195 of space allocated for non-split code stack.
197 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
199 Backported from mainline
200 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
202 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
203 rs6000/t-slibgcc-aix.
205 2012-06-14 Release Manager
207 * GCC 4.7.1 released.
209 2012-05-25 Ian Lance Taylor <iant@google.com>
211 * config/i386/morestack.S (__morestack_non_split): Check whether
212 caller is varargs and needs %bp to hold the stack frame on return.
214 2012-05-24 Olivier Hainque <hainque@adacore.com>
216 * Makefile.in: Move dependency on install-unwind_h from
217 "install-leaf" to "install".
219 2012-05-21 Andrew Pinski <apinski@cavium.com>
222 * configure.ac: Define the default includes to being none.
223 * configure: Regenerate.
225 2012-05-16 Olivier Hainque <hainque@adacore.com>
227 * Makefile.in (install-unwind_h): Rename into ...
228 (install-unwind_h-forbuild): New target.
229 (all): Use it instead of the former install-unwind_h.
230 (install-unwind_h): Reinstate, copy to user install destination
231 for include files, not to the internal gcc object directory one.
232 (install-leaf): Depend on it.
234 2012-04-30 Andreas Tobler <andreast@fgznet.ch>
236 Backport from mainline
237 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
239 * config.host: Add bits to support powerpc64-*-freebsd*.
240 * config/rs6000/freebsd-unwind.h: New file.
241 * config/rs6000/t-freebsd64: New file.
243 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
245 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
246 (mips*-*-linux*): Include mips/t-tpbit when long double is
249 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
251 struct siginfo vs. siginfo_t
255 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
257 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
258 siginfo_t instead of struct siginfo.
259 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
260 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
261 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
262 (ia64_handle_unwabi): Likewise.
263 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
264 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
265 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
266 (sh_fallback_frame_state): Likewise.
267 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
268 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
270 2012-04-06 Walter Lee <walt@tilera.com>
272 Backport from mainline
273 2012-03-07 Walter Lee <walt@tilera.com>
275 * config/tilepro/atomic.c: Rename "atomic_" prefix to
277 (atomic_xor): Rename and move definition to
278 config/tilepro/atomic.h.
279 (atomic_nand): Ditto.
280 * config/tilepro/atomic.h: Rename "atomic_" prefix to
282 (arch_atomic_xor): Move from config/tilepro/atomic.c.
283 (arch_atomic_nand): Ditto.
285 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
287 Backported from mainline
288 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
290 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
293 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
295 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
296 if it hasn't been previously saved.
298 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
300 Backport from 2012-03-28 mainline r185907.
303 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
304 instead of __AVR_HAVE_8BIT_SP__.
306 2012-03-22 Georg-Johann Lay <avr@gjlay.de>
308 Backport from 2012-03-07 mainline r185033.
311 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
313 Backport from 2012-03-07 mainline r185031.
316 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
319 Backport from 2012-03-07 mainline r185030.
323 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
324 if RAMPZ affects reading from RAM.
325 (__tablejump_elpm__): Ditto.
327 (__movmemx_hi): Ditto.
328 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
329 (__do_global_dtors): Ditto.
330 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
331 (__movmemx_hi): Ditto.
333 2012-03-22 Release Manager
335 * GCC 4.7.0 released.
337 2012-03-01 Kai Tietz <ktietz@redhat.com>
339 * soft-fp: Imported from glibc upstream.
341 2012-02-28 Kai Tietz <ktietz@redhat.com>
343 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
344 for mingw-targets as attribute gcc_struct.
346 2012-02-28 Ian Lance Taylor <iant@google.com>
348 * generic-morestack.c (__splitstack_releasecontext): Correct call
349 to __morestack_release_segments.
351 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
354 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
355 for __linux__ when removing signals from __morestack_fullmask.
357 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
360 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
362 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
364 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
365 instead of HAVE_INITFINI_ARRAY.
366 * config/ia64/crtend.S: Likewise.
368 2012-02-20 Kai Tietz <ktietz@redhat.com>
371 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
373 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
374 to w32-unwind.h header.
376 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
378 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
379 (mips*-*-linux*): Remove t-slibgcc-libgcc.
380 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
381 * config/mips/mips16.S (__mips16_rdhwr): Delete.
383 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
385 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
387 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
390 * config/darwin-crt-tm.c: Correct typo.
392 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
393 Patrick Marlier <patrick.marlier@gmail.com>
396 * config/darwin-crt-tm.c: Generate dummy functions.
398 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
399 Patrick Marlier <patrick.marlier@gmail.com>
402 * config/darwin-crt-tm.c (getTMCloneTable): New function.
403 (__doTMRegistrations): Call it.
404 (__doTMdeRegistrations): Likewise.
406 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
407 Anatoly Sokolov <aesok@post.ru>
408 Eric Weddington <eric.weddington@atmel.com>
411 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
412 (__epilogue_restores__): Ditto.
414 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
418 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
419 Solaris 11 and slightly reformat.
420 (sparc_is_sighandler): Likewise.
422 2012-02-14 Walter Lee <walt@tilera.com>
424 * config.host: Handle tilegx and tilepro.
425 * config/tilegx/sfp-machine.h: New file.
426 * config/tilegx/sfp-machine32.h: New file.
427 * config/tilegx/sfp-machine64.h: New file.
428 * config/tilegx/t-crtstuff: New file.
429 * config/tilegx/t-softfp: New file.
430 * config/tilegx/t-tilegx: New file.
431 * config/tilepro/atomic.c: New file.
432 * config/tilepro/atomic.h: New file.
433 * config/tilepro/linux-unwind.h: New file.
434 * config/tilepro/sfp-machine.h: New file.
435 * config/tilepro/softdivide.c: New file.
436 * config/tilepro/softmpy.S: New file.
437 * config/tilepro/t-crtstuff: New file.
438 * config/tilepro/t-tilepro: New file.
440 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
444 * gthr-posix.h: Allow static initializer macros to be disabled.
445 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
447 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
449 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
450 Add t-slibgcc-libgcc to tmake_file.
451 * config/mips/libgcc-mips16.ver: Revert previous patch.
452 * config/mips/mips16.S (__mips16_rdhwr): Hide.
454 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
455 Jayant R Sonar <jayant.sonar@kpitcummins.com>
457 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
458 * config/cr16/crti.S: New file.
459 * config/cr16/crtlibid.S: New file.
460 * config/cr16/crtn.S: New file.
461 * config/cr16/lib1funcs.S: New file.
462 * config/cr16/t-cr16: New file.
463 * config/cr16/t-crtlibid: New file.
464 * config/cr16/unwind-dw2.h: New file.
465 * config/cr16/unwind-cr16.c: New file.
466 * config/cr16/divmodhi3.c: New file.
468 2012-01-25 Alan Modra <amodra@gmail.com>
470 * config/rs6000/t-linux64: Delete. Move..
471 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
472 * config/rs6000/t-linux: ..and libgcc flags to here.
474 2012-01-22 Douglas B Rupp <rupp@gnat.com>
476 * config.host (i[34567]86-*-interix3*):
477 Change triplet to i[34567]86-*-interix[3-9]*.
478 * configure: Regenerate.
480 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
481 Richard Sandiford <rdsandiford@googlemail.com>
483 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
484 * config/mips/mips16.S (__mips16_rdhwr): New function.
485 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
487 2012-01-11 Nathan Sidwell <nathan@acm.org>
489 * libgcov.c (__gcov_init): Ignore objects with no functions.
491 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
494 Extend __pgmx semantics to linearize memory.
495 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
496 * config/avr/lib1funcs.S (__xload_1): New function.
497 (__movmemx_qi, __movmemx_hi): New functions.
498 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
501 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
503 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
504 purported sigacthandler address isn't null before dereferencing it.
505 (sparc_is_sighandler): Likewise.
507 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
510 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
511 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
512 (sparc_is_sighandler): Likewise.
513 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
515 2012-01-06 Tristan Gingold <gingold@adacore.com>
517 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
518 compatibility thunks...
519 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
520 (crtbeginS.o, crtendS.o): ... and these to ...
521 * config/ia64/t-ia64-elf: ... this new file.
522 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
523 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
525 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
527 * configure: Regenerate.
528 * config/s390/t-crtstuff: Remove -fPIC.
530 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
533 * enable-execute-stack-mprotect.c (getpagesize): Do not define
536 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
539 * config/avr/lib1funcs.S: Remove FIXME comments.
540 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
542 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
544 Implement light-weight DImode support.
545 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
546 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
547 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
548 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
550 2011-12-30 Nathan Sidwell <nathan@acm.org>
552 * libgcov.c (gcov_crc32): Remove global var.
553 (free_fn_data): New function.
554 (buffer_fn_data): Pass in filename, more robust error recovery.
555 (crc32_unsigned): New function.
556 (gcov_exit): More robust detection of new program. More robust
558 (__gcov_init): Do not update program's crc here.
560 2011-12-21 Tristan Gingold <gingold@adacore.com>
562 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
564 2011-12-21 Ian Lance Taylor <iant@google.com>
566 * config/i386/morestack.S: Simplify CFI opcodes throughout.
568 2011-12-20 Ian Lance Taylor <iant@google.com>
570 * config/i386/morestack.S (__morestack_non_split): If there is
571 enough stack space already, don't split. Ask for more stack space
574 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
576 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
578 (_Unwind_DebugHook): New function.
579 (uw_restore_core_regs): New define.
580 (unwind_phase2): Use uw_restore_core_regs instead of
582 (unwind_phase2_forced): Likewise.
583 (__gnu_Unwind_Resume): Likewise.
585 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
587 * config/alpha/linux-unwind.h: Update copyright years.
588 (MD_FROB_UPDATE_CONTEXT): New define.
589 (alpha_frob_update_context): New function.
591 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
593 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
594 tmake_file rather replacing it.
596 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
598 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
599 function is not used for PPC64.
600 (save_world): Amend comments. Update the VRsave mask to reflect the
602 (rest_world): Update comments, do not clobber r10, do not use r8.
603 (eh_rest_world_r10): Amend comments, do not use r8.
604 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
605 no longer used, move restore of CR and target address to the end of
608 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
610 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
611 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
613 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
616 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
617 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
619 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
621 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
623 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
626 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
627 * config/avr/lib1funcs.S (__muldi3): New function.
629 2011-12-06 Andrew Pinski <apinski@cavium.com>
631 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
633 (__frame_dummy_init_array_entry): Likewise.
635 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
637 Forward-port from gcc-4_6-branch r181936 2011-12-02.
641 * config/avr/lib1funcs.S (__prologue_saves__,
642 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
643 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
645 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
647 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
649 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
652 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
653 (_ITM_deregisterTMCloneTable): Likewise.
654 (__register_frame_info): Fix unused warning.
655 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
656 pthread_default_stacksize_np): Likewise.
657 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
659 2011-11-29 DJ Delorie <dj@redhat.com>
661 * config.host (rl78-*-elf): New case.
662 * config/rl78: New directory for the Renesas RL78.
664 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
666 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
669 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
672 * config/rs6000/t-savresfgpr: New file.
673 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
674 $(srcdir)/config/rs6000/eabi.S.
675 * config/rs6000/t-ppccomm-ldbl: Remove.
676 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
678 (powerpc-*-eabispe*): Likewise.
679 (powerpc-*-eabi*): Likewise.
680 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
681 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
682 to tmake_file, remove rs6000/t-ppccomm-ldbl.
683 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
685 (powerpc-*-eabisim*): Likewise.
686 (powerpc-*-elf*): Likewise.
687 (powerpc-*-eabialtivec*): Likewise.
688 (powerpc-xilinx-eabi*): Likewise.
689 (powerpc-*-rtems*): Likewise.
690 (powerpcle-*-elf*): Likewise.
691 (powerpcle-*-eabisim*): Likewise.
692 (powerpcle-*-eabi*): Likewise.
694 2011-11-27 Ian Lance Taylor <iant@google.com>
696 * generic-morestack.c (__splitstack_find): Check for NULL old
698 (__splitstack_resetcontext): New function.
699 (__splitstack_releasecontext): New function.
700 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
702 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
704 * config/darwin-crt-tm.c: Correct comments, use correct licence.
706 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
708 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
710 2011-11-26 Richard Henderson <rth@redhat.com>
712 * config/m68k/linux-atomic.c: New file.
713 * config/m68k/t-linux: New file.
714 * config.host (m68k-uclinux, m68k-linux): Use it.
716 2011-11-26 Richard Henderson <rth@redhat.com>
718 * crtstuff.c (__TMC_LIST__): Mark used not unused.
719 (__TMC_END__): Only declare if hidden is available; in the definition,
720 if hidden is unavailable add a null record.
721 (deregister_tm_clones, register_tm_clones): New.
722 (__do_global_dtors_aux, frame_dummy): Use them.
723 (__do_global_dtors, __do_global_ctors_1): Likewise.
725 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
727 * config/darwin-crt-tm.c: New file.
728 * config.host (darwin): Build crttms.o crttme.o to provide
729 startup and shutdown for tm clones.
730 * config/t-darwin (crttms.o): New build rule.
731 (crttme.o): Likewise.
733 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
735 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
738 2011-11-21 Richard Henderson <rth@redhat.com>
740 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
741 (__TMC_LIST__, __TMC_END__): New.
742 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
743 (__do_global_dtors): Likewise.
744 (frame_dummy): Call _ITM_registerTMCloneTable.
745 (__do_global_ctors_1): Likewise.
747 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
749 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
750 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
751 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
752 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
753 * config/i386/t-darwin64: Remove.
754 * config/sh/t-netbsd (LIB2ADD): Remove.
756 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
759 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
760 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
761 * config/avr/lib1funcs.S (wmov): New assembler macro.
762 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
763 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
764 (__udivmod64): New function.
765 (__negdi2): New function.
767 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
769 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
770 *-*-freebsd*aout*): Remove.
772 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
774 * static-object.mk (c_flags-$o): Save c_flags.
775 ($(base)$(objext)): Use it.
777 2011-11-18 Steve Ellcey <sje@cup.hp.com>
779 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
781 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
784 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
785 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
788 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
790 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
792 (aeabi_uidivmod): Likewise.
795 (aeabi_idivmod): Likewise.
798 2011-11-16 Tristan Gingold <gingold@adacore.com>
800 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
802 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
805 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
806 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
808 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
810 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
812 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
813 * config/pa/t-stublib64: Delete.
815 2011-11-12 Richard Henderson <rth@redhat.com>
817 * config/rs6000/linux-unwind.h (frob_update_context): Properly
818 cast the pointer argument to _Unwind_SetGRPtr.
820 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
822 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
824 2011-11-09 Ian Lance Taylor <iant@google.com>
826 * generic-morestack.c: Include <string.h>.
827 (uintptr_type): Define.
828 (struct initial_sp): Add dont_block_signals field. Reduce size of
830 (allocate_segment): Set prev field to NULL. Don't set
831 __morestack_current_segment or __morestack_segments.
832 (__generic_morestack): Update current->prev and *pp after calling
834 (__morestack_block_signals): Don't do anything if
835 dont_block_signals is set.
836 (__morestack_unblock_signals): Likewise.
837 (__generic_findstack): Check for initial_sp == NULL. Add casts to
839 (__splitstack_block_signals): New function.
840 (enum __splitstack_content_offsets): Define.
841 (__splitstack_getcontext, __splitstack_setcontext): New functions.
842 (__splitstack_makecontext): New function.
843 (__splitstack_block_signals_context): New function.
844 (__splitstack_find_context): New function.
845 * config/i386/morestack.S (__morestack_get_guard): New function.
846 (__morestack_set_guard, __morestack_make_guard): New functions.
847 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
849 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
851 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
852 (i[34567]86-*-mingw*): ... here.
853 (x86_64-*-mingw*): ... here.
855 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
857 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
859 2011-11-07 Nathan Sidwell <nathan@acm.org>
861 * libgcov.c (struct gcov_fn_buffer): New struct.
862 (buffer_fn_data): New helper.
863 (gcov_exit): Rework for new gcov data structures.
865 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
868 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
870 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
872 * config.host (tmake_file): Correct comment.
873 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
875 (bfin*-uclinux*): Likewise.
876 (bfin*-linux-uclibc*): Likewise.
877 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
879 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
881 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
882 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
883 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
884 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
885 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
886 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
887 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
888 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
889 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
890 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
891 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
892 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
893 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
895 * config/bfin/t-elf: Remove.
896 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
898 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
900 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
901 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
902 (lm32-*-elf*, lm32-*-rtems*): Split into ...
903 (lm32-*-elf*): ... this.
904 (lm32-*-rtems*): ... and this.
906 (m32r-*-rtems*): Add to tmake_file.
907 (moxie-*-rtems*): Likewise.
908 (sparc-*-rtems*): Likewise.
909 Remove t-rtems from tmake_file.
910 (sparc64-*-rtems*): Likewise.
911 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
914 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
917 * config/gthr-posix.h: Move ...
918 * gthr-posix.h: ... here.
919 * config/gthr-lynx.h: Reflect this.
920 * config/gthr-vxworks.h: Likewise.
921 * config/rs6000/gthr-aix.h: Likewise.
922 * configure.ac (target_thread_file): Likewise.
923 * configure: Regenerate.
925 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
927 * config.host (arm*-*-rtemseabi*): New target.
929 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
932 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
935 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
937 * config.host (epiphany-*-elf*): New configuration.
938 * config/epiphany: New Directory.
940 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
942 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
943 * config/avr/t-rtems: New.
944 Filter out _exit from LIB1ASMFUNCS.
946 2011-11-04 David S. Miller <davem@davemloft.net>
948 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
949 * configure: Rebuild.
951 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
953 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
956 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
959 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
960 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
962 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
965 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
967 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
969 * config/c6x/t-elf (LIB2ADDEH): Set.
970 * config/c6x/t-c6x-elf: Remove.
972 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
974 * config/i386/sol2-ci.S: Rename to ...
975 * config/i386/crti.S: ... this.
976 * config/i386/sol2-cn.S: Rename to ...
977 * config/i386/crtn.S: ... this.
978 * config/sparc/sol2-ci.S: Rename to ...
979 * config/sparc/crti.S: ... this.
980 * config/sparc/sol2-cn.S: Rename to ...
981 * config/sparc/crtn.S: ... this.
982 * config/t-sol2 (CUSTOM_CRTIN): Remove.
983 (crti.o, crtn.o): Remove.
985 2011-11-04 Tristan Gingold <gingold@adacore.com>
987 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
989 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
991 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
993 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
995 * config.host (crisv32-*-none, cris-*-none): Remove.
996 (crisv32-*-elf): Append to tmake_file, don't just set it.
997 (cris-*-elf): Add missing t-fdpbit to tmake_file.
999 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1001 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1002 (ecrtn$(objext)): Likewise.
1003 (ncrti$(objext)): Likewise.
1004 (ncrtn$(objext)): Likewise.
1006 2011-11-03 Andreas Schwab <schwab@redhat.com>
1008 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1010 2011-11-02 David S. Miller <davem@davemloft.net>
1012 * configure.ac: Set host_address on sparc too.
1013 * configure: Regenerate.
1014 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1015 based upon host_address.
1016 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1018 2011-11-02 Jason Merrill <jason@redhat.com>
1020 * config/rs6000/t-ppccomm: Add missing \.
1022 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1024 * gthr-single.h, gthr.h: New files.
1025 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1026 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1027 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1028 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1029 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1030 * configure.ac (thread_header): New variable.
1031 Set it depending on target_thread_file.
1032 (gthr-default.h): Link from $thread_header.
1033 * configure: Regenerate.
1034 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1036 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1038 * configure.ac (tm_file_): New variable.
1039 Determine from tm_file.
1040 (tm_file, tm_defines): Substitute.
1041 * configure: Regenerate.
1042 * mkheader.sh: New file.
1043 * Makefile.in (clean): Remove libgcc_tm.h.
1044 ($(objects)): Depend on libgcc_tm.h.
1045 (libgcc_tm_defines, libgcc_tm_file): New variables.
1046 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1047 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1048 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1049 ($(extra-parts)): Depend on libgcc_tm.h.
1050 * config.host (tm_defines, tm_file): New variable.
1051 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1052 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1053 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1054 (avr-*-rtems*): Likewise.
1055 (avr-*-*): Likewise.
1056 (frv-*-elf): Likewise.
1057 (frv-*-*linux*): Likewise.
1058 (h8300-*-rtems*): Likewise.
1059 (h8300-*-elf*): Likewise.
1060 (i[34567]86-*-darwin*): Likewise.
1061 (x86_64-*-darwin*): Likewise.
1062 (rx-*-elf): Likewise.
1063 (tic6x-*-uclinux): Likewise.
1064 (tic6x-*-elf): Likewise.
1065 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1066 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1067 * config/i386/cygming-crtbegin.c: Likewise.
1068 * config/i386/cygming-crtend.c: Likewise.
1069 * config/ia64/fde-vms.c: Likewise.
1070 * config/ia64/unwind-ia64.c: Likewise.
1071 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1072 * config/rs6000/darwin-fallback.c: Likewise.
1073 * config/stormy16/lib2funcs.c: Likewise.
1074 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1075 * crtstuff.c: Likewise.
1076 * dfp-bit.h: Likewise.
1077 * emutls.c: Likewise.
1078 * fixed-bit.c: Likewise.
1079 * fp-bit.c: Likewise.
1080 * generic-morestack-thread.c: Likewise.
1081 * generic-morestack.c: Likewise.
1082 * libgcc2.c: Likewise.
1083 * libgcov.c: Likewise.
1084 * unwind-dw2-fde-dip.c: Likewise.
1085 * unwind-dw2-fde.c: Likewise.
1086 * unwind-dw2.c: Likewise.
1087 * unwind-sjlj.c: Likewise.
1089 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1091 * configure.ac: Include ../config/picflag.m4.
1092 (GCC_PICFLAG): Call it.
1094 * configure: Regenerate.
1095 * Makefile.in (gcc_srcdir): Remove.
1096 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1097 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1098 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1099 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1100 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1103 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1104 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1105 to refer to libgcc2.c.
1107 * config/darwin-64.c: New file.
1108 * config/darwin-crt3.c: Remove comment.
1109 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1110 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1111 config/udivmodsi4.c: New files.
1112 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1113 config/memset.c: New files.
1114 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1115 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1116 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1117 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1118 * config/t-openbsd-thread: New file.
1119 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1120 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1121 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1122 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1125 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1126 to refer to gthr-posix.c.
1127 * config/alpha/t-vms (LIB2ADD): Set.
1128 * config/alpha/vms-gcc_shell_handler.c: New file.
1129 * config/arm/bpabi.c, config/arm/fp16.c,
1130 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1131 config/arm/unaligned-funcs.c: New files.
1132 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1133 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1134 * config/arm/t-linux: Likewise.
1135 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1136 * config/arm/t-netbsd: New file.
1137 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1138 * config/arm/t-symbian (LIB2ADD_ST): Set.
1139 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1140 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1141 * config/bfin/t-elf: New file.
1142 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1143 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1144 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1145 config/c6x/ltf.c: New files.
1146 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1147 (HOST_LIBGCC2_CFLAGS): Set.
1148 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1149 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1150 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1152 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1153 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1154 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1155 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1156 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1158 * config/frv/t-frv (LIB2ADD): Set.
1159 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1160 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1161 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1162 config/h8300/popcounthi2.c: New files.
1163 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1164 * config/i386/gthr-win32.c: New file.
1165 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1166 * config/i386/t-cygwin: Likewise.
1167 * config/i386/t-darwin, config/i386/t-darwin64,
1168 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1169 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1170 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1171 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1172 * config/ia64/quadlib.c: New file.
1173 * config/ia64/t-hpux (LIB2ADD): Set.
1174 * config/ia64/t-ia64: Add comment.
1175 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1176 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1177 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1178 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1179 * config/m32c/t-m32c (LIB2ADD): Set.
1180 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1181 * config/m32r/t-m32r: Likewise.
1182 * config/m68k/fpgnulib.c: New file.
1183 * config/m68k/t-floatlib (LIB2ADD): Set.
1184 (xfgnulib.c): New target.
1185 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1186 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1187 * config/mep/t-mep (LIB2ADD): Set.
1188 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1189 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1190 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1191 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1192 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1193 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1194 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1195 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1196 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1197 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1199 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1200 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1201 * config/pa/fptr.c, config/pa/lib2funcs.S,
1202 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1203 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1204 (LIB2ADD, LIB2ADD_ST): Set.
1205 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1206 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1208 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1209 * config/pdp11/t-pdp11: New file.
1210 * config/picochip/libgccExtras/adddi3.S,
1211 config/picochip/libgccExtras/ashlsi3.S,
1212 config/picochip/libgccExtras/ashrsi3.S,
1213 config/picochip/libgccExtras/clzsi2.S,
1214 config/picochip/libgccExtras/cmpsi2.S,
1215 config/picochip/libgccExtras/divmod15.S,
1216 config/picochip/libgccExtras/divmodhi4.S,
1217 config/picochip/libgccExtras/divmodsi4.S,
1218 config/picochip/libgccExtras/lshrsi3.S,
1219 config/picochip/libgccExtras/parityhi2.S,
1220 config/picochip/libgccExtras/popcounthi2.S,
1221 config/picochip/libgccExtras/subdi3.S,
1222 config/picochip/libgccExtras/ucmpsi2.S,
1223 config/picochip/libgccExtras/udivmodhi4.S,
1224 config/picochip/libgccExtras/udivmodsi4.S: New files.
1225 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1226 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1227 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1228 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1229 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1230 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1231 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1232 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1234 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1235 (HOST_LIBGCC2_CFLAGS): Set.
1236 * config/rs6000/t-darwin64: New file.
1237 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1238 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1239 * config/rs6000/t-ppccomm (LIB2ADD): Add
1240 $(srcdir)/config/rs6000/tramp.S.
1241 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1242 Add $(srcdir)/config/rs6000/eabi.S.
1243 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1244 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1245 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1246 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1247 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1248 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1249 * config/rs6000/tramp.S: New file.
1250 * config/s390/t-tpf: Remove.
1251 * config/sh/linux-atomic.S: New file.
1252 * config/sh/t-linux (LIB2ADD): Set.
1253 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1254 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1255 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1257 (HOST_LIBGCC2_CFLAGS): Set.
1258 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1259 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1260 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1261 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1262 config/spu/mfc_multi_tag_release.c,
1263 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1264 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1265 config/spu/multi3.c: New files.
1266 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1267 (HOST_LIBGCC2_CFLAGS): Set.
1268 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1269 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1270 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1271 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1272 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1273 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1274 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1275 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1276 config/stormy16/umodsi3.c: New files.
1277 * config/xtensa/lib2funcs.S: New file.
1278 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1279 * config/xtensa/t-xtensa (LIB2ADD): Set.
1280 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1281 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1282 Add t-freebsd-thread to tmake_file for posix threads.
1283 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1284 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1285 (*-*-lynxos*): Likewise.
1286 (*-*-netbsd*): Likewise.
1287 (*-*-openbsd*): Likewise.
1288 Add t-openbsd-thread to tmake_file for posix threads.
1289 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1290 (*-*-vxworks*): Set tmake_file.
1291 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1292 (alpha*-*-freebsd*): Likewise.
1293 (alpha*-*-netbsd*): Likewise.
1294 (alpha*-*-openbsd*): Likewise.
1295 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1296 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1297 (alpha*-dec-*vms*): Likewise.
1298 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1299 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1300 (bfin*-uclinux*): Likewise.
1301 (bfin*-linux-uclibc*): Likewise.
1302 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1303 (crisv32-*-none): Likewise.
1304 (cris-*-elf): Likewise.
1305 (cris-*-none): Likewise.
1306 (cris-*-linux*, crisv32-*-linux*): Likewise.
1307 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1309 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1311 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1312 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1313 (x86_64-*-elf*): Likewise.
1314 (i[34567]86-*-nto-qnx*): Likewise.
1315 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1317 (x86_64-*-mingw*): Likewise.
1318 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1319 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1320 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1321 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1322 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1324 (mipsisa64sr71k-*-elf*): Likewise.
1325 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1326 (mips-*-elf*, mipsel-*-elf*): Likewise.
1327 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1328 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1329 (mips*-*-rtems*): Likewise.
1330 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1332 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1333 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1334 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1335 (spu-*-elf*): Likewise.
1336 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1338 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1340 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1341 $(srcdir) to refer to $(LIB1ASMSRC).
1343 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1344 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1345 config/arm/lib1funcs.S: New files.
1346 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1347 * config/arm/t-arm: New file.
1348 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1349 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1350 config/arm/t-strongarm-elf: New files.
1351 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1352 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1353 * config/avr/lib1funcs.S: New file.
1354 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1355 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1356 * config/c6x/lib1funcs.S: New file.
1357 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1358 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1359 * config/frv/lib1funcs.S: New file.
1360 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1361 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1362 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1363 * config/ia64/__divxf3.asm: Rename to ...
1364 * config/ia64/__divxf3.S: ... this.
1365 Adapt lib1funcs.asm filename.
1366 * config/ia64/_fixtfdi.asm: Rename to ...
1367 * config/ia64/_fixtfdi.S: ... this.
1368 Adapt lib1funcs.asm filename.
1369 * config/ia64/_fixunstfdi.asm: Rename to ...
1370 * config/ia64/_fixunstfdi.S: ... this.
1371 Adapt lib1funcs.asm filename.
1372 * config/ia64/_floatditf.asm: Rename to ...
1373 * config/ia64/_floatditf.S: ... this.
1374 Adapt lib1funcs.asm filename.
1375 * config/ia64/lib1funcs.S: New file.
1376 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1377 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1378 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1379 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1380 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1381 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1382 * config/mep/lib1funcs.S: New file.
1383 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1384 * config/mips/mips16.S: New file.
1385 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1386 * config/pa/milli64.S: New file.
1387 * config/pa/t-linux, config/pa/t-linux64: New files.
1388 * config/picochip/lib1funcs.S: New file.
1389 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1390 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1391 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1392 * config/sh/t-netbsd: New file.
1393 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1394 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1395 * config/sh/t-sh64: New file.
1396 * config/sparc/lb1spc.S: New file.
1397 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1399 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1400 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1401 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1402 config/xtensa/lib1funcs.S: New files.
1403 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1404 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1406 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1407 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1408 (arm*-*-linux*): Likewise.
1409 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1410 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1411 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1412 (arm*-*-ecos-elf): Likewise.
1413 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1414 (arm*-*-rtems*): Likewise.
1415 (arm*-*-elf): Likewise.
1416 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1417 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1418 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1419 (bfin*-uclinux*): Likewise.
1420 (bfin*-linux-uclibc*): Likewise.
1421 (bfin*-rtems*): Likewise.
1422 (bfin*-*): Likewise.
1423 (fido-*-elf): Merge into m68k-*-elf*.
1424 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1425 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1426 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1427 (h8300-*-elf*): Likewise.
1428 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1429 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1430 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1431 (i[34567]86-*-mingw*): Likewise.
1432 (x86_64-*-mingw*): Likewise.
1433 (i[34567]86-*-interix3*): Likewise.
1434 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1435 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1436 (m68k-*-elf*): Also handle fido-*-elf.
1437 Add m68k/t-floatlib to tmake_file.
1438 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1439 (m68k-*-linux*): Likewise.
1440 (m68k-*-rtems*): Likewise.
1441 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1442 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1444 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1445 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1446 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1447 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1448 sh/t-netbsd to tmake_file.
1449 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1450 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1451 (sh-wrs-vxworks): Likewise.
1452 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1454 (v850*-*-*): Add v850/t-v850 to tmake_file.
1455 (vax-*-linux*): Add vax/t-linux to tmake_file.
1456 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1458 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1460 * crtstuff.c: New file.
1461 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1462 (CRTSTUFF_T_CFLAGS): Define.
1463 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1464 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1465 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1468 (crtbeginT.o): Use $(objext).
1469 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1470 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1471 (gcc-extra-parts): Remove.
1472 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1474 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1475 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1476 Add t-crtstuff-pic to tmake_file.
1477 (*-*-lynxos*): New case.
1478 Set tmake_file, extra_parts.
1479 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1480 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1481 *-*-netbsdelf[2-9]*.
1482 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1483 (*-*-rtems*): Set extra_parts.
1484 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1485 (*-*-uclinux*): New case.
1487 (*-*-vms*): New case.
1488 Set tmake_file, extra_parts.
1489 (*-*-elf): Set extra_parts.
1490 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1491 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1494 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1496 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1497 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1498 (arm-wrs-vxworks): Append to tmake_file.
1500 (arm*-*-uclinux*): Set extra_parts.
1501 (arm*-*-ecos-elf): Likewise.
1502 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1504 (arm*-*-rtems*): Set extra_parts.
1505 (arm*-*-elf): Likewise.
1506 (avr-*-rtems*): Clear extra_parts.
1507 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1509 (bfin*-uclinux*): Likewise.
1510 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1511 (bfin*-rtems*): Append to tmake_file.
1513 (bfin*-*): Likewise.
1514 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1515 (crisv32-*-elf): ... this.
1516 (crisv32-*-none): ... this.
1517 (cris-*-elf, cris-*-none): New cases.
1518 Add cris/t-elfmulti to tmake_file.
1519 (fr30-*-elf): Append to tmake_file.
1521 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1523 (h8300-*-rtems*): Append to tmake_file.
1525 (h8300-*-elf*): Likewise.
1526 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1528 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1530 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1531 (x86_64-*-elf*): Likewise.
1532 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1533 (x86_64-*-freebsd*): Likewise.
1534 (x86_64-*-netbsd*): Likewise.
1535 (i[34567]86-*-linux*): Likewise.
1536 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1537 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1538 (x86_64-*-linux*): Likewise.
1539 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1540 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1543 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1544 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1545 Append to extra_parts, remove crtbegin.o, crtend.o.
1546 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1547 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1548 crtend.o, crtbeginS.o, crtendS.o.
1549 (ia64*-*-linux*): Comment extra_parts.
1550 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1552 (iq2000*-*-elf*): Clear extra_parts.
1553 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1554 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1555 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1556 (m32r-*-rtems*): ... this.
1557 Add m32r/t-m32r to tmake_file.
1558 (m68k-*-elf*): Add t-crtin to tmake_file.
1559 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1560 (mcore-*-elf): Likewise.
1561 (microblaze*-*-*): Set extra_parts.
1562 (mips*-sde-elf*): New case.
1563 Set tmake_file, extra_parts.
1564 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1565 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1566 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1569 (mipsisa64sr71k-*-elf*): Likewise.
1570 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1571 (mips-*-elf*, mipsel-*-elf*): Likewise.
1572 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1573 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1574 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1575 (mips*-*-rtems*): Likewise.
1576 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1577 (moxie-*-*): Split into ...
1578 (moxie-*-elf, moxie-*-uclinux*): ... this.
1579 Add to extra_parts, remove crtbegin.o, crtend.o.
1580 (moxie-*-rtems*): New case.
1583 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1585 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1586 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1589 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1590 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1592 (powerpc-*-eabisim*): Likewise.
1593 (powerpc-*-elf*): Likewise.
1594 (powerpc-*-eabialtivec*): Likewise.
1595 (powerpc-xilinx-eabi*): Likewise.
1596 (powerpc-*-eabi*): Likewise.
1597 (powerpc-*-rtems*): Likewise.
1598 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1601 (powerpc-*-lynxos*): Add to tmake_file.
1602 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1603 rs6000/t-crtstuff, t-crtstuff-pic.
1605 (powerpcle-*-eabisim*): Likewise.
1606 (powerpcle-*-eabi*): Likewise.
1607 (rx-*-elf): Remove extra_parts.
1608 (s390x-ibm-tpf*): Set extra_parts.
1609 (score-*-elf): Set extra_parts.
1610 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1611 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1612 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1613 (sh64l*-*-netbsd*): Split into ...
1614 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1615 Add t-crtstuff-pic to tmake_file.
1617 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1619 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1620 (sparc-*-elf*): Remove t-crtin from tmake_file.
1621 Add to extra_parts, remove crtbegin.o, crtend.o.
1622 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1623 (sparc64-*-linux*): Likewise.
1624 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1625 Add to extra_parts, remove crtbegin.o, crtend.o.
1626 (sparc64-*-elf*): Remove t-crtin from tmake_file.
1627 Add to extra_parts, remove crtbegin.o, crtend.o.
1628 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1629 Add to extra_parts, remove crtbegin.o, crtend.o.
1630 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1631 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1632 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1634 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1636 (tic6x-*-*): Change to ...
1637 (tic6x-*-elf): ... this.
1639 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1641 (am33_2.0-*-linux*): Add comment.
1642 (mep*-*-*): Add mep/t-mep to tmake_file.
1644 * config/alpha/t-vms: New file.
1645 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1646 * config/arm/crti.S, config/arm/crtn.S: New files.
1647 * config/bfin/crti.S, config/bfin/crtn.S: New files.
1648 * config/bfin/crtlibid.S: New file.
1649 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1650 * config/c6x/crti.S, config/c6x/crtn.S: New files.
1651 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1652 (crti.o, crtin.o): New rules.
1653 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1654 * config/c6x/t-uclinux: New file.
1655 * config/cris/t-elfmulti: New file.
1656 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1657 * config/fr30/crti.S, config/fr30/crtn.S: New files.
1658 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1659 * config/frv/t-frv: New file.
1660 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1661 * config/h8300/crti.S, config/h8300/crtn.S: New files.
1662 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1664 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1665 refer to cygming-crtbegin.c, cygming-crtend.c.
1667 * config/i386/t-nto: New file.
1668 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1669 * config/ia64/crti.S, config/ia64/crtn.S: New files.
1670 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1671 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1674 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1675 (crtinitS.o): New rule.
1676 * config/ia64/vms-crtinit.S: New file.
1677 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1678 * config/m32r/initfini.c: New file.
1679 * config/m32r/t-linux, config/m32r/t-m32r: New files.
1680 * config/m68k/crti.S, config/m68k/crtn.S: New files.
1681 * config/mcore/crti.S, config/mcore/crtn.S: New files.
1682 * config/mep/t-mep: New file.
1683 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1684 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1685 * config/mips/crti.S, config/mips/crtn.S: New files.
1686 * config/mips/t-crtstuff: New file.
1687 * config/mmix/crti.S, config/mmix/crtn.S: New files.
1688 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1689 (CUSTOM_CRTIN): Set.
1690 ($(T)crti.o, $(T)crtn.o): Remove $(T),
1692 Use $(srcdir) to refer to crti.S, crtn.S.
1693 Use .S extension, $<.
1694 * config/moxie/crti.asm: Rename to ...
1695 * config/moxie/crti.S: ... this.
1696 * config/moxie/crtn.asm: Rename to ...
1697 * config/moxie/crtn.S: ... this.
1698 * config/moxie/t-moxie: Remove.
1699 * config/pa/stublib.c: New file.
1700 * config/pa/t-stublib, config/pa/t-stublib64: New files.
1701 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1702 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1703 * config/rs6000/t-crtstuff: New file.
1704 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1705 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1706 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1707 Make output file explicit.
1708 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1709 Make output file explicit.
1710 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1711 Make output file explicit.
1712 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1713 Make output file explicit.
1714 * config/score/crti.S, config/score/crtn.S: New files.
1715 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1716 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1718 * config/sh/t-sh, config/sh/t-superh: New files.
1719 * config/sparc/t-linux64: New file.
1720 * config/spu/cache.S, config/spu/cachemgr.c: New files.
1721 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1722 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1723 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1724 * config/t-crtin: Remove.
1725 * config/t-crtstuff-pic: New file.
1726 * config/t-sol2 (CUSTOM_CRTIN): Set.
1727 (crti.o, crtn.o): New rules.
1728 * config/vms/t-vms: New file.
1729 * config/vms/vms-ucrt0.c: New file.
1730 * config/xtensa/t-elf: New file.
1732 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1734 * Makefile.in (SHLIB_NM_FLAGS): Set.
1735 * mkmap-flat.awk, mkmap-symver.awk: New files.
1736 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1738 * configure: Regenerate.
1739 * config/libgcc-glibc.ver: New file.
1740 * config/libgcc-libsystem.ver: New file.
1741 * config/t-libunwind (SHLIB_LC): Set.
1742 * config/t-linux: New file.
1743 * config/t-slibgcc (INSTALL_SHLIB): New.
1744 (SHLIB_INSTALL): Use it.
1745 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1746 to mkmap-symver.awk.
1747 (SHLIB_MAPFILES): Don't append, adapt pathname.
1748 (SHLIB_VERPFX): Set.
1749 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1750 to mkmap-symver.awk.
1751 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1752 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1753 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1754 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1756 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1757 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1758 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1759 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1760 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1761 * config/i386/libgcc-darwin.10.4.ver,
1762 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1764 * config/i386/t-darwin: Remove.
1765 * config/i386/t-darwin64: Likewise.
1766 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1767 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1768 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1769 * config/i386/t-linux: New file.
1770 * config/i386/t-mingw32: New file.
1771 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1772 * config/ia64/t-glibc: Rename to ...
1773 * config/ia64/t-linux: ... this.
1774 (SHLIB_MAPFILES): Set.
1775 * config/ia64/t-glibc-libunwind: Rename to ...
1776 * config/ia64/t-linux-libunwind: ... this.
1777 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1778 * config/ia64/t-slibgcc-hpux: New file.
1779 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1780 * config/m68k/t-slibgcc-elf-ver: New file.
1781 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1782 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1784 * config/pa/t-slibgcc-hpux: New file.
1785 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1787 * config/rs6000/libgcc-darwin.10.4.ver,
1788 config/rs6000/libgcc-darwin.10.5.ver: New files.
1789 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1790 config/rs6000/libgcc-glibc.ver.
1791 * config/rs6000/libgcc-ppc64.ver: Rename to
1792 config/rs6000/libgcc-ibm-ldouble.ver.
1793 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1794 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1795 * config/rs6000/t-ldbl128: Rename to ...
1796 * config/rs6000/t-linux: ... this.
1797 (SHLIB_MAPFILES): Adapt filename.
1798 * config/rs6000/t-slibgcc-aix: New file.
1799 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1800 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1801 libgcc-excl.ver, libgcc-glibc.ver.
1802 (SHLIB_LINK, SHLIB_INSTALL): Remove.
1803 * config/sparc/libgcc-glibc.ver: New file.
1804 * config/sparc/t-linux: New file.
1805 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1806 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1807 t-slibgcc-elf-ver to tmake_file.
1808 Add t-slibgcc-nolc-override to tmake_file for posix threads on
1810 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1811 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1812 t-slibgcc-elf-ver, t-linux to tmake_file.
1813 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1815 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1816 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1817 (alpha*-dec-*vms*): Likewise.
1818 (arm*-*-freebsd*): Append to tmake_file.
1819 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1820 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1822 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1823 tmake_file for arm*-*-symbianelf*.
1824 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1825 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1827 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1828 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1829 pa/t-slibgcc-dwarf-ver to tmake_file.
1830 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1831 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1832 (hppa*64*-*-hpux11*): Likewise.
1833 (hppa[12]*-*-hpux11*): Likewise.
1834 (x86_64-*-darwin*): Don't override tmake_file, but only keep
1835 i386/t-crtpc, i386/t-crtfm.
1836 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1837 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1839 Add i386/t-cygwin to tmake_file.
1840 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1841 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1842 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1844 Add i386/t-mingw32 to tmake_file.
1845 (x86_64-*-mingw*): Likewise.
1846 (ia64*-*-freebsd*): Append to tmake_file.
1847 (ia64*-*-linux*): Append to tmake_file.
1848 Replace ia64/t-glibc by ia64/t-linux.
1849 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1851 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1852 t-slibgcc-hpux to tmake_file.
1853 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1854 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1855 (m32rle-*-linux*): Likewise.
1856 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1858 (microblaze*-linux*): New case.
1859 Append to tmake_file, add t-slibgcc-nolc-override.
1860 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1861 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1862 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1863 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1864 rs6000/t-slibgcc-aix to tmake_file.
1865 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1866 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1867 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1868 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1869 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1870 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
1872 (sparc-*-linux*): Append to tmake_file for *-leon*.
1873 Add sparc/t-linux to tmake_file for non-Leon targets.
1874 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
1875 (tic6x-*-uclinux): New case.
1876 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
1877 (tic6x-*-*): Add c6x/t-elf to tmake_file.
1878 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
1879 (am33_2.0-*-linux*): Append to tmake_file.
1880 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1881 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
1882 x86_64-*-kfreebsd*-gnu.
1883 Add i386/t-linux to tmake_file.
1885 2011-10-28 Ian Lance Taylor <iant@google.com>
1887 * config/i386/morestack.S: Correct CFI information to do proper
1888 returns throughout function. In 32-bit mode, save %ebx so that it
1889 is restored on unwind.
1891 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
1893 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
1894 case where B3 isn't the return register.
1896 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
1897 logic for doubleword pops.
1899 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
1901 * config/rs6000/t-freebsd: Add wildcard.
1903 2011-10-21 Paul Brook <paul@codesourcery.com>
1905 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
1907 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
1908 Eric Botcazou <ebotcazou@adacore.com>
1911 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
1912 fs->signal_frame to 1.
1914 2011-10-07 Ian Lance Taylor <iant@google.com>
1916 * generic-morestack-thread.c: #include <errno.h>.
1918 2011-10-07 Ian Lance Taylor <iant@google.com>
1921 * generic-morestack.c (__generic_morestack): Make sure the segment
1922 is large enough for both the stack frame and the copied
1925 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1928 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
1931 2011-09-28 Nick Clifton <nickc@redhat.com>
1933 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
1934 64-bit doubles are not enabled.
1935 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
1936 and floatunsisf functions.
1938 2011-09-13 Paul Brook <paul@codesourcery.com>
1940 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
1941 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
1942 * unwind-arm-common.inc: New file.
1943 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
1944 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
1945 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
1946 * config/c6x/libunwind.S: New file.
1947 * config/c6x/pr-support.c: New file.
1948 * config/c6x/unwind-c6x.c: New file.
1949 * config/c6x/unwind-c6x.h: New file.
1950 * config/c6x/t-c6x-elf: New file.
1952 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
1954 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
1955 (ASM_DIVZERO): Ditto.
1956 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
1958 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
1960 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
1962 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
1965 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
1966 instead of an assembly one.
1968 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
1971 * Makefile.in (install-unwind_h): Create
1972 $(gcc_objdir)/include/unwind.h atomically.
1974 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1976 * Makefile.in (install-unwind_h): Remove destination file first.
1978 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1981 * config/mips/t-mips16: New file.
1982 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
1983 (mips*-*-linux*): Likewise.
1984 (mips*-sde-elf*): Likewise.
1985 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
1986 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
1987 Add mips/t-mips16 to tmake_file.
1988 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
1989 (mips-*-elf*): Likewise.
1990 (mips64-*-elf*): Likewise.
1991 (mips64orion-*-elf*): Likewise.
1992 (mips*-*-rtems*): Likewise.
1993 (mipstx39-*-elf*): Likewise.
1994 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
1995 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
1997 Use $(srcdir) to refer to sync.c.
1999 ($(libgcc-sync-funcs-o)): Likewise.
2000 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2001 ($(libgcc-sync-funcs-s-o)): Likewise.
2003 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2005 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2008 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2011 * config/i386/value-unwind.h: New.
2013 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2015 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2016 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2017 Add to tmake_file rather than overriding it.
2019 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2021 * config/t-softfp: Remove.
2022 * soft-fp: Moved from ../gcc/config.
2023 * soft-fp/README: Remove t-softfp reference.
2024 * soft-fp/t-softfp: Move to config/t-softfp.
2025 (softfp_machine_header): Remove.
2026 (softfp_file_list): Remove config subdir.
2027 (soft-fp-objects): New variable.
2028 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2029 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2030 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2031 * config/t-softfp-excl: New file.
2032 * config/t-softfp-sfdf: New file.
2033 * config/t-softfp-tf: New file.
2034 * config/no-sfp-machine.h: New file.
2035 * config/arm/sfp-machine.h: New file.
2036 * config/arm/t-softfp: New file.
2037 * config/c6x/sfp-machine.h: New file.
2038 * config/i386/32/t-fprules-softfp: Rename to ...
2039 * config/i386/32/t-softfp: ... this.
2040 (tifunctions, LIB2ADD): Remove.
2041 (softfp_int_modes): Override.
2042 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2044 * config/i386/64/eqtf2.c: Likewise.
2045 * config/i386/64/getf2.c: Likewise.
2046 * config/i386/64/letf2.c: Likewise.
2047 * config/ia64/sft-machine.h: New file.
2048 * config/ia64/t-fprules-softfp: Rename to ...
2049 * config/ia64/t-softfp: ... this.
2050 * config/lm32/sfp-machine.h: New file.
2051 * config/moxie/t-moxie-softfp: Remove.
2052 * config/rs6000/ibm-ldouble-format: New file.
2053 * config/rs6000/ibm-ldouble.c: New file.
2054 * config/rs6000/libgcc-ppc-glibc.ver: New file
2055 * config/rs6000/libgcc-ppc64.ver: New file
2056 * config/rs6000/sfp-machine.h: New file.
2057 * config/rs6000/t-freebsd: New file.
2058 * config/rs6000/t-ibm-ldouble: New file.
2059 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2060 libgcc-ppc-glibc.ver.
2061 * config/rs6000/t-linux64: New file.
2062 * config/rs6000/t-ppccomm (LIB2ADD): Add
2063 $(srcdir)/config/rs6000/ibm-ldouble.c.
2064 * config/rs6000/t-ppccomm-ldbl: New file.
2065 * config/score/sfp-machine.h: New file.
2066 * config.host (sfp_machine_header): Explain.
2067 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2068 t-softfp to tmake_file.
2069 (arm*-*-uclinux*): Likewise.
2070 (arm*-*-ecos-elf): Likewise.
2071 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2072 (arm*-*-rtems*): Likewise.
2073 (arm*-*-elf): Likewise.
2074 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2076 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2077 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2078 (lm32-*-uclinux*): Likewise.
2079 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2080 t-softfp-excl, t-softfp.
2081 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2082 (powerpc64-*-darwin*): Likewise.
2083 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2085 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2087 (powerpc-*-eabisim*): Likewise.
2088 (powerpc-*-elf*): Likewise.
2089 (powerpc-*-eabialtivec*): Likewise.
2090 (powerpc-xilinx-eabi*): Likewise.
2091 (powerpc-*-rtems*): Likewise.
2092 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2093 t-softfp-excl, t-softfp to tmake_file.
2094 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2095 rs6000/t-ppccomm-ldbl to tmake_file.
2096 (powerpcle-*-elf*): Likewise.
2097 (powerpcle-*-eabisim*): Likewise.
2098 (powerpcle-*-eabi*): Likewise.
2099 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2100 rs6000/t-ibm-ldouble to tmake_file.
2101 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2102 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2103 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2104 (tic6x-*-*): Likewise.
2105 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2106 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2107 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2108 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2109 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2110 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2111 t-softfp to tmake_file.
2112 * configure.ac (sfp_machine_header): Provide default if unset.
2114 Link sfp-machine.h to config/$sfp_machine_header.
2115 * configure: Regenerate.
2117 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2119 * Makefile.in (double_type_size, long_double_type_size): Set.
2120 Remove $(fpbit-in-libgcc) support.
2121 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2122 (fpbit-src): New variable.
2123 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2124 Compile with -DFLOAT $(FPBIT_CFLAGS).
2126 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2127 Compile with $(FPBIT_CFLAGS).
2129 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2130 Compile with -DFLOAT $(TPBIT_CFLAGS).
2132 * configure.ac (double_type_size, long_double_type_size):
2133 Determine and substitute.
2134 * configure: Regenerate.
2135 * fp-bit.c, fp-bit.h: New files.
2136 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2137 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2138 * config/mips/t-mips: New file.
2139 * config/mips/t-sdemtk: New file.
2140 * config/rs6000/ppc64-fp.c: New file.
2141 * config/rs6000/t-darwin (LIB2ADD): Add
2142 $(srcdir)/config/rs6000/ppc64-fp.c.
2143 * config/rs6000/t-ppc64-fp: New file.
2144 * config/rx/rx-lib.h: New file.
2145 * config/rx/t-rx (FPBIT): Set to true.
2146 ($(gcc_objdir)/fp-bit.c): Remove.
2147 (DPBIT): Set to true only with -m64bit-doubles.
2148 ($(gcc_objdir)/dp-bit.c): Remove.
2149 * config/sparc/t-softfp: Remove.
2150 * config/spu/t-elf: New file.
2151 * config/t-fdpbit, config/t-fpbit: New files.
2152 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2153 (mips*-*-*): Likewise.
2154 (arm-wrs-vxworks): Likewise.
2155 (arm*-*-freebsd*): Likewise.
2156 (avr-*-rtems*): Add t-fpbit to tmake_file.
2157 (avr-*-*): Likewise.
2158 (bfin*-elf*): Add t-fdpbit to tmake_file.
2159 (bfin*-uclinux*): Likewise.
2160 (bfin*-linux-uclibc*): Likewise.
2161 (bfin*-rtems*): New case.
2162 Add t-fdpbit to tmake_file.
2163 (bfin*-*): Add t-fdpbit to tmake_file.
2164 (crisv32-*-elf): Likewise.
2165 (cris-*-linux*): Likewise.
2166 (fr30-*-elf): Likewise.
2167 (frv-*-elf, frv-*-*linux*): Likewise.
2168 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2169 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2170 (m32r-*-elf*): Likewise.
2171 (m32rle-*-elf*): Likewise.
2172 (m32r-*-linux*): Likewise.
2173 (m32rle-*-linux*): Likewise.
2174 (mcore-*-elf): Add t-fdpbit to tmake_file.
2175 (microblaze*-*-*): Likewise.
2176 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2177 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2178 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2180 Add mips/t-tpbit to tmake-file.
2181 (mips*-*-linux*): Fix typo.
2182 (mips*-sde-elf*): New case
2183 Add mips/t-sdemtk unless using newlib.
2184 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2185 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2186 (mn10300-*-*): Likewise.
2187 (pdp11-*-*): Likewise.
2188 (picochip-*-*): Add t-fpbit to tmake_file.
2189 (powerpc-*-eabisimaltivec*): Likewise.
2190 (powerpc-*-eabisim*): Likewise.
2191 (powerpc-*-elf*): Likewise.
2192 (powerpc-*-eabialtivec*): Likewise.
2193 (powerpc-xilinx-eabi*): New case.
2194 Add t-fdpbit to tmake_file.
2195 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2196 (powerpc-*-rtems*): Likewise.
2197 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2199 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2201 (powerpc-*-lynxos*): Likewise.
2202 (powerpcle-*-elf*): Likewise.
2203 (powerpcle-*-eabisim*): Likewise.
2204 (powerpcle-*-eabi*): Likewise.
2205 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2206 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2207 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2208 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2209 (rx-*-elf): Add t-fdpbit to tmake_file.
2210 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2211 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2212 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2213 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2215 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2216 (sh-wrs-vxworks): Likewise.
2217 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2218 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2219 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2220 (sparc64-*-rtems*): ... new case.
2221 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2222 (spu-*-elf*): Likewise.
2223 Add spu/t-elf to tmake_file.
2224 (v850*-*-*): Add t-fdpbit to tmake_file.
2225 (xstormy16-*-elf): Likewise.
2226 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2227 (mep*-*-*): Likewise.
2229 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2231 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2233 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2234 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2235 (install-unwind_h): New target.
2236 (all): Depend on it.
2237 * config.host (unwind_header): New variable.
2238 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2239 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2240 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2241 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2242 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2244 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2246 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2248 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2250 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2251 (ia64*-*-freebsd*): Likewise.
2252 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2254 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2255 $with_system_libunwind.
2256 (ia64*-*-hpux*): Set tmake_file.
2257 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2258 (picochip-*-*): Set tmake_file.
2259 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2261 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2262 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2263 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2264 (xtensa*-*-elf*): Set tmake_file.
2265 (xtensa*-*-linux*): Likewise.
2266 * configure.ac: Include ../config/unwind_ipinfo.m4.
2267 Call GCC_CHECK_UNWIND_GETIPINFO.
2268 Link unwind.h to $unwind_header.
2269 * configure: Regenerate.
2270 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2271 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2272 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2273 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2274 * config/unwind-dw2-fde-darwin.c: New file.
2275 * config/arm/libunwind.S, config/arm/pr-support.c,
2276 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2277 config/arm/unwind-arm.h,: New files.
2278 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2279 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2280 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2281 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2282 config/ia64/unwind-ia64.h: New files.
2283 * config/picochip/t-picochip: New file.
2284 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2286 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2287 * config/s390/t-tpf (LIB2ADDEH): Remove.
2288 * config/t-darwin (LIB2ADDEH): Set.
2289 * config/t-eh-dw2-dip: New file.
2290 * config/t-libunwind, config/t-libunwind-elf: New files.
2291 * config/t-sol2 (LIB2ADDEH): Remove.
2292 * config/xtensa/t-xtensa: New file.
2294 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2296 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2297 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2298 long long to check rt_sigreturn syscall.
2300 2011-08-02 Alan Modra <amodra@gmail.com>
2302 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2303 Restore for indirect call bcrtl from correct stack slot, and only
2304 if cfa+40 isn't valid.
2306 2011-08-01 Julian Brown <julian@codesourcery.com>
2308 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2309 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2310 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2312 2011-08-01 Julian Brown <julian@codesourcery.com>
2314 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2315 (libgcc-std.ver.in): Use above.
2316 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2317 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2319 * config/t-fixedpoint-gnu-prefix: New file.
2320 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2321 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2324 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2326 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2327 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2328 for x86-64. Properly check __x86_64__ and __LP64__.
2330 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2332 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2334 (_FP_WS_TYPE): Likewise.
2335 (_FP_I_TYPE): Likewise.
2337 2011-07-28 Alan Modra <amodra@gmail.com>
2339 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2340 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2341 in a plt call stub. Do restore r2 if stopped on bctrl.
2343 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2345 * config.host (i[3456x]86-*-netware*): Remove.
2346 * config/i386/netware-crt0.c, config/i386/t-nwld,
2347 config/i386/t-slibgcc-nwld: Remove.
2349 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2351 * config.host: Handle tic6x-*-*.
2352 * config/c6x/c6x-abi.h: New file.
2354 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2356 * config/i386/crtprec.c: New file.
2357 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2358 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2359 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2360 (x86_64-*-darwin*): Likewise.
2361 (i[34567]86-*-solaris2*: Likewise.
2363 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2365 * config/alpha/crtfastmath.c: New file.
2366 * config/i386/crtfastmath.c: New file.
2367 * config/ia64/crtfastmath.c: New file.
2368 * config/mips/crtfastmath.c: New file.
2369 * config/sparc/crtfastmath.c: New file.
2371 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2373 Add -frandom-seed=gcc-crtfastmath.
2374 * config/alpha/t-crtfm: Remove.
2375 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2376 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2378 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2379 (alpha*-dec-osf5.1*): Likewise.
2380 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2381 Add crtfastmath.o to extra_parts.
2382 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2383 Add crtfastmath.o to extra_parts.
2384 (x86_64-*-darwin*): Likewise.
2385 (x86_64-*-mingw*): Likewise.
2386 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2387 (ia64*-*-freebsd*): Likewise.
2388 (ia64*-*-linux*): Likewise.
2389 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2390 Add crtfastmath.o to extra_parts.
2392 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2394 * config/darwin-crt3.o: New file.
2395 * config/rs6000/darwin-crt2.c: New file.
2396 * config/t-darwin: New file.
2397 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2399 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2400 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2401 (powerpc64-*-darwin*): Likewise.
2403 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2405 * config/i386/netware-crt0.c: New file.
2406 * config/i386/t-nwld: Rename to ...
2407 * config/i386/t-slibgcc-nwld: ... this.
2408 * config/i386/t-nwld: New file.
2409 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2411 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2414 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2416 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2418 * configure: Regenerate.
2420 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2422 * dfp-bit.c, dfp-bit.h: New files.
2423 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2425 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2426 ($(d64pbit-o)): Likewise.
2427 ($(d128pbit-o)): Likewise.
2428 * config/t-dfprules: New file.
2429 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2430 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2431 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2432 (x86_64-*-linux*): Likewise.
2433 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2434 (i[34567]86-*-cygwin*): Likewise.
2435 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2436 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2438 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2440 * Makfile.in (LIBGCOV): New variable.
2441 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2442 * libgcov.c: New file.
2444 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2446 * fixed-bit.c, fixed-bit.h: New files.
2447 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2448 refer to fixed-bit.c.
2450 2011-07-07 Joseph Myers <joseph@codesourcery.com>
2452 * config.host (*local*): Remove.
2454 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2457 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2458 like i?86-*-solaris2.1[0-9]*.
2459 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2460 * configure.ac (i?86-*-solaris2*): Likewise.
2461 * configure: Regenerate.
2463 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
2465 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2466 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2467 md_unwind_header by splitting out of...
2468 (i[34567]86-*-linux*): ... this.
2469 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2470 Remove md_unwind_header by splitting out of...
2471 (x86_64-*-linux*): ... this.
2473 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
2475 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2477 2011-06-28 Nick Clifton <nickc@redhat.com>
2479 * config.host: Recognize all V850 variants.
2481 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
2483 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2485 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2487 * shared-object.mk (c_flags-$o): Save c_flags.
2488 ($(base)$(objext)): Use it.
2489 ($(base)_s$(objext)): Likewise.
2491 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2493 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2494 * libgcc-std.ver.in (GCC_4.7.0): New section.
2496 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
2500 * config/avr/t-avr: Fix line endings.
2501 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2504 2011-06-14 Olivier Hainque <hainque@adacore.com>
2505 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2507 * config/mips/irix6-unwind.h: New file.
2508 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2510 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
2512 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2513 (sparc64_fallback_frame_state): Use it.
2514 (sparc64_frob_update_context): Further adjust context.
2515 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2516 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2517 * config/sparc/sol2-cn.S: Likewise.
2519 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2521 * enable-execute-stack-empty.c: New file.
2522 * enable-execute-stack-mprotect.c: New file.
2523 * config/i386/enable-execute-stack-mingw32.c: New file.
2524 * config.host (enable_execute_stack): New variable.
2525 Select appropriate variants.
2526 * configure.ac: Link enable-execute-stack.c to
2527 $enable_execute_stack.
2528 * configure: Regenerate.
2529 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2530 (lib2funcs): Remove _enable_execute_stack.
2532 2011-06-09 David S. Miller <davem@davemloft.net>
2533 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2535 * config.host (sparc-*-linux*): Correct md_unwind_header
2537 (s390x-ibm-tpf*): Fix typo.
2539 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2541 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2542 Add crtfastmath.o to extra_parts.
2543 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2545 * config/mips/t-crtfm: Remove.
2547 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2549 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2551 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2553 * config.host (sh*-*-linux*): Fix typo.
2555 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2557 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2558 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2559 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2560 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2561 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2562 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2563 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2564 Wrap in !__MINGW64__.
2565 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2566 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2567 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2568 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2569 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2570 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2571 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2573 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2574 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2575 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2576 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2577 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2578 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2579 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2580 * config/no-unwind.h: New file.
2581 * config.host (md_unwind_header): Document.
2583 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2584 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2585 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2586 hppa[12]*-*-hpux11*): Set md_unwind_header.
2587 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2588 Set md_unwind_header.
2589 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2590 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2591 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2592 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2593 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2594 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2595 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2597 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2598 * configure: Regenerate.
2600 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2602 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2603 Set tmake_file, extra_parts.
2604 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2606 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2608 * config/mips/t-irix6: New file.
2609 * config/mips/t-slibgcc-irix: New file.
2611 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2613 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2614 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2616 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2618 * configure.ac (target_thread_file): Determine thread model.
2619 * configure: Regenerate.
2620 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2621 * config/alpha/t-alpha: New file.
2622 * config/alpha/t-crtfm: Use $<.
2623 * config/alpha/t-ieee: New file.
2624 * config/alpha/t-osf-pthread: New file.
2625 * config/alpha/t-slibgcc-osf: New file.
2626 * config/alpha/libgcc-osf5.ver: New file.
2628 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2630 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2632 Add crtfastmath.o to extra_parts.
2634 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2636 * config/gmon-sol2.c: Reindent.
2638 Remove, correct casts.
2639 Use STDERR_FILENO, NULL.
2640 (BASEADDRESS): Remove.
2642 (errno, sbrk): Remove declarations.
2643 (monstartup) [hp300]: Remove.
2646 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2648 * Makefile.in (cpu_type): Define.
2649 * config.host (i[34567]86-*-rtems*): Handle it.
2650 (i[34567]86-*-solaris2*): Move body ...
2651 (*-*-solaris2*): ... here.
2652 New case, generalize.
2653 (sparc-*-elf*): Handle it.
2654 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2655 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2656 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2658 (sparc*-*-solaris2*): ... this.
2660 (sparc64-*-elf*): Handle it.
2661 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2662 Merge ../gcc/config/i386/gmon-sol2.c.
2663 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2665 Merge ../gcc/config/i386/sol2-gc1.asm.
2666 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2668 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2670 * config/i386/t-crtfm (crtfastmath.o): Use $<.
2671 * config/i386/t-crtstuff: New file.
2672 * config/i386/t-softfp: New file.
2673 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2674 $(T)crti.o, $(T)crtn.o): Remove.
2675 (gcrt1.o): New rule.
2676 (TARGET_LIBGCC2_CFLAGS): Remove.
2677 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2678 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2679 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2680 * config/sparc/t-sol2: New file.
2681 * config/sparc/t-crtfm: Move to ...
2682 * config/t-crtfm: ... this.
2683 Use $(cpu_type), $<.
2684 * config/t-crtin: New file.
2685 * config/sparc/t-softfp: New file.
2686 * config/sparc/t-softmul: New file.
2687 * config/t-rtems: New file.
2688 * config/t-slibgcc: New file.
2689 * config/t-slibgcc-elf-ver: New file.
2690 * config/t-slibgcc-gld: New file.
2691 * config/t-slibgcc-sld: New file.
2692 * config/t-sol2: New file.
2693 * configure.ac: Include ../config/lib-ld.m4.
2694 Call AC_LIB_PROG_LD_GNU.
2695 Substitute cpu_type.
2696 * configure: Regenerate.
2698 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
2701 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2702 libgcc-std.ver in the build directory.
2703 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2704 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2706 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
2708 * libgcc-std.ver.in: New file.
2709 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2711 (libgcc-std.ver): New rule.
2712 * config/t-gnu-prefix: New file.
2714 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2716 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2718 2011-05-10 Joseph Myers <joseph@codesourcery.com>
2720 * config/i386/darwin-lib.h: New file.
2722 2011-05-10 Joseph Myers <joseph@codesourcery.com>
2724 * config/arm/symbian-lib.h: New.
2726 2011-05-04 Chris Demetriou <cgd@google.com>
2728 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2729 (__x86.get_pc_thunk.bx): ...this.
2730 (__morestack): Adjust for rename, remove undef of __i686.
2732 2011-05-03 Chris Demetriou <cgd@google.com>
2734 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2736 2011-03-22 Joseph Myers <joseph@codesourcery.com>
2738 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2739 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2740 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2741 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2742 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2745 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
2747 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2748 Adjust copyright year.
2750 2011-03-07 Ian Lance Taylor <iant@google.com>
2752 * generic-morestack.c (__splitstack_find): Adjust returned stack
2753 pointer to include all registers pushed by __morestack.
2755 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2758 * configure.ac: Call ACX_NONCANONICAL_TARGET.
2759 (toolexecdir): Calculate and AC_SUBST.
2760 (toolexeclibdir): Likewise.
2761 * Makefile.in (target_noncanonical): Import.
2762 (toolexecdir): Likewise.
2763 (toolexeclibdir): Likewise.
2764 * configure: Regenerate.
2766 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
2769 * config/arm/bpabi.h: Rename to...
2770 * config/arm/bpabi-lib.h: ...this.
2772 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2774 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2776 * configure: Regenerate.
2778 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
2780 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2781 __FLOAT_WORD_ORDER__.
2782 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2785 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2788 * Makefile.in (install-strip): New phony target.
2790 2010-11-07 Ian Lance Taylor <iant@google.com>
2793 * config/i386/morestack.S (__morestack_large_model): New
2796 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
2798 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2800 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2802 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
2804 * config/arm/bpabi.h: New file.
2805 * config/frv/frv-abi.h: New file.
2807 2010-10-01 Ian Lance Taylor <iant@google.com>
2809 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2810 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2812 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
2815 * config.host: Add the missing `$'.
2817 2010-09-30 Michael Eager <eager@eagercon.com>
2819 * config.host: Add microblaze*-*-*.
2820 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2821 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2822 udivsi3.asm,umodsi3.asm}: New.
2824 2010-09-28 Ian Lance Taylor <iant@google.com>
2826 * configure.ac: Adjust CFI test to test assembler directly rather
2827 than checking gcc preprocessor macro.
2828 * configure: Rebuild.
2830 2010-09-27 Ian Lance Taylor <iant@google.com>
2832 * configure.ac: Test whether assembler supports CFI directives.
2833 * config.host: Only add t-stack and i386/t-stack-i386 to
2834 tmake_file if libgcc_cv_cfi is "yes".
2835 * configure: Rebuild.
2837 2010-09-27 Ian Lance Taylor <iant@google.com>
2839 * generic-morestack.h: New file.
2840 * generic-morestack.c: New file.
2841 * generic-morestack-thread.c: New file.
2842 * config/i386/morestack.S: New file.
2843 * config/t-stack: New file.
2844 * config/i386/t-stack-i386: New file.
2845 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2846 i386/t-stack-i386 to tmake_file.
2848 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
2850 * Makefile.in (libgcc-extra-parts): Check for static archives and
2851 invoke ranlib after installing them.
2852 (gcc-extra-parts): Likewise.
2853 (install-leaf): Likewise.
2855 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
2857 * configure: Regenerated.
2859 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
2861 * configure: Regenerated.
2863 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
2864 Andrew Pinski <pinskia@gmail.com>
2867 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
2869 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
2872 * configure: Regenerated.
2874 2010-09-06 Andreas Schwab <schwab@redhat.com>
2876 * configure: Regenerate.
2878 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
2880 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
2882 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
2885 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
2886 Iain Sandoe <iains@gcc.gnu.org>
2889 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
2890 LIB2FUNCS_EXCLUDE functions.
2892 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2894 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
2896 * configure: Regenerate.
2898 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
2900 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
2901 i386/t-freebsd to tmake_file.
2902 * config/i386/t-freebsd: New file.
2903 * config/i386/libgcc-bsd.ver: New file.
2905 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
2907 * config.host (powerpc*-eabispe*): Set tmake_file.
2908 (powerpc*-eabi*): Likewise.
2909 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
2910 crtbeginS, crtendS, crtbeginT.
2912 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
2914 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
2915 to tmake_file. Add crtfastmath.o to extra_parts.
2916 * config/mips/t-crtfm: New.
2918 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
2920 * config.host (sparc64-*-rtems*): New target.
2922 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2924 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2927 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
2929 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
2931 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2933 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
2934 alpha-dec-osf5.0* support.
2936 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
2938 * config.host: Add lm32-*-rtems*.
2940 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2941 Uros Bizjak <ubizjak@gmail.com>
2944 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
2945 like other remaining 32-bit x86 OSes.
2946 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
2948 * config/i386/libgcc-sol2.ver: New file.
2949 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
2951 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
2954 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
2955 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
2956 is used and substitute set_use_emutls.
2957 * configure: Regenerated.
2959 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
2961 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
2963 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2966 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
2968 ($(T)gcrt1.o): Likewise.
2969 ($(T)crt1.o): Likewise.
2970 ($(T)crti.o): Likewise.
2971 ($(T)crtn.o): Likewise.
2973 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2976 * Makefile.in (install): Use $(MAKE) string in rule, for
2979 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
2981 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
2982 * config/mmix/t-mmix: New file.
2983 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
2985 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
2988 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
2991 2010-01-04 Anthony Green <green@moxielogic.com>
2993 * config/moxie/crti.asm, config/moxie/crtn.asm,
2994 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
2995 config/moxie/t-moxie: New files.
2996 * config.host: Add t-moxie-softfp reference.
2998 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3001 * config/t-slibgcc-darwin: Fix embedded rpaths for
3002 --enable-version-specific-runtime-libs, build extension stub
3003 libs exposing features available from current libgcc_s.
3005 2009-11-11 Jon Beniston <jon@beniston.com>
3007 * config.host: Add lm32 targets.
3008 * config/lm32: New directory.
3009 * config/lm32/libgcc_lm32.h: New file.
3010 * config/lm32/_mulsi3.c: New file.
3011 * config/lm32/_udivmodsi4.c: New file.
3012 * config/lm32/_divsi3.c: New file.
3013 * config/lm32/_modsi3.c: New file.
3014 * config/lm32/_udivsi3.c: New file.
3015 * config/lm32/_umodsi3.c: New file.
3016 * config/lm32/_lshrsi3.S: New file.
3017 * config/lm32/_ashrsi3.S: New file.
3018 * config/lm32/_ashlsi3.S: New file.
3019 * config/lm32/crti.S: New file.
3020 * config/lm32/crtn.S: New file.
3021 * config/lm32/t-lm32: New file.
3022 * config/lm32/t-elf: New file.
3023 * config/lm32/t-uclinux: New file.
3025 2009-10-26 Nick Clifton <nickc@redhat.com>
3027 * config.host: Add support for RX target.
3028 * config/rx: New directory.
3029 * config/rx/rx-abi-functions.c: New file. Supplementary
3030 functions for libgcc to support the RX ABI.
3031 * config/rx/rx-abi.h: New file. Supplementary header file for
3032 libgcc RX ABI functions.
3033 * config/rx/t-rx: New file: Makefile fragment for building
3036 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3038 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3039 constraint of y0 to "g".
3041 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3043 * config.host: Include the s390 makefile fragments.
3044 * config/s390/32/_fixdfdi.c: New file.
3045 * config/s390/32/_fixsfdi.c: New file.
3046 * config/s390/32/_fixtfdi.c: New file.
3047 * config/s390/32/_fixunsdfdi.c: New file.
3048 * config/s390/32/_fixunssfdi.c: New file.
3049 * config/s390/32/_fixunstfdi.c: New file.
3050 * config/s390/32/t-floattodi: New file.
3051 * config/s390/libgcc-glibc.ver: New file.
3052 * config/s390/t-crtstuff: New file.
3053 * config/s390/t-linux: New file.
3054 * config/s390/t-tpf: New file.
3056 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3058 * configure.ac (AC_PREREQ): Bump to 2.64.
3060 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3062 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3064 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3066 * configure: Regenerate.
3068 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3070 * config.host (ia64-hp-*vms*): New target.
3071 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3074 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3076 * configure.ac: Add snippet for maintainer-mode.
3077 * configure: Regenerate.
3078 * Makefile.in (AUTOCONF, configure_deps): New variables.
3079 ($(srcdir)/configure)): New rule, active only with maintainer
3082 2009-06-23 DJ Delorie <dj@redhat.com>
3085 * config.host: Add mep support.
3087 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3089 * config.host: Add i386/${host_address}/t-fprules-softfp and
3090 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3092 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3094 * config/i386/64/_multc3.c: Likewise.
3095 * config/i386/64/_powitf2.c: Likewise.
3096 * config/i386/64/eqtf2.c: Likewise.
3097 * config/i386/64/getf2.c: Likewise.
3098 * config/i386/64/letf2.c: Likewise.
3099 * config/i386/64/letf2.c: Likewise.
3100 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3101 unsigned long long for x64 mingw targets.
3102 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3103 (_FP_I_TYPE): Define as long long for x64 mingw target.
3105 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3107 * config.host (vax-*-linux*): New.
3109 2009-05-31 Anthony Green <green@moxielogic.com>
3111 * config.host: Add moxie support.
3112 * config/moxie/t-moxie: New file.
3114 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3116 * config.host: Add i386/${host_address}/t-fprules-softfp and
3117 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3119 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3121 * config.host: Add i386/${host_address}/t-fprules-softfp to
3122 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3124 2009-04-09 Nick Clifton <nickc@redhat.com>
3126 * config/ia64/tf-signs.c: Change copyright header to refer to
3127 version 3 of the GNU General Public License with version 3.1
3128 of the GCC Runtime Library Exception and to point readers at
3129 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3131 * config/i386/32/tf-signs.c: Likewise.
3132 * config/libbid/_addsub_dd.c: Likewise.
3133 * config/libbid/_addsub_sd.c: Likewise.
3134 * config/libbid/_addsub_td.c: Likewise.
3135 * config/libbid/_dd_to_df.c: Likewise.
3136 * config/libbid/_dd_to_di.c: Likewise.
3137 * config/libbid/_dd_to_sd.c: Likewise.
3138 * config/libbid/_dd_to_sf.c: Likewise.
3139 * config/libbid/_dd_to_si.c: Likewise.
3140 * config/libbid/_dd_to_td.c: Likewise.
3141 * config/libbid/_dd_to_tf.c: Likewise.
3142 * config/libbid/_dd_to_udi.c: Likewise.
3143 * config/libbid/_dd_to_usi.c: Likewise.
3144 * config/libbid/_dd_to_xf.c: Likewise.
3145 * config/libbid/_df_to_dd.c: Likewise.
3146 * config/libbid/_df_to_sd.c: Likewise.
3147 * config/libbid/_df_to_td.c: Likewise.
3148 * config/libbid/_di_to_dd.c: Likewise.
3149 * config/libbid/_di_to_sd.c: Likewise.
3150 * config/libbid/_di_to_td.c: Likewise.
3151 * config/libbid/_div_dd.c: Likewise.
3152 * config/libbid/_div_sd.c: Likewise.
3153 * config/libbid/_div_td.c: Likewise.
3154 * config/libbid/_eq_dd.c: Likewise.
3155 * config/libbid/_eq_sd.c: Likewise.
3156 * config/libbid/_eq_td.c: Likewise.
3157 * config/libbid/_ge_dd.c: Likewise.
3158 * config/libbid/_ge_sd.c: Likewise.
3159 * config/libbid/_ge_td.c: Likewise.
3160 * config/libbid/_gt_dd.c: Likewise.
3161 * config/libbid/_gt_sd.c: Likewise.
3162 * config/libbid/_gt_td.c: Likewise.
3163 * config/libbid/_isinfd128.c: Likewise.
3164 * config/libbid/_isinfd32.c: Likewise.
3165 * config/libbid/_isinfd64.c: Likewise.
3166 * config/libbid/_le_dd.c: Likewise.
3167 * config/libbid/_le_sd.c: Likewise.
3168 * config/libbid/_le_td.c: Likewise.
3169 * config/libbid/_lt_dd.c: Likewise.
3170 * config/libbid/_lt_sd.c: Likewise.
3171 * config/libbid/_lt_td.c: Likewise.
3172 * config/libbid/_mul_dd.c: Likewise.
3173 * config/libbid/_mul_sd.c: Likewise.
3174 * config/libbid/_mul_td.c: Likewise.
3175 * config/libbid/_ne_dd.c: Likewise.
3176 * config/libbid/_ne_sd.c: Likewise.
3177 * config/libbid/_ne_td.c: Likewise.
3178 * config/libbid/_sd_to_dd.c: Likewise.
3179 * config/libbid/_sd_to_df.c: Likewise.
3180 * config/libbid/_sd_to_di.c: Likewise.
3181 * config/libbid/_sd_to_sf.c: Likewise.
3182 * config/libbid/_sd_to_si.c: Likewise.
3183 * config/libbid/_sd_to_td.c: Likewise.
3184 * config/libbid/_sd_to_tf.c: Likewise.
3185 * config/libbid/_sd_to_udi.c: Likewise.
3186 * config/libbid/_sd_to_usi.c: Likewise.
3187 * config/libbid/_sd_to_xf.c: Likewise.
3188 * config/libbid/_sf_to_dd.c: Likewise.
3189 * config/libbid/_sf_to_sd.c: Likewise.
3190 * config/libbid/_sf_to_td.c: Likewise.
3191 * config/libbid/_si_to_dd.c: Likewise.
3192 * config/libbid/_si_to_sd.c: Likewise.
3193 * config/libbid/_si_to_td.c: Likewise.
3194 * config/libbid/_td_to_dd.c: Likewise.
3195 * config/libbid/_td_to_df.c: Likewise.
3196 * config/libbid/_td_to_di.c: Likewise.
3197 * config/libbid/_td_to_sd.c: Likewise.
3198 * config/libbid/_td_to_sf.c: Likewise.
3199 * config/libbid/_td_to_si.c: Likewise.
3200 * config/libbid/_td_to_tf.c: Likewise.
3201 * config/libbid/_td_to_udi.c: Likewise.
3202 * config/libbid/_td_to_usi.c: Likewise.
3203 * config/libbid/_td_to_xf.c: Likewise.
3204 * config/libbid/_tf_to_dd.c: Likewise.
3205 * config/libbid/_tf_to_sd.c: Likewise.
3206 * config/libbid/_tf_to_td.c: Likewise.
3207 * config/libbid/_udi_to_dd.c: Likewise.
3208 * config/libbid/_udi_to_sd.c: Likewise.
3209 * config/libbid/_udi_to_td.c: Likewise.
3210 * config/libbid/_unord_dd.c: Likewise.
3211 * config/libbid/_unord_sd.c: Likewise.
3212 * config/libbid/_unord_td.c: Likewise.
3213 * config/libbid/_usi_to_dd.c: Likewise.
3214 * config/libbid/_usi_to_sd.c: Likewise.
3215 * config/libbid/_usi_to_td.c: Likewise.
3216 * config/libbid/_xf_to_dd.c: Likewise.
3217 * config/libbid/_xf_to_sd.c: Likewise.
3218 * config/libbid/_xf_to_td.c: Likewise.
3219 * config/libbid/bid128.c: Likewise.
3220 * config/libbid/bid128_2_str.h: Likewise.
3221 * config/libbid/bid128_2_str_macros.h: Likewise.
3222 * config/libbid/bid128_2_str_tables.c: Likewise.
3223 * config/libbid/bid128_add.c: Likewise.
3224 * config/libbid/bid128_compare.c: Likewise.
3225 * config/libbid/bid128_div.c: Likewise.
3226 * config/libbid/bid128_fma.c: Likewise.
3227 * config/libbid/bid128_logb.c: Likewise.
3228 * config/libbid/bid128_minmax.c: Likewise.
3229 * config/libbid/bid128_mul.c: Likewise.
3230 * config/libbid/bid128_next.c: Likewise.
3231 * config/libbid/bid128_noncomp.c: Likewise.
3232 * config/libbid/bid128_quantize.c: Likewise.
3233 * config/libbid/bid128_rem.c: Likewise.
3234 * config/libbid/bid128_round_integral.c: Likewise.
3235 * config/libbid/bid128_scalb.c: Likewise.
3236 * config/libbid/bid128_sqrt.c: Likewise.
3237 * config/libbid/bid128_string.c: Likewise.
3238 * config/libbid/bid128_to_int16.c: Likewise.
3239 * config/libbid/bid128_to_int32.c: Likewise.
3240 * config/libbid/bid128_to_int64.c: Likewise.
3241 * config/libbid/bid128_to_int8.c: Likewise.
3242 * config/libbid/bid128_to_uint16.c: Likewise.
3243 * config/libbid/bid128_to_uint32.c: Likewise.
3244 * config/libbid/bid128_to_uint64.c: Likewise.
3245 * config/libbid/bid128_to_uint8.c: Likewise.
3246 * config/libbid/bid32_to_bid128.c: Likewise.
3247 * config/libbid/bid32_to_bid64.c: Likewise.
3248 * config/libbid/bid64_add.c: Likewise.
3249 * config/libbid/bid64_compare.c: Likewise.
3250 * config/libbid/bid64_div.c: Likewise.
3251 * config/libbid/bid64_fma.c: Likewise.
3252 * config/libbid/bid64_logb.c: Likewise.
3253 * config/libbid/bid64_minmax.c: Likewise.
3254 * config/libbid/bid64_mul.c: Likewise.
3255 * config/libbid/bid64_next.c: Likewise.
3256 * config/libbid/bid64_noncomp.c: Likewise.
3257 * config/libbid/bid64_quantize.c: Likewise.
3258 * config/libbid/bid64_rem.c: Likewise.
3259 * config/libbid/bid64_round_integral.c: Likewise.
3260 * config/libbid/bid64_scalb.c: Likewise.
3261 * config/libbid/bid64_sqrt.c: Likewise.
3262 * config/libbid/bid64_string.c: Likewise.
3263 * config/libbid/bid64_to_bid128.c: Likewise.
3264 * config/libbid/bid64_to_int16.c: Likewise.
3265 * config/libbid/bid64_to_int32.c: Likewise.
3266 * config/libbid/bid64_to_int64.c: Likewise.
3267 * config/libbid/bid64_to_int8.c: Likewise.
3268 * config/libbid/bid64_to_uint16.c: Likewise.
3269 * config/libbid/bid64_to_uint32.c: Likewise.
3270 * config/libbid/bid64_to_uint64.c: Likewise.
3271 * config/libbid/bid64_to_uint8.c: Likewise.
3272 * config/libbid/bid_b2d.h: Likewise.
3273 * config/libbid/bid_binarydecimal.c: Likewise.
3274 * config/libbid/bid_conf.h: Likewise.
3275 * config/libbid/bid_convert_data.c: Likewise.
3276 * config/libbid/bid_decimal_data.c: Likewise.
3277 * config/libbid/bid_decimal_globals.c: Likewise.
3278 * config/libbid/bid_div_macros.h: Likewise.
3279 * config/libbid/bid_dpd.c: Likewise.
3280 * config/libbid/bid_flag_operations.c: Likewise.
3281 * config/libbid/bid_from_int.c: Likewise.
3282 * config/libbid/bid_functions.h: Likewise.
3283 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3284 * config/libbid/bid_inline_add.h: Likewise.
3285 * config/libbid/bid_internal.h: Likewise.
3286 * config/libbid/bid_round.c: Likewise.
3287 * config/libbid/bid_sqrt_macros.h: Likewise.
3289 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3291 * Makefile.in: Change copyright header to refer to version
3292 3 of the GNU General Public License and to point readers at the
3293 COPYING3 file and the FSF's license web page.
3294 * config.host: Likewise.
3296 2009-04-07 Alan Modra <amodra@bigpond.net.au>
3298 * config.host: Reorder and merge to match config.gcc change.
3300 2009-04-03 Alan Modra <amodra@bigpond.net.au>
3302 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3304 2009-03-28 Joseph Myers <joseph@codesourcery.com>
3306 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3307 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3308 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3309 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3311 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
3313 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3314 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3316 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3318 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3319 ia64/t-softfp-compat to tmake_file.
3321 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3323 * config/ia64/__divxf3.asm: New.
3324 * config/ia64/_fixtfdi.asm: Likewise.
3325 * config/ia64/_fixunstfdi.asm: Likewise.
3326 * config/ia64/_floatditf.asm: Likewise.
3327 * config/ia64/t-fprules-softfp: Likewise.
3328 * config/ia64/t-softfp-compat: Likewise.
3329 * config/ia64/tf-signs.c: Likewise.
3331 2009-01-18 Ben Elliston <bje@au.ibm.com>
3333 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3335 2009-01-16 Ben Elliston <bje@au.ibm.com>
3337 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3340 2009-01-13 Ben Elliston <bje@au.ibm.com>
3342 * config/t-softfp: New file.
3343 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3344 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3346 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3348 * config.host: Add m32r*-*-rtems*.
3350 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3352 * config.host: Add m32c*-*-rtems*.
3354 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3357 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3358 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3359 * configure: Regenerate.
3360 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3361 tmake_file here from gcc/config.gcc.
3362 Move extra_parts here from gcc/config.gcc.
3363 * config/i386/t-sol2: Move here from gcc/config/i386.
3364 Use gcc_srcdir instead of srcdir.
3366 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3368 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3371 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3373 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3375 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3377 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3379 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3382 * config.host: Add picochip-*-*.
3384 2008-08-06 Bob Wilson <bob.wilson@acm.org>
3386 * config.host: Match more processor names for Xtensa.
3388 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3390 * config/i386/64/t-softfp-compat: Update comments.
3392 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3394 * config/i386/64/_divtc3-compat.c: Moved to ...
3395 * config/i386/64/_divtc3.c: Here.
3397 * config/i386/64/_multc3-compat.c: Moved to ...
3398 * config/i386/64/_multc3.c: Here.
3400 * config/i386/64/_powitf2-compat.c: Moved to ...
3401 * config/i386/64/_powitf2.c: Here.
3403 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3404 .c suffix instead of -compat.c.
3406 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
3408 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3409 (_FP_MUL_MEAT_D): Ditto.
3410 (_FP_DIV_MEAT_S): Ditto.
3411 (_FP_DIV_MEAT_D): Ditto.
3413 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3415 * Makefile.in: Add support for __sync_* libgcc functions.
3417 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3419 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3421 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3424 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3425 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3427 * config/i386/64/t-fprules-softfp: Moved to ...
3428 * config/i386/64/t-softfp-compat: This. New.
3430 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
3432 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3433 Initialize f with 0.0.
3435 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3438 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3440 * config/i386/64/_divtc3-compat.c: New.
3441 * config/i386/64/_multc3-compat.c: Likewise.
3442 * config/i386/64/_powitf2-compat.c: Likewise.
3443 * config/i386/64/eqtf2.c: Likewise.
3444 * config/i386/64/getf2.c: Likewise.
3445 * config/i386/64/letf2.c: Likewise.
3446 * config/i386/64/t-fprules-softfp: Likewise.
3448 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3450 * config.host: Add i386/${host_address}/t-fprules-softfp to
3451 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3452 i[34567]86-*-linux*, x86_64-*-linux*.
3454 * configure.ac: Set host_address to 64 or 32 for x86.
3455 * configure: Regenerated.
3457 * Makefile.in (config.status): Also depend on
3458 $(srcdir)/config.host.
3460 * config/i386/32/t-fprules-softfp: New.
3461 * config/i386/32/tf-signs.c: Likewise.
3463 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3465 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3466 Uros Bizjak <ubizjak@gmail.com>
3468 * config/i386/32/sfp-machine.h: New.
3470 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3472 * config/rs6000/t-ppccomm: Remove rules that conflict with
3473 auto-generated rules.
3475 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3477 * configure.ac: sinclude override.m4.
3478 * configure: Regenerate.
3480 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3482 * configure: Regenerate.
3484 2008-06-10 Joseph Myers <joseph@codesourcery.com>
3486 * Makefile.in (DECNUMINC): Remove
3487 -I$(MULTIBUILDTOP)../../libdecnumber.
3490 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3492 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3493 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3494 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3495 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3496 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3497 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3498 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3499 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3500 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3501 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3502 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3503 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3504 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3505 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3507 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3509 * config.host (sh2[lbe]*-*-linux*): Allow target.
3511 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
3513 * config/rs6000/t-ppccomm: Add build rules for new files.
3514 (LIB2ADD_ST): New variable.
3516 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3520 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3521 * config/t-avr: New file. Build 16bit libgcc functions.
3523 2008-03-02 Jakub Jelinek <jakub@redhat.com>
3526 * config/t-slibgcc-darwin: Make install-leaf dependent on
3527 install-darwin-libgcc-stubs instead of install.
3529 2008-01-25 Joseph Myers <joseph@codesourcery.com>
3531 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3532 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3533 sh-*-rtemscoff*): Remove cases.
3535 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3537 * Makefile.in (all): Use install-leaf rather than install.
3538 (install): Split most of the rule into...
3539 (install-leaf): ...this new one.
3541 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
3542 Paolo Bonzini <bonzini@gnu.org>
3545 * Makefile.in: Use @shlib_slibdir@ substitution to get
3546 correct install name on darwin.
3547 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3549 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
3551 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3552 cris-*-elf and cris-*-none.
3553 (crisv32-*-linux*): Similar, as cris-*-linux*.
3555 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3557 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3559 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3562 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3563 * configure: Regenerated.
3565 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3567 * Makefile.in (dfp-filenames): Replace decimal_globals,
3568 decimal_data, binarydecimal and convert_data with
3569 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3570 and bid_convert_data, respectively.
3572 2007-09-17 Chao-ying Fu <fu@mips.com>
3573 Nigel Stephens <nigel@mips.com>
3575 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3576 * Makefile.in (fixed_point): Define.
3577 Check if fixed_point is yes to build support functions.
3578 * configure.ac: Check for fixed_point support.
3579 * configure: Regenerated.
3580 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3581 funcs, modes, from, to.
3583 2007-09-11 Janis Johnson <janis187@us.ibm.com
3585 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3587 2007-09-10 Janis Johnson <janis187@us.ibm.com>
3589 * Makefile.in (dfp-filenames): Remove decUtility, add
3590 decDouble, decPacked, decQuad, decSingle.
3592 2007-08-27 Hans Kester <hans.kester@ellips.nl>
3594 * config.host : Add x86_64-elf target.
3596 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3598 * configure.ac (set_have_cc_tls): Add a missing =.
3599 * configure: Regenerated.
3601 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3603 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3604 and x86_64-*-linux*.
3606 * config/t-tls: New file.
3608 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3610 * configure.ac: Include ../config/enable.m4 and
3611 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
3612 supports TLS and substitute set_have_cc_tls.
3613 * configure: Regenerated.
3615 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
3617 * Makefile.in: Use libbid for DFP when BID is enabled.
3619 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
3621 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3622 extra_parts. Add config/i386/t-cygming to tmake_file.
3623 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3625 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
3626 Danny Smith <dannysmith@users.sourceforge.net>
3629 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3630 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
3631 * config/i386/t-crtfm: Compile crtfastmath.o with
3632 -minline-all-stringops.
3634 2007-05-10 Richard Sandiford <richard@codesourcery.com>
3636 * config.host (sparc-wrs-vxworks): New target.
3638 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
3640 * config.host: Recognize fido.
3642 2007-04-04 Janis Johnson <janis187@us.ibm.com>
3644 * configure: Check host, not target, for decimal float support.
3646 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
3648 * config/i386/t-crtpc: New file.
3649 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3650 (x86_64-*-linux*): Ditto.
3652 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
3654 * config.host (x86_64-*-mingw*): New target.
3656 2007-03-23 Michael Meissner <michael.meissner@amd.com>
3657 H.J. Lu <hongjiu.lu@intel.com>
3659 * Makefile.in (enable_decimal_float): New.
3661 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3662 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3663 (decbits-filenames): This.
3664 (decbits-objects): New.
3665 (libgcc-objects): Add $(decbits-objects).
3667 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3668 Substitute enable_decimal_float.
3669 * configure: Regenerated.
3671 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
3673 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3675 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
3677 * Makefile.in (install-info): New dummy target.
3679 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
3681 * config.host (bfin*-linux-uclibc*): Set extra_parts.
3683 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
3685 * Makefile.in: Add install-html and install-pdf dummy
3688 2007-02-05 Roger Sayle <roger@eyesopen.com>
3689 Daniel Jacobowitz <dan@codesourcery.com>
3691 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3692 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3693 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3695 2007-01-29 Janis Johnson <janis187@us.ibm.com>
3697 * Makefile.in (dec-filenames): Add decExcept.
3699 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3702 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3705 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
3707 * configure.ac: Add --enable-version-specific-runtime-libs.
3708 Correct $slibdir default.
3709 * configure: Regenerated.
3711 2007-01-23 Joseph Myers <joseph@codesourcery.com>
3713 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3715 2007-01-21 Andrew Pinski <pinskia@gmail.com>
3718 * config.host (alpha*-*-linux*): Set extra_parts.
3720 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
3722 * config/sh/t-linux: New.
3723 * config.host (sh*-*-linux*): Set tmake_file.
3725 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
3727 * Makefile.in (install): Handle multilibs.
3729 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3731 * Makefile.in: Added .PHONY entry for documentation targets.
3733 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
3735 * Makefile.in: Add empty info, html, dvi, pdf targets.
3737 2007-01-04 Mike Stump <mrs@apple.com>
3739 * Makefile.in (MAKEINFO): Remove.
3742 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
3744 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3745 * configure: Regenerate.
3746 * Makefile.in (host_subdir): Substitute it.
3747 (gcc_objdir): Use it.
3749 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3751 * config.host (ia64*-*-linux*): Set tmake_file.
3753 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
3755 * Makefile.in (version): Define.
3757 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
3758 Paolo Bonzini <bonzini@gnu.org>
3760 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3761 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3762 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3763 config/sparc/t-crtfm, config/t-slibgcc-darwin,
3764 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3765 shared-object.mk, siditi-object.mk, static-object.mk: New files.
3766 * configure: Generated.