From: Vagrant Cascadian Date: Tue, 9 Aug 2022 23:59:45 +0000 (+0100) Subject: update-isa-spec X-Git-Tag: archive/raspbian/2024.01+dfsg-5+rpi1~3^2^2^2^2^2^2^2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=31711f4f70abf84a648423a762c1d89f0bd9dbc3;p=u-boot.git update-isa-spec Update to newer default ISA spec in GCC and binutils: Update to newer default ISA spec in GCC and binutils: https://lists.infradead.org/pipermail/linux-riscv/2022-January/011728.html Gbp-Pq: Topic riscv64 Gbp-Pq: Name update-isa-spec.patch --- diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 0b80eb8d8..7814d02bb 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -24,7 +24,7 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y) CMODEL = medany endif -ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C) -mabi=$(ABI) \ +ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C)_zicsr_zifencei -mabi=$(ABI) \ -mcmodel=$(CMODEL) PLATFORM_CPPFLAGS += $(ARCH_FLAGS)