mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-26 00:26:52 +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
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ abs
|
fun equ __func@abs
|
||||||
fun_str equ 'abs'
|
fun_str equ 'abs'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ acos
|
fun equ __func@acos
|
||||||
fun_str equ 'acos'
|
fun_str equ 'acos'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ acosh
|
fun equ __func@acosh
|
||||||
fun_str equ 'acosh'
|
fun_str equ 'acosh'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ asin
|
fun equ __func@asin
|
||||||
fun_str equ 'asin'
|
fun_str equ 'asin'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ asinh
|
fun equ __func@asinh
|
||||||
fun_str equ 'asinh'
|
fun_str equ 'asinh'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ atan
|
fun equ __func@atan
|
||||||
fun_str equ 'atan'
|
fun_str equ 'atan'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ atan2
|
fun equ __func@atan2
|
||||||
fun_str equ 'atan2'
|
fun_str equ 'atan2'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ atanh
|
fun equ __func@atanh
|
||||||
fun_str equ 'atanh'
|
fun_str equ 'atanh'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ atoi
|
fun equ __func@atoi
|
||||||
fun_str equ 'atoi'
|
fun_str equ 'atoi'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ atol
|
fun equ __func@atol
|
||||||
fun_str equ 'atol'
|
fun_str equ 'atol'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ atoll
|
fun equ __func@atoll
|
||||||
fun_str equ 'atoll'
|
fun_str equ 'atoll'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ calloc
|
fun equ __func@calloc
|
||||||
fun_str equ 'calloc'
|
fun_str equ 'calloc'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ ceil
|
fun equ __func@ceil
|
||||||
fun_str equ 'ceil'
|
fun_str equ 'ceil'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ clearerr
|
fun equ __func@clearerr
|
||||||
fun_str equ 'clearerr'
|
fun_str equ 'clearerr'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ closedir
|
fun equ __func@closedir
|
||||||
fun_str equ 'closedir'
|
fun_str equ 'closedir'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ cos
|
fun equ __func@cos
|
||||||
fun_str equ 'cos'
|
fun_str equ 'cos'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ cosh
|
fun equ __func@cosh
|
||||||
fun_str equ 'cosh'
|
fun_str equ 'cosh'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ debug_printf
|
fun equ __func@debug_printf
|
||||||
fun_str equ 'debug_printf'
|
fun_str equ 'debug_printf'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ difftime
|
fun equ __func@difftime
|
||||||
fun_str equ 'difftime'
|
fun_str equ 'difftime'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ div
|
fun equ __func@div
|
||||||
fun_str equ 'div'
|
fun_str equ 'div'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ exit
|
fun equ __func@exit
|
||||||
fun_str equ 'exit'
|
fun_str equ 'exit'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ exp
|
fun equ __func@exp
|
||||||
fun_str equ 'exp'
|
fun_str equ 'exp'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fabs
|
fun equ __func@fabs
|
||||||
fun_str equ 'fabs'
|
fun_str equ 'fabs'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fclose
|
fun equ __func@fclose
|
||||||
fun_str equ 'fclose'
|
fun_str equ 'fclose'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ feof
|
fun equ __func@feof
|
||||||
fun_str equ 'feof'
|
fun_str equ 'feof'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ ferror
|
fun equ __func@ferror
|
||||||
fun_str equ 'ferror'
|
fun_str equ 'ferror'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fflush
|
fun equ __func@fflush
|
||||||
fun_str equ 'fflush'
|
fun_str equ 'fflush'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fgetc
|
fun equ __func@fgetc
|
||||||
fun_str equ 'fgetc'
|
fun_str equ 'fgetc'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fgetpos
|
fun equ __func@fgetpos
|
||||||
fun_str equ 'fgetpos'
|
fun_str equ 'fgetpos'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fgets
|
fun equ __func@fgets
|
||||||
fun_str equ 'fgets'
|
fun_str equ 'fgets'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ floor
|
fun equ __func@floor
|
||||||
fun_str equ 'floor'
|
fun_str equ 'floor'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fmod
|
fun equ __func@fmod
|
||||||
fun_str equ 'fmod'
|
fun_str equ 'fmod'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fopen
|
fun equ __func@fopen
|
||||||
fun_str equ 'fopen'
|
fun_str equ 'fopen'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fputc
|
fun equ __func@fputc
|
||||||
fun_str equ 'fputc'
|
fun_str equ 'fputc'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fputs
|
fun equ __func@fputs
|
||||||
fun_str equ 'fputs'
|
fun_str equ 'fputs'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fread
|
fun equ __func@fread
|
||||||
fun_str equ 'fread'
|
fun_str equ 'fread'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ free
|
fun equ __func@free
|
||||||
fun_str equ 'free'
|
fun_str equ 'free'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ freopen
|
fun equ __func@freopen
|
||||||
fun_str equ 'freopen'
|
fun_str equ 'freopen'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ frexp
|
fun equ __func@frexp
|
||||||
fun_str equ 'frexp'
|
fun_str equ 'frexp'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fseek
|
fun equ __func@fseek
|
||||||
fun_str equ 'fseek'
|
fun_str equ 'fseek'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fsetpos
|
fun equ __func@fsetpos
|
||||||
fun_str equ 'fsetpos'
|
fun_str equ 'fsetpos'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ ftell
|
fun equ __func@ftell
|
||||||
fun_str equ 'ftell'
|
fun_str equ 'ftell'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ fwrite
|
fun equ __func@fwrite
|
||||||
fun_str equ 'fwrite'
|
fun_str equ 'fwrite'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ getchar
|
fun equ __func@getchar
|
||||||
fun_str equ 'getchar'
|
fun_str equ 'getchar'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ gets
|
fun equ __func@gets
|
||||||
fun_str equ 'gets'
|
fun_str equ 'gets'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ hypot
|
fun equ __func@hypot
|
||||||
fun_str equ 'hypot'
|
fun_str equ 'hypot'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ labs
|
fun equ __func@labs
|
||||||
fun_str equ 'labs'
|
fun_str equ 'labs'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ ldexp
|
fun equ __func@ldexp
|
||||||
fun_str equ 'ldexp'
|
fun_str equ 'ldexp'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ ldiv
|
fun equ __func@ldiv
|
||||||
fun_str equ 'ldiv'
|
fun_str equ 'ldiv'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ llabs
|
fun equ __func@llabs
|
||||||
fun_str equ 'llabs'
|
fun_str equ 'llabs'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ lldiv
|
fun equ __func@lldiv
|
||||||
fun_str equ 'lldiv'
|
fun_str equ 'lldiv'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ localtime
|
fun equ __func@localtime
|
||||||
fun_str equ 'localtime'
|
fun_str equ 'localtime'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ log
|
fun equ __func@log
|
||||||
fun_str equ 'log'
|
fun_str equ 'log'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ malloc
|
fun equ __func@malloc
|
||||||
fun_str equ 'malloc'
|
fun_str equ 'malloc'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ memccpy
|
fun equ __func@memccpy
|
||||||
fun_str equ 'memccpy'
|
fun_str equ 'memccpy'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ memchr
|
fun equ __func@memchr
|
||||||
fun_str equ 'memchr'
|
fun_str equ 'memchr'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ memcmp
|
fun equ __func@memcmp
|
||||||
fun_str equ 'memcmp'
|
fun_str equ 'memcmp'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ memcpy
|
fun equ __func@memcpy
|
||||||
fun_str equ 'memcpy'
|
fun_str equ 'memcpy'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ memmove
|
fun equ __func@memmove
|
||||||
fun_str equ 'memmove'
|
fun_str equ 'memmove'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ memset
|
fun equ __func@memset
|
||||||
fun_str equ 'memset'
|
fun_str equ 'memset'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ mktime
|
fun equ __func@mktime
|
||||||
fun_str equ 'mktime'
|
fun_str equ 'mktime'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ modf
|
fun equ __func@modf
|
||||||
fun_str equ 'modf'
|
fun_str equ 'modf'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ modfl
|
fun equ __func@modfl
|
||||||
fun_str equ 'modfl'
|
fun_str equ 'modfl'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ opendir
|
fun equ __func@opendir
|
||||||
fun_str equ 'opendir'
|
fun_str equ 'opendir'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ perror
|
fun equ __func@perror
|
||||||
fun_str equ 'perror'
|
fun_str equ 'perror'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ pow
|
fun equ __func@pow
|
||||||
fun_str equ 'pow'
|
fun_str equ 'pow'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ pow10
|
fun equ __func@pow10
|
||||||
fun_str equ 'pow10'
|
fun_str equ 'pow10'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ pow2
|
fun equ __func@pow2
|
||||||
fun_str equ 'pow2'
|
fun_str equ 'pow2'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ printf
|
fun equ __func@printf
|
||||||
fun_str equ 'printf'
|
fun_str equ 'printf'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ puts
|
fun equ __func@puts
|
||||||
fun_str equ 'puts'
|
fun_str equ 'puts'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ readdir
|
fun equ __func@readdir
|
||||||
fun_str equ 'readdir'
|
fun_str equ 'readdir'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ realloc
|
fun equ __func@realloc
|
||||||
fun_str equ 'realloc'
|
fun_str equ 'realloc'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ remove
|
fun equ __func@remove
|
||||||
fun_str equ 'remove'
|
fun_str equ 'remove'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ rename
|
fun equ __func@rename
|
||||||
fun_str equ 'rename'
|
fun_str equ 'rename'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ rewind
|
fun equ __func@rewind
|
||||||
fun_str equ 'rewind'
|
fun_str equ 'rewind'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ rewinddir
|
fun equ __func@rewinddir
|
||||||
fun_str equ 'rewinddir'
|
fun_str equ 'rewinddir'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ seekdir
|
fun equ __func@seekdir
|
||||||
fun_str equ 'seekdir'
|
fun_str equ 'seekdir'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ setbuf
|
fun equ __func@setbuf
|
||||||
fun_str equ 'setbuf'
|
fun_str equ 'setbuf'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ setvbuf
|
fun equ __func@setvbuf
|
||||||
fun_str equ 'setvbuf'
|
fun_str equ 'setvbuf'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ sin
|
fun equ __func@sin
|
||||||
fun_str equ 'sin'
|
fun_str equ 'sin'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ sinh
|
fun equ __func@sinh
|
||||||
fun_str equ 'sinh'
|
fun_str equ 'sinh'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ snprintf
|
fun equ __func@snprintf
|
||||||
fun_str equ 'snprintf'
|
fun_str equ 'snprintf'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ sprintf
|
fun equ __func@sprintf
|
||||||
fun_str equ 'sprintf'
|
fun_str equ 'sprintf'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ sqrt
|
fun equ __func@sqrt
|
||||||
fun_str equ 'sqrt'
|
fun_str equ 'sqrt'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strcat
|
fun equ __func@strcat
|
||||||
fun_str equ 'strcat'
|
fun_str equ 'strcat'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strchr
|
fun equ __func@strchr
|
||||||
fun_str equ 'strchr'
|
fun_str equ 'strchr'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strcmp
|
fun equ __func@strcmp
|
||||||
fun_str equ 'strcmp'
|
fun_str equ 'strcmp'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strcoll
|
fun equ __func@strcoll
|
||||||
fun_str equ 'strcoll'
|
fun_str equ 'strcoll'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strcpy
|
fun equ __func@strcpy
|
||||||
fun_str equ 'strcpy'
|
fun_str equ 'strcpy'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strcspn
|
fun equ __func@strcspn
|
||||||
fun_str equ 'strcspn'
|
fun_str equ 'strcspn'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strerror
|
fun equ __func@strerror
|
||||||
fun_str equ 'strerror'
|
fun_str equ 'strerror'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strlen
|
fun equ __func@strlen
|
||||||
fun_str equ 'strlen'
|
fun_str equ 'strlen'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strncat
|
fun equ __func@strncat
|
||||||
fun_str equ 'strncat'
|
fun_str equ 'strncat'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strncmp
|
fun equ __func@strncmp
|
||||||
fun_str equ 'strncmp'
|
fun_str equ 'strncmp'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strncpy
|
fun equ __func@strncpy
|
||||||
fun_str equ 'strncpy'
|
fun_str equ 'strncpy'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strpbrk
|
fun equ __func@strpbrk
|
||||||
fun_str equ 'strpbrk'
|
fun_str equ 'strpbrk'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strrchr
|
fun equ __func@strrchr
|
||||||
fun_str equ 'strrchr'
|
fun_str equ 'strrchr'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strrev
|
fun equ __func@strrev
|
||||||
fun_str equ 'strrev'
|
fun_str equ 'strrev'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_name
|
lib dd lib_name
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
format ELF
|
format ELF
|
||||||
include "__lib__.inc"
|
include "__lib__.inc"
|
||||||
fun equ strspn
|
fun equ __func@strspn
|
||||||
fun_str equ 'strspn'
|
fun_str equ 'strspn'
|
||||||
section '.text'
|
section '.text'
|
||||||
fun_name db fun_str, 0
|
fun_name db fun_str, 0
|
||||||
section '.data'
|
section '.data'
|
||||||
extrn lib_name
|
extrn lib_name
|
||||||
public fun
|
public fun as fun_str
|
||||||
fun dd fun_name
|
fun dd fun_name
|
||||||
lib dd lib_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