public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf: Add new LoongArch reloc types (110 to 126) into elf.h
@ 2024-02-22 12:16 Yinyu Cai
  0 siblings, 0 replies; only message in thread
From: Yinyu Cai @ 2024-02-22 12:16 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b881f1efcd1b30c2afab3599b41ce9cd4864c823

commit b881f1efcd1b30c2afab3599b41ce9cd4864c823
Author: Xi Ruoyao <xry111@xry111.site>
Date:   Thu Feb 22 18:57:43 2024 +0800

    elf: Add new LoongArch reloc types (110 to 126) into elf.h
    
    These reloc types have been added in LoongArch psABI v2.30.
    
    Link: https://github.com/loongson/la-abi-specs/blob/v2.30/laelf.adoc#relocation-types
    Signed-off-by: Xi Ruoyao <xry111@xry111.site>

Diff:
---
 elf/elf.h | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/elf/elf.h b/elf/elf.h
index 455731663c..f2206e5c06 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -4331,6 +4331,23 @@ enum
 #define R_LARCH_ADD_ULEB128 107
 #define R_LARCH_SUB_ULEB128 108
 #define R_LARCH_64_PCREL 109
+#define R_LARCH_CALL36 110
+#define R_LARCH_TLS_DESC_PC_HI20 111
+#define R_LARCH_TLS_DESC_PC_LO12 112
+#define R_LARCH_TLS_DESC64_PC_LO20 113
+#define R_LARCH_TLS_DESC64_PC_HI12 114
+#define R_LARCH_TLS_DESC_HI20 115
+#define R_LARCH_TLS_DESC_LO12 116
+#define R_LARCH_TLS_DESC64_LO20 117
+#define R_LARCH_TLS_DESC64_HI12 118
+#define R_LARCH_TLS_DESC_LD 119
+#define R_LARCH_TLS_DESC_CALL 120
+#define R_LARCH_TLS_LE_HI20_R 121
+#define R_LARCH_TLS_LE_ADD_R 122
+#define R_LARCH_TLS_LE_LO12_R 123
+#define R_LARCH_TLS_LD_PCREL20_S2 124
+#define R_LARCH_TLS_GD_PCREL20_S2 125
+#define R_LARCH_TLS_DESC_PCREL20_S2 126
 
 /* ARC specific declarations.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-22 12:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-22 12:16 [glibc] elf: Add new LoongArch reloc types (110 to 126) into elf.h Yinyu Cai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).