rs6000.c (rs6000_tls_referenced_p): Return early if TARGET_HAVE_TLS is false.
2003-12-21 Andrew Pinski <pinskia@physics.uc.edu> * config/rs6000/rs6000.c (rs6000_tls_referenced_p): Return early if TARGET_HAVE_TLS is false. From-SVN: r74912
This commit is contained in:
parent
f6bf809f6c
commit
cd413cab51
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-12-21 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_tls_referenced_p): Return early if
|
||||
TARGET_HAVE_TLS is false.
|
||||
|
||||
2003-12-21 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/ip2k/ip2k-protos.h: Remove the prototype for
|
||||
|
|
|
@ -2907,6 +2907,9 @@ rs6000_tls_symbol_ref (rtx x, enum machine_mode mode ATTRIBUTE_UNUSED)
|
|||
bool
|
||||
rs6000_tls_referenced_p (rtx x)
|
||||
{
|
||||
if (! TARGET_HAVE_TLS)
|
||||
return false;
|
||||
|
||||
return for_each_rtx (&x, &rs6000_tls_symbol_ref_1, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue