12 lines
362 B
Diff
12 lines
362 B
Diff
--- llvm/lib/Target/PowerPC/PPCSubtarget.cpp
|
|
+++ llvm/lib/Target/PowerPC/PPCSubtarget.cpp
|
|
@@ -153,7 +153,7 @@
|
|
|
|
if ((TargetTriple.isOSFreeBSD() && TargetTriple.getOSMajorVersion() >= 13) ||
|
|
TargetTriple.isOSNetBSD() || TargetTriple.isOSOpenBSD() ||
|
|
- TargetTriple.isMusl())
|
|
+ isTargetLinux())
|
|
SecurePlt = true;
|
|
|
|
if (HasSPE && IsPPC64)
|