mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
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.
13 lines
98 B
NASM
13 lines
98 B
NASM
IFDEF RAX
|
|
ELSE
|
|
.MODEL FLAT,C
|
|
ENDIF
|
|
|
|
SOME SEGMENT EXECUTE READ
|
|
|
|
public justnop
|
|
justnop:
|
|
ret
|
|
|
|
END
|