nasm/test/br3392411.asm
H. Peter Anvin e38654a24e BR 3392411: smartalign: make sure we always define the end symbol
We need to always define the end symbol, otherwise we might find
ourselves in a situation where the alignment code grows (common!) and
then the symbol is defined late.

Reported-by: ig <glucksmann@avast.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2017-09-27 15:29:01 -07:00

22 lines
153 B
NASM

bits 64
default rel
%use smartalign
section .text code align=32
align 32
nop
jz LDone
%rep 10
nop
%endrep
align 16
%rep 115
nop
%endrep
LDone: