mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
fc0ff223b2
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>
15 lines
150 B
NASM
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
|