Date: Tue, 6 Jan 2015 20:10:42 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276764 - head/usr.sbin/crunch/crunchide Message-ID: <201501062010.t06KAgdL003682@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Tue Jan 6 20:10:42 2015 New Revision: 276764 URL: https://svnweb.freebsd.org/changeset/base/276764 Log: Add support to crunchide for handling AArch64 (arm64) ELF files. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/crunch/crunchide/exec_elf32.c Modified: head/usr.sbin/crunch/crunchide/exec_elf32.c ============================================================================== --- head/usr.sbin/crunch/crunchide/exec_elf32.c Tue Jan 6 19:04:02 2015 (r276763) +++ head/usr.sbin/crunch/crunchide/exec_elf32.c Tue Jan 6 20:10:42 2015 (r276764) @@ -174,6 +174,10 @@ ELFNAMEEND(check)(int fd, const char *fn switch (xe16toh(eh.e_machine)) { case EM_386: break; case EM_ALPHA: break; +#ifndef EM_AARCH64 +#define EM_AARCH64 183 +#endif + case EM_AARCH64: break; #ifndef EM_ARM #define EM_ARM 40 #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501062010.t06KAgdL003682>