git: 276355b8fdd3 - stable/14 - elf_common.h: Add STO_AARCH64_VARIANT_PCS

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

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

commit 276355b8fdd331cfa25837d7f2e217a149b8ac24
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:24:10 +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 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. */