openbsd-ports/devel/llvm/patches/patch-include_llvm_MC_MCAsmInfoELF_h
ajacoutot 3d1734b8ef Move comment where it belongs.
from Brad (maintainer)
2017-09-02 09:36:13 +00:00

17 lines
597 B
Plaintext

$OpenBSD: patch-include_llvm_MC_MCAsmInfoELF_h,v 1.2 2017/09/02 09:36:13 ajacoutot Exp $
Do not use nonexec stack segment header hints.
Index: include/llvm/MC/MCAsmInfoELF.h
--- include/llvm/MC/MCAsmInfoELF.h.orig
+++ include/llvm/MC/MCAsmInfoELF.h
@@ -21,7 +21,7 @@ class MCAsmInfoELF : public MCAsmInfo {
protected:
/// Targets which have non-executable stacks by default can set this to false
/// to disable the special section which requests a non-executable stack.
- bool UsesNonexecutableStackSection = true;
+ bool UsesNonexecutableStackSection = false;
MCAsmInfoELF();
};