[PATCH 0/1] RISC-V: Make stub compile without c extension
Florian Wagner
florian.wagner at nextsilicon.com
Mon Jan 17 09:39:40 PST 2022
This is a small patch to get the `head.S` for riscv compiling without
the compressed instructions extension for riscv.
Specifically a magic number in a signature field was described as an
instruction instead of a constant in the assembly. The patch changes
this to encode the value via `.ascii` which is closer to the original
specification.
The generated code should is byte-by-byte equal.
Best Regards
Florian
Florian Wagner (1):
RISC-V: Change signature header field to use `.ascii` instead of
opcode
arch/riscv/kernel/head.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.25.1
--
This e-mail message and any attachments thereto are intended only for the
person or entity to which it is addressed and may contain confidential
and/or privileged material. Any retransmission, dissemination, copying or
other use of, or taking of any action in reliance upon this information is
prohibited. If you are not the intended addressee, please contact the
sender immediately and delete the materials and information from your
device and system and confirm the deletion by reply e-mail.
More information about the linux-riscv
mailing list