projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21b399
)
powerpc: fix bootstrap.
author
David Edelsohn
<dje.gcc@gmail.com>
Tue, 27 Apr 2021 16:59:59 +0000
(16:59 +0000)
committer
David Edelsohn
<dje.gcc@gmail.com>
Tue, 27 Apr 2021 16:59:59 +0000
(16:59 +0000)
gcc/ChangeLog:
* config/rs6000/rs6000.c (rs6000_aix_precompute_tls_p): Protect
with TARGET_AIX_OS.
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index 60b8e3ec2e5b31974c2329313526a1aa0c8f97a6..14ff56a170f2bc0402611ba32258bb05e984306e 100644
(file)
--- 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
\f
/* Return TRUE iff the sequence ending in LAST sets the static chain. */