This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build] Fix Solaris 2/x86 GD/LD TLS code sequences with Sun ld
Uros,
> Since handling of "p" is not conditional (that is, controlled by some
> compile flag), it is IMO better to just output correct assembly from
> the insn pattern itself. You will also output lower-case "@plt" which
I think I tried something along these lines, but failed with duplicate
@plt@plt for PIC code.
> is IIRC preferred by Sun assebler.
I've never seen such an issue.
> Something like attached (untested) patch.
Unfortunately, the Solaris 10/x86 bootstrap fails in the stage1 libgomp:
/vol/gcc/src/hg/trunk/solaris/libgomp/single.c: In function 'GOMP_single_start':
/vol/gcc/src/hg/trunk/solaris/libgomp/single.c:55:1: internal compiler error: ou
tput_operand: '%&' used without any local dynamic TLS references
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University