From cd71c0896454d75e23518bbcec76abdf3cfa0772 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Wed, 11 Apr 2018 20:56:33 +0200 Subject: linux-user: create a dummy per arch cpu_loop.c Create a cpu_loop-common.h for future use by these new files and use it in the existing main.c Introduce target_cpu_copy_regs(): declare the function in cpu_loop-common.h and an empty function for each target, to move all the cpu_loop prologues to this function. Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson Message-Id: <20180411185651.21351-2-laurent@vivier.eu> --- linux-user/Makefile.objs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux-user/Makefile.objs') diff --git a/linux-user/Makefile.objs b/linux-user/Makefile.objs index 811a7f5ce5..59a5c17354 100644 --- a/linux-user/Makefile.objs +++ b/linux-user/Makefile.objs @@ -1,6 +1,7 @@ obj-y = main.o syscall.o strace.o mmap.o signal.o \ elfload.o linuxload.o uaccess.o uname.o \ - safe-syscall.o $(TARGET_ABI_DIR)/signal.o + safe-syscall.o $(TARGET_ABI_DIR)/signal.o \ + $(TARGET_ABI_DIR)/cpu_loop.o obj-$(TARGET_HAS_BFLT) += flatload.o obj-$(TARGET_I386) += vm86.o -- cgit v1.2.3-55-g7522