Displaying 1 result from an estimated 1 matches for "userprefix".
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
Hi Martin,
Thank you for the hint.
> For 32 bit windows, functions with cdecl calling convention (the default
> in C) are decorated with an underscore prefix. So you'd need to update
> your nasm source file to define the symbol _Foo instead of Foo. (Most
> assembly files use some sort of macro for wrapping this detail.)
Yes, my assembly files do use prefix macro (ASM_PFX) for