On Fri, 19 Jul 2013, Jakub Jelinek wrote:
> The change of memory models based on flag_shlib is completely intentional,
> it is similar to the linker TLS optimizations but at the compiler level,
> so if you want to ad some comment to documentation, that is fine, but
> I don't see anything to fix.

The problem is that -ftls-model flag allows forcing local-exec TLS in
shared objects, but does not allow forcing global-dynamic TLS.  I don't see
the rationale for providing one but not the other.  It seems inconsistent.

Thanks.
Alexander

Reply via email to