* Richard Biener:

> I think both (a) or (d) are reasonable, though I am missing a
> configure time flag to override the changed default.  Even with
> glibc fixed we likely do not want to have this change in older
> enterprise code streams given there might be unknown external
> tooling that might be confused.

Yes, a configure flag makes sense.

> Oh, and what exactly is the advantage of GNU TLS2 descriptors?

The GNU2 TLS descriptor callback preserves most registers, and does not
need to save many registers on its fast path.  This isn't true for
__tls_get_addr, which follows the standard calling convention.  The
descriptors can be specialized based on the DSO that defines the TLS
variable.  So GNU2 TLS descriptors are expected a little to be a bit
faster.

Thanks,
Florian

Reply via email to