[PATCH] D67656: [llvm-objcopy] Add --set-section-alignment
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 05:21:34 PDT 2019
MaskRay created this revision.
MaskRay added reviewers: alexshap, grimar, jakehehrlich, jhenderson, rupprecht.
Herald added subscribers: llvm-commits, seiya, abrachet, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D67656
Files:
docs/CommandGuide/llvm-objcopy.rst
test/tools/llvm-objcopy/ELF/binary-input.test
test/tools/llvm-objcopy/ELF/set-section-alignment.test
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
tools/llvm-objcopy/CopyConfig.cpp
tools/llvm-objcopy/CopyConfig.h
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
tools/llvm-objcopy/ELF/Object.cpp
tools/llvm-objcopy/ELF/Object.h
tools/llvm-objcopy/MachO/MachOObjcopy.cpp
tools/llvm-objcopy/ObjcopyOpts.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67656.220484.patch
Type: text/x-patch
Size: 12386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190917/9ebf2025/attachment.bin>
More information about the llvm-commits
mailing list