[PATCH] RISC-V: Add support for Ztso

Andreas Schwab schwab at linux-m68k.org
Thu Sep 1 23:39:15 PDT 2022


On Sep 01 2022, Palmer Dabbelt wrote:

> @@ -31,10 +32,23 @@
>  #define ELF_DATA	ELFDATA2LSB
>  
>  /*
> - * This is used to ensure we don't load something for the wrong architecture.
> + * Binaries that assume TSO cannot be correctly run on non-TSO systems, so
> + * prevent them from even being loaded.
> + */
> +#define EF_RISCV_TSO	0x0010

That should probably be defined in <asm/elf.h>.

-- 
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