git: 449ba445507e - stable/13 - elf_common.h: Add STO_AARCH64_VARIANT_PCS

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Mon, 15 Jul 2024 12:38:12 UTC
The branch stable/13 has been updated by andrew:

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

commit 449ba445507ed45428a06f579de98e94f7257c23
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-04-17 13:18:24 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-07-15 12:34:28 +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
    
    (cherry picked from commit d7ac42676dc403cd31d4a6c9a91a2ed5680cca86)
---
 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 4af241bb085c..fa85396b02df 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -881,6 +881,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. */