]> git.ipfire.org Git - thirdparty/grub.git/commit
RISC-V: Adjust -march flags for binutils 2.38
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 29 Jan 2022 12:36:55 +0000 (13:36 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 8 Feb 2022 15:06:49 +0000 (16:06 +0100)
commit049efdd72eb7baa7b2bf8884391ee7fe650da5a0
treefab0421544eff342cca40d564cc0a05c6f4bcd41
parenteb29f2ac9a401146bb09bf682c6f2d2093de869f
RISC-V: Adjust -march flags for binutils 2.38

As of version 2.38 binutils defaults to ISA specification version
2019-12-13. This version of the specification has has separated the
the csr read/write (csrr*/csrw*) instructions and the fence.i from
the I extension and put them into separate Zicsr and Zifencei
extensions.

This implies that we have to adjust the -march flag passed to the
compiler accordingly.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
configure.ac