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
..
2009-08-10 16:00:43 -07:00
2010-04-21 18:09:54 +04:00
2010-04-21 18:09:54 +04:00
2010-04-21 18:09:54 +04:00
2013-02-25 01:08:00 +04:00
2013-02-25 01:08:00 +04:00
2012-02-03 12:08:59 -08:00
2012-02-03 12:08:59 -08:00
2010-05-06 15:33:24 -07:00
2010-04-21 18:09:54 +04:00
2010-06-15 10:47:16 -07:00
2010-04-21 18:09:54 +04:00
2010-11-20 14:18:23 +03:00