Files
CMake/Tests/RunCMake/AutoExportDll/nop.asm
Zsolt Parragi 85e08370d0 bindexplib: Always export executable symbols, even they are also readable
Previously bindexplib discarded read-only non-function symbols even in
executable/code sections, but in some specific cases they could still mark
functions.

An example is provided by nop.asm in the AuoExportDll test, which exports
a function only marked by a label. This symbol can be used from C/C++
code, but without this change it would result in an unresolved external
symbol when built as a DLL on Windows.
2017-02-28 09:49:12 -05:00

13 lines
98 B
NASM

IFDEF RAX
ELSE
.MODEL FLAT,C
ENDIF
SOME SEGMENT EXECUTE READ
public justnop
justnop:
ret
END