git: d7ac42676dc4 - main - elf_common.h: Add STO_AARCH64_VARIANT_PCS

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Wed, 24 Apr 2024 18:31:45 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=d7ac42676dc403cd31d4a6c9a91a2ed5680cca86

commit d7ac42676dc403cd31d4a6c9a91a2ed5680cca86
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-04-17 13:18:24 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-04-24 18:17:20 +0000

    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
---
 sys/sys/elf_common.h | 3 +++
 1 file changed, 3 insertions(+)

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. */