linux-user: move thunk.c to linux-user/
PATCH 1/1 linux-user: move thunk.c to linux-user/
thunk.c is part of linux-user and only used by it, so move it to the linux-user directory.
Signed-off-by Laurent Vivier <[email protected]>
--- Makefile.target | 2 +- linux-user/Makefile.objs | 2 +- thunk.c => linux-user/thunk.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename thunk.c => linux-user/thunk.c (100%)
Makefile.target +1 -1
@@ -112,7 +112,7 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) \ -I$(SRC_PATH)/linux-user obj-y += linux-user/ -obj-y += gdbstub.o thunk.o +obj-y += gdbstub.o endif #CONFIG_LINUX_USER
linux-user/Makefile.objs +1 -1
@@ -1,7 +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 \ - $(TARGET_ABI_DIR)/cpu_loop.o + $(TARGET_ABI_DIR)/cpu_loop.o thunk.o obj-$(TARGET_HAS_BFLT) += flatload.o obj-$(TARGET_I386) += vm86.o
linux-user/thunk.c renamed from thunk.c +0 -0
Signature · 1 line
2.14.3
Quoted 10 lines · Laurent Vivier
thunk.cis part of linux-user and only used by it, so move it to the linux-user directory.Signed-off-by Laurent Vivier <[email protected]>--- Makefile.target | 2 +- linux-user/Makefile.objs | 2 +- thunk.c => linux-user/thunk.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename thunk.c => linux-user/thunk.c (100%)
bsd-user doesn't use it now, but I have a feeling maybe the currently-out-of-tree improvements do?
thanks
-- PMM
Le 10/05/2018 à 11:35, Peter Maydell a écrit :
Quoted 12 lines · Laurent Vivier
Quoted 10 lines
thunk.cis part of linux-user and only used by it, so move it to the linux-user directory.Signed-off-by Laurent Vivier <[email protected]>--- Makefile.target | 2 +- linux-user/Makefile.objs | 2 +- thunk.c => linux-user/thunk.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename thunk.c => linux-user/thunk.c (100%)
Quoted 2 lines
bsd-user doesn't use it now, but I have a feeling maybe the currently-out-of-tree improvements do?
Yes, you're right, I've found it in
https://github.com/seanbruno/qemu-bsd-user/blob/bsd-user/bsd-user/bsd-ioctl.c
Thanks,
Laurent