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;