forked from Minki/linux
f1c2bb8b99
Until now UML had no x86_64 vDSO. So glibc always used the vsyscall page for gettimeday() and friends. Calls to gettimeday() returned falsely the host time and confused some programs. This patch adds a vDSO which turns all __vdso_* calls into a system call so that UML can trap them. As glibc still uses the vsyscall page for static binaries this patch improves the situation only for dynamic binaries. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
28 lines
606 B
Makefile
28 lines
606 B
Makefile
#
|
|
# Copyright 2003 PathScale, Inc.
|
|
#
|
|
# Licensed under the GPL
|
|
#
|
|
|
|
obj-y = bug.o bugs.o delay.o fault.o ldt.o ptrace.o ptrace_user.o mem.o \
|
|
setjmp.o signal.o stub.o stub_segv.o syscalls.o syscall_table.o \
|
|
sysrq.o ksyms.o tls.o
|
|
|
|
obj-y += vdso/
|
|
|
|
subarch-obj-y = lib/csum-partial_64.o lib/memcpy_64.o lib/thunk_64.o \
|
|
lib/rwsem.o
|
|
subarch-obj-$(CONFIG_MODULES) += kernel/module.o
|
|
|
|
ldt-y = ../sys-i386/ldt.o
|
|
|
|
USER_OBJS := ptrace_user.o
|
|
|
|
USER_OBJS += user-offsets.s
|
|
extra-y += user-offsets.s
|
|
|
|
UNPROFILE_OBJS := stub_segv.o
|
|
CFLAGS_stub_segv.o := $(CFLAGS_NO_HARDENING)
|
|
|
|
include arch/um/scripts/Makefile.rules
|