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 Aug 15, 2023
1 parent c6dca3f commit 77487d2
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 77487d2

Please sign in to comment.