mbox series

[0/1] RISC-V: Make stub compile without c extension

Message ID 20220117173941.3798325-1-florian.wagner@nextsilicon.com (mailing list archive)
Headers show
Series RISC-V: Make stub compile without c extension | expand

Message

Florian Wagner Jan. 17, 2022, 5:39 p.m. UTC
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(-)