binutils: run objcopy set-section-alignment also for COFF

There's no reason to limit this to just ELF. TI C30 and Z8k don't encode
section alignment in the section entries though (which can't be quite
right, or there would need to be another means by which to express
alignment needs), so --set-section-alignment simply has no effect there.
This commit is contained in:
Jan Beulich 2025-04-04 10:25:16 +02:00
parent 43ea7d00a7
commit 379535a2e6

View File

@ -2,8 +2,8 @@
#PROG: objcopy
#objcopy: --set-section-alignment .text=16
#objdump: --section-headers
#target: [is_elf_format]
#xfail: rx-*-*
#target: [is_elf_format] || [is_coff_format]
#xfail: rx-*-* *c30-*-* z8k-*-*
#...
.*\.text.*2\*\*4