HomePhabricator

[llvm-objcopy] Add --set-section-alignment

Description

[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

Details

Committed
MaskRayOct 2 2019, 5:41 AM
Reviewer
grimar
Differential Revision
D67656: [llvm-objcopy] Add --set-section-alignment
Parents
rL373460: [lldb][NFC] Remove ClangASTContext::Clear
Branches
Unknown
Tags
Unknown