[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/24942] objcopy: Add option for setting section alignment
From: |
profclonk at gmail dot com |
Subject: |
[Bug binutils/24942] objcopy: Add option for setting section alignment |
Date: |
Tue, 17 Sep 2019 12:22:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24942
--- Comment #8 from Niklas Gürtler <profclonk at gmail dot com> ---
I think not all BFD targets support arbitrary alignment, some may only support
powers of 2. The internal representation in the BFD library stores only the
exponent, so there would have to be a conversion (i.e. log2), with additional
potential for errors, so I think it's best to have the user do that and
document it properly. The ".align" directive also works this way (at least on
ARM).
When using --rename-section, the original section name would need to be
specified for --set-section-alignment, just like with --set-section-flags.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/24942] objcopy: Add option for setting section alignment, maskray at google dot com, 2019/09/17
- [Bug binutils/24942] objcopy: Add option for setting section alignment, maskray at google dot com, 2019/09/17
- [Bug binutils/24942] objcopy: Add option for setting section alignment,
profclonk at gmail dot com <=
- [Bug binutils/24942] objcopy: Add option for setting section alignment, i at maskray dot me, 2019/09/23
- [Bug binutils/24942] objcopy: Add option for setting section alignment, jh7370 at my dot bristol.ac.uk, 2019/09/24
- [Bug binutils/24942] objcopy: Add option for setting section alignment, profclonk at gmail dot com, 2019/09/24
- [Bug binutils/24942] objcopy: Add option for setting section alignment, i at maskray dot me, 2019/09/25