1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/tools/llvm-objcopy
Alexander Shaposhnikov 1130a0fbe6 [llvm-objcopy][MachO] Fix segment size alignment
This diff addresses the old TODO in MachOObjcopy.cpp and
correctly sets the page size used for alignment of segments.
In particular, now llvm-objcopy's output is consistent
with the input (the alignment of vmsize doesn't change).

Test plan:

1. make check-all
2. verify that a binary copied via llvm-objcopy now correctly works on iOS.

Differential revision: https://reviews.llvm.org/D82503
2020-06-29 23:55:21 -07:00
..
COFF Re-land "Migrate the rest of COFFObjectFile to Error" 2020-06-11 14:46:16 -07:00
ELF [llvm-objcopy] Emit error if removing symtab referenced by group section 2020-06-29 10:42:03 +01:00
MachO [llvm-objcopy][MachO] Fix segment size alignment 2020-06-29 23:55:21 -07:00
wasm SymbolicFile.h - removed unused FileSystem.h include. NFC. 2020-05-28 15:26:31 +01:00
Buffer.cpp [llvm-objcopy][NFC] Remove unnecessary llvm-objcopy.h #includes 2019-03-13 23:40:16 +00:00
Buffer.h [llvm-objcopy] Fix crash when writing empty binary output 2019-01-28 15:02:40 +00:00
CMakeLists.txt [llvm-objcopy][WebAssembly] Add dump/add/remove-section support 2020-02-11 15:17:18 -08:00
CommonOpts.td [llvm-objcopy][ELF] Implement --only-keep-debug 2019-11-05 08:56:15 -08:00
CopyConfig.cpp [llvm-install-name-tool] Add support for -rpath option 2020-06-26 17:23:03 -07:00
CopyConfig.h [llvm-install-name-tool] Add support for -rpath option 2020-06-26 17:23:03 -07:00
InstallNameToolOpts.td [llvm-install-name-tool] Add support for -rpath option 2020-06-26 17:23:03 -07:00
llvm-objcopy.cpp [llvm-objcopy] Improve tool selection logic to recognize llvm-strip-$major as strip 2020-03-23 13:49:26 -07:00
llvm-objcopy.h Small refactoring of FileError. NFC. 2019-02-11 09:49:37 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ObjcopyOpts.td [llvm-objcopy] Add --set-section-alignment 2019-10-02 12:41:25 +00:00
StripOpts.td [llvm-objcopy][MachO] Add support for removing Swift symbols 2020-05-26 16:49:56 -07:00