diff mbox series

[v3,03/23] elf.h: Define GNU_PROPERTY_AARCH64_FEATURE_1_GCS

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

Commit Message

Yury Khrustalev Oct. 23, 2024, 8:39 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.  */