Skip to content

Commit

Permalink
Disable RISCV_ATTRIBUTES Elf program header
Browse files Browse the repository at this point in the history
This header is causing problems w/ SAIL, so for now just omit it.
  • Loading branch information
Andrew de los Reyes committed Jul 20, 2023
1 parent adf2fbe commit 7285e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7285e9d

Please sign in to comment.