mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Michal Biesek <michalbiesek@gmail.com>
To: musl@lists.openwall.com
Cc: Michal Biesek <michalbiesek@gmail.com>
Subject: [musl] [PATCH 3/3] Add dynamic relocations `R_RISCV_S(ET,UB)_ULEB128`
Date: Wed, 16 Aug 2023 00:17:55 +0200	[thread overview]
Message-ID: <20230815221755.75013-4-michalbiesek@gmail.com> (raw)
In-Reply-To: <20230815221755.75013-1-michalbiesek@gmail.com>

see
  riscv-elf-psabi-doc commit 96d6e190e9fc04a8517f9ff7fb9aed3e9876cbd6
  Define relocations for ULEB128 value: R_RISCV_SET_ULEB128 and
  R_RISCV_SUB_ULEB128

Signed-off-by: Michal Biesek <michalbiesek@gmail.com>
---
 include/elf.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/elf.h b/include/elf.h
index ad413427..39288c16 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -3294,6 +3294,8 @@ enum
 #define R_RISCV_32_PCREL        57
 #define R_RISCV_IRELATIVE       58
 #define R_RISCV_PLT32           59
+#define R_RISCV_SET_ULEB128     60
+#define R_RISCV_SUB_ULEB128     61
 
 #ifdef __cplusplus
 }
-- 
2.34.1


      parent reply	other threads:[~2023-08-15 22:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15 22:17 [musl] [PATCH 0/3] elf.h add new RISC-V relocations Michal Biesek
2023-08-15 22:17 ` [musl] [PATCH 1/3] Add dynamic relocation `R_RISCV_IRELATIVE` Michal Biesek
2023-08-15 22:17 ` [musl] [PATCH 2/3] Add dynamic relocation `R_RISCV_PLT32` Michal Biesek
2023-08-15 22:17 ` Michal Biesek [this message]

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=20230815221755.75013-4-michalbiesek@gmail.com \
    --to=michalbiesek@gmail.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).