diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2021-04-27 16:59:59 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2021-04-27 16:59:59 +0000 |
commit | f82658338756fe9a38a728aa542d786a0e889e21 (patch) | |
tree | 96589d7f609360a6cb6939a2f501494e0c310add /gcc | |
parent | a21b399708175f6fc0ac723a0cebc127da421c60 (diff) | |
download | gcc-f82658338756fe9a38a728aa542d786a0e889e21.zip gcc-f82658338756fe9a38a728aa542d786a0e889e21.tar.gz gcc-f82658338756fe9a38a728aa542d786a0e889e21.tar.bz2 |
powerpc: fix bootstrap.
gcc/ChangeLog:
* config/rs6000/rs6000.c (rs6000_aix_precompute_tls_p): Protect
with TARGET_AIX_OS.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 60b8e3e..14ff56a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -25371,6 +25371,7 @@ rs6000_legitimate_constant_p (machine_mode mode, rtx x) return true; } +#if TARGET_AIX_OS /* Implement TARGET_PRECOMPUTE_TLS_P. On the AIX, TLS symbols are in the TOC, which is maintained in the @@ -25382,6 +25383,7 @@ rs6000_aix_precompute_tls_p (machine_mode mode ATTRIBUTE_UNUSED, rtx x) { return tls_referenced_p (x); } +#endif /* Return TRUE iff the sequence ending in LAST sets the static chain. */ |