artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da5b25c
)
Disable LOAD_STACK_GUARD on OpenBSD/armv7. It seems the implementation
author
kettenis
<kettenis@openbsd.org>
Sun, 19 Nov 2023 16:42:05 +0000
(16:42 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sun, 19 Nov 2023 16:42:05 +0000
(16:42 +0000)
is incomplete resulting in SIGSEGV with the OpenBSD default options.
ok deraadt@, jsg@
gnu/llvm/llvm/lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/gnu/llvm/llvm/lib/Target/ARM/ARMISelLowering.cpp
b/gnu/llvm/llvm/lib/Target/ARM/ARMISelLowering.cpp
index
2e78b52
..
200d450
100644
(file)
--- a/
gnu/llvm/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/
gnu/llvm/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@
-21198,6
+21198,8
@@
bool ARMTargetLowering::shouldInsertFencesForAtomic(
}
bool ARMTargetLowering::useLoadStackGuardNode() const {
+ if (Subtarget->getTargetTriple().isOSOpenBSD())
+ return false;
// ROPI/RWPI are not supported currently.
return !Subtarget->isROPI() && !Subtarget->isRWPI();
}