[PATCH] D55886: [llvm-objcopy] - Do not drop the OS/ABI and ABIVersion fields of ELF header
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 19 05:47:03 PST 2018
grimar created this revision.
grimar added reviewers: jhenderson, alexshap, jakehehrlich, dblaikie.
Herald added subscribers: rupprecht, arichardson, emaste.
Herald added a reviewer: espindola.
This is https://bugs.llvm.org/show_bug.cgi?id=40005,
Patch teaches llvm-objcopy to preserve OS/ABI and ABIVersion fields of ELF header.
(Currently, it drops them to zero).
https://reviews.llvm.org/D55886
Files:
include/llvm/ObjectYAML/ELFYAML.h
lib/ObjectYAML/ELFYAML.cpp
test/tools/llvm-objcopy/ELF/copy-osabi.test
test/tools/yaml2obj/elf-abiversion.yaml
tools/llvm-objcopy/ELF/Object.cpp
tools/llvm-objcopy/ELF/Object.h
tools/obj2yaml/elf2yaml.cpp
tools/yaml2obj/yaml2elf.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55886.178867.patch
Type: text/x-patch
Size: 4865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181219/f353faa6/attachment.bin>
More information about the llvm-commits
mailing list