Skip to contentSkip to conversation

arm64/sve: ELF: Reserve ELF note number for SVE

PATCH New Dave Martin 1 participant 1 message Mar 8, 2017 exec and binfmt

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64/sve: ELF: Reserve ELF note number for SVE

Since the ELF note assignment that will be required for supporting the Scalable Vector Extension is well understood, it makes sense to reserve the relevant number now in order to help other projects coordinate.

This patch documents reservation for the expcted assignment.

Later patches implementing SVE support will replace this reservation with the appropriate #define.

---
 include/uapi/linux/elf.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/elf.h +1 -0
index b59ee07..9f59598 100644
@@ -414,6 +414,7 @@ typedef struct elf64_shdr {
 #define NT_ARM_HW_BREAK	0x402		/* ARM hardware breakpoint registers */
 #define NT_ARM_HW_WATCH	0x403		/* ARM hardware watchpoint registers */
 #define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */
+					/* 0x405 reserved for ARM SVE */
 #define NT_METAG_CBUF	0x500		/* Metag catch buffer registers */
 #define NT_METAG_RPIPE	0x501		/* Metag read pipeline state */
 #define NT_METAG_TLS	0x502		/* Metag TLS pointer */
Signature · 1 line
2.1.4