[Nasm-bugs] [Bug 3392629] nasm 20191023 adds an underscore as the first letter for any export symbol
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Tue Feb 4 16:22:38 PST 2020
https://bugzilla.nasm.us/show_bug.cgi?id=3392629
--- Comment #6 from Chang S. Bae <chang.seok.bae at intel.com> ---
Although the target is not WIN64, my simple test for the ELF format seems to be
working fine:
$ cat test.asm
%ifdef WIN64
%define EXTN(name) name
%else
%define EXTN(name) _ %+ name
%endif
BITS 64
EXTN(convert):
ret
$ ./nasm -felf64 -o test.o test.asm;objdump --syms test.o
test.o: file format ELF64-x86-64
SYMBOL TABLE:
0000000000000000 *UND* 00000000
0000000000000000 l df *ABS* 00000000 test.asm
0000000000000000 l d .text 00000000 .text
0000000000000000 .text 00000000 _convert
$ ./nasm -DWIN64 -felf64 -o test.o test.asm;objdump --syms test.o
test.o: file format ELF64-x86-64
SYMBOL TABLE:
0000000000000000 *UND* 00000000
0000000000000000 l df *ABS* 00000000 test.asm
0000000000000000 l d .text 00000000 .text
0000000000000000 .text 00000000 convert
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list