qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 2/2] qemu-binfmt-conf.sh: Extend magic to distinguish mips


From: WANG Xuerui
Subject: Re: [PATCH v4 2/2] qemu-binfmt-conf.sh: Extend magic to distinguish mips o32 and n32 ABI
Date: Sun, 27 Mar 2022 18:45:07 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Thunderbird/100.0a1

On 3/24/22 07:05, Andreas K. Hüttel wrote:
This information is given by the EF_MIPS_ABI2 (0x20) bit in the
e_flags field of the ELF header (a 4-byte value at offset 0x24 for
the here applicable ELFCLASS32).

See-also: https://www.mail-archive.com/qemu-devel@nongnu.org/msg732572.html
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
---
  scripts/qemu-binfmt-conf.sh | 16 ++++++++--------
  1 file changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: WANG Xuerui <xen0n@gentoo.org>

I have tested this myself, but I'd prefer others to take a look too.

--
WANG Xuerui
xen0n@gentoo.org
Gentoo Linux developer
PGP: 7C52 19E3 26A0 7311 3EA3 8806 C01F 7214 BC93 1414




reply via email to

[Prev in Thread] Current Thread [Next in Thread]