X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libgcc%2FChangeLog;h=45981daf6e6c657f4df758eb1529686ad418856f;hp=f5d02dd79fdec34485f25deb3fc98f42f029c01d;hb=7fd4009052d726cf42b4636e5b8cc33c236c9786;hpb=0d84f1645ee9ac09db43378156f779109ed076db diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index f5d02dd79fd..45981daf6e6 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,669 @@ +2014-03-20 Joel Sherrill + + * config.host (v850*-*-*): Add to tmake_file instead of resetting it. + +2014-02-28 Joey Ye + + Backport from mainline r208229 + 2014-02-28 Joey Ye + + PR libgcc/60166 + * config/arm/sfp-machine.h (_FP_NANFRAC_H, + _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): + Set to zero. + +2014-01-25 Walter Lee + + Backport from mainline + 2014-01-25 Walter Lee + + * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline. + (post_atomic_barrier): Ditto. + (__fetch_and_do): New macro. + (__atomic_fetch_and_do): Use __fetch_and_do. + (__sync_fetch_and_do): New macro. + (__sync_fetch_and_add_4): New function. + (__sync_fetch_and_sub_4): New function. + (__sync_fetch_and_or_4): New function. + (__sync_fetch_and_and_4): New function. + (__sync_fetch_and_xor_4): New function. + (__sync_fetch_and_nand_4): New function. + (__sync_fetch_and_add_8): New function. + (__sync_fetch_and_sub_8): New function. + (__sync_fetch_and_or_8): New function. + (__sync_fetch_and_and_8): New function. + (__sync_fetch_and_xor_8): New function. + (__sync_fetch_and_nand_8): New function. + (__do_and_fetch): New macro. + (__atomic_do_and_fetch): Use __do_and_fetch. + (__sync_do_and_fetch): New macro. + (__sync_add_and_fetch_4): New function. + (__sync_sub_and_fetch_4): New function. + (__sync_or_and_fetch_4): New function. + (__sync_and_and_fetch_4): New function. + (__sync_xor_and_fetch_4): New function. + (__sync_nand_and_fetch_4): New function. + (__sync_add_and_fetch_8): New function. + (__sync_sub_and_fetch_8): New function. + (__sync_or_and_fetch_8): New function. + (__sync_and_and_fetch_8): New function. + (__sync_xor_and_fetch_8): New function. + (__sync_nand_and_fetch_8): New function. + (__sync_exchange_methods): New macro. + (__sync_val_compare_and_swap_4): New function. + (__sync_bool_compare_and_swap_4): New function. + (__sync_lock_test_and_test_4): New function. + (__sync_val_compare_and_swap_8): New function. + (__sync_bool_compare_and_swap_8): New function. + (__sync_lock_test_and_test_8): New function. + (__subword_cmpxchg_body): New macro. + (__atomic_compare_exchange_1): Use __subword_cmpxchg_body. + (__atomic_compare_exchange_2): Ditto. + (__sync_subword_cmpxchg): New macro. + (__sync_val_compare_and_swap_1): New function. + (__sync_bool_compare_and_swap_1): New function. + (__sync_val_compare_and_swap_2): New function. + (__sync_bool_compare_and_swap_2): New function. + (__atomic_subword): Rename to ... + (__subword): ... New name. + (__atomic_subword_fetch): Use __subword. + (__sync_subword_fetch): New macro. + (__sync_fetch_and_add_1): New function. + (__sync_fetch_and_sub_1): New function. + (__sync_fetch_and_or_1): New function. + (__sync_fetch_and_and_1): New function. + (__sync_fetch_and_xor_1): New function. + (__sync_fetch_and_nand_1): New function. + (__sync_fetch_and_add_2): New function. + (__sync_fetch_and_sub_2): New function. + (__sync_fetch_and_or_2): New function. + (__sync_fetch_and_and_2): New function. + (__sync_fetch_and_xor_2): New function. + (__sync_fetch_and_nand_2): New function. + (__sync_add_and_fetch_1): New function. + (__sync_sub_and_fetch_1): New function. + (__sync_or_and_fetch_1): New function. + (__sync_and_and_fetch_1): New function. + (__sync_xor_and_fetch_1): New function. + (__sync_nand_and_fetch_1): New function. + (__sync_add_and_fetch_2): New function. + (__sync_sub_and_fetch_2): New function. + (__sync_or_and_fetch_2): New function. + (__sync_and_and_fetch_2): New function. + (__sync_xor_and_fetch_2): New function. + (__sync_nand_and_fetch_2): New function. + (__atomic_subword_lock): Use __subword. + (__sync_subword_lock): New macro. + (__sync_lock_test_and_set_1): New function. + (__sync_lock_test_and_set_2): New function. + +2014-01-25 Walter Lee + + Backport from mainline + 2014-01-25 Walter Lee + + * config/tilepro/atomic.c (BIT_OFFSET): Define. + (__atomic_subword_cmpxchg): Use BIT_OFFSET. + (__atomic_subword): Ditto. + +2014-01-25 Walter Lee + + Backport from mainline + 2014-01-25 Walter Lee + + * config/tilepro/atomic.c (__atomic_do_and_fetch): Add + a prefix op argument. + (__atomic_nand_fetch_4): Add prefix op. + (__atomic_nand_fetch_8): Ditto. + +2014-01-21 Baruch Siach + + * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*. + +2014-01-03 Joseph Myers + + * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in + case of small numerator and finite nonzero result. + +2013-11-10 Kai Tietz + + Back-merged from trunk + * config/i386/cygming-crtbegin.c (__gcc_register_frame): + Increment load-count on use of LIBGCC_SONAME DLL. + (hmod_libgcc): New static variable to hold handle of + LIBGCC_SONAME DLL. + (__gcc_deregister_frame): Decrement load-count of + LIBGCC_SONAME DLL. + +2013-11-07 Uros Bizjak + + * config/i386/32/sfp-machine.c (FP_HANDLE_EXCEPTIONS): Handle + FP_EX_DENORM. + * config/i386/64/sfp-machine.c (FP_HANDLE_EXCEPTIONS): Ditto. + +2013-08-01 Maxim Kuvyrkov + + Backport from trunk: Fix licenses on several libgcc files. + + * config/ia64/unwind-ia64.h, + * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to + GPL-3.0-with-GCC-exception. + +2013-06-08 Walter Lee + + Backport from mainline: + 2013-06-08 Walter Lee + + * config/tilepro/atomic.h: Don't include stdint.h or features.h. + Replace int64_t with long long. Add __extension__ where + appropriate. + +2013-06-06 Douglas B Rupp + + * config.host (arm-wrs-vxworks): Configure with other soft float. + +2013-05-20 Chung-Ju Wu + + Backport from mainline: + 2012-05-24 Olivier Hainque + + * Makefile.in (clean): Remove libgcc_tm.stamp as well. + Use a separate command for stamp removals. + +2013-04-11 Julian Brown + + * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS) + (SUBWORD_TEST_AND_SET): Use signed char/short types instead of + unsigned char/unsigned short. + (__sync_val_compare_and_swap_{1,2}): Handle signed argument. + +2013-04-11 Release Manager + + * GCC 4.7.3 released. + +2013-04-08 John David Anglin + + PR other/55274 + * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define. + +2013-03-25 Oleg Endo + + Backport from mainline: + 2013-03-13 Oleg Endo + + PR target/49880 + * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A. + (sdivsi3, udivsi3): Remove SH4 check and always compile these + functions. + +2013-03-06 Oleg Endo + + Backport from mainline. + 2013-03-06 Oleg Endo + + PR target/56529 + * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to + inclusion list. + +2013-03-06 Sebastian Huber + + * config.host (arm*-*-rtemself*): New. + (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename + "arm*-*-rtemseabi*" to "arm*-*-rtems*". + +2012-12-18 Matthew Gretton-Dann + + * config.host: Match arm*-*-linux-* for ARM Linux/GNU. + +2012-12-17 Matthias Klose + + * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters + as unused. + (_Unwind_decode_typeinfo_ptr): Mark base as unused. + +2012-12-09 Uros Bizjak + + PR target/55344 + * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined. + +2012-12-04 Richard Henderson + + PR bootstrap/55571 + * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a. + +2012-11-28 Richard Henderson + + PR libgcc/48076 + * emutls.c (__emutls_get_address): Avoid race condition between + obj->loc.offset read and emutls_key initialization. + +2012-11-04 Uros Bizjak + + PR target/55175 + * config/i386/32/sfp-machine.h: Guard exception handling and + rounding handling code with _SOFT_FLOAT. + * config/i386/64/sfp-machine.h: Ditto. + +2012-10-31 Joel Sherrill + + * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o + as extra_parts. + +2012-10-25 Ralf Corsépius + + * config.host (sparc64-*-rtems*): Remove sparc/t-elf. + +2012-10-25 Ralf Corsépius + + * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts. + +2012-10-25 Sebastian Huber + + * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to + tmake_file. + +2012-10-06 Mark Kettenis + + * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file. + * unwind-dw2-fde-dip.c: Don't include on OpenBSD. + (USE_PT_GNU_EH_FRAME): Define for OpenBSD. + (ElfW): Likewise. + +2012-09-20 Release Manager + + * GCC 4.7.2 released. + +2012-09-05 Georg-Johann Lay + + Backport from 2012-09-05 mainline r190697. + + PR target/54461 + * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if + configured --with-avrlibc. + * config/avr/t-avrlibc: New file. + * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE. + (DPBIT_FUNCS): Ditto. + (TPBIT_FUNCS): Ditto. + +2012-08-21 Ian Lance Taylor + + * config/i386/morestack.S (__morestack_non_split): Increase amount + of space allocated for non-split code stack. + +2012-08-16 David Edelsohn + + Backported from mainline + 2012-08-16 David Edelsohn + + * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after + rs6000/t-slibgcc-aix. + +2012-06-14 Release Manager + + * GCC 4.7.1 released. + +2012-05-25 Ian Lance Taylor + + * config/i386/morestack.S (__morestack_non_split): Check whether + caller is varargs and needs %bp to hold the stack frame on return. + +2012-05-24 Olivier Hainque + + * Makefile.in: Move dependency on install-unwind_h from + "install-leaf" to "install". + +2012-05-21 Andrew Pinski + + PR bootstrap/53183 + * configure.ac: Define the default includes to being none. + * configure: Regenerate. + +2012-05-16 Olivier Hainque + + * Makefile.in (install-unwind_h): Rename into ... + (install-unwind_h-forbuild): New target. + (all): Use it instead of the former install-unwind_h. + (install-unwind_h): Reinstate, copy to user install destination + for include files, not to the internal gcc object directory one. + (install-leaf): Depend on it. + +2012-04-30 Andreas Tobler + + Backport from mainline + 2012-03-21 Andreas Tobler + + * config.host: Add bits to support powerpc64-*-freebsd*. + * config/rs6000/freebsd-unwind.h: New file. + * config/rs6000/t-freebsd64: New file. + +2012-04-28 Aurelien Jarno + + * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove. + (mips*-*-linux*): Include mips/t-tpbit when long double is + 16 bytes long. + +2012-04-20 Thomas Schwinge + + struct siginfo vs. siginfo_t + + Backport from trunk: + + 2012-04-20 Thomas Schwinge + + * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use + siginfo_t instead of struct siginfo. + * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise. + * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise. + * config/ia64/linux-unwind.h (ia64_fallback_frame_state) + (ia64_handle_unwabi): Likewise. + * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise. + * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise. + * config/sh/linux-unwind.h (shmedia_fallback_frame_state) + (sh_fallback_frame_state): Likewise. + * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise. + * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise. + +2012-04-06 Walter Lee + + Backport from mainline + 2012-03-07 Walter Lee + + * config/tilepro/atomic.c: Rename "atomic_" prefix to + "arch_atomic_". + (atomic_xor): Rename and move definition to + config/tilepro/atomic.h. + (atomic_nand): Ditto. + * config/tilepro/atomic.h: Rename "atomic_" prefix to + "arch_atomic_". + (arch_atomic_xor): Move from config/tilepro/atomic.c. + (arch_atomic_nand): Ditto. + +2012-04-02 H.J. Lu + + Backported from mainline + 2012-04-02 H.J. Lu + + * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32 + system call number. + +2012-03-31 Eric Botcazou + + * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC + if it hasn't been previously saved. + +2012-03-28 Georg-Johann Lay + + Backport from 2012-03-28 mainline r185907. + + PR target/52737 + * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks + instead of __AVR_HAVE_8BIT_SP__. + +2012-03-22 Georg-Johann Lay + + Backport from 2012-03-07 mainline r185033. + + PR target/52507 + * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part. + + Backport from 2012-03-07 mainline r185031. + + PR target/52505 + * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally + from RAM. + + Backport from 2012-03-07 mainline r185030. + + PR target/52461 + PR target/52508 + * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage + if RAMPZ affects reading from RAM. + (__tablejump_elpm__): Ditto. + (.xload): Ditto. + (__movmemx_hi): Ditto. + (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM". + (__do_global_dtors): Ditto. + (__xload_1, __xload_2, __xload_3, __xload_4): Ditto. + (__movmemx_hi): Ditto. + +2012-03-22 Release Manager + + * GCC 4.7.0 released. + +2012-03-01 Kai Tietz + + * soft-fp: Imported from glibc upstream. + +2012-02-28 Kai Tietz + + * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it + for mingw-targets as attribute gcc_struct. + +2012-02-28 Ian Lance Taylor + + * generic-morestack.c (__splitstack_releasecontext): Correct call + to __morestack_release_segments. + +2012-02-27 Samuel Thibault + + PR target/52390 + * generic-morestack.c (__generic_morestack_set_initial_sp): Test + for __linux__ when removing signals from __morestack_fullmask. + +2012-02-23 Georg-Johann Lay + + PR target/52261 + * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__. + +2012-02-23 Ulrich Weigand + + * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT + instead of HAVE_INITFINI_ARRAY. + * config/ia64/crtend.S: Likewise. + +2012-02-20 Kai Tietz + + PR libstdc++/52300 + * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw. + + * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode + to w32-unwind.h header. + +2012-02-19 Richard Sandiford + + * config.host (mips64*-*-linux*, mipsisa64*-*-linux*) + (mips*-*-linux*): Remove t-slibgcc-libgcc. + * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr. + * config/mips/mips16.S (__mips16_rdhwr): Delete. + +2012-02-19 Richard Sandiford + + * config/mips/mips16.S (CALL_STUB_RET): Add CFI information. + +2012-02-15 Iain Sandoe + + PR libitm/52220 + * config/darwin-crt-tm.c: Correct typo. + +2012-02-15 Iain Sandoe + Patrick Marlier + + PR libitm/52220 + * config/darwin-crt-tm.c: Generate dummy functions. + +2012-02-15 Iain Sandoe + Patrick Marlier + + PR libitm/52042 + * config/darwin-crt-tm.c (getTMCloneTable): New function. + (__doTMRegistrations): Call it. + (__doTMdeRegistrations): Likewise. + +2012-01-15 Georg-Johann Lay + Anatoly Sokolov + Eric Weddington + + PR target/52261 + * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA + (__epilogue_restores__): Ditto. + +2012-02-15 Eric Botcazou + + PR target/51921 + PR target/52205 + * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for + Solaris 11 and slightly reformat. + (sparc_is_sighandler): Likewise. + +2012-02-14 Walter Lee + + * config.host: Handle tilegx and tilepro. + * config/tilegx/sfp-machine.h: New file. + * config/tilegx/sfp-machine32.h: New file. + * config/tilegx/sfp-machine64.h: New file. + * config/tilegx/t-crtstuff: New file. + * config/tilegx/t-softfp: New file. + * config/tilegx/t-tilegx: New file. + * config/tilepro/atomic.c: New file. + * config/tilepro/atomic.h: New file. + * config/tilepro/linux-unwind.h: New file. + * config/tilepro/sfp-machine.h: New file. + * config/tilepro/softdivide.c: New file. + * config/tilepro/softmpy.S: New file. + * config/tilepro/t-crtstuff: New file. + * config/tilepro/t-tilepro: New file. + +2012-02-07 Jonathan Wakely + + PR libstdc++/51296 + PR libstdc++/51906 + * gthr-posix.h: Allow static initializer macros to be disabled. + (__gthrw_pthread_cond_init): Define weak reference unconditionally. + +2012-02-05 Chung-Lin Tang + + * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*): + Add t-slibgcc-libgcc to tmake_file. + * config/mips/libgcc-mips16.ver: Revert previous patch. + * config/mips/mips16.S (__mips16_rdhwr): Hide. + +2012-02-02 Sumanth G + Jayant R Sonar + + * config.host: Add National Semiconductor CR16 target (cr16-*-*). + * config/cr16/crti.S: New file. + * config/cr16/crtlibid.S: New file. + * config/cr16/crtn.S: New file. + * config/cr16/lib1funcs.S: New file. + * config/cr16/t-cr16: New file. + * config/cr16/t-crtlibid: New file. + * config/cr16/unwind-dw2.h: New file. + * config/cr16/unwind-cr16.c: New file. + * config/cr16/divmodhi3.c: New file. + +2012-01-25 Alan Modra + + * config/rs6000/t-linux64: Delete. Move.. + * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here.. + * config/rs6000/t-linux: ..and libgcc flags to here. + +2012-01-22 Douglas B Rupp + + * config.host (i[34567]86-*-interix3*): + Change triplet to i[34567]86-*-interix[3-9]*. + * configure: Regenerate. + +2012-01-15 Chung-Lin Tang + Richard Sandiford + + * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add. + * config/mips/mips16.S (__mips16_rdhwr): New function. + * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr. + +2012-01-11 Nathan Sidwell + + * libgcov.c (__gcov_init): Ignore objects with no functions. + +2012-01-10 Georg-Johann Lay + + PR target/49868 + Extend __pgmx semantics to linearize memory. + * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx. + * config/avr/lib1funcs.S (__xload_1): New function. + (__movmemx_qi, __movmemx_hi): New functions. + (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx + semantics. + +2012-01-09 Eric Botcazou + + * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the + purported sigacthandler address isn't null before dereferencing it. + (sparc_is_sighandler): Likewise. + +2012-01-09 Eric Botcazou + + PR ada/41929 + * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and + add CFA. Revert back to old code for Solaris 8+ multi-threaded. + (sparc_is_sighandler): Likewise. + (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER. + +2012-01-06 Tristan Gingold + + * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward + compatibility thunks... + (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o) + (crtbeginS.o, crtendS.o): ... and these to ... + * config/ia64/t-ia64-elf: ... this new file. + * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*) + (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file. + +2012-01-04 Andreas Krebbel + + * configure: Regenerate. + * config/s390/t-crtstuff: Remove -fPIC. + +2012-01-02 Jonathan Wakely + + PR bootstrap/51006 + * enable-execute-stack-mprotect.c (getpagesize): Do not define + for NetBSD. + +2012-01-02 Georg-Johann Lay + + PR target/51345 + * config/avr/lib1funcs.S: Remove FIXME comments. + (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__. + +2012-01-02 Georg-Johann Lay + + Implement light-weight DImode support. + * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8, + _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3. + * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3, + __cmpdi2, __cmpdi2_s8, __rotldi3): New functions. + +2011-12-30 Nathan Sidwell + + * libgcov.c (gcov_crc32): Remove global var. + (free_fn_data): New function. + (buffer_fn_data): Pass in filename, more robust error recovery. + (crc32_unsigned): New function. + (gcov_exit): More robust detection of new program. More robust + error recovery. + (__gcov_init): Do not update program's crc here. + +2011-12-21 Tristan Gingold + + * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define. + +2011-12-21 Ian Lance Taylor + + * config/i386/morestack.S: Simplify CFI opcodes throughout. + 2011-12-20 Ian Lance Taylor * config/i386/morestack.S (__morestack_non_split): If there is