diff options
author | 2019-02-12 16:35:48 +0000 | |
---|---|---|
committer | 2019-03-20 15:20:54 +0000 | |
commit | 2faab0064bccdf06a454ba5fc37f2cfeceab78bc (patch) | |
tree | bc51a211068019d77e7739164adf5be5c6333b7b /runtime/oat_file.cc | |
parent | 5f1465ff689eccbb1b6d15160d1a3700793956da (diff) |
Create libelffile library for ELF file manipulation.
Move some of our tooling to library to make it reusable.
Remove MIPS support from the ELF builder. This is slightly
easier than making it independent of the runtime.
Bug: 110133331
Test: test.py -b --host
Change-Id: I93343808d0e27ee8e1117e713a2503e8179fc245
Diffstat (limited to 'runtime/oat_file.cc')
-rw-r--r-- | runtime/oat_file.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc index 67803b6121..6edf4480a7 100644 --- a/runtime/oat_file.cc +++ b/runtime/oat_file.cc @@ -16,6 +16,9 @@ #include "oat_file.h" +// Our elf.h needs to be included before the system one is indirectly included. +#include "elf/elf.h" + #include <dlfcn.h> #ifndef __APPLE__ #include <link.h> // for dl_iterate_phdr. |