From 2b92b30119ed91ed88f102ba9ecc40cd1c046a65 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 10 Jan 2019 14:18:11 +0000 Subject: Import ELF Tool Chain snapshot at r3668 From http://svn.code.sf.net/p/elftoolchain/code/ --- common/native-elf-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/native-elf-format') diff --git a/common/native-elf-format b/common/native-elf-format index 2bdd914c3052..f29bcb16716b 100755 --- a/common/native-elf-format +++ b/common/native-elf-format @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: native-elf-format 3293 2016-01-07 19:26:27Z emaste $ +# $Id: native-elf-format 3650 2018-11-25 12:06:28Z jkoshy $ # # Find the native ELF format for a host platform by compiling a # test object and examining the resulting object. @@ -35,7 +35,7 @@ $1 ~ "Machine:" { elfarch = "EM_386"; } else if (match($0, "MIPS")) { elfarch = "EM_MIPS"; - } else if (match($0, ".*[xX]86-64")) { + } else if (match($0, ".*[xX]86[-_]64")) { elfarch = "EM_X86_64"; } else { elfarch = "unknown"; -- cgit v1.2.3