From f9a725aeb7736cc2d82413c636724212c3505073 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 16 Jul 2008 14:38:58 -0700 Subject: standard.mac: allow non-power-of-2 alignments Allow aligning to a non-power-of-2 boundary. It's probably useless, but doesn't really hurt. --- standard.mac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'standard.mac') diff --git a/standard.mac b/standard.mac index b87e58c..9732be3 100644 --- a/standard.mac +++ b/standard.mac @@ -66,10 +66,10 @@ __SECT__ %endmacro %imacro align 1-2+.nolist nop - times ($$-$) & ((%1)-1) %2 + times ($$-$) % (%1) %2 %endmacro %imacro alignb 1-2+.nolist resb 1 - times ($$-$) & ((%1)-1) %2 + times ($$-$) % (%1) %2 %endmacro %imacro extern 1-*.nolist -- cgit v1.2.3