diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-07-17 14:28:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-07-17 14:28:29 -0700 |
commit | 7f0ac96fed1e97cd1eed8b02d1b2b590c6d83c9b (patch) | |
tree | f55c622525a57b2b94c4a88ab1aa858cbd267768 /macros/smartalign.mac | |
parent | ca66ec5eec6f7407d4bdbb1e091a9ccde66a5194 (diff) | |
download | nasm-7f0ac96fed1e97cd1eed8b02d1b2b590c6d83c9b.tar.gz nasm-7f0ac96fed1e97cd1eed8b02d1b2b590c6d83c9b.tar.bz2 nasm-7f0ac96fed1e97cd1eed8b02d1b2b590c6d83c9b.zip |
smartalign: use context-local label
Use a context-local label in the smart align macro.
Diffstat (limited to 'macros/smartalign.mac')
-rw-r--r-- | macros/smartalign.mac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/smartalign.mac b/macros/smartalign.mac index 1285086..b79a854 100644 --- a/macros/smartalign.mac +++ b/macros/smartalign.mac @@ -166,10 +166,10 @@ USE: smartalign %push %assign %$pad ($$-$) % %1 %if %$pad > __ALIGN_JMP_THRESHOLD__ - jmp %%end + jmp %$end ; We can't re-use %$pad here as $ will have changed! times ($$-$) % %1 db 90h -%%end: +%$end: %else %if __BITS__ == 16 %ifdef __ALIGN_16BIT_8B__ |