[PATCH 0/1] RISC-V: Minor fix to the 'Ztso' extension support

shihua@iscas.ac.cn shihua@iscas.ac.cn
Wed Sep 21 09:53:40 GMT 2022


Hi,Tsukasa OI
  In patch V4 ( https://sourceware.org/pipermail/binutils/2022-September/122962.html ), I removed support tso for the .option directive. So I think it's not necessary to add this.
Thanks,
Shihua


> -----原始邮件-----
> 发件人: "Tsukasa OI" <research_trasio@irq.a4lg.com>
> 发送时间: 2022-09-21 14:40:42 (星期三)
> 收件人: "Tsukasa OI" <research_trasio@irq.a4lg.com>, "Nelson Chu" <nelson@rivosinc.com>, "Shihua LIAO" <shihua@iscas.ac.cn>
> 抄送: binutils@sourceware.org
> 主题: [PATCH 0/1] RISC-V: Minor fix to the 'Ztso' extension support
> 
> Hi all,
> 
> I think Shihua could have missed my review 2:
> <https: sourceware.org="" pipermail="" binutils="" 2022-september="" 122916.html="">
> (see near the end of my e-mail starting with "Other than that,").
> 
> Currently, it sets EF_RISCV_TSO ELF flag when initial ISA string contains
> the 'Ztso' extension.  However, GAS has a way to update the ISA string:
> ".option arch".
> 
> When the architecture is updated by ".option arch", EF_RISCV_RVC ELF flag
> is set when the 'C' extension is detected.  Analogously, this patchset sets
> the EF_RISCV_TSO when the 'Ztso' extension is detected.
> 
> With this patch, the 'Ztso' extension support will be complete.
> 
> Thanks,
> 
> 
> 
> 
> Tsukasa OI (1):
>   RISC-V: Set EF_RISCV_TSO also on .option arch
> 
>  gas/config/tc-riscv.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> 
> base-commit: e472ec9fad6d7b0da914da606430e249d1bd99e4
> -- 
> 2.34.1
</https:></shihua@iscas.ac.cn></nelson@rivosinc.com></research_trasio@irq.a4lg.com></research_trasio@irq.a4lg.com>


More information about the Binutils mailing list