]> Pileus Git - ~andy/linux/blobdiff - scripts/recordmcount.pl
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
[~andy/linux] / scripts / recordmcount.pl
index 92f09fe9639ecdab0884330d049ae6b391765be7..ea6f6e3adaea342246e3fc5b933e32dbd84f0fed 100755 (executable)
@@ -194,7 +194,7 @@ sub check_objcopy
     }
 }
 
-if ($arch eq "x86") {
+if ($arch =~ /(x86(_64)?)|(i386)/) {
     if ($bits == 64) {
        $arch = "x86_64";
     } else {