[Bug middle-end/78294] [5/6/7 Regression] -fsanitize=thread broken by ignoring __attribute__((tls_model("initial-exec")))
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 16 07:48:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78294
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
As for the ld.bfd optimization that makes linking with ld.bfd work, that is an
optimization if there are any IE relocations then other GD/LD relocations are
turned into them too, because once you have any IE relocations, all of the TLS
has to be static anyway, so the TLS GD/LD calls are just a waste of time.
More information about the Gcc-bugs
mailing list