mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-17 06:34:31 +08:00
* varasm.c (decl_tls_model): Check flag_shlib instead of flag_pic.
From-SVN: r96378
This commit is contained in:
parent
65dc935013
commit
0bfb33e513
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user