diff options
author | Tong Shen <endlessroad@google.com> | 2014-09-03 17:24:56 -0700 |
---|---|---|
committer | Tong Shen <endlessroad@google.com> | 2014-10-03 11:25:11 -0700 |
commit | 62d1ca3182a6cbb921799825f43ad36821233fd7 (patch) | |
tree | 54d9663f5ce10f41e95fe774d4e4841c1a78bbc3 /runtime/elf.h | |
parent | 63462448ca4e377074a10a4720aa22f71154dbe9 (diff) | |
download | art-62d1ca3182a6cbb921799825f43ad36821233fd7.zip art-62d1ca3182a6cbb921799825f43ad36821233fd7.tar.gz art-62d1ca3182a6cbb921799825f43ad36821233fd7.tar.bz2 |
ART: Prepare for ELF64.
Only expose necessary interface in ElfFile, and move all details into template class ElfFileImpl.
Change-Id: I9df2bbc55f32ba0ba91f4f3d5d0009e84a2ddf74
Diffstat (limited to 'runtime/elf.h')
-rw-r--r-- | runtime/elf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/elf.h b/runtime/elf.h index 6e007a2..60b5248 100644 --- a/runtime/elf.h +++ b/runtime/elf.h @@ -1411,6 +1411,7 @@ struct Elf32_Sym { // BEGIN android-added for <elf.h> compat static inline unsigned char ELF32_ST_TYPE(unsigned char st_info) { return st_info & 0x0f; } +static inline unsigned char ELF64_ST_TYPE(unsigned char st_info) { return st_info & 0x0f; } // END android-added for <elf.h> compat // Symbol table entries for ELF64. |