Re: [libitm] Support Solaris 8 and 9/x86 with Sun as

2011-11-18 Thread Rainer Orth
Richard Henderson r...@redhat.com writes: On 11/16/2011 08:38 AM, Rainer Orth wrote: * config/generic/asmcfi.h: Fix comment. * config/x86/sjlj.S (_ITM_beginTransaction): Provide PIC code sequence without .hidden support. (GTM_longjmp) [__ELF__]: Only use .hidden if

[libitm] Support Solaris 8 and 9/x86 with Sun as

2011-11-16 Thread Rainer Orth
libitm failed to build on Solaris 8 and 9/x86 with the native assembler, which lacks support for .hidden. The following patch deals with that by explicitly using the PIC code sequence, as inspired by libffi/src/x86/sysv.S. It allows libitm to build on i386-pc-solaris2.8, and testsuite results

Re: [libitm] Support Solaris 8 and 9/x86 with Sun as

2011-11-16 Thread Richard Henderson
On 11/16/2011 08:38 AM, Rainer Orth wrote: * config/generic/asmcfi.h: Fix comment. * config/x86/sjlj.S (_ITM_beginTransaction): Provide PIC code sequence without .hidden support. (GTM_longjmp) [__ELF__]: Only use .hidden if HAVE_ATTRIBUTE_VISIBILITY. Nearly ok.

Re: [libitm] Support Solaris 8 and 9/x86 with Sun as

2011-11-16 Thread Iain Sandoe
On 16 Nov 2011, at 19:12, Richard Henderson wrote: On 11/16/2011 08:38 AM, Rainer Orth wrote: * config/generic/asmcfi.h: Fix comment. * config/x86/sjlj.S (_ITM_beginTransaction): Provide PIC code sequence without .hidden support. (GTM_longjmp) [__ELF__]: Only