[PATCH v2 04/16] elf: Define LoongArch bits

Simon Glass sjg at chromium.org
Thu Jul 2 12:24:53 CEST 2026


Hi Yao,

On 2026-07-01T11:17:53, Yao Zi <me at ziyao.cc> wrote:
> elf: Define LoongArch bits
>
> They all come from glibc's elf.h
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang at flygoat.com>
> Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Signed-off-by: Yao Zi <me at ziyao.cc>
>
> include/elf.h | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

> diff --git a/include/elf.h b/include/elf.h
> @@ -225,7 +225,8 @@ typedef struct {
> -#define EM_NUM               92              /* number of machine types */
> +#define EM_LOONGARCH 258     /* LoongArch */
> +
>
>  /* Version */

Two blank lines are left between the new define and the /* Version */
comment. Please drop one.

Regards,
Simon


More information about the U-Boot mailing list