Add libc.obj wrapper for autoimport
git-svn-id: svn://kolibrios.org@8603 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
a7a6e91ff1
commit
ccc434de43
9
programs/develop/ktcc/trunk/lib/libc.obj/__lib__.asm
Normal file
9
programs/develop/ktcc/trunk/lib/libc.obj/__lib__.asm
Normal file
@ -0,0 +1,9 @@
|
||||
format ELF
|
||||
|
||||
include '__lib__.inc'
|
||||
|
||||
section '.text'
|
||||
|
||||
public lib_name
|
||||
|
||||
lib_name db 0x55, 0xAA, lib_name_str, 0
|
2
programs/develop/ktcc/trunk/lib/libc.obj/__lib__.inc
Normal file
2
programs/develop/ktcc/trunk/lib/libc.obj/__lib__.inc
Normal file
@ -0,0 +1,2 @@
|
||||
lib_name equ @libc.obj
|
||||
lib_name_str equ '/sys/lib/libc.obj'
|
11
programs/develop/ktcc/trunk/lib/libc.obj/abs.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/abs.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/acos.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/acos.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/acosh.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/acosh.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/asin.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/asin.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/asinh.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/asinh.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/atan.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/atan.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/atan2.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/atan2.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/atanh.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/atanh.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/atoi.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/atoi.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/atol.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/atol.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/atoll.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/atoll.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/calloc.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/calloc.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/ceil.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/ceil.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/clearerr.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/clearerr.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/closedir.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/closedir.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/cos.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/cos.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/cosh.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/cosh.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/debug_printf.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/debug_printf.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/difftime.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/difftime.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/div.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/div.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/exit.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/exit.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/exp.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/exp.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fabs.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fabs.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fclose.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fclose.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/feof.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/feof.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/ferror.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/ferror.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fflush.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fflush.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fgetc.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fgetc.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fgetpos.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fgetpos.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fgets.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fgets.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/floor.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/floor.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fmod.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fmod.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fopen.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fopen.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fputc.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fputc.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fputs.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fputs.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fread.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fread.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/free.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/free.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/freopen.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/freopen.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/frexp.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/frexp.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fseek.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fseek.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fsetpos.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fsetpos.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/ftell.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/ftell.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/fwrite.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/fwrite.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/getchar.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/getchar.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/gets.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/gets.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/hypot.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/hypot.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/labs.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/labs.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/ldexp.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/ldexp.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/ldiv.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/ldiv.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/llabs.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/llabs.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/lldiv.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/lldiv.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/localtime.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/localtime.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/log.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/log.asm
Normal file
@ -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
|
114
programs/develop/ktcc/trunk/lib/libc.obj/make.bat
Normal file
114
programs/develop/ktcc/trunk/lib/libc.obj/make.bat
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/malloc.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/malloc.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/memccpy.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/memccpy.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/memchr.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/memchr.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/memcmp.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/memcmp.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/memcpy.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/memcpy.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/memmove.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/memmove.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/memset.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/memset.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/mktime.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/mktime.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/modf.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/modf.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/modfl.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/modfl.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/opendir.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/opendir.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/perror.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/perror.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/pow.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/pow.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/pow10.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/pow10.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/pow2.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/pow2.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/printf.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/printf.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/puts.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/puts.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/readdir.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/readdir.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/realloc.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/realloc.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/remove.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/remove.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/rename.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/rename.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/rewind.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/rewind.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/rewinddir.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/rewinddir.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/seekdir.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/seekdir.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/setbuf.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/setbuf.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/setvbuf.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/setvbuf.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/sin.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/sin.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/sinh.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/sinh.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/snprintf.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/snprintf.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/sprintf.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/sprintf.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/sqrt.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/sqrt.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strcat.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strcat.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strchr.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strchr.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strcmp.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strcmp.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strcoll.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strcoll.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strcpy.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strcpy.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strcspn.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strcspn.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strerror.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strerror.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strlen.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strlen.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strncat.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strncat.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strncmp.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strncmp.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strncpy.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strncpy.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strpbrk.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strpbrk.asm
Normal file
@ -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
|
11
programs/develop/ktcc/trunk/lib/libc.obj/strrchr.asm
Normal file
11
programs/develop/ktcc/trunk/lib/libc.obj/strrchr.asm
Normal file
@ -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
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user