summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/llvm-objcopy/ELF/Object.cpp2
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;
OpenPOWER on IntegriCloud