mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
e4c1238469
Sometimes LLD will produce a PT_LOAD segment that only covers the headers (and covers no sections). GNU objcopy does not output the segment contents for these sections. In particular this is an issue in building magenta because the final link step for the kernel would produce just such a PT_LOAD segment. This change is to support this case and to match what GNU objcopy does in this case. Patch by Jake Ehrlich Differential Revision: https://reviews.llvm.org/D36196 llvm-svn: 310149 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
llvm-objcopy.cpp | ||
llvm-objcopy.h | ||
LLVMBuild.txt | ||
Object.cpp | ||
Object.h |