mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
[Object][ELF] Fix -Wenum-compare.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172556 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a1444219b2
commit
34461e554a
@ -1962,9 +1962,11 @@ void ELFObjectFile<ELFT>::VerifyStrTab(const Elf_Shdr *sh) const {
|
||||
|
||||
template<class ELFT>
|
||||
ELFObjectFile<ELFT>::ELFObjectFile(MemoryBuffer *Object, error_code &ec)
|
||||
: ObjectFile(getELFType(ELFT::TargetEndianness == support::little,
|
||||
ELFT::Is64Bits),
|
||||
Object, ec)
|
||||
: ObjectFile(getELFType(
|
||||
static_cast<endianness>(ELFT::TargetEndianness) == support::little,
|
||||
ELFT::Is64Bits),
|
||||
Object,
|
||||
ec)
|
||||
, isDyldELFObject(false)
|
||||
, SectionHeaderTable(0)
|
||||
, dot_shstrtab_sec(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user