From 94b3843fdd6fbe93c7ca4c27f6f43b9379a31743 Mon Sep 17 00:00:00 2001 From: kettenis Date: Tue, 27 Feb 2024 15:34:28 +0000 Subject: [PATCH] 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@ --- gnu/llvm/libunwind/src/assembly.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #define _LIBUNWIND_CET_ENDBR _CET_ENDBR #else -- 2.20.1