llvm-project/llvm/tools/llvm-objcopy
Fangrui Song 671fb34358 [llvm-objcopy] Add --set-section-alignment
Fixes PR43181. This option was recently added to GNU objcopy (binutils
PR24942).

`llvm-objcopy -I binary -O elf64-x86-64 --set-section-alignment .data=8` can set the alignment of .data.

Reviewed By: grimar, jhenderson, rupprecht

Differential Revision: https://reviews.llvm.org/D67656

llvm-svn: 373461
2019-10-02 12:41:25 +00:00
..
COFF [llvm-objcopy] Add --set-section-alignment 2019-10-02 12:41:25 +00:00
ELF [llvm-objcopy] Add --set-section-alignment 2019-10-02 12:41:25 +00:00
MachO [llvm-objcopy] Add --set-section-alignment 2019-10-02 12:41:25 +00: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] Refactor ELF-specific config out to ELFCopyConfig. NFC. 2019-09-24 09:38:23 +00:00
CommonOpts.td [llvm-objcopy] Move duplicate tablegen from objcopy and strip into one file 2019-08-15 04:45:41 +00:00
CopyConfig.cpp [llvm-objcopy] Add --set-section-alignment 2019-10-02 12:41:25 +00:00
CopyConfig.h [llvm-objcopy] Add --set-section-alignment 2019-10-02 12:41:25 +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] Move duplicate tablegen from objcopy and strip into one file 2019-08-15 04:45:41 +00:00
llvm-objcopy.cpp [llvm-objcopy] Refactor ELF-specific config out to ELFCopyConfig. NFC. 2019-09-24 09:38:23 +00:00
llvm-objcopy.h Small refactoring of FileError. NFC. 2019-02-11 09:49:37 +00:00