aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2024-04-17 13:18:24 +0000
committerAndrew Turner <andrew@FreeBSD.org>2024-04-24 18:17:20 +0000
commitd7ac42676dc403cd31d4a6c9a91a2ed5680cca86 (patch)
treec78014c18784604dcd3a2a438a9785b867ba6463
parent2c35c867ba05c8de167e1597c9044a72febdda63 (diff)
downloadsrc-d7ac42676dc403cd31d4a6c9a91a2ed5680cca86.tar.gz
src-d7ac42676dc403cd31d4a6c9a91a2ed5680cca86.zip
elf_common.h: Add STO_AARCH64_VARIANT_PCS
This is used to mark symbols that use a variant procedure call with a different calling convention to the main ABI. Reviewed by: kib, imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D44868
-rw-r--r--sys/sys/elf_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 934f66fee953..b9e82cb8fa35 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -883,6 +883,9 @@ typedef struct {
#define STV_SINGLETON 0x5
#define STV_ELIMINATE 0x6
+/* Architecture specific data - st_other */
+#define STO_AARCH64_VARIANT_PCS 0x80
+
/* Special symbol table indexes. */
#define STN_UNDEF 0 /* Undefined symbol index. */