forked from KolibriOS/kolibrios
19 lines
209 B
NASM
19 lines
209 B
NASM
|
format ELF
|
||
|
|
||
|
include "__lib__.inc"
|
||
|
|
||
|
fun equ post
|
||
|
fun_str equ 'post'
|
||
|
|
||
|
section '.text'
|
||
|
|
||
|
fun_name db fun_str, 0
|
||
|
|
||
|
section '.data'
|
||
|
|
||
|
extrn lib_name
|
||
|
public fun
|
||
|
|
||
|
fun dd fun_name
|
||
|
lib dd lib_name
|