mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
29227125f0
Currently, if we try to define an already defined section and specify section flags, NASM will output "warning: section attributes ignored on redeclaration of section %SECTIONNAME%". The patch modifies this behaviour: 1. If the previous section definition differs only in alignment flags, no warning is generated 2. If the new definition implies larger alignment, it overrides the previous section alignment 3. If the new definition specifies any section alignment, the content of the section will be aligned on the new boundary (i.e. the effect is the same as if there was ALIGN macro) Signed-off-by: Marat Dukhan <maratek@gmail.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> |
||
---|---|---|
.. | ||
dwarf.h | ||
elf.h | ||
nulldbg.c | ||
nullout.c | ||
outaout.c | ||
outaout.mac | ||
outas86.c | ||
outas86.mac | ||
outbin.c | ||
outbin.mac | ||
outcoff.c | ||
outcoff.mac | ||
outdbg.c | ||
outelf32.c | ||
outelf64.c | ||
outelf.c | ||
outelf.h | ||
outelf.mac | ||
outelfx32.c | ||
outform.c | ||
outform.h | ||
outieee.c | ||
outlib.c | ||
outlib.h | ||
outmac32.c | ||
outmac64.c | ||
outmacho.mac | ||
outobj.c | ||
outobj.mac | ||
outrdf2.c | ||
outrdf2.mac | ||
outrdf.mac | ||
pecoff.h | ||
stabs.h |