Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
elf_tables: Add 64-bit ARM support
Ed Maste committed 11 years ago
commit 66278c818fbb67eb0ecb1c3537a87f49ecb8a7bb
parent 92bc22d53e7b675d12a6b9b55e9fdd8687cc12c4
1 file changed +2 -0
modified libpkg/private/elf_tables.h
@@ -33,6 +33,7 @@ struct _elf_corres {
static const struct _elf_corres mach_corres[] = {
	{ EM_386, "x86" },
	{ EM_X86_64, "x86" },
+
	{ EM_AARCH64, "aarch64" },
	{ EM_ARM, "arm" },
	{ EM_MIPS, "mips" },
	{ EM_PPC, "powerpc" },
@@ -87,6 +88,7 @@ static struct arch_trans machine_arch_translation[] = {
	{ "arm:32:eb:eabi:softfp", "armeb" },
	{ "arm:32:eb:oabi:softfp", "armeb" },
	{ "armv6:32:el:eabi:softfp", "armv6" },
+
	{ "aarch64:64", "aarch64" },
	/* And now MIPS */
	{ "mips:32:el:o32", "mipsel" },
	{ "mips:32:el:n32", "mipsn32el" },