* [PATCH] LoongArch: elf: Add new LoongArch reloc types 109 into elf.h
@ 2023-08-14 7:37 caiyinyu
2023-08-14 8:20 ` Xi Ruoyao
0 siblings, 1 reply; 2+ messages in thread
From: caiyinyu @ 2023-08-14 7:37 UTC (permalink / raw)
To: libc-alpha; +Cc: adhemerval.zanella, xry111, caiyinyu
These reloc types are generated by GNU assembler >= 2.41 for relaxation
support.
---
elf/elf.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/elf/elf.h b/elf/elf.h
index d623bdeb6f..9c51073f75 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -4213,6 +4213,7 @@ enum
#define R_LARCH_SUB6 106
#define R_LARCH_ADD_ULEB128 107
#define R_LARCH_SUB_ULEB128 108
+#define R_LARCH_64_PCREL 109
/* ARC specific declarations. */
--
2.31.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] LoongArch: elf: Add new LoongArch reloc types 109 into elf.h
2023-08-14 7:37 [PATCH] LoongArch: elf: Add new LoongArch reloc types 109 into elf.h caiyinyu
@ 2023-08-14 8:20 ` Xi Ruoyao
0 siblings, 0 replies; 2+ messages in thread
From: Xi Ruoyao @ 2023-08-14 8:20 UTC (permalink / raw)
To: caiyinyu, libc-alpha; +Cc: adhemerval.zanella
On Mon, 2023-08-14 at 15:37 +0800, caiyinyu wrote:
> These reloc types are generated by GNU assembler >= 2.41 for relaxation
> support.
Ok. I must be completely blind when I tried to update elf.h and I
didn't see it :(.
> ---
> elf/elf.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/elf/elf.h b/elf/elf.h
> index d623bdeb6f..9c51073f75 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -4213,6 +4213,7 @@ enum
> #define R_LARCH_SUB6 106
> #define R_LARCH_ADD_ULEB128 107
> #define R_LARCH_SUB_ULEB128 108
> +#define R_LARCH_64_PCREL 109
>
> /* ARC specific declarations. */
>
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-14 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-14 7:37 [PATCH] LoongArch: elf: Add new LoongArch reloc types 109 into elf.h caiyinyu
2023-08-14 8:20 ` Xi Ruoyao
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).