diff options
author | Christian Spindeldreier <spindeldreier@ims.uni-hannover.de> | 2018-11-23 16:29:31 +0100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-11-27 17:02:18 +1100 |
commit | 97dc555efa44a6d5ae48d5a3f7cf2f08d5ed7e0c (patch) | |
tree | db14687c5c1252d98d957c50b626bc62aa5157d8 /rtemstoolkit | |
parent | Coverage : install covoar in tester/bin (diff) | |
download | rtems-tools-97dc555efa44a6d5ae48d5a3f7cf2f08d5ed7e0c.tar.bz2 |
fix native elf detection on x86_64 machines
Closes #3616
Diffstat (limited to 'rtemstoolkit')
-rwxr-xr-x | rtemstoolkit/elftoolchain/common/native-elf-format | 2 |
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"; |