Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230815221755.75013-4-michalbiesek@gmail.com>
Date: Wed, 16 Aug 2023 00:17:55 +0200
From: Michal Biesek <michalbiesek@...il.com>
To: musl@...ts.openwall.com
Cc: Michal Biesek <michalbiesek@...il.com>
Subject: [PATCH 3/3] Add dynamic relocations `R_RISCV_S(ET,UB)_ULEB128`

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@...il.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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.