From ccc434de43bcd33fa27c85ef1b42857d4cf33e71 Mon Sep 17 00:00:00 2001 From: "Magomed Kostoev (mkostoevr)" Date: Mon, 22 Feb 2021 15:41:44 +0000 Subject: [PATCH] Add libc.obj wrapper for autoimport git-svn-id: svn://kolibrios.org@8603 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .../ktcc/trunk/lib/libc.obj/__lib__.asm | 9 ++ .../ktcc/trunk/lib/libc.obj/__lib__.inc | 2 + .../develop/ktcc/trunk/lib/libc.obj/abs.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/acos.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/acosh.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/asin.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/asinh.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/atan.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/atan2.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/atanh.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/atoi.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/atol.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/atoll.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/calloc.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/ceil.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/clearerr.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/closedir.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/cos.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/cosh.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/debug_printf.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/difftime.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/div.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/exit.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/exp.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fabs.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/fclose.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/feof.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/ferror.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/fflush.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fgetc.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/fgetpos.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fgets.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/floor.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fmod.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fopen.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fputc.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fputs.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fread.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/free.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/freopen.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/frexp.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/fseek.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/fsetpos.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/ftell.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/fwrite.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/getchar.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/gets.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/hypot.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/labs.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/ldexp.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/ldiv.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/llabs.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/lldiv.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/localtime.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/log.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/make.bat | 114 ++++++++++++++++++ .../ktcc/trunk/lib/libc.obj/malloc.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/memccpy.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/memchr.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/memcmp.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/memcpy.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/memmove.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/memset.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/mktime.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/modf.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/modfl.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/opendir.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/perror.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/pow.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/pow10.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/pow2.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/printf.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/puts.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/readdir.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/realloc.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/remove.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/rename.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/rewind.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/rewinddir.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/seekdir.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/setbuf.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/setvbuf.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/sin.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/sinh.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/snprintf.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/sprintf.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/sqrt.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strcat.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strchr.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strcmp.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strcoll.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strcpy.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strcspn.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strerror.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strlen.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strncat.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strncmp.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strncpy.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strpbrk.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strrchr.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strrev.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strspn.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strstr.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strtok.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/strxfrm.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/tan.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/tanh.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/telldir.asm | 11 ++ .../develop/ktcc/trunk/lib/libc.obj/time.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/tmpfile.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/tmpnam.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/vprintf.asm | 11 ++ .../ktcc/trunk/lib/libc.obj/vsnprintf.asm | 11 ++ 113 files changed, 1335 insertions(+) create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/__lib__.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/__lib__.inc create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/abs.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/acos.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/acosh.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/asin.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/asinh.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/atan.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/atan2.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/atanh.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/atoi.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/atol.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/atoll.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/calloc.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/ceil.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/clearerr.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/closedir.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/cos.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/cosh.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/debug_printf.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/difftime.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/div.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/exit.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/exp.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fabs.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fclose.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/feof.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/ferror.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fflush.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fgetc.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fgetpos.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fgets.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/floor.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fmod.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fopen.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fputc.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fputs.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fread.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/free.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/freopen.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/frexp.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fseek.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fsetpos.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/ftell.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/fwrite.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/getchar.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/gets.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/hypot.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/labs.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/ldexp.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/ldiv.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/llabs.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/lldiv.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/localtime.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/log.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/make.bat create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/malloc.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/memccpy.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/memchr.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/memcmp.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/memcpy.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/memmove.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/memset.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/mktime.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/modf.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/modfl.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/opendir.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/perror.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/pow.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/pow10.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/pow2.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/printf.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/puts.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/readdir.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/realloc.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/remove.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/rename.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/rewind.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/rewinddir.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/seekdir.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/setbuf.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/setvbuf.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/sin.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/sinh.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/snprintf.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/sprintf.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/sqrt.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strcat.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strchr.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strcmp.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strcoll.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strcpy.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strcspn.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strerror.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strlen.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strncat.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strncmp.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strncpy.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strpbrk.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strrchr.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strrev.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strspn.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strstr.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strtok.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/strxfrm.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/tan.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/tanh.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/telldir.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/time.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/tmpfile.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/tmpnam.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/vprintf.asm create mode 100644 programs/develop/ktcc/trunk/lib/libc.obj/vsnprintf.asm diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/__lib__.asm b/programs/develop/ktcc/trunk/lib/libc.obj/__lib__.asm new file mode 100644 index 0000000000..eac1985673 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/__lib__.asm @@ -0,0 +1,9 @@ +format ELF + +include '__lib__.inc' + +section '.text' + +public lib_name + +lib_name db 0x55, 0xAA, lib_name_str, 0 diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/__lib__.inc b/programs/develop/ktcc/trunk/lib/libc.obj/__lib__.inc new file mode 100644 index 0000000000..15d14f801d --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/__lib__.inc @@ -0,0 +1,2 @@ +lib_name equ @libc.obj +lib_name_str equ '/sys/lib/libc.obj' diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/abs.asm b/programs/develop/ktcc/trunk/lib/libc.obj/abs.asm new file mode 100644 index 0000000000..c219b6e51d --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/abs.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ abs +fun_str equ 'abs' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/acos.asm b/programs/develop/ktcc/trunk/lib/libc.obj/acos.asm new file mode 100644 index 0000000000..695b5ad7a1 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/acos.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ acos +fun_str equ 'acos' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/acosh.asm b/programs/develop/ktcc/trunk/lib/libc.obj/acosh.asm new file mode 100644 index 0000000000..bdc8d5014f --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/acosh.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ acosh +fun_str equ 'acosh' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/asin.asm b/programs/develop/ktcc/trunk/lib/libc.obj/asin.asm new file mode 100644 index 0000000000..7343c8a057 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/asin.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ asin +fun_str equ 'asin' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/asinh.asm b/programs/develop/ktcc/trunk/lib/libc.obj/asinh.asm new file mode 100644 index 0000000000..a60576ecd3 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/asinh.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ asinh +fun_str equ 'asinh' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/atan.asm b/programs/develop/ktcc/trunk/lib/libc.obj/atan.asm new file mode 100644 index 0000000000..0672f79a49 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/atan.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ atan +fun_str equ 'atan' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/atan2.asm b/programs/develop/ktcc/trunk/lib/libc.obj/atan2.asm new file mode 100644 index 0000000000..46b9a33ab6 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/atan2.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ atan2 +fun_str equ 'atan2' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/atanh.asm b/programs/develop/ktcc/trunk/lib/libc.obj/atanh.asm new file mode 100644 index 0000000000..f9b6449ece --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/atanh.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ atanh +fun_str equ 'atanh' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/atoi.asm b/programs/develop/ktcc/trunk/lib/libc.obj/atoi.asm new file mode 100644 index 0000000000..1ec345a603 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/atoi.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ atoi +fun_str equ 'atoi' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/atol.asm b/programs/develop/ktcc/trunk/lib/libc.obj/atol.asm new file mode 100644 index 0000000000..baf4d565e6 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/atol.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ atol +fun_str equ 'atol' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/atoll.asm b/programs/develop/ktcc/trunk/lib/libc.obj/atoll.asm new file mode 100644 index 0000000000..a38c64322f --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/atoll.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ atoll +fun_str equ 'atoll' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/calloc.asm b/programs/develop/ktcc/trunk/lib/libc.obj/calloc.asm new file mode 100644 index 0000000000..4fcadb6d00 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/calloc.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ calloc +fun_str equ 'calloc' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/ceil.asm b/programs/develop/ktcc/trunk/lib/libc.obj/ceil.asm new file mode 100644 index 0000000000..324aa42fe8 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/ceil.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ ceil +fun_str equ 'ceil' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/clearerr.asm b/programs/develop/ktcc/trunk/lib/libc.obj/clearerr.asm new file mode 100644 index 0000000000..4079439892 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/clearerr.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ clearerr +fun_str equ 'clearerr' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/closedir.asm b/programs/develop/ktcc/trunk/lib/libc.obj/closedir.asm new file mode 100644 index 0000000000..deeaf483ab --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/closedir.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ closedir +fun_str equ 'closedir' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/cos.asm b/programs/develop/ktcc/trunk/lib/libc.obj/cos.asm new file mode 100644 index 0000000000..f5d4a4bc06 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/cos.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ cos +fun_str equ 'cos' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/cosh.asm b/programs/develop/ktcc/trunk/lib/libc.obj/cosh.asm new file mode 100644 index 0000000000..ed22bb6623 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/cosh.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ cosh +fun_str equ 'cosh' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/debug_printf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/debug_printf.asm new file mode 100644 index 0000000000..601c943382 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/debug_printf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ debug_printf +fun_str equ 'debug_printf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/difftime.asm b/programs/develop/ktcc/trunk/lib/libc.obj/difftime.asm new file mode 100644 index 0000000000..d1a1f1dd92 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/difftime.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ difftime +fun_str equ 'difftime' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/div.asm b/programs/develop/ktcc/trunk/lib/libc.obj/div.asm new file mode 100644 index 0000000000..4a64c6ee9d --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/div.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ div +fun_str equ 'div' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/exit.asm b/programs/develop/ktcc/trunk/lib/libc.obj/exit.asm new file mode 100644 index 0000000000..ddd6d8cc34 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/exit.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ exit +fun_str equ 'exit' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/exp.asm b/programs/develop/ktcc/trunk/lib/libc.obj/exp.asm new file mode 100644 index 0000000000..07cf80f151 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/exp.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ exp +fun_str equ 'exp' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fabs.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fabs.asm new file mode 100644 index 0000000000..21a58ef525 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fabs.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fabs +fun_str equ 'fabs' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fclose.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fclose.asm new file mode 100644 index 0000000000..0c21254444 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fclose.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fclose +fun_str equ 'fclose' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/feof.asm b/programs/develop/ktcc/trunk/lib/libc.obj/feof.asm new file mode 100644 index 0000000000..372d5625c3 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/feof.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ feof +fun_str equ 'feof' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/ferror.asm b/programs/develop/ktcc/trunk/lib/libc.obj/ferror.asm new file mode 100644 index 0000000000..1f11024399 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/ferror.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ ferror +fun_str equ 'ferror' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fflush.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fflush.asm new file mode 100644 index 0000000000..abdd306921 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fflush.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fflush +fun_str equ 'fflush' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fgetc.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fgetc.asm new file mode 100644 index 0000000000..24c8e10d61 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fgetc.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fgetc +fun_str equ 'fgetc' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fgetpos.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fgetpos.asm new file mode 100644 index 0000000000..6375e326d6 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fgetpos.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fgetpos +fun_str equ 'fgetpos' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fgets.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fgets.asm new file mode 100644 index 0000000000..0eb2d8d6f9 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fgets.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fgets +fun_str equ 'fgets' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/floor.asm b/programs/develop/ktcc/trunk/lib/libc.obj/floor.asm new file mode 100644 index 0000000000..70586f0c9f --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/floor.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ floor +fun_str equ 'floor' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fmod.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fmod.asm new file mode 100644 index 0000000000..486aa0f583 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fmod.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fmod +fun_str equ 'fmod' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fopen.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fopen.asm new file mode 100644 index 0000000000..72f4c3aab8 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fopen.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fopen +fun_str equ 'fopen' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fputc.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fputc.asm new file mode 100644 index 0000000000..f122b831fd --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fputc.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fputc +fun_str equ 'fputc' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fputs.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fputs.asm new file mode 100644 index 0000000000..ff60b2c3b0 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fputs.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fputs +fun_str equ 'fputs' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fread.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fread.asm new file mode 100644 index 0000000000..97e4ca27e8 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fread.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fread +fun_str equ 'fread' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/free.asm b/programs/develop/ktcc/trunk/lib/libc.obj/free.asm new file mode 100644 index 0000000000..a9775939df --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/free.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ free +fun_str equ 'free' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/freopen.asm b/programs/develop/ktcc/trunk/lib/libc.obj/freopen.asm new file mode 100644 index 0000000000..ffafe4f372 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/freopen.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ freopen +fun_str equ 'freopen' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/frexp.asm b/programs/develop/ktcc/trunk/lib/libc.obj/frexp.asm new file mode 100644 index 0000000000..2160b696d6 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/frexp.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ frexp +fun_str equ 'frexp' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fseek.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fseek.asm new file mode 100644 index 0000000000..9a96a2d9bb --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fseek.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fseek +fun_str equ 'fseek' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fsetpos.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fsetpos.asm new file mode 100644 index 0000000000..dcd1c2b90f --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fsetpos.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fsetpos +fun_str equ 'fsetpos' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/ftell.asm b/programs/develop/ktcc/trunk/lib/libc.obj/ftell.asm new file mode 100644 index 0000000000..6f225af086 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/ftell.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ ftell +fun_str equ 'ftell' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/fwrite.asm b/programs/develop/ktcc/trunk/lib/libc.obj/fwrite.asm new file mode 100644 index 0000000000..8054bcfa00 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/fwrite.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ fwrite +fun_str equ 'fwrite' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/getchar.asm b/programs/develop/ktcc/trunk/lib/libc.obj/getchar.asm new file mode 100644 index 0000000000..1695c055fd --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/getchar.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ getchar +fun_str equ 'getchar' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/gets.asm b/programs/develop/ktcc/trunk/lib/libc.obj/gets.asm new file mode 100644 index 0000000000..eabba879ec --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/gets.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ gets +fun_str equ 'gets' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/hypot.asm b/programs/develop/ktcc/trunk/lib/libc.obj/hypot.asm new file mode 100644 index 0000000000..3250a74fef --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/hypot.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ hypot +fun_str equ 'hypot' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/labs.asm b/programs/develop/ktcc/trunk/lib/libc.obj/labs.asm new file mode 100644 index 0000000000..9c4de7b2d0 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/labs.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ labs +fun_str equ 'labs' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/ldexp.asm b/programs/develop/ktcc/trunk/lib/libc.obj/ldexp.asm new file mode 100644 index 0000000000..b2b10a61f9 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/ldexp.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ ldexp +fun_str equ 'ldexp' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/ldiv.asm b/programs/develop/ktcc/trunk/lib/libc.obj/ldiv.asm new file mode 100644 index 0000000000..2f5ab754da --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/ldiv.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ ldiv +fun_str equ 'ldiv' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/llabs.asm b/programs/develop/ktcc/trunk/lib/libc.obj/llabs.asm new file mode 100644 index 0000000000..8a1a555754 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/llabs.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ llabs +fun_str equ 'llabs' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/lldiv.asm b/programs/develop/ktcc/trunk/lib/libc.obj/lldiv.asm new file mode 100644 index 0000000000..a33d186043 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/lldiv.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ lldiv +fun_str equ 'lldiv' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/localtime.asm b/programs/develop/ktcc/trunk/lib/libc.obj/localtime.asm new file mode 100644 index 0000000000..d622a05676 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/localtime.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ localtime +fun_str equ 'localtime' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/log.asm b/programs/develop/ktcc/trunk/lib/libc.obj/log.asm new file mode 100644 index 0000000000..47bcb63e11 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/log.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ log +fun_str equ 'log' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/make.bat b/programs/develop/ktcc/trunk/lib/libc.obj/make.bat new file mode 100644 index 0000000000..53fea5ff2a --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/make.bat @@ -0,0 +1,114 @@ +fasm __lib__.asm +fasm abs.asm +fasm acos.asm +fasm acosh.asm +fasm asin.asm +fasm asinh.asm +fasm atan.asm +fasm atan2.asm +fasm atanh.asm +fasm atoi.asm +fasm atol.asm +fasm atoll.asm +fasm calloc.asm +fasm ceil.asm +fasm clearerr.asm +fasm closedir.asm +fasm cos.asm +fasm cosh.asm +fasm debug_printf.asm +fasm difftime.asm +fasm div.asm +fasm exit.asm +fasm exp.asm +fasm fabs.asm +fasm fclose.asm +fasm feof.asm +fasm ferror.asm +fasm fflush.asm +fasm fgetc.asm +fasm fgetpos.asm +fasm fgets.asm +fasm floor.asm +fasm fmod.asm +fasm fopen.asm +fasm fputc.asm +fasm fputs.asm +fasm fread.asm +fasm free.asm +fasm freopen.asm +fasm frexp.asm +fasm fseek.asm +fasm fsetpos.asm +fasm ftell.asm +fasm fwrite.asm +fasm getchar.asm +fasm gets.asm +fasm hypot.asm +fasm labs.asm +fasm ldexp.asm +fasm ldiv.asm +fasm llabs.asm +fasm lldiv.asm +fasm localtime.asm +fasm log.asm +fasm malloc.asm +fasm memccpy.asm +fasm memchr.asm +fasm memcmp.asm +fasm memcpy.asm +fasm memmove.asm +fasm memset.asm +fasm mktime.asm +fasm modf.asm +fasm modfl.asm +fasm opendir.asm +fasm perror.asm +fasm pow.asm +fasm pow10.asm +fasm pow2.asm +fasm printf.asm +fasm puts.asm +fasm readdir.asm +fasm realloc.asm +fasm remove.asm +fasm rename.asm +fasm rewind.asm +fasm rewinddir.asm +fasm seekdir.asm +fasm setbuf.asm +fasm setvbuf.asm +fasm sin.asm +fasm sinh.asm +fasm snprintf.asm +fasm sprintf.asm +fasm sqrt.asm +fasm strcat.asm +fasm strchr.asm +fasm strcmp.asm +fasm strcoll.asm +fasm strcpy.asm +fasm strcspn.asm +fasm strerror.asm +fasm strlen.asm +fasm strncat.asm +fasm strncmp.asm +fasm strncpy.asm +fasm strpbrk.asm +fasm strrchr.asm +fasm strrev.asm +fasm strspn.asm +fasm strstr.asm +fasm strtok.asm +fasm strxfrm.asm +fasm tan.asm +fasm tanh.asm +fasm telldir.asm +fasm time.asm +fasm tmpfile.asm +fasm tmpnam.asm +fasm vprintf.asm +fasm vsnprintf.asm +kos32-ar -ru liblibc.obj.a *.o +del *.o +pause \ No newline at end of file diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/malloc.asm b/programs/develop/ktcc/trunk/lib/libc.obj/malloc.asm new file mode 100644 index 0000000000..34ba57f1fb --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/malloc.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ malloc +fun_str equ 'malloc' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/memccpy.asm b/programs/develop/ktcc/trunk/lib/libc.obj/memccpy.asm new file mode 100644 index 0000000000..bc2c171585 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/memccpy.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ memccpy +fun_str equ 'memccpy' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/memchr.asm b/programs/develop/ktcc/trunk/lib/libc.obj/memchr.asm new file mode 100644 index 0000000000..fa95bfcd3b --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/memchr.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ memchr +fun_str equ 'memchr' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/memcmp.asm b/programs/develop/ktcc/trunk/lib/libc.obj/memcmp.asm new file mode 100644 index 0000000000..1d8785b241 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/memcmp.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ memcmp +fun_str equ 'memcmp' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/memcpy.asm b/programs/develop/ktcc/trunk/lib/libc.obj/memcpy.asm new file mode 100644 index 0000000000..805a5e6cc9 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/memcpy.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ memcpy +fun_str equ 'memcpy' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/memmove.asm b/programs/develop/ktcc/trunk/lib/libc.obj/memmove.asm new file mode 100644 index 0000000000..7f54e097b9 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/memmove.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ memmove +fun_str equ 'memmove' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/memset.asm b/programs/develop/ktcc/trunk/lib/libc.obj/memset.asm new file mode 100644 index 0000000000..5b00ccee3a --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/memset.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ memset +fun_str equ 'memset' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/mktime.asm b/programs/develop/ktcc/trunk/lib/libc.obj/mktime.asm new file mode 100644 index 0000000000..84d329687e --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/mktime.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ mktime +fun_str equ 'mktime' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/modf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/modf.asm new file mode 100644 index 0000000000..8b8720d697 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/modf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ modf +fun_str equ 'modf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/modfl.asm b/programs/develop/ktcc/trunk/lib/libc.obj/modfl.asm new file mode 100644 index 0000000000..7ce20eedec --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/modfl.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ modfl +fun_str equ 'modfl' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/opendir.asm b/programs/develop/ktcc/trunk/lib/libc.obj/opendir.asm new file mode 100644 index 0000000000..0ba497c3c9 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/opendir.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ opendir +fun_str equ 'opendir' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/perror.asm b/programs/develop/ktcc/trunk/lib/libc.obj/perror.asm new file mode 100644 index 0000000000..c0eb8986ee --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/perror.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ perror +fun_str equ 'perror' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/pow.asm b/programs/develop/ktcc/trunk/lib/libc.obj/pow.asm new file mode 100644 index 0000000000..4b01a9db9e --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/pow.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ pow +fun_str equ 'pow' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/pow10.asm b/programs/develop/ktcc/trunk/lib/libc.obj/pow10.asm new file mode 100644 index 0000000000..1b865478dd --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/pow10.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ pow10 +fun_str equ 'pow10' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/pow2.asm b/programs/develop/ktcc/trunk/lib/libc.obj/pow2.asm new file mode 100644 index 0000000000..eb903fe0ef --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/pow2.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ pow2 +fun_str equ 'pow2' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/printf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/printf.asm new file mode 100644 index 0000000000..8e36057e4b --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/printf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ printf +fun_str equ 'printf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/puts.asm b/programs/develop/ktcc/trunk/lib/libc.obj/puts.asm new file mode 100644 index 0000000000..a7f1c26319 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/puts.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ puts +fun_str equ 'puts' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/readdir.asm b/programs/develop/ktcc/trunk/lib/libc.obj/readdir.asm new file mode 100644 index 0000000000..586026567e --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/readdir.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ readdir +fun_str equ 'readdir' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/realloc.asm b/programs/develop/ktcc/trunk/lib/libc.obj/realloc.asm new file mode 100644 index 0000000000..77632a71ff --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/realloc.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ realloc +fun_str equ 'realloc' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/remove.asm b/programs/develop/ktcc/trunk/lib/libc.obj/remove.asm new file mode 100644 index 0000000000..7b7b59d290 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/remove.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ remove +fun_str equ 'remove' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/rename.asm b/programs/develop/ktcc/trunk/lib/libc.obj/rename.asm new file mode 100644 index 0000000000..a876e97a45 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/rename.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ rename +fun_str equ 'rename' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/rewind.asm b/programs/develop/ktcc/trunk/lib/libc.obj/rewind.asm new file mode 100644 index 0000000000..349e0dbaf3 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/rewind.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ rewind +fun_str equ 'rewind' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/rewinddir.asm b/programs/develop/ktcc/trunk/lib/libc.obj/rewinddir.asm new file mode 100644 index 0000000000..ceed98d4ca --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/rewinddir.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ rewinddir +fun_str equ 'rewinddir' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/seekdir.asm b/programs/develop/ktcc/trunk/lib/libc.obj/seekdir.asm new file mode 100644 index 0000000000..600e6d3c15 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/seekdir.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ seekdir +fun_str equ 'seekdir' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/setbuf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/setbuf.asm new file mode 100644 index 0000000000..305a95d6c1 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/setbuf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ setbuf +fun_str equ 'setbuf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/setvbuf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/setvbuf.asm new file mode 100644 index 0000000000..08f4ccc516 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/setvbuf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ setvbuf +fun_str equ 'setvbuf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/sin.asm b/programs/develop/ktcc/trunk/lib/libc.obj/sin.asm new file mode 100644 index 0000000000..659d8f13e6 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/sin.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ sin +fun_str equ 'sin' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/sinh.asm b/programs/develop/ktcc/trunk/lib/libc.obj/sinh.asm new file mode 100644 index 0000000000..54ec69f062 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/sinh.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ sinh +fun_str equ 'sinh' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/snprintf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/snprintf.asm new file mode 100644 index 0000000000..43a3309bb6 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/snprintf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ snprintf +fun_str equ 'snprintf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/sprintf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/sprintf.asm new file mode 100644 index 0000000000..14b334aa15 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/sprintf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ sprintf +fun_str equ 'sprintf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/sqrt.asm b/programs/develop/ktcc/trunk/lib/libc.obj/sqrt.asm new file mode 100644 index 0000000000..6f8695e8ca --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/sqrt.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ sqrt +fun_str equ 'sqrt' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strcat.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strcat.asm new file mode 100644 index 0000000000..f802080f26 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strcat.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strcat +fun_str equ 'strcat' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strchr.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strchr.asm new file mode 100644 index 0000000000..d072885a1f --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strchr.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strchr +fun_str equ 'strchr' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strcmp.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strcmp.asm new file mode 100644 index 0000000000..ddf98efc91 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strcmp.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strcmp +fun_str equ 'strcmp' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strcoll.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strcoll.asm new file mode 100644 index 0000000000..d756402841 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strcoll.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strcoll +fun_str equ 'strcoll' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strcpy.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strcpy.asm new file mode 100644 index 0000000000..0d5f7730ab --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strcpy.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strcpy +fun_str equ 'strcpy' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strcspn.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strcspn.asm new file mode 100644 index 0000000000..33c8195985 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strcspn.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strcspn +fun_str equ 'strcspn' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strerror.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strerror.asm new file mode 100644 index 0000000000..685f76f782 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strerror.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strerror +fun_str equ 'strerror' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strlen.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strlen.asm new file mode 100644 index 0000000000..d24fa44457 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strlen.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strlen +fun_str equ 'strlen' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strncat.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strncat.asm new file mode 100644 index 0000000000..8cf27a6a37 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strncat.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strncat +fun_str equ 'strncat' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strncmp.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strncmp.asm new file mode 100644 index 0000000000..72fb2b8afe --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strncmp.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strncmp +fun_str equ 'strncmp' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strncpy.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strncpy.asm new file mode 100644 index 0000000000..30ebf04c51 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strncpy.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strncpy +fun_str equ 'strncpy' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strpbrk.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strpbrk.asm new file mode 100644 index 0000000000..16d01d269e --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strpbrk.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strpbrk +fun_str equ 'strpbrk' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strrchr.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strrchr.asm new file mode 100644 index 0000000000..c3230b9bf1 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strrchr.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strrchr +fun_str equ 'strrchr' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strrev.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strrev.asm new file mode 100644 index 0000000000..5e382d60cb --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strrev.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strrev +fun_str equ 'strrev' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strspn.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strspn.asm new file mode 100644 index 0000000000..b799132de3 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strspn.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strspn +fun_str equ 'strspn' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strstr.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strstr.asm new file mode 100644 index 0000000000..529af41e2f --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strstr.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strstr +fun_str equ 'strstr' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strtok.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strtok.asm new file mode 100644 index 0000000000..01ddc2ff67 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strtok.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strtok +fun_str equ 'strtok' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/strxfrm.asm b/programs/develop/ktcc/trunk/lib/libc.obj/strxfrm.asm new file mode 100644 index 0000000000..2eab4c1630 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/strxfrm.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ strxfrm +fun_str equ 'strxfrm' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/tan.asm b/programs/develop/ktcc/trunk/lib/libc.obj/tan.asm new file mode 100644 index 0000000000..c2400a6a88 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/tan.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ tan +fun_str equ 'tan' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/tanh.asm b/programs/develop/ktcc/trunk/lib/libc.obj/tanh.asm new file mode 100644 index 0000000000..b7fb349a59 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/tanh.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ tanh +fun_str equ 'tanh' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/telldir.asm b/programs/develop/ktcc/trunk/lib/libc.obj/telldir.asm new file mode 100644 index 0000000000..62b5e5b445 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/telldir.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ telldir +fun_str equ 'telldir' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/time.asm b/programs/develop/ktcc/trunk/lib/libc.obj/time.asm new file mode 100644 index 0000000000..6588585d61 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/time.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ time +fun_str equ 'time' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/tmpfile.asm b/programs/develop/ktcc/trunk/lib/libc.obj/tmpfile.asm new file mode 100644 index 0000000000..3d595ef8d9 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/tmpfile.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ tmpfile +fun_str equ 'tmpfile' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/tmpnam.asm b/programs/develop/ktcc/trunk/lib/libc.obj/tmpnam.asm new file mode 100644 index 0000000000..78560e043e --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/tmpnam.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ tmpnam +fun_str equ 'tmpnam' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/vprintf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/vprintf.asm new file mode 100644 index 0000000000..90428be3c4 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/vprintf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ vprintf +fun_str equ 'vprintf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name diff --git a/programs/develop/ktcc/trunk/lib/libc.obj/vsnprintf.asm b/programs/develop/ktcc/trunk/lib/libc.obj/vsnprintf.asm new file mode 100644 index 0000000000..5acadb5a09 --- /dev/null +++ b/programs/develop/ktcc/trunk/lib/libc.obj/vsnprintf.asm @@ -0,0 +1,11 @@ +format ELF +include "__lib__.inc" +fun equ vsnprintf +fun_str equ 'vsnprintf' +section '.text' +fun_name db fun_str, 0 +section '.data' +extrn lib_name +public fun +fun dd fun_name +lib dd lib_name