Re: [libitm] Configure for gas cfi pseudos

2011-11-09 Thread Richard Henderson
On 11/09/2011 11:03 AM, Jakub Jelinek wrote: > On Wed, Nov 09, 2011 at 10:55:53AM -0800, Richard Henderson wrote: >> On 11/09/2011 10:50 AM, Jakub Jelinek wrote: >>> Aren't the symbol versions part of the ABI discussed with Intel and others >>> though? >> >> Ug. Probably. Though they never actual

Re: [libitm] Configure for gas cfi pseudos

2011-11-09 Thread Jakub Jelinek
On Wed, Nov 09, 2011 at 10:55:53AM -0800, Richard Henderson wrote: > On 11/09/2011 10:50 AM, Jakub Jelinek wrote: > > Aren't the symbol versions part of the ABI discussed with Intel and others > > though? > > Ug. Probably. Though they never actually responded wrt the symbol versions > when we ta

Re: [libitm] Configure for gas cfi pseudos

2011-11-09 Thread Richard Henderson
On 11/09/2011 10:58 AM, Torvald Riegel wrote: > This ABI is explicitly for x86 on Linux (we've ignored the Windows > version of it so far). We thus can define it differently (or just offer > a subset of the symbols) on other architectures/platforms. Subsets are dangerous. For any platform that ha

Re: [libitm] Configure for gas cfi pseudos

2011-11-09 Thread Torvald Riegel
On Wed, 2011-11-09 at 19:50 +0100, Jakub Jelinek wrote: > On Wed, Nov 09, 2011 at 10:33:12AM -0800, Richard Henderson wrote: > > > If the code ensures at runtime that AVX insns (or SSE for that matter) > > > are only used if hardware and OS are capable of executing them, one > > > can deal wi

Re: [libitm] Configure for gas cfi pseudos

2011-11-09 Thread Richard Henderson
On 11/09/2011 10:50 AM, Jakub Jelinek wrote: > Aren't the symbol versions part of the ABI discussed with Intel and others > though? Ug. Probably. Though they never actually responded wrt the symbol versions when we talked; none of the guys on the conference call undersood that bit about how ELF

Re: [libitm] Configure for gas cfi pseudos

2011-11-09 Thread Jakub Jelinek
On Wed, Nov 09, 2011 at 10:33:12AM -0800, Richard Henderson wrote: > > If the code ensures at runtime that AVX insns (or SSE for that matter) > > are only used if hardware and OS are capable of executing them, one > > can deal with this with the equivalent of > > gcc/testsuite/gcc.target/i3

Re: [libitm] Configure for gas cfi pseudos

2011-11-09 Thread Richard Henderson
On 11/09/2011 10:23 AM, Rainer Orth wrote: > * as doesn't grok the GNU-stack note in config/x86/sjlj.S (likewise osf > as in config/alpha/sjlj.S): > > +#if defined __ELF__ && defined __linux__ > .section .note.GNU-stack, "", @progbits > +#endif I'll include that in another __ELF__ patch I'm pr

Re: [libitm] Configure for gas cfi pseudos

2011-11-09 Thread Rainer Orth
Richard Henderson writes: > Tested on x86_64-linux. This *ought* to fix RO's Solaris problem. Right, that's equivalent to, though cleaner than, what I've done. There are a few outstanding issues on Solaris/x86 with Sun as: * as doesn't grok the GNU-stack note in config/x86/sjlj.S (likewise os

[libitm] Configure for gas cfi pseudos

2011-11-09 Thread Richard Henderson
Tested on x86_64-linux. This *ought* to fix RO's Solaris problem. Committed. r~ commit 67ba1f57ef6bafdcc0d5e43dbe5793367622977b Author: rth Date: Wed Nov 9 18:09:53 2011 + libitm: Configure for gas cfi pseudo ops. * asmcfi.m4: New file. * configure.ac (GCC_