HomePhabricator

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

Authored by MaskRay on Oct 2 2019, 5:41 AM.

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

llvm-svn: 373461

Details

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