RISC-V: Enable RVC on ".option arch, +zca" etc.
authorTsukasa OI <research_trasio@irq.a4lg.com>
Tue, 25 Jul 2023 01:40:09 +0000 (01:40 +0000)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Tue, 25 Jul 2023 01:42:44 +0000 (01:42 +0000)
commit695776dc2f43c56dd2ae2f7036fb7cf74e19b46b
tree4e44329a84781eda480789b88c0c08d1b1c62dba
parent3dfee72010248aca5932a27b4c34d3b79ab9f057
RISC-V: Enable RVC on ".option arch, +zca" etc.

Since the 'Zca' extension is the new base of the compressed instructions,
this commit enables RVC *also* when the 'Zca' extension is enabled
via ".option arch" directive.

gas/ChangeLog:

* config/tc-riscv.c (s_riscv_option): Enable RVC also when the
'Zca' extension is enabled after an ".option arch" directive.
gas/config/tc-riscv.c