diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-03-23 20:33:06 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-03-23 20:33:06 +0000 |
commit | b2cb74c22c4f7087f342cf50b116b040de6bdc6c (patch) | |
tree | fca9756cc831ad522110bc7e3ceb1972320afe21 /sys/sys/elf_common.h | |
parent | add00c381e5c9938133061c401dcba764009cafc (diff) | |
download | src-b2cb74c22c4f7087f342cf50b116b040de6bdc6c.tar.gz src-b2cb74c22c4f7087f342cf50b116b040de6bdc6c.zip |
arm,arm64: Add a NT_ARM_TLS read-only register set.
This register set exposes the per-thread TLS register. It matches the
layout used by Linux on arm64. Linux does not implement this note for
32-bit arm.
Reviewed by: andrew, markj
Sponsored by: University of Cambridge, Google, Inc.
Differential Revision: https://reviews.freebsd.org/D34595
Diffstat (limited to 'sys/sys/elf_common.h')
-rw-r--r-- | sys/sys/elf_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index 0bc93659adc5..022bbf450e6c 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -825,6 +825,7 @@ typedef struct { #define NT_PPC_VSX 0x102 /* PowerPC VSX registers */ #define NT_X86_XSTATE 0x202 /* x86 XSAVE extended state. */ #define NT_ARM_VFP 0x400 /* ARM VFP registers */ +#define NT_ARM_TLS 0x401 /* ARM TLS register */ #define NT_ARM_ADDR_MASK 0x406 /* arm64 address mask (e.g. for TBI) */ /* GNU note types. */ |