[PATCH] D59645: [llvm-objcopy]Add support for *-freebsd output formats
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 21 08:13:24 PDT 2019
jhenderson created this revision.
jhenderson added reviewers: jakehehrlich, rupprecht, grimar, alexshap.
Herald added subscribers: MaskRay, fedor.sergeev, krytarowski, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
GNU objcopy can support output formats like elf32-i386-freebsd and elf64-x86-64-freebsd. The only difference from their regular non-freebsd counterparts that I have observed is that the freebsd versions set the OS/ABI field to ELFOSABI_FREEBSD. This patch sets the OS/ABI field accordingly whenever --output-format is specified.
Repository:
rL LLVM
https://reviews.llvm.org/D59645
Files:
test/tools/llvm-objcopy/ELF/binary-input-with-arch.test
test/tools/llvm-objcopy/ELF/cross-arch-headers.test
tools/llvm-objcopy/CopyConfig.cpp
tools/llvm-objcopy/CopyConfig.h
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59645.191698.patch
Type: text/x-patch
Size: 7398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190321/a16eacd8/attachment.bin>
More information about the llvm-commits
mailing list