summaryrefslogtreecommitdiff
path: root/rtemstoolkit/elftoolchain/common/native-elf-format
diff options
context:
space:
mode:
Diffstat (limited to 'rtemstoolkit/elftoolchain/common/native-elf-format')
-rwxr-xr-xrtemstoolkit/elftoolchain/common/native-elf-format2
1 files changed, 1 insertions, 1 deletions
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";