* [PATCH] RISC-V : Add linker support for further Z extensions
@ 2021-05-24 13:34 Jessica Mills
2021-05-24 15:21 ` Tom Tromey
0 siblings, 1 reply; 2+ messages in thread
From: Jessica Mills @ 2021-05-24 13:34 UTC (permalink / raw)
To: gdb-patches
From 3fd307fcb519732503c0a5aaaf25764fe9a0157c Mon Sep 17 00:00:00 2001
From: Jessica Mills <jessica.mills@embecosm.com>
Date: Mon, 24 May 2021 08:41:08 +0000
Subject: [PATCH] RISC-V : Add linker support for further Z extensions
Add support to linker for the following Z features used in LLVM:
- Bit manipulation: Zbe, Zbf, Zbm, Zbp, Zbr, Zbs and Zbt.
- Half-precision floating-point: Zfh.
- Vector segment load/store: Zvlsseg.
- Vector AMO operations: Zvamo.
bfd/ChangeLog:
* elfxx-riscv.c (riscv_std_z_ext_strtab): Add zbe, zbf, zbm, zbp,
zbr, zbs, zbt, zfh, zvamo and zvlsseg.
---
bfd/ChangeLog | 5 +++++
bfd/elfxx-riscv.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index 7206ec8573b..d2a6a775b08 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -1077,7 +1077,8 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] =
static const char * const riscv_std_z_ext_strtab[] =
{
- "zba", "zbb", "zbc", "zicsr", "zifencei", "zihintpause", NULL
+ "zba", "zbb", "zbc", "zbe", "zbf", "zbm", "zbp", "zbr", "zbs", "zbt", "zfh",
+ "zicsr", "zifencei", "zihintpause", "zvamo", "zvlsseg", NULL
};
static const char * const riscv_std_s_ext_strtab[] =
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] RISC-V : Add linker support for further Z extensions
2021-05-24 13:34 [PATCH] RISC-V : Add linker support for further Z extensions Jessica Mills
@ 2021-05-24 15:21 ` Tom Tromey
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2021-05-24 15:21 UTC (permalink / raw)
To: Jessica Mills; +Cc: gdb-patches
>>>>> "Jessica" == Jessica Mills <jessica.mills@embecosm.com> writes:
Jessica> From 3fd307fcb519732503c0a5aaaf25764fe9a0157c Mon Sep 17 00:00:00 2001
Jessica> From: Jessica Mills <jessica.mills@embecosm.com>
Jessica> Date: Mon, 24 May 2021 08:41:08 +0000
Jessica> Subject: [PATCH] RISC-V : Add linker support for further Z extensions
I think you meant to send this to the binutils list.
thanks,
Tom
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-24 15:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 13:34 [PATCH] RISC-V : Add linker support for further Z extensions Jessica Mills
2021-05-24 15:21 ` Tom Tromey
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).