RISC-V: The version of i-ext should be RISCV_UNKNOWN_VERSION when expanding g-ext.
authorNelson Chu <nelson.chu@sifive.com>
Mon, 12 Apr 2021 09:59:57 +0000 (17:59 +0800)
committerNelson Chu <nelson.chu@sifive.com>
Mon, 12 Apr 2021 10:04:12 +0000 (18:04 +0800)
commitf5b10973531cdda7e1aba7496f70476b5146fcf8
treecf862a980d3eb9644dc9e453e4e692b226367090
parentf0bae2552db1dd4f1995608fbf6648fcee4e9e0c
RISC-V: The version of i-ext should be RISCV_UNKNOWN_VERSION when expanding g-ext.

Fix the wrong version of i-ext when expanding g-ext.  This was changed by
the previous patch accidently.

bfd/
    * elfxx-riscv.c (riscv_parse_std_ext): Fixed the wrong versions of
    i-ext when expanding g-ext.
bfd/ChangeLog
bfd/elfxx-riscv.c