mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 16:16:50 +03:00
libc.obj.a(ktcc) :
- Added makefile - Added mklib tools - Fixed build git-svn-id: svn://kolibrios.org@8621 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
519b298e48
commit
95e70a7b8c
18
programs/develop/ktcc/trunk/lib/libc.obj/Makefile
Normal file
18
programs/develop/ktcc/trunk/lib/libc.obj/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
FASM = fasm
|
||||
MKLIB = ./tools/mklib
|
||||
|
||||
SRCS=$(wildcard *.asm)
|
||||
OBJS=$(SRCS:.asm=.o)
|
||||
|
||||
%.o : %.asm
|
||||
$(FASM) $<
|
||||
|
||||
all: asm_gen $(OBJS)
|
||||
ar -rsc ../../bin/lib/libc.obj.a *.o
|
||||
|
||||
asm_gen:
|
||||
cat symbols.txt | $(MKLIB)
|
||||
|
||||
clean:
|
||||
rm ../../bin/lib/libc.obj.a
|
||||
rm -f *.o
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ abs
|
||||
fun equ __func@abs
|
||||
fun_str equ 'abs'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ acos
|
||||
fun equ __func@acos
|
||||
fun_str equ 'acos'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ acosh
|
||||
fun equ __func@acosh
|
||||
fun_str equ 'acosh'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ asin
|
||||
fun equ __func@asin
|
||||
fun_str equ 'asin'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ asinh
|
||||
fun equ __func@asinh
|
||||
fun_str equ 'asinh'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ atan
|
||||
fun equ __func@atan
|
||||
fun_str equ 'atan'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ atan2
|
||||
fun equ __func@atan2
|
||||
fun_str equ 'atan2'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ atanh
|
||||
fun equ __func@atanh
|
||||
fun_str equ 'atanh'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ atoi
|
||||
fun equ __func@atoi
|
||||
fun_str equ 'atoi'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ atol
|
||||
fun equ __func@atol
|
||||
fun_str equ 'atol'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ atoll
|
||||
fun equ __func@atoll
|
||||
fun_str equ 'atoll'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ calloc
|
||||
fun equ __func@calloc
|
||||
fun_str equ 'calloc'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ ceil
|
||||
fun equ __func@ceil
|
||||
fun_str equ 'ceil'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ clearerr
|
||||
fun equ __func@clearerr
|
||||
fun_str equ 'clearerr'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ closedir
|
||||
fun equ __func@closedir
|
||||
fun_str equ 'closedir'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ cos
|
||||
fun equ __func@cos
|
||||
fun_str equ 'cos'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ cosh
|
||||
fun equ __func@cosh
|
||||
fun_str equ 'cosh'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ debug_printf
|
||||
fun equ __func@debug_printf
|
||||
fun_str equ 'debug_printf'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ difftime
|
||||
fun equ __func@difftime
|
||||
fun_str equ 'difftime'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ div
|
||||
fun equ __func@div
|
||||
fun_str equ 'div'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ exit
|
||||
fun equ __func@exit
|
||||
fun_str equ 'exit'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ exp
|
||||
fun equ __func@exp
|
||||
fun_str equ 'exp'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fabs
|
||||
fun equ __func@fabs
|
||||
fun_str equ 'fabs'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fclose
|
||||
fun equ __func@fclose
|
||||
fun_str equ 'fclose'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ feof
|
||||
fun equ __func@feof
|
||||
fun_str equ 'feof'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ ferror
|
||||
fun equ __func@ferror
|
||||
fun_str equ 'ferror'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fflush
|
||||
fun equ __func@fflush
|
||||
fun_str equ 'fflush'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fgetc
|
||||
fun equ __func@fgetc
|
||||
fun_str equ 'fgetc'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fgetpos
|
||||
fun equ __func@fgetpos
|
||||
fun_str equ 'fgetpos'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fgets
|
||||
fun equ __func@fgets
|
||||
fun_str equ 'fgets'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ floor
|
||||
fun equ __func@floor
|
||||
fun_str equ 'floor'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fmod
|
||||
fun equ __func@fmod
|
||||
fun_str equ 'fmod'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fopen
|
||||
fun equ __func@fopen
|
||||
fun_str equ 'fopen'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fputc
|
||||
fun equ __func@fputc
|
||||
fun_str equ 'fputc'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fputs
|
||||
fun equ __func@fputs
|
||||
fun_str equ 'fputs'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fread
|
||||
fun equ __func@fread
|
||||
fun_str equ 'fread'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ free
|
||||
fun equ __func@free
|
||||
fun_str equ 'free'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ freopen
|
||||
fun equ __func@freopen
|
||||
fun_str equ 'freopen'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ frexp
|
||||
fun equ __func@frexp
|
||||
fun_str equ 'frexp'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fseek
|
||||
fun equ __func@fseek
|
||||
fun_str equ 'fseek'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fsetpos
|
||||
fun equ __func@fsetpos
|
||||
fun_str equ 'fsetpos'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ ftell
|
||||
fun equ __func@ftell
|
||||
fun_str equ 'ftell'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ fwrite
|
||||
fun equ __func@fwrite
|
||||
fun_str equ 'fwrite'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ getchar
|
||||
fun equ __func@getchar
|
||||
fun_str equ 'getchar'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ gets
|
||||
fun equ __func@gets
|
||||
fun_str equ 'gets'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ hypot
|
||||
fun equ __func@hypot
|
||||
fun_str equ 'hypot'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ labs
|
||||
fun equ __func@labs
|
||||
fun_str equ 'labs'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ ldexp
|
||||
fun equ __func@ldexp
|
||||
fun_str equ 'ldexp'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ ldiv
|
||||
fun equ __func@ldiv
|
||||
fun_str equ 'ldiv'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ llabs
|
||||
fun equ __func@llabs
|
||||
fun_str equ 'llabs'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ lldiv
|
||||
fun equ __func@lldiv
|
||||
fun_str equ 'lldiv'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ localtime
|
||||
fun equ __func@localtime
|
||||
fun_str equ 'localtime'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ log
|
||||
fun equ __func@log
|
||||
fun_str equ 'log'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ malloc
|
||||
fun equ __func@malloc
|
||||
fun_str equ 'malloc'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ memccpy
|
||||
fun equ __func@memccpy
|
||||
fun_str equ 'memccpy'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ memchr
|
||||
fun equ __func@memchr
|
||||
fun_str equ 'memchr'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ memcmp
|
||||
fun equ __func@memcmp
|
||||
fun_str equ 'memcmp'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ memcpy
|
||||
fun equ __func@memcpy
|
||||
fun_str equ 'memcpy'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ memmove
|
||||
fun equ __func@memmove
|
||||
fun_str equ 'memmove'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ memset
|
||||
fun equ __func@memset
|
||||
fun_str equ 'memset'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ mktime
|
||||
fun equ __func@mktime
|
||||
fun_str equ 'mktime'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ modf
|
||||
fun equ __func@modf
|
||||
fun_str equ 'modf'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ modfl
|
||||
fun equ __func@modfl
|
||||
fun_str equ 'modfl'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ opendir
|
||||
fun equ __func@opendir
|
||||
fun_str equ 'opendir'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ perror
|
||||
fun equ __func@perror
|
||||
fun_str equ 'perror'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ pow
|
||||
fun equ __func@pow
|
||||
fun_str equ 'pow'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ pow10
|
||||
fun equ __func@pow10
|
||||
fun_str equ 'pow10'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ pow2
|
||||
fun equ __func@pow2
|
||||
fun_str equ 'pow2'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ printf
|
||||
fun equ __func@printf
|
||||
fun_str equ 'printf'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ puts
|
||||
fun equ __func@puts
|
||||
fun_str equ 'puts'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ readdir
|
||||
fun equ __func@readdir
|
||||
fun_str equ 'readdir'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ realloc
|
||||
fun equ __func@realloc
|
||||
fun_str equ 'realloc'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ remove
|
||||
fun equ __func@remove
|
||||
fun_str equ 'remove'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ rename
|
||||
fun equ __func@rename
|
||||
fun_str equ 'rename'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ rewind
|
||||
fun equ __func@rewind
|
||||
fun_str equ 'rewind'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ rewinddir
|
||||
fun equ __func@rewinddir
|
||||
fun_str equ 'rewinddir'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ seekdir
|
||||
fun equ __func@seekdir
|
||||
fun_str equ 'seekdir'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ setbuf
|
||||
fun equ __func@setbuf
|
||||
fun_str equ 'setbuf'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ setvbuf
|
||||
fun equ __func@setvbuf
|
||||
fun_str equ 'setvbuf'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ sin
|
||||
fun equ __func@sin
|
||||
fun_str equ 'sin'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ sinh
|
||||
fun equ __func@sinh
|
||||
fun_str equ 'sinh'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ snprintf
|
||||
fun equ __func@snprintf
|
||||
fun_str equ 'snprintf'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ sprintf
|
||||
fun equ __func@sprintf
|
||||
fun_str equ 'sprintf'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ sqrt
|
||||
fun equ __func@sqrt
|
||||
fun_str equ 'sqrt'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strcat
|
||||
fun equ __func@strcat
|
||||
fun_str equ 'strcat'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strchr
|
||||
fun equ __func@strchr
|
||||
fun_str equ 'strchr'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strcmp
|
||||
fun equ __func@strcmp
|
||||
fun_str equ 'strcmp'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strcoll
|
||||
fun equ __func@strcoll
|
||||
fun_str equ 'strcoll'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strcpy
|
||||
fun equ __func@strcpy
|
||||
fun_str equ 'strcpy'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strcspn
|
||||
fun equ __func@strcspn
|
||||
fun_str equ 'strcspn'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strerror
|
||||
fun equ __func@strerror
|
||||
fun_str equ 'strerror'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strlen
|
||||
fun equ __func@strlen
|
||||
fun_str equ 'strlen'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strncat
|
||||
fun equ __func@strncat
|
||||
fun_str equ 'strncat'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strncmp
|
||||
fun equ __func@strncmp
|
||||
fun_str equ 'strncmp'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strncpy
|
||||
fun equ __func@strncpy
|
||||
fun_str equ 'strncpy'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strpbrk
|
||||
fun equ __func@strpbrk
|
||||
fun_str equ 'strpbrk'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strrchr
|
||||
fun equ __func@strrchr
|
||||
fun_str equ 'strrchr'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strrev
|
||||
fun equ __func@strrev
|
||||
fun_str equ 'strrev'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
||||
|
@ -1,11 +1,11 @@
|
||||
format ELF
|
||||
include "__lib__.inc"
|
||||
fun equ strspn
|
||||
fun equ __func@strspn
|
||||
fun_str equ 'strspn'
|
||||
section '.text'
|
||||
fun_name db fun_str, 0
|
||||
section '.data'
|
||||
extrn lib_name
|
||||
public fun
|
||||
public fun as fun_str
|
||||
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