[PATCH] D67118: On PowerPC, Secure-PLT by default for FreeBSD 13 and higher
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 13:57:33 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL372260: On PowerPC, Secure-PLT by default for FreeBSD 13 and higher (authored by dim, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67118/new/
https://reviews.llvm.org/D67118
Files:
llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
Index: llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
===================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
+++ llvm/trunk/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -145,7 +145,8 @@
if (isDarwin())
HasLazyResolverStubs = true;
- if (TargetTriple.isOSNetBSD() || TargetTriple.isOSOpenBSD() ||
+ if ((TargetTriple.isOSFreeBSD() && TargetTriple.getOSMajorVersion() >= 13) ||
+ TargetTriple.isOSNetBSD() || TargetTriple.isOSOpenBSD() ||
TargetTriple.isMusl())
SecurePlt = true;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67118.220746.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190918/490198fc/attachment.bin>
More information about the llvm-commits
mailing list