aboutsummaryrefslogtreecommitdiff
path: root/linux-user/Makefile.objs
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-04-11 20:56:33 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-04-30 09:47:55 +0200
commitcd71c0896454d75e23518bbcec76abdf3cfa0772 (patch)
treedada99c8fdf6a90833d9013883412f422613fc4e /linux-user/Makefile.objs
parentcb6ac802efea73605288f5d18e28611cbc97d9d2 (diff)
downloadqemu-cd71c0896454d75e23518bbcec76abdf3cfa0772.zip
qemu-cd71c0896454d75e23518bbcec76abdf3cfa0772.tar.gz
qemu-cd71c0896454d75e23518bbcec76abdf3cfa0772.tar.bz2
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 <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180411185651.21351-2-laurent@vivier.eu>
Diffstat (limited to 'linux-user/Makefile.objs')
-rw-r--r--linux-user/Makefile.objs3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/Makefile.objs b/linux-user/Makefile.objs
index 811a7f5..59a5c17 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