artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c8d50
)
openbsd does not use nonexec stack segment header hints.
author
tedu
<tedu@openbsd.org>
Mon, 29 May 2017 14:37:51 +0000
(14:37 +0000)
committer
tedu
<tedu@openbsd.org>
Mon, 29 May 2017 14:37:51 +0000
(14:37 +0000)
in fact, false is a much better default for UsesNonexecutableStackSection.
platforms that require it can reenable, instead, saving the rest of us an
unnecessary program header (causes trouble for some special binaries).
ok kettenis
gnu/llvm/lib/MC/MCAsmInfoELF.cpp
patch
|
blob
|
history
diff --git
a/gnu/llvm/lib/MC/MCAsmInfoELF.cpp
b/gnu/llvm/lib/MC/MCAsmInfoELF.cpp
index
26e5608
..
dcd6cea
100644
(file)
--- a/
gnu/llvm/lib/MC/MCAsmInfoELF.cpp
+++ b/
gnu/llvm/lib/MC/MCAsmInfoELF.cpp
@@
-31,5
+31,5
@@
MCAsmInfoELF::MCAsmInfoELF() {
WeakRefDirective = "\t.weak\t";
PrivateGlobalPrefix = ".L";
PrivateLabelPrefix = ".L";
- UsesNonexecutableStackSection =
tru
e;
+ UsesNonexecutableStackSection =
fals
e;
}