Commit 0bfb33e5 by Daniel Jacobowitz Committed by Daniel Jacobowitz

* varasm.c (decl_tls_model): Check flag_shlib instead of flag_pic.

From-SVN: r96378
parent 65dc9350
2005-03-13 Daniel Jacobowitz <dan@codesourcery.com>
* varasm.c (decl_tls_model): Check flag_shlib instead of flag_pic.
2005-03-13 Roger Sayle <roger@eyesopen.com> 2005-03-13 Roger Sayle <roger@eyesopen.com>
* expmed.c (expand_mult): Use synthetic multiplication sequences for * expmed.c (expand_mult): Use synthetic multiplication sequences for
......
...@@ -4602,7 +4602,7 @@ decl_tls_model (tree decl) ...@@ -4602,7 +4602,7 @@ decl_tls_model (tree decl)
} }
is_local = targetm.binds_local_p (decl); is_local = targetm.binds_local_p (decl);
if (!flag_pic) if (!flag_shlib)
{ {
if (is_local) if (is_local)
kind = TLS_MODEL_LOCAL_EXEC; kind = TLS_MODEL_LOCAL_EXEC;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment