From: George Rimar Date: Thu, 20 Dec 2018 10:59:52 +0000 (+0000) Subject: [llvm-objcopy] Use ELFOSABI_NONE instead of 0. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2033f0377d0e0345710f43827a163414a5c3c8b1;p=llvm [llvm-objcopy] Use ELFOSABI_NONE instead of 0. NFC. This was requested during the review of D55886. (sorry, forgot to address this) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349741 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-objcopy/ELF/Object.cpp b/tools/llvm-objcopy/ELF/Object.cpp index dab0b9fcea8..39794a32229 100644 --- a/tools/llvm-objcopy/ELF/Object.cpp +++ b/tools/llvm-objcopy/ELF/Object.cpp @@ -703,7 +703,7 @@ static bool compareSegmentsByPAddr(const Segment *A, const Segment *B) { template void BinaryELFBuilder::initFileHeader() { Obj->Flags = 0x0; Obj->Type = ET_REL; - Obj->OSABI = 0; + Obj->OSABI = ELFOSABI_NONE; Obj->ABIVersion = 0; Obj->Entry = 0x0; Obj->Machine = EMachine;