Re: [PATCH 2/2] linux-user: Set ELF_BASE_PLATFORM for MIPS

2022-08-01 Thread Philippe Mathieu-Daudé via
On 1/8/22 22:09, Jiaxun Yang wrote: "On MIPS, AT_BASE_PLATFORM identifies the ISA level (since Linux 5.7)." Match most appropriate base platform string based on insn_flags. Logic is aligned with arch/mips/kernel/cpu-probe.c in Linux kernel. "... aligned with set_isa() from ..." Reviewed-by: P

[PATCH 2/2] linux-user: Set ELF_BASE_PLATFORM for MIPS

2022-08-01 Thread Jiaxun Yang
Match most appropriate base platform string based on insn_flags. Logic is aligned with arch/mips/kernel/cpu-probe.c in Linux kernel. Signed-off-by: Jiaxun Yang --- linux-user/elfload.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/linux-user/elfload.c b/lin