60b2737de1
With Al Viro <viro@parcelfarce.linux.theplanet.co.uk> To make sure switcheroo() can execute when we remap all the executable image, we used a trick to make it use a local copy of errno... this trick does not work with NPTL glibc, only with LinuxThreads, so use another (simpler) one to make it work anyway. Hopefully, a lot improved thanks to merging with the version of Al Viro (which had his part of problems, though, i.e. removing a fix to another bug and not fixing the problem on i386). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
34 lines
747 B
Makefile
34 lines
747 B
Makefile
#
|
|
# Copyright 2003 PathScale, Inc.
|
|
#
|
|
# Licensed under the GPL
|
|
#
|
|
|
|
#XXX: why into lib-y?
|
|
lib-y = bitops.o bugs.o csum-partial.o delay.o fault.o mem.o memcpy.o \
|
|
ptrace.o ptrace_user.o semaphore.o sigcontext.o signal.o \
|
|
syscalls.o sysrq.o thunk.o syscall_table.o
|
|
|
|
obj-y := ksyms.o
|
|
obj-$(CONFIG_MODULES) += module.o um_module.o
|
|
|
|
USER_OBJS := ptrace_user.o sigcontext.o
|
|
|
|
SYMLINKS = bitops.c csum-copy.S csum-partial.c csum-wrappers.c memcpy.S \
|
|
semaphore.c thunk.S module.c
|
|
|
|
include arch/um/scripts/Makefile.rules
|
|
|
|
bitops.c-dir = lib
|
|
csum-copy.S-dir = lib
|
|
csum-partial.c-dir = lib
|
|
csum-wrappers.c-dir = lib
|
|
memcpy.S-dir = lib
|
|
semaphore.c-dir = kernel
|
|
thunk.S-dir = lib
|
|
module.c-dir = kernel
|
|
|
|
subdir- := util
|
|
|
|
include arch/um/scripts/Makefile.unmap
|