diff mbox series

[RFC,v2,03/22] elf.h: Define GNU_PROPERTY_AARCH64_FEATURE_1_GCS

Message ID 20241018095804.2955100-1-yury.khrustalev@arm.com
State New
Headers show
Series aarch64: Add support for Guarded Control Stack extension | expand

Commit Message

Yury Khrustalev Oct. 18, 2024, 9:58 a.m. UTC
From: Szabolcs Nagy <szabolcs.nagy@arm.com>

---
 elf/elf.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/elf/elf.h b/elf/elf.h
index 33aea7f743..970c3daaec 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1389,6 +1389,7 @@  typedef struct
 
 #define GNU_PROPERTY_AARCH64_FEATURE_1_BTI	(1U << 0)
 #define GNU_PROPERTY_AARCH64_FEATURE_1_PAC	(1U << 1)
+#define GNU_PROPERTY_AARCH64_FEATURE_1_GCS	(1U << 2)
 
 /* The x86 instruction sets indicated by the corresponding bits are
    used in program.  Their support in the hardware is optional.  */