[PATCH] Fix TLS support on SPARC/Solaris with native tools

Eric Botcazou ebotcazou@libertysurf.fr
Fri Jan 16 06:54:00 GMT 2004


> On Thu, Jan 15, 2004 at 08:58:38AM +0100, Eric Botcazou wrote:
> > 	* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Emit
> > 	"tls_object" for thread-local objects.
>
> If we're going to do this, then we have to check for tls_object
> in the configure.ac bits, since this was added to gas later.

It is not required for gas, isn't it?  It is for Sun fbe, otherwise the 
relocation type is wrong.

What about tweaks in sparc/sol2-bi.h and sparc/sol2-gas-bi.h instead?

-- 
Eric Botcazou



More information about the Gcc-patches mailing list