summaryrefslogtreecommitdiff
path: root/rtemstoolkit
diff options
context:
space:
mode:
authorChristian Spindeldreier <spindeldreier@ims.uni-hannover.de>2018-11-23 16:29:31 +0100
committerChris Johns <chrisj@rtems.org>2018-11-27 17:02:18 +1100
commit97dc555efa44a6d5ae48d5a3f7cf2f08d5ed7e0c (patch)
treedb14687c5c1252d98d957c50b626bc62aa5157d8 /rtemstoolkit
parenta1498ab899fba117df887551b9cbc43da4aa8d10 (diff)
fix native elf detection on x86_64 machines
Closes #3616
Diffstat (limited to 'rtemstoolkit')
-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";