[rtems-tools commit] rtemstoolkit: Detect native SPARCV9 ELF arch
Sebastian Huber
sebh at rtems.org
Thu Mar 5 09:58:18 UTC 2020
Module: rtems-tools
Branch: master
Commit: 763f10232f001516afeca6e063dee87f77949427
Changeset: http://git.rtems.org/rtems-tools/commit/?id=763f10232f001516afeca6e063dee87f77949427
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Mar 5 10:43:50 2020 +0100
rtemstoolkit: Detect native SPARCV9 ELF arch
---
rtemstoolkit/elftoolchain/common/native-elf-format | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rtemstoolkit/elftoolchain/common/native-elf-format b/rtemstoolkit/elftoolchain/common/native-elf-format
index 7a5ca5b..18f817a 100755
--- a/rtemstoolkit/elftoolchain/common/native-elf-format
+++ b/rtemstoolkit/elftoolchain/common/native-elf-format
@@ -41,6 +41,8 @@ $1 ~ "Machine:" {
elfarch = "EM_MIPS";
} else if (match($0, ".*[xX]86[-_]64")) {
elfarch = "EM_X86_64";
+ } else if (match($0, "Sparc v9")) {
+ elfarch = "EM_SPARCV9";
} else {
elfarch = "unknown";
}
More information about the vc
mailing list