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:
0559d9e
)
Remove spurious space.
author
Sean Silva
<silvas@purdue.edu>
Wed, 19 Jun 2013 01:10:58 +0000
(
01:10
+0000)
committer
Sean Silva
<silvas@purdue.edu>
Wed, 19 Jun 2013 01:10:58 +0000
(
01:10
+0000)
llvm-svn: 184272
llvm/tools/yaml2obj/yaml2elf.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/yaml2obj/yaml2elf.cpp
b/llvm/tools/yaml2obj/yaml2elf.cpp
index a038f7f2ffc13e14155aac578f6256cb0a7fe3d8..1c4084244818a078620ee4f45ba83cce5380c13a 100644
(file)
--- a/
llvm/tools/yaml2obj/yaml2elf.cpp
+++ b/
llvm/tools/yaml2obj/yaml2elf.cpp
@@
-193,7
+193,7
@@
static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc) {
bool IsLittleEndian = ELFT::TargetEndianness == support::little;
Header.e_ident[EI_DATA] = IsLittleEndian ? ELFDATA2LSB : ELFDATA2MSB;
Header.e_ident[EI_VERSION] = EV_CURRENT;
- Header.e_ident[EI_OSABI] =
Hdr.OSABI;
+ Header.e_ident[EI_OSABI] = Hdr.OSABI;
Header.e_ident[EI_ABIVERSION] = 0;
Header.e_type = Hdr.Type;
Header.e_machine = Hdr.Machine;