forked from KolibriOS/kolibrios
32a9e36b93
Now it's not necessary to put linking of these libraries at the end of tcc command line. git-svn-id: svn://kolibrios.org@8605 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
229 B
NASM
19 lines
229 B
NASM
format ELF
|
|
|
|
include "__lib__.inc"
|
|
|
|
fun equ sample_symbol
|
|
fun_str equ 'sample_symbol'
|
|
|
|
section '.imp.@.'
|
|
|
|
fun_name db fun_str, 0
|
|
|
|
section '.data'
|
|
|
|
extrn lib_name
|
|
public fun
|
|
|
|
fun dd fun_name
|
|
lib dd lib_name
|