[PATCH] D55886: [llvm-objcopy] - Do not drop the OS/ABI and ABIVersion fields of ELF header
Jordan Rupprecht via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 19 12:47:44 PST 2018
rupprecht accepted this revision.
rupprecht added inline comments.
This revision is now accepted and ready to land.
================
Comment at: tools/llvm-objcopy/ELF/Object.cpp:706
Obj->Type = ET_REL;
+ Obj->OSABI = 0;
+ Obj->ABIVersion = 0;
----------------
Not that it makes any difference in functionality, but I think using ELFOSABI_NONE explicitly (as it was in the place it's moved from) would be better
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55886/new/
https://reviews.llvm.org/D55886
More information about the llvm-commits
mailing list