Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for loongarch64 #27

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions qemu-binfmt.initd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ FMTS="7f454c460201010000000000000000000200b7 ffffffffffffff00fffffffffffffffffef
7f454c4601010100000000000000000002004c00 ffffffffffffff00fffffffffffffffffeffffff cris
7f454c4601010100000000000000000002000300 fffffffffffefefffffffffffffffffffeffffff i386
7f454c4601010100000000000000000002000600 fffffffffffefefffffffffffffffffffeffffff i486
7f454c4602010100000000000000000002000201 fffffffffffffffc00fffffffffffffffeffffff loongarch
7f454c4601020100000000000000000000020004 ffffffffffffff00fffffffffffffffffffeffff m68k
7f454c460102010000000000000000000002baab ffffffffffffff00fffffffffffffffffffeffff microblaze
7f454c4601020100000000000000000000020008 ffffffffffffff00fefffffffffffffffffeffff mips
Expand Down Expand Up @@ -100,6 +101,7 @@ normalize_arch() {
case "$1" in
i[3456]86) echo 'i386';;
armv[4-9]*) echo 'arm';;
loongarch) echo 'loongarch64';;
*) echo "$1";;
esac
}
Expand Down