Hello elftoolchain-devel.
I am trying to build on a POWER9 host and have discovered the need for
the
following trivial patch. Any chance this could land upstream?
Thanks,
--nwf;
diff --git a/common/native-elf-format b/common/native-elf-format
index 79e349c3..08a5da11 100755
--- a/common/native-elf-format
+++ b/common/native-elf-format
@@ -37,6 +37,8 @@ $1 ~ "Machine:" {
elfarch = "EM_MIPS";
} else if (match($0, ".*[xX]86[-_]64")) {
elfarch = "EM_X86_64";
+ } else if (match($0, "PowerPC64")) {
+ elfarch = "EM_PPC64";
} else {
elfarch = "unknown";
}
_______________________________________________
Elftoolchain-developers mailing list
Elftoolchain-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/elftoolchain-developers