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

From-SVN: r96378
This commit is contained in:
Daniel Jacobowitz 2005-03-13 17:56:14 +00:00 committed by Daniel Jacobowitz
parent 65dc935013
commit 0bfb33e513
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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>
* expmed.c (expand_mult): Use synthetic multiplication sequences for

View File

@ -4602,7 +4602,7 @@ decl_tls_model (tree decl)
}
is_local = targetm.binds_local_p (decl);
if (!flag_pic)
if (!flag_shlib)
{
if (is_local)
kind = TLS_MODEL_LOCAL_EXEC;