Merge "Correctly print RISC-V arch name on error when verifying ELF header." am: 8d4014e135

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2303140

Change-Id: Ib786db7a49271eb6b15ef23da6efe097c2ad43af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-11-15 18:17:27 +00:00 committed by Automerger Merge Worker
commit 179fc3ddc0

View file

@ -216,6 +216,7 @@ static const char* EM_to_string(int em) {
if (em == EM_386) return "EM_386";
if (em == EM_AARCH64) return "EM_AARCH64";
if (em == EM_ARM) return "EM_ARM";
if (em == EM_RISCV) return "EM_RISCV";
if (em == EM_X86_64) return "EM_X86_64";
return "EM_???";
}