mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 11:55:53 +00:00
17d469715c
This patch makes stub_segv use the stub_syscall macros. This was needed anyway, but the bug that prompted this was the discovery that gcc was storing stuff in RCX, which is trashed across a system call. This is exactly the sort of problem that the new macros fix. There is a stub_syscall0 for getpid. stub_segv was changed to be a libc file, and that caused some include changes. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 lines
600 B
Makefile
22 lines
600 B
Makefile
obj-y = bitops.o bugs.o checksum.o delay.o fault.o ksyms.o ldt.o ptrace.o \
|
|
ptrace_user.o semaphore.o signal.o sigcontext.o stub.o stub_segv.o \
|
|
syscalls.o sysrq.o sys_call_table.o
|
|
|
|
obj-$(CONFIG_HIGHMEM) += highmem.o
|
|
obj-$(CONFIG_MODULES) += module.o
|
|
|
|
USER_OBJS := bugs.o ptrace_user.o sigcontext.o fault.o stub_segv.o
|
|
|
|
SYMLINKS = bitops.c semaphore.c highmem.c module.c
|
|
|
|
include arch/um/scripts/Makefile.rules
|
|
|
|
bitops.c-dir = lib
|
|
semaphore.c-dir = kernel
|
|
highmem.c-dir = mm
|
|
module.c-dir = kernel
|
|
|
|
$(obj)/stub_segv.o : _c_flags = $(call unprofile,$(CFLAGS))
|
|
|
|
include arch/um/scripts/Makefile.unmap
|