forked from KolibriOS/kolibrios
12 lines
204 B
NASM
12 lines
204 B
NASM
|
format ELF
|
||
|
include "__lib__.inc"
|
||
|
fun equ __func@fputc
|
||
|
fun_str equ 'fputc'
|
||
|
section '.text'
|
||
|
fun_name db fun_str, 0
|
||
|
section '.data'
|
||
|
extrn lib_name
|
||
|
public fun as fun_str
|
||
|
fun dd fun_name
|
||
|
lib dd lib_name
|