From 1f3db76ee973355489ea3a2296211d796b59a61f Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 21 Apr 2010 01:22:31 +0400 Subject: [PATCH] smartalign.mac: align macro should align a segment as well This change may have backward compatibility issue but most probably the sane program never used sections with base address less then instruction alignment. Note that alignment may only increase which means if a section is aligned on 2^5 the align 2^4 will not affect the section. Signed-off-by: Cyrill Gorcunov --- macros/smartalign.mac | 1 + 1 file changed, 1 insertion(+) diff --git a/macros/smartalign.mac b/macros/smartalign.mac index 32e7b3f2..410c4d3a 100644 --- a/macros/smartalign.mac +++ b/macros/smartalign.mac @@ -161,6 +161,7 @@ USE: smartalign %unimacro align 1-2+.nolist %imacro align 1-2+.nolist + segalign %1 ; align a segment as well %ifnempty %2 times (((%1) - (($-$$) % (%1))) % (%1)) %2 %else -- 2.11.4.GIT