You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This difference in .align values determines that for the illegal.S test the _start symbol has a value of .align 8, while for tests that do not implement mtvec_handler the same symbol has a value of .align 6. This can lead to problems in simpler systems with a fixed starting point value.
The text was updated successfully, but these errors were encountered:
In
riscv_test.h
there is a weakmtvec_handler
declaration aligned to 6.https://github.com/riscv/riscv-test-env/blob/4fabfb4e0d3eacc1dc791da70e342e4b68ea7e46/p/riscv_test.h#L170
However, in
illegal.S
test,mtvec_handler
is aligned to 8. Shouldn't this be consistent?riscv-tests/isa/rv64mi/illegal.S
Line 132 in 0ab6b90
This difference in
.align
values determines that for theillegal.S
test the_start
symbol has a value of.align 8
, while for tests that do not implementmtvec_handler
the same symbol has a value of.align 6
. This can lead to problems in simpler systems with a fixed starting point value.The text was updated successfully, but these errors were encountered: