From 198b70cb9d6f144be83d96a1912dc3b5799988c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 16 Jan 2013 00:45:06 +0100 Subject: [PATCH] wrc: Add ARM64 support. --- tools/wrc/wrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c index 7d5ad89be80..ac1fdccca44 100644 --- a/tools/wrc/wrc.c +++ b/tools/wrc/wrc.c @@ -318,7 +318,8 @@ static void set_target( const char *target ) /* target specification is in the form CPU-MANUFACTURER-OS or CPU-MANUFACTURER-KERNEL-OS */ if (!(p = strchr( cpu, '-' ))) error( "Invalid target specification '%s'\n", target ); *p = 0; - if (!strcmp( cpu, "amd64" ) || !strcmp( cpu, "x86_64" ) || !strcmp( cpu, "ia64" )) + if (!strcmp( cpu, "amd64" ) || !strcmp( cpu, "x86_64" ) || + !strcmp( cpu, "ia64" ) || !strcmp( cpu, "aarch64" )) pointer_size = 8; else pointer_size = 4;