mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
smartalign: use context-local label
Use a context-local label in the smart align macro.
This commit is contained in:
parent
ca66ec5eec
commit
7f0ac96fed
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user