[PR #200] linux-user/mips64/target_elf.h: add loongson cpu e_flag abi detect #237

Open
opened 2026-01-31 21:30:23 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/qemu/qemu/pull/200

State: closed
Merged: No


add cpu: Loongson-2E,Loongson-2F,Loongson-3A4000

some elf e_flag[31:8] is not set, replace with shell command as below to test for 64bit arch
printf '\xa2' | dd conv=notrunc of=examplesh bs=1 seek=$((0x00000032)) #Loongson-3A4000

Signed-off-by: liubo liubo@uniontech.com

**Original Pull Request:** https://github.com/qemu/qemu/pull/200 **State:** closed **Merged:** No --- add cpu: Loongson-2E,Loongson-2F,Loongson-3A4000 some elf e_flag[31:8] is not set, replace with shell command as below to test for 64bit arch printf '\xa2' | dd conv=notrunc of=examplesh bs=1 seek=$((0x00000032)) #Loongson-3A4000 Signed-off-by: liubo <liubo@uniontech.com>
claunia added the pull-request label 2026-01-31 21:30:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#237