[Bug target/38118] gcc emits non-TLS data as TLS on Solaris 11/SPARC
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 18 08:25:00 GMT 2008
------- Comment #3 from ebotcazou at gcc dot gnu dot org 2008-11-18 08:24 -------
> I'm not completely sure this is a bug in Sun as. If you consider the
> assembler code for my testcase produced by gcc:
>
> .global tsd
> .section ".tbss",#alloc,#write,#tls
> .align 4
> .type tsd, #tls_object
> .size tsd, 4
> tsd:
> .skip 4
> .common non_tsd,4,4
>
> versus what Studio 12 cc produces:
>
> .section ".bss",#alloc,#write
> .common non_tsd,4,4
> .section ".tbss",#alloc,#write,#tls
> .common tsd,4,4
>
> you see that gcc lacks the section switching between non_tsd and tsd.
OK, this makes sense, but I'd suggest discussing that under PR 29987.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38118
More information about the Gcc-bugs
mailing list