mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
b9df0119e0
llvm-objcopy previously knew nothing about data in segments that wasn't covered by section headers, meaning that it wrote zeroes instead of what was there. As it is possible for this data to be useful to the loader, this patch causes llvm-objcopy to start preserving this data. Data in sections that are explicitly removed continues to be written as zeroes. This fixes https://bugs.llvm.org/show_bug.cgi?id=41005. Reviewed by: jakehehrlich, rupprecht Differential Revision: https://reviews.llvm.org/D59483 llvm-svn: 356919 |
||
---|---|---|
.. | ||
COFF | ||
ELF | ||
MachO | ||
Buffer.cpp | ||
Buffer.h | ||
CMakeLists.txt | ||
CopyConfig.cpp | ||
CopyConfig.h | ||
llvm-objcopy.cpp | ||
llvm-objcopy.h | ||
LLVMBuild.txt | ||
ObjcopyOpts.td | ||
StripOpts.td |