diff options
author | Brian Carlstrom <bdc@google.com> | 2014-07-01 23:54:20 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-07-02 10:30:08 -0700 |
commit | e130ee6fe902315062ce17f8ce115b1dc506576d (patch) | |
tree | a9f17a1eed139e9c4de01c3b0e4166bf2e4aae4e /compiler/elf_writer_quick.h | |
parent | ffcdd9f13daba70a64bb85688726ae23aa7a6eda (diff) | |
download | android_art-e130ee6fe902315062ce17f8ce115b1dc506576d.tar.gz android_art-e130ee6fe902315062ce17f8ce115b1dc506576d.tar.bz2 android_art-e130ee6fe902315062ce17f8ce115b1dc506576d.zip |
Add a local elf.h
Change-Id: Ic2d449bfdd3c95e393c083c9e1022adc4e9c06b8
Diffstat (limited to 'compiler/elf_writer_quick.h')
-rw-r--r-- | compiler/elf_writer_quick.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/elf_writer_quick.h b/compiler/elf_writer_quick.h index dbdccfc200..6eb5d68817 100644 --- a/compiler/elf_writer_quick.h +++ b/compiler/elf_writer_quick.h @@ -167,10 +167,10 @@ class ElfWriterQuick FINAL : public ElfWriter { ElfSymtabBuilder(const std::string& sec_name, Elf32_Word type, const std::string& str_name, Elf32_Word str_type, bool alloc) - : ElfSectionBuilder(sec_name, type, ((alloc)?SHF_ALLOC:0), &strtab_, 0, + : ElfSectionBuilder(sec_name, type, ((alloc) ? SHF_ALLOC : 0U), &strtab_, 0, sizeof(Elf32_Word), sizeof(Elf32_Sym)), str_name_(str_name), str_type_(str_type), - strtab_(str_name, str_type, ((alloc) ? SHF_ALLOC : 0), NULL, 0, 1, 1) {} + strtab_(str_name, str_type, ((alloc) ? SHF_ALLOC : 0U), NULL, 0, 1, 1) {} ~ElfSymtabBuilder() {} protected: |