kolibrios-fun/programs/develop/ktcc/trunk/lib/sample/sample_symbol.asm
Magomed Kostoev (mkostoevr) 90cf9246ac Implement dynamic linking with system libraries via -lsyslibname:
console.obj
http.ibj
InputBox.obj
Add header files for apps what dynamically link these libraries.


git-svn-id: svn://kolibrios.org@7925 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-16 08:07:10 +00:00

19 lines
227 B
NASM

format ELF
include "__lib__.inc"
fun equ sample_symbol
fun_str equ 'sample_symbol'
section '.text'
fun_name db fun_str, 0
section '.data'
extrn lib_name
public fun
fun dd fun_name
lib dd lib_name