2021-06-22 21:11:13 +02:00
|
|
|
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
|
|
|
|
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
|
2021-05-16 01:58:09 +02:00
|
|
|
@@ -165,7 +165,7 @@ void PPCSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
|
|
|
|
|
|
|
|
if ((TargetTriple.isOSFreeBSD() && TargetTriple.getOSMajorVersion() >= 13) ||
|
|
|
|
TargetTriple.isOSNetBSD() || TargetTriple.isOSOpenBSD() ||
|
|
|
|
- TargetTriple.isMusl())
|
|
|
|
+ isTargetLinux())
|
|
|
|
SecurePlt = true;
|
|
|
|
|
|
|
|
if (HasSPE && IsPPC64)
|