libelf: Add arm64 config

Upstream elftoolchain ticket: #470
Submitted by:	Andrew Turner
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2015-01-07 19:34:44 +00:00
parent 60245f5103
commit a737d64c08

View File

@ -53,6 +53,12 @@
#define LIBELF_BYTEORDER ELFDATA2LSB
#define LIBELF_CLASS ELFCLASS64
#elif defined(__aarch64__)
#define LIBELF_ARCH EM_AARCH64
#define LIBELF_BYTEORDER ELFDATA2LSB
#define LIBELF_CLASS ELFCLASS64
#elif defined(__arm__)
#define LIBELF_ARCH EM_ARM