Unable to change section .text alignment (format win32 and elf, yasm0.5rc1).
For example:
section .text align=32
dumpbin reports
SECTION HEADER #1
.text name
0 physical address
0 virtual address
0 size of raw data
0 file pointer to raw data
0 file pointer to relocation table
0 file pointer to line numbers
0 number of relocations
0 number of line numbers
60500020 flags
Code
16 byte align
Execute Read
I know this is because the .text section is created by default but at least we should have a warning. In fact, there
are two calls to coff_objfmt_section_switch (coff-objfmt.c) first with align=16 when the default .text is created and
a second with align=32 when text is redeclared. Obviously, you should search for a .text section before creating a default one.
Y. AMILIN
PS: Sorry for my bad english.