From 670dbba3157ce41e8d2a89a35f9ba7ff9fba52ad Mon Sep 17 00:00:00 2001 From: Andrew de los Reyes Date: Wed, 12 Jul 2023 15:25:37 -0700 Subject: [PATCH] Disable RISCV_ATTRIBUTES Elf program header This header is causing problems w/ SAIL, so for now just omit it. --- isa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isa/Makefile b/isa/Makefile index 1d41cc738..c8cdae520 100644 --- a/isa/Makefile +++ b/isa/Makefile @@ -58,7 +58,7 @@ vpath %.S $(src_dir) define compile_template $$($(1)_p_tests): $(1)-p-%: $(1)/%.S - $$(RISCV_GCC) $(2) $$(RISCV_GCC_OPTS) -I$(src_dir)/../env/p -I$(src_dir)/macros/scalar -T$(src_dir)/../env/p/link.ld $$< -o $$@ + $$(RISCV_GCC) $(2) $$(RISCV_GCC_OPTS) -Wa,-mno-arch-attr -I$(src_dir)/../env/p -I$(src_dir)/macros/scalar -T$(src_dir)/../env/p/link.ld $$< -o $$@ $(1)_tests += $$($(1)_p_tests) $$($(1)_v_tests): $(1)-v-%: $(1)/%.S