+2011-12-24 Torvald Riegel <triegel@redhat.com>
+
+ * beginend.cc (GTM::gtm_thread::begin_transaction): Add comment.
+ (GTM::gtm_thread::try_commit): Changed memory order.
+ * config/linux/alpha/futex_bits.h (sys_futex0): Take atomic int
+ as parameter.
+ * config/linux/x86/futex_bits.h (sys_futex0): Same.
+ * config/linux/sh/futex_bits.h (sys_futex0): Same.
+ * config/linux/futex_bits.h (sys_futex0): Same.
+ * config/linux/futex.cc (futex_wait, futex_wake): Same.
+ * config/linux/futex.h (futex_wait, futex_wake): Same.
+ * config/linux/rwlock.h (gtm_rwlock::writers,
+ gtm_rwlock::writer_readers, gtm_rwlock::readers): Change to atomic
+ ints.
+ * config/linux/rwlock.cc (gtm_rwlock::read_lock,
+ gtm_rwlock::write_lock_generic, gtm_rwlock::read_unlock,
+ gtm_rwlock::write_unlock): Fix memory orders and fences.
+ * config/posix/rwlock.cc (gtm_rwlock::read_lock,
+ gtm_rwlock::write_lock_generic, gtm_rwlock::read_unlock,
+ gtm_rwlock::write_unlock): Same.
+ * config/linux/rwlock.h (gtm_rwlock::summary): Change to atomic int.
+ * method-gl.cc (gl_mg::init, gl_wt_dispatch::memtransfer_static,
+ gl_wt_dispatch::memset_static, gl_wt_dispatch::begin_or_restart):
+ Add comments.
+ (gl_wt_dispatch::pre_write, gl_wt_dispatch::validate,
+ gl_wt_dispatch::load, gl_wt_dispatch::store,
+ gl_wt_dispatch::try_commit, gl_wt_dispatch::rollback): Fix memory
+ orders and fences. Add comments.
+
+2011-12-21 Jakub Jelinek <jakub@redhat.com>
+
+ * Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first.
+ * Makefile.in: Regenerated.
+
+2011-12-17 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * configure.tgt: Add sh* case.
+ * config/sh/target.h: New file.
+ * config/sh/sjlj.S: New file.
+ * config/linux/sh/futex_bits.h: New file.
+
+2011-12-14 Richard Henderson <rth@redhat.com>
+
+ * config/arm/hwcap.h, config/arm/hwcap.cc: New files.
+ * config/arm/sjlj.S, config/arm/target.h: New files.
+ * config/generic/asmcfi.h (cfi_adjust_cfa_offset): New.
+ (cfi_rel_offset): New.
+ * config/linux/futex_bits.h: New file.
+ * config/linux/futex.cc: Include futex_bits.h here...
+ * config/linux/futex.h: ... not here.
+ * Makefile.am (libitm_la_SOURCES) <ARCH_ARM>: Add hwcap.cc.
+ * configure.ac (ARCH_AM): New conditional.
+ * Makefile.in, configure: Rebuild.
+ * configure.tgt: Handle ARM.
+
+2011-12-13 Richard Henderson <rth@redhat.com>
+
+ * config/posix/rwlock.cc (gtm_rwlock::write_lock_generic): Fix
+ signed/unsigned comparison werror.
+
+ * local_atomic: New file.
+ * libitm_i.h: Include it.
+ (gtm_thread::shared_state): Use atomic template.
+ * beginend.cc (GTM::gtm_clock): Use atomic template.
+ (global_tid): Use atomic template if 64-bit atomics available.
+ (gtm_thread::gtm_thread): Update shared_state access.
+ (gtm_thread::trycommit): Likewise.
+ (choose_code_path): Update global_tid access.
+ * method-gl.cc (gl_mg::orec): Use atomic template. Update all users.
+ * stmlock.h (GTM::gtm_clock): Use atomic template.
+ (gtm_get_clock, gtm_inc_clock): Update accesses.
+ * config/linux/rwlock.cc (gtm_rwlock::read_lock): Remove
+ redundant __sync_synchronize after atomic shared_state access.
+ * config/posix/rwlock.cc (gtm_rwlock::read_lock): Likewise.
+ (gtm_rwlock::write_lock_generic): Likewise.
+ (gtm_rwlock::read_unlock): Likewise.
+ * config/alpha/target.h (atomic_read_barrier): Remove.
+ (atomic_write_barrier): Remove.
+ * config/x86/target.h (atomic_read_barrier): Remove.
+ (atomic_write_barrier): Remove.
+
+2011-11-30 Richard Henderson <rth@redhat.com>
+
+ * libitm_i.h (GTM_longjmp): Swap first and second arguments.
+ * beginend.c (_ITM_abortTransaction): Update to match.
+ (GTM::gtm_thread::restart): Likewise.
+ * config/alpha/sjlj.S (GTM_longjmp): Likewise.
+ * config/x86/sjlj.S (GTM_longjmp): Likewise.
+
+2011-11-23 Iain Sandoe <iains@gcc.gnu.org>
+
+ * Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined".
+ * Makefile.in: Regenerate.
+
+2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
+
+ * configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF.
+ * alloc_cpp.cc: Generate dummy functions if we don't
+ HAVE_ELF_STYLE_WEAKREF.
+ * eh_cpp.cc: Likewise.
+ * configure: Regenerate.
+ * aclocal.m4: Likewise.
+ * config.h.in: Likewise.
+ * Makefile.in: Likewise.
+ * testsuite/Makefile.in: Likewise.
+
+2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
+
+ * config/x86/sjlj.S (CONCAT1, CONCAT2, SYM): Respond to
+ __USER_LABEL_PREFIX__ for targets that use it.
+ (TYPE, SIZE, HIDDEN): New macros to assist on non-elf targets.
+ (_ITM_beginTransaction): Use SYM, TYPE, SIZE macros to assist
+ in portability to non-elf targets.
+ (GTM_longjmp): Likewise.
+ * libitm_i.h (begin_transaction): Apply __USER_LABEL_PREFIX__
+ where required.
+
+2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
+
+ * testsuite/libitm.c/memcpy-1.c: Allow for MAP_ANON spelling.
+ * testsuite/libitm.c/memset-1.c: Likewise.
+
2011-11-21 Andreas Tobler <andreast@fgznet.ch>
* configure: Regenerate.