nasm/output
Marat Dukhan 29227125f0 coff: Better handling of section redefinition
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>
2013-10-03 16:55:50 +04:00
..
dwarf.h
elf.h
nulldbg.c
nullout.c
outaout.c
outaout.mac
outas86.c
outas86.mac
outbin.c output/outbin.c: initialize section align/start attributes upon creation 2011-02-28 09:49:04 +03:00
outbin.mac
outcoff.c coff: Better handling of section redefinition 2013-10-03 16:55:50 +04:00
outcoff.mac
outdbg.c Fixed wrong format specifier in format string 2013-04-01 02:11:51 +04:00
outelf32.c Fix warnings generated by clang 3.0 2013-02-25 01:08:00 +04:00
outelf64.c Fix warnings generated by clang 3.0 2013-02-25 01:08:00 +04:00
outelf.c backend: add support for x32 ELF 2012-02-03 12:08:59 -08:00
outelf.h elf: Move stabs symbol table format into outelf.h 2010-07-30 00:51:44 +04:00
outelf.mac
outelfx32.c Fix warnings generated by clang 3.0 2013-02-25 01:08:00 +04:00
outform.c ofmt: Alias shortname must be used for __OUTPUT_FORMAT__ macro 2011-04-06 18:32:15 +04:00
outform.h backend: add support for x32 ELF 2012-02-03 12:08:59 -08:00
outieee.c outieee: Reorder ieeeSection members to eliminate holes 2011-08-28 17:00:04 +04:00
outlib.c
outlib.h
outmac32.c Rename filenames to 8.3 format 2010-06-15 10:47:16 -07:00
outmac64.c BR3392232: Fix relocations in MachO64 2012-11-28 20:05:20 +04:00
outmacho.mac
outobj.c outobj: Reorder Segment members to eliminate holes 2011-08-28 17:03:21 +04:00
outobj.mac
outrdf2.c
outrdf2.mac
outrdf.mac
pecoff.h coff: Handle massive relocations 2010-11-20 14:18:23 +03:00
stabs.h