aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_elf.h
diff options
context:
space:
mode:
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>2006-06-13 14:36:04 +0100
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>2006-06-13 14:36:04 +0100
commit7758dfc7191c62c8ab0ffb524f7c8b70ce9938f3 (patch)
tree338734be4ff2288c6f458e7e5b04832372c7a921 /tools/libxc/xc_elf.h
parent063f4cc497686d8409877fdc7e6ee0166106d6d2 (diff)
downloadxen-7758dfc7191c62c8ab0ffb524f7c8b70ce9938f3.tar.gz
xen-7758dfc7191c62c8ab0ffb524f7c8b70ce9938f3.tar.bz2
xen-7758dfc7191c62c8ab0ffb524f7c8b70ce9938f3.zip
[TOOLS][BUILDER] Extend Elf header checks for multiple architectures.
Based on a patch from Hollis Blanchard. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_elf.h')
-rw-r--r--tools/libxc/xc_elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libxc/xc_elf.h b/tools/libxc/xc_elf.h
index 42da8762c4..6507667abd 100644
--- a/tools/libxc/xc_elf.h
+++ b/tools/libxc/xc_elf.h
@@ -170,13 +170,14 @@ typedef struct {
#define EM_PARISC 15 /* HPPA */
#define EM_SPARC32PLUS 18 /* Enhanced instruction set SPARC */
#define EM_PPC 20 /* PowerPC */
+#define EM_PPC64 21 /* PowerPC 64-bit */
#define EM_ARM 40 /* Advanced RISC Machines ARM */
#define EM_ALPHA 41 /* DEC ALPHA */
#define EM_SPARCV9 43 /* SPARC version 9 */
#define EM_ALPHA_EXP 0x9026 /* DEC ALPHA */
+#define EM_IA_64 50 /* Intel Merced */
#define EM_X86_64 62 /* AMD x86-64 architecture */
#define EM_VAX 75 /* DEC VAX */
-#define EM_NUM 15 /* number of machine types */
/* Version */
#define EV_NONE 0 /* Invalid */