diff options
author | Elliott Hughes <enh@google.com> | 2018-09-17 15:50:09 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-09-17 15:50:09 -0700 |
commit | d16cface55985257621a977d2f711de1a8202422 (patch) | |
tree | 23a1b84a57b7bc4b427bb48c730325f56afe8cef /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 8b527f2857f2c7e16caa5ff701b2696007b0ac16 (diff) |
State clearly that an ELF file has the wrong architecture.
Before:
"libx.so" has unexpected e_machine: 40 (EM_ARM)
After:
"libx.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
Bug: N/A
Test: `LD_PRELOAD=/system/lib64/libm-x86_64.so date` on arm64
Change-Id: I5bb40c435bd22b4e11fe802615925e10db7fb631
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions