From 32a9e36b93124ca42df2e07929f2729f201f3b7c Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Tue, 23 Feb 2021 20:59:07 +0000 Subject: [PATCH] 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 --- programs/develop/ktcc/trunk/lib/http/free.asm | 2 +- programs/develop/ktcc/trunk/lib/http/get.asm | 2 +- programs/develop/ktcc/trunk/lib/http/head.asm | 2 +- programs/develop/ktcc/trunk/lib/http/post.asm | 2 +- programs/develop/ktcc/trunk/lib/http/receive.asm | 2 +- programs/develop/ktcc/trunk/lib/http/send.asm | 2 +- programs/develop/ktcc/trunk/lib/inputbox/InputBox.asm | 2 +- programs/develop/ktcc/trunk/lib/librasterworks/charsFit.asm | 2 +- programs/develop/ktcc/trunk/lib/librasterworks/cntUTF-8.asm | 2 +- programs/develop/ktcc/trunk/lib/librasterworks/drawText.asm | 2 +- programs/develop/ktcc/trunk/lib/librasterworks/strWidth.asm | 2 +- programs/develop/ktcc/trunk/lib/msgbox/mb_create.asm | 2 +- programs/develop/ktcc/trunk/lib/msgbox/mb_reinit.asm | 2 +- programs/develop/ktcc/trunk/lib/msgbox/mb_setfunctions.asm | 2 +- programs/develop/ktcc/trunk/lib/sample/sample_symbol.asm | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/programs/develop/ktcc/trunk/lib/http/free.asm b/programs/develop/ktcc/trunk/lib/http/free.asm index 77e7ee108e..e88d32bb34 100644 --- a/programs/develop/ktcc/trunk/lib/http/free.asm +++ b/programs/develop/ktcc/trunk/lib/http/free.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ http_free fun_str equ 'free' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/http/get.asm b/programs/develop/ktcc/trunk/lib/http/get.asm index d2a1132553..8f3a73265f 100644 --- a/programs/develop/ktcc/trunk/lib/http/get.asm +++ b/programs/develop/ktcc/trunk/lib/http/get.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ http_get fun_str equ 'get' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/http/head.asm b/programs/develop/ktcc/trunk/lib/http/head.asm index 5b7ac8b942..2adeb2bae2 100644 --- a/programs/develop/ktcc/trunk/lib/http/head.asm +++ b/programs/develop/ktcc/trunk/lib/http/head.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ http_head fun_str equ 'head' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/http/post.asm b/programs/develop/ktcc/trunk/lib/http/post.asm index cedf139378..39c6c6cc6e 100644 --- a/programs/develop/ktcc/trunk/lib/http/post.asm +++ b/programs/develop/ktcc/trunk/lib/http/post.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ http_post fun_str equ 'post' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/http/receive.asm b/programs/develop/ktcc/trunk/lib/http/receive.asm index 5bc616828c..bb77c74d27 100644 --- a/programs/develop/ktcc/trunk/lib/http/receive.asm +++ b/programs/develop/ktcc/trunk/lib/http/receive.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ http_receive fun_str equ 'receive' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/http/send.asm b/programs/develop/ktcc/trunk/lib/http/send.asm index 3adfe2bb80..31b1d134af 100644 --- a/programs/develop/ktcc/trunk/lib/http/send.asm +++ b/programs/develop/ktcc/trunk/lib/http/send.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ http_send fun_str equ 'send' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/inputbox/InputBox.asm b/programs/develop/ktcc/trunk/lib/inputbox/InputBox.asm index deebcffe29..b3b5e84696 100644 --- a/programs/develop/ktcc/trunk/lib/inputbox/InputBox.asm +++ b/programs/develop/ktcc/trunk/lib/inputbox/InputBox.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ InputBox fun_str equ 'InputBox' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/librasterworks/charsFit.asm b/programs/develop/ktcc/trunk/lib/librasterworks/charsFit.asm index 97dc8a6a58..025797e033 100644 --- a/programs/develop/ktcc/trunk/lib/librasterworks/charsFit.asm +++ b/programs/develop/ktcc/trunk/lib/librasterworks/charsFit.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ charsFit fun_str equ 'charsFit' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/librasterworks/cntUTF-8.asm b/programs/develop/ktcc/trunk/lib/librasterworks/cntUTF-8.asm index 6720eac7c0..904cbe4b09 100644 --- a/programs/develop/ktcc/trunk/lib/librasterworks/cntUTF-8.asm +++ b/programs/develop/ktcc/trunk/lib/librasterworks/cntUTF-8.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ countUTF8Z fun_str equ 'cntUTF-8' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/librasterworks/drawText.asm b/programs/develop/ktcc/trunk/lib/librasterworks/drawText.asm index 9662bc0372..8038499dfc 100644 --- a/programs/develop/ktcc/trunk/lib/librasterworks/drawText.asm +++ b/programs/develop/ktcc/trunk/lib/librasterworks/drawText.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ drawText fun_str equ 'drawText' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/librasterworks/strWidth.asm b/programs/develop/ktcc/trunk/lib/librasterworks/strWidth.asm index 81a3d7e553..5bf90b5168 100644 --- a/programs/develop/ktcc/trunk/lib/librasterworks/strWidth.asm +++ b/programs/develop/ktcc/trunk/lib/librasterworks/strWidth.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ strWidth fun_str equ 'strWidth' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/msgbox/mb_create.asm b/programs/develop/ktcc/trunk/lib/msgbox/mb_create.asm index a94f017c9b..bb0c9959c2 100644 --- a/programs/develop/ktcc/trunk/lib/msgbox/mb_create.asm +++ b/programs/develop/ktcc/trunk/lib/msgbox/mb_create.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ msgbox_create fun_str equ 'mb_create' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/msgbox/mb_reinit.asm b/programs/develop/ktcc/trunk/lib/msgbox/mb_reinit.asm index 2cf8a0db27..c54169708e 100644 --- a/programs/develop/ktcc/trunk/lib/msgbox/mb_reinit.asm +++ b/programs/develop/ktcc/trunk/lib/msgbox/mb_reinit.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ msgbox_reinit fun_str equ 'mb_reinit' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/msgbox/mb_setfunctions.asm b/programs/develop/ktcc/trunk/lib/msgbox/mb_setfunctions.asm index 20ae112cbf..90123f62f9 100644 --- a/programs/develop/ktcc/trunk/lib/msgbox/mb_setfunctions.asm +++ b/programs/develop/ktcc/trunk/lib/msgbox/mb_setfunctions.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ msgbox_setfunctions fun_str equ 'mb_setfunctions' -section '.text' +section '.imp.@.' fun_name db fun_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/sample/sample_symbol.asm b/programs/develop/ktcc/trunk/lib/sample/sample_symbol.asm index 613ad69a91..2c18ea752e 100644 --- a/programs/develop/ktcc/trunk/lib/sample/sample_symbol.asm +++ b/programs/develop/ktcc/trunk/lib/sample/sample_symbol.asm @@ -5,7 +5,7 @@ include "__lib__.inc" fun equ sample_symbol fun_str equ 'sample_symbol' -section '.text' +section '.imp.@.' fun_name db fun_str, 0