daemon: Fix file architecture translation for LoongArch

Fixes: commit 729d6d55ea
This commit is contained in:
Richard W.M. Jones
2024-03-07 16:46:58 +00:00
parent 7211aac047
commit 37d2379be2

View File

@@ -98,6 +98,8 @@ and canonical_elf_arch bits endianness elf_arch =
| "64" -> "s390x"
| _ -> failwithf "unknown S/390 bit size: %s" bits
)
else if substr "LoongArch" then
sprintf "loongarch%s" bits
else
elf_arch