[PATCH 1/1] RISC-V: Change signature header field to use `.ascii` instead of opcode

Andreas Schwab schwab at linux-m68k.org
Mon Jan 17 10:44:54 PST 2022


On Jan 17 2022, Florian Wagner wrote:

> diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S
> index f52f01ecbeea..931b63464b90 100644
> --- a/arch/riscv/kernel/head.S
> +++ b/arch/riscv/kernel/head.S
> @@ -48,7 +48,7 @@ ENTRY(_start)
>  	/*
>  	 * This instruction decodes to "MZ" ASCII required by UEFI.
>  	 */
> -	c.li s4,-13
> +	.ascii "MZ"

The comment above no longer makes sense.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the linux-riscv mailing list