From 97dc555efa44a6d5ae48d5a3f7cf2f08d5ed7e0c Mon Sep 17 00:00:00 2001 From: Christian Spindeldreier Date: Fri, 23 Nov 2018 16:29:31 +0100 Subject: fix native elf detection on x86_64 machines Closes #3616 --- rtemstoolkit/elftoolchain/common/native-elf-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtemstoolkit') diff --git a/rtemstoolkit/elftoolchain/common/native-elf-format b/rtemstoolkit/elftoolchain/common/native-elf-format index 7ebaaa8..7a5ca5b 100755 --- a/rtemstoolkit/elftoolchain/common/native-elf-format +++ b/rtemstoolkit/elftoolchain/common/native-elf-format @@ -39,7 +39,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