Change objcopy's --set-section-alignment option to take a byte alignment value rather...
authorNick Clifton <nickc@redhat.com>
Wed, 2 Oct 2019 10:55:02 +0000 (11:55 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 2 Oct 2019 10:55:02 +0000 (11:55 +0100)
commitde4859eacb74a440d9fd61e4a0f051e3737a05dd
treeaf63b3781d3bf350958b4ee7f407ebd805dec414
parentc292080e11976e05603af9a91a67b052c33b56e3
Change objcopy's --set-section-alignment option to take a byte alignment value rather than a power of two alignment value.

PR 24942
* objcopy.c (copy_usage): Update description of
--set-section-alignment.
(copy_main): Interpret numeric argument of --set-section-alignment
as a byte alignment, not a power of two alignment.
* doc/binutils.texi: Update description of
--set-section-alignment.
* testsuite/binutils-all/set-section-alignment.d: New test.
* testsuite/binutils-all/objcopy.exp: Run the new test.
binutils/ChangeLog
binutils/doc/binutils.texi
binutils/objcopy.c
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/binutils-all/set-section-alignment.d [new file with mode: 0644]