diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-12-20 10:59:52 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-12-20 10:59:52 +0000 |
commit | 3ac20a927cc82a440b8fb96a2fe8b2975a7f120e (patch) | |
tree | e340c0d424352d6a7919719ad4b91f624c88f3e2 | |
parent | 55381150926c078f90391f3a5249edc5a6943ff2 (diff) | |
download | bcm5719-llvm-3ac20a927cc82a440b8fb96a2fe8b2975a7f120e.tar.gz bcm5719-llvm-3ac20a927cc82a440b8fb96a2fe8b2975a7f120e.zip |
[llvm-objcopy] Use ELFOSABI_NONE instead of 0. NFC.
This was requested during the review of D55886.
(sorry, forgot to address this)
llvm-svn: 349741
-rw-r--r-- | llvm/tools/llvm-objcopy/ELF/Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objcopy/ELF/Object.cpp b/llvm/tools/llvm-objcopy/ELF/Object.cpp index dab0b9fcea8..39794a32229 100644 --- a/llvm/tools/llvm-objcopy/ELF/Object.cpp +++ b/llvm/tools/llvm-objcopy/ELF/Object.cpp @@ -703,7 +703,7 @@ static bool compareSegmentsByPAddr(const Segment *A, const Segment *B) { template <class ELFT> void BinaryELFBuilder<ELFT>::initFileHeader() { Obj->Flags = 0x0; Obj->Type = ET_REL; - Obj->OSABI = 0; + Obj->OSABI = ELFOSABI_NONE; Obj->ABIVersion = 0; Obj->Entry = 0x0; Obj->Machine = EMachine; |