summaryrefslogtreecommitdiff
path: root/gnu/llvm
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-02-27 15:34:29 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-02-27 15:34:29 +0000
commit81279732c1aa212c8e2dd53013c1cf37f0a53fea (patch)
tree2458d38338c602e472039be4f358f96a71a4afb8 /gnu/llvm
parentf3ee85923f95427a80d00761b2f57e237ed2db11 (diff)
Linux still doesn't actually implement IBT for userland. And by the pace
things are going, it will take another decade before it does. But OpenBSD has it enabled *by default* already. Drop the #ifdef __linux__. This should hurt other OSes when they finally catch up with us. ok robert@, tb@
Diffstat (limited to 'gnu/llvm')
-rw-r--r--gnu/llvm/libunwind/src/assembly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/libunwind/src/assembly.h b/gnu/llvm/libunwind/src/assembly.h
index fb07d04071a..a7091108baf 100644
--- a/gnu/llvm/libunwind/src/assembly.h
+++ b/gnu/llvm/libunwind/src/assembly.h
@@ -15,7 +15,7 @@
#ifndef UNWIND_ASSEMBLY_H
#define UNWIND_ASSEMBLY_H
-#if defined(__linux__) && defined(__CET__)
+#if defined(__CET__)
#include <cet.h>
#define _LIBUNWIND_CET_ENDBR _CET_ENDBR
#else