[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:27:11 PDT 2019
MaskRay added a comment.
binutils commit fa463e9fc644e7a3bad39aa73bf6be72ea865805 (2019-08-28) implemented --set-section-alignment.
- Its interaction with --rename-section is unclear. We disallow the combination of --rename-section + --set-section-flags because both options can specify the flags. --set-section-alignment does not have the conflict.
- In GNU objcopy, `--set-section-alignment .data=8` specifies the exponent for the power of two, so this sets the alignment to 256. I think this a strange behavior.
Reported both issues at https://sourceware.org/bugzilla/show_bug.cgi?id=24942
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67656/new/
https://reviews.llvm.org/D67656
More information about the llvm-commits
mailing list