Skip to content

Commit aac8f35

Browse files
authored
Merge pull request #101 from nathanchance/ppc64-big-endian-elfv2-auto
boot-qemu.py: Add ppc64 big endian ELFv2 file strings to file_rosetta
2 parents eca69b5 + 3a42d6a commit aac8f35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

boot-qemu.py

+2
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,8 @@ def guess_arch(kernel_arg):
707707
'ELF 32-bit LSB executable, MIPS, MIPS32': 'mipsel',
708708
'ELF 32-bit MSB executable, PowerPC': 'ambiguous', # could be ppc32 or ppc32_mac
709709
'ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, Power ELF V1 ABI': 'ppc64',
710+
'ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI': 'ppc64',
711+
'ELF 64-bit MSB pie executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI': 'ppc64',
710712
'ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI': 'ppc64le',
711713
'ELF 64-bit LSB executable, UCB RISC-V': 'riscv',
712714
'ELF 64-bit MSB executable, IBM S/390': 's390',

0 commit comments

Comments
 (0)