nasm/test/cv8struc.asm
H. Peter Anvin fc0ff223b2 labels: emit the same label name to the output and debug backends!!
When a local label was seen, the debug backend would not receive the
full label name!  In order to both simplify the code and avoid this
kind of discrepancy again, make both the output and debug format calls
from a common static function.

However, none of the current debug format backends want to see NASM
special symbols (that start with .. but not ..@) so filter those from
the debug backend.

Finally, fix an incorrect comment in nasm.h: the debug format is
called *after* the output format.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Jim Kukunas <james.t.kukunas@linux.intel.com>
2016-03-07 22:00:01 -08:00

15 lines
150 B
NASM

struc A_STRUC
._a: resw 1
endstruc
a_struc:
istruc A_STRUC
at A_STRUC._a, dw 1
iend
section .data
foo:
dd 0x11111111
.bar:
dd 0x22222222