diff options
Diffstat (limited to 'standard.mac')
-rw-r--r-- | standard.mac | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/standard.mac b/standard.mac index 0b798962..b2dff8d6 100644 --- a/standard.mac +++ b/standard.mac @@ -68,8 +68,19 @@ __SECT__ %endmacro +%define __SECTALIGN_ALIGN_UPDATES_SECTION__ 1 %imacro sectalign 1.nolist - [sectalign %1] + %ifnum %1 + %if __SECTALIGN_ALIGN_UPDATES_SECTION__ = 1 + [sectalign %1] + %endif + %else + %ifidni %1,off + %define __SECTALIGN_ALIGN_UPDATES_SECTION__ 0 + %elifidni %1,on + %define __SECTALIGN_ALIGN_UPDATES_SECTION__ 1 + %endif + %endif %endmacro %imacro absolute 1+.nolist |