diff options
author | Jan Beulich <jbeulich@suse.com> | 2025-04-04 10:24:56 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2025-04-04 10:24:56 +0200 |
commit | 43ea7d00a76eb3a8e30aa91657e535f86e8658c4 (patch) | |
tree | af1c171a556b7ca440936c2c332152f5d45bbc41 /gdb/testsuite/gdb.ctf/ctf-b.c | |
parent | cc0693d394692261e03651325c9ae986ae579296 (diff) | |
download | binutils-43ea7d00a76eb3a8e30aa91657e535f86e8658c4.zip binutils-43ea7d00a76eb3a8e30aa91657e535f86e8658c4.tar.gz binutils-43ea7d00a76eb3a8e30aa91657e535f86e8658c4.tar.bz2 |
objcopy: constrain --section-alignment to PE binaries again
PR binutils/32732
The --set-section-alignment option is what ought to be used on object
files; --section-alignment should be affecting PE binaries only, and
only the value stored in the header. Sections don't individually have
alignment recorded there; see 6f8f6017a0c4 ("PR27567, Linking PE files
adds alignment section flags to executables").
Undo the core part of 121a3f4b4f4a ("Update objcopy's
--section-alignment option so that it sets the alignment flag on..."),
which includes removing the testcase again, while leaving all secondary
changes in place. (Note that the testcase did fail anyway for
i?86-interix, with objdump saying "option -P/--private not supported by
this file".)
Diffstat (limited to 'gdb/testsuite/gdb.ctf/ctf-b.c')
0 files changed, 0 insertions, 0 deletions