Commit Graph

208 Commits

Author SHA1 Message Date
Richard Henderson
9bdc63433a libitm: de-ELF-ize x86/sjlj.S.
* config/x86/sjlj.S: Protect elf directives with __ELF__.
        Protect .note.GNU-stack with __linux__.

From-SVN: r181229
2011-11-09 10:38:21 -08:00
Richard Henderson
4bdd090f8e libitm: Configure for gas cfi pseudo ops.
* 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-09 10:09:53 -08:00
Richard Henderson
4408b0865b Fix a darwin10 build problem.
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-08 15:36:33 -08:00
Richard Henderson
3d3b05ff4f Fix tests for libitm support.
From-SVN: r181169
2011-11-08 08:28:30 -08:00
Richard Henderson
01f3428caf Check for libitm support at top-level.
From-SVN: r181168
2011-11-08 08:06:25 -08:00
Rainer Orth
07f03cd348 ChangeLog for last change.
From-SVN: r181164
2011-11-08 15:13:00 +00:00
Rainer Orth
e28a3d8bf2 Fix Solaris/x86 libitm build
* 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-08 14:58:57 +00:00
Aldy Hernandez
0a35513e4e Merge from transactional-memory branch.
From-SVN: r181154
2011-11-08 11:13:41 +00:00