bug-binutils
[Top][All Lists]
Advanced

[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]