Put imports into ".imp.@." sections.

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
This commit is contained in:
Magomed Kostoev (mkostoevr) 2021-02-23 20:59:07 +00:00
parent 521bee47b1
commit 32a9e36b93
15 changed files with 15 additions and 15 deletions

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ http_free fun equ http_free
fun_str equ 'free' fun_str equ 'free'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ http_get fun equ http_get
fun_str equ 'get' fun_str equ 'get'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ http_head fun equ http_head
fun_str equ 'head' fun_str equ 'head'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ http_post fun equ http_post
fun_str equ 'post' fun_str equ 'post'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ http_receive fun equ http_receive
fun_str equ 'receive' fun_str equ 'receive'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ http_send fun equ http_send
fun_str equ 'send' fun_str equ 'send'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ InputBox fun equ InputBox
fun_str equ 'InputBox' fun_str equ 'InputBox'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ charsFit fun equ charsFit
fun_str equ 'charsFit' fun_str equ 'charsFit'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ countUTF8Z fun equ countUTF8Z
fun_str equ 'cntUTF-8' fun_str equ 'cntUTF-8'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ drawText fun equ drawText
fun_str equ 'drawText' fun_str equ 'drawText'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ strWidth fun equ strWidth
fun_str equ 'strWidth' fun_str equ 'strWidth'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ msgbox_create fun equ msgbox_create
fun_str equ 'mb_create' fun_str equ 'mb_create'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ msgbox_reinit fun equ msgbox_reinit
fun_str equ 'mb_reinit' fun_str equ 'mb_reinit'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ msgbox_setfunctions fun equ msgbox_setfunctions
fun_str equ 'mb_setfunctions' fun_str equ 'mb_setfunctions'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0

View File

@ -5,7 +5,7 @@ include "__lib__.inc"
fun equ sample_symbol fun equ sample_symbol
fun_str equ 'sample_symbol' fun_str equ 'sample_symbol'
section '.text' section '.imp.@.'
fun_name db fun_str, 0 fun_name db fun_str, 0