-
Notifications
You must be signed in to change notification settings - Fork 2
riscv_ztso_minor_fix
Tsukasa OI edited this page Sep 21, 2022
·
2 revisions
- Status: Merged for Binutils 2.40
- Branch:
riscv-ztso-minor-fix - Tracking PR: None
- Mailing List:
- PATCH v1 (2022-09-21)
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.