public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: elfutils-devel@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>, WANG Xuerui <i@xen0n.name>,
	Jinyang He <hejinyang@loongson.cn>,
	Youling Tang <tangyouling@kylinos.cn>,
	Xi Ruoyao <xry111@xry111.site>
Subject: [PATCH 2/2] backends: Update list of LoongArch relocations
Date: Fri, 23 Feb 2024 12:47:28 +0800	[thread overview]
Message-ID: <20240223044728.24959-3-xry111@xry111.site> (raw)
In-Reply-To: <20240223044728.24959-1-xry111@xry111.site>

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
---
 backends/loongarch_reloc.def | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/backends/loongarch_reloc.def b/backends/loongarch_reloc.def
index a39eefd9..cdc83211 100644
--- a/backends/loongarch_reloc.def
+++ b/backends/loongarch_reloc.def
@@ -128,3 +128,20 @@ RELOC_TYPE (SUB6,			REL)
 RELOC_TYPE (ADD_ULEB128,		REL)
 RELOC_TYPE (SUB_ULEB128,		REL)
 RELOC_TYPE (64_PCREL,			REL)
+RELOC_TYPE (CALL36,			REL)
+RELOC_TYPE (TLS_DESC_PC_HI20,		REL)
+RELOC_TYPE (TLS_DESC_PC_LO12,		REL)
+RELOC_TYPE (TLS_DESC64_PC_LO20,		REL)
+RELOC_TYPE (TLS_DESC64_PC_HI12,		REL)
+RELOC_TYPE (TLS_DESC_HI20,		REL)
+RELOC_TYPE (TLS_DESC_LO12,		REL)
+RELOC_TYPE (TLS_DESC64_LO20,		REL)
+RELOC_TYPE (TLS_DESC64_HI12,		REL)
+RELOC_TYPE (TLS_DESC_LD,		REL)
+RELOC_TYPE (TLS_DESC_CALL,		REL)
+RELOC_TYPE (TLS_LE_HI20_R,		REL)
+RELOC_TYPE (TLS_LE_ADD_R,		REL)
+RELOC_TYPE (TLS_LE_LO12_R,		REL)
+RELOC_TYPE (TLS_LD_PCREL20_S2,		REL)
+RELOC_TYPE (TLS_GD_PCREL20_S2,		REL)
+RELOC_TYPE (TLS_DESC_PCREL20_S2,	REL)
-- 
2.43.2


  parent reply	other threads:[~2024-02-23  4:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23  4:47 [PATCH 0/2] Update LoongArch relocations for psABI v2.30 Xi Ruoyao
2024-02-23  4:47 ` [PATCH 1/2] libelf: Sync elf.h from glibc Xi Ruoyao
2024-02-23  4:47 ` Xi Ruoyao [this message]
2024-02-24 13:04 ` [PATCH 0/2] Update LoongArch relocations for psABI v2.30 Mark Wielaard
  -- strict thread matches above, loose matches on Subject: below --
2023-08-29 13:14 [PATCH 1/2] libelf: Sync elf.h from Glibc Xi Ruoyao
2023-08-29 13:14 ` [PATCH 2/2] backends: Update list of LoongArch relocations Xi Ruoyao
2023-08-29 13:23   ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240223044728.24959-3-xry111@xry111.site \
    --to=xry111@xry111.site \
    --cc=elfutils-devel@sourceware.org \
    --cc=hejinyang@loongson.cn \
    --cc=i@xen0n.name \
    --cc=mark@klomp.org \
    --cc=tangyouling@kylinos.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).