aboutsummaryrefslogtreecommitdiff
path: root/libitm
AgeCommit message (Collapse)AuthorFilesLines
2011-11-22weakref.m4: New file.Iain Sandoe9-14/+87
config: * weakref.m4: New file. libitm: * 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. From-SVN: r181618
2011-11-22sjlj.S (CONCAT1, [...]): Respond to __USER_LABEL_PREFIX__ for targets that ↵Iain Sandoe3-19/+57
use it. libitm: * 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. From-SVN: r181612
2011-11-22memcpy-1.c: Allow for MAP_ANON spelling.Iain Sandoe3-0/+17
libitm: * testsuite/libitm.c/memcpy-1.c: Allow for MAP_ANON spelling. * testsuite/libitm.c/memset-1.c: Likewise. From-SVN: r181611
2011-11-21Additional fixes for FreeBSD-10 build:Andreas Tobler2-6/+10
/: * libtool.m4: Additional FreeBSD 10 fixes. boehm-gc/: * configure: Regenerate. gcc/: * configure: Regenerate. libffi/: * configure: Regenerate. libgfortran/: * configure: Regenerate. libgomp/: * configure: Regenerate. libitm/: * configure: Regenerate. libjava/: * configure.ac: Fix some more FreeBSD 10 issues.. * configure: Regenerate. libjava/libltdl/: * acinclude.m4: Additional FreeBSD 10 fixes. * configure: Regenerate. libmudflap/: * configure: Regenerate. libobjc/: * configure: Regenerate. libquadmath/: * configure: Regenerate. libssp/: * configure: Regenerate. libstdc++-v3/: * configure: Regenerate. lto-plugin/: * configure: Regenerate. zlib/: * configure: Regenerate. From-SVN: r181593
2011-11-21Support sun symbol versioning in libitmRainer Orth5-29/+176
libitm: * acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Handle gold. (LIBITM_ENABLE_SYMVERS): Handle sun style. * Makefile.am: Handle sun style versioning. (libitm_la_LINK): Add $(libitm_la_LDFLAGS). * configure: Regenerate. * Makefile.in: Regenerate. contrib: * make_sunver.pl: Convert '?' in glob patterns to '.'. From-SVN: r181588
2011-11-18Support libitm on Solaris 8 and 9/x86 with Sun asRainer Orth3-1/+21
* config/generic/asmcfi.h: Fix comment. * config/x86/sjlj.S (_ITM_beginTransaction): Provide ELF PIC code sequence without .hidden support, error for non-ELF targets. (GTM_longjmp) [__ELF__]: Only use .hidden if HAVE_ATTRIBUTE_VISIBILITY. From-SVN: r181481
2011-11-17Provide all dummy functions in alloc_cpp.cc, eh_cpp.ccRainer Orth3-5/+25
* alloc_cpp.cc [__osf__] (_ZnwX, _ZdlPv, _ZnaX, _ZdaPv, _ZnwXRKSt9nothrow_t, _ZdlPvRKSt9nothrow_t, _ZdaPvRKSt9nothrow_t): Dummy functions. * eh_cpp.cc [__osf__] (__cxa_allocate_exception, __cxa_throw, __cxa_begin_catch, __cxa_end_catch, __cxa_tm_cleanup): Likewise. From-SVN: r181442
2011-11-16re PR bootstrap/51098 (bootstrap failed on avx i686, svn revision 181259 to ↵Uros Bizjak3-2/+8
181267) PR bootstrap/51098 * acinclude.m4 (LIBITM_CHECK_AS_AVX): Fix target selector. * configure: Regenerate. From-SVN: r181408
2011-11-14Check ia32 instead of ilp32.H.J. Lu2-1/+5
2011-11-14 H.J. Lu <hongjiu.lu@intel.com> * testsuite/lib/libitm.exp: Check ia32 instead of ilp32. From-SVN: r181360
2011-11-10libitm port to Tru64 UNIXRainer Orth8-0/+33
* config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use .hidden. (.note.GNU-stack): Only use if __linux__. * alloc_cpp.cc [!__osf__] (_ZnaXRKSt9nothrow_t): Dummy function. * testsuite/libitm.c/notx.c: Use dg-options "-pthread". * testsuite/libitm.c/reentrant.c: Likewise. * testsuite/libitm.c/simple-2.c: Likewise. * testsuite/libitm.c/txrelease.c: Likewise. * testsuite/libitm.c++/static_ctor.C: Likewise. From-SVN: r181262
2011-11-10libitm: Don't add -mavx if the assembler doesn't support avx.Richard Henderson6-15/+35
* config/x86/x86_avx.cc: Remove #undef __AVX__ hack. Tidy comments. * Makefile.am (x86_avx.lo): Only add -mavx if ARCH_X86_AVX. * configure.ac (ARCH_X86_AVX): New conditional. * Makefile.in, configure: Rebuild. From-SVN: r181261
2011-11-09libitm: Work around assembler missing AVX insns.Richard Henderson6-0/+121
From-SVN: r181246
2011-11-09libitm: Remove unused code.Richard Henderson22-2668/+40
In particular, unused code that's presenting portability problems. From-SVN: r181241
2011-11-09libitm: Avoid non-portable x86 branch prediction mnemonic.Richard Henderson2-3/+8
From-SVN: r181233
2011-11-09libitm: de-ELF-ize x86/sjlj.S.Richard Henderson2-5/+17
* config/x86/sjlj.S: Protect elf directives with __ELF__. Protect .note.GNU-stack with __linux__. From-SVN: r181229
2011-11-09libitm: Configure for gas cfi pseudo ops.Richard Henderson7-12/+109
* asmcfi.m4: New file. * configure.ac (GCC_AS_CFI_PSEUDO_OP): Test it. * configure, aclocal.m4, config.h.in: Rebuild. * config/generic/asmcfi.h: New file. * config/x86/sjlj.S: Use it. From-SVN: r181224
2011-11-08Fix a darwin10 build problem.Richard Henderson2-2/+12
local.cc:113:6: error: only weak aliases are supported in this configuration * local.cc (_ITM_LB): Use a normal call, not a function alias. From-SVN: r181182
2011-11-08Fix tests for libitm support.Richard Henderson2-1/+3
From-SVN: r181169
2011-11-08Check for libitm support at top-level.Richard Henderson4-41/+28
From-SVN: r181168
2011-11-08ChangeLog for last change.Rainer Orth1-0/+8
From-SVN: r181164
2011-11-08Fix Solaris/x86 libitm buildRainer Orth3-2/+6
* configure.tgt: Handle i386 like i[456]86. * config/generic/tls.h [!HAVE_ARCH_GTM_THREAD] (gtm_thr): Don't take address. * config/generic/tls.cc [!HAVE_ARCH_GTM_THREAD || !HAVE_ARCH_GTM_THREAD_DISP] (_gtm_thr_tls): New variable. From-SVN: r181163
2011-11-08Merge from transactional-memory branch.Aldy Hernandez88-0/+37362
From-SVN: r181154