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:
commit
179fc3ddc0
1 changed files with 1 additions and 0 deletions
|
@ -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_???";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue