forked from KolibriOS/kolibrios
728d0ab126
- Added example program - Delete trash files - Added libc.obj loader (will be removed from ktcc) git-svn-id: svn://kolibrios.org@8625 a494cfbc-eb01-0410-851d-a64ba20cac60
12 lines
206 B
NASM
12 lines
206 B
NASM
format ELF
|
|
include "__lib__.inc"
|
|
fun equ __func@printf
|
|
fun_str equ 'printf'
|
|
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
|