projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5538115
)
[llvm-objcopy] Use ELFOSABI_NONE instead of 0. NFC.
author
George Rimar
<grimar@accesssoftek.com>
Thu, 20 Dec 2018 10:59:52 +0000
(10:59 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Thu, 20 Dec 2018 10:59:52 +0000
(10:59 +0000)
This was requested during the review of D55886.
(sorry, forgot to address this)
llvm-svn: 349741
llvm/tools/llvm-objcopy/ELF/Object.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-objcopy/ELF/Object.cpp
b/llvm/tools/llvm-objcopy/ELF/Object.cpp
index
dab0b9f
..
39794a3
100644
(file)
--- 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;