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

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

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/200
Author: @errorcode7
Created: 11/25/2021
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 533117c linux-user/mips64/target_elf.h: add loongson cpu e_flag abi detect

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 linux-user/mips64/target_elf.h (+9 -0)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/200 **Author:** [@errorcode7](https://github.com/errorcode7) **Created:** 11/25/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`533117c`](https://github.com/qemu/qemu/commit/533117c1731ffffd9eee1e5a5a130a6af005ba57) linux-user/mips64/target_elf.h: add loongson cpu e_flag abi detect ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `linux-user/mips64/target_elf.h` (+9 -0) </details> ### 📄 Description 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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:30:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#232