From 81a58619ca334c7f58fa4bc77e44356aee3ed60a Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Thu, 20 Apr 2023 08:41:43 -0700 Subject: [PATCH] boot-qemu.py: Add file strings for aarch64 with CONFIG_RELOCATABLE=n Closes: https://github.com/ClangBuiltLinux/boot-utils/issues/98 Signed-off-by: Nathan Chancellor --- boot-qemu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot-qemu.py b/boot-qemu.py index 6ce935e..4bd0f9d 100755 --- a/boot-qemu.py +++ b/boot-qemu.py @@ -698,6 +698,8 @@ def guess_arch(kernel_arg): # exactly what architecture they were hoping to boot. file_rosetta = { 'ELF 32-bit LSB executable, ARM, EABI5': 'ambiguous', # could be any arm32 + 'ELF 64-bit LSB executable, ARM aarch64': 'arm64', + 'ELF 64-bit MSB executable, ARM aarch64': 'arm64be', 'ELF 64-bit LSB pie executable, ARM aarch64': 'arm64', 'ELF 64-bit MSB pie executable, ARM aarch64': 'arm64be', 'ELF 32-bit MSB executable, Motorola m68k, 68020': 'm68k',