mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 18:19:39 +00:00
And use it in CRIU directly instead: - move syscalls into compel/arch/ARCH/plugins/std/syscalls - drop old symlinks - no build for 32bit on x86 as expected - use std.built-in.o inside criu directly (compel_main stub) - drop syscalls on x86 criu directory, I copied them already in first compel commist, so we can't move them now, but delete in place Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
19 lines
234 B
ArmAsm
19 lines
234 B
ArmAsm
#include "common/asm/linkage.h"
|
|
|
|
syscall_common:
|
|
svc #0
|
|
ret
|
|
|
|
|
|
.macro syscall name, nr
|
|
ENTRY(\name)
|
|
mov x8, \nr
|
|
b syscall_common
|
|
END(\name)
|
|
.endm
|
|
|
|
|
|
ENTRY(__cr_restore_rt)
|
|
mov x8, __NR_rt_sigreturn
|
|
svc #0
|
|
END(__cr_restore_rt)
|