Date: Wed, 13 May 2026 14:20:02 +0000 From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f62ab5c293f6 - stable/14 - elf_common.h: Add AArch64 Memtag ABI constants Message-ID: <6a048892.27281.7eadf65a@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=f62ab5c293f64cf492c2a20ee99ded008e9a1457 commit f62ab5c293f64cf492c2a20ee99ded008e9a1457 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2026-02-23 21:23:49 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2026-05-13 14:05:26 +0000 elf_common.h: Add AArch64 Memtag ABI constants Obtained from the Memtag ABI Extension to ELF for the ArmĀ® 64-bit Architecture (AArch64) [1] [1] https://github.com/ARM-software/abi-aa/blob/main/memtagabielf64/memtagabielf64.rst#dynamic-section Reviewed by: andrew Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55486 (cherry picked from commit d971bc5220f7adb8a2bdfadc8e3ca7ffcf9ca843) (cherry picked from commit 9712b5e4b58bc3ff9402413ce7a149c956774263) --- sys/sys/elf_common.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h index 2152efdee8b6..8419dfddfe41 100644 --- a/sys/sys/elf_common.h +++ b/sys/sys/elf_common.h @@ -469,6 +469,9 @@ typedef struct { #define SHT_HIOS 0x6fffffff /* Last of OS specific semantics */ #define SHT_LOPROC 0x70000000 /* reserved range for processor */ +#define SHT_AARCH64_MEMTAG_GLOBALS_STATIC 0x70000007 +#define SHT_AARCH64_MEMTAG_GLOBALS_DYNAMIC 0x70000008 + #define SHT_ARM_EXIDX 0x70000001 /* Exception index table. */ #define SHT_ARM_PREEMPTMAP 0x70000002 /* BPABI DLL dynamic linking pre-emption map. */ @@ -703,6 +706,11 @@ typedef struct { #define DT_AARCH64_BTI_PLT 0x70000001 #define DT_AARCH64_PAC_PLT 0x70000003 #define DT_AARCH64_VARIANT_PCS 0x70000005 +#define DT_AARCH64_MEMTAG_MODE 0x70000009 +#define DT_AARCH64_MEMTAG_HEAP 0x7000000b +#define DT_AARCH64_MEMTAG_STACK 0x7000000c +#define DT_AARCH64_MEMTAG_GLOBALS 0x7000000d +#define DT_AARCH64_MEMTAG_GLOBALSSZ 0x7000000f #define DT_ARM_SYMTABSZ 0x70000001 #define DT_ARM_PREEMPTMAP 0x70000002home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a048892.27281.7eadf65a>
