part of Issue#994
mcexec: open syscall moves to arch_dep do_fork: don't use __NR_fork. use __NR_clone vfork: moves to arch_dep
This commit is contained in:
@ -9,12 +9,15 @@ LIBS=@LIBS@
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
../../libmcexec.a: archdep.o
|
||||
$(AR) cr ../../libmcexec.a archdep.o
|
||||
../../libmcexec.a: archdep.o arch_syscall.o
|
||||
$(AR) cr ../../libmcexec.a archdep.o arch_syscall.o
|
||||
|
||||
archdep.o: archdep.S
|
||||
$(CC) -c -I${KDIR} $(CFLAGS) $(EXTRA_CFLAGS) -fPIE -pie -pthread $<
|
||||
|
||||
arch_syscall.o: arch_syscall.c
|
||||
$(CC) -c -I${KDIR} $(CFLAGS) $(EXTRA_CFLAGS) -fPIE -pie -pthread $<
|
||||
|
||||
clean:
|
||||
$(RM) $(TARGET) *.o
|
||||
|
||||
|
||||
7
executer/user/arch/arm64/arch_syscall.c
Normal file
7
executer/user/arch/arm64/arch_syscall.c
Normal file
@ -0,0 +1,7 @@
|
||||
struct syscall_wait_desc;
|
||||
|
||||
int
|
||||
archdep_syscall(struct syscall_wait_desc *w, long *ret)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
Reference in New Issue
Block a user