All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] RISC-V: Make stub compile without c extension
@ 2022-01-17 17:39 Florian Wagner
  2022-01-17 17:39 ` [PATCH 1/1] RISC-V: Change signature header field to use `.ascii` instead of opcode Florian Wagner
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Wagner @ 2022-01-17 17:39 UTC (permalink / raw)
  To: paul.walmsley, palmer, aou, linux-riscv; +Cc: yaron.dinkin, Florian Wagner

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.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-01-20 19:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17 17:39 [PATCH 0/1] RISC-V: Make stub compile without c extension Florian Wagner
2022-01-17 17:39 ` [PATCH 1/1] RISC-V: Change signature header field to use `.ascii` instead of opcode Florian Wagner
2022-01-17 18:44   ` Andreas Schwab
2022-01-17 18:59   ` Jessica Clarke
2022-01-18  1:23     ` Kefeng Wang
2022-01-18  1:25     ` Atish Patra
2022-01-20 19:06       ` Palmer Dabbelt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.